/* ==========================================================================
   «Хайлан» — стоматология в Хэйхэ (КНР)
   Дизайн-система: спокойный медицинский минимализм + тёплые акценты
   ========================================================================== */

:root {
  --ink: #0c1f1c;
  --ink-2: #233b36;
  --muted: #5f716c;
  --teal: #0f5f52;
  --teal-d: #0a473d;
  --teal-l: #e7f1ee;
  --gold: #b8912f;
  --gold-l: #f6edd9;
  --sand: #f8f4ec;
  --line: #e2e6e1;
  --white: #fff;
  --danger: #b03a2e;
  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 18px 50px -22px rgba(12, 31, 28, .28);
  --shadow-s: 0 8px 24px -14px rgba(12, 31, 28, .3);
  --wrap: 1180px;
  --ff: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --fd: 'Manrope', 'Golos Text', -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-d); }
button { font: inherit; cursor: pointer; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }

h1, h2, h3, h4, h5 {
  font-family: var(--fd);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.03em; }
h2 { font-size: clamp(25px, 3vw, 38px); }
h3 { font-size: clamp(20px, 2vw, 25px); }
h4 { font-size: 19px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.sec { padding: clamp(48px, 7vw, 92px) 0; }
.sec--sand { background: var(--sand); }
.sec--teal { background: linear-gradient(160deg, #0c4f45, #0a3d36 60%, #072f2a); color: #dce9e5; }
.sec--teal h2, .sec--teal h3 { color: #fff; }
.sec--tight { padding: clamp(34px, 4vw, 56px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.sec--teal .eyebrow { color: #e5c979; }
.lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--muted); max-width: 62ch; }
.sec--teal .lead { color: #b9cfc9; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.nowrap { white-space: nowrap; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; white-space: nowrap;
  padding: 15px 26px; border-radius: 999px; border: 0;
  font-family: var(--fd); font-weight: 700; font-size: 16px; line-height: 1;
  background: var(--teal); color: #fff; cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
  box-shadow: 0 12px 26px -14px rgba(15, 95, 82, .9);
}
.btn:hover { background: var(--teal-d); color: #fff; transform: translateY(-1px); }
.btn--gold { background: var(--gold); box-shadow: 0 12px 26px -14px rgba(184, 145, 47, .9); }
.btn--gold:hover { background: #a37f24; }
.btn--ghost {
  background: transparent; color: var(--ink); border: 1.5px solid rgba(12, 31, 28, .18);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(12, 31, 28, .04); color: var(--ink); }
.sec--teal .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--sm { padding: 11px 18px; font-size: 15px; }
.btn--wide { width: 100%; }
.btn svg { flex: 0 0 auto; }

/* ---------- шапка ---------- */
.topbar {
  background: var(--ink); color: #cfe0dc; font-size: 13.5px;
}
.topbar .wrap { display: flex; align-items: center; gap: 18px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #cfe0dc; }
.topbar .dot { width: 5px; height: 5px; border-radius: 50%; background: #4bbf9d; }
.topbar .spacer { flex: 1; }

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 16px; min-height: 74px; }

.logo { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.logo__mark {
  width: 44px; height: 44px; border-radius: 13px; flex: 0 0 auto;
  background: linear-gradient(150deg, var(--teal), #0a3d36);
  color: #fff; display: grid; place-items: center;
  font-family: var(--fd); font-weight: 800; font-size: 19px; letter-spacing: -.02em;
  box-shadow: 0 8px 18px -10px rgba(15, 95, 82, .9);
}
.logo__txt { line-height: 1.15; white-space: nowrap; }
.logo__name { font-family: var(--fd); font-weight: 800; font-size: 19px; color: var(--ink); }
.logo__sub { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 9px 8px; border-radius: 10px; color: var(--ink-2); font-size: 14.5px; font-weight: 500;
  white-space: nowrap;
}
.nav a:hover, .nav a.is-active { background: var(--teal-l); color: var(--teal-d); }

.header__cta { display: flex; align-items: center; gap: 12px; }
.header__phone { text-align: right; line-height: 1.2; white-space: nowrap; }
.header__phone b { display: block; font-family: var(--fd); font-size: 17px; color: var(--ink); }
.header__phone span { font-size: 12px; color: var(--muted); }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; align-items: center; justify-content: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--sand); }
.hero::after {
  content: ''; position: absolute; right: -180px; top: -220px; width: 620px; height: 620px;
  background: radial-gradient(circle at 50% 50%, rgba(15, 95, 82, .13), transparent 62%);
  border-radius: 50%; pointer-events: none;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(28px, 4vw, 64px);
  align-items: center; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px);
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 13px; font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.chip--gold { background: var(--gold-l); border-color: #ecdcb7; color: #7d6016; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: #2fa07f; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero__note { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }

.hero__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero__media figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .tall { grid-row: span 2; aspect-ratio: 3 / 4.4; }
.hero__media .wide { aspect-ratio: 4 / 3; }
.hero__badge {
  position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center;
  max-width: 260px;
}
.hero__badge b { font-family: var(--fd); font-size: 22px; display: block; line-height: 1; color: var(--ink); }
.hero__badge span { font-size: 12.5px; color: var(--muted); }

/* ---------- полоса доверия ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 22px;
}
.trust__item { display: flex; gap: 13px; align-items: flex-start; }
.trust__item b { font-family: var(--fd); font-size: 26px; display: block; line-height: 1; color: var(--teal); }
.trust__item span { font-size: 13.5px; color: var(--muted); }

/* ---------- сетки и карточки ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d5dcd6; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card__ico {
  width: 46px; height: 46px; border-radius: 13px; background: var(--teal-l); color: var(--teal-d);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; margin-top: 14px; }

.svc-card { display: flex; flex-direction: column; }
.svc-card__price { margin-top: auto; padding-top: 16px; font-size: 14px; color: var(--muted); }
.svc-card__price b { font-family: var(--fd); font-size: 20px; color: var(--ink); }

/* ---------- заголовок секции ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head h2 { margin-bottom: 6px; }
.sec-head p { max-width: 56ch; color: var(--muted); margin: 0; }

/* ---------- маршрут ---------- */
.route { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: r; }
.route__step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px 20px;
}
.route__step::before {
  counter-increment: r; content: counter(r, decimal-leading-zero);
  font-family: var(--fd); font-weight: 800; font-size: 13px; letter-spacing: .06em;
  color: var(--gold); display: block; margin-bottom: 10px;
}
.route__step h4 { font-size: 17px; margin-bottom: 6px; }
.route__step p { font-size: 14px; color: var(--muted); margin: 0; }
.route__step::after {
  content: ''; position: absolute; right: -14px; top: 50%; width: 14px; height: 1px;
  background: var(--line);
}
.route__step:last-child::after { display: none; }

/* ---------- «до/после» ---------- */
.ba {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; background: #eee; user-select: none; touch-action: pan-y;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); transform: translateX(-1.5px);
}
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .24);
  display: grid; place-items: center; color: var(--teal-d); font-size: 15px; font-weight: 700;
}
.ba__label {
  position: absolute; bottom: 12px; padding: 5px 10px; border-radius: 8px;
  background: rgba(12, 31, 28, .68); color: #fff; font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; backdrop-filter: blur(4px);
}
.ba__label--b { left: 12px; }
.ba__label--a { right: 12px; background: rgba(15, 95, 82, .82); }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case__body { padding: 16px 18px 18px; }
.case__body h4 { margin-bottom: 4px; font-size: 17px; }
.case__body p { margin: 0; font-size: 14px; color: var(--muted); }
.case__tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--teal-d);
  background: var(--teal-l); border-radius: 6px; padding: 3px 8px; margin-bottom: 8px;
}

/* ---------- прайс ---------- */
.price-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.price-tabs button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px;
  font-size: 14.5px; color: var(--ink-2); font-weight: 500;
}
.price-tabs button.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.price-table caption { text-align: left; padding: 0 0 10px; color: var(--muted); font-size: 14px; }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.price-table th { background: var(--sand); font-family: var(--fd); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .price { font-family: var(--fd); font-weight: 700; color: var(--ink); }
.price-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.sec--teal .price-table, .sec--teal .price-table td, .sec--teal .price-table th { color: var(--ink-2); }
.sec--teal .price-table th { color: var(--ink); }
.sec--teal .price-table td { background: #fff; }
.sec--teal .price-table caption { color: #b9cfc9; }

/* ---------- отзывы ---------- */
.reviews { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
@media (min-width: 900px) {
  .reviews { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
  .review { flex: auto; }
}
.review {
  flex: 0 0 min(420px, 84vw); scroll-snap-align: start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.review__top { display: flex; align-items: center; gap: 12px; }
.review__ava {
  width: 44px; height: 44px; border-radius: 50%; background: var(--teal-l); color: var(--teal-d);
  display: grid; place-items: center; font-family: var(--fd); font-weight: 700;
}
.review__name { font-weight: 600; color: var(--ink); font-size: 15.5px; }
.review__city { font-size: 13px; color: var(--muted); }
.review p { font-size: 15.5px; color: var(--ink-2); }
.review__meta { margin-top: auto; font-size: 12.5px; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }

/* ---------- аккордеон ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; background: none; border: 0; text-align: left; padding: 20px 44px 20px 0;
  font-family: var(--fd); font-weight: 600; font-size: 17.5px; color: var(--ink); position: relative;
}
.acc__btn::after {
  content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--teal); font-weight: 400; transition: transform .2s;
}
.acc__item.is-open .acc__btn::after { transform: translateY(-50%) rotate(45deg); }
.acc__panel { display: none; padding: 0 44px 22px 0; color: var(--muted); }
.acc__item.is-open .acc__panel { display: block; }

/* ---------- форма ---------- */
.form-band { position: relative; }
.form-box {
  background: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 42px);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; font: inherit;
  font-size: 15.5px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 95, 82, .1);
}
.field textarea { min-height: 96px; resize: vertical; }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; }
.field--check label { font-weight: 400; font-size: 13px; color: var(--muted); }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.form-msg { display: none; border-radius: 12px; padding: 14px 16px; font-size: 15px; margin-top: 14px; }
.form-msg.is-ok { display: block; background: #e8f6ef; color: #146a4b; }
.form-msg.is-err { display: block; background: #fdecea; color: var(--danger); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.messengers { display: flex; flex-wrap: wrap; gap: 10px; }
.msgr {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--ink);
}
.msgr:hover { border-color: var(--teal); color: var(--teal-d); }
.msgr svg { flex: 0 0 auto; }

/* ---------- статьи ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.post:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post__cover { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: var(--teal-l); }
.post__cover svg { width: 100%; height: 100%; display: block; }
.post__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.post h3 { font-size: 18.5px; line-height: 1.3; margin-bottom: 8px; }
.post p { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; }
.post__meta { margin-top: auto; font-size: 12.5px; color: var(--muted); display: flex; gap: 10px; align-items: center; }

/* ---------- статья ---------- */
.article-head { background: var(--sand); border-bottom: 1px solid var(--line); }
.article-head .wrap { padding: clamp(26px, 4vw, 46px) 22px; max-width: 860px; }
.article-head h1 { font-size: clamp(27px, 3.6vw, 42px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.prose { max-width: 760px; margin: 0 auto; font-size: 17.5px; line-height: 1.75; }
.prose h2 { margin-top: 1.9em; font-size: clamp(23px, 2.4vw, 29px); }
.prose h3 { margin-top: 1.5em; font-size: 21px; }
.prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin-bottom: .5em; }
.prose blockquote {
  margin: 1.4em 0; padding: 18px 22px; border-left: 3px solid var(--teal);
  background: var(--teal-l); border-radius: 0 12px 12px 0; color: var(--ink-2); font-size: 16.5px;
}
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.3em 0; font-size: 15.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.prose th { background: var(--sand); }
.prose img { border-radius: 14px; margin: 1.4em 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; text-align: center; }
.prose .note {
  background: var(--gold-l); border-radius: 14px; padding: 18px 20px; font-size: 15.5px;
  border: 1px solid #eddfbe; margin: 1.4em 0;
}
.prose .note b { color: #7d6016; }

.toc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  margin: 0 0 28px; font-size: 15px;
}
.toc b { display: block; font-family: var(--fd); margin-bottom: 10px; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.1em; }
.toc a { color: var(--ink-2); }

/* ---------- города ---------- */
.cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.city-link {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  font-size: 14.5px; color: var(--ink-2);
}
.city-link:hover { border-color: var(--teal); color: var(--teal-d); background: var(--teal-l); }
.city-link span { font-size: 12px; color: var(--muted); }

/* ---------- футер ---------- */
.footer { background: var(--ink); color: #a9c0bb; font-size: 14.5px; padding: 56px 0 26px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: .02em; }
.footer a { color: #a9c0bb; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer__bottom {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; color: #7f9a94;
}
.footer .logo__name, .footer .logo__sub { color: #fff; }
.footer .logo__sub { color: #7f9a94; }

/* ---------- служебное ---------- */
.breadcrumbs { font-size: 13.5px; color: var(--muted); padding: 18px 0 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { margin: 0 6px; opacity: .5; }

.cta-band {
  background: linear-gradient(135deg, #0d554a, #0a3d36);
  color: #dce9e5; border-radius: 24px; padding: clamp(26px, 4vw, 48px);
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #b9cfc9; margin: 0; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 15.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); font-weight: 500; }

.video-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-card video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.video-card--portrait video { aspect-ratio: 9 / 16; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--teal); color: #fff;
  padding: 12px 18px; z-index: 999; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- адаптив ---------- */
@media (max-width: 1400px) {
  .header__phone { display: none; }
}
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__media { max-width: 620px; }
  .header__phone { display: none; }
  .route { grid-template-columns: repeat(3, 1fr); }
  .route__step::after { display: none; }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__cta { margin-left: auto; }
  .nav.is-open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 18px 20px; gap: 2px;
    box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 13px 12px; font-size: 16px; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .route { grid-template-columns: repeat(2, 1fr); }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .article-head .wrap { padding-top: 20px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4, .cases, .post-grid { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .route { grid-template-columns: 1fr; }
  .hero__media { grid-template-columns: 1fr 1fr; }
  .hero__media .tall { aspect-ratio: 3 / 4; }
  .footer__grid { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: 1fr 1fr; }
  .price-table th, .price-table td { padding: 11px 12px; font-size: 14.5px; }
  .btn { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__badge { left: 0; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Документы и сертификаты */
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doc-card { margin: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.doc-card__img { background: #f7f4ee; padding: 10px; }
.doc-card__img img { width: 100%; height: 200px; object-fit: contain; display: block; border-radius: 6px; }
.doc-card figcaption { padding: 12px 14px 16px; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.doc-card figcaption b { display: block; font-family: var(--fd); font-size: 15.5px; margin-bottom: 4px; }
@media (max-width: 760px) {
  .docs-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .doc-card__img img { height: 150px; }
}

/* Калькулятор-квиз */
.quiz { background:#fff; border-radius:20px; box-shadow:var(--shadow); padding:26px; max-width:760px; }
.quiz__bar { height:5px; background:#ece7de; border-radius:99px; overflow:hidden; margin-bottom:22px; }
.quiz__bar span { display:block; height:100%; background:var(--accent,#157a63); transition:width .25s ease; }
.quiz__step { display:none; }
.quiz__step.is-active { display:block; }
.quiz__step h3 { font-family:var(--fd); font-size:22px; margin:0 0 16px; }
.quiz__options { display:grid; gap:10px; }
.quiz-opt { text-align:left; background:#faf8f4; border:1px solid #e7e1d6; border-radius:12px;
  padding:14px 16px; font-size:15.5px; cursor:pointer; transition:.15s; font-family:inherit; color:var(--ink); }
.quiz-opt:hover { border-color:var(--accent,#157a63); background:#fff; }
.quiz-opt.is-picked { border-color:var(--accent,#157a63); background:#f1f8f5; }
.quiz__form .field { margin-bottom:14px; }
.field__hint { display:block; font-size:13px; color:#7b7568; margin-top:6px; line-height:1.45; }
.file-input { font-size:14px; }

/* Липкая кнопка WhatsApp */
.wa-sticky { position:fixed; right:16px; bottom:16px; z-index:60; display:none;
  align-items:center; gap:10px; background:#25d366; color:#fff; text-decoration:none;
  padding:13px 18px; border-radius:999px; box-shadow:0 10px 26px rgba(37,211,102,.35);
  font-weight:600; font-size:15px; }
.wa-sticky:hover { color:#fff; }
@media (max-width:760px) { .wa-sticky { display:flex; } }

/* Блок куратора */
.kurator { display:grid; grid-template-columns:120px 1fr; gap:22px; align-items:center; }
.kurator__ava { width:120px; height:120px; border-radius:50%; background:var(--ink,#123);
  color:#fff; display:grid; place-items:center; font-family:var(--fd); font-size:46px; font-weight:700; }
.kurator__meta { font-size:14.5px; color:#7b7568; margin-top:6px; }
@media (max-width:600px) { .kurator { grid-template-columns:1fr; } .kurator__ava { width:88px; height:88px; font-size:34px; } }

/* Реквизиты и дисклеймер в подвале */
.footer__legal { margin-top:26px; padding-top:18px; border-top:1px solid rgba(255,255,255,.14);
  font-size:12.5px; line-height:1.6; color:rgba(255,255,255,.62); }
.footer__legal p { margin:0 0 8px; }
.footer__legal b { color:rgba(255,255,255,.85); font-weight:600; }
.footer__legal a { color:rgba(255,255,255,.8); }

/* Cookie-баннер */
.cookie { position:fixed; left:16px; right:16px; bottom:16px; z-index:70; display:flex; gap:16px;
  align-items:center; justify-content:space-between; flex-wrap:wrap;
  background:#fff; border-radius:16px; box-shadow:0 14px 40px rgba(18,32,28,.18);
  padding:16px 18px; max-width:760px; margin:0 auto; font-size:14px; line-height:1.5; }
.cookie p { margin:0; max-width:520px; color:#3c3a34; }
.cookie a { color:inherit; text-decoration:underline; }
.cookie__actions { display:flex; gap:8px; flex-shrink:0; }
.cookie[hidden] { display:none; }
@media (max-width:760px) { .cookie { bottom:78px; } }
