/* Thailand Ready Property — page-owned styles. Scope: .rp-ready */
:root {
    --rp-ink: #13201e;
    --rp-ink-soft: #354440;
    --rp-night: #0d1715;
    --rp-night-2: #172522;
    --rp-ivory: #f2f4f1;
    --rp-paper: #ffffff;
    --rp-aqua: #dfe9e5;
    --rp-aqua-strong: #789c95;
    --rp-gold: #c5a66b;
    --rp-gold-soft: #eee1c3;
    --rp-cream: #d8ba78;
    --rp-cream-hover: #e5ca8c;
    --rp-line: rgba(19, 32, 30, 0.16);
    --rp-line-light: rgba(255, 255, 255, 0.28);
    --rp-muted: #65716e;
    --rp-radius: 8px;
    --rp-radius-sm: 4px;
    --rp-shadow: 0 28px 80px rgba(10, 20, 18, 0.16);
    --rp-shell: min(1240px, calc(100vw - 48px));
}

/* Local-only hero UI delta: phone, intent CTAs and rating module. */
.rp-nav__brand-group {
    display: flex;
    align-items: center;
    gap: 18px;
}

.rp-nav__phone {
    display: grid;
    gap: 1px;
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    line-height: 1.2;
}

.rp-nav__phone span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.56rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rp-nav__phone strong {
    font-size: 0.76rem;
    font-weight: 650;
}

.rp-hero__choice-row {
    display: grid;
    width: min(100%, 620px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rp-hero__choice {
    display: grid;
    min-height: 76px;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e8c876;
    border-radius: 8px;
    background: linear-gradient(135deg, #d4ad55 0%, #f0d58e 52%, #d7ae54 100%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.42);
    color: #17211f;
    transition: border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}

.rp-ready .rp-hero__choice {
    color: #17211f;
}

.rp-hero__choice:hover {
    border-color: #f2d994;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(242, 217, 148, 0.34);
    filter: brightness(1.06) saturate(1.04);
    transform: translateY(-2px);
}

.rp-hero__choice:focus-visible {
    outline: 3px solid #fff4d5;
    outline-offset: 3px;
}

.rp-hero__choice-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(23, 33, 31, 0.18);
    border-radius: 50%;
    background: rgba(23, 33, 31, 0.11);
    color: #17211f;
}

.rp-hero__choice-icon img {
    width: 19px;
    height: 19px;
}

.rp-hero__choice strong {
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.3;
}

.rp-hero__choice-arrow {
    color: #17211f;
    font-size: 1rem;
}

.rp-hero__rating-card {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 54px;
    display: grid;
    width: 220px;
    gap: 7px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    background: rgba(7, 24, 26, 0.66);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(16px);
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.rp-hero__rating-card:hover {
    border-color: rgba(228, 199, 119, 0.72);
    background: rgba(7, 24, 26, 0.78);
    box-shadow: 0 26px 58px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.rp-hero__rating-card:focus-visible {
    outline: 3px solid #fff4d5;
    outline-offset: 3px;
}

.rp-hero__rating-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rp-hero__rating-score {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rp-hero__rating-score strong {
    font-size: 1.95rem;
    font-weight: 550;
    letter-spacing: -0.04em;
    line-height: 1;
}

.rp-hero__rating-stars {
    color: #e4c777;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.rp-hero__rating-platforms {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.75rem;
}

@media (max-width: 1080px) {
    .rp-hero__rating-card {
        position: static;
        width: min(100%, 540px);
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 8px 16px;
        margin: -12px 0 30px;
        padding: 15px 18px;
    }

    .rp-hero__rating-label {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .rp-nav__brand-group {
        gap: 12px;
    }

    .rp-nav__phone {
        gap: 0;
        padding-left: 12px;
    }

    .rp-nav__phone span {
        display: none;
    }

    .rp-nav__phone strong {
        font-size: 0.67rem;
    }

    .rp-hero__choice-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-hero__choice {
        min-height: 66px;
        padding: 11px 14px;
    }

    .rp-hero__rating-card {
        width: 100%;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px 14px;
        margin: -4px 0 22px;
        padding: 15px 16px;
    }
}

html.rp-lp-mode {
    scroll-behavior: smooth;
}

body.rp-lp-mode {
    margin: 0;
    background: var(--rp-ivory);
}

.rp-ready,
.rp-ready * {
    box-sizing: border-box;
}

.rp-ready {
    overflow: clip;
    background: var(--rp-ivory);
    color: var(--rp-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.rp-ready img {
    display: block;
    max-width: 100%;
}

.rp-ready [hidden] {
    display: none !important;
}

.rp-ready a {
    color: inherit;
    text-decoration: none;
}

.rp-ready button,
.rp-ready input,
.rp-ready select {
    font: inherit;
}

.rp-ready button,
.rp-ready a {
    -webkit-tap-highlight-color: transparent;
}

.rp-ready :focus-visible {
    outline: 3px solid #72b9b3;
    outline-offset: 3px;
}

.rp-shell {
    width: var(--rp-shell);
    margin-inline: auto;
}

.rp-section {
    position: relative;
    isolation: isolate;
    padding: clamp(78px, 8vw, 128px) 0;
}

.rp-section > .rp-shell {
    position: relative;
    z-index: 1;
}

.rp-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    color: #62857f;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.rp-eyebrow::before {
    width: 32px;
    height: 1px;
    background: currentColor;
    content: "";
}

.rp-eyebrow--light {
    color: #dec58d;
}

.rp-ready h1,
.rp-ready h2,
.rp-ready h3,
.rp-ready p {
    margin-top: 0;
}

.rp-ready h1,
.rp-ready h2,
.rp-ready h3 {
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.08;
}

.rp-ready h2 {
    max-width: 780px;
    margin-bottom: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.rp-ready h3 {
    font-size: 1.55rem;
}

.rp-button {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px 26px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--rp-cream);
    color: #18211f;
    cursor: pointer;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.rp-ready .rp-button {
    color: #18211f;
}

.rp-button:hover {
    transform: translateY(-2px);
    background: var(--rp-cream-hover);
    box-shadow: 0 12px 30px rgba(244, 223, 173, 0.18);
}

.rp-button:disabled {
    cursor: wait;
    opacity: 0.58;
    transform: none;
}

.rp-button--small {
    min-height: 42px;
    padding: 10px 18px;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.94);
    color: var(--rp-ink);
    font-size: 0.84rem;
}

.rp-button--wide {
    width: 100%;
}

.rp-button--shimmer {
    background: linear-gradient(112deg, #d2b36d 0%, #f1daa2 28%, #d6b86f 58%, #ead096 100%);
    background-size: 220% 100%;
    animation: rp-button-shimmer 4.8s ease-in-out infinite;
}

@keyframes rp-button-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hero */
.rp-hero {
    position: relative;
    min-height: min(760px, 100svh);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(3, 12, 15, 0.84) 0%, rgba(5, 17, 20, 0.62) 38%, rgba(4, 15, 20, 0.14) 72%, rgba(4, 12, 16, 0.04) 100%),
        linear-gradient(0deg, rgba(4, 15, 17, 0.34) 0%, transparent 46%),
        url("/gotovaya-nedvizhimost-v-tailande/assets/hero-ready-property-night-v1.webp") 54% center / cover no-repeat;
    color: #fff;
}

.rp-hero__shell {
    position: relative;
    display: flex;
    min-height: inherit;
    flex-direction: column;
    padding-bottom: 0;
}

.rp-nav {
    position: relative;
    z-index: 8;
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--rp-line-light);
}

.rp-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.rp-brand__logo {
    width: 116px;
    height: auto;
}

.rp-brand__mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 50%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.78rem;
    letter-spacing: 0;
}

.rp-brand__name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.52rem;
    letter-spacing: 0;
}

.rp-nav__menu {
    display: flex;
    align-items: center;
    gap: clamp(15px, 1.7vw, 26px);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 600;
}

.rp-nav__menu > a:not(.rp-button) {
    padding: 12px 0;
    transition: color 160ms ease;
}

.rp-nav__menu > a:not(.rp-button):hover {
    color: #fff;
}

.rp-nav__toggle {
    display: none;
}

.rp-nav .rp-button--small {
    min-height: 40px;
    border-color: rgba(216, 186, 120, 0.82);
    background: rgba(10, 24, 25, 0.32);
    color: #fff;
    backdrop-filter: blur(10px);
}

.rp-hero__content {
    display: flex;
    max-width: 650px;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(52px, 7vh, 76px) 0 54px;
}

.rp-hero h1 {
    max-width: 620px;
    margin-bottom: 20px;
    color: #fff;
    font-size: 3.5rem;
    letter-spacing: -0.035em;
    line-height: 1.04;
}

.rp-hero__lead {
    max-width: 640px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.5;
}

.rp-hero__support {
    max-width: 640px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.02rem;
}

.rp-button--hero {
    min-height: 58px;
    padding-inline: 28px;
}

.rp-hero__note {
    max-width: 590px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
}

.rp-hero__status-row {
    display: grid;
    width: min(100%, 540px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 26px;
}

.rp-status-glass {
    display: grid;
    min-height: 60px;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background: rgba(28, 47, 48, 0.46);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.rp-status-glass:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.66);
    background: rgba(22, 39, 36, 0.72);
}

.rp-status-glass__index {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: var(--rp-cream);
    font-size: 0.75rem;
    font-weight: 700;
}

.rp-status-glass strong,
.rp-status-glass small {
    display: block;
}

.rp-status-glass strong {
    margin-bottom: 0;
    font-size: 0.86rem;
    font-weight: 600;
}

.rp-status-glass small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
}

.rp-status-glass__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.rp-status-glass__icon img {
    width: 21px;
    height: 21px;
    filter: invert(88%) sepia(22%) saturate(710%) hue-rotate(359deg) brightness(94%);
}

.rp-hero__image-note {
    position: absolute;
    right: 0;
    bottom: 28px;
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.68rem;
    letter-spacing: 0;
}

/* Context + status */
.rp-benefits {
    position: relative;
    z-index: 3;
    margin-top: -30px;
    padding-bottom: 36px;
}

.rp-benefits__panel {
    display: grid;
    grid-template-columns: minmax(250px, 0.88fr) minmax(0, 2.12fr);
    overflow: hidden;
    border: 1px solid var(--rp-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 22px 54px rgba(21, 33, 29, 0.09);
}

.rp-benefits__intro {
    padding: 28px 30px;
    background: linear-gradient(145deg, #eef3f0, #fbfaf7);
}

.rp-benefits__intro .rp-eyebrow {
    margin-bottom: 12px;
}

.rp-benefits h2 {
    margin-bottom: 16px;
    font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.rp-benefits__lead {
    margin: 0;
    color: var(--rp-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.rp-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.rp-benefits__grid li {
    min-width: 0;
    padding: 28px 22px;
    border-left: 1px solid var(--rp-line);
}

.rp-benefits__grid span {
    display: block;
    margin-bottom: 18px;
    color: var(--rp-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
}

.rp-benefits__grid h3 {
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 650;
}

.rp-benefits__grid p {
    margin-bottom: 0;
    color: var(--rp-muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.rp-benefits + .rp-experts {
    padding-top: clamp(52px, 6vw, 88px);
}

.rp-context {
    background: var(--rp-paper);
}

#team {
    background: #fbfaf7;
}

#statuses {
    border-top: 1px solid rgba(197, 166, 107, 0.12);
    background: #fff;
    box-shadow: inset 0 30px 70px rgba(40, 49, 45, 0.018);
}

.rp-heading-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
    align-items: end;
    gap: clamp(40px, 7vw, 110px);
}

.rp-heading-grid--compact {
    align-items: start;
}

.rp-heading-grid__copy {
    margin: 0;
    color: var(--rp-muted);
    font-size: 1.02rem;
}

.rp-heading-grid__copy p:last-child {
    margin-bottom: 0;
}

.rp-risk-note {
    padding-left: 18px;
    border-left: 2px solid var(--rp-aqua-strong);
    color: var(--rp-ink-soft);
    font-size: 0.9rem;
}

.rp-status-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
    margin-top: clamp(48px, 6vw, 84px);
}

.rp-status-card {
    position: relative;
    display: grid;
    min-height: 0;
    grid-template-rows: auto 1fr;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    background: var(--rp-paper);
    box-shadow: 0 22px 60px rgba(20, 32, 30, 0.08);
}

.rp-status-card--ready {
    background: var(--rp-paper);
}

.rp-status-card--soon {
    background: var(--rp-paper);
}

.rp-status-card__media {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid var(--rp-line);
    background: var(--rp-night);
}

.rp-status-card__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 15, 14, 0.48));
    content: "";
    pointer-events: none;
}

.rp-status-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.rp-status-card:hover .rp-status-card__media img {
    transform: scale(1.018);
}

.rp-status-card--ready .rp-status-card__media img {
    object-position: center 54%;
}

.rp-status-card--soon .rp-status-card__media img {
    object-position: center 58%;
}

.rp-status-card__media figcaption {
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.68rem;
}

.rp-status-card__body {
    position: relative;
    display: flex;
    min-height: 540px;
    flex-direction: column;
    padding: 38px 40px 40px;
}

.rp-status-card__number {
    position: absolute;
    top: 28px;
    right: 36px;
    color: rgba(197, 166, 107, 0.33);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.8rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
}

.rp-status-card__label {
    margin-bottom: 34px;
    color: #618480;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.rp-status-card h3 {
    max-width: 430px;
    margin-bottom: 24px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.rp-status-card__body > p:not(.rp-status-card__label) {
    max-width: 540px;
    color: #4d5a58;
    line-height: 1.68;
}

.rp-status-card__caution {
    font-weight: 700;
}

.rp-status-card__action {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid rgba(23, 32, 31, 0.19);
}

.rp-status-card__action .rp-button {
    width: 100%;
    justify-content: space-between;
}

.rp-status-cards + .rp-checks__footnote {
    max-width: 820px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--rp-line);
}

/* Live project selection */
.rp-projects {
    overflow: hidden;
    border-top: 1px solid rgba(197, 166, 107, 0.18);
    border-bottom: 1px solid rgba(197, 166, 107, 0.16);
    background: #f6f3ec;
}

.rp-projects::before {
    position: absolute;
    z-index: 0;
    top: -56px;
    right: -110px;
    width: min(760px, 58vw);
    height: 560px;
    background: url("/gotovaya-nedvizhimost-v-tailande/assets/line-art-projects-premium-v1.webp") center / contain no-repeat;
    content: "";
    mix-blend-mode: multiply;
    opacity: 0.34;
    pointer-events: none;
}

.rp-projects .rp-heading-grid {
    position: relative;
    z-index: 1;
}

.rp-projects .rp-heading-grid__copy {
    padding: 22px 0 22px 24px;
    border-left: 1px solid rgba(197, 166, 107, 0.42);
    background: rgba(246, 243, 236, 0.78);
    backdrop-filter: blur(6px);
}

.rp-projects__views {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 14px;
    margin: 34px 0 0;
}

.rp-projects__view {
    position: relative;
    height: clamp(170px, 17vw, 230px);
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(197, 166, 107, 0.26);
    border-radius: 16px;
    background: #eee7db;
    box-shadow: 0 14px 34px rgba(25, 36, 32, 0.07);
}

.rp-projects__view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8) contrast(0.94) brightness(0.96);
    transition: filter 320ms ease, transform 480ms ease;
}

.rp-projects__view--phuket img {
    object-position: 56% center;
}

.rp-projects__view--pattaya img {
    object-position: 47% center;
}

.rp-projects__view:hover img {
    filter: saturate(0.88) contrast(0.97) brightness(0.98);
    transform: scale(1.012);
}

.rp-projects__view figcaption {
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 8px 12px;
    border: 1px solid rgba(197, 166, 107, 0.24);
    border-radius: 999px;
    background: rgba(251, 248, 241, 0.88);
    color: #17312b;
    font-size: 0.76rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.rp-project-branch-switch {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 40px 0 12px;
    padding: 18px 20px;
    border: 1px solid rgba(19, 32, 30, 0.12);
    border-left: 3px solid rgba(197, 166, 107, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.58);
}

.rp-project-branch-switch > p {
    margin: 0;
    color: #557c75;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.rp-project-owner-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 16px 0 28px;
    padding: 18px 20px;
    border: 1px solid rgba(19, 32, 30, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.rp-project-owner-links p {
    margin: 0;
    color: var(--rp-ink);
    font-size: 0.86rem;
    font-weight: 700;
}

.rp-project-owner-links div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
}

.rp-project-owner-links a {
    color: #315f56;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(197, 166, 107, 0.72);
    text-underline-offset: 4px;
}

.rp-project-owner-links a:hover {
    color: #17312b;
}

.rp-project-branches {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(19, 32, 30, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 28px rgba(18, 45, 39, 0.06);
}

.rp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    border: 0;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.rp-project-branch {
    display: inline-flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--rp-ink);
    text-align: center;
    cursor: pointer;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.rp-project-branch:hover {
    border-color: rgba(85, 124, 117, 0.34);
    background: rgba(255, 255, 255, 0.78);
}

.rp-project-branch[aria-pressed="true"] {
    border-color: #17312b;
    background: #17312b;
    color: #fff;
    box-shadow: 0 14px 30px rgba(18, 45, 39, 0.15);
}

.rp-project-branch strong,
.rp-project-branch small {
    display: inline;
}

.rp-project-branch strong {
    font-size: 0.9rem;
    line-height: 1.2;
}

.rp-project-branch small {
    color: var(--rp-muted);
    font-size: 0.72rem;
    line-height: 1.2;
}

.rp-project-branch[aria-pressed="true"] small {
    color: rgba(255, 255, 255, 0.68);
}

.rp-project-branch:focus-visible {
    outline: 2px solid var(--rp-gold);
    outline-offset: 3px;
}

.rp-project-branch-panel[hidden] {
    display: none;
}

.rp-project-branch-panel .rp-project-filters {
    margin-top: 22px;
}

.rp-project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 34px;
}

.rp-project-filters button {
    min-height: 44px;
    padding: 10px 19px;
    border: 1px solid rgba(19, 32, 30, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--rp-ink-soft);
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 650;
    white-space: nowrap;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.rp-project-filters button:hover {
    border-color: #789c95;
}

.rp-project-filters button[aria-pressed="true"] {
    border-color: #17312b;
    background: #17312b;
    color: #fff;
    box-shadow: 0 10px 24px rgba(18, 45, 39, 0.14);
}

.rp-project-grid {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.rp-project-grid::before {
    position: absolute;
    z-index: -1;
    inset: -20px;
    border: 1px solid rgba(197, 166, 107, 0.24);
    border-radius: 28px;
    background: #e7e5de;
    box-shadow:
        0 24px 64px rgba(19, 32, 30, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    content: "";
    pointer-events: none;
}

.rp-project-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(19, 32, 30, 0.13);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(22, 34, 30, 0.07);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.rp-project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 166, 107, 0.56);
    box-shadow: 0 30px 68px rgba(17, 35, 30, 0.14);
}

.rp-project-card figure {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 10.3;
    overflow: hidden;
    background: var(--rp-night);
}

.rp-project-card figure::after {
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(6, 18, 16, 0.42));
    content: "";
    pointer-events: none;
}

.rp-project-card__gallery-track {
    position: absolute;
    inset: 0;
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y pinch-zoom;
    cursor: pointer;
    -webkit-overflow-scrolling: touch;
}

.rp-project-card__gallery-track::-webkit-scrollbar {
    display: none;
}

.rp-project-card__gallery-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    flex: 0 0 100%;
    overflow: hidden;
    background: var(--rp-night);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.rp-project-card__gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    transition: transform 420ms ease;
}

.rp-project-card__gallery-slide--layout {
    background: #f8f5ef;
}

.rp-project-card__gallery-slide--layout img {
    padding: 10px;
    object-fit: contain;
}

.rp-project-card__gallery-slide--portrait {
    background: #e8e2d8;
}

.rp-project-card__gallery-slide--portrait img {
    object-fit: contain;
    object-position: center;
}

.rp-project-card:hover .rp-project-card__gallery-slide:not(.rp-project-card__gallery-slide--layout) img {
    transform: scale(1.025);
}

.rp-project-card__gallery-dots {
    position: absolute;
    z-index: 3;
    bottom: 11px;
    left: 50%;
    display: flex;
    align-items: center;
    padding: 2px 7px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(8, 24, 21, 0.54);
    box-shadow: 0 7px 20px rgba(5, 16, 14, 0.18);
    backdrop-filter: blur(8px);
    transform: translateX(-50%);
}

.rp-project-card__gallery-dots button {
    position: relative;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.rp-project-card__gallery-dots button::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.58);
    content: "";
    transition: background-color 160ms ease, transform 160ms ease;
}

.rp-project-card__gallery-dots button:hover::before {
    background: rgba(255, 255, 255, 0.92);
}

.rp-project-card__gallery-dots button[aria-current="true"]::before {
    background: #e0bd70;
    box-shadow: 0 0 0 3px rgba(224, 189, 112, 0.18);
    transform: scale(1.18);
}

.rp-project-card__gallery-dots button:focus-visible {
    outline: 2px solid #f4d891;
    outline-offset: -3px;
}

.rp-project-card__gallery-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.78));
    opacity: 0.82;
    transform: translateY(-50%);
    transition: opacity 160ms ease, transform 160ms ease;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.rp-project-card__gallery-arrow::before {
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
}

.rp-project-card__gallery-arrow--prev {
    left: 10px;
}

.rp-project-card__gallery-arrow--prev::before {
    transform: rotate(-135deg);
}

.rp-project-card__gallery-arrow--next {
    right: 10px;
}

.rp-project-card__gallery-arrow--next::before {
    transform: rotate(45deg);
}

.rp-project-card__gallery-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.04);
}

.rp-project-card__gallery-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.rp-project-card__gallery-arrow:focus-visible {
    outline: 0;
    color: #f4d891;
    opacity: 1;
}

.rp-project-card__status {
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 14px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(11, 29, 25, 0.82);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.rp-project-card[data-project-region="phuket"] {
    background: #fbf4e8;
}

.rp-project-card[data-project-region="pattaya"] {
    background: #fff;
}

.rp-project-card[data-project-timeline="ready"] {
    background: #fbf4e8;
}

.rp-project-card[data-project-timeline="2026_2027"] {
    background: #fff;
}

.rp-project-card[data-project-timeline="2028"] {
    background: #f4f1ea;
}

.rp-project-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 25px 25px;
}

.rp-project-card__place {
    margin-bottom: 11px;
    color: #557c75;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
}

.rp-project-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.18;
}

.rp-project-card__fact {
    min-height: 44px;
    margin-bottom: 18px;
    color: var(--rp-muted);
    font-size: 0.87rem;
}

.rp-project-card__price {
    margin: auto 0 18px;
    color: var(--rp-ink);
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.rp-project-card__price-thb,
.rp-project-card__price-rub {
    display: block;
}

.rp-project-card__price-thb {
    font-size: 1.25rem;
    line-height: 1.15;
}

.rp-project-card__price-rub {
    width: fit-content;
    margin-top: 9px;
    padding: 5px 9px;
    border: 1px solid rgba(197, 166, 107, 0.28);
    border-radius: 999px;
    background: rgba(238, 225, 195, 0.42);
    color: var(--rp-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0;
}

.rp-project-card[data-project-region="phuket"] .rp-project-card__price-rub {
    background: rgba(255, 255, 255, 0.64);
}

.rp-project-card[data-project-region="pattaya"] .rp-project-card__price-rub {
    background: rgba(238, 225, 195, 0.38);
}

.rp-project-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(19, 32, 30, 0.12);
}

.rp-project-card__actions .rp-button {
    min-height: 44px;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.78rem;
}

.rp-project-card__details {
    width: 100%;
    justify-content: space-between;
}

.rp-project-card__actions .rp-button:hover {
    box-shadow: 0 10px 24px rgba(197, 166, 107, 0.18);
}

.rp-projects__more {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.rp-projects__currency-note {
    max-width: 760px;
    margin: 18px auto 0;
    color: var(--rp-muted);
    font-size: 0.78rem;
    line-height: 1.5;
    text-align: center;
}

.rp-projects__availability-note {
    max-width: 820px;
    margin: 24px auto 0;
    color: var(--rp-ink);
    font-size: 0.92rem;
    line-height: 1.55;
    text-align: center;
}

.rp-button--outline {
    border-color: var(--rp-line);
    background: transparent;
}

.rp-button--outline:hover {
    border-color: var(--rp-gold);
    background: rgba(216, 186, 120, 0.13);
    box-shadow: none;
}

/* Editorial comparison */
.rp-rational {
    background: var(--rp-night);
    color: #fff;
}

.rp-rational .rp-heading-grid {
    align-items: start;
}

.rp-rational h2 {
    color: #fff;
}

.rp-rational .rp-eyebrow {
    color: var(--rp-gold);
}

.rp-rational .rp-heading-grid__copy {
    color: rgba(255, 255, 255, 0.68);
}

.rp-rational .rp-heading-grid__copy > p {
    margin: 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    line-height: 1.65;
}

.rp-rational .rp-heading-grid__copy > p:first-child {
    padding-top: 0;
    border-top: 0;
}

.rp-rational .rp-heading-grid__copy strong {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.14em;
    font-weight: 400;
}

.rp-rational .rp-risk-note {
    padding-left: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 2px solid var(--rp-gold);
    color: rgba(255, 255, 255, 0.58);
}

/* Checks */
.rp-checks {
    background: var(--rp-ivory);
}

.rp-check-grid {
    display: grid;
    margin: clamp(48px, 6vw, 80px) 0 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 44px;
    list-style: none;
}

.rp-check-grid li {
    display: grid;
    min-height: 154px;
    grid-template-columns: 66px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 22px;
    padding: 28px 0;
    border-top: 1px solid var(--rp-line);
}

.rp-check-grid li:nth-child(7) {
    grid-column: span 2;
}

.rp-check-grid span {
    grid-row: 1 / 3;
    color: var(--rp-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1;
}

.rp-check-grid strong {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

.rp-check-grid small {
    color: var(--rp-muted);
    line-height: 1.55;
}

.rp-checks__footnote {
    margin: 22px 0 0;
    color: var(--rp-muted);
    font-size: 0.82rem;
}

/* Inventory fallback */
.rp-inventory {
    padding: clamp(60px, 7vw, 100px) 0;
    background: var(--rp-night);
    color: #fff;
}

.rp-inventory__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
    align-items: center;
    gap: clamp(44px, 7vw, 100px);
}

#team .rp-heading-grid__copy > p:first-child {
    max-width: 560px;
    margin-bottom: 26px;
}

.rp-team-points {
    display: grid;
    gap: 16px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.rp-team-points li {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}

.rp-team-points__icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 8px;
    background: var(--rp-night);
}

.rp-team-points__icon img {
    width: 25px;
    height: 25px;
    filter: invert(1);
    opacity: 0.88;
}

.rp-team-points strong,
.rp-team-points small {
    display: block;
}

.rp-team-points strong {
    margin-bottom: 3px;
    color: var(--rp-ink);
    font-size: 0.94rem;
}

.rp-team-points small {
    color: var(--rp-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.rp-inventory h2 {
    margin-bottom: 24px;
    font-size: 3.15rem;
}

.rp-inventory__copy > p:not(.rp-eyebrow):not(.rp-inventory__note) {
    max-width: 600px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.05rem;
}

.rp-inventory__note {
    max-width: 560px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.78rem;
}

.rp-inventory__visual {
    position: relative;
    aspect-ratio: 1600 / 893;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(197, 166, 107, 0.2);
    border-radius: 18px;
    background: #0d1715;
    box-shadow: var(--rp-shadow);
}

.rp-inventory__visual img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
}

.rp-inventory__visual figcaption {
    position: absolute;
    right: 14px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(10, 20, 19, 0.64);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.65rem;
    backdrop-filter: blur(8px);
}

/* Process */
.rp-process {
    background: var(--rp-paper);
}

.rp-process__list {
    display: grid;
    margin: clamp(48px, 6vw, 80px) 0 0;
    padding: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
}

.rp-process__list li {
    position: relative;
    min-height: 290px;
    padding: 30px 28px;
    border-top: 1px solid var(--rp-line);
    border-bottom: 1px solid var(--rp-line);
}

.rp-process__list li + li {
    border-left: 1px solid var(--rp-line);
}

.rp-process__list span {
    display: inline-block;
    margin-bottom: 60px;
    color: var(--rp-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 400;
}

.rp-process__list h3 {
    margin-bottom: 16px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
}

.rp-process__list p {
    margin: 0;
    color: var(--rp-muted);
    font-size: 0.9rem;
}

/* Service after purchase */
.rp-service {
    overflow: hidden;
    border-top: 1px solid rgba(197, 166, 107, 0.16);
    background: #f8f5ee;
}

.rp-service::before {
    position: absolute;
    z-index: 0;
    top: -78px;
    right: -70px;
    width: min(680px, 52vw);
    height: 510px;
    background: url("/gotovaya-nedvizhimost-v-tailande/assets/line-art-service-system-v1.webp") center / contain no-repeat;
    content: "";
    mix-blend-mode: multiply;
    opacity: 0.3;
    pointer-events: none;
}

.rp-service .rp-heading-grid__copy {
    padding: 18px 0 18px 24px;
    border-left: 1px solid rgba(197, 166, 107, 0.42);
    background: rgba(248, 245, 238, 0.75);
    backdrop-filter: blur(5px);
}

.rp-service__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: clamp(46px, 6vw, 76px);
}

.rp-service__grid article {
    min-height: 270px;
    padding: 30px 28px;
    border: 1px solid rgba(19, 32, 30, 0.13);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 44px rgba(28, 40, 36, 0.05);
}

.rp-service__grid article > span {
    display: inline-block;
    margin-bottom: 56px;
    color: var(--rp-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
}

.rp-service__grid h3 {
    margin-bottom: 14px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.28rem;
    font-weight: 600;
}

.rp-service__grid p {
    margin: 0;
    color: var(--rp-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.rp-service__system {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    align-items: center;
    gap: clamp(34px, 6vw, 90px);
    margin-top: 22px;
    padding: clamp(34px, 5vw, 60px);
    border: 1px solid rgba(197, 166, 107, 0.28);
    border-radius: 18px;
    background: #11231f;
    color: #fff;
    box-shadow: 0 26px 70px rgba(14, 34, 29, 0.14);
}

.rp-service__system-label {
    margin-bottom: 14px;
    color: #d8ba78;
    font-size: 0.73rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rp-service__system h3 {
    max-width: 560px;
    margin: 0;
    color: #fff;
    font-size: clamp(1.65rem, 2.5vw, 2.25rem);
    line-height: 1.12;
}

.rp-service__system > p {
    margin: 0;
    padding-left: 28px;
    border-left: 1px solid rgba(216, 186, 120, 0.52);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.rp-service__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 22px;
    padding: 22px 24px 22px 30px;
    border: 1px solid rgba(197, 166, 107, 0.34);
    border-radius: 18px;
    background: #ece2cf;
}

.rp-service__cta strong {
    font-size: 1rem;
    font-weight: 650;
}

.rp-service__cta .rp-button {
    flex: 0 0 auto;
}

/* Quiz */
.rp-quiz-section {
    padding: clamp(78px, 8vw, 112px) 0;
    border-top: 1px solid rgba(19, 32, 30, 0.08);
    background: #faf7f1;
    color: var(--rp-ink);
}

.rp-quiz-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: clamp(44px, 6vw, 84px);
}

.rp-quiz-intro {
    max-width: 440px;
    margin: 0;
    padding-top: 12px;
    text-align: left;
}

.rp-quiz-intro h2 {
    max-width: 430px;
    margin: 0 0 22px;
    color: var(--rp-ink);
    font-size: clamp(2.35rem, 3.4vw, 3.2rem);
    letter-spacing: -0.035em;
    line-height: 1.03;
}

.rp-quiz-intro > p:not(.rp-eyebrow) {
    max-width: 410px;
    margin: 0;
    color: var(--rp-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.rp-consultant {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    margin-top: 32px;
}

.rp-consultant__photo {
    width: 64px;
    height: 64px;
    border: 3px solid var(--rp-gold);
    border-radius: 50%;
    object-fit: cover;
    object-position: center 16%;
}

.rp-consultant__body {
    position: relative;
    padding: 18px 20px;
    border: 1px solid var(--rp-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 42px rgba(21, 31, 28, 0.08);
}

.rp-consultant__body::before {
    position: absolute;
    top: 20px;
    left: -8px;
    width: 14px;
    height: 14px;
    border-bottom: 1px solid var(--rp-line);
    border-left: 1px solid var(--rp-line);
    background: #fffdf9;
    content: "";
    transform: rotate(45deg);
}

.rp-consultant__name {
    margin: 0 0 5px;
    color: var(--rp-ink);
    font-size: 0.93rem;
    font-weight: 750;
}

.rp-consultant__online {
    margin-left: 5px;
    color: #48966d;
    font-weight: 700;
}

.rp-consultant__online::before {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.rp-consultant__msg {
    margin: 0;
    color: var(--rp-ink-soft);
    font-size: 0.88rem;
    line-height: 1.55;
}

.rp-quiz-intro .rp-eyebrow {
    justify-content: flex-start;
    color: #6f9a94;
}

.rp-quiz-intro__signal {
    display: flex;
    max-width: 500px;
    flex-direction: column;
    gap: 4px;
    margin-top: 34px;
    padding: 20px 22px;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius-sm);
    background: rgba(255, 252, 246, 0.7);
}

.rp-quiz-intro__signal span {
    color: var(--rp-muted);
    font-size: 0.84rem;
}

.rp-quiz {
    position: relative;
    min-height: 430px;
    padding: clamp(28px, 3.2vw, 42px);
    border: 1px solid rgba(19, 32, 30, 0.14);
    border-radius: 12px;
    background: rgba(255, 253, 249, 0.72);
    color: var(--rp-ink);
    box-shadow: 0 18px 60px rgba(40, 49, 45, 0.04);
}

.rp-quiz__kicker {
    margin: 0 0 18px;
    color: #8a7040;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
}

.rp-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.rp-quiz__topline {
    display: grid;
    grid-template-columns: auto minmax(100px, 1fr) auto;
    align-items: center;
    gap: 18px;
    color: var(--rp-muted);
    font-size: 0.78rem;
}

.rp-quiz__count {
    color: var(--rp-ink);
    font-size: 1rem;
}

.rp-quiz__count strong {
    font-size: 1.45rem;
    font-weight: 500;
}

.rp-quiz__progress {
    display: block;
    height: 3px;
    margin: 0;
    overflow: hidden;
    border-radius: 999px;
    background: #e7e6df;
}

.rp-quiz__progress span {
    display: block;
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: var(--rp-aqua-strong);
    transition: width 260ms ease;
}

.rp-quiz__hint {
    white-space: nowrap;
}

.rp-quiz__step {
    padding-top: clamp(28px, 3.4vw, 42px);
}

.rp-quiz__step fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.rp-quiz__step legend {
    width: 100%;
    margin-bottom: 22px;
    color: var(--rp-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-align: left;
}

.rp-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.rp-options button {
    min-width: 0;
    min-height: 66px;
    padding: 13px 16px;
    border: 1px solid var(--rp-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--rp-ink);
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 550;
    line-height: 1.25;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.rp-options button:hover {
    transform: translateY(-1px);
    border-color: var(--rp-aqua-strong);
    background: rgba(220, 236, 235, 0.36);
}

.rp-options button.is-selected,
.rp-options button[aria-pressed="true"] {
    border-color: #7aa6a0;
    background: #edf6f4;
}

.rp-options--status button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-align: left;
}

.rp-option-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: #e7f1ef;
}

.rp-option-icon img {
    width: 21px;
    height: 21px;
    opacity: 0.78;
}

.rp-options--multiple button {
    min-height: 66px;
}

.rp-options--budget {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rp-budget-row,
.rp-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 12px;
}

.rp-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rp-contact-grid label:last-child {
    grid-column: auto;
}

.rp-budget-row label,
.rp-contact-grid label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--rp-ink-soft);
    font-size: 0.8rem;
    font-weight: 650;
}

.rp-budget-row label span,
.rp-contact-grid label span {
    display: flex;
    justify-content: space-between;
}

.rp-contact-grid label small {
    color: var(--rp-muted);
    font-weight: 400;
}

.rp-budget-row input,
.rp-budget-row select,
.rp-contact-grid input,
.rp-contact-grid select {
    width: 100%;
    min-height: 56px;
    padding: 13px 15px;
    border: 1px solid var(--rp-line);
    border-radius: 10px;
    background: #fffdf8;
    color: var(--rp-ink);
}

.rp-field-note {
    margin: 16px 0 0;
    color: var(--rp-muted);
    font-size: 0.78rem;
}

.rp-consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 12px;
    margin-top: 22px;
    color: var(--rp-muted);
    cursor: pointer;
    font-size: 0.76rem;
    line-height: 1.45;
}

.rp-consent input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #6b9d98;
}

.rp-consent a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rp-consent.is-error {
    color: #9d4138;
}

.rp-consent-error,
.rp-quiz__error,
.rp-form-status {
    min-height: 20px;
    margin: 12px 0 0;
    color: #9d4138;
    font-size: 0.78rem;
}

.rp-form-status {
    color: var(--rp-muted);
}

.rp-quiz__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.rp-quiz__actions[hidden] {
    display: none;
}

.rp-quiz__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid var(--rp-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--rp-muted);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.rp-quiz__back:hover {
    border-color: var(--rp-gold);
    color: var(--rp-ink);
}

.rp-quiz__back:disabled {
    cursor: default;
    opacity: 0.35;
}

.rp-quiz__next {
    margin: 0 auto;
}

.rp-quiz__submit {
    min-height: 54px;
    border-radius: 10px;
    margin: 0 0 0 auto;
}

.rp-form-success {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: grid;
    place-content: center;
    padding: 44px;
    border-radius: inherit;
    background: #fffdf9;
    text-align: center;
}

.rp-form-success[hidden] {
    display: none;
}

.rp-form-success__mark {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--rp-aqua);
    color: #48756f;
    font-size: 1.4rem;
}

.rp-form-success h3 {
    margin-bottom: 14px;
    font-size: 2.4rem;
}

.rp-form-success p {
    max-width: 430px;
    margin: 0;
    color: var(--rp-muted);
}

.rp-quiz__messenger-alt {
    margin: 12px 0 0;
    color: var(--rp-muted);
    font-size: 0.78rem;
    text-align: right;
}

.rp-quiz__messenger-alt a {
    color: #426f69;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rp-quiz-modal__overlay,
.rp-quiz-modal__close {
    display: none;
}

.rp-quiz-modal__dialog {
    position: relative;
}

html.rp-modal-open,
html.rp-modal-open body {
    overflow: hidden;
}

.rp-quiz-modal.is-open {
    position: fixed;
    z-index: 130;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    overflow: auto;
    background: transparent;
}

.rp-quiz-modal.is-open .rp-quiz-modal__overlay {
    position: absolute;
    inset: 0;
    display: block;
    background: rgba(5, 14, 13, 0.74);
    backdrop-filter: blur(10px);
}

.rp-quiz-modal.is-open .rp-quiz-modal__dialog {
    z-index: 1;
    width: min(1100px, calc(100vw - 40px));
    max-height: calc(100svh - 40px);
    padding: 30px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    background: #faf7f1;
    box-shadow: 0 38px 110px rgba(0, 0, 0, 0.34);
}

.rp-quiz-modal.is-open .rp-shell {
    width: 100%;
}

.rp-quiz-modal.is-open .rp-quiz-modal__close {
    position: sticky;
    z-index: 4;
    top: 0;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin: 0 0 -42px auto;
    border: 0;
    border-radius: 50%;
    background: #eadfca;
    color: var(--rp-ink);
    cursor: pointer;
    font-size: 1.65rem;
    line-height: 1;
}

.rp-quiz-modal.is-open .rp-quiz-layout {
    padding: 4px;
}

.rp-quiz-modal.is-open .rp-quiz-intro h2 {
    padding-right: 28px;
}

/* Reviews */
.rp-reviews {
    background: #fff;
}

.rp-section-head h2 {
    margin-bottom: 0;
}

.rp-review-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 42px 0 28px;
}

.rp-review-platform {
    display: grid;
    min-width: 250px;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid var(--rp-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(20, 32, 30, 0.05);
}

.rp-platform-icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    font-size: 0.83rem;
    font-weight: 800;
}

.rp-review-platform > .rp-platform-icon {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
}

.rp-platform-icon--yandex {
    background: #ef1f1f;
    color: #fff;
}

.rp-platform-icon--google {
    border: 1px solid #e2e5e3;
    background: #fff;
    color: #4285f4;
}

.rp-review-platform__body,
.rp-review-platform__rating,
.rp-review-platform__label {
    display: block;
}

.rp-review-platform__rating {
    color: var(--rp-ink);
    font-size: 1.6rem;
    line-height: 1;
}

.rp-review-platform__label {
    color: var(--rp-muted);
    font-size: 0.78rem;
}

.rp-review__stars {
    display: block;
    color: #f3bd08;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
}

.rp-reviews__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.rp-review {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--rp-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(20, 32, 30, 0.045);
}

.rp-review__top {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.rp-review__avatar {
    position: relative;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 1px solid var(--rp-line);
    border-radius: 50%;
    background: #faf7f1;
    font-size: 1rem;
    font-weight: 750;
}

.rp-review__avatar .rp-platform-icon {
    position: absolute;
    right: -3px;
    bottom: -2px;
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    font-size: 0.66rem;
}

.rp-review__author,
.rp-review__source {
    margin: 0;
}

.rp-review__author {
    color: var(--rp-ink);
    font-size: 1rem;
    font-weight: 750;
}

.rp-review__source {
    color: var(--rp-muted);
    font-size: 0.78rem;
}

.rp-review__text {
    margin: 24px 0 28px;
    color: var(--rp-ink-soft);
    line-height: 1.68;
}

.rp-review__link {
    width: fit-content;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--rp-line);
    color: #b08a45;
    font-size: 0.82rem;
    font-weight: 750;
}

/* Project request modal */
.rp-object-modal {
    position: fixed;
    z-index: 150;
    inset: 0;
    display: none;
    place-items: center;
    padding: 20px;
}

.rp-object-modal.is-open {
    display: grid;
}

.rp-object-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 14, 13, 0.76);
    backdrop-filter: blur(9px);
}

.rp-object-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(500px, calc(100vw - 40px));
    max-height: calc(100svh - 40px);
    padding: 32px;
    overflow: auto;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 38px 110px rgba(0, 0, 0, 0.34);
}

.rp-object-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #eadfca;
    color: var(--rp-ink);
    cursor: pointer;
    font-size: 1.55rem;
}

.rp-object-modal h3 {
    max-width: 390px;
    margin: 0 50px 14px 0;
    font-size: 2rem;
    line-height: 1.08;
}

.rp-object-modal__sub {
    margin-bottom: 12px;
    color: var(--rp-muted);
}

.rp-object-modal__project {
    margin-bottom: 24px;
    color: #527b75;
    font-weight: 750;
}

.rp-object-form {
    position: relative;
}

.rp-object-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--rp-muted);
    font-size: 0.86rem;
}

.rp-object-field input {
    width: 100%;
    min-height: 54px;
    padding: 13px 16px;
    border: 1px solid var(--rp-line);
    border-radius: 999px;
    background: #fffdf9;
    color: var(--rp-ink);
}

.rp-object-consent {
    margin: 20px 0 10px;
}

.rp-object-form__error {
    min-height: 20px;
    margin: 8px 0;
    color: #9d4138;
    font-size: 0.78rem;
}

.rp-object-success {
    position: absolute;
    inset: -8px 0 0;
    display: grid;
    min-height: 340px;
    place-content: center;
    padding: 28px;
    background: #fff;
    text-align: center;
}

.rp-object-success h3 {
    margin: 0 0 12px;
}

.rp-object-success p {
    margin: 0;
    color: var(--rp-muted);
}

/* FAQ */
.rp-faq {
    border-top: 1px solid rgba(19, 32, 30, 0.08);
    background: #faf7f1;
}

.rp-faq__grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: clamp(44px, 7vw, 100px);
}

.rp-faq__items details {
    border: 1px solid var(--rp-line);
    background: rgba(255, 255, 255, 0.34);
}

.rp-faq__items details:first-child {
    border-radius: 10px 10px 0 0;
}

.rp-faq__items details:last-child {
    border-radius: 0 0 10px 10px;
}

.rp-faq__items details + details {
    margin-top: -1px;
}

.rp-faq__items details[open] {
    position: relative;
    z-index: 1;
    border-color: rgba(111, 154, 148, 0.48);
    background: #edf5f3;
}

.rp-faq__items summary {
    position: relative;
    min-height: 58px;
    padding: 17px 52px 17px 18px;
    cursor: pointer;
    font-size: 0.96rem;
    font-weight: 550;
    line-height: 1.4;
    list-style: none;
}

.rp-faq__items summary::-webkit-details-marker {
    display: none;
}

.rp-faq__items summary::after {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 22px;
    height: 22px;
    content: "+";
    color: var(--rp-ink-soft);
    font-size: 1.35rem;
    font-weight: 350;
    line-height: 20px;
    text-align: center;
    transform: translateY(-50%);
}

.rp-faq__items details[open] summary::after {
    content: "−";
}

.rp-faq__items details p {
    max-width: 680px;
    margin: 0;
    padding: 0 52px 20px 18px;
    color: var(--rp-muted);
    font-size: 0.9rem;
    line-height: 1.62;
}

/* Closing CTA and footer */
.rp-final-cta {
    padding: clamp(56px, 6vw, 78px) 0;
    border-top: 1px solid rgba(197, 166, 107, 0.42);
    background: #102321;
    color: #fff;
}

.rp-final-cta__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(48px, 8vw, 120px);
}

.rp-final-cta__grid > div:last-child {
    padding: 0;
}

.rp-final-cta h2 {
    max-width: 560px;
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.rp-final-cta__grid > div:first-child > p:last-child {
    max-width: 520px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.65);
}

.rp-final-cta .rp-button--wide {
    width: 100%;
    min-height: 62px;
    border-radius: 12px;
    background: #efd79e;
}

.rp-final-cta__trust {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.76rem;
    line-height: 1.5;
}

.rp-final-cta__trust img {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-top: 1px;
    filter: invert(1);
    opacity: 0.68;
}

.rp-final-cta__disclaimer {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.74rem;
}

.rp-ready__footer {
    padding: 30px 0;
    background: #0c1413;
    color: rgba(255, 255, 255, 0.58);
}

.rp-ready__footer .rp-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.rp-brand--footer {
    color: #fff;
}

.rp-ready__footer p {
    margin: 0;
    font-size: 0.78rem;
}

.rp-ready__footer > .rp-shell > a:last-child {
    font-size: 0.76rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1080px) {
    .rp-nav__menu {
        gap: 18px;
    }

    .rp-nav__menu > a:not(.rp-button) {
        display: none;
    }

    .rp-check-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-project-grid::before {
        inset: -14px;
        border-radius: 24px;
    }

    .rp-projects::before,
    .rp-service::before {
        width: 660px;
        opacity: 0.24;
    }

    .rp-check-grid li:nth-child(7) {
        grid-column: span 2;
    }

    .rp-process__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-process__list li:nth-child(3) {
        border-left: 0;
    }

    .rp-quiz-layout,
    .rp-faq__grid {
        grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
        gap: 50px;
    }
}

@media (max-width: 960px) {
    #team .rp-inventory__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
    }

    #team .rp-inventory__grid > div {
        width: 100%;
        max-width: 720px;
    }

    #team .rp-inventory__visual {
        width: 100%;
        order: -1;
    }
}

@media (max-width: 900px) {
    .rp-project-grid {
        gap: 18px;
    }

    .rp-project-card__body {
        padding: 22px;
    }

    .rp-quiz-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .rp-quiz-intro {
        max-width: 620px;
        padding-top: 0;
    }

    .rp-quiz-intro h2,
    .rp-quiz-intro > p:not(.rp-eyebrow) {
        max-width: 620px;
    }
}

@media (min-width: 821px) and (max-height: 820px) {
    .rp-hero {
        min-height: 100svh;
    }

    .rp-hero__shell {
        padding-bottom: 16px;
    }

    .rp-nav {
        min-height: 62px;
    }

    .rp-hero__content {
        max-width: 640px;
        flex: 0 0 auto;
        padding: 34px 0 30px;
    }

    .rp-hero__content .rp-eyebrow {
        margin-bottom: 12px;
        font-size: 0.68rem;
    }

    .rp-hero h1 {
        margin-bottom: 16px;
        font-size: 3.2rem;
    }

    .rp-hero__lead {
        max-width: 680px;
        margin-bottom: 20px;
        font-size: 0.98rem;
        line-height: 1.45;
    }

    .rp-hero__support {
        max-width: 620px;
        margin-bottom: 16px;
        font-size: 0.82rem;
        line-height: 1.42;
    }

    .rp-button--hero {
        min-height: 54px;
        padding: 12px 24px;
        font-size: 0.88rem;
    }

    .rp-hero__note {
        max-width: 600px;
        margin-top: 9px;
        font-size: 0.69rem;
    }

    .rp-hero__status-row {
        max-width: 520px;
        margin: 0 0 22px;
    }

    .rp-status-glass {
        min-height: 58px;
        grid-template-columns: 36px 1fr;
        padding: 9px 12px;
    }

    .rp-status-glass__index {
        width: 44px;
        height: 44px;
    }

    .rp-status-glass strong {
        font-size: 0.95rem;
    }

    .rp-status-glass small {
        font-size: 0.69rem;
    }

    .rp-hero__image-note {
        bottom: 16px;
    }
}

@media (max-width: 820px) {
    :root {
        --rp-shell: min(100% - 32px, 680px);
    }

    .rp-section {
        padding: 76px 0;
    }

    .rp-ready h2 {
        font-size: 2.35rem;
    }

    .rp-hero {
        min-height: 820px;
        background:
            linear-gradient(180deg, rgba(4, 14, 17, 0.74) 0%, rgba(5, 18, 21, 0.56) 48%, rgba(4, 14, 17, 0.9) 100%),
            url("/gotovaya-nedvizhimost-v-tailande/assets/hero-ready-property-night-v1.webp") 62% center / cover no-repeat;
    }

    .rp-nav {
        min-height: 76px;
    }

    .rp-nav__toggle {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        border: 1px solid rgba(255, 255, 255, 0.38);
        border-radius: 999px;
        background: rgba(14, 26, 24, 0.42);
        color: #fff;
        cursor: pointer;
        font-size: 0.78rem;
    }

    .rp-nav__toggle-lines,
    .rp-nav__toggle-lines::before,
    .rp-nav__toggle-lines::after {
        display: block;
        width: 16px;
        height: 1px;
        background: currentColor;
        content: "";
    }

    .rp-nav__toggle-lines {
        position: relative;
    }

    .rp-nav__toggle-lines::before {
        position: absolute;
        top: -5px;
    }

    .rp-nav__toggle-lines::after {
        position: absolute;
        top: 5px;
    }

    .rp-nav__menu {
        position: absolute;
        top: 68px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 6px;
        background: rgba(14, 25, 23, 0.96);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
    }

    .rp-nav__menu.is-open {
        display: flex;
    }

    .rp-nav__menu > a:not(.rp-button) {
        display: block;
        padding: 12px 8px;
    }

    .rp-hero__content {
        justify-content: flex-start;
        padding: 58px 0 44px;
    }

    .rp-hero h1 {
        font-size: 2.85rem;
    }

    .rp-hero__status-row,
    .rp-status-cards,
    .rp-heading-grid,
    .rp-inventory__grid,
    .rp-service__grid,
    .rp-service__system,
    .rp-quiz-layout,
    .rp-faq__grid,
    .rp-final-cta__grid {
        grid-template-columns: 1fr;
    }

    .rp-hero__status-row {
        max-width: none;
    }

    .rp-reviews__grid {
        grid-template-columns: 1fr;
    }

    .rp-hero__image-note {
        display: none;
    }

    .rp-heading-grid {
        gap: 30px;
    }

    .rp-projects .rp-heading-grid__copy,
    .rp-service .rp-heading-grid__copy {
        padding: 0;
        border-left: 0;
        background: transparent;
        backdrop-filter: none;
    }

    .rp-projects::before,
    .rp-service::before {
        top: -20px;
        right: -190px;
        width: 590px;
        height: 390px;
        opacity: 0.18;
    }

    .rp-status-card {
        min-height: 0;
    }

    .rp-status-card__body {
        min-height: 0;
    }

    .rp-check-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-inventory__grid {
        gap: 42px;
    }

    .rp-inventory__visual {
        order: -1;
    }

    .rp-service__grid,
    .rp-quiz-layout,
    .rp-faq__grid,
    .rp-final-cta__grid {
        gap: 44px;
    }

    .rp-service__grid {
        margin-top: 44px;
        gap: 14px;
    }

    .rp-service__grid article {
        min-height: 0;
    }

    .rp-service__grid article > span {
        margin-bottom: 34px;
    }

    .rp-service__system > p {
        padding: 24px 0 0;
        border-top: 1px solid rgba(216, 186, 120, 0.42);
        border-left: 0;
    }

    .rp-service__cta {
        align-items: stretch;
        flex-direction: column;
    }

    .rp-service__cta .rp-button {
        width: 100%;
    }

    .rp-quiz-intro {
        position: static;
    }

    .rp-support__intro {
        position: static;
    }
}

@media (max-width: 720px) {
    .rp-project-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    :root {
        --rp-shell: calc(100% - 24px);
        --rp-radius: 8px;
    }

    .rp-project-grid::before {
        inset: -6px;
        border-radius: 18px;
    }

    .rp-project-branch-switch {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        margin-top: 30px;
        padding: 16px;
    }

    .rp-project-owner-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
        padding: 16px;
    }

    .rp-project-owner-links div {
        justify-content: flex-start;
        gap: 10px 14px;
    }

    .rp-project-branches {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding: 4px;
        border-radius: 999px;
    }

    .rp-project-branch {
        min-height: 50px;
        padding: 10px 8px;
        border-radius: 999px;
        text-align: center;
    }

    .rp-project-branch strong {
        font-size: 0.8rem;
        line-height: 1.25;
    }

    .rp-project-branch small {
        font-size: 0.68rem;
    }

    .rp-section {
        padding: 62px 0;
    }

    .rp-benefits__intro {
        padding: 24px 22px;
    }

    .rp-benefits__grid {
        grid-template-columns: 1fr;
    }

    .rp-benefits__grid li {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr);
        column-gap: 14px;
        padding: 18px 22px;
        border-top: 1px solid var(--rp-line);
        border-left: 0;
    }

    .rp-benefits__grid span {
        grid-row: 1 / 3;
        margin: 2px 0 0;
    }

    .rp-brand__logo {
        width: 104px;
    }

    .rp-hero {
        min-height: auto;
    }

    .rp-hero__shell {
        min-height: 100svh;
        padding-bottom: 22px;
    }

    .rp-hero__content {
        padding: 46px 0 34px;
    }

    .rp-hero h1 {
        margin-bottom: 18px;
        font-size: 2.4rem;
    }

    .rp-hero__lead {
        font-size: 0.98rem;
    }

    .rp-hero__support {
        font-size: 0.9rem;
    }

    .rp-button,
    .rp-button--hero {
        width: 100%;
        min-height: 60px;
        padding-inline: 18px;
        font-size: 0.88rem;
    }

    .rp-hero__status-row {
        grid-template-columns: 1fr;
    }

    .rp-status-glass {
        min-height: 60px;
        padding: 10px 13px;
    }

    .rp-status-card {
        min-height: 0;
        padding: 0;
    }

    .rp-status-card__media img {
        aspect-ratio: auto;
    }

    .rp-status-card__media {
        aspect-ratio: 4 / 3;
    }

    .rp-status-card__body {
        min-height: 0;
        padding: 28px 24px 24px;
    }

    .rp-status-card__number {
        top: 24px;
        right: 20px;
        font-size: 3.8rem;
    }

    .rp-status-card h3 {
        max-width: 250px;
        font-size: 1.7rem;
    }

    .rp-status-card__action {
        margin-top: 24px;
    }

    .rp-check-grid,
    .rp-process__list,
    .rp-project-grid,
    .rp-options,
    .rp-budget-row,
    .rp-contact-grid {
        grid-template-columns: 1fr;
    }

    .rp-check-grid li,
    .rp-check-grid li:nth-child(7) {
        min-height: 0;
        grid-column: span 1;
    }

    .rp-ready h2 {
        font-size: 1.82rem;
    }

    .rp-inventory h2 {
        font-size: 2.25rem;
    }

    .rp-quiz__step legend {
        font-size: 1.5rem;
    }

    .rp-quiz-intro h2 {
        font-size: 1.9rem;
    }

    .rp-project-filters {
        width: calc(100% + 12px);
        flex-wrap: nowrap;
        margin-right: -12px;
        padding-right: 12px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .rp-project-filters::-webkit-scrollbar {
        display: none;
    }

    .rp-projects__views {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 24px;
    }

    .rp-projects__view {
        height: 132px;
        border-radius: 12px;
    }

    .rp-projects__view figcaption {
        bottom: 8px;
        left: 8px;
        padding: 6px 9px;
        font-size: 0.7rem;
    }

    .rp-project-card__body {
        padding: 20px;
    }

    .rp-project-card {
        border-radius: 14px;
    }

    .rp-projects::before,
    .rp-service::before {
        right: -250px;
        width: 520px;
        opacity: 0.14;
    }

    .rp-project-card__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .rp-process__list li,
    .rp-process__list li + li {
        min-height: 230px;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
    }

    .rp-process__list li:last-child {
        border-bottom: 1px solid var(--rp-line);
    }

    .rp-process__list span {
        margin-bottom: 38px;
    }

    .rp-service__grid article {
        padding: 24px 22px;
        border-radius: 14px;
    }

    .rp-service__system {
        padding: 28px 22px;
        border-radius: 14px;
    }

    .rp-service__cta {
        padding: 22px;
        border-radius: 14px;
    }

    .rp-contact-grid label:last-child {
        grid-column: auto;
    }

    .rp-quiz {
        min-height: 430px;
        padding: 24px 18px;
        border-radius: 12px;
    }

    .rp-desktop-break {
        display: none;
    }

    .rp-consultant {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 10px;
        margin-top: 22px;
    }

    .rp-consultant__photo {
        width: 44px;
        height: 44px;
        border-width: 2px;
    }

    .rp-consultant__body {
        padding: 10px 12px;
        border-radius: 14px;
    }

    .rp-consultant__body::before {
        top: 14px;
    }

    .rp-consultant__name,
    .rp-consultant__msg {
        font-size: 0.78rem;
    }

    .rp-quiz-modal.is-open {
        padding: 12px;
    }

    .rp-quiz-modal.is-open .rp-quiz-modal__dialog {
        width: calc(100vw - 24px);
        max-height: calc(100svh - 24px);
        padding: 18px;
        border-radius: 24px;
    }

    .rp-quiz-modal.is-open .rp-quiz-layout {
        gap: 22px;
    }

    .rp-quiz-modal.is-open .rp-quiz-intro h2 {
        padding-right: 38px;
        font-size: 1.72rem;
    }

    .rp-review-platforms {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .rp-review-platform {
        min-width: 0;
    }

    .rp-review {
        min-height: 0;
        padding: 20px;
    }

    .rp-object-modal {
        padding: 12px;
    }

    .rp-object-modal__dialog {
        width: calc(100vw - 24px);
        max-height: calc(100svh - 24px);
        padding: 24px 18px 20px;
        border-radius: 22px;
    }

    .rp-object-modal h3 {
        font-size: 1.65rem;
    }

    .rp-quiz__topline {
        grid-template-columns: auto minmax(90px, 1fr);
        gap: 14px;
    }

    .rp-quiz__hint {
        display: none;
    }

    .rp-options button {
        min-height: 62px;
    }

    .rp-option-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .rp-faq__items summary {
        min-height: 56px;
        padding: 16px 46px 16px 15px;
        font-size: 0.92rem;
    }

    .rp-faq__items summary::after {
        right: 14px;
    }

    .rp-faq__items details p {
        padding: 0 46px 18px 15px;
        font-size: 0.86rem;
    }

    .rp-final-cta__trust {
        font-size: 0.72rem;
    }

    .rp-quiz__actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .rp-quiz__back,
    .rp-quiz__next,
    .rp-quiz__submit {
        width: 100%;
        margin-left: 0;
    }

    .rp-ready__footer .rp-shell {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.rp-lp-mode {
        scroll-behavior: auto;
    }

    .rp-ready *,
    .rp-ready *::before,
    .rp-ready *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Human-led premium pass — local candidate 2026-08-11 */
.rp-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 20px;
}

.rp-hero__proof a {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
}

.rp-hero__proof a + a {
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.rp-hero__proof strong {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.rp-experts {
    overflow: hidden;
    border-bottom: 1px solid rgba(197, 166, 107, 0.16);
    background: #fff;
}

.rp-experts::after {
    position: absolute;
    z-index: 0;
    top: 70px;
    right: -80px;
    width: min(520px, 42vw);
    height: 1px;
    background: rgba(197, 166, 107, 0.28);
    box-shadow: 0 14px 0 rgba(197, 166, 107, 0.12), 0 28px 0 rgba(197, 166, 107, 0.06);
    content: "";
    transform: rotate(-7deg);
    transform-origin: right center;
}

.rp-experts__head {
    position: relative;
    z-index: 1;
}

.rp-experts__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: clamp(42px, 5vw, 68px);
}

.rp-expert-card {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(190px, 0.82fr) minmax(0, 1.18fr);
    overflow: hidden;
    border: 1px solid rgba(19, 32, 30, 0.14);
    border-radius: 16px;
    background: #f7f3eb;
    box-shadow: 0 22px 54px rgba(21, 33, 29, 0.07);
}

.rp-expert-card--lead {
    background: #eef3f0;
}

.rp-expert-card__photo {
    min-height: 350px;
    margin: 0;
    overflow: hidden;
    background: #d9ddd9;
}

.rp-expert-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.rp-expert-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 34px 30px;
}

.rp-expert-card__market {
    margin-bottom: 18px;
    color: #5b817a;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rp-expert-card h3 {
    margin-bottom: 8px;
    font-size: clamp(1.65rem, 2.3vw, 2.2rem);
    font-weight: 550;
}

@media (min-width: 1081px) {
    .rp-expert-card h3 span {
        display: block;
    }
}

.rp-expert-card__role {
    margin-bottom: 22px;
    color: #806532;
    font-size: 0.82rem;
    font-weight: 700;
}

.rp-expert-card__body > p:not(.rp-expert-card__market):not(.rp-expert-card__role) {
    margin-bottom: 26px;
    color: var(--rp-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.rp-expert-card__body > a {
    width: fit-content;
    margin-top: auto;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(19, 32, 30, 0.36);
    font-size: 0.82rem;
    font-weight: 700;
}

.rp-team-proof {
    display: grid;
    grid-template-columns: minmax(0, 1.36fr) minmax(340px, 0.64fr);
    align-items: stretch;
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid rgba(19, 32, 30, 0.14);
    border-radius: 16px;
    background: var(--rp-night);
    color: #fff;
}

.rp-team-proof__visual {
    min-height: 360px;
    margin: 0;
    overflow: hidden;
}

.rp-team-proof__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.rp-team-proof__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px 36px;
}

.rp-team-proof__copy h3 {
    margin-bottom: 24px;
    color: #fff;
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.rp-team-proof__copy .rp-eyebrow {
    color: #dec58d;
}

.rp-team-proof__copy ul {
    display: grid;
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.86rem;
    list-style: none;
}

.rp-team-proof__copy li {
    position: relative;
    padding-left: 18px;
}

.rp-team-proof__copy li::before {
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 7px;
    height: 1px;
    background: var(--rp-gold);
    content: "";
}

.rp-team-proof__copy .rp-button {
    width: 100%;
    justify-content: space-between;
}

#statuses.rp-projects__paths {
    display: grid;
    position: relative;
    z-index: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 34px 0 28px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.rp-project-path {
    display: grid;
    min-width: 0;
    min-height: 104px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid rgba(19, 32, 30, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.rp-project-path:hover {
    border-color: rgba(197, 166, 107, 0.72);
    background: #fff;
    transform: translateY(-2px);
}

.rp-project-path__number {
    color: var(--rp-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
}

.rp-project-path strong,
.rp-project-path small {
    display: block;
}

.rp-project-path strong {
    margin-bottom: 4px;
    font-size: 0.98rem;
}

.rp-project-path small {
    color: var(--rp-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.rp-project-card--feature {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.rp-project-card--feature figure {
    min-height: 430px;
    aspect-ratio: auto;
}

.rp-project-card--feature .rp-project-card__body {
    padding: 34px 32px;
}

.rp-project-card--feature h3 {
    font-size: clamp(1.65rem, 2.4vw, 2.15rem);
}

.rp-project-card--feature .rp-project-card__fact {
    min-height: 0;
    max-width: 320px;
}

.rp-panorama {
    position: relative;
    height: clamp(430px, 46vw, 650px);
    overflow: hidden;
    background: var(--rp-night);
    color: #fff;
}

.rp-panorama__visual {
    position: absolute;
    inset: 0;
    margin: 0;
}

.rp-panorama__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 56%;
    filter: saturate(0.78) contrast(0.96) brightness(0.74);
}

.rp-panorama__content {
    position: absolute;
    z-index: 1;
    bottom: clamp(24px, 5vw, 64px);
    left: 50%;
    transform: translateX(-50%);
}

.rp-panorama__content > div {
    max-width: 620px;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    background: rgba(9, 25, 22, 0.84);
    backdrop-filter: blur(12px);
}

.rp-panorama h2 {
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.rp-panorama__content p:last-child {
    max-width: 540px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
}

.rp-video-trust {
    border-top: 1px solid rgba(197, 166, 107, 0.14);
    background: #fff;
}

.rp-video-trust__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: clamp(40px, 5vw, 68px);
}

.rp-video-card {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1.18fr) minmax(220px, 0.82fr);
    overflow: hidden;
    border: 1px solid rgba(19, 32, 30, 0.14);
    border-radius: 14px;
    background: #f7f4ee;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.rp-video-card:hover {
    border-color: rgba(197, 166, 107, 0.68);
    box-shadow: 0 20px 46px rgba(20, 32, 29, 0.09);
    transform: translateY(-3px);
}

.rp-video-card__media {
    min-height: 250px;
    overflow: hidden;
    background: var(--rp-night);
}

.rp-video-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.82) contrast(0.96);
    transition: transform 360ms ease;
}

.rp-video-card:hover .rp-video-card__media img {
    transform: scale(1.02);
}

.rp-video-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.rp-video-card__body small {
    margin-bottom: 20px;
    color: #496f68;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rp-video-card__body strong {
    margin-bottom: 28px;
    font-size: clamp(1.18rem, 1.7vw, 1.55rem);
    font-weight: 550;
    line-height: 1.25;
}

.rp-video-card__body > span {
    color: var(--rp-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

@media (max-width: 1080px) {
    .rp-experts__grid,
    .rp-video-trust__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-team-proof {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-team-proof__visual {
        min-height: 0;
        aspect-ratio: 1600 / 893;
    }

    .rp-team-proof__copy {
        padding: 34px;
    }
}

@media (max-width: 900px) {
    .rp-project-card--feature {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-project-card--feature figure {
        min-height: 0;
        aspect-ratio: 16 / 10.3;
    }

    .rp-video-card {
        grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
    }
}

@media (max-width: 820px) {
    .rp-benefits {
        margin-top: 0;
        padding: 24px 0 34px;
    }

    .rp-benefits__panel {
        grid-template-columns: 1fr;
    }

    .rp-benefits__grid li:first-child {
        border-left: 0;
    }

    .rp-experts__head {
        gap: 24px;
    }

    #statuses.rp-projects__paths {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-panorama {
        height: 440px;
    }

    .rp-panorama__content > div {
        max-width: 560px;
    }
}

@media (max-width: 720px) {
    .rp-project-card--feature {
        grid-column: span 1;
    }

    .rp-video-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-video-card__media {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 560px) {
    .rp-hero__proof {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        margin-top: 18px;
    }

    .rp-hero__proof a {
        grid-template-columns: minmax(0, 1fr);
        gap: 1px;
    }

    .rp-hero__proof a + a {
        padding-left: 14px;
    }

    .rp-expert-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-expert-card__photo {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .rp-expert-card__photo img {
        object-position: center 18%;
    }

    .rp-expert-card__body {
        padding: 26px 22px 28px;
    }

    .rp-team-proof__copy {
        padding: 28px 22px;
    }

    .rp-project-path {
        gap: 12px;
        padding: 18px 16px;
    }

    .rp-project-card--feature .rp-project-card__body {
        padding: 24px 20px;
    }

    .rp-panorama {
        height: 390px;
    }

    .rp-panorama__content {
        bottom: 12px;
    }

    .rp-panorama__content > div {
        padding: 24px 20px;
        border-radius: 10px;
    }

    .rp-panorama h2 {
        font-size: 1.85rem;
    }

    .rp-video-card__body {
        padding: 24px 20px 26px;
    }
}

/* Project details modal */
.rp-project-details-modal {
    position: fixed;
    z-index: 150;
    inset: 0;
    display: none;
    place-items: center;
    padding: 20px;
}

.rp-project-details-modal.is-open {
    display: grid;
}

.rp-project-details-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 14, 13, 0.78);
    backdrop-filter: blur(10px);
}

.rp-project-details-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, calc(100vw - 40px));
    max-height: calc(100svh - 40px);
    overflow: auto;
    border: 1px solid rgba(238, 225, 195, 0.52);
    border-radius: 26px;
    background: #fffdf9;
    box-shadow: 0 42px 120px rgba(0, 0, 0, 0.4);
    overscroll-behavior: contain;
}

.rp-project-details-modal__close {
    position: absolute;
    z-index: 7;
    top: 18px;
    right: 18px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    background: rgba(11, 29, 25, 0.76);
    color: #fff;
    box-shadow: 0 10px 28px rgba(5, 16, 14, 0.24);
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
}

.rp-project-details-modal__gallery {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 8.2;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
    background: var(--rp-night);
}

.rp-project-details-modal__gallery::after {
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    height: 38%;
    background: linear-gradient(180deg, transparent, rgba(6, 18, 16, 0.36));
    content: "";
    pointer-events: none;
}

.rp-project-details-modal__gallery .rp-project-card__gallery-arrow {
    width: 44px;
    height: 44px;
}

.rp-project-details-modal__gallery .rp-project-card__gallery-arrow--prev {
    left: 18px;
}

.rp-project-details-modal__gallery .rp-project-card__gallery-arrow--next {
    right: 18px;
}

.rp-project-details-modal__body {
    padding: 30px 34px 34px;
}

.rp-project-details-modal__place {
    margin-bottom: 10px;
    color: #557c75;
    font-size: 0.76rem;
    font-weight: 750;
    text-transform: uppercase;
}

.rp-project-details-modal h3 {
    max-width: 700px;
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.02;
}

.rp-project-details-modal__summary {
    max-width: 760px;
    margin-bottom: 24px;
    color: var(--rp-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.rp-project-details-modal__advantages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.rp-project-details-modal__advantages li {
    min-height: 116px;
    padding: 18px;
    border: 1px solid rgba(19, 32, 30, 0.11);
    border-radius: 14px;
    background: #f8f4eb;
}

.rp-project-details-modal__advantages span {
    display: block;
    margin-bottom: 18px;
    color: var(--rp-gold);
    font-size: 0.78rem;
    font-weight: 750;
}

.rp-project-details-modal__advantages strong {
    display: block;
    color: var(--rp-ink);
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.42;
}

.rp-project-details-modal__meta {
    display: grid;
    grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding: 20px 22px;
    border: 1px solid rgba(197, 166, 107, 0.28);
    border-radius: 14px;
    background: rgba(238, 225, 195, 0.28);
}

.rp-project-details-modal__meta p {
    margin: 0;
}

.rp-project-details-modal__meta small,
.rp-project-details-modal__meta strong {
    display: block;
}

.rp-project-details-modal__meta small {
    margin-bottom: 5px;
    color: var(--rp-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.rp-project-details-modal__meta strong {
    font-size: 1.08rem;
    line-height: 1.35;
}

.rp-project-details-modal__meta > p:last-child {
    color: var(--rp-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.rp-project-details-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.rp-project-details-modal__actions .rp-button {
    min-width: 190px;
}

@media (max-width: 720px) {
    .rp-project-details-modal {
        padding: 12px;
    }

    .rp-project-details-modal__dialog {
        width: calc(100vw - 24px);
        max-height: calc(100svh - 24px);
        border-radius: 20px;
    }

    .rp-project-details-modal__close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .rp-project-details-modal__gallery {
        aspect-ratio: 4 / 3;
        border-radius: 19px 19px 0 0;
    }

    .rp-project-details-modal__gallery .rp-project-card__gallery-arrow {
        width: 42px;
        height: 42px;
    }

    .rp-project-details-modal__gallery .rp-project-card__gallery-arrow--prev {
        left: 10px;
    }

    .rp-project-details-modal__gallery .rp-project-card__gallery-arrow--next {
        right: 10px;
    }

    .rp-project-details-modal__body {
        padding: 22px 18px 20px;
    }

    .rp-project-details-modal h3 {
        margin-right: 0;
        font-size: 1.85rem;
    }

    .rp-project-details-modal__summary {
        margin-bottom: 20px;
        font-size: 0.92rem;
    }

    .rp-project-details-modal__advantages {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        margin-bottom: 20px;
    }

    .rp-project-details-modal__advantages li {
        display: grid;
        min-height: 0;
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 8px;
        padding: 14px;
    }

    .rp-project-details-modal__advantages span {
        margin: 1px 0 0;
    }

    .rp-project-details-modal__meta {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .rp-project-details-modal__actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .rp-project-details-modal__actions .rp-button {
        width: 100%;
        min-width: 0;
    }
}
