@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Onest:wght@400;500;600;700;800&display=swap');

:root {
    --rp-display: 'Onest', 'Manrope', 'Inter', system-ui, sans-serif;
    --rp-body: 'Manrope', 'Inter', system-ui, sans-serif;
    --rp-forest: #17211d;
    --rp-forest-2: #21372f;
    --rp-ink: #17211d;
    --rp-muted: #66736c;
    --rp-paper: #f7f2e9;
    --rp-paper-2: #ede4d5;
    --rp-gold: #c7a76a;
    --rp-gold-bright: #d3b878;
    --rp-sea: #dfeeed;
    --rp-clay: #b98564;
    --rp-white: #ffffff;
    --rp-line: rgba(23, 33, 29, 0.13);
    --rp-shadow: 0 24px 70px rgba(23, 33, 29, 0.08);
    --rp-shadow-sm: 0 8px 30px rgba(23, 33, 29, 0.04);
    --rp-radius: 20px;
    --rp-radius-pill: 999px;
    --rp-max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--rp-body);
    color: var(--rp-ink);
    background: var(--rp-paper);
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

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

.is-hidden,
.rp-hp {
    display: none !important;
}

.rp-topbar {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(var(--rp-max), calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    color: var(--rp-white);
}

.rp-brand,
.rp-topbar__links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rp-brand {
    text-decoration: none;
    font-weight: 700;
}

.rp-brand__logo {
    display: block;
    height: 45px;
    width: auto;
}

.rp-brand__mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.rp-brand__text {
    font-size: 16px;
}

.rp-topbar__links {
    gap: 18px;
}

.rp-topbar__link {
    font-size: 14px;
    text-decoration: none;
    opacity: 0.88;
}

.rp-topbar__link:hover {
    opacity: 1;
}

.rp-landing-shell {
    min-height: 100vh;
    overflow: hidden;
}

.rp-section {
    width: min(var(--rp-max), calc(100% - 32px));
    margin: 0 auto;
    padding: 88px 0;
}

.rp-hero {
    position: relative;
    width: 100%;
    min-height: 92svh;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.72fr);
    gap: 56px;
    align-items: center;
    padding-right: max(16px, calc((100% - var(--rp-max)) / 2));
    padding-left: max(16px, calc((100% - var(--rp-max)) / 2));
    padding-top: 112px;
    color: var(--rp-white);
}

.rp-hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background:
        linear-gradient(90deg, rgba(16, 24, 21, 0.86), rgba(16, 24, 21, 0.54) 52%, rgba(16, 24, 21, 0.72)),
        url("/thailand-invest-nedvizhimost/assets/img/phuket-laem-sing-beach.webp") center / cover no-repeat;
}

.rp-hero::after {
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 140px;
    content: "";
    background: linear-gradient(180deg, rgba(247, 242, 233, 0), var(--rp-paper));
}

.rp-hero__content {
    max-width: 730px;
}

.rp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: var(--rp-gold);
    font-family: var(--rp-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rp-kicker::before {
    width: 26px;
    height: 1px;
    background: var(--rp-gold);
    content: "";
}

h1,
h2 {
    margin: 0 0 20px;
    font-family: var(--rp-display);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.015em;
    font-optical-sizing: auto;
}

h1 {
    max-width: 880px;
    font-size: 60px;
}

h2 {
    font-size: 46px;
}

p,
li {
    color: var(--rp-muted);
    font-size: 18px;
    line-height: 1.55;
}

.rp-hero p,
.rp-hero li,
.rp-final-cta p {
    color: rgba(255, 255, 255, 0.82);
}

.rp-hero__lead {
    max-width: 680px;
    margin: 0 0 28px;
    font-size: 21px;
}

.rp-hero__actions,
.rp-success__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.rp-hero__messengers {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
}

.rp-hero__messengers a {
    color: var(--rp-white);
    font-weight: 700;
    text-decoration-color: rgba(199, 167, 106, 0.7);
    text-underline-offset: 4px;
}

.rp-hero-proofcards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-self: center;
    justify-self: end;
    width: min(300px, 100%);
    margin: 24px 0 0;
}

.rp-hero-proofcard {
    display: grid;
    min-height: 72px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    color: var(--rp-white);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(12px);
}

.rp-hero-proofcard span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.rp-hero-proofcard strong {
    display: block;
    margin: 3px 0 2px;
    color: var(--rp-white);
    font-size: 20px;
    line-height: 1;
}

.rp-hero-proofcard em {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-style: normal;
    line-height: 1.25;
}

.rp-hero-proofcard--plain {
    background: rgba(199, 167, 106, 0.14);
    border-color: rgba(199, 167, 106, 0.34);
}

.rp-hero-proofcard--plain strong {
    color: var(--rp-gold);
    font-size: 18px;
}

.rp-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--rp-radius-pill);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.rp-btn:hover {
    transform: translateY(-1px);
}

.rp-btn--primary {
    color: var(--rp-forest);
    background: var(--rp-gold);
}

.rp-btn--ghost {
    color: var(--rp-white);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.09);
}

.rp-btn--light {
    color: var(--rp-forest);
    border-color: var(--rp-line);
    background: var(--rp-white);
}

.rp-btn:disabled {
    cursor: not-allowed;
    opacity: 0.45;
    transform: none;
}

.rp-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.rp-trust-chips li {
    max-width: none;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.rp-hero-panel {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--rp-radius);
    background: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 24px 70px rgba(23, 33, 29, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(18px);
}

.rp-hero-panel__image {
    min-height: 220px;
    background: url("/thailand-invest-nedvizhimost/assets/img/phuket-three-beaches.webp") center / cover no-repeat;
}

.rp-hero-panel__body {
    padding: 24px;
}

.rp-panel-label,
.rp-project__tag {
    margin: 0 0 10px;
    color: var(--rp-gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.rp-hero-panel h2 {
    margin-bottom: 14px;
    color: var(--rp-white);
    font-size: 26px;
}

.rp-hero-panel ul {
    padding-left: 18px;
    margin: 0;
}

.rp-hero-panel li {
    font-size: 16px;
}

.rp-trust-bar {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(var(--rp-max), calc(100% - 32px));
    margin: -46px auto 0;
    overflow: hidden;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    background: var(--rp-white);
    box-shadow: var(--rp-shadow);
}

.rp-trust-bar__item {
    min-height: 112px;
    padding: 22px;
    border-right: 1px solid var(--rp-line);
}

.rp-trust-bar__item:last-child {
    border-right: 0;
}

.rp-trust-bar strong {
    display: block;
    margin-bottom: 8px;
    color: var(--rp-forest);
    font-size: 26px;
}

.rp-trust-bar span {
    display: block;
    color: var(--rp-muted);
    font-size: 14px;
    line-height: 1.35;
}

.rp-quiz-map {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.rp-quiz-map span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid rgba(199, 167, 106, 0.36);
    border-radius: 999px;
    color: var(--rp-forest);
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.55);
}

.rp-quiz-map b {
    color: var(--rp-gold);
    font-family: var(--rp-display);
    font-size: 15px;
    font-weight: 600;
}

.rp-quiz-section .rp-section-head > p,
.rp-quiz-section .rp-quiz-map {
    display: none;
}

.rp-company-trust {
    width: 100%;
    max-width: none;
    padding: 92px max(16px, calc((100% - var(--rp-max)) / 2));
    color: var(--rp-white);
    background:
        radial-gradient(circle at 88% 16%, rgba(199, 167, 106, 0.18), transparent 28%),
        linear-gradient(135deg, var(--rp-forest), #21372f 62%, #10221d);
}

.rp-trust-system {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1fr);
    gap: 54px;
    align-items: start;
}

.rp-trust-system .rp-kicker,
.rp-trust-system .rp-section-head p {
    color: var(--rp-gold-bright);
}

.rp-trust-system h2 {
    color: var(--rp-white);
}

.rp-trust-system__intro > p:not(.rp-kicker) {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.rp-trust-proof-note {
    display: grid;
    gap: 8px;
    max-width: 520px;
    margin-top: 30px;
    padding: 20px;
    border: 1px solid rgba(199, 167, 106, 0.35);
    border-radius: 18px;
    background: rgba(199, 167, 106, 0.1);
}

.rp-trust-proof-note strong {
    color: var(--rp-gold-bright);
    font-size: 17px;
}

.rp-trust-proof-note span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.55;
}

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

.rp-trust-fact {
    position: relative;
    display: grid;
    align-content: start;
    gap: 7px;
    min-height: 156px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055));
    overflow: hidden;
}

.rp-trust-fact::after {
    position: absolute;
    right: -34px;
    bottom: -44px;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: rgba(199, 167, 106, 0.1);
    content: "";
}

.rp-trust-fact--wide,
.rp-trust-fact--free {
    grid-column: span 2;
    min-height: 126px;
}

.rp-trust-fact strong {
    position: relative;
    z-index: 1;
    color: var(--rp-gold-bright);
    font-family: var(--rp-display);
    font-size: 38px;
    font-weight: 500;
    line-height: 1;
}

.rp-trust-fact span {
    position: relative;
    z-index: 1;
    color: var(--rp-white);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.rp-trust-fact p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.45;
}

.rp-company-trust__note {
    max-width: var(--rp-max);
    margin: 22px auto 0;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.05);
}

.rp-prebook-check {
    padding-top: 80px;
}

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

.rp-check-card {
    position: relative;
    min-height: 142px;
    padding: 25px 24px 24px;
    border: 1px solid var(--rp-line);
    border-left: 4px solid var(--rp-gold);
    border-radius: var(--rp-radius);
    background: var(--rp-white);
    box-shadow: 0 22px 60px rgba(23, 33, 29, 0.08);
    overflow: hidden;
}

.rp-check-card::after {
    position: absolute;
    top: -34px;
    right: -22px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(199, 167, 106, 0.13);
    content: "";
}

.rp-check-card span {
    display: block;
    margin-bottom: 12px;
    color: var(--rp-gold);
    font-family: var(--rp-display);
    font-size: 34px;
    line-height: 1;
}

.rp-check-card p {
    margin: 0;
    color: var(--rp-forest);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
}

.rp-inline-cta--light {
    border-color: rgba(199, 167, 106, 0.36);
    background: #fff8e8;
}

@media (max-width: 1023px) {
    .rp-trust-system,
    .rp-prebook-check__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .rp-company-trust {
        padding-top: 62px;
        padding-bottom: 68px;
    }

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

    .rp-trust-fact,
    .rp-trust-fact--wide,
    .rp-trust-fact--free {
        grid-column: span 1;
        min-height: 0;
        padding: 18px;
    }

    .rp-trust-fact strong {
        font-size: 34px;
    }

    .rp-quiz-map {
        gap: 7px;
    }

    .rp-quiz-map span {
        padding: 7px 10px;
        font-size: 12px;
    }

    .rp-check-card {
        padding: 20px;
    }

    .rp-check-card p {
        font-size: 16px;
    }
}

.rp-section-head {
    max-width: 780px;
    margin-bottom: 34px;
}

.rp-section-head p {
    margin: 0;
}

.rp-quiz-section {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(420px, 0.9fr);
    gap: 56px;
    align-items: start;
}

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

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

.rp-quiz-modal__dialog {
    display: contents;
}

.rp-quiz-modal.is-open {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: flex;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    padding: 28px;
    overflow: auto;
    align-items: center;
    justify-content: center;
}

.rp-quiz-modal.is-open .rp-quiz-modal__overlay {
    position: fixed;
    inset: 0;
    display: block;
    background:
        radial-gradient(circle at 18% 16%, rgba(199, 167, 106, 0.2), transparent 28%),
        rgba(16, 24, 21, 0.72);
    backdrop-filter: blur(7px);
}

.rp-quiz-modal.is-open .rp-quiz-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(270px, 0.78fr) minmax(420px, 0.95fr);
    gap: 30px;
    width: min(1040px, calc(100vw - 40px));
    max-height: min(88vh, 820px);
    padding: 30px;
    overflow: auto;
    border: 1px solid rgba(199, 167, 106, 0.24);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 235, 0.98));
    box-shadow: 0 34px 90px rgba(12, 25, 20, 0.34);
    animation: rp-modal-in 0.25s ease;
}

.rp-quiz-modal__dialog:focus {
    outline: none;
}

.rp-quiz-modal.is-open .rp-quiz-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: block;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(199, 167, 106, 0.3);
    border-radius: 50%;
    color: var(--rp-forest);
    background: rgba(255, 255, 255, 0.86);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.rp-quiz-modal.is-open .rp-section-head {
    margin: 0;
    padding-right: 8px;
}

.rp-quiz-modal.is-open .rp-section-head > p,
.rp-quiz-modal.is-open .rp-quiz-map {
    display: none;
}

.rp-quiz-modal.is-open .rp-section-head h2 {
    font-size: clamp(30px, 3.6vw, 42px);
    line-height: 1.08;
}

.rp-quiz-modal.is-open .rp-quiz {
    box-shadow: 0 18px 45px rgba(23, 33, 29, 0.12);
}

.rp-quiz__step[data-step="5"] .rp-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}

.rp-quiz__step[data-step="5"] .rp-field {
    gap: 7px;
}

.rp-quiz__step[data-step="5"] .rp-field input {
    min-height: 54px;
}

.rp-quiz__step[data-step="5"] .rp-consent-note {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.45;
}

.rp-quiz__step[data-step="5"].is-active ~ .rp-quiz__nav {
    justify-content: flex-start;
    gap: 12px;
    margin-top: 18px;
}

.rp-quiz__step[data-step="5"].is-active ~ .rp-quiz__nav .rp-btn {
    min-height: 48px;
    padding: 0 22px;
}

.rp-quiz__step[data-step="5"].is-active ~ .rp-quiz__nav [data-quiz-prev] {
    min-width: 108px;
}

.rp-quiz__step[data-step="5"].is-active ~ .rp-quiz__nav [data-quiz-submit] {
    min-width: 214px;
}

.rp-quiz-modal.is-open .rp-quiz__nav {
    align-items: center;
}

.rp-quiz-modal.is-open [data-quiz-submit] {
    min-width: 230px;
}

.rp-quiz {
    padding: 30px;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    background: var(--rp-white);
    box-shadow: var(--rp-shadow);
}

.rp-quiz__top {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.rp-quiz__count {
    color: var(--rp-muted);
    font-size: 14px;
}

.rp-quiz__progress {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--rp-paper-2);
}

.rp-quiz__progress span {
    display: block;
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: var(--rp-gold);
    transition: width 0.25s ease;
}

.rp-quiz__step {
    display: none;
}

.rp-quiz__step.is-active {
    display: block;
}

.rp-quiz h3,
.rp-card h3,
.rp-step h3,
.rp-market h3,
.rp-project h3 {
    margin: 0 0 12px;
    color: var(--rp-forest);
    font-size: 24px;
    line-height: 1.16;
}

.rp-quiz__hint {
    margin-top: -4px;
    font-size: 16px;
}

.rp-quiz__options {
    display: grid;
    gap: 12px;
}

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

.rp-quiz__option {
    min-height: 58px;
    padding: 16px 18px;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    color: var(--rp-forest);
    text-align: left;
    background: #fbfaf6;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.1s ease;
}

.rp-quiz__option:active {
    transform: scale(0.98);
}

.rp-quiz__option:hover,
.rp-quiz__option.is-selected {
    border-color: var(--rp-gold);
    background: #f2ead8;
}

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

.rp-field {
    display: grid;
    gap: 8px;
}

.rp-field--wide {
    grid-column: 1 / -1;
}

.rp-field span,
.rp-consent {
    color: var(--rp-muted);
    font-size: 14px;
}

.rp-field__hint {
    display: block;
    margin-top: -2px;
    color: var(--rp-muted);
    font-size: 12px;
    line-height: 1.35;
}

.rp-field__hint--glass {
    color: rgba(255, 255, 255, 0.68);
}

.rp-field input {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    color: var(--rp-forest);
    background: #fbfaf6;
}

.rp-field input:focus {
    border-color: var(--rp-gold);
    outline: none;
}

.rp-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
}

.rp-quiz__nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.rp-form-status {
    min-height: 22px;
    margin: 14px 0 0;
    color: var(--rp-muted);
    font-size: 14px;
}

.rp-success {
    margin-top: 20px;
    padding: 22px;
    border-radius: var(--rp-radius);
    background: var(--rp-sea);
}

.rp-success p {
    margin-top: 0;
}

.rp-process__grid,
.rp-usp__grid,
.rp-projects__grid,
.rp-magnets__grid {
    display: grid;
    gap: 18px;
}

.rp-process__grid {
    grid-template-columns: repeat(3, 1fr);
}

.rp-usp__grid {
    grid-template-columns: repeat(3, 1fr);
}

.rp-usp-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--rp-forest);
    color: var(--rp-gold);
}

.rp-usp-icon svg {
    width: 22px;
    height: 22px;
}

.rp-card.rp-card--accent {
    border-color: var(--rp-forest);
    background: var(--rp-forest);
}

.rp-card.rp-card--accent h3 {
    color: var(--rp-white) !important;
}

.rp-card.rp-card--accent p {
    color: rgba(255, 255, 255, 0.82);
}

.rp-card--accent .rp-usp-icon {
    background: var(--rp-gold);
    color: var(--rp-forest);
}

@media (max-width: 1023px) {
    .rp-usp__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.rp-step,
.rp-card,
.rp-project,
.rp-magnet,
.rp-faq details {
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    background: var(--rp-white);
}

.rp-step,
.rp-card,
.rp-magnet {
    padding: 24px;
}

.rp-step span {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--rp-gold);
    font-weight: 800;
}

.rp-step p,
.rp-card p,
.rp-market p,
.rp-project p,
.rp-magnet span,
.rp-faq p {
    margin: 0;
    font-size: 16px;
}

.rp-compare {
    width: 100%;
    padding-right: max(16px, calc((100% - var(--rp-max)) / 2));
    padding-left: max(16px, calc((100% - var(--rp-max)) / 2));
    background: var(--rp-forest);
}

.rp-compare h2,
.rp-compare .rp-section-head p,
.rp-compare .rp-kicker {
    color: var(--rp-white);
}

.rp-compare__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.rp-market {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--rp-radius);
    background: rgba(255, 255, 255, 0.08);
}

.rp-market img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.rp-market div {
    padding: 24px;
}

.rp-market h3,
.rp-market li,
.rp-market p {
    color: rgba(255, 255, 255, 0.86);
}

.rp-market h3 {
    color: var(--rp-white);
}

.rp-market ul {
    padding-left: 18px;
    margin: 16px 0 0;
}

.rp-market li {
    font-size: 15px;
}

.rp-inline-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding: 22px 24px;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    background: var(--rp-paper-2);
}

.rp-inline-cta p {
    margin: 0;
    color: var(--rp-forest);
    font-weight: 600;
}

.rp-compare .rp-inline-cta {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
}

.rp-compare .rp-inline-cta p {
    color: rgba(255, 255, 255, 0.9);
}

.rp-projects__grid {
    grid-template-columns: repeat(3, 1fr);
}

.rp-project {
    overflow: hidden;
}

.rp-project img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.rp-project__body {
    padding: 22px;
}

.rp-link-btn,
.rp-magnet {
    color: var(--rp-forest);
    cursor: pointer;
}

.rp-link-btn {
    display: inline-flex;
    padding: 0;
    margin-top: 18px;
    border: 0;
    color: var(--rp-forest);
    font-weight: 800;
    background: transparent;
}

.rp-link-btn:hover {
    color: var(--rp-clay);
}

.rp-magnets {
    width: 100%;
    padding-left: max(16px, calc((100% - var(--rp-max)) / 2));
    padding-right: max(16px, calc((100% - var(--rp-max)) / 2));
    background: var(--rp-sea);
}

.rp-magnets__grid {
    grid-template-columns: repeat(3, 1fr);
}

.rp-magnet {
    text-align: left;
}

.rp-magnet strong {
    display: block;
    margin-bottom: 10px;
    font-size: 22px;
}

.rp-magnet span {
    display: block;
    color: var(--rp-muted);
}

.rp-faq__list {
    display: grid;
    gap: 12px;
}

.rp-faq details {
    padding: 20px 22px;
}

.rp-faq summary {
    color: var(--rp-forest);
    font-weight: 800;
    cursor: pointer;
}

.rp-faq p {
    margin-top: 14px;
}

.rp-final-cta {
    padding: 86px 16px 112px;
    color: var(--rp-white);
    background:
        linear-gradient(90deg, rgba(23, 33, 29, 0.94), rgba(33, 55, 47, 0.78)),
        url("/thailand-invest-nedvizhimost/assets/img/thai-islands-angthong.webp") center / cover no-repeat;
}

.rp-final-cta__inner {
    width: min(var(--rp-max), 100%);
    margin: 0 auto;
}

.rp-final-cta h2 {
    max-width: 740px;
    color: var(--rp-white);
}

.rp-final-cta p:not(.rp-kicker) {
    max-width: 640px;
}

.rp-menu-toggle {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    padding: 10px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
}

.rp-menu-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--rp-white);
    transition: width 0.2s ease;
}

.rp-menu-toggle span:nth-child(1) { width: 22px; }
.rp-menu-toggle span:nth-child(2) { width: 14px; }
.rp-menu-toggle span:nth-child(3) { width: 18px; }

.rp-topbar.is-menu-open .rp-menu-toggle span { width: 22px; }

@media (min-width: 1280px) {
    h1 {
        font-size: 68px;
    }
}

@media (max-width: 1023px) {
    .rp-topbar__links {
        display: none;
    }

    .rp-hero,
    .rp-quiz-section {
        grid-template-columns: 1fr;
    }

    .rp-hero {
        gap: 32px;
        min-height: auto;
        padding-top: 118px;
        padding-bottom: 96px;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 34px;
    }

    .rp-trust-bar,
    .rp-process__grid,
    .rp-projects__grid,
    .rp-magnets__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rp-trust-bar__item:nth-child(2) {
        border-right: 0;
    }

    .rp-trust-bar__item:nth-child(1),
    .rp-trust-bar__item:nth-child(2) {
        border-bottom: 1px solid var(--rp-line);
    }
}

@media (max-width: 767px) {
    .rp-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .rp-topbar {
        width: calc(100% - 24px);
        padding: 16px 0;
    }

    .rp-brand__text {
        display: none;
    }

    .rp-hero {
        width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 30px;
    }

    .rp-hero__lead {
        font-size: 18px;
    }

    .rp-hero__actions,
    .rp-success__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .rp-btn {
        width: 100%;
    }

    .rp-trust-bar,
    .rp-process__grid,
    .rp-compare__grid,
    .rp-projects__grid,
    .rp-magnets__grid,
    .rp-form-grid {
        grid-template-columns: 1fr;
    }

    .rp-trust-bar__item {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--rp-line);
    }

    .rp-trust-bar__item:last-child {
        border-bottom: 0;
    }

    .rp-quiz {
        padding: 20px;
    }

    .rp-quiz-modal.is-open {
        padding: 12px;
        align-items: flex-start;
        display: block;
    }

    .rp-quiz-modal.is-open .rp-quiz-modal__dialog {
        grid-template-columns: 1fr;
        gap: 18px;
        width: 100%;
        max-height: calc(100vh - 24px);
        margin: 0;
        padding: 18px;
        border-radius: 24px;
    }

    .rp-quiz-modal.is-open .rp-quiz-modal__close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }

    .rp-quiz-modal.is-open .rp-section-head {
        padding-right: 36px;
    }

    .rp-quiz-modal.is-open .rp-section-head h2 {
        max-width: 320px;
        font-size: 25px;
    }

    .rp-quiz-section .rp-consultant,
    .rp-quiz-modal.is-open .rp-consultant {
        display: none;
    }

    .rp-quiz-modal.is-open .rp-consultant__photo {
        width: 44px;
        height: 44px;
    }

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

    .rp-quiz-modal.is-open .rp-consultant__msg {
        font-size: 13px;
        line-height: 1.4;
    }

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

    .rp-quiz__nav {
        flex-direction: column-reverse;
    }

    .rp-market img,
    .rp-project img {
        height: 210px;
    }

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

@media (max-width: 430px) {
    h1 {
        font-size: 35px;
    }

    h2 {
        font-size: 27px;
    }

    p,
    li {
        font-size: 16px;
    }
}

/* ============================================================
   v2 additions
   ============================================================ */

/* Гибрид: прячем глобальный хедер/футер шаблона на лендинге.
   Антифрод-бар и куки-нотис оставляем (легально). */
.rp-lp-mode .header,
.rp-lp-mode .section_bottom,
.rp-lp-mode .btn-up {
    display: none !important;
}

/* Hero proof */
.rp-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 22px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.rp-hero__proof li {
    max-width: none;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
}

.rp-hero__proof strong {
    color: var(--rp-white);
}

/* Trust accent */
.rp-trust-bar__item--accent {
    background: var(--rp-forest);
}

.rp-trust-bar__item--accent strong,
.rp-trust-bar__item--accent span {
    color: var(--rp-white);
}

/* Равноправный дуэт Анна + Сергей */
.rp-founders-duo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 22px;
    max-width: 860px;
    margin-bottom: 30px;
}

.rp-founders-duo .rp-founder-digital__photo {
    height: clamp(320px, 29vw, 370px);
}

.rp-founders-duo .rp-founder-digital__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rp-founders-duo .rp-founder-digital__photo:first-child img {
    object-position: center 39%;
}

.rp-founders-duo .rp-founder-card:nth-child(2) .rp-founder-digital__photo img {
    object-position: center 20%;
}

.rp-founder-card {
    display: grid;
    grid-template-rows: auto 46px;
    gap: 12px;
}

.rp-founder-card__actions {
    display: flex;
    height: 46px;
}

.rp-founders-info h3 {
    margin: 0 0 12px;
    color: var(--rp-forest);
    font-family: var(--rp-display);
    font-size: 26px;
    font-weight: 500;
}

.rp-founders-info > p {
    max-width: 860px;
}

@media (max-width: 767px) {
    .rp-founders-duo {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .rp-founders-duo .rp-founder-digital__photo {
        height: 330px;
    }

    .rp-founder-digital__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Лид-модал */
.rp-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
}

.rp-modal.is-open {
    display: block;
}

.rp-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 21, 0.62);
    backdrop-filter: blur(4px);
}

.rp-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(460px, calc(100% - 32px));
    max-height: 85vh;
    margin: 9vh auto 0;
    padding: 28px;
    overflow: auto;
    border-radius: var(--rp-radius);
    background: var(--rp-white);
    box-shadow: var(--rp-shadow);
    animation: rp-modal-in 0.25s ease;
}

.rp-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--rp-paper-2);
    color: var(--rp-forest);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.rp-modal__title {
    margin: 0 0 6px;
    padding-right: 40px;
    color: var(--rp-forest);
    font-family: var(--rp-display);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.rp-modal__sub {
    margin: 0 0 18px;
    color: var(--rp-muted);
    font-size: 14px;
}

.rp-modal__form {
    display: grid;
    gap: 14px;
}

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

@keyframes rp-modal-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rp-modal__dialog {
        animation: none;
    }
}

/* Мелкое implied-согласие (паттерн основного сайта) */
.rp-consent-note {
    margin: 14px 0 0;
    color: var(--rp-muted);
    font-size: 12px;
    line-height: 1.45;
}

.rp-consent-note a {
    color: var(--rp-muted);
    text-decoration: underline;
}

.rp-consent-note--glass {
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, 0.6);
}

.rp-consent-note--glass a {
    color: rgba(255, 255, 255, 0.75);
}

/* Консультант Анна — чат-виджет у квиза */
.rp-consultant {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 430px;
    margin-top: 28px;
}

.rp-consultant__photo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border: 2px solid var(--rp-gold);
    border-radius: 50%;
    object-fit: cover;
}

.rp-consultant__body {
    padding: 14px 18px;
    border: 1px solid var(--rp-line);
    border-radius: 4px 16px 16px 16px;
    background: var(--rp-white);
    box-shadow: 0 10px 30px rgba(23, 33, 29, 0.08);
}

.rp-consultant__name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    color: var(--rp-forest);
    font-size: 13px;
    font-weight: 700;
}

.rp-consultant__online {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #3a8f5d;
    font-size: 12px;
    font-weight: 600;
}

.rp-consultant__online::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3a8f5d;
    content: "";
}

.rp-consultant__msg {
    margin: 0;
    color: var(--rp-ink);
    font-size: 15px;
    line-height: 1.5;
}

.rp-consultant__msg.is-typing {
    animation: rp-msg-in 0.35s ease;
}

@keyframes rp-msg-in {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rp-consultant__msg.is-typing {
        animation: none;
    }
}

/* Quiz extras */
.rp-quiz__match {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: var(--rp-radius);
    background: #f2ead8;
    color: var(--rp-forest);
    font-size: 15px;
}

.rp-quiz__messenger-alt {
    margin: 14px 0 0;
    font-size: 14px;
    color: var(--rp-muted);
}

.rp-quiz__messenger-alt a {
    color: var(--rp-forest);
    font-weight: 700;
}

.rp-consent a {
    color: var(--rp-forest);
    font-weight: 700;
}

/* Buttons */
.rp-btn--sm {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
}

/* Objects showcase */
.rp-objects__filters {
    position: relative;
    display: inline-flex;
    gap: 4px;
    margin-bottom: 24px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--rp-radius-pill);
    background: rgba(255, 255, 255, 0.08);
}

.rp-filter-slider {
    position: absolute;
    z-index: 0;
    top: 4px;
    left: 4px;
    width: 0;
    height: calc(100% - 8px);
    border-radius: var(--rp-radius-pill);
    background: var(--rp-gold);
    transition: left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rp-chip {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 20px;
    border: 0;
    border-radius: var(--rp-radius-pill);
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.25s ease;
}

.rp-chip.is-active {
    color: var(--rp-forest);
}

.rp-objects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.rp-object {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    background: var(--rp-white);
}

.rp-object__media {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--rp-paper-2);
}

.rp-object__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rp-object__media--placeholder {
    background: linear-gradient(135deg, var(--rp-forest-2), var(--rp-forest));
}

.rp-object:hover .rp-object__media img {
    transform: scale(1.06);
}

.rp-object__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
}

.rp-object__tag {
    margin: 0;
    color: var(--rp-gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.rp-object h3 {
    margin: 0;
    font-size: 20px;
}

.rp-object__hook {
    margin: 0;
    font-size: 14px;
    color: var(--rp-muted);
}

.rp-object__price {
    margin: 6px 0 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rp-object__thb {
    font-size: 20px;
    font-weight: 800;
    color: var(--rp-forest);
}

.rp-object__rub {
    font-size: 14px;
    color: var(--rp-muted);
}

.rp-object__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
}

.rp-object__launch-link {
    color: var(--rp-clay);
    font-size: 13px;
    font-weight: 800;
    text-decoration-color: rgba(158, 72, 50, 0.35);
    text-underline-offset: 4px;
}

.rp-object__launch-link:hover {
    color: var(--rp-forest);
}

/* Developers */
.rp-developers__list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0;
    margin: 0 0 16px;
    list-style: none;
}

.rp-developers__list li {
    max-width: none;
    padding: 12px 20px;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    background: var(--rp-white);
    color: var(--rp-forest);
    font-size: 16px;
    font-weight: 700;
}

.rp-developers__note {
    margin: 0;
    font-size: 15px;
}

/* Services */
.rp-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

/* Process 4 columns + note */
.rp-process__grid {
    grid-template-columns: repeat(4, 1fr);
}

.rp-note {
    margin-top: 18px;
    padding: 22px;
    border-left: 3px solid var(--rp-gold);
    border-radius: 0 8px 8px 0;
    background: var(--rp-sea);
}

.rp-note h3 {
    margin: 0 0 8px;
    color: var(--rp-forest);
    font-size: 18px;
}

.rp-note p {
    margin: 0;
    font-size: 15px;
}

/* Ownership */
.rp-ownership__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* Payment calculator (рассрочка 0% + донат) */
.rp-calc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
    padding: 28px;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    background: var(--rp-white);
    box-shadow: var(--rp-shadow);
}

.rp-calc__controls {
    display: grid;
    gap: 18px;
}

.rp-calc__field {
    display: grid;
    gap: 8px;
}

.rp-calc__field label {
    color: var(--rp-muted);
    font-size: 14px;
    font-weight: 600;
}

.rp-calc__field input[type="number"],
.rp-calc__field select {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    background: #fbfaf6;
    color: var(--rp-forest);
    font-weight: 600;
}

.rp-calc__field input[type="range"] {
    width: 100%;
    accent-color: var(--rp-gold);
}

.rp-calc__down {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.rp-calc__down input[type="number"] {
    width: 96px;
}

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

.rp-calc__down-amount {
    font-size: 13px;
    color: var(--rp-muted);
}

.rp-calc__viz {
    display: grid;
    justify-items: center;
    gap: 16px;
}

.rp-calc__donut {
    position: relative;
    display: grid;
    place-items: center;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: conic-gradient(var(--rp-forest-2) 0 30%, var(--rp-gold) 30% 100%);
}

.rp-calc__donut::after {
    position: absolute;
    width: 62%;
    height: 62%;
    border-radius: 50%;
    background: var(--rp-white);
    content: "";
}

.rp-calc__center {
    position: relative;
    z-index: 1;
    text-align: center;
}

.rp-calc__center strong {
    display: block;
    color: var(--rp-forest);
    font-size: 26px;
}

.rp-calc__center span {
    font-size: 13px;
    color: var(--rp-muted);
}

.rp-calc__legend {
    display: grid;
    gap: 8px;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.rp-calc__legend li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--rp-muted);
}

.rp-calc__legend strong {
    margin-left: auto;
    color: var(--rp-forest);
}

.rp-calc__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.rp-calc__dot--down {
    background: var(--rp-forest-2);
}

.rp-calc__dot--rest {
    background: var(--rp-gold);
}

.rp-calc__dot--keys {
    background: var(--rp-clay);
}

.rp-calc__cta {
    width: 100%;
}

.rp-calc__cta .rp-btn {
    width: 100%;
}

.rp-payment__disclaimer {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--rp-muted);
}

/* Reviews */
.rp-review-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 22px;
}

.rp-review-platform {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    padding: 12px 16px;
    border: 1px solid rgba(23, 33, 29, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--rp-forest);
    text-decoration: none;
    box-shadow: var(--rp-shadow-sm);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.rp-review-platform:hover {
    transform: translateY(-3px);
    border-color: var(--rp-gold);
    box-shadow: 0 16px 34px rgba(23, 33, 29, 0.12);
}

.rp-review-platform__body {
    display: grid;
    gap: 2px;
}

.rp-review-platform__rating {
    font-family: var(--rp-display);
    color: var(--rp-ink);
    font-size: 28px;
    line-height: 1;
}

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

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

.rp-review {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    background: var(--rp-white);
    box-shadow: 0 14px 42px rgba(23, 33, 29, 0.05);
}

.rp-review__top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.rp-review__avatar {
    position: relative;
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(23, 33, 29, 0.08);
    border-radius: 50%;
    background: linear-gradient(135deg, #f4efe5 0%, #ffffff 100%);
    color: var(--rp-forest);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.rp-platform-icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

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

.rp-platform-icon--google {
    padding: 5px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(23, 33, 29, 0.16);
}

.rp-platform-icon--google svg {
    display: block;
    width: 100%;
    height: 100%;
}

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

.rp-review__avatar .rp-platform-icon--google {
    padding: 3px;
}

.rp-review__text {
    flex: 1;
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.62;
    color: var(--rp-ink);
}

.rp-review__author {
    margin: 0 0 3px;
    color: var(--rp-forest);
    font-size: 17px;
    font-weight: 800;
}

.rp-review__source {
    margin: 3px 0 0;
    color: var(--rp-muted);
    font-size: 13px;
}

.rp-review__stars {
    display: inline-block;
    color: #ffcc00;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 1px;
}

.rp-review__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(23, 33, 29, 0.1);
    color: var(--rp-gold);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.rp-review__link::after {
    content: "→";
    font-size: 16px;
}

.rp-review__link:hover {
    color: var(--rp-forest);
}

/* Success shortlist */
.rp-success__shortlist {
    margin: 14px 0;
}

.rp-success__shortlist-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
}

.rp-success__item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--rp-forest);
    font-size: 14px;
    text-decoration: none;
}

.rp-success__item-meta {
    color: var(--rp-muted);
}

/* Bridge to main site */
.rp-bridge {
    width: min(var(--rp-max), calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 72px;
}

.rp-bridge p {
    margin: 0 0 12px;
    color: var(--rp-forest);
    font-weight: 700;
}

.rp-bridge ul {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.rp-bridge a {
    color: var(--rp-forest);
    font-weight: 600;
}

/* Founders */
.rp-founders__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.rp-founder {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    background: var(--rp-white);
}

.rp-founder__photo {
    width: 104px;
    height: 104px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--rp-gold);
}

.rp-founder__body h3 {
    margin: 0 0 4px;
    color: var(--rp-forest);
    font-size: 20px;
}

.rp-founder__role {
    margin: 0 0 8px;
    color: var(--rp-gold);
    font-size: 13px;
    font-weight: 700;
}

.rp-founder__body p {
    font-size: 15px;
}

.rp-founder__link {
    display: inline-block;
    margin-top: 8px;
    color: var(--rp-forest);
    font-size: 14px;
    font-weight: 700;
}

/* Card depth + hover elevation */
.rp-card,
.rp-object,
.rp-review,
.rp-magnet,
.rp-step,
.rp-founder {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.rp-card:hover,
.rp-object:hover,
.rp-review:hover,
.rp-magnet:hover,
.rp-founder:hover {
    transform: translateY(-6px);
    border-color: var(--rp-gold);
    box-shadow: 0 20px 40px rgba(23, 33, 29, 0.15);
}

/* Scroll reveal (disabled — content must always be visible) */
.rp-reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .rp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .rp-object__media img,
    .rp-card,
    .rp-object,
    .rp-review,
    .rp-magnet,
    .rp-founder,
    .rp-filter-slider,
    .rp-quiz__option {
        transition: none;
    }
}

@media (max-width: 1023px) {
    .rp-objects__grid,
    .rp-process__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .rp-objects__grid,
    .rp-reviews__grid,
    .rp-ownership__grid,
    .rp-founders__grid,
    .rp-journey__summary,
    .rp-calc {
        grid-template-columns: 1fr;
    }

    .rp-journey__summary li {
        border-right: 0;
        border-bottom: 1px solid var(--rp-line);
    }

    .rp-journey__summary li:last-child {
        border-bottom: 0;
    }

    .rp-objects__filters {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        width: calc(100% + 32px);
        max-width: none;
        margin: 14px -16px 22px;
        padding: 0 16px 6px;
        overflow-x: auto;
        border: 0;
        border-radius: 0;
        background: transparent;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .rp-objects__filters::-webkit-scrollbar {
        display: none;
    }

    .rp-objects__filters .rp-filter-slider {
        display: none;
    }

    .rp-chip {
        flex: 0 0 auto;
        justify-content: center;
        min-height: 38px;
        padding: 8px 12px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        background: rgba(255, 255, 255, 0.08);
        font-size: 12px;
        white-space: nowrap;
    }

    .rp-chip.is-active {
        background: var(--rp-gold);
        border-color: var(--rp-gold);
    }

    .rp-review-platforms {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

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

    .rp-review {
        padding: 20px;
    }

    .rp-founder {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   v3 — selection-tool pass
   ============================================================ */

/* Hero cockpit */
.rp-cockpit {
    padding: 20px;
}

.rp-cockpit__head {
    margin-bottom: 14px;
}

.rp-cockpit__stats {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.rp-cockpit__num {
    font-family: var(--rp-display);
    font-size: 20px;
    color: var(--rp-white);
}

.rp-cockpit__objects {
    display: grid;
    gap: 10px;
}

.rp-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.rp-mini__img {
    width: 58px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.15);
    background-size: cover;
    background-position: center;
}

.rp-mini__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rp-mini__name {
    color: var(--rp-white);
    font-size: 14px;
    font-weight: 600;
}

.rp-mini__price {
    color: var(--rp-gold);
    font-family: var(--rp-display);
    font-size: 14px;
}

.rp-cockpit__link {
    display: inline-flex;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 700;
    text-decoration-color: rgba(199, 167, 106, 0.75);
    text-underline-offset: 5px;
}

/* Object badges */
.rp-object__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 20px);
}

.rp-object__badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(23, 33, 29, 0.82);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.rp-object__badge--launch {
    background: linear-gradient(135deg, #c74d37, #e0ad63);
    box-shadow: 0 8px 22px rgba(199, 77, 55, 0.28);
    color: #fff;
}

.rp-object__badge--life {
    background: rgba(223, 238, 237, 0.94);
    color: var(--rp-forest);
}

.rp-object__badge--ownership {
    background: rgba(255, 255, 255, 0.9);
    color: var(--rp-forest);
}

/* Dark objects band */
.rp-objects--dark {
    width: 100%;
    padding-left: max(16px, calc((100% - var(--rp-max)) / 2));
    padding-right: max(16px, calc((100% - var(--rp-max)) / 2));
    border-top: 0;
    background: var(--rp-forest);
}

.rp-objects--dark .rp-section-head h2 {
    color: var(--rp-white);
}

.rp-objects--dark .rp-section-head > p {
    color: rgba(255, 255, 255, 0.82);
}

.rp-objects--dark .rp-chip.is-active {
    color: var(--rp-forest);
}

/* Quiz persistent result */
.rp-quiz__result {
    margin: 14px 0 22px;
    padding: 14px 18px;
    border-radius: var(--rp-radius);
    background: var(--rp-forest);
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    line-height: 1.5;
}

.rp-quiz__result strong {
    color: var(--rp-gold);
    font-family: var(--rp-display);
    font-weight: 500;
}

/* Consent error */
.rp-consent__error {
    margin: 8px 0 0;
    color: #c0392b;
    font-size: 13px;
    font-weight: 600;
}

.rp-consent.is-error span {
    color: #c0392b;
}

.rp-consent.is-error input {
    outline: 2px solid #c0392b;
    outline-offset: 2px;
}

/* Journey collapse */
.rp-journey__list .rp-journey__step--more {
    display: none;
}

.rp-journey__list.is-expanded .rp-journey__step--more {
    display: grid;
}

.rp-journey__toggle-wrap {
    margin-top: 18px;
    padding-left: 74px;
}

/* Lead magnet action */
.rp-magnet__cta {
    display: block;
    margin-top: 12px;
    color: var(--rp-gold);
    font-size: 14px;
    font-weight: 700;
}

/* Accessible keyboard focus (premium, on-brand) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
.rp-quiz__option:focus-visible,
.rp-chip:focus-visible,
.rp-magnet:focus-visible {
    outline: 2px solid var(--rp-gold);
    outline-offset: 2px;
}

/* Final glass form — consent/status на тёмном */
.rp-consent--glass {
    grid-column: 1 / -1;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.8);
}

.rp-consent--glass a {
    color: var(--rp-gold);
    font-weight: 700;
}

.rp-final-cta .rp-consent__error {
    grid-column: 1 / -1;
    color: #ffb3a0;
}

.rp-final-cta .rp-form-status {
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, 0.85);
}

.rp-final-cta .rp-success {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.12);
}

.rp-final-cta .rp-success h3,
.rp-final-cta .rp-success p {
    color: var(--rp-white);
}

/* Final CTA stat */
.rp-final-cta__stat {
    display: inline-block;
    margin: 18px 0 26px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.rp-final-cta__stat span,
.rp-final-cta__stat strong {
    color: var(--rp-gold);
    font-family: var(--rp-display);
    font-weight: 500;
}

/* Logo marquee — застройщики и бренды (тёмная лента: логотипы белые) */
.rp-logos {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
    border-radius: var(--rp-radius);
    background: var(--rp-forest);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.rp-logos__track {
    display: flex;
    width: max-content;
    animation: rp-marquee 70s linear infinite;
}

.rp-logos:hover .rp-logos__track {
    animation-play-state: paused;
}

.rp-logos__group {
    display: flex;
    align-items: center;
    gap: 56px;
    padding-right: 56px;
}

.rp-logos__group img {
    display: block;
    width: auto;
    height: 44px;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(1);
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.rp-logos__group img:hover {
    opacity: 1;
    filter: none;
}

@keyframes rp-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .rp-logos__track {
        width: auto;
        flex-wrap: wrap;
        animation: none;
    }

    .rp-logos__group[aria-hidden="true"] {
        display: none;
    }
}

@media (max-width: 767px) {
    .rp-logos__group {
        gap: 36px;
        padding-right: 36px;
    }

    .rp-logos__group img {
        height: 34px;
        max-width: 120px;
    }
}

/* Video reviews (низ страницы, спокойный) */
.rp-videos {
    width: min(var(--rp-max), calc(100% - 32px));
    margin: 0 auto;
    padding: 88px 0 16px;
    border-top: 1px solid var(--rp-line);
}

.rp-videos__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.rp-video {
    display: block;
    color: var(--rp-forest);
    text-decoration: none;
}

.rp-video__thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: var(--rp-radius);
    background-color: var(--rp-paper-2);
    background-size: cover;
    background-position: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rp-video:hover .rp-video__thumb {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(23, 33, 29, 0.14);
}

.rp-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(23, 33, 29, 0.75);
    color: var(--rp-gold);
    transform: translate(-50%, -50%);
}

.rp-video__play svg {
    width: 20px;
    height: 20px;
}

.rp-video__title {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.rp-videos__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 1023px) {
    .rp-videos__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Immersive atmosphere band */
.rp-atmos {
    position: relative;
    width: 100%;
    padding-top: 120px;
    padding-bottom: 120px;
    padding-left: max(16px, calc((100% - var(--rp-max)) / 2));
    padding-right: max(16px, calc((100% - var(--rp-max)) / 2));
    color: var(--rp-white);
    background:
        linear-gradient(90deg, rgba(16, 24, 21, 0.86), rgba(16, 24, 21, 0.45) 60%, rgba(16, 24, 21, 0.72)),
        url("/thailand-invest-nedvizhimost/assets/img/pattaya-koh-larn-boat.webp") center / cover no-repeat;
    background-color: var(--rp-forest);
}

.rp-atmos__inner {
    max-width: 640px;
}

.rp-atmos h2 {
    color: var(--rp-white);
}

.rp-atmos p {
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
}

.rp-atmos--phuket {
    background:
        linear-gradient(90deg, rgba(16, 24, 21, 0.84), rgba(16, 24, 21, 0.42) 60%, rgba(16, 24, 21, 0.7)),
        url("/thailand-invest-nedvizhimost/assets/img/phuket-three-beaches.webp") center / cover no-repeat;
    background-color: var(--rp-forest);
}

/* Ownership block — с фото */
.rp-ownership__layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 24px;
    align-items: stretch;
}

.rp-ownership__media {
    overflow: hidden;
    border-radius: var(--rp-radius);
    min-height: 260px;
}

.rp-ownership__media img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

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

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

@media (max-width: 767px) {
    .rp-atmos {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .rp-atmos p {
        font-size: 17px;
    }
}

/* ============================================================
   Modern display layer — Onest (display) + Manrope (body)
   ============================================================ */

.rp-quiz h3,
.rp-card h3,
.rp-step h3,
.rp-market h3,
.rp-project h3,
.rp-object h3,
.rp-founder__body h3,
.rp-note h3,
.rp-ownership .rp-card h3,
.rp-success h3 {
    font-family: var(--rp-display);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.rp-hero-panel h2,
.rp-magnet strong,
.rp-calc__center strong {
    font-family: var(--rp-display);
    font-weight: 500;
}

/* Section rhythm — more air, refined heads (longhand: не сбиваем боковые отступы full-width секций) */
.rp-section {
    padding-top: 104px;
    padding-bottom: 104px;
}

.rp-section-head {
    max-width: 820px;
    margin-bottom: 44px;
}

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

.rp-section-head > p {
    font-size: 19px;
    line-height: 1.6;
}

/* Hero — cinematic, larger editorial headline */
.rp-hero__lead {
    font-size: 22px;
    line-height: 1.5;
}

.rp-hero::before {
    background:
        linear-gradient(95deg, rgba(12, 19, 16, 0.9), rgba(12, 19, 16, 0.5) 55%, rgba(12, 19, 16, 0.78)),
        url("/thailand-invest-nedvizhimost/assets/img/phuket-laem-sing-beach.webp") center / cover no-repeat;
    background-color: var(--rp-forest);
}

.rp-hero-panel {
    border-radius: 10px;
}

/* Buttons — premium weight & spacing */
.rp-btn {
    min-height: 54px;
    padding: 0 28px;
    font-family: var(--rp-body);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.rp-btn--primary:hover {
    background: #d3b878;
}

.rp-btn--sm {
    min-height: 42px;
    padding: 0 18px;
}

/* Trust bar — serif numerals */
.rp-trust-bar {
    border: 0;
    border-radius: 10px;
}

.rp-trust-bar strong {
    font-family: var(--rp-display);
    font-weight: 500;
    font-size: 36px;
    line-height: 1;
}

.rp-trust-bar__item {
    padding: 28px 24px;
}

/* Objects — serif price, taller media */
.rp-object__thb {
    font-family: var(--rp-display);
    font-weight: 500;
    font-size: 24px;
}

.rp-object__media {
    height: 200px;
}

/* Founders — refined */
.rp-founder__photo {
    width: 112px;
    height: 112px;
}

/* Reviews — platform proof cards */
.rp-review {
    position: relative;
}

/* FAQ — refined open/close */
.rp-faq summary {
    font-family: var(--rp-body);
    font-weight: 700;
    font-size: 17px;
    list-style: none;
    position: relative;
    padding-right: 32px;
}

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

.rp-faq summary::after {
    position: absolute;
    top: 0;
    right: 4px;
    font-size: 22px;
    font-weight: 400;
    color: var(--rp-gold);
    content: "+";
    transition: transform 0.2s ease;
}

.rp-faq details[open] summary::after {
    content: "\2212";
}

/* Calculator center — serif figure */
.rp-calc__center strong {
    font-size: 28px;
}

/* Final CTA — editorial scale */
.rp-final-cta {
    padding-top: 104px;
    padding-bottom: 124px;
}

/* Journey infographic */
.rp-journey__summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0 0 36px;
    padding: 0;
    list-style: none;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    overflow: hidden;
    background: var(--rp-white);
}

.rp-journey__summary li {
    max-width: none;
    padding: 18px 22px;
    border-right: 1px solid var(--rp-line);
    color: var(--rp-muted);
    font-size: 15px;
}

.rp-journey__summary li:last-child {
    border-right: 0;
}

.rp-journey__summary strong {
    display: block;
    margin-bottom: 2px;
    font-family: var(--rp-display);
    font-weight: 500;
    font-size: 30px;
    color: var(--rp-forest);
}

.rp-journey__list {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rp-journey__list::before {
    position: absolute;
    top: 26px;
    bottom: 26px;
    left: 25px;
    width: 2px;
    background: var(--rp-line);
    content: "";
}

.rp-journey__step {
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 22px;
    padding-bottom: 18px;
}

.rp-journey__step:last-child {
    padding-bottom: 0;
}

.rp-journey__node {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--rp-forest);
    color: var(--rp-gold);
}

.rp-journey__node svg {
    width: 24px;
    height: 24px;
}

.rp-journey__card {
    padding: 18px 22px;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius);
    background: var(--rp-white);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.rp-journey__card:hover {
    transform: translateY(-3px);
    border-color: var(--rp-gold);
    box-shadow: 0 18px 44px rgba(23, 33, 29, 0.1);
}

.rp-journey__label {
    margin: 0 0 4px;
    color: var(--rp-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rp-journey__card h3 {
    margin: 0 0 8px;
    font-family: var(--rp-display);
    font-weight: 500;
    font-size: 22px;
    color: var(--rp-forest);
}

.rp-journey__risk {
    position: relative;
    margin: 0 0 6px;
    padding-left: 20px;
    color: var(--rp-clay);
    font-size: 15px;
}

.rp-journey__risk::before {
    position: absolute;
    left: 0;
    font-weight: 700;
    content: "!";
}

.rp-journey__solve {
    position: relative;
    margin: 0;
    padding-left: 20px;
    font-size: 15px;
}

.rp-journey__solve::before {
    position: absolute;
    left: 0;
    color: var(--rp-gold);
    font-weight: 700;
    content: "\2192";
}

.rp-journey .rp-note {
    margin-top: 28px;
}

/* Section hairline separators between light sections */
.rp-objects,
.rp-journey,
.rp-ownership,
.rp-market-view,
.rp-usp,
.rp-services,
.rp-payment,
.rp-founders,
.rp-reviews,
.rp-faq,
.rp-videos {
    border-top: 1px solid var(--rp-line);
}

@media (min-width: 1280px) {
    h1 {
        font-size: 64px;
    }
}

@media (max-width: 767px) {
    .rp-section {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .rp-section-head {
        margin-bottom: 26px;
    }

    .rp-trust-bar strong {
        font-size: 30px;
    }

    .rp-section-head > p {
        font-size: 17px;
    }

    .rp-hero__lead {
        font-size: 19px;
    }
}

/* ==========================================================================
   МОРДЕРН UX/UI ДОПОЛНЕНИЯ (СТИЛИ В СТИЛЕ MERU ESTATE)
   ========================================================================== */

/* Капсульный дизайн для кнопок */
.rp-btn--capsule {
    border-radius: var(--rp-radius-pill) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rp-btn--capsule::after {
    content: " →";
    display: inline-block;
    transition: transform 0.25s ease;
}

.rp-btn--capsule:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(199, 167, 106, 0.3);
}

.rp-btn--capsule:hover::after {
    transform: translateX(4px);
}

/* Эффект увеличения картинок при наведении на карточки */
.rp-zoom-effect {
    overflow: hidden;
    border-radius: var(--rp-radius);
}

.rp-zoom-effect img {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rp-zoom-effect:hover img {
    transform: scale(1.05);
}

/* Стеклянные панели (Glassmorphism) */
.rp-glass-panel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 24px 70px rgba(23, 33, 29, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-radius: var(--rp-radius);
    padding: 32px;
}

.rp-glass-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--rp-white) !important;
    border-radius: var(--rp-radius-pill) !important;
    padding: 0 20px !important;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.rp-glass-input:focus {
    border-color: var(--rp-gold-bright) !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

/* Горизонтальная стеклянная форма подбора */
.rp-horizontal-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr) auto;
    gap: 14px 18px;
    align-items: end;
    width: 100%;
}

.rp-horizontal-form .rp-field {
    display: grid;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.rp-horizontal-form .rp-field span {
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.2;
}

.rp-horizontal-form .rp-glass-input {
    width: 100%;
    min-height: 58px;
}

.rp-horizontal-form .rp-btn {
    min-height: 58px;
    padding: 0 28px;
    white-space: nowrap;
}

.rp-horizontal-form .rp-consent-note--glass,
.rp-horizontal-form .rp-form-status,
.rp-horizontal-form .rp-success {
    grid-column: 1 / -1;
}

.rp-horizontal-form .rp-consent-note--glass {
    width: 100%;
    max-width: none;
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .rp-horizontal-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-horizontal-form .rp-btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .rp-glass-panel {
        padding: 20px;
    }

    .rp-horizontal-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rp-horizontal-form .rp-glass-input,
    .rp-horizontal-form .rp-btn {
        min-height: 56px;
    }

    .rp-horizontal-form .rp-consent-note--glass {
        font-size: 12px;
    }
}

/* Карточки с пальмовыми листьями (Скриншот 1) */
.rp-palm-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    background-color: var(--rp-forest);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--rp-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rp-palm-card .rp-btn {
    margin-top: auto;
}

.rp-palm-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(199, 167, 106, 0.22), transparent 60%);
    pointer-events: none;
}

.rp-palm-card--teal {
    background-color: #2c4f4a;
}

.rp-palm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

/* Бейджи-капсулы (Скриншот 5) */
.rp-badge-capsule {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--rp-radius-pill);
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid var(--rp-line);
    background: transparent;
}

.rp-badge-capsule--light {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--rp-white);
}

.rp-badge-capsule--gold {
    border-color: var(--rp-gold-bright);
    color: var(--rp-gold-bright);
}

/* Карточки с большими номерами (Скриншот 3) */
.rp-fact-card {
    background: var(--rp-white);
    border-radius: var(--rp-radius);
    padding: 30px;
    box-shadow: var(--rp-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rp-fact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rp-shadow);
}

.rp-fact-card__num {
    font-size: 16px;
    color: var(--rp-muted);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.rp-fact-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--rp-forest);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rp-fact-card__metric {
    display: block;
    margin-bottom: 8px;
    color: var(--rp-gold);
    font-family: var(--rp-display);
    font-size: clamp(36px, 6vw, 54px);
    line-height: 0.95;
    font-weight: 700;
}

/* Оцифрованный блок руководителя (Скриншот 2) */
.rp-founder-digital {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
    gap: 48px;
    align-items: center;
}

.rp-founder-digital__photo {
    border-radius: 30px !important;
    overflow: hidden;
    position: relative;
}

.rp-founder-digital__badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(23, 33, 29, 0.85);
    backdrop-filter: blur(8px);
    padding: 12px 20px;
    border-radius: 12px;
    color: var(--rp-white);
}

.rp-founder-digital__badge h4 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
}

.rp-founder-digital__badge p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.rp-founder-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(199, 167, 106, 0.34);
    border-radius: var(--rp-radius-pill);
    color: var(--rp-forest);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 12px 30px rgba(23, 33, 29, 0.08);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.rp-founder-cta::after {
    content: "\2192";
    font-size: 14px;
    transform: translateY(-1px);
}

.rp-founder-cta:hover {
    border-color: rgba(199, 167, 106, 0.55);
    background: rgba(255, 255, 255, 0.86);
    color: var(--rp-forest);
}

.rp-founder-digital__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.rp-founder-digital__item {
    border-left: 2px solid var(--rp-line);
    padding-left: 16px;
}

.rp-founder-digital__val {
    font-size: 26px;
    font-weight: 800;
    color: var(--rp-gold-bright);
    display: block;
    margin-bottom: 4px;
}

.rp-founder-digital__desc {
    font-size: 13px;
    color: var(--rp-muted);
    line-height: 1.3;
}

/* ==========================================================================
   Journey: карточки риск/решение (светлая тема)
   ========================================================================== */
.rp-jstep__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rp-line);
}

.rp-jstep__num {
    padding: 3px 12px;
    border-radius: 8px;
    background: rgba(199, 167, 106, 0.16);
    color: var(--rp-forest);
    font-family: var(--rp-display);
    font-weight: 500;
    font-size: 20px;
}

.rp-jstep__head h3 {
    margin: 0;
    font-family: var(--rp-display);
    font-weight: 500;
    font-size: 21px;
    color: var(--rp-forest);
}

.rp-jstep__badge {
    margin-left: auto;
    padding: 5px 14px;
    border: 1px solid rgba(44, 79, 74, 0.3);
    border-radius: var(--rp-radius-pill);
    background: transparent;
    color: #2c4f4a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.rp-jstep__compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.rp-jstep__col {
    padding: 16px 18px;
    border-radius: 12px;
}

.rp-jstep__col p {
    margin: 0;
    color: #2c3530;
    font-size: 15px;
    line-height: 1.6;
}

.rp-jstep__col--risk {
    border-left: 3px solid var(--rp-clay);
    background: rgba(185, 133, 100, 0.09);
}

.rp-jstep__col--solve {
    border-left: 3px solid #2c4f4a;
    background: rgba(223, 238, 237, 0.55);
}

.rp-jstep__col-title {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rp-jstep__col--risk .rp-jstep__col-title {
    color: #96603f;
}

.rp-jstep__col--solve .rp-jstep__col-title {
    color: #2c4f4a;
}

.rp-transparency-banner {
    margin-top: 30px;
    padding: 22px 26px;
    border: 1px dashed var(--rp-gold);
    border-radius: var(--rp-radius);
    background: rgba(199, 167, 106, 0.08);
    text-align: center;
}

.rp-transparency-banner p {
    margin: 0;
    color: var(--rp-ink);
    font-size: 15px;
    line-height: 1.6;
}

.rp-transparency-banner strong {
    color: var(--rp-forest);
}

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

    .rp-jstep__head {
        flex-wrap: wrap;
        gap: 10px;
    }

    .rp-jstep__badge {
        margin-left: 0;
    }
}

/* ==========================================================================
   Калькулятор: пресеты проектов + объёмные поля
   ========================================================================== */
.rp-calc__presets {
    grid-column: 1 / -1;
    width: 100%;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--rp-line);
}

.rp-calc__presets-title {
    display: block;
    margin-bottom: 12px;
    color: var(--rp-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rp-presets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.rp-preset-btn {
    display: flex;
    flex-direction: column;
    padding: 12px 18px;
    border: 1px solid var(--rp-line);
    border-radius: 12px;
    background: var(--rp-paper);
    color: var(--rp-forest);
    font-family: var(--rp-body);
    text-align: left;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.rp-preset-btn:hover {
    transform: translateY(-1px);
    border-color: var(--rp-gold);
    background: var(--rp-white);
}

.rp-preset-btn.is-active {
    border-color: var(--rp-gold-bright);
    background: var(--rp-white);
    box-shadow: var(--rp-shadow-sm), 0 0 0 1px var(--rp-gold-bright);
}

.rp-preset-name {
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 700;
}

.rp-preset-price {
    color: var(--rp-clay);
    font-size: 13px;
    font-weight: 600;
}

.rp-calc__field input[type="text"],
.rp-calc__field input[type="number"],
.rp-calc__field select {
    border: 1px solid var(--rp-line);
    border-radius: 12px;
    background: var(--rp-white);
    box-shadow: inset 0 1px 3px rgba(23, 33, 29, 0.06);
    color: var(--rp-forest);
    font-size: 16px;
    font-weight: 600;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.rp-calc__field input[type="text"] {
    min-height: 50px;
    padding: 0 14px;
}

.rp-calc__field input[type="text"]:focus,
.rp-calc__field input[type="number"]:focus,
.rp-calc__field select:focus {
    outline: none;
    border-color: var(--rp-gold-bright);
    box-shadow: 0 0 0 3px rgba(211, 184, 120, 0.18);
}

.rp-calc__field input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    margin-top: 6px;
    border-radius: var(--rp-radius-pill);
    background: var(--rp-paper-2);
    outline: none;
}

.rp-calc__field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 3px solid var(--rp-gold-bright);
    border-radius: 50%;
    background: var(--rp-white);
    box-shadow: 0 2px 4px rgba(23, 33, 29, 0.18);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.rp-calc__field input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.rp-calc__field input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 3px solid var(--rp-gold-bright);
    border-radius: 50%;
    background: var(--rp-white);
    box-shadow: 0 2px 4px rgba(23, 33, 29, 0.18);
    cursor: pointer;
}

@media (max-width: 767px) {
    .rp-presets-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ==========================================================================
   Фоновые контурные иллюстрации секций
   ========================================================================== */
.rp-ownership,
.rp-market-view,
.rp-services,
.rp-founders,
.rp-reviews,
.rp-faq,
.rp-compare,
.rp-usp,
.rp-payment,
.rp-final-cta {
    position: relative;
}

.rp-bgline {
    position: absolute;
    z-index: 0;
    color: var(--rp-gold);
    opacity: 0.45;
    pointer-events: none;
}

.rp-ownership > :not(.rp-bgline),
.rp-market-view > :not(.rp-bgline),
.rp-compare > :not(.rp-bgline),
.rp-usp > :not(.rp-bgline),
.rp-services > :not(.rp-bgline),
.rp-payment > :not(.rp-bgline),
.rp-founders > :not(.rp-bgline),
.rp-reviews > :not(.rp-bgline),
.rp-faq > :not(.rp-bgline),
.rp-final-cta > :not(.rp-bgline) {
    position: relative;
    z-index: 1;
}

.rp-bgline--building {
    top: 84px;
    right: 16px;
    width: 330px;
}

.rp-bgline--nature {
    top: 96px;
    right: 12px;
    width: 370px;
}

.rp-bgline--service {
    top: 76px;
    right: 56px;
    width: 230px;
}

.rp-bgline--frond {
    top: 150px;
    right: 0;
    width: 190px;
}

.rp-bgline--quotes {
    top: 88px;
    right: 48px;
    width: 210px;
}

.rp-bgline--question {
    top: 230px;
    left: 40px;
    width: 180px;
}

.rp-bgline--scales {
    top: 80px;
    right: max(56px, calc((100% - var(--rp-max)) / 2 + 40px));
    width: 250px;
    color: var(--rp-white);
    opacity: 0.16;
    z-index: 0;
}

.rp-bgline--compass {
    top: 70px;
    right: 70px;
    width: 230px;
}

.rp-bgline--coins {
    top: 88px;
    right: 60px;
    width: 250px;
}

.rp-bgline--boat {
    top: 64px;
    right: max(30px, calc((100% - var(--rp-max)) / 2 + 20px));
    width: 320px;
    color: var(--rp-white);
    opacity: 0.2;
    z-index: 0;
}

.rp-faq__list {
    max-width: 860px;
    margin-left: auto;
}

@media (max-width: 1180px) {
    .rp-bgline {
        display: none;
    }

    .rp-faq__list {
        max-width: none;
    }
}

/* ==========================================================================
   Мобильное меню-аккордеон + разгрузка первого экрана
   ========================================================================== */
@media (max-width: 1023px) {
    .rp-menu-toggle {
        display: flex;
    }

    .rp-topbar {
        flex-wrap: wrap;
    }

    .rp-topbar.is-menu-open .rp-topbar__links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 14px;
        gap: 0;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 16px;
        background: rgba(23, 33, 29, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        overflow: hidden;
    }

    .rp-topbar.is-menu-open .rp-topbar__link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 15px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
        font-size: 15px;
    }

    .rp-topbar.is-menu-open .rp-topbar__link:last-child {
        border-bottom: 0;
    }

    .rp-topbar.is-menu-open .rp-topbar__link::after {
        content: "\2192";
        color: var(--rp-gold);
        font-size: 16px;
    }

    .rp-topbar.is-menu-open .rp-topbar__link[target="_blank"]::after {
        content: "\2197";
    }
}

.rp-ownership__grid--two {
    grid-template-columns: repeat(2, 1fr);
}

.rp-scarcity-row {
    display: grid;
    grid-template-columns: 140px 1fr 1fr;
    gap: 30px;
    align-items: center;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--rp-radius);
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 767px) {
    .rp-cockpit {
        display: none;
    }

    .rp-hero {
        padding-bottom: 64px;
    }

    .rp-hero__actions {
        display: flex;
        align-items: flex-start;
        flex-direction: row;
        gap: 10px;
    }

    .rp-hero__actions .rp-btn--primary {
        width: auto;
        min-height: 50px;
        padding: 0 24px;
    }

    .rp-hero__messengers {
        margin-top: 12px;
        text-align: center;
    }

    .rp-journey__summary,
    .rp-ownership__grid--two {
        grid-template-columns: 1fr;
    }

    .rp-scarcity-row {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px;
    }

    .rp-quiz-section {
        gap: 22px;
    }

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

    .rp-consultant {
        margin-top: 18px;
    }

    .rp-founder-digital__grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px 16px;
    }
}

@media (max-width: 430px) {
    .rp-founder-digital__grid {
        grid-template-columns: 1fr;
    }
}

/* Команда за основателями */
.rp-team {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
    max-width: 860px;
    margin-top: 30px;
    margin-bottom: 32px;
    padding-top: 26px;
    border-top: 1px solid var(--rp-line);
}

.rp-team img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8.7;
    object-fit: cover;
    object-position: center 38%;
    border-radius: var(--rp-radius);
    box-shadow: var(--rp-shadow-sm);
}

.rp-team__caption h3 {
    margin: 0 0 12px;
    font-family: var(--rp-display);
    font-weight: 500;
    font-size: 26px;
    color: var(--rp-forest);
}

.rp-team__caption p {
    margin: 0;
    color: var(--rp-muted);
    font-size: 16px;
    line-height: 1.6;
}

.rp-team__caption {
    max-width: 860px;
}

@media (max-width: 767px) {
    .rp-team {
        margin-top: 24px;
        margin-bottom: 26px;
        padding-top: 22px;
    }

    .rp-team img {
        width: 100%;
        aspect-ratio: 16 / 9.5;
        object-position: center 36%;
        border-radius: 18px;
    }
}

/* ==========================================================================
   Подвал лендинга
   ========================================================================== */
.rp-footer {
    width: 100%;
    margin-top: 0;
    padding: 64px max(16px, calc((100% - var(--rp-max)) / 2)) 36px;
    background: var(--rp-forest);
    color: rgba(255, 255, 255, 0.78);
}

.rp-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rp-footer__col p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.55;
}

.rp-footer__brand img {
    display: block;
    margin-bottom: 14px;
}

.rp-footer__brand p {
    max-width: 300px;
}

.rp-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.rp-footer__social a {
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--rp-radius-pill);
    color: var(--rp-white);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.rp-footer__social a:hover {
    border-color: var(--rp-gold);
    color: var(--rp-gold);
}

.rp-footer__label {
    color: var(--rp-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rp-footer__phone {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--rp-white);
    font-family: var(--rp-display);
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
}

.rp-footer__phone:hover {
    color: var(--rp-gold);
}

.rp-footer__mail,
.rp-footer__site {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rp-footer__mail:hover,
.rp-footer__site:hover {
    color: var(--rp-gold);
}

.rp-footer__bottom {
    padding-top: 24px;
}

.rp-footer__bottom p {
    margin: 0 0 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.rp-footer__bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rp-footer__bottom a:hover {
    color: var(--rp-gold);
}

.rp-footer__disclaimer {
    max-width: 860px;
}

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

@media (max-width: 600px) {
    .rp-footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .rp-footer {
        padding-top: 44px;
    }
}


.rp-footer__max {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rp-footer__max:hover {
    color: var(--rp-gold);
}

/* Навигация: акцентная капсула + плавный скролл с отступом */
html {
    scroll-behavior: smooth;
}

.rp-section[id],
#footer-contacts {
    scroll-margin-top: 24px;
}

.rp-topbar__link--accent {
    padding: 9px 18px;
    border: 1px solid rgba(211, 184, 120, 0.65);
    border-radius: var(--rp-radius-pill);
    color: var(--rp-gold-bright);
    font-weight: 700;
}

.rp-topbar__link--accent:hover {
    border-color: var(--rp-gold-bright);
    background: rgba(211, 184, 120, 0.12);
}

@media (max-width: 1180px) and (min-width: 1024px) {
    .rp-topbar__links {
        gap: 12px;
    }

    .rp-topbar__link {
        font-size: 13px;
    }
}

@media (max-width: 1023px) {
    .rp-topbar.is-menu-open .rp-topbar__link--accent {
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 0;
        background: rgba(211, 184, 120, 0.1);
        color: var(--rp-gold-bright);
    }
}

/* Production hotfix: first screen must be photo-led, not an empty editorial canvas. */
.rp-hero {
    color: var(--rp-white);
    background:
        linear-gradient(90deg, rgba(12, 19, 16, 0.72), rgba(12, 19, 16, 0.42) 54%, rgba(12, 19, 16, 0.68)),
        url("/thailand-invest-nedvizhimost/assets/img/phuket-laem-sing-beach.webp") center / cover no-repeat;
}

.rp-hero::before {
    background:
        radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.18), transparent 34%),
        linear-gradient(90deg, rgba(12, 19, 16, 0.74), rgba(12, 19, 16, 0.28) 56%, rgba(12, 19, 16, 0.62));
}

.rp-hero h1,
.rp-hero .rp-hero__lead,
.rp-hero .rp-cockpit__stats,
.rp-hero .rp-mini__name {
    color: var(--rp-white);
}

.rp-hero .rp-kicker,
.rp-hero .rp-panel-label,
.rp-hero .rp-mini__price {
    color: var(--rp-gold-bright);
}

.rp-cockpit {
    background: rgba(12, 19, 16, 0.42);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.rp-mini {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
}

.rp-topbar {
    color: var(--rp-white);
}

@media (max-width: 767px) {
    .rp-hero {
        background-position: center top;
    }
}

/* Mobile topbar spacing hotfix. */
@media (max-width: 767px) {
    .rp-topbar {
        left: 20px;
        right: 20px;
        width: auto;
        margin: 0;
        padding-top: 22px;
        padding-bottom: 0;
        align-items: flex-start;
    }

    .rp-brand__logo {
        height: 38px;
    }

    .rp-menu-toggle {
        width: 44px;
        height: 44px;
    }

    .rp-hero {
        padding-top: 142px;
    }
}

@media (max-width: 430px) {
    .rp-topbar {
        left: 16px;
        right: 16px;
        width: auto;
        padding-top: 20px;
    }

    .rp-brand__logo {
        height: 36px;
    }

    .rp-menu-toggle {
        width: 42px;
        height: 42px;
    }

    .rp-hero {
        padding-top: 136px;
    }
}

/* Production hotfix: readable team name badges over portraits. */
.rp-founder-digital__badge {
    background: rgba(14, 25, 21, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
    color: var(--rp-white);
}

.rp-founder-digital__badge h4 {
    color: var(--rp-white);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.26);
}

.rp-founder-digital__badge p {
    color: rgba(255, 255, 255, 0.84);
}

/* Floating scroll-to-top button, aligned below the Bitrix messenger widget. */
.rp-scroll-top {
    position: fixed;
    right: 20px;
    bottom: 26px;
    z-index: 110;
    display: grid;
    width: 52px;
    height: 52px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(23, 33, 29, 0.92);
    color: var(--rp-white);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.96);
    transition: opacity 0.22s ease, transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.rp-scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.rp-scroll-top:hover,
.rp-scroll-top:focus-visible {
    border-color: rgba(211, 184, 120, 0.62);
    background: rgba(23, 33, 29, 0.98);
}

.rp-scroll-top:focus-visible {
    outline: 3px solid rgba(211, 184, 120, 0.42);
    outline-offset: 4px;
}

.rp-scroll-top svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html.rp-modal-open .rp-scroll-top {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.96);
}

@media (max-width: 767px) {
    .rp-scroll-top {
        right: 18px;
        bottom: 22px;
        width: 48px;
        height: 48px;
    }

    .rp-scroll-top svg {
        width: 22px;
        height: 22px;
    }
}

/* ==========================================================================
   V5 local visual rhythm layer
   ========================================================================== */
.rp-prebook-check__rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 22px;
    overflow: hidden;
    border: 1px solid rgba(199, 167, 106, 0.28);
    border-radius: var(--rp-radius);
    background:
        linear-gradient(135deg, rgba(23, 33, 29, 0.98), rgba(42, 70, 62, 0.96)),
        var(--rp-forest);
    box-shadow: 0 26px 70px rgba(23, 33, 29, 0.14);
}

.rp-prebook-check__rail div {
    position: relative;
    min-height: 116px;
    padding: 22px 22px 20px;
}

.rp-prebook-check__rail div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.rp-prebook-check__rail div + div::before {
    position: absolute;
    top: 50%;
    left: -13px;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid rgba(199, 167, 106, 0.45);
    border-radius: 50%;
    background: var(--rp-forest);
    color: var(--rp-gold-bright);
    font-size: 12px;
    transform: translateY(-50%);
    content: "->";
}

.rp-prebook-check__rail span {
    display: block;
    margin-bottom: 20px;
    color: var(--rp-gold-bright);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rp-prebook-check__rail strong {
    display: block;
    color: var(--rp-white);
    font-family: var(--rp-display);
    font-size: clamp(22px, 2.1vw, 31px);
    font-weight: 500;
    line-height: 1.06;
}

.rp-check-card {
    min-height: 126px;
}

.rp-objects__more {
    display: flex;
    justify-content: center;
    margin: 28px 0 0;
}

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

.rp-objects__more .rp-btn {
    min-width: 220px;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: var(--rp-white);
}

.rp-objects__more .rp-btn:hover,
.rp-objects__more .rp-btn:focus-visible {
    border-color: rgba(211, 184, 120, 0.72);
    background: rgba(211, 184, 120, 0.16);
}

.rp-compare__chooser {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 22px;
}

.rp-compare__chooser article {
    position: relative;
    min-height: 190px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--rp-radius);
    background: rgba(255, 255, 255, 0.08);
}

.rp-compare__chooser article::after {
    position: absolute;
    right: -38px;
    bottom: -54px;
    width: 154px;
    height: 154px;
    border-radius: 50%;
    background: rgba(211, 184, 120, 0.12);
    content: "";
}

.rp-compare__chooser span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border: 1px solid rgba(211, 184, 120, 0.48);
    border-radius: 50%;
    color: var(--rp-gold-bright);
    font-family: var(--rp-display);
    font-size: 19px;
}

.rp-compare__chooser h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    color: var(--rp-white);
    font-family: var(--rp-display);
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 500;
    line-height: 1;
}

.rp-compare__chooser p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.55;
}

.rp-journey__summary-free {
    background: #fff8e8;
}

.rp-journey__summary-free strong {
    color: var(--rp-gold);
}

.rp-journey__route {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin: -12px 0 30px;
    overflow: hidden;
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius-pill);
    background: var(--rp-white);
    box-shadow: 0 18px 46px rgba(23, 33, 29, 0.06);
}

.rp-journey__route span {
    position: relative;
    display: grid;
    min-height: 54px;
    place-items: center;
    padding: 0 12px;
    color: var(--rp-forest);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

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

.rp-journey__route span + span::before {
    position: absolute;
    left: -9px;
    color: var(--rp-gold);
    content: ">";
}

.rp-fact-card {
    position: relative;
    overflow: hidden;
}

.rp-fact-card::after {
    position: absolute;
    right: -42px;
    bottom: -48px;
    width: 136px;
    height: 136px;
    border-radius: 50%;
    background: rgba(199, 167, 106, 0.09);
    content: "";
}

@media (max-width: 1023px) {
    .rp-prebook-check__rail,
    .rp-compare__chooser {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-prebook-check__rail div:nth-child(3) {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .rp-prebook-check__rail div:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .rp-journey__route {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-radius: var(--rp-radius);
    }
}

@media (max-width: 767px) {
    .rp-prebook-check__rail,
    .rp-compare__chooser {
        grid-template-columns: 1fr;
    }

    .rp-prebook-check__rail div {
        min-height: 0;
        padding: 18px 20px;
    }

    .rp-prebook-check__rail div + div,
    .rp-prebook-check__rail div:nth-child(3),
    .rp-prebook-check__rail div:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        border-left: 0;
    }

    .rp-prebook-check__rail div + div::before {
        top: -13px;
        left: 20px;
        transform: rotate(90deg);
    }

    .rp-prebook-check__rail span {
        margin-bottom: 10px;
    }

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

    .rp-journey__route {
        grid-template-columns: 1fr 1fr;
        margin-top: -8px;
    }

    .rp-journey__route span {
        min-height: 48px;
        font-size: 12px;
    }
}

/* ==========================================================================
   V5.1 local hero shortlist test
   ========================================================================== */
.rp-hero__content h1 {
    max-width: 760px;
}

.rp-hero-filter {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 660px;
    margin: 0 0 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--rp-radius);
    background: rgba(12, 19, 16, 0.38);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
}

.rp-hero-filter div {
    position: relative;
    min-height: 112px;
    padding: 18px 18px 16px;
}

.rp-hero-filter div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.rp-hero-filter div + div::before {
    position: absolute;
    top: 26px;
    left: -9px;
    color: var(--rp-gold-bright);
    font-size: 14px;
    content: ">";
}

.rp-hero-filter strong {
    display: block;
    margin-bottom: 8px;
    color: var(--rp-gold-bright);
    font-family: var(--rp-display);
    font-size: clamp(34px, 4.2vw, 54px);
    font-weight: 500;
    line-height: 0.95;
}

.rp-hero-filter span {
    display: block;
    max-width: 130px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.rp-shortlist-preview {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 26px;
}

.rp-shortlist-preview .rp-cockpit__head {
    margin-bottom: 0;
}

.rp-shortlist-preview h2 {
    margin: 0 0 10px;
    color: var(--rp-white);
    font-size: clamp(28px, 2.8vw, 38px);
}

.rp-shortlist-preview__rows {
    display: grid;
    gap: 10px;
}

.rp-shortlist-preview__rows div {
    position: relative;
    padding: 18px 18px 18px 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.rp-shortlist-preview__rows div::after {
    position: absolute;
    right: -28px;
    bottom: -38px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(211, 184, 120, 0.1);
    content: "";
}

.rp-shortlist-preview__rows span {
    display: inline-flex;
    margin-bottom: 9px;
    color: var(--rp-gold-bright);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rp-shortlist-preview__rows strong {
    position: relative;
    z-index: 1;
    display: block;
    color: var(--rp-white);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.rp-shortlist-preview .rp-cockpit__link {
    margin-top: 0;
}

@media (min-width: 1280px) {
    .rp-hero__content h1 {
        font-size: 58px;
    }
}

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

    .rp-shortlist-preview {
        max-width: 720px;
    }
}

@media (max-width: 767px) {
    .rp-hero__content h1 {
        font-size: clamp(39px, 11vw, 50px);
    }

    .rp-hero__lead {
        max-width: none;
        font-size: 18px;
    }

    .rp-hero-filter {
        grid-template-columns: 1fr;
        margin-bottom: 22px;
    }

    .rp-hero-filter div {
        display: grid;
        grid-template-columns: 76px 1fr;
        min-height: 0;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
    }

    .rp-hero-filter div + div {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        border-left: 0;
    }

    .rp-hero-filter div + div::before {
        top: -10px;
        left: 26px;
        transform: rotate(90deg);
    }

    .rp-hero-filter strong,
    .rp-hero-filter span {
        margin: 0;
    }

    .rp-hero-filter span {
        max-width: none;
    }

    .rp-shortlist-preview {
        display: none;
    }
}

/* ==========================================================================
   V5.2 local hero value test
   ========================================================================== */
.rp-hero__content h1 {
    max-width: 690px;
}

.rp-hero-value {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 720px;
    gap: 8px;
    margin: 0 0 14px;
}

.rp-hero-value article {
    min-height: 126px;
    padding: 16px 16px 15px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(9, 18, 15, 0.42);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(12px);
}

.rp-hero-value span {
    display: block;
    margin-bottom: 14px;
    color: var(--rp-gold-bright);
    font-family: var(--rp-display);
    font-size: 20px;
    line-height: 1;
}

.rp-hero-value strong {
    display: block;
    margin-bottom: 8px;
    color: var(--rp-white);
    font-size: 15px;
    line-height: 1.2;
}

.rp-hero-value p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.35;
}

.rp-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 760px;
    padding: 0;
    margin: 0 0 24px;
    list-style: none;
}

.rp-hero-trust li {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(211, 184, 120, 0.28);
    border-radius: var(--rp-radius-pill);
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.rp-hero-trust strong {
    margin-right: 5px;
    color: var(--rp-gold-bright);
    font-family: var(--rp-display);
    font-size: 18px;
    font-weight: 500;
}

.rp-value-preview {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
}

.rp-value-preview h2 {
    max-width: 360px;
    margin: 0 0 12px;
    color: var(--rp-white);
    font-size: clamp(28px, 2.7vw, 38px);
}

.rp-value-preview__rows {
    display: grid;
    gap: 10px;
}

.rp-value-preview__rows article {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.rp-value-preview__rows span {
    color: var(--rp-gold-bright);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rp-value-preview__rows strong {
    color: var(--rp-white);
    font-size: 16px;
    line-height: 1.35;
}

.rp-value-preview__note {
    margin: -2px 0 0;
    padding: 14px 16px;
    border-left: 2px solid var(--rp-gold);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.45;
    background: rgba(255, 255, 255, 0.06);
}

@media (min-width: 1280px) {
    .rp-hero__content h1 {
        font-size: 56px;
    }
}

@media (max-width: 1023px) {
    .rp-hero-value {
        max-width: 720px;
    }

    .rp-value-preview {
        max-width: 720px;
    }
}

@media (max-width: 767px) {
    .rp-hero__content h1 {
        font-size: clamp(37px, 10vw, 45px);
    }

    .rp-hero__lead {
        font-size: 17px;
    }

    .rp-hero-value {
        grid-template-columns: 1fr;
        gap: 7px;
        margin-bottom: 12px;
    }

    .rp-hero-value article {
        display: grid;
        grid-template-columns: 42px 1fr;
        min-height: 0;
        column-gap: 12px;
        padding: 12px 14px;
    }

    .rp-hero-value span {
        grid-row: span 2;
        margin: 1px 0 0;
        font-size: 18px;
    }

    .rp-hero-value strong {
        margin-bottom: 4px;
        font-size: 14px;
    }

    .rp-hero-value p {
        font-size: 12px;
    }

    .rp-hero-trust {
        gap: 6px;
        margin-bottom: 18px;
    }

    .rp-hero-trust li {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 12px;
    }

    .rp-hero-trust strong {
        font-size: 15px;
    }

    .rp-value-preview {
        display: none;
    }
}

/* ==========================================================================
   V5.4 local simple hero
   ========================================================================== */
.rp-hero--simple {
    min-height: min(760px, 82svh);
    grid-template-columns: minmax(0, 760px);
    align-content: center;
    gap: 0;
    padding-top: 110px;
    padding-bottom: 82px;
}

.rp-hero--simple::before {
    background:
        linear-gradient(90deg, rgba(16, 24, 21, 0.86), rgba(16, 24, 21, 0.5) 56%, rgba(16, 24, 21, 0.38)),
        url("/thailand-invest-nedvizhimost/assets/img/phuket-laem-sing-beach.webp") center / cover no-repeat;
}

.rp-hero--simple .rp-hero__content {
    max-width: 760px;
}

.rp-hero--simple .rp-kicker {
    margin-bottom: 18px;
}

.rp-hero--simple h1 {
    max-width: 740px;
    margin-bottom: 22px;
    font-size: clamp(58px, 6vw, 82px);
}

.rp-hero--simple .rp-hero__lead {
    max-width: 700px;
    margin-bottom: 18px;
    font-size: clamp(20px, 1.8vw, 25px);
}

.rp-hero__proofline {
    max-width: 680px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 15px;
    line-height: 1.5;
}

.rp-hero--simple .rp-hero__actions {
    gap: 10px;
}

.rp-hero__actions .rp-btn--primary {
    isolation: isolate;
    border-color: rgba(255, 255, 255, 0.48);
    background:
        linear-gradient(135deg, rgba(255, 241, 191, 0.98), rgba(212, 174, 98, 0.98) 48%, rgba(247, 225, 163, 0.98)),
        rgba(218, 182, 104, 0.96);
    box-shadow:
        0 18px 42px rgba(12, 25, 20, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.28) inset,
        0 0 28px rgba(222, 184, 99, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.rp-hero__actions .rp-btn--primary::before {
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: inherit;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(255, 232, 169, 0.1), rgba(255, 255, 255, 0.26));
    opacity: 0.72;
    content: "";
    pointer-events: none;
}

.rp-hero__actions .rp-btn--primary::after {
    position: absolute;
    top: -45%;
    bottom: -45%;
    left: -55%;
    width: 42%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
    content: "";
    pointer-events: none;
    animation: rp-cta-sheen 4.8s ease-in-out infinite;
}

.rp-hero__actions .rp-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 22px 50px rgba(12, 25, 20, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.34) inset,
        0 0 34px rgba(238, 201, 122, 0.3);
}

@keyframes rp-cta-sheen {
    0%,
    52% {
        left: -58%;
    }

    78%,
    100% {
        left: 116%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rp-hero__actions .rp-btn--primary::after {
        animation: none;
        display: none;
    }
}

.rp-hero--simple .rp-hero__messengers {
    margin-top: 14px;
    text-align: left;
}

@media (max-width: 1023px) {
    .rp-hero--simple {
        min-height: min(720px, 80svh);
        grid-template-columns: 1fr;
        padding-bottom: 76px;
    }
}

@media (max-width: 767px) {
    .rp-hero--simple {
        min-height: auto;
        padding-top: 126px;
        padding-bottom: 48px;
    }

    .rp-hero--simple h1 {
        max-width: 360px;
        margin-bottom: 18px;
        font-size: clamp(44px, 13vw, 56px);
    }

    .rp-hero--simple .rp-hero__lead {
        max-width: 360px;
        margin-bottom: 14px;
        font-size: 18px;
        line-height: 1.42;
    }

    .rp-hero__proofline {
        max-width: 350px;
        margin-bottom: 22px;
        font-size: 13px;
        line-height: 1.45;
    }

    .rp-hero--simple .rp-hero__actions .rp-btn--primary {
        width: auto;
        min-width: 244px;
    }

    .rp-hero--simple .rp-hero__messengers {
        text-align: left;
    }
}

/* ==========================================================================
   V5.5 local balanced hero
   ========================================================================== */
.rp-hero--balanced {
    min-height: min(820px, 86svh);
    grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.58fr);
    gap: clamp(34px, 5vw, 64px);
    align-content: center;
    padding-top: 112px;
    padding-bottom: 78px;
}

.rp-hero--balanced::before {
    background:
        linear-gradient(90deg, rgba(16, 24, 21, 0.86), rgba(16, 24, 21, 0.54) 56%, rgba(16, 24, 21, 0.5)),
        url("/thailand-invest-nedvizhimost/assets/img/phuket-laem-sing-beach.webp") center / cover no-repeat;
}

.rp-hero--balanced .rp-hero__content {
    max-width: 680px;
}

.rp-hero--balanced h1 {
    max-width: 640px;
    margin-bottom: 22px;
    font-size: clamp(50px, 5.2vw, 68px);
    line-height: 1.08;
}

.rp-hero--balanced .rp-hero__lead {
    max-width: 650px;
    margin-bottom: 28px;
    font-size: clamp(20px, 1.7vw, 24px);
}

.rp-hero-projects {
    align-self: center;
    max-width: 430px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(18, 33, 29, 0.78);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
}

.rp-hero-projects .rp-cockpit__head {
    margin-bottom: 14px;
}

.rp-hero-projects .rp-panel-label {
    margin-bottom: 10px;
}

.rp-hero-projects .rp-cockpit__stats {
    max-width: 320px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    line-height: 1.45;
}

.rp-hero-projects .rp-mini {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.12);
}

.rp-hero-projects .rp-cockpit__link {
    margin-top: 15px;
}

.rp-hero-decision {
    align-self: center;
    width: min(500px, 100%);
    padding: 18px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(18, 33, 29, 0.72), rgba(31, 69, 61, 0.52)),
        rgba(18, 33, 29, 0.62);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
}

.rp-hero-decision .rp-panel-label {
    margin-bottom: 12px;
}

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

.rp-hero-decision__grid article {
    min-height: 126px;
    padding: 14px 14px 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.075);
}

.rp-hero-decision__grid article::before {
    display: block;
    width: 22px;
    height: 1px;
    margin-bottom: 12px;
    background: var(--rp-gold);
    content: "";
}

.rp-hero-decision__grid strong {
    display: block;
    margin-bottom: 7px;
    color: var(--rp-white);
    font-size: 15px;
    line-height: 1.24;
}

.rp-hero-decision__grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.36;
}

.rp-hero-decision__note {
    margin: 13px 0 0;
    padding: 12px 13px;
    border: 1px solid rgba(199, 167, 106, 0.22);
    border-top: 1px solid rgba(199, 167, 106, 0.28);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.45;
    background: rgba(199, 167, 106, 0.08);
}

@media (max-width: 1023px) {
    .rp-hero--balanced {
        min-height: min(760px, 82svh);
        grid-template-columns: 1fr;
    }

    .rp-hero-proofcards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-self: start;
        width: min(610px, 100%);
        margin: 0 0 18px;
    }

    .rp-hero-projects,
    .rp-hero-decision {
        display: none;
    }
}

@media (max-width: 767px) {
    .rp-hero--balanced {
        min-height: auto;
        padding-top: 124px;
        padding-bottom: 54px;
    }

    .rp-hero--balanced h1 {
        max-width: 350px;
        font-size: clamp(40px, 11.2vw, 50px);
        line-height: 1.08;
    }

    .rp-hero--balanced .rp-hero__lead {
        max-width: 358px;
        margin-bottom: 24px;
        font-size: 18px;
        line-height: 1.45;
    }

    .rp-hero-proofcards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: min(328px, 100%);
        margin-bottom: 18px;
    }

    .rp-hero-proofcard {
        min-height: 0;
        padding: 10px 12px;
    }

    .rp-hero-proofcard--plain {
        display: none;
    }

    .rp-hero-proofcard span,
    .rp-hero-proofcard em {
        font-size: 11px;
    }

    .rp-hero-proofcard strong,
    .rp-hero-proofcard--plain strong {
        margin: 0;
        font-size: 18px;
    }

    .rp-hero--balanced .rp-hero__actions .rp-btn--primary {
        min-width: 232px;
        width: auto;
    }

    .rp-hero--balanced .rp-hero__messengers {
        text-align: left;
    }
}

/* ==========================================================================
   V5.14 local: brighter iOS-like hero, same content blocks
   ========================================================================== */
.rp-hero--balanced {
    background:
        radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.38), transparent 31%),
        linear-gradient(95deg, rgba(9, 20, 17, 0.62) 0%, rgba(9, 20, 17, 0.4) 42%, rgba(255, 255, 255, 0.06) 72%, rgba(255, 255, 255, 0.16) 100%),
        url("/thailand-invest-nedvizhimost/assets/img/phuket-laem-sing-beach.webp") center / cover no-repeat;
}

.rp-hero--balanced::before {
    background:
        linear-gradient(180deg, rgba(9, 20, 17, 0.18), rgba(9, 20, 17, 0.08) 42%, rgba(255, 255, 255, 0.1)),
        url("/thailand-invest-nedvizhimost/assets/img/phuket-laem-sing-beach.webp") center / cover no-repeat;
}

.rp-hero--balanced h1,
.rp-hero--balanced .rp-hero__lead,
.rp-hero--balanced .rp-hero__messengers {
    text-shadow: 0 3px 24px rgba(3, 11, 9, 0.34);
}

.rp-topbar__link {
    text-shadow: 0 2px 14px rgba(3, 11, 9, 0.32);
}

.rp-topbar__link--accent {
    border-color: rgba(255, 255, 255, 0.62);
    color: var(--rp-forest);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 14px 38px rgba(16, 35, 30, 0.14);
    backdrop-filter: blur(14px) saturate(1.18);
    -webkit-backdrop-filter: blur(14px) saturate(1.18);
    text-shadow: none;
}

.rp-topbar__link--accent:hover {
    border-color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.82);
    color: var(--rp-forest);
}

.rp-hero--balanced .rp-hero-proofcard {
    border-color: rgba(255, 255, 255, 0.68);
    color: var(--rp-forest);
    background: rgba(255, 255, 255, 0.64);
    box-shadow: 0 22px 60px rgba(16, 35, 30, 0.2);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.rp-hero--balanced .rp-hero-proofcard span,
.rp-hero--balanced .rp-hero-proofcard em {
    color: rgba(24, 38, 34, 0.72);
}

.rp-hero--balanced .rp-hero-proofcard strong {
    color: var(--rp-forest);
}

.rp-hero--balanced .rp-hero-proofcard--plain {
    border-color: rgba(199, 167, 106, 0.46);
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.74), rgba(218, 239, 226, 0.62));
}

.rp-hero--balanced .rp-hero-proofcard--plain strong {
    color: var(--rp-gold);
}

@media (min-width: 1024px) {
    .rp-hero--balanced .rp-hero-proofcards {
        transform: translateY(-10px);
    }

    .rp-topbar__links {
        gap: 4px;
        padding: 6px;
        border: 1px solid rgba(255, 255, 255, 0.62);
        border-radius: var(--rp-radius-pill);
        background: rgba(255, 255, 255, 0.58);
        box-shadow: 0 18px 48px rgba(16, 35, 30, 0.16);
        backdrop-filter: blur(16px) saturate(1.18);
        -webkit-backdrop-filter: blur(16px) saturate(1.18);
    }

    .rp-topbar__link {
        padding: 8px 10px;
        border-radius: var(--rp-radius-pill);
        color: rgba(23, 33, 29, 0.82);
        font-weight: 650;
        opacity: 1;
        text-shadow: none;
    }

    .rp-topbar__link:hover {
        background: rgba(255, 255, 255, 0.62);
        color: var(--rp-forest);
    }

    .rp-topbar__link--accent {
        margin-left: 4px;
        padding: 9px 17px;
        border-color: rgba(23, 33, 29, 0.08);
        color: var(--rp-white);
        background: rgba(23, 33, 29, 0.92);
        box-shadow: 0 14px 34px rgba(16, 35, 30, 0.18);
    }

    .rp-topbar__link--accent:hover {
        border-color: rgba(23, 33, 29, 0.08);
        color: var(--rp-white);
        background: rgba(23, 33, 29, 0.98);
    }
}

@media (max-width: 767px) {
    .rp-hero--balanced {
        background:
            linear-gradient(180deg, rgba(7, 17, 15, 0.48) 0%, rgba(7, 17, 15, 0.34) 48%, rgba(7, 17, 15, 0.16) 100%),
            url("/thailand-invest-nedvizhimost/assets/img/phuket-laem-sing-beach.webp") center top / cover no-repeat;
    }

    .rp-hero--balanced::before {
        background: none;
    }
}

/* ==========================================================================
   V5.19 local: lighter hero value panel
   ========================================================================== */
.rp-hero-usecases {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.rp-hero-usecases span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--rp-radius-pill);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 34px rgba(3, 11, 9, 0.12);
    backdrop-filter: blur(14px) saturate(1.12);
    -webkit-backdrop-filter: blur(14px) saturate(1.12);
}

.rp-hero-usecases svg {
    width: 16px;
    height: 16px;
    color: var(--rp-gold-bright);
    flex: 0 0 auto;
}

.rp-hero--balanced .rp-hero-proofcards--value {
    width: min(360px, 100%);
    gap: 12px;
    margin-top: 0;
}

.rp-hero--balanced .rp-hero-proofcards--value .rp-hero-proofcard {
    min-height: 94px;
    padding: 17px 19px;
    border-color: rgba(255, 255, 255, 0.56);
    border-radius: 20px;
    color: rgba(18, 31, 28, 0.9);
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.76), transparent 44%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(239, 247, 243, 0.34) 52%, rgba(255, 255, 255, 0.26));
    box-shadow:
        0 22px 56px rgba(8, 21, 18, 0.16),
        0 1px 0 rgba(255, 255, 255, 0.52) inset,
        0 -1px 0 rgba(255, 255, 255, 0.18) inset;
    backdrop-filter: blur(26px) saturate(1.32);
    -webkit-backdrop-filter: blur(26px) saturate(1.32);
    text-shadow: none;
}

.rp-hero--balanced .rp-hero-proofcards--value .rp-hero-proofcard span {
    color: rgba(28, 47, 42, 0.68);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rp-hero--balanced .rp-hero-proofcards--value .rp-hero-proofcard strong {
    color: rgba(18, 31, 28, 0.92);
    margin: 6px 0 3px;
    font-size: 22px;
    line-height: 1.08;
}

.rp-hero--balanced .rp-hero-proofcards--value .rp-hero-proofcard em {
    color: rgba(28, 47, 42, 0.7);
    font-size: 13px;
    line-height: 1.3;
}

.rp-hero--balanced .rp-hero-proofcards--value .rp-hero-proofcard--main {
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.82), transparent 46%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(232, 247, 241, 0.38) 58%, rgba(255, 255, 255, 0.28));
}

.rp-hero--balanced .rp-hero-proofcards--value .rp-hero-proofcard--main strong {
    color: rgba(23, 33, 29, 0.88);
    font-family: var(--rp-body);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.35;
}

.rp-hero-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-self: start;
    margin-top: 2px;
}

.rp-hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    min-height: 38px;
    padding: 6px 10px 6px 7px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--rp-radius-pill);
    color: var(--rp-white);
    text-decoration: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1)),
        rgba(9, 21, 18, 0.18);
    box-shadow:
        0 12px 28px rgba(3, 11, 9, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.34) inset;
    backdrop-filter: blur(18px) saturate(1.18);
    -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.rp-hero-rating .rp-platform-icon {
    width: 25px;
    height: 25px;
    font-size: 13px;
}

.rp-hero-rating strong {
    color: var(--rp-white);
    font-family: var(--rp-body);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 14px rgba(3, 11, 9, 0.22);
}

.rp-hero-rating__stars {
    color: var(--rp-gold-bright);
    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 1;
    text-shadow: 0 2px 14px rgba(3, 11, 9, 0.22);
}

@media (max-width: 1023px) {
    .rp-hero--balanced .rp-hero-proofcards--value {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(720px, 100%);
        margin: 0 0 18px;
    }

    .rp-hero--balanced .rp-hero-proofcards--value .rp-hero-proofcard {
        min-height: 82px;
        padding: 13px 14px;
    }

    .rp-hero--balanced .rp-hero-proofcards--value .rp-hero-proofcard strong {
        font-size: 18px;
    }

    .rp-hero--balanced .rp-hero-proofcards--value .rp-hero-proofcard--main strong {
        font-size: 14px;
    }

    .rp-hero-ratings {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .rp-hero-usecases {
        max-width: 360px;
        margin-top: 12px;
    }

    .rp-hero-usecases span {
        min-height: 36px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .rp-hero--balanced .rp-hero-proofcards--value {
        display: none;
    }
}

/* ==========================================================================
   V5.20 local: hero usecases read as labels, not secondary buttons
   ========================================================================== */
.rp-hero-usecases {
    align-items: center;
    gap: 12px;
    margin-top: 13px;
}

.rp-hero-usecases span {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-shadow: 0 2px 14px rgba(3, 11, 9, 0.28);
}

.rp-hero-usecases svg {
    display: grid;
    width: 24px;
    height: 24px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    color: var(--rp-gold-bright);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 26px rgba(3, 11, 9, 0.14);
    backdrop-filter: blur(10px) saturate(1.12);
    -webkit-backdrop-filter: blur(10px) saturate(1.12);
}

@media (max-width: 767px) {
    .rp-hero-usecases {
        gap: 10px 12px;
    }
}
