@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: #65736d;
  --rp-paper: #f7f2e9;
  --rp-paper-2: #ede4d5;
  --rp-gold: #c7a76a;
  --rp-gold-bright: #d7bf82;
  --rp-sea: #dfeeed;
  --rp-teal: #39756f;
  --rp-clay: #b98564;
  --rp-white: #ffffff;
  --rp-line: rgba(23, 33, 29, 0.13);
  --rp-shadow: 0 24px 70px rgba(23, 33, 29, 0.1);
  --rp-radius: 20px;
  --rp-radius-sm: 12px;
  --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%;
  height: auto;
}

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

.rp-landing-shell {
  min-height: 100vh;
  overflow: hidden;
  background: var(--rp-paper);
}

.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 {
  display: flex;
  align-items: center;
  text-decoration: none;
}

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

.rp-topbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--rp-radius-pill);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 54px rgba(16, 35, 30, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.22);
}

.rp-topbar__link {
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  padding: 9px 13px;
  border-radius: var(--rp-radius-pill);
  color: var(--rp-forest);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.86;
  transition: opacity 180ms ease, background 180ms ease, color 180ms ease;
}

.rp-topbar__link:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.5);
}

.rp-topbar__link--accent {
  min-height: 43px;
  padding: 9px 17px;
  border: 1px solid rgba(23, 33, 29, 0.08);
  background: linear-gradient(135deg, rgba(18, 34, 29, 0.96), rgba(33, 55, 47, 0.96));
  color: var(--rp-white);
  box-shadow: 0 16px 38px rgba(16, 35, 30, 0.26), inset 0 0 0 1px rgba(255, 230, 163, 0.12);
  opacity: 1;
  backdrop-filter: blur(14px) saturate(1.18);
}

.rp-topbar__link--accent:hover {
  background: var(--rp-forest);
}

.rp-topbar__right {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rp-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--rp-radius-pill);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 38px rgba(16, 35, 30, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.22);
  cursor: pointer;
}

.rp-burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--rp-forest);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.rp-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rp-burger.is-open span:nth-child(2) { opacity: 0; }
.rp-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.rp-hero {
  position: relative;
  z-index: 0; /* stacking context: иначе media/градиенты с отрицательным z уходят под фон .rp-landing-shell */
  width: 100%;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 5vw, 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,
.rp-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.rp-hero::before {
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(16, 24, 21, 0.88), rgba(16, 24, 21, 0.58) 54%, rgba(16, 24, 21, 0.75));
}

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

.rp-hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.rp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rp-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  color: var(--rp-gold-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rp-hero h1,
.rp-section h2,
.rp-final-cta h2 {
  margin: 0;
  font-family: var(--rp-display);
  font-weight: 500;
  letter-spacing: 0;
}

.rp-hero h1 {
  max-width: 760px;
  color: var(--rp-white);
  font-size: clamp(46px, 6.8vw, 86px);
  line-height: 0.96;
}

.rp-hero__lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.42;
}

.rp-hero__lead strong {
  display: block;
  max-width: 620px;
  color: var(--rp-white);
  font-family: var(--rp-display);
  font-size: clamp(22px, 2.25vw, 30px);
  font-weight: 700;
  line-height: 1.18;
}

.rp-hero__lead span {
  display: block;
  max-width: 650px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.48;
}

.rp-panel__chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.rp-panel__chips li {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(199, 167, 106, 0.42);
  border-radius: 999px;
  background: rgba(255, 246, 216, 0.66);
  color: var(--rp-forest);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.rp-panel__chips li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--rp-gold);
  box-shadow: 0 0 0 3px rgba(199, 167, 106, 0.15);
}

.rp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.rp-hero__microcopy {
  max-width: 520px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.rp-hero__note {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.rp-btn {
  position: relative;
  overflow: hidden;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--rp-radius-pill);
  color: inherit;
  font-family: var(--rp-body);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, filter 180ms ease;
  touch-action: manipulation;
}

.rp-btn > * {
  position: relative;
  z-index: 1;
}

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

.rp-btn:focus-visible,
.rp-quiz__option:focus-visible,
a:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(211, 184, 120, 0.75);
  outline-offset: 3px;
}

.rp-btn--primary {
  border-color: rgba(255, 255, 255, 0.62);
  background: linear-gradient(135deg, #ffe6a3 0%, #f1c96f 42%, #d8a84c 100%);
  color: var(--rp-forest);
  box-shadow: 0 20px 46px rgba(12, 25, 20, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.46), 0 0 34px rgba(241, 201, 111, 0.28);
  backdrop-filter: blur(10px);
}

.rp-btn--primary::before {
  position: absolute;
  content: "";
  inset: -70% auto -70% -55%;
  width: 46%;
  transform: rotate(18deg) translateX(-160%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  opacity: 0.72;
  pointer-events: none;
  animation: rp-cta-sheen 5.6s ease-in-out infinite;
}

.rp-btn--primary:hover {
  filter: saturate(1.06) brightness(1.03);
  box-shadow: 0 24px 54px rgba(12, 25, 20, 0.36), inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 42px rgba(241, 201, 111, 0.38);
}

@keyframes rp-cta-sheen {
  0%, 42% {
    transform: rotate(18deg) translateX(-170%);
  }
  58%, 100% {
    transform: rotate(18deg) translateX(430%);
  }
}

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

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

.rp-hero-panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--rp-radius);
  background: rgba(247, 242, 233, 0.92);
  color: var(--rp-ink);
  box-shadow: var(--rp-shadow);
}

.rp-panel__label {
  margin: 0 0 18px;
  color: var(--rp-clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rp-panel__price {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: var(--rp-radius-sm);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 230, 163, 0.18), transparent 34%),
    linear-gradient(135deg, var(--rp-forest), #0f1d19);
  color: var(--rp-white);
  box-shadow: 0 18px 42px rgba(12, 25, 20, 0.22), inset 0 0 0 1px rgba(255, 230, 163, 0.1);
}

.rp-panel__price span,
.rp-panel__grid span {
  display: block;
  color: var(--rp-muted);
  font-size: 13px;
}

.rp-panel__price span {
  color: rgba(255, 255, 255, 0.68);
}

.rp-panel__price strong {
  display: block;
  margin-top: 6px;
  font-family: var(--rp-display);
  font-size: 28px;
  line-height: 1.05;
}

.rp-panel__price strong::after {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffe6a3, #d8a84c);
}

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

.rp-panel__grid div {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-sm);
  background: var(--rp-white);
}

.rp-panel__grid strong {
  display: block;
  margin-top: 6px;
  font-family: var(--rp-display);
  font-size: 18px;
}

.rp-panel__cta {
  width: 100%;
  margin-top: 16px;
}

.rp-trust-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--rp-max), calc(100% - 32px));
  margin: -58px 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: 118px;
  padding: 22px;
  border-left: 1px solid var(--rp-line);
}

.rp-trust-bar__item:first-child {
  border-left: 0;
}

.rp-trust-bar__item span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--rp-display);
  font-size: 34px;
  line-height: 1;
}

.rp-trust-bar__item p {
  margin: 0;
  color: var(--rp-muted);
}

.rp-trust-bar__item--accent {
  background: var(--rp-sea);
}

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

.rp-section-head h2,
.rp-final-cta h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
}

.rp-section-head p,
.rp-final-cta p,
.rp-location__text p,
.rp-visual-proof__copy p {
  color: var(--rp-muted);
  font-size: 18px;
  line-height: 1.65;
}

.rp-quiz {
  padding: clamp(22px, 4vw, 34px);
  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;
  font-weight: 700;
}

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

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

.rp-quiz__step {
  display: none;
}

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

.rp-quiz__step h3 {
  margin: 0 0 18px;
  font-family: var(--rp-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

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

.rp-quiz__option {
  min-height: 62px;
  padding: 16px 18px;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-sm);
  background: var(--rp-paper);
  color: var(--rp-ink);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.rp-quiz__option.is-selected {
  border-color: var(--rp-gold);
  background: #fff6d8;
  box-shadow: inset 0 0 0 1px var(--rp-gold);
}

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

.rp-field {
  display: grid;
  gap: 7px;
  color: var(--rp-muted);
  font-size: 14px;
  font-weight: 700;
}

.rp-field input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-sm);
  background: var(--rp-white);
  color: var(--rp-ink);
  font-size: 16px;
}

.rp-consent-note {
  margin: 16px 0 0;
  color: var(--rp-muted);
  font-size: 13px;
}

.rp-consent-note a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

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

.rp-form-status.is-error {
  color: #9c3f35;
}

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

.rp-success h3,
.rp-success p {
  margin: 0;
}

.rp-success p {
  margin-top: 8px;
  color: var(--rp-muted);
}

.rp-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.rp-price-section,
.rp-formats,
.rp-payment,
.rp-check-section,
.rp-faq {
  padding-top: 96px;
}

.rp-ownership-grid,
.rp-payment-grid,
.rp-check-grid,
.rp-format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.rp-price-card,
.rp-payment-card,
.rp-format-grid div,
.rp-check-grid div {
  padding: 24px;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  background: var(--rp-white);
  box-shadow: 0 10px 35px rgba(23, 33, 29, 0.04);
}

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

.rp-payment-card:first-child {
  position: relative;
  overflow: hidden;
  border-color: rgba(216, 168, 76, 0.36);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 230, 163, 0.32), transparent 34%),
    var(--rp-white);
  box-shadow: 0 18px 44px rgba(23, 33, 29, 0.08);
}

.rp-payment-card:first-child::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #ffe6a3, #d8a84c);
}

.rp-price-card span,
.rp-payment-card p,
.rp-format-grid span,
.rp-check-grid span {
  display: block;
  margin: 0 0 10px;
  color: var(--rp-clay);
  font-weight: 800;
}

.rp-price-card--accent span {
  color: var(--rp-gold-bright);
}

.rp-price-card strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--rp-display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.02;
}

.rp-price-card p,
.rp-payment-card li,
.rp-format-grid p,
.rp-check-grid p {
  margin: 0;
  color: var(--rp-muted);
}

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

.rp-format-grid span {
  font-family: var(--rp-display);
  color: var(--rp-ink);
  font-size: 30px;
  font-weight: 500;
}

.rp-payment-card strong {
  display: block;
  margin-bottom: 18px;
  font-family: var(--rp-display);
  font-size: 34px;
  font-weight: 500;
}

.rp-payment-card ul,
.rp-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-payment-card li,
.rp-check-list li {
  padding: 10px 0;
  border-top: 1px solid var(--rp-line);
}

.rp-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(57, 117, 111, 0.16);
  border-radius: var(--rp-radius);
  background:
    linear-gradient(135deg, rgba(223, 238, 237, 0.96), rgba(255, 246, 216, 0.72));
  box-shadow: 0 14px 38px rgba(23, 33, 29, 0.06);
}

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

.rp-visual-proof,
.rp-location {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.rp-proof-image,
.rp-location__image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--rp-radius);
  background: var(--rp-paper-2);
  box-shadow: var(--rp-shadow);
}

.rp-proof-image img,
.rp-location__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rp-proof-image figcaption {
  padding: 12px 14px;
  color: var(--rp-muted);
  background: var(--rp-white);
  font-size: 13px;
}

.rp-check-list {
  margin-top: 24px;
}

.rp-check-list li {
  color: var(--rp-forest);
  font-weight: 700;
}

.rp-check-grid span {
  color: var(--rp-gold);
  font-family: var(--rp-display);
  font-size: 28px;
  font-weight: 500;
}

.rp-video__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--rp-radius);
  background: var(--rp-forest);
  box-shadow: var(--rp-shadow);
  aspect-ratio: 16 / 9;
}

.rp-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rp-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 12px;
}

.rp-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--rp-radius-sm);
  background: var(--rp-paper-2);
}

.rp-gallery__item--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.rp-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.rp-gallery__item:hover img {
  transform: scale(1.04);
}

.rp-gallery__item span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(16, 24, 21, 0), rgba(16, 24, 21, 0.72));
  color: var(--rp-white);
  font-size: 13px;
  font-weight: 700;
}

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

.rp-formats__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: stretch;
}

.rp-formats__layout .rp-format-grid {
  grid-template-columns: 1fr;
  align-content: stretch;
}

.rp-sheet-link {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  background: var(--rp-white);
  text-decoration: none;
  box-shadow: 0 10px 35px rgba(23, 33, 29, 0.04);
}

.rp-sheet-link img {
  flex: 1;
  width: 100%;
  object-fit: contain;
  background: var(--rp-white);
}

.rp-sheet-link span,
.rp-plans__item span {
  display: block;
  padding: 12px 14px;
  color: var(--rp-teal);
  font-size: 14px;
  font-weight: 700;
}

.rp-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.rp-plans__item {
  overflow: hidden;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-sm);
  background: var(--rp-white);
  text-decoration: none;
}

.rp-plans__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--rp-white);
}

.rp-quote {
  max-width: 880px;
  margin: 0 0 30px;
  padding: 24px 28px;
  border-left: 4px solid var(--rp-gold);
  border-radius: 0 var(--rp-radius) var(--rp-radius) 0;
  background: var(--rp-white);
  box-shadow: 0 10px 35px rgba(23, 33, 29, 0.04);
}

.rp-quote p {
  margin: 0;
  font-family: var(--rp-display);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.45;
  color: var(--rp-forest);
}

.rp-quote footer {
  margin-top: 14px;
  color: var(--rp-muted);
  font-size: 14px;
  font-weight: 700;
}

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

.rp-benefit-grid article,
.rp-why-grid article {
  padding: 24px;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  background: var(--rp-white);
  box-shadow: 0 10px 35px rgba(23, 33, 29, 0.04);
}

.rp-benefit-grid article:nth-child(-n + 3) {
  position: relative;
  overflow: hidden;
  border-color: rgba(216, 168, 76, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 246, 216, 0.58), rgba(255, 255, 255, 0.94) 44%),
    var(--rp-white);
  box-shadow: 0 18px 44px rgba(23, 33, 29, 0.08);
}

.rp-benefit-grid article:nth-child(-n + 3)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #ffe6a3, #d8a84c);
}

.rp-benefit-grid strong,
.rp-why-grid strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--rp-display);
  color: var(--rp-forest);
  font-size: 18px;
  line-height: 1.25;
}

.rp-benefit-grid p,
.rp-why-grid p {
  margin: 0;
  color: var(--rp-muted);
}

.rp-why-grid {
  margin-bottom: 22px;
}

.rp-audience-list {
  display: grid;
  gap: 0;
  max-width: 840px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-audience-list li {
  position: relative;
  padding: 14px 0 14px 26px;
  border-top: 1px solid var(--rp-line);
  color: var(--rp-forest);
  font-size: 17px;
  font-weight: 700;
}

.rp-audience-list li:first-child {
  border-top: 0;
}

.rp-audience-list li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rp-gold);
}

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

.rp-faq details {
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-sm);
  background: var(--rp-white);
}

.rp-faq summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  font-weight: 800;
  cursor: pointer;
}

.rp-faq p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--rp-muted);
}

.rp-final-cta {
  padding: 96px max(16px, calc((100% - var(--rp-max)) / 2));
  color: var(--rp-white);
  background:
    linear-gradient(90deg, rgba(16, 24, 21, 0.92), rgba(16, 24, 21, 0.7)),
    url("assets/draft/indeed-pool-perspective.jpg") center / cover no-repeat;
}

.rp-final-cta__inner {
  max-width: 920px;
}

.rp-final-cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.rp-final-cta .rp-final-cta__note {
  max-width: 680px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--rp-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
}

.rp-horizontal-form {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--rp-radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.rp-horizontal-form .rp-field input {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.92);
}

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

.rp-consent-note--light {
  color: rgba(255, 255, 255, 0.72);
}

.rp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(16px, calc((100% - var(--rp-max)) / 2));
  color: rgba(255, 255, 255, 0.76);
  background: #101917;
}

.rp-footer p {
  margin: 0;
}

.rp-footer div {
  display: flex;
  gap: 16px;
}

.rp-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* --- О компании: подпись над trust-bar --- */
.rp-trust-bar__head {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--rp-line);
}

.rp-trust-bar__head p {
  margin: 0;
  color: var(--rp-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* --- Слово основателя: фото + цитата --- */
.rp-quote--founder {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: center;
  max-width: 940px;
  padding: 28px 30px;
}

.rp-quote__photo {
  align-self: stretch;
}

.rp-quote__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 340px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--rp-radius-sm);
}

.rp-quote__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rp-quote__body {
  margin: 0;
}

.rp-quote__id {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.rp-quote__id strong {
  color: var(--rp-forest);
  font-size: 18px;
}

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

.rp-quote__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.rp-quiz-cta {
  max-width: 760px;
}

.rp-quiz-cta p {
  margin: 0 0 22px;
  color: var(--rp-muted);
  font-size: 18px;
  line-height: 1.65;
}

.rp-quiz-cta__actions,
.rp-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- О компании: два блока статистики --- */
.rp-about {
  position: relative;
  z-index: 2;
  width: min(var(--rp-max), calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.rp-about__head {
  max-width: 820px;
  margin-bottom: 30px;
}

.rp-about__head h2 {
  margin: 0;
  font-family: var(--rp-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
}

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

.rp-stat-card {
  padding: 30px;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  background: var(--rp-white);
  box-shadow: 0 10px 35px rgba(23, 33, 29, 0.04);
}

.rp-stat-card h3 {
  margin: 0 0 22px;
  font-family: var(--rp-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rp-clay);
}

.rp-stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rp-stat-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rp-line);
}

.rp-stat-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.rp-stat-list strong {
  font-family: var(--rp-display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1;
  color: var(--rp-forest);
}

.rp-stat-list span {
  color: var(--rp-muted);
  font-size: 15px;
  line-height: 1.5;
}

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

/* --- Переключатель языков --- */
.rp-lang {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--rp-radius-pill);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 38px rgba(16, 35, 30, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.22);
}

.rp-lang a {
  min-width: 30px;
  padding: 6px 8px;
  border-radius: var(--rp-radius-pill);
  color: rgba(23, 33, 29, 0.64);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
}

.rp-lang a.is-active {
  background: var(--rp-forest);
  color: var(--rp-white);
}

/* --- Быстрый лид-попап (RU/EN/TH) --- */
.rp-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(10, 17, 15, 0.64);
  backdrop-filter: blur(10px);
}

.rp-lead-modal.is-open,
.rp-lead-modal.uk-open {
  display: flex;
}

.rp-lead-modal__dialog {
  position: relative;
  width: min(440px, 92vw);
  padding: 34px 30px;
  border-radius: var(--rp-radius);
  background: var(--rp-white);
  box-shadow: 0 28px 80px rgba(8, 18, 15, 0.28);
}

.rp-lead-modal .uk-modal-close-default {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--rp-muted);
  cursor: pointer;
}

.rp-lead-modal .uk-modal-close-default::before,
.rp-lead-modal .uk-modal-close-default::after {
  position: absolute;
  top: 17px;
  left: 9px;
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.rp-lead-modal .uk-modal-close-default::before {
  transform: rotate(45deg);
}

.rp-lead-modal .uk-modal-close-default::after {
  transform: rotate(-45deg);
}

.rp-lead-form__title {
  margin: 0 0 8px;
  font-family: var(--rp-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.12;
  color: var(--rp-forest);
}

.rp-lead-form__sub {
  margin: 0 0 20px;
  color: var(--rp-muted);
  font-size: 15px;
  line-height: 1.55;
}

.rp-lead-form__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.rp-lead-form__fields input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-sm);
  background: var(--rp-white);
  color: var(--rp-ink);
  font: inherit;
}

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

.rp-lead-form__submit {
  width: 100%;
}

.rp-lead-form__consent {
  margin: 12px 0 0;
  color: var(--rp-muted);
  font-size: 12px;
  line-height: 1.5;
}

label.rp-lead-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}

label.rp-lead-form__consent input {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin: 1px 0 0;
  accent-color: var(--rp-gold);
}

label.rp-lead-form__consent span {
  min-width: 0;
}

label.rp-lead-form__consent .rp-lead-form__consent-links {
  white-space: nowrap;
}

.rp-lead-form__consent a {
  color: var(--rp-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

label.rp-lead-form__consent.is-error {
  color: var(--rp-clay);
}

label.rp-lead-form__consent.is-error input {
  outline: 2px solid var(--rp-clay);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  label.rp-lead-form__consent {
    font-size: 11px;
    line-height: 1.35;
  }
}

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

.rp-lead-form__status.is-error {
  color: var(--rp-clay);
}

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

.rp-lead-form__success p {
  margin: 0;
  color: var(--rp-muted);
  line-height: 1.55;
}

/* --- Тайская типографика (класс на шелле; шрифт грузит index.php для th).
   Через класс, а не html[lang], потому что на проде шаблон ставит <html lang="ru">. --- */
.rp-lang--th {
  --rp-display: 'Noto Sans Thai', 'Onest', 'Manrope', 'Inter', system-ui, sans-serif;
  --rp-body: 'Noto Sans Thai', 'Manrope', 'Inter', system-ui, sans-serif;
}

.rp-lang--th .rp-hero h1 {
  line-height: 1.1;
}

.rp-lang--th .rp-section h2,
.rp-lang--th .rp-final-cta h2,
.rp-lang--th .rp-about__head h2 {
  line-height: 1.25;
}

/* --- Подзаголовки внутри секций --- */
.rp-subhead {
  margin: 38px 0 16px;
}

.rp-subhead h3 {
  margin: 0;
  font-family: var(--rp-display);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.1;
  color: var(--rp-forest);
}

.rp-subhead p {
  margin: 8px 0 0;
  max-width: 640px;
  color: var(--rp-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* --- Площади в одну строку --- */
.rp-format-grid--row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* --- Галерея интерьеров --- */
.rp-interior-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rp-interior-grid .rp-gallery__item {
  aspect-ratio: 4 / 3;
}

/* --- Плитки планировок --- */
.rp-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rp-plan-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-sm);
  background: var(--rp-white);
  text-decoration: none;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.rp-plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(23, 33, 29, 0.1);
}

.rp-plan-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 14px;
  background: var(--rp-white);
}

.rp-plan-card span {
  display: block;
  padding: 10px 12px;
  border-top: 1px solid var(--rp-line);
  color: var(--rp-teal);
  font-size: 12.5px;
  font-weight: 700;
}

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

/* --- Подсказка «увеличить» --- */
[data-zoom] {
  cursor: zoom-in;
}

/* --- Лайтбокс --- */
.rp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(16, 24, 21, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.rp-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.rp-lightbox__figure {
  margin: 0;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rp-lightbox__img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--rp-radius-sm);
  background: var(--rp-white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.rp-lightbox__caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  text-align: center;
}

.rp-lightbox__btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: var(--rp-radius-pill);
  background: rgba(255, 255, 255, 0.14);
  color: var(--rp-white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease;
}

.rp-lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.rp-lightbox__btn--close {
  top: 18px;
  right: 18px;
  font-size: 28px;
}

.rp-lightbox__btn--prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.rp-lightbox__btn--next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

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

@media (max-width: 980px) {
  .rp-burger {
    display: inline-flex;
  }

  .rp-topbar__links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: var(--rp-radius);
    background: rgba(247, 242, 233, 0.98);
    box-shadow: 0 22px 54px rgba(16, 35, 30, 0.22);
    backdrop-filter: blur(18px) saturate(1.12);
  }

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

  .rp-topbar__link {
    display: block;
    padding: 12px 14px;
    border-radius: var(--rp-radius-sm);
    opacity: 1;
    font-size: 15px;
  }

  .rp-topbar__link--accent {
    justify-content: center;
    margin-top: 6px;
  }

  .rp-lang a {
    padding: 5px 7px;
    font-size: 12px;
  }

  .rp-hero,
  .rp-visual-proof,
  .rp-location {
    grid-template-columns: 1fr;
  }

  .rp-hero-panel {
    max-width: 620px;
  }

  .rp-trust-bar,
  .rp-payment-grid,
  .rp-check-grid,
  .rp-benefit-grid,
  .rp-why-grid,
  .rp-gallery__grid,
  .rp-plans,
  .rp-format-grid--row,
  .rp-interior-grid,
  .rp-plan-grid,
  .rp-plans--floors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rp-gallery__grid {
    grid-auto-rows: 170px;
  }

  .rp-formats__layout,
  .rp-about__cols {
    grid-template-columns: 1fr;
  }

  .rp-quote--founder {
    grid-template-columns: 190px 1fr;
    gap: 24px;
  }

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

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

@media (max-width: 700px) {
  .rp-topbar {
    position: absolute;
    width: calc(100% - 28px);
    padding: 14px 0;
  }

  .rp-brand__logo {
    height: 42px;
  }

  .rp-topbar__link--accent {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 13px;
  }

  .rp-section {
    width: calc(100% - 28px);
    padding: 64px 0;
  }

  .rp-hero {
    min-height: auto;
    padding: 106px 14px 74px;
  }

  .rp-hero h1 {
    font-size: clamp(38px, 11.5vw, 52px);
  }

  .rp-hero__actions,
  .rp-quiz__nav,
  .rp-inline-cta,
  .rp-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .rp-btn {
    width: 100%;
  }

  .rp-panel__grid,
  .rp-trust-bar,
  .rp-quiz__options,
  .rp-form-grid,
  .rp-ownership-grid,
  .rp-format-grid,
  .rp-payment-grid,
  .rp-check-grid,
  .rp-benefit-grid,
  .rp-why-grid {
    grid-template-columns: 1fr;
  }

  .rp-quote {
    padding: 18px 20px;
  }

  .rp-quote--founder {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .rp-quote--founder .rp-quote__photo img {
    width: 150px;
    height: 190px;
    min-height: 0;
    max-height: none;
  }

  .rp-gallery__grid {
    grid-auto-rows: 150px;
    gap: 8px;
  }

  .rp-plans,
  .rp-formats__layout .rp-format-grid,
  .rp-interior-grid {
    grid-template-columns: 1fr;
  }

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

  .rp-lightbox {
    padding: 14px;
  }

  .rp-lightbox__btn--prev {
    left: 8px;
  }

  .rp-lightbox__btn--next {
    right: 8px;
  }

  .rp-trust-bar {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .rp-trust-bar__item {
    min-height: 92px;
    border-left: 0;
    border-top: 1px solid var(--rp-line);
  }

  .rp-trust-bar__item:first-child {
    border-top: 0;
  }

  .rp-quiz {
    padding: 18px;
  }

  .rp-quiz__option {
    min-height: 56px;
  }

  .rp-final-cta {
    padding: 72px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
