/* ============== КвадроПолюс — ядро стилей ============== */
:root {
  --accent: #E07A2B;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* dark theme tokens (default) */
  --bg: #141210;
  --bg2: #1A1611;
  --surface: #211C16;
  --surface2: #2A241C;
  --text: #ECE6DA;
  --text-dim: #B7AE9D;
  --muted: #8C8475;
  --line: rgba(236, 230, 218, 0.12);
  --line-strong: rgba(236, 230, 218, 0.22);
  --moss: #93A05A;
  --shadow: 0 18px 50px rgba(0,0,0,0.45);
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);

  /* density */
  --sec-pad: clamp(72px, 9vw, 140px);
}

[data-theme="light"] {
  --bg: #F4F1EA;
  --bg2: #ECE7DC;
  --surface: #FFFFFF;
  --surface2: #F6F2E9;
  --text: #211B14;
  --text-dim: #57503F;
  --muted: #8A8170;
  --line: rgba(33, 27, 20, 0.12);
  --line-strong: rgba(33, 27, 20, 0.2);
  --moss: #6E7A3A;
  --shadow: 0 18px 50px rgba(60,45,20,0.16);
}

[data-density="compact"] { --sec-pad: clamp(52px, 6vw, 96px); }
[data-density="comfy"] { --sec-pad: clamp(96px, 12vw, 180px); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; }
em { font-style: normal; color: var(--accent); }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.06; letter-spacing: 0.01em; text-transform: uppercase; text-wrap: balance; }
p { text-wrap: pretty; }

.section__title--nowrap { white-space: nowrap; font-size: clamp(26px, 4.4vw, 54px); }
.amen .section__head { max-width: none; }
.amen .section__sub { max-width: 620px; }
@media (max-width: 620px) { .section__title--nowrap { white-space: normal; font-size: clamp(30px, 8vw, 44px); } }

.accent-text { color: var(--accent); }

/* grain overlay */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 15px;
  padding: 14px 26px; border-radius: 2px;
  transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn .icon { transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 22px -8px var(--accent); }
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn--outline { border: 1.5px solid var(--line-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost { background: rgba(255,255,255,0.06); color: var(--text); backdrop-filter: blur(6px); border: 1px solid var(--line); }
[data-theme="light"] .btn--ghost { background: rgba(0,0,0,0.04); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--lg { padding: 17px 34px; font-size: 17px; }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--full { width: 100%; }

/* ============== Layout helpers ============== */
.section { padding: var(--sec-pad) var(--gut); max-width: var(--maxw); margin: 0 auto; }
.section--alt { background: var(--bg2); max-width: none; }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section--dark { background: #0F0D0B; max-width: none; }
[data-theme="light"] .section--dark { background: #1A1611; color: #ECE6DA; }
.section__head { max-width: 740px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__title { font-size: clamp(32px, 5.2vw, 60px); line-height: 1.08; margin: 14px 0 22px; }
.section__sub { color: var(--text-dim); font-size: clamp(16px, 1.6vw, 19px); max-width: 620px; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.eyebrow__n { border: 1px solid var(--accent); border-radius: 999px; width: 26px; height: 26px; display: inline-grid; place-items: center; font-size: 11px; }
.eyebrow__t { color: var(--muted); }

.badge { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 2px; color: var(--text-dim); }
.badge--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip { font-family: var(--font-mono); font-size: 12px; padding: 5px 11px; border-radius: 999px; background: var(--surface2); color: var(--text-dim); }

/* ============== Reveal ============== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============== PhotoSlot ============== */
.photoslot { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); min-height: 180px; }
.photoslot__stripes { position: absolute; inset: 0; opacity: 0.5;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(224,122,43,0.07) 14px 15px);
}
.photoslot__inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; }
.photoslot__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--accent); border: 1px solid var(--accent); padding: 3px 8px; border-radius: 2px; }
.photoslot__cap { font-family: var(--font-mono); font-size: 12px; line-height: 1.5; color: var(--muted); max-width: 280px; }

/* VideoSlot — плейсхолдер видео */
.videoslot__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: 78px; height: 78px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(224,122,43,0.45); animation: playpulse 2.4s infinite; }
.videoslot__play svg { margin-left: 3px; }
@keyframes playpulse { 0% { box-shadow: 0 0 0 0 rgba(224,122,43,0.45); } 70% { box-shadow: 0 0 0 22px rgba(224,122,43,0); } 100% { box-shadow: 0 0 0 0 rgba(224,122,43,0); } }
.videoslot .photoslot__inner { justify-content: flex-end; padding-bottom: 28px; }
.videoslot__tag { color: #fff; border-color: rgba(255,255,255,0.6); }
/* hero video: кнопка play смещена в правую часть, подпись скрыта под контентом */
.hero__video .videoslot__play { left: auto; right: 12%; top: 46%; transform: translateY(-50%); width: 92px; height: 92px; }
.hero__video .photoslot__inner { display: none; }
@media (max-width: 900px) { .hero__video .videoslot__play { right: 50%; transform: translate(50%, -50%); top: auto; bottom: 13%; width: 72px; height: 72px; } }

/* ============== Nav ============== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s ease, border-color .3s ease, padding .3s ease; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: 16px var(--gut); display: flex; align-items: center; gap: 28px; }
.nav.is-scrolled .nav__inner { padding-top: 11px; padding-bottom: 11px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand__mark { color: var(--accent); display: grid; place-items: center; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: 0.02em; text-transform: uppercase; }
.brand__name span { color: var(--accent); }
.nav__links { display: flex; gap: 26px; margin-left: 12px; }
.nav__links a { font-size: 14.5px; font-weight: 600; color: var(--text-dim); transition: color .2s; position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0; background: var(--accent); transition: width .25s ease; }
.nav__links a:hover::after { width: 100%; }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav__phone { font-family: var(--font-mono); font-size: 14px; color: var(--text); font-weight: 500; }
.nav__phone:hover { color: var(--accent); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); transition: .25s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: none; }

/* ============== Hero ============== */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gut) 80px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.hero__photo .photoslot__cap { font-size: 14px; }
.hero__scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(20,18,16,0.55) 0%, rgba(20,18,16,0.35) 30%, rgba(20,18,16,0.85) 100%),
  radial-gradient(120% 80% at 15% 20%, rgba(224,122,43,0.16), transparent 55%);
}
[data-theme="light"] .hero__scrim { background: linear-gradient(180deg, rgba(20,18,16,0.5) 0%, rgba(20,18,16,0.45) 40%, rgba(20,18,16,0.7) 100%), radial-gradient(120% 80% at 15% 20%, rgba(224,122,43,0.2), transparent 55%); }
.hero__topo { position: absolute; inset: 0; opacity: 0.18; mix-blend-mode: soft-light;
  background-image: radial-gradient(circle at 30% 50%, transparent 60px, rgba(255,255,255,0.5) 61px, transparent 63px),
    radial-gradient(circle at 30% 50%, transparent 110px, rgba(255,255,255,0.4) 111px, transparent 114px),
    radial-gradient(circle at 30% 50%, transparent 170px, rgba(255,255,255,0.3) 171px, transparent 175px),
    radial-gradient(circle at 78% 70%, transparent 40px, rgba(255,255,255,0.4) 41px, transparent 43px),
    radial-gradient(circle at 78% 70%, transparent 90px, rgba(255,255,255,0.3) 91px, transparent 94px);
}
.hero__content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; color: #ECE6DA; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #ECE6DA; padding: 8px 16px; border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; background: rgba(0,0,0,0.25); backdrop-filter: blur(6px); margin-bottom: 26px; }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(224,122,43,0.3); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(224,122,43,0); } }
.hero__title { font-size: clamp(44px, 8.6vw, 104px); letter-spacing: 0.005em; margin-bottom: 28px; line-height: 1.05;
  background: linear-gradient(90deg, #4a4234 0%, #6f6553 20%, #ECE6DA 80%, #ECE6DA 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero__title em { color: transparent; -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, #5a3216 0%, #884a1f 20%, var(--accent) 80%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.hero__lead { max-width: 600px; font-size: clamp(17px, 1.9vw, 21px); color: rgba(236,230,218,0.92); margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero__stats { display: flex; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 28px; max-width: 620px; }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat b { font-family: var(--font-head); font-size: clamp(30px, 4vw, 44px); color: var(--accent); line-height: 1; }
.hero__stat span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(236,230,218,0.7); margin-top: 6px; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.4); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px; }
.hero__scroll span { width: 4px; height: 8px; background: var(--accent); border-radius: 2px; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* reveal stagger in hero */
.hero .reveal { transition-duration: .8s; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
.hero .reveal:nth-child(5) { transition-delay: .32s; }

/* ============== Advantages ============== */
.adv { background: var(--accent); color: #fff; }
.adv__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.adv__item { padding: clamp(36px, 4vw, 56px) clamp(22px, 2.6vw, 38px); border-right: 1px solid rgba(255,255,255,0.18); }
.adv__item:last-child { border-right: none; }
.adv__n { font-family: var(--font-mono); font-size: 13px; opacity: 0.7; }
.adv__item h3 { font-size: clamp(22px, 2.3vw, 30px); margin: 14px 0 12px; }
.adv__item p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.9); }

/* ============== Routes ============== */
.routes__layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.routes__list { display: flex; flex-direction: column; gap: 8px; }
.route-row { display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 3px; text-align: left; transition: .22s; background: var(--surface); }
.route-row:hover { border-color: var(--line-strong); transform: translateX(4px); }
.route-row.is-active { background: var(--surface2); border-color: var(--accent); }
.route-row__name { font-family: var(--font-head); font-size: 20px; text-transform: uppercase; }
.route-row__km { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.route-row__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.route-row__chev { color: var(--muted); opacity: 0; transition: .2s; }
.route-row.is-active .route-row__chev, .route-row:hover .route-row__chev { opacity: 1; color: var(--accent); }
.level-dots { display: inline-flex; gap: 4px; }
.level-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.level-dots i.is-on { background: var(--accent); }

.routes__detail { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--surface); animation: fadeUp .4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.routes__photo { height: 300px; border: none; border-bottom: 1px solid var(--line); }
.routes__info { padding: clamp(24px, 3vw, 38px); }
.routes__badges { display: flex; gap: 8px; margin-bottom: 16px; }
.routes__name { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 14px; }
.routes__desc { color: var(--text-dim); margin-bottom: 18px; }
.routes__terrain { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.routes__meta { display: flex; gap: 32px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); margin-bottom: 24px; }
.routes__meta > div { display: flex; flex-direction: column; gap: 4px; }
.routes__meta-l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.routes__meta b { font-family: var(--font-head); font-size: 26px; }

/* ============== Amenities ============== */
.amen__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.amen__card { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--surface); transition: .25s; display: flex; flex-direction: column; }
.amen__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.amen__photo { height: 200px; border: none; }
.amen__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.amen__icon { width: 50px; height: 50px; border-radius: 3px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); display: grid; place-items: center; margin-bottom: 4px; }
.amen__body h3 { font-size: 23px; }
.amen__body p { color: var(--text-dim); font-size: 15.5px; }

/* ============== Pricing ============== */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; border: 1px solid var(--line); border-radius: 5px; padding: 34px 30px; background: var(--surface); display: flex; flex-direction: column; transition: .25s; }
.price-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.price-card.is-popular { border-color: var(--accent); background: var(--surface2); box-shadow: 0 24px 60px -30px var(--accent); }
.price-card__flag { position: absolute; top: -13px; left: 30px; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; }
.price-card__top h3 { font-size: 28px; }
.price-card__tagline { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.price-card__price { display: flex; align-items: baseline; gap: 8px; padding: 22px 0; margin: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.price-card__from { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.price-card__price b { font-family: var(--font-head); font-size: 44px; color: var(--accent); white-space: nowrap; }
.price-card__unit { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.price-card__features { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; flex: 1; }
.price-card__features li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--text-dim); }
.price-card__features .icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ============== Corporate ============== */
.corp { color: #ECE6DA; }
.corp__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.corp .section__title { color: #ECE6DA; }
.corp .section__sub { color: rgba(236,230,218,0.78); }
.corp__list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 28px 0 32px; }
.corp__list li { display: flex; gap: 14px; align-items: center; font-size: 16.5px; }
.corp__list .icon { color: var(--accent); flex-shrink: 0; }
.corp__photo { height: 460px; }

/* ============== Location ============== */
.loc__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.loc__map { position: relative; }
.loc__photo { height: 440px; }
.loc__pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(224,122,43,0.25); animation: pulse 2s infinite; }
.loc__rows { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; }
.loc__row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.loc__row:last-child { border-bottom: none; }
.loc__ico { color: var(--accent); flex-shrink: 0; }
.loc__row b { font-family: var(--font-head); font-size: 16px; text-transform: uppercase; letter-spacing: 0.03em; display: block; margin-bottom: 3px; }
.loc__row p { color: var(--text-dim); font-size: 15px; }
.loc__row a:hover { color: var(--accent); }

/* ============== Gallery ============== */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 14px; }
.gallery__cell { overflow: hidden; border-radius: 3px; }
.gallery__photo { height: 100%; width: 100%; transition: transform .4s ease; }
.gallery__cell:hover .gallery__photo { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8,7,6,0.88); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 24px; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.lightbox__inner { position: relative; width: min(880px, 92vw); }
.lightbox__photo { height: min(60vh, 560px); }
.lightbox__close { position: absolute; top: -44px; right: 0; color: #fff; font-size: 22px; width: 40px; height: 40px; }

/* ============== Testimonials ============== */
.tst__stage { display: flex; align-items: center; gap: 18px; max-width: 900px; margin: 0 auto; }
.tst__card { flex: 1; text-align: center; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); border-radius: 5px; background: var(--surface); animation: fadeUp .4s ease; }
.tst__stars { display: flex; justify-content: center; gap: 4px; color: var(--accent); margin-bottom: 22px; }
.tst__card blockquote { font-family: var(--font-head); font-size: clamp(20px, 2.6vw, 30px); line-height: 1.3; text-transform: none; font-weight: 500; margin-bottom: 24px; }
.tst__who b { display: block; font-family: var(--font-head); font-size: 18px; text-transform: uppercase; }
.tst__who span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.tst__nav { width: 52px; height: 52px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--text); transition: .2s; flex-shrink: 0; }
.tst__nav:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.tst__nav--prev .icon { transform: rotate(180deg); }
.tst__dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.tst__dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); transition: .2s; }
.tst__dots button.is-on { background: var(--accent); width: 26px; border-radius: 5px; }

/* ============== FAQ ============== */
.faq__list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; text-align: left; font-family: var(--font-head); font-size: clamp(18px, 2.2vw, 24px); text-transform: uppercase; transition: color .2s; }
.faq__q:hover { color: var(--accent); }
.faq__plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; background: var(--accent); transition: transform .3s ease; }
.faq__plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item.is-open .faq__plus::after { transform: rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__item.is-open .faq__a { max-height: 320px; }
.faq__a p { padding: 0 4px 26px; color: var(--text-dim); font-size: 16px; max-width: 720px; }

/* ============== Final CTA ============== */
.finalcta { position: relative; background: var(--accent); color: #fff; padding: clamp(72px, 10vw, 140px) var(--gut); overflow: hidden; text-align: center; }
.finalcta__topo { position: absolute; inset: 0; opacity: 0.16;
  background-image: repeating-linear-gradient(45deg, transparent 0 24px, rgba(255,255,255,0.4) 24px 25px); }
.finalcta__inner { position: relative; max-width: 800px; margin: 0 auto; }
.finalcta__inner h2 { font-size: clamp(38px, 7vw, 84px); margin-bottom: 18px; }
.finalcta__inner p { font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,0.92); margin-bottom: 36px; }
.finalcta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.finalcta .btn--primary { background: #fff; color: var(--accent); }
.finalcta .btn--ghost { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ============== Footer ============== */
.footer { background: #0F0D0B; color: #ECE6DA; padding: clamp(56px, 7vw, 88px) var(--gut) 0; }
[data-theme="light"] .footer { background: #1A1611; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__brand p { color: rgba(236,230,218,0.65); font-size: 15px; max-width: 340px; margin-top: 16px; }
.footer__col h4 { font-size: 15px; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 18px; }
.footer__col a, .footer__col span { display: block; color: rgba(236,230,218,0.78); font-size: 15px; margin-bottom: 11px; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { max-width: var(--maxw); margin: 0 auto; border-top: 1px solid rgba(236,230,218,0.12); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: rgba(236,230,218,0.5); }

/* ============== Booking modal ============== */
.modal { position: fixed; inset: 0; z-index: 1100; background: rgba(8,7,6,0.82); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; overflow-y: auto; animation: fade .25s; }
.modal__panel { position: relative; width: min(560px, 100%); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px; padding: clamp(28px, 4vw, 44px); animation: fadeUp .35s ease; margin: auto; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--text); font-size: 16px; transition: .2s; }
.modal__close:hover { border-color: var(--accent); color: var(--accent); }
.modal__head { margin-bottom: 26px; }
.modal__head h3 { font-size: clamp(26px, 3.4vw, 34px); margin: 12px 0 10px; }
.modal__head p { color: var(--text-dim); font-size: 15px; }
.bform { display: flex; flex-direction: column; gap: 16px; }
.bform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field > span i { color: var(--muted); opacity: 0.7; font-style: normal; text-transform: none; }
.field input, .field select, .field textarea { background: var(--bg); border: 1.5px solid var(--line); border-radius: 3px; padding: 13px 15px; color: var(--text); font-family: var(--font-body); font-size: 15.5px; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; }
.field.has-error input, .field.has-error select { border-color: #D6452B; }
.field em { font-style: normal; font-size: 12.5px; color: #E8745C; font-family: var(--font-mono); }
.bform__summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--bg); border: 1px dashed var(--line-strong); border-radius: 3px; }
.bform__summary span { font-family: var(--font-head); font-size: 17px; text-transform: uppercase; }
.bform__summary b { font-family: var(--font-head); font-size: 24px; }
.bform__note { font-size: 12px; color: var(--muted); text-align: center; }
.modal__success { text-align: center; padding: 18px 0; }
.modal__success-ic { width: 80px; height: 80px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); display: grid; place-items: center; margin: 0 auto 22px; }
.modal__success h3 { font-size: 30px; margin-bottom: 12px; }
.modal__success p { color: var(--text-dim); margin-bottom: 26px; max-width: 380px; margin-inline: auto; }

/* ============== Responsive ============== */
@media (max-width: 1024px) {
  .routes__layout { grid-template-columns: 1fr; }
  .adv__grid { grid-template-columns: repeat(2, 1fr); }
  .adv__item:nth-child(2) { border-right: none; }
  .adv__item:nth-child(1), .adv__item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.18); }
  .amen__grid { grid-template-columns: repeat(2, 1fr); }
  .corp__inner, .loc__inner { grid-template-columns: 1fr; }
  .corp__photo, .loc__photo { height: 320px; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: flex; }
  .nav__actions { margin-left: auto; }
  .nav__actions .btn { display: none; }
  .nav__mobile { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px var(--gut) 24px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s; }
  .nav__mobile.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__mobile a { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--font-head); text-transform: uppercase; font-size: 18px; }
  .nav__mobile-phone { font-family: var(--font-mono) !important; text-transform: none !important; }
  .nav__mobile .btn { margin-top: 14px; }
  .adv__grid { grid-template-columns: 1fr; }
  .adv__item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.18); }
  .adv__item:last-child { border-bottom: none; }
  .amen__grid { grid-template-columns: 1fr; }
  .route-row { grid-template-columns: auto 1fr auto; gap: 10px; padding: 16px; }
  .route-row__km, .route-row__chev { display: none; }
  .bform__row { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .tst__nav { width: 42px; height: 42px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .routes__meta { gap: 20px; }
}


/* ============================================================
   Build additions — static multi-page layer on top of the
   approved JSX design tokens. New components for split pages.
   ============================================================ */

/* ---- nav: active state, 8 links fit, burger earlier ---- */
.nav__links { gap: 20px; }
.nav__links a { font-size: 14px; white-space: nowrap; }
/* persistent glass header: keeps logo + links readable on all pages and cleanly separates the bar from the hero video */
.nav { background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner { padding-top: 12px; padding-bottom: 12px; }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { width: 100%; }
.nav__mobile a.is-active { color: var(--accent); }

/* ---- container alignment: header + plain .section share the SAME
   1240 content box as the full-bleed hero/adv/footer bands.
   Plain .section was double-inset (maxw box + inner gut padding =>
   ~1112 content); widen the box by 2*gut so content lands at 1240,
   matching hero/footer edges. .section--alt/--dark keep max-width:none. */
.section { max-width: calc(var(--maxw) + 2 * var(--gut)); }
.nav__inner { max-width: calc(var(--maxw) + 2 * var(--gut)); }

/* ---- real brand logo (designer SVG emblem) ---- */
.brand__mark { color: inherit; }
.brand__mark img { height: 64px; width: auto; display: block; }

/* ---- hero background video ---- */
.hero__media { width: 100%; height: 100%; object-fit: cover; background: #141210; }
/* real photos fill their photoslot box (gallery / route / amenity / teaser) */
figure.photoslot { margin: 0; }
.photoslot__img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 4 stats on one line; strong LEFT fade so hero text reads over the video;
   heavier cinematic scrim masks the soft 720p source so it reads as intentional. */
.hero__stats { max-width: none; flex-wrap: nowrap; gap: clamp(16px, 3vw, 46px); }
.hero__scrim { background:
  linear-gradient(90deg, rgba(20,18,16,0.95) 0%, rgba(20,18,16,0.8) 28%, rgba(20,18,16,0.45) 58%, rgba(20,18,16,0.18) 100%),
  linear-gradient(180deg, rgba(20,18,16,0.45) 0%, rgba(20,18,16,0.22) 35%, rgba(20,18,16,0.9) 100%); }

/* ---- page head (hero-less pages clear the fixed nav) ---- */
.section--pagehead { padding-top: clamp(96px, 12vh, 150px); padding-bottom: 4px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-current] { color: var(--accent); }

/* ---- home teasers ---- */
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.teaser { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; transition: .25s; }
.teaser:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.teaser__photo { height: 160px; border: none; }
.teaser__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.teaser__body h3 { font-size: 22px; }
.teaser__body p { color: var(--text-dim); font-size: 14.5px; flex: 1; }
.teaser__link { color: var(--accent); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.teaser:hover .teaser__link .icon { transform: translateX(3px); }

/* ---- routes page: all routes as full cards ---- */
.routes-list { display: flex; flex-direction: column; gap: 26px; }
.routecard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: var(--surface); transition: border-color .2s; scroll-margin-top: 90px; }
.routecard:hover { border-color: var(--line-strong); }
.routecard__photo { min-height: 320px; height: 100%; border: none; }
.routecard:nth-child(even) .routecard__photo { order: 2; }
.routecard__info { padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.routecard__name { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 12px; }
.routecard__desc { color: var(--text-dim); margin-bottom: 18px; }

/* ---- testimonials grid (static) ---- */
.tst__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 18px; max-width: var(--maxw); margin: 0 auto; }
.tst__grid .tst__card { animation: none; }
.tst__grid blockquote { font-size: clamp(17px, 1.5vw, 20px); }
.tst__grid .tst__stars { justify-content: flex-start; }
.tst__card { text-align: left; }
/* bottom-align the author block so reviewer names line up on each card's lower edge */
.tst__grid .tst__card { display: flex; flex-direction: column; }
.tst__grid .tst__who { margin-top: auto; }

/* ---- Yandex rating card (native, dark) + official badge ---- */
.rating-card { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.rating-card__top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rating-card__num { font-family: var(--font-head); font-size: clamp(44px, 6vw, 58px); line-height: 1; color: var(--accent); }
.rating-card__scale { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.rating-card__top .tst__stars { margin: 0 0 0 auto; }
.rating-card__src { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-dim); }
/* filled (solid) review stars — the stroke-only icon read as empty/hollow */
.tst__stars .icon { fill: currentColor; }
.rating-card__badge { border: 0; border-radius: 4px; align-self: flex-start; max-width: 100%; background: transparent; }
.rating-card__cta { align-self: stretch; width: 100%; white-space: normal; text-align: center; line-height: 1.25; gap: 8px; }
.badge--good { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  background: rgba(224,122,43,0.14); border: 1px solid rgba(224,122,43,0.5); color: var(--accent);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 2px; }
.review-embed { border: 1px solid var(--line); border-radius: 5px; background: var(--surface);
  padding: 16px; display: flex; flex-direction: column; gap: 12px; max-width: var(--maxw); margin-inline: auto; }
.review-embed { margin-top: clamp(26px, 4vw, 44px); }
.review-embed > .eyebrow { align-self: flex-start; }
.review-embed__frame { width: 100%; max-width: 760px; margin: 0 auto; }
.yreviews { width: 100%; height: 560px; border: 0; border-radius: 6px; background: #fff; display: block; }
.review-embed__attr { align-self: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.review-embed__attr:hover { color: var(--accent); }
@media (max-width: 680px) { .yreviews { height: 460px; } }

/* ---- embedded Yandex map (contacts page) ---- */
.loc__frame { width: 100%; height: 440px; border: 0; border-radius: 6px; display: block; background: var(--surface); }
.loc__maplink { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--text);
  background: rgba(13,12,11,0.82); border: 1px solid var(--line-strong); border-radius: 3px; padding: 7px 12px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: .2s; }
.loc__maplink:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
@media (max-width: 680px) { .loc__frame { height: 340px; } }

/* ---- corporate steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: var(--maxw); margin: 0 auto; }
.step { border: 1px solid var(--line); border-radius: 4px; padding: 30px; background: var(--surface); }
.step__n { font-family: var(--font-mono); color: var(--accent); font-size: 14px; }
.step h3 { font-size: 22px; margin: 12px 0 10px; }
.step p { color: var(--text-dim); font-size: 15px; }

/* ---- about prose + features ---- */
.prose { max-width: 820px; }
.prose__block { margin-bottom: 26px; }
.prose__block h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; text-transform: none; }
.prose__block p { color: var(--text-dim); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { border: 1px solid var(--line); border-radius: 4px; padding: 28px; background: var(--surface); }
.feature-card__n { font-family: var(--font-mono); color: var(--accent); font-size: 13px; }
.feature-card h3 { font-size: 20px; margin: 10px 0 10px; }
.feature-card p { color: var(--text-dim); font-size: 15px; }

/* ---- blog ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { border: 1px solid var(--line); border-radius: 5px; padding: 28px; background: var(--surface); display: flex; flex-direction: column; gap: 14px; transition: .25s; }
.blog-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.blog-card .badge { align-self: flex-start; }
.blog-card__title { font-size: 22px; line-height: 1.2; text-transform: none; }
.blog-card__title a:hover { color: var(--accent); }
.blog-card__excerpt { color: var(--text-dim); font-size: 15px; flex: 1; }
.blog-card__link { color: var(--accent); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }

/* ---- article ---- */
.article { max-width: 820px; }
.article__header { margin: 6px 0 22px; }
.article__title { font-size: clamp(30px, 4.6vw, 52px); margin: 14px 0 10px; text-transform: none; line-height: 1.12; }
.article__meta { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.article__lead { font-size: clamp(18px, 2vw, 22px); color: var(--text); margin-bottom: 26px; line-height: 1.5; }
.article__body { font-size: 17px; color: var(--text-dim); }
.article__body h2 { font-size: clamp(22px, 2.8vw, 30px); color: var(--text); text-transform: none; margin: 34px 0 14px; }
.article__body h3 { font-size: clamp(19px, 2.2vw, 24px); color: var(--text); text-transform: none; margin: 26px 0 12px; }
.article__body h4 { font-size: 18px; color: var(--text); text-transform: none; margin: 20px 0 10px; }
.article__body p { margin-bottom: 16px; }
.article__body ul { margin: 0 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.article__body strong { color: var(--text); }
.article__faq { margin-top: 40px; }
.article__faq h2 { font-family: var(--font-head); text-transform: uppercase; font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 8px; }
.article__back { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-family: var(--font-mono); font-size: 13px; margin-top: 32px; }
.article__back:hover { color: var(--text); }

/* ---- tables (dark-themed, from blog content) ---- */
.table-wrap { overflow-x: auto; margin: 20px 0 24px; border: 1px solid var(--line); border-radius: 4px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap th, .table-wrap td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { background: var(--surface2); color: var(--text); font-family: var(--font-head); text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.table-wrap tbody tr:last-child td { border-bottom: none; }
.table-wrap td:first-child { color: var(--text); font-weight: 600; }

/* ---- pricing note + location + inline booking ---- */
.pricing__note { max-width: 760px; margin: 26px auto 0; text-align: center; color: var(--muted); font-size: 14px; font-family: var(--font-mono); }
.loc__cta { margin-top: 30px; }
.inline-book { max-width: 680px; }
.inline-book .bform { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 3vw, 36px); }

/* ---- FAQ via native <details> ---- */
details.faq__item > summary.faq__q { list-style: none; cursor: pointer; }
details.faq__item > summary.faq__q::-webkit-details-marker { display: none; }
.faq__item .faq__a { max-height: 0; }
details.faq__item[open] .faq__a { max-height: none; }
details.faq__item[open] .faq__plus::after { transform: rotate(90deg); opacity: 0; }

/* ---- modal: hidden by default until JS opens it ---- */
.modal[hidden] { display: none; }

/* ---- responsive for new components ---- */
@media (max-width: 1024px) {
  /* switch to burger earlier so 8 nav links never overflow */
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: flex; }
  .nav__actions { margin-left: auto; }
  .nav__actions .btn { display: none; }
  .nav__mobile { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px var(--gut) 24px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s; }
  .nav__mobile.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__mobile a { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--font-head); text-transform: uppercase; font-size: 18px; }
  .nav__mobile-phone { font-family: var(--font-mono) !important; text-transform: none !important; }
  .nav__mobile .btn { margin-top: 14px; }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid, .feature-grid, .tst__grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .routecard { grid-template-columns: 1fr; }
  .routecard:nth-child(even) .routecard__photo { order: 0; }
  .routecard__photo { min-height: 240px; }
}
@media (max-width: 680px) {
  .teaser-grid, .blog-grid, .feature-grid, .tst__grid, .steps { grid-template-columns: 1fr; }
  .bform__row { grid-template-columns: 1fr; }
}

/* ============ mobile polish ============ */
@media (max-width: 1024px) {
  .brand__mark img { height: 52px; }
  .nav__inner { padding-top: 10px; padding-bottom: 10px; }
}
@media (max-width: 680px) {
  .brand__mark img { height: 44px; }
  .brand__name { font-size: 18px; }
  .hero { padding-top: 92px; padding-bottom: 60px; min-height: 86svh; }
  .hero__stats { flex-wrap: wrap; gap: 16px 24px; padding-top: 22px; }
  .hero__stat { min-width: 42%; }
  .hero__stat b { font-size: clamp(26px, 8vw, 38px); }
  .hero__lead { font-size: 16.5px; }
  .section--pagehead { padding-top: 90px; }
  .rating-card__num { font-size: 46px; }
  .crumbs { font-size: 11px; }
  .routes__meta { gap: 18px; }
  .footer__inner { gap: 28px; }
  .modal__panel { padding: 24px 20px; }
}
@media (max-width: 400px) {
  .hero__cta .btn { width: 100%; justify-content: center; }
}
