/* ============================================================
   Granov Estate — landing design system
   Premium · clean · editorial. Manrope + restrained burgundy.
   Shared across all ЖК landings. No frameworks.
   ============================================================ */

:root {
  --bg:        #ffffff;
  --bg-soft:   #f6f4ef;   /* warm alternating sections */
  --surface:   #ffffff;
  --ink:       #1a1714;
  --ink-2:     #4a4640;   /* body secondary */
  --ink-3:     #756f66;   /* hints — AA on white */
  --line:      #e7e2d9;
  --line-2:    #d9d3c8;
  --accent:    #7e2a2c;   /* burgundy */
  --accent-d:  #631f21;
  --accent-soft:#f3e9e6;

  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 72px);
  --section-y: clamp(64px, 9vw, 132px);
  --r: 14px;
  --r-lg: 20px;
  --pill: 100px;

  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: var(--bg); }

.anchor { position: absolute; top: -88px; }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.section--dark .eyebrow { color: #d8a8a3; }
.section--dark .eyebrow::before { background: #d8a8a3; }

.s-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.s-title {
  font-weight: 600; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.04;
  letter-spacing: -.025em; margin-top: 18px;
}
.s-lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); margin-top: 16px; max-width: 58ch; }
.section--dark .s-lead { color: rgba(255,255,255,.7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 16px; padding: 16px 28px; border-radius: var(--pill);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}
.btn .icon { width: 18px; height: 18px; }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.15em; }
.icon--brand { fill: currentColor; stroke: none; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-d); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--full { width: 100%; }
.on-photo { color: #fff; border-color: rgba(255,255,255,.45); }
.on-photo:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 80; padding: 14px var(--pad); transition: padding .3s ease; }
.header__bar {
  max-width: var(--maxw); margin-inline: auto;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid var(--line); border-radius: var(--pill);
  display: flex; align-items: center; gap: 20px;
  padding: 11px 12px 11px 24px;
}
.header.scrolled .header__bar { background: rgba(255,255,255,.96); }
.brand { font-weight: 700; font-size: 21px; letter-spacing: -.02em; white-space: nowrap; }
.brand b { color: var(--accent); }
.h-phone { display: flex; flex-direction: column; line-height: 1.1; margin-left: 6px; }
.h-phone a { font-weight: 700; font-size: 17px; white-space: nowrap; }
.h-phone span { font-size: 11px; color: var(--ink-3); letter-spacing: .03em; }
.h-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.h-msg { display: flex; gap: 8px; }
.h-msg a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); transition: .2s; color: var(--ink);
}
.h-msg a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.h-msg .icon { width: 19px; height: 19px; }
.h-nav { display: flex; align-items: center; gap: 4px; }
.h-nav a { font-size: 14px; padding: 9px 15px; border-radius: var(--pill); color: var(--ink-2); transition: .2s; }
.h-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.h-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; place-items: center; }
.h-burger .icon { width: 22px; height: 22px; }

.mobile-menu { display: none; flex-direction: column; gap: 2px; margin-top: 10px;
  background: #fff; border-radius: 12px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 14px; border-radius: 10px; color: var(--ink-2); font-weight: 500; }
.mobile-menu a:hover { background: var(--bg-soft); color: var(--ink); }
.mobile-menu .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: flex-end; position: relative; overflow: hidden;
  background: #0e0c0b; padding-bottom: clamp(48px, 7vw, 92px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,12,11,.5) 0%, rgba(14,12,11,.15) 35%, rgba(14,12,11,.82) 100%); }
.hero__inner { position: relative; z-index: 2; color: #fff; width: 100%; }
.hero .eyebrow {
  color: rgba(255,255,255,.9);
  background: rgba(10,8,7,.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  padding: 6px 16px 6px 10px;
  text-shadow: none;
  font-size: 12px;
  letter-spacing: .13em;
}
.hero .eyebrow::before { background: var(--accent); flex-shrink: 0; }
.hero h1, .hero__sub { text-shadow: 0 2px 24px rgba(0,0,0,.28); }
.hero h1 { font-weight: 600; font-size: clamp(40px, 7.5vw, 104px); line-height: .98;
  letter-spacing: -.035em; margin: 18px 0 0; }
.hero__sub { max-width: 560px; margin-top: 22px; font-size: clamp(16px, 1.7vw, 21px);
  color: rgba(255,255,255,.92); line-height: 1.45;
  background: rgba(10,8,7,.36); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px 18px; text-shadow: none; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__stat { display: flex; align-items: center; gap: 14px; padding: 14px 22px;
  border: 1px solid rgba(255,255,255,.24); border-radius: var(--r); background: rgba(255,255,255,.07);
  backdrop-filter: blur(6px); }
.hero__stat .icon { width: 26px; height: 26px; color: #fff; opacity: .9; }
.hero__stat small { display: block; font-size: 12px; color: rgba(255,255,255,.62); }
.hero__stat b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- Gallery ---------- */
.gal-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 16px; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide { flex: 0 0 min(80vw, 880px); scroll-snap-align: center; border-radius: var(--r-lg);
  overflow: hidden; aspect-ratio: 16/10; background: var(--line); }
.gal-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.gal-slide:hover img { transform: scale(1.04); }
.gal-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.gal-dots { display: flex; gap: 7px; }
.gal-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); transition: .3s; cursor: pointer; }
.gal-dots i.on { background: var(--accent); width: 26px; border-radius: 6px; }
.gal-nav { display: flex; gap: 10px; }
.gal-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--surface); display: grid; place-items: center; transition: .2s; }
.gal-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.gal-nav .icon { width: 20px; height: 20px; }

/* ---------- Advantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.adv { background: transparent; padding: 4px clamp(24px, 2.6vw, 44px); border-left: 1px solid var(--line-2); }
.adv:first-child { border-left: none; padding-left: 0; }
.adv__n { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: .08em; }
.adv h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -.02em; margin: 14px 0 12px; }
.adv p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }

/* ---------- Plans ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line);
  margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 15px 6px; font-size: 16px; font-weight: 500; color: var(--ink-3);
  position: relative; white-space: nowrap; transition: .2s; }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--accent); }
.tab:hover { color: var(--ink); }

.plan-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.plan-stage { position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); aspect-ratio: 4/3; overflow: hidden; }
.plan-stage img { position: absolute;
  --pp: clamp(16px, 2.5vw, 36px);
  top: var(--pp); left: var(--pp);
  width: calc(100% - 2 * var(--pp)); height: calc(100% - 2 * var(--pp));
  object-fit: contain; mix-blend-mode: multiply; transition: opacity .35s; }
.plan-arrows { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 10px; }
.plan-arrows button { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; transition: .2s; }
.plan-arrows button:hover { background: var(--accent); }
.plan-arrows .icon { width: 18px; height: 18px; }
.plan-count { position: absolute; left: 20px; bottom: 22px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.plan-info .badge { display: inline-block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.plan-info h3 { font-size: clamp(24px, 3vw, 38px); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; }
.plan-meta { display: flex; gap: 32px; margin: 24px 0; flex-wrap: wrap; }
.plan-meta small { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.plan-meta b { font-size: clamp(19px, 2.2vw, 27px); font-weight: 600; letter-spacing: -.02em; }
.plan-note { color: var(--ink-2); font-size: 15px; margin-bottom: 16px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 12px; }
.field input, .field select, .field textarea {
  width: 100%; height: 56px; border: 1px solid var(--line-2); background: var(--surface);
  border-radius: 12px; padding: 0 18px; font-size: 16px; font-family: inherit; color: var(--ink); transition: .2s;
}
.field textarea { height: auto; padding: 14px 18px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.invalid input { border-color: #c0392b; }
.form-policy { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px;
  font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }
.form-policy input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-policy a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form-ok { display: none; text-align: center; padding: 28px 16px; }
.form-ok.show { display: block; }
.form-ok .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin: 0 auto 16px; }
.form-ok .ic .icon { width: 30px; height: 30px; }
.form-ok b { font-size: 20px; font-weight: 600; }
.form-ok p { color: var(--ink-2); margin-top: 8px; }
.section--dark .field input, .section--dark .field select, .section--dark .field textarea {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }
.section--dark .field input::placeholder { color: rgba(255,255,255,.5); }
.section--dark .form-policy { color: rgba(255,255,255,.55); }
.section--dark .form-policy a { color: rgba(255,255,255,.8); }
.section--dark .form-ok .ic { background: rgba(255,255,255,.12); color: #fff; }
.section--dark .form-ok b { color: #fff; }
.section--dark .form-ok p { color: rgba(255,255,255,.7); }
/* Quiz sits on light surface even inside dark section — restore normal field styles */
.section--dark .quiz .field input,
.section--dark .quiz .field select,
.section--dark .quiz .field textarea {
  background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.section--dark .quiz .field input::placeholder { color: var(--ink-3); }
.section--dark .quiz .form-policy { color: var(--ink-3); }
.section--dark .quiz .form-policy a { color: var(--accent); text-decoration: underline; }
.section--dark .quiz .form-ok .ic { background: var(--accent-soft); color: var(--accent); }
.section--dark .quiz .form-ok b { color: var(--ink); }
.section--dark .quiz .form-ok p { color: var(--ink-2); }

/* ---------- Video ---------- */
.vhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px;
  flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.vbox { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; background: #000; }
.vbox video, .vbox iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }

/* ---------- Features ---------- */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(36px, 5vw, 72px) 0; border-bottom: 1px solid var(--line); }
.feat:last-child { border-bottom: none; }
.feat.rev .feat__media { order: 2; }
.feat__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5/4; background: var(--line); }
.feat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.feat:hover .feat__media img { transform: scale(1.05); }
.feat .tag { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.feat h3 { font-size: clamp(23px, 3vw, 38px); font-weight: 600; letter-spacing: -.025em; line-height: 1.07; margin: 14px 0 16px; }
.feat p { color: var(--ink-2); font-size: 16.5px; line-height: 1.55; max-width: 460px; }

/* ---------- Location timeline ---------- */
.tl { border-left: 1.5px solid var(--line-2); padding-left: clamp(26px, 4vw, 52px); margin-top: 14px; }
.tl-item { position: relative; padding-bottom: clamp(32px, 4vw, 52px); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: calc(-1 * clamp(26px, 4vw, 52px) - 8px); top: 6px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--bg); }
.section--soft .tl-item::before { box-shadow: 0 0 0 5px var(--bg-soft); }
.tl-dist { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.tl-item h3 { font-size: clamp(19px, 2.2vw, 27px); font-weight: 600; letter-spacing: -.02em; margin: 8px 0 8px; }
.tl-item p { color: var(--ink-2); font-size: 16px; max-width: 560px; }

/* ---------- Quiz ---------- */
.quiz { display: grid; grid-template-columns: 1.5fr .9fr; background: var(--surface); color: var(--ink);
  border-radius: var(--r-lg); overflow: hidden; margin-top: 44px; border: 1px solid var(--line); }
.quiz-main { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; min-height: 440px; }
.quiz-bar { height: 5px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 28px; }
.quiz-bar i { display: block; height: 100%; background: var(--accent); width: 25%; transition: width .4s ease; }
.quiz-step { display: none; }
.quiz-step.on { display: block; animation: qfade .35s ease; }
@keyframes qfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz-q { font-size: clamp(21px, 2.5vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 24px; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-opt { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line-2);
  border-radius: 12px; cursor: pointer; transition: .18s; font-size: 16px; font-weight: 500; text-align: left;
  background: var(--surface); width: 100%; }
.quiz-opt:hover { border-color: var(--accent); }
.quiz-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.quiz-opt .ring { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; position: relative; transition: .2s; }
.quiz-opt[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.quiz-opt[aria-pressed="true"] .ring { border-color: var(--accent); }
.quiz-opt[aria-pressed="true"] .ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent); }
.quiz-range .rv { font-size: clamp(24px, 3vw, 36px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 20px; }
.quiz-range .rv b { color: var(--accent); }
.quiz-range input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 5px; border-radius: 4px; background: var(--line); }
.quiz-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); cursor: pointer; border: 4px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.quiz-range input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 4px solid #fff; }
.quiz-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }
.quiz-foot { margin-top: auto; padding-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.quiz-no { font-size: 13px; color: var(--ink-3); }
.quiz-foot .nav { display: flex; gap: 8px; align-items: center; }
.quiz-back { padding: 0 12px; font-size: 14px; color: var(--ink-3); }
.quiz-back:hover { color: var(--ink); }
.quiz-aside { background: var(--bg-soft); padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.quiz-who { display: flex; align-items: center; gap: 14px; }
.quiz-who .ava { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 600; font-size: 18px; flex: none;
  object-fit: cover; object-position: top center; }
.quiz-who b { font-size: 17px; font-weight: 600; display: block; }
.quiz-who small { font-size: 13px; color: var(--ink-3); }
.quiz-hint { font-size: 16px; color: var(--ink-2); line-height: 1.5; }

/* ---------- Developer ---------- */
.dev-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 70px); align-items: center; }
.dev-logo { aspect-ratio: 1/1; border: 1px solid var(--line); border-radius: var(--r-lg);
  display: grid; place-items: center; background: var(--bg-soft); padding: 40px; text-align: center; }
.dev-logo .mark { font-size: clamp(34px, 4vw, 52px); font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.dev-logo .mark span { display: block; font-size: 12px; letter-spacing: .35em; color: var(--ink-3); font-weight: 500; margin-top: 8px; }
.dev-body h2 { font-size: clamp(24px, 3vw, 40px); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin-bottom: 18px; }
.dev-body p { color: var(--ink-2); font-size: 16.5px; }

/* ---------- Map ---------- */
.map-shell { position: relative; height: clamp(440px, 60vh, 620px); background: var(--bg-soft); }
.map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden;
  filter: grayscale(1) contrast(1.05); }
.map-canvas iframe { display: block; border: 0; width: 100%; height: 100%; }
.map-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink-3); font-size: 14px;
  text-align: center; padding: 20px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; }
.map-pin { position: absolute; z-index: 20; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%; background: var(--surface) center/cover no-repeat;
  border: 3px solid #fff; box-shadow: 0 4px 20px rgba(0,0,0,.28); pointer-events: none; }
.map-zoom-ctrl { position: absolute; z-index: 30; left: 20px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 3px; }
.map-zoom-btn { width: 30px; height: 30px; background: #fff; border: 1px solid rgba(0,0,0,.18);
  border-radius: 4px; font-size: 18px; font-weight: 300; cursor: pointer; display: grid;
  place-items: center; color: var(--ink); user-select: none; }
.map-zoom-btn:hover { background: var(--bg-soft); }
.map-card { position: absolute; z-index: 25; top: 50%; left: var(--pad); transform: translateY(-50%);
  background: var(--surface); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px); max-width: 380px;
  width: calc(100% - var(--pad) * 2); border: 1px solid var(--line); }
.map-card h3 { font-size: clamp(21px, 2.4vw, 29px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 16px; }
.map-card .addr { font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.map-card .addr a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.map-card .row { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.map-card .row a.circ { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: .2s; color: var(--ink); }
.map-card .row a.circ:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.map-card .row .icon { width: 20px; height: 20px; }

/* ---------- Special band ---------- */
.special .btn--light:hover { background: rgba(255,255,255,.88); color: var(--ink); }
.special { background: var(--accent); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.special h2 { font-size: clamp(23px, 3vw, 36px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.special p { margin-top: 12px; font-size: 17px; opacity: .92; max-width: 560px; }

/* ---------- Consult ---------- */
.consult-wrap { max-width: 600px; margin-inline: auto; text-align: center; }
.consult-wrap .s-lead { margin-inline: auto; }
.consult-wrap form { text-align: left; margin-top: 32px; }

/* ---------- Footer ---------- */
.footer { background: #100e0c; color: rgba(255,255,255,.6); padding: clamp(54px, 7vw, 88px) 0 36px; }
.footer__top { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 40px; }
.footer__brand { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.footer__brand b { color: #d8a8a3; }
.footer__legal { font-size: 13.5px; line-height: 1.7; }
.footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__links a { text-decoration: underline; text-underline-offset: 3px; transition: .2s; }
.footer__links a:hover { color: #fff; }
.footer__bot { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12.5px; color: rgba(255,255,255,.4); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal__bg { position: absolute; inset: 0; background: rgba(14,12,11,.62); backdrop-filter: blur(5px); }
.modal__card { position: relative; background: var(--surface); border-radius: var(--r-lg); width: 100%; max-width: 460px;
  padding: clamp(28px, 4vw, 44px); z-index: 2; max-height: 92vh; overflow: auto; animation: qfade .3s ease; }
.modal__x { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-soft); display: grid; place-items: center; transition: .2s; }
.modal__x:hover { background: var(--ink); color: #fff; }
.modal__card h3 { font-size: clamp(21px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin: 6px 0 10px; }
.modal__card .sub { color: var(--ink-2); font-size: 15px; margin-bottom: 22px; }

/* ---------- Reveal ---------- */
.rise { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rise.in { opacity: 1; transform: none; }

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .h-nav { display: none; }
  .h-phone span { display: none; }
}
@media (max-width: 920px) {
  .adv-grid { grid-template-columns: 1fr; }
  .adv { border-left: none; border-top: 1px solid var(--line-2); padding: 26px 0 0; }
  .adv:first-child { border-top: none; padding-top: 0; }
  .plan-grid { grid-template-columns: 1fr; gap: 30px; }
  .quiz { grid-template-columns: 1fr; }
  .dev-grid { grid-template-columns: 1fr; gap: 30px; }
  .feat { grid-template-columns: 1fr; gap: 22px; }
  .feat.rev .feat__media { order: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .h-burger { display: grid; }
  .h-phone { display: none; }
  .header .h-right > a.btn { display: none; }
  .header__bar { padding: 9px 9px 9px 18px; gap: 8px; }
  .brand { font-size: 18px; }
  .h-right { gap: 8px; }
  .h-msg { gap: 6px; }
  .h-msg a { width: 38px; height: 38px; }
  .h-burger { width: 40px; height: 40px; }
  .quiz-opts { grid-template-columns: 1fr; }
  .map-card { position: relative; top: auto; left: auto; transform: none; width: auto; max-width: none; margin: 16px var(--pad); }
  .map-shell { height: auto; }
  .map-canvas { position: relative; height: 360px; }
  .map-pin { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .05ms !important; }
}
