/* ==========================================================================
   КП «Ольгинская гавань» — дизайн-система
   Палитра по пожеланию заказчика: оливковый + синий.
   Оливковый — лес и рельеф Шигонского района (основа, «земля» сайта).
   Синий — Волга и смысл названия «гавань» (акцент, кнопки, ссылки).
   Шрифты: Unbounded (архитектурный дисплей, кириллица) + Golos Text (текст).
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700;800&family=Golos+Text:wght@400;500;600;700&display=swap");

:root {
  /* --- сырые пигменты --- */
  --olive-950: #1b1f14;
  --olive-900: #232819;
  --olive-800: #2e3722;
  --olive-600: #55603c;
  --olive-400: #8b9468;
  --volga-800: #143c51;
  --volga-700: #1f5e7d;
  --volga-500: #2e7b9e;
  --volga-300: #6fb2ce;
  --volga-200: #a6d0e3;
  --sand-50: #f6f6ee;
  --sand-100: #f1f2e9;
  --sand-200: #e0e2d3;
  --sand-700: #5a614c;

  /* --- смысловые токены (светлая тема) --- */
  --bg: var(--sand-100);
  --bg-card: #fbfbf5;
  --text: var(--olive-950);
  --text-muted: var(--sand-700);
  --accent: var(--volga-700);
  --accent-strong: var(--volga-800);
  --accent-contrast: #f4fbff;
  --brand: var(--olive-600);
  --border: var(--sand-200);
  --focus: var(--volga-500);

  /* --- тёмные полосы (одинаковы в обеих темах) --- */
  --band-bg: var(--olive-950);
  --band-bg-elevated: #242a1b;
  --band-text: var(--sand-100);
  --band-muted: #a0a98c;
  --band-border: #333a26;
  --band-accent: var(--volga-300);

  --radius-s: 3px;
  --radius-m: 6px;
  --shadow-card: 0 1px 2px rgba(27, 31, 20, 0.06), 0 8px 24px -12px rgba(27, 31, 20, 0.25);

  --fs-h1: clamp(2.4rem, 1.5rem + 4.2vw, 4.6rem);
  --fs-h2: clamp(1.85rem, 1.45rem + 1.8vw, 2.8rem);
  --fs-h3: clamp(1.3rem, 1.15rem + 0.7vw, 1.65rem);
  --fs-lead: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  --fs-eyebrow: 0.8rem;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.25rem;
  --space-5: 3.5rem;
  --space-6: 5.5rem;

  --content-w: 74rem;
  --measure: 62ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14170f;
    --bg-card: #1c2016;
    --text: var(--sand-100);
    --text-muted: #a0a98c;
    --accent: var(--volga-300);
    --accent-strong: var(--volga-200);
    --accent-contrast: #0c1a22;
    --brand: #9faf7c;
    --border: #2c3324;
    --focus: var(--volga-300);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 28px -12px rgba(0, 0, 0, 0.6);
  }
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Golos Text", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* height:auto обязателен: у картинок проставлены width/height-атрибуты (чтобы
   не было скачка вёрстки при загрузке), и без него браузер берёт высоту из
   атрибута, а ширину ужимает по max-width — картинку растягивает по вертикали.
   Правила с object-fit ниже (.house-card-media img и т.п.) специфичнее и
   продолжают задавать свои размеры. */
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: "Unbounded", "Golos Text", sans-serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  color: inherit;
}

p { margin: 0; }
a { color: inherit; }
button { font-family: inherit; }

:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; }

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

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--accent); color: var(--accent-contrast);
  padding: 0.6rem 1rem; border-radius: var(--radius-s); z-index: 200;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

::selection { background: var(--volga-700); color: #f4fbff; }

/* ---------- layout helpers ---------- */
.wrap { width: min(100% - 2.5rem, var(--content-w)); margin-inline: auto; }
@media (min-width: 60rem) { .wrap { width: min(100% - 6rem, var(--content-w)); } }

section { padding-block: var(--space-6); }
.band { background: var(--band-bg); color: var(--band-text); }
.band .text-muted { color: var(--band-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.band .eyebrow { color: var(--band-accent); }
.eyebrow::before { content: ""; width: 1.6em; height: 1.5px; background: currentColor; display: inline-block; }

.text-muted { color: var(--text-muted); }
.measure { max-width: var(--measure); }

.section-head { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: var(--space-4); }
.section-head h2 { font-size: var(--fs-h2); }

.grid-2 { display: grid; gap: var(--space-4); }
@media (min-width: 56rem) { .grid-2 { grid-template-columns: 1.1fr 0.9fr; align-items: center; } }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-weight: 600; font-size: 0.95rem;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-s);
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-primary:hover { background: var(--accent-strong); }
.band .btn-primary { background: var(--volga-500); color: #f4fbff; }
.band .btn-primary:hover { background: var(--volga-300); color: var(--olive-950); }
.btn-ghost { background: transparent; color: var(--band-text); border-color: rgba(241, 242, 233, 0.35); }
.btn-ghost:hover { border-color: rgba(241, 242, 233, 0.8); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.5em 1em; border-radius: 999px;
  border: 1.5px solid var(--border); background: var(--bg-card);
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fbfbf5; }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding-block: 1.1rem;
  transition: background-color 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.is-scrolled { background: var(--band-bg); padding-block: 0.7rem; box-shadow: 0 1px 0 var(--band-border); }

.brand {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: #fbfbf5;
  font-family: "Unbounded", sans-serif; font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.01em; line-height: 1.1;
}
.brand svg { width: 1.6rem; height: 1.6rem; flex-shrink: 0; color: var(--volga-300); }
.brand b { font-weight: 700; }
.brand span { display: block; font-family: "Golos Text", sans-serif; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--volga-200); }

.nav-links { display: none; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: #d7dbcb; font-size: 0.9rem; font-weight: 500; transition: color 0.15s ease; }
.nav-links a:hover { color: #fbfbf5; }
@media (min-width: 76rem) { .nav-links { display: flex; gap: 1.25rem; } }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-phone { display: none; text-decoration: none; color: #fbfbf5; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.nav-phone:hover { color: var(--volga-300); }
@media (min-width: 46rem) { .nav-phone { display: inline-flex; } }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; background: transparent;
  border: 1.5px solid rgba(241,242,233,0.35); border-radius: var(--radius-s);
  color: #fbfbf5; cursor: pointer;
}
@media (min-width: 76rem) { .menu-toggle { display: none; } }

.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--band-bg);
  padding: 6.5rem 1.75rem 2rem; display: none; flex-direction: column; gap: 1.75rem;
  overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-nav a { text-decoration: none; color: #fbfbf5; font-family: "Unbounded", sans-serif; font-size: 1.25rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: 8rem; padding-bottom: var(--space-6);
  color: #fbfbf5; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(175deg, rgba(20,60,81,0.42) 0%, rgba(27,31,20,0.36) 42%, rgba(27,31,20,0.93) 100%),
    url("../img/hero/street-main.jpg");
  background-size: cover; background-position: center 62%;
}
.hero-inner { max-width: 47rem; display: flex; flex-direction: column; gap: 1.4rem; }
.hero h1 { font-size: var(--fs-h1); }
.hero .lead { font-size: var(--fs-lead); color: #e6e9dc; max-width: 39rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.4rem; }

.stat-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin-top: var(--space-4);
  background: rgba(241,242,233,0.18);
  border: 1px solid rgba(241,242,233,0.18);
  border-radius: var(--radius-m); overflow: hidden;
}
@media (min-width: 34rem) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { background: rgba(20,23,15,0.6); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.25rem; }
.stat b {
  font-family: "Unbounded", sans-serif; font-size: 1.45rem; font-weight: 600;
  font-variant-numeric: tabular-nums; color: #fbfbf5;
}
.stat span { font-size: 0.8rem; color: #c3c9b4; }

/* ---------- about ---------- */
.about-media img { border-radius: var(--radius-m); }
.about-figure-cap { margin-top: 0.75rem; font-size: 0.85rem; color: var(--text-muted); }
.pull-quote {
  font-family: "Unbounded", sans-serif; font-size: 1.12rem; font-weight: 500; line-height: 1.42;
  padding-left: 1.2rem; border-left: 3px solid var(--accent); margin-block: var(--space-3);
}
.fact-list { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: 0.9rem; }
.fact-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.fact-list li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  margin-top: 0.55em; flex-shrink: 0;
}

/* ---------- marina ---------- */
.marina-section { padding-top: var(--space-5); }
.marina-intro {
  display: grid; gap: var(--space-3); align-items: end;
  margin-bottom: var(--space-4);
}
.marina-intro > div { display: flex; flex-direction: column; gap: 0.9rem; }
.marina-intro h2 { font-size: var(--fs-h2); }
.marina-lead { max-width: 43rem; font-size: var(--fs-lead); color: var(--text-muted); }
@media (min-width: 56rem) {
  .marina-intro { grid-template-columns: 0.8fr 1.2fr; }
  .marina-lead { justify-self: end; }
}

.marina-figure {
  position: relative; min-height: clamp(30rem, 58vw, 40rem);
  margin: 0; overflow: hidden;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  background: var(--olive-900); color: #fbfbf5;
}
.marina-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 22, 14, 0.88) 0%, rgba(15, 22, 14, 0.48) 40%, rgba(15, 22, 14, 0.04) 72%),
              linear-gradient(0deg, rgba(15, 22, 14, 0.42) 0%, transparent 38%);
  pointer-events: none;
}
.marina-figure > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
}
.marina-figure figcaption {
  position: absolute; z-index: 2; right: 1.1rem; top: 1rem;
  padding: 0.35rem 0.6rem; border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px; background: rgba(17,24,15,0.48);
  color: rgba(255,255,255,0.78); font-size: 0.7rem; letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}
.marina-figure-copy {
  position: absolute; z-index: 2; left: clamp(1.25rem, 5vw, 4rem); bottom: clamp(1.5rem, 5vw, 4rem);
  width: min(31rem, calc(100% - 2.5rem)); display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem;
}
.marina-figure-copy > span {
  color: var(--volga-200); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.marina-figure-copy strong {
  font-family: "Unbounded", "Golos Text", sans-serif;
  font-size: clamp(1.55rem, 1.15rem + 1.6vw, 2.45rem); line-height: 1.15;
}
.marina-figure-copy p { max-width: 35rem; color: #dce1d3; font-size: 1rem; }
.marina-figure-copy .btn { margin-top: 0.35rem; }

.marina-facts {
  display: grid; gap: 1px; grid-template-columns: 1fr;
  overflow: hidden; border: 1px solid var(--border); border-top: 0;
  border-radius: 0 0 var(--radius-m) var(--radius-m); background: var(--border);
}
@media (min-width: 48rem) { .marina-facts { grid-template-columns: repeat(3, 1fr); } }
.marina-fact {
  min-width: 0; display: grid; grid-template-columns: auto 1fr; gap: 1rem;
  align-items: start; padding: var(--space-3); background: var(--bg-card);
}
.marina-fact > b {
  min-width: 3.7rem; color: var(--accent);
  font-family: "Unbounded", "Golos Text", sans-serif;
  font-size: clamp(1.65rem, 1.35rem + 1vw, 2.15rem); line-height: 1;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.marina-fact > b.marina-fact-word { font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.7rem); }
.marina-fact h3 { font-family: "Golos Text", sans-serif; font-size: 1rem; font-weight: 700; }
.marina-fact p { margin-top: 0.3rem; color: var(--text-muted); font-size: 0.86rem; line-height: 1.45; }
.marina-note { max-width: 62rem; margin-top: 0.85rem; color: var(--text-muted); font-size: 0.78rem; }

@media (max-width: 40rem) {
  .marina-figure { min-height: 33rem; }
  .marina-figure::after {
    background: linear-gradient(0deg, rgba(15,22,14,0.94) 0%, rgba(15,22,14,0.58) 48%, rgba(15,22,14,0.06) 82%);
  }
  .marina-figure > img { object-position: center 58%; }
  .marina-figure-copy { left: 1.25rem; right: 1.25rem; bottom: 1.5rem; width: auto; }
  .marina-figure-copy .btn { width: 100%; white-space: normal; text-align: center; }
  .marina-fact { grid-template-columns: 5rem 1fr; }
}

/* ---------- amenities ---------- */
.amenities-grid {
  display: grid; gap: 1px; grid-template-columns: 1fr;
  background: var(--band-border); border: 1px solid var(--band-border);
  border-radius: var(--radius-m); overflow: hidden;
}
@media (min-width: 40rem) { .amenities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .amenities-grid { grid-template-columns: repeat(4, 1fr); } }
.amenity { background: var(--band-bg-elevated); padding: var(--space-3) var(--space-2); display: flex; flex-direction: column; gap: 0.9rem; }
.amenity-icon {
  width: 2.6rem; height: 2.6rem; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-s); background: rgba(111, 178, 206, 0.14); color: var(--volga-300);
}
.amenity h3 { font-size: 1.02rem; font-family: "Golos Text", sans-serif; font-weight: 700; }
.amenity p { font-size: 0.88rem; color: var(--band-muted); }

/* ---------- genplan ---------- */
.genplan-figure { border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--border); background: var(--bg-card); }
/* На узких экранах схема ужимается до нечитаемого — даём прокрутить её по
   горизонтали в натуральном масштабе вместо того, чтобы вписывать в 350px. */
.genplan-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.genplan-scroll img { width: 100%; }
@media (max-width: 46rem) {
  .genplan-scroll img { width: auto; max-width: none; height: 62vh; }
}
.genplan-hint {
  display: none; align-items: center; gap: 0.5rem;
  margin-top: 0.75rem; font-size: 0.85rem; color: var(--text-muted);
}
.genplan-hint svg { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
@media (max-width: 46rem) { .genplan-hint { display: flex; } }
.genplan-open { display: inline-flex; margin-top: 0.9rem; font-size: 0.86rem; padding: 0.7em 1.2em; }
.genplan-legend { display: grid; gap: 0.9rem; margin-top: var(--space-3); grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; }
@media (min-width: 40rem) { .genplan-legend { grid-template-columns: repeat(3, 1fr); } }
.genplan-legend li { display: flex; gap: 0.6rem; align-items: center; font-size: 0.9rem; }
.legend-dot { width: 0.7rem; height: 0.7rem; border-radius: 2px; flex-shrink: 0; }

/* ---------- house cards ---------- */
.houses-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 46rem) { .houses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .houses-grid { grid-template-columns: repeat(3, 1fr); } }

.house-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-m);
  overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column;
}
.house-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-200); }
.house-card-media img { width: 100%; height: 100%; object-fit: cover; }
.house-card-tag {
  position: absolute; top: 0.9rem; left: 0.9rem;
  background: rgba(27,31,20,0.8); color: #fbfbf5;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.35em 0.75em; border-radius: 999px;
}
.house-card-body { padding: var(--space-3); display: flex; flex-direction: column; gap: 0.9rem; flex: 1; }
.house-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.house-card-head h3 { font-size: 1.22rem; }
.house-card-area { font-family: "Unbounded", sans-serif; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.house-card-style { color: var(--text-muted); font-size: 0.9rem; margin-top: -0.4rem; }

.spec-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; padding-top: 0.9rem; border-top: 1px solid var(--border); }
.spec { display: flex; flex-direction: column; gap: 0.15rem; }
.spec b { font-variant-numeric: tabular-nums; font-size: 1.02rem; }
.spec span { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

.house-card-actions { display: flex; gap: 0.6rem; margin-top: auto; padding-top: 0.4rem; }
.house-card-actions .btn { flex: 1; font-size: 0.86rem; padding: 0.75em 0.9em; }

/* ---------- modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(20,23,15,0.75);
  display: none; align-items: flex-start; justify-content: center;
  padding: 3.5rem 1.25rem; overflow-y: auto; z-index: 200;
}
.modal-backdrop.is-open { display: flex; }
.modal { background: var(--bg-card); color: var(--text); border-radius: var(--radius-m); max-width: 52rem; width: 100%; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); }
.modal-media { display: grid; grid-template-columns: 1fr; gap: 2px; background: var(--border); }
@media (min-width: 40rem) { .modal-media { grid-template-columns: 1fr 1fr; } }
.modal-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.modal-body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); }
.modal-close {
  position: sticky; float: right; top: 0.75rem; margin-right: 0.75rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: rgba(20,23,15,0.65); color: #fbfbf5; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; z-index: 5;
}
.modal-rooms { display: grid; gap: 0.5rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 32rem) { .modal-rooms { grid-template-columns: 1fr 1fr 1fr; } }
.modal-rooms div { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.88rem; padding: 0.4rem 0; border-bottom: 1px dashed var(--border); }
.modal-rooms b { font-variant-numeric: tabular-nums; font-weight: 600; }
.modal-sub { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.5rem; }

/* ---------- calculator ---------- */
.calc-panel {
  background: var(--band-bg-elevated); border: 1px solid var(--band-border);
  border-radius: var(--radius-m); padding: var(--space-4); display: grid; gap: var(--space-4);
}
.calc-filters { display: grid; gap: var(--space-3); }
.calc-filter-group { display: flex; flex-direction: column; gap: 0.7rem; }
.calc-filter-group h4 { font-family: "Golos Text", sans-serif; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--band-muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.band .chip { background: rgba(241,242,233,0.05); color: var(--band-text); border-color: var(--band-border); }
.band .chip:hover { border-color: var(--volga-300); }
.band .chip[aria-pressed="true"] { background: var(--volga-500); border-color: var(--volga-500); color: #f4fbff; }

.calc-result-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.calc-result-head p { color: var(--band-muted); font-size: 0.9rem; }
.calc-results { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .calc-results { grid-template-columns: repeat(2, 1fr); } }
.calc-card {
  background: var(--band-bg); border: 1px solid var(--band-border); border-radius: var(--radius-s);
  padding: 1.1rem 1.2rem; display: flex; gap: 1rem; align-items: center;
  text-align: left; cursor: pointer; width: 100%; color: inherit;
  transition: border-color 0.15s ease;
}
.calc-card:hover { border-color: var(--volga-300); }
.calc-card img { width: 5.5rem; height: 5.5rem; object-fit: cover; border-radius: var(--radius-s); flex-shrink: 0; }
.calc-card-info { display: flex; flex-direction: column; gap: 0.3rem; }
.calc-card-info b { font-family: "Unbounded", sans-serif; font-size: 0.98rem; }
.calc-card-info span { font-size: 0.82rem; color: var(--band-muted); font-variant-numeric: tabular-nums; }
.calc-empty { padding: 2rem 1rem; text-align: center; color: var(--band-muted); font-size: 0.95rem; }

/* ---------- how to buy ---------- */
.buy-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 46rem) { .buy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .buy-grid { grid-template-columns: repeat(4, 1fr); } }
.buy-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-m);
  padding: var(--space-3); display: flex; flex-direction: column; gap: 0.7rem;
}
.buy-card h3 { font-size: 1.05rem; font-family: "Golos Text", sans-serif; font-weight: 700; }
.buy-card p { font-size: 0.9rem; color: var(--text-muted); }
.buy-card .tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); background: rgba(31,94,125,0.1);
  padding: 0.35em 0.7em; border-radius: 999px;
}
@media (prefers-color-scheme: dark) { .buy-card .tag { background: rgba(111,178,206,0.14); } }

/* ---------- docs ---------- */
.docs-list { display: grid; gap: 1px; background: var(--band-border); border: 1px solid var(--band-border); border-radius: var(--radius-m); overflow: hidden; }
.doc-row {
  background: var(--band-bg-elevated); padding: 1.15rem var(--space-3);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.doc-row-main { display: flex; align-items: center; gap: 0.9rem; }
.doc-row-main svg { width: 1.35rem; height: 1.35rem; color: var(--band-accent); flex-shrink: 0; }
.doc-row b { font-weight: 600; font-size: 0.98rem; }
.doc-row small { display: block; color: var(--band-muted); font-size: 0.82rem; margin-top: 0.1rem; }
.doc-status { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--band-muted); border: 1px solid var(--band-border); padding: 0.35em 0.8em; border-radius: 999px; white-space: nowrap; }
.doc-status.is-ready { color: var(--volga-300); border-color: rgba(111,178,206,0.4); }

/* ---------- location ---------- */
.map-frame { border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--border); background: var(--bg-card); }
.map-frame iframe { display: block; width: 100%; height: 24rem; border: 0; }
.map-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.map-actions .btn { font-size: 0.86rem; padding: 0.7em 1.2em; }
.location-facts { display: grid; gap: 0.75rem; margin-top: var(--space-3); list-style: none; padding: 0; }
.location-facts li { display: flex; gap: 0.75rem; font-size: 0.92rem; }
.location-facts b { flex-shrink: 0; color: var(--accent); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--band-muted); }
.field input, .field textarea {
  background: var(--band-bg); border: 1.5px solid var(--band-border); color: var(--band-text);
  border-radius: var(--radius-s); padding: 0.8em 1em; font-size: 0.95rem; font-family: inherit;
}
.field input:focus, .field textarea:focus { border-color: var(--volga-300); }
.form-note { font-size: 0.8rem; color: var(--band-muted); margin-top: 0.75rem; }
.form-success {
  display: none; align-items: center; gap: 0.8rem; margin-top: 1rem;
  background: rgba(46,123,158,0.16); border: 1px solid var(--volga-500);
  padding: 1rem 1.2rem; border-radius: var(--radius-s); font-size: 0.92rem;
}
.form-success.is-visible { display: flex; }
.contact-card { background: var(--band-bg-elevated); border: 1px solid var(--band-border); border-radius: var(--radius-m); padding: var(--space-3); display: flex; flex-direction: column; gap: 1.4rem; margin: 0; }
.contact-card dt { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--band-muted); }
.contact-card dd { margin: 0.3rem 0 0; font-size: 1.05rem; font-weight: 600; }
.contact-card dd a { text-decoration: none; }
.contact-card dd a:hover { color: var(--volga-300); }

/* ---------- footer ---------- */
.site-footer { background: var(--band-bg); color: var(--band-muted); padding-block: var(--space-3); font-size: 0.82rem; border-top: 1px solid var(--band-border); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer-disclaimer { max-width: 42rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 2.1rem; height: 2.1rem; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--band-border); border-radius: var(--radius-s); color: var(--band-muted);
  text-decoration: none; transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-social a:hover { color: var(--volga-300); border-color: var(--volga-300); }
.footer-social svg { width: 1.05rem; height: 1.05rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
