/* ============================================================
   Дойче Вет — ветеринарная клиника, Пермь
   Дизайн-система: доверие (тёплый тил) + теплота (коралл)
   ============================================================ */

:root{
  /* Палитра бренда «Deutsche Vet» — цвета логотипа: графит + красный + жёлтый */
  --brand:        #D93A31;   /* красный — основной акцент и действие */
  --brand-600:    #C1302A;
  --brand-700:    #9E2721;
  --brand-050:    #FCEBE9;   /* светлая красная подложка */
  --brand-100:    #F6D5D1;

  --accent:       #F2B01A;   /* жёлтый / золото — теплота, выделения */
  --accent-600:   #CE9412;
  --accent-050:   #FDF3D8;

  --gold:         #F2B01A;   /* награды, звёзды */
  --gold-050:     #FDF3D8;

  --graphite:     #2E2E30;   /* тёмно-серый фон логотипа */
  --graphite-2:   #242426;

  --ink:          #24211F;   /* основной текст (тёплый графит) */
  --ink-2:        #4C4844;   /* вторичный текст */
  --muted:        #7E7873;   /* приглушённый */
  --line:         #E8E4DF;   /* границы */

  --bg:           #FAF8F5;   /* тёплый светло-серый фон */
  --surface:      #FFFFFF;   /* карточки */
  --surface-2:    #F3F1ED;   /* лёгкая подложка */

  --shadow-sm: 0 1px 2px rgba(35,30,28,.05), 0 2px 8px rgba(35,30,28,.04);
  --shadow-md: 0 6px 20px rgba(35,30,28,.08), 0 2px 6px rgba(35,30,28,.05);
  --shadow-lg: 0 20px 50px rgba(35,30,28,.14);

  --radius:   18px;
  --radius-sm:12px;
  --radius-lg:28px;

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 40px);

  /* Текст/UI — Inter: эталонная читаемость и поддержка кириллицы,
     лицензионно безопасен в РФ (open-source). Максимум конверсии. */
  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Дисплейный шрифт заголовков — Golos Text (ParaType): строгий
     российский гротеск с «немецкой» точностью, высокое доверие.
     Такие чистые гротески используют лидеры рынка РФ (Сотников,
     Белый Клык, Прайд). Open-source — без лицензионных рисков. */
  --ff-display: "Golos Text", "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
/* Горизонтальный перелив не должен двигать страницу (не ломает position:sticky, в отличие от hidden). */
html, body{ overflow-x:clip; }
body{
  margin:0;
  font-family:var(--ff);
  color:var(--ink);
  background:var(--bg);
  line-height:1.65;
  font-size:clamp(15px,1.05vw,17px);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  font-feature-settings:"kern","liga","calt";
  font-kerning:normal;
  overflow-x:clip;
}
img{ max-width:100%; display:block; height:auto; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{
  line-height:1.15; letter-spacing:-.02em; font-weight:800; margin:0 0 .4em;
  /* Заголовки не разрывают слова и не переносятся по буквам, строки балансируются */
  text-wrap:balance; overflow-wrap:normal; word-break:keep-all; hyphens:none;
}
/* Крупные заголовки — строгим гротеском Golos Text (брендовый характер,
   «немецкая» точность), служебные h3/h4 — Inter для чёткости интерфейса. */
h1,h2{
  font-family:var(--ff-display); font-weight:800;
  letter-spacing:-.025em; line-height:1.06;
  font-feature-settings:"kern","liga","calt";
}
h1{ font-size:clamp(2.3rem,4.8vw,3.9rem); }
h2{ font-size:clamp(1.85rem,3.4vw,2.7rem); }
h3{ font-size:clamp(1.15rem,1.6vw,1.35rem); }
p{ margin:0 0 1rem; }
/* Телефоны и подписи в кнопках — всегда в одну строку, без переносов */
a[href^="tel:"]{ white-space:nowrap; }
.header__phone b, .loc__row a[href^="tel:"], .cta__actions a{ white-space:nowrap; }
:focus-visible{ outline:3px solid var(--accent); outline-offset:2px; border-radius:6px; }

/* ---------- Layout ---------- */
.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:var(--gutter); }

/* Подстраницы: первая секция с крошками — компактный верхний отступ */
.section--sub{ padding-top:clamp(18px,3vw,30px); }
/* Хлебные крошки (SEO + навигация на подстраницах) */
.crumbs{ font-size:.86rem; color:var(--muted); margin:0 0 clamp(16px,2.4vw,24px); display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.crumbs a{ color:var(--brand-600); font-weight:600; }
.crumbs a:hover{ color:var(--brand); }
.crumbs span[aria-current]{ color:var(--ink-2); }
/* Визуально скрытый текст (для SEO/доступности: h1 там, где по дизайну заголовок не нужен) */
.vh{ position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.section{ padding:clamp(40px,5.5vw,72px) 0; }
.section--tint{ background:var(--surface-2); }
.section--brand{ background:linear-gradient(160deg,var(--graphite-2),var(--graphite) 75%); color:#fff; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.74rem; font-weight:700; letter-spacing:.22em; text-transform:uppercase;
  color:var(--brand); background:var(--brand-050);
  padding:7px 15px; border-radius:999px; margin-bottom:18px;
}
.section--brand .eyebrow{ color:#fff; background:rgba(255,255,255,.14); }
.section--brand .lead{ color:rgba(255,255,255,.84); }
.section__head{ max-width:720px; margin-bottom:clamp(22px,3.5vw,40px); }
.section__head.center{ margin-inline:auto; text-align:center; }
.lead{ font-size:clamp(1.05rem,1.5vw,1.24rem); color:var(--ink-2); line-height:1.55; }

.skip-link{
  position:absolute; left:12px; top:-60px; z-index:200;
  background:var(--brand); color:#fff; padding:10px 16px; border-radius:10px;
  transition:top .2s;
}
.skip-link:focus{ top:12px; }

/* ---------- Buttons ---------- */
.btn{
  --bg:var(--brand); --fg:#fff;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  background:var(--bg); color:var(--fg);
  padding:14px 26px; border-radius:999px; border:0;
  font-weight:700; font-size:1rem; line-height:1;
  box-shadow:var(--shadow-sm); transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn:active{ transform:translateY(0); }
.btn--accent{ --bg:var(--brand); }
.btn--accent:hover{ background:var(--brand-600); }
.btn--gold{ --bg:var(--accent); --fg:var(--ink); }
.btn--gold:hover{ background:var(--accent-600); }
.btn--ghost{ --bg:transparent; --fg:var(--brand-600); box-shadow:inset 0 0 0 2px var(--brand-100); }
.btn--ghost:hover{ background:var(--brand-050); }
.btn--white{ --bg:#fff; --fg:var(--brand-600); }
.btn--lg{ padding:17px 34px; font-size:1.06rem; }
.btn--block{ width:100%; }
/* На мобильных длинные CTA-кнопки переносятся, а не растягивают страницу вширь. */
@media (max-width:560px){
  .btn--lg{ white-space:normal; line-height:1.3; text-align:center; max-width:100%; box-sizing:border-box; }
}

/* ---------- Header ---------- */
.header{
  position:sticky; top:0; z-index:100;
  background:rgba(251,250,247,.82);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .25s, box-shadow .25s, background .25s;
}
.header.scrolled{ border-bottom-color:var(--line); box-shadow:var(--shadow-sm); background:rgba(251,250,247,.94); }
.header__bar{ display:flex; flex-wrap:nowrap; align-items:center; gap:20px; height:72px; }
.brand{ display:flex; align-items:center; gap:12px; flex-shrink:0; min-width:0; }
.brand img{ height:42px; width:auto; border-radius:8px; }
.brand__name{ font-weight:800; font-size:1.15rem; letter-spacing:-.01em; line-height:1.05; white-space:nowrap; }
.brand__name span{ display:block; margin-top:5px; font-size:.66rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); white-space:nowrap; }

.nav{ display:flex; flex-wrap:nowrap; align-items:center; gap:2px; margin-left:auto; }
.nav a{
  padding:9px 12px; border-radius:10px; font-weight:600; font-size:.94rem; color:var(--ink-2);
  white-space:nowrap; transition:background .15s,color .15s;
}
.nav a:hover{ background:var(--brand-050); color:var(--brand); }
.header__cta{ display:flex; align-items:center; gap:12px; margin-left:12px; }
.header__phone{ display:flex; flex-direction:column; gap:5px; line-height:1.1; font-weight:800; color:var(--ink); }
.header__phone small{ font-weight:600; font-size:.68rem; color:var(--muted); letter-spacing:.02em; }
.header__phone b{ font-size:1.02rem; }

.burger{
  display:none; width:46px; height:46px; border:1px solid var(--line); border-radius:12px;
  background:var(--surface); flex-direction:column; align-items:center; justify-content:center; gap:5px; margin-left:auto;
}
.burger span{ width:20px; height:2px; background:var(--ink); border-radius:2px; transition:.25s; }
.burger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{ position:relative; padding:clamp(28px,4vw,56px) 0 clamp(32px,5vw,64px); }
.hero__grid{ display:grid; grid-template-columns:1fr 1.04fr; gap:clamp(30px,4.5vw,58px); align-items:center; }
.hero__badge{
  display:inline-flex; align-items:center; gap:9px; margin-bottom:18px;
  background:var(--accent-050); color:var(--accent-600); font-weight:700; font-size:.88rem;
  padding:8px 15px; border-radius:999px;
}
.hero__badge .dot{ width:9px; height:9px; border-radius:50%; background:var(--brand); box-shadow:0 0 0 0 rgba(217,58,49,.6); animation:pulse 2s infinite; }
@keyframes pulse{ 70%{ box-shadow:0 0 0 10px rgba(217,58,49,0);} 100%{ box-shadow:0 0 0 0 rgba(217,58,49,0);} }
.hero h1{ margin-bottom:.44em; }
.hero h1 em{ font-style:normal; font-weight:800; color:var(--brand); letter-spacing:-.02em; }
.hero__sub{ font-size:clamp(1.05rem,1.5vw,1.22rem); color:var(--ink-2); max-width:38ch; margin-bottom:18px; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:18px; }
.hero__chips{ display:flex; flex-wrap:wrap; gap:10px 22px; }
.hero__chip{ display:flex; align-items:center; gap:9px; font-weight:600; font-size:.95rem; color:var(--ink-2); }
.hero__chip svg{ color:var(--brand); flex-shrink:0; }

.hero__media{ position:relative; }
.hero__slider{ position:relative; }
.hero__frame{
  border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg);
  aspect-ratio:4/5; background:var(--brand-050);
}
/* На десктопе ограничиваем высоту слайдера высотой экрана (минус topbar+шапка+отступы),
   чтобы промо-плашка внизу была видна сразу, без прокрутки. */
@media (min-width:1081px){
  .hero__frame{
    aspect-ratio:auto;
    height:min(540px, calc(100svh - 200px));
  }
}
.hero__slides{ display:flex; height:100%; transition:transform .55s cubic-bezier(.4,0,.2,1); }
.hero__slide{ position:relative; flex:0 0 100%; min-width:100%; height:100%; margin:0; }
.hero__slide img{ width:100%; height:100%; object-fit:cover; object-position:center 40%; display:block; }
/* Промо-плашка поверх фото: заголовок + 1–2 предложения (акции/актуальное) */
/* Заголовок — плавающая плашка у верхнего края, выдвинута за правый край фото.
   Живёт на уровне .hero__slider (overflow виден), поэтому не обрезается рамкой слайдера.
   Размер подстраивается под текст (fit-content), текст — по левому краю.
   Рамка: красная по периметру + толстая золотая слева (цвета логотипа) — выделяется, но в тон. */
.hero__promo-title{
  position:absolute; top:10px; left:74%; transform:translateX(-50%); z-index:5;
  width:auto; max-width:none; white-space:nowrap; text-align:center;
  font-family:var(--ff-display); font-weight:800; color:var(--ink); letter-spacing:-.02em;
  font-size:clamp(1rem,1.4vw,1.28rem); line-height:1.18;
  background:rgba(255,255,255,.97); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  border:2px solid var(--brand); border-left:5px solid var(--accent);
  border-radius:12px; padding:9px 15px 10px 14px;
  box-shadow:0 12px 30px rgba(0,0,0,.22);
}
@media (max-width:1080px){
  /* В узком слайдере заголовок остаётся внутри фото и ниже точек навигации. */
  .hero__promo-title{
    top:36px; left:14px; right:14px; transform:none;
    width:fit-content; max-width:calc(100% - 28px); margin-inline:auto;
    white-space:normal; overflow-wrap:anywhere; text-align:center;
    font-size:clamp(.95rem,2vw,1.1rem); line-height:1.25;
    padding:8px 12px;
  }
}
/* Основной текст — белый блок внизу фото (без акцентной линии слева) */
.hero__promo{
  position:absolute; left:clamp(14px,3%,24px); right:clamp(14px,3%,24px); bottom:clamp(14px,3%,24px);
  z-index:2; background:rgba(255,255,255,.96); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.7);
  border-radius:16px; padding:15px 18px; box-shadow:0 12px 34px rgba(0,0,0,.20);
}
.hero__caption-title{ display:none; }
.hero__promo-text{ margin:0; color:var(--ink-2); font-size:clamp(.9rem,1vw,1rem); line-height:1.45; }
.hero__nav{
  position:absolute; top:50%; transform:translateY(-50%); z-index:4;
  width:42px; height:42px; border:0; border-radius:50%; cursor:pointer;
  background:rgba(255,255,255,.92); color:var(--ink); box-shadow:var(--shadow-md);
  font-size:1.5rem; line-height:1; display:grid; place-items:center;
  transition:background .2s, transform .2s, opacity .2s;
}
.hero__nav:hover{ background:#fff; transform:translateY(-50%) scale(1.06); }
.hero__nav--prev{ left:12px; } .hero__nav--next{ right:12px; }
.hero__dots{ position:absolute; left:clamp(14px,4%,22px); top:14px; z-index:4; display:flex; justify-content:flex-start; gap:7px; }
.hero__dot{ width:8px; height:8px; padding:0; border:0; border-radius:50%; cursor:pointer; background:rgba(255,255,255,.7); box-shadow:0 1px 3px rgba(0,0,0,.3); transition:background .2s, width .2s; }
.hero__dot.is-active{ background:#fff; width:22px; border-radius:5px; }
@media (max-width:560px){
  /* Мобильный вариант 02: фото и общая подпись — одна карточка.
     Высота дорожки определяется самой длинной подписью, без скачков между слайдами. */
  .hero__media{ width:100%; }
  .hero__slider{ container-type:inline-size; }
  .hero__frame{ aspect-ratio:auto; background:var(--surface); border:1px solid var(--line); }
  .hero__slides{ height:auto; align-items:stretch; }
  .hero__slide{ display:flex; flex-direction:column; height:auto; min-width:0; }
  .hero__slide img{ height:auto; aspect-ratio:4/3; flex:none; }
  .hero__promo-title{ display:none; }
  .hero__promo{
    position:static; flex:1; padding:20px; margin:0;
    background:var(--surface); border:0; border-radius:0; box-shadow:none;
    -webkit-backdrop-filter:none; backdrop-filter:none;
  }
  .hero__caption-title{
    display:block; margin:0 0 9px; font-family:var(--ff-display); font-weight:700;
    font-size:1.25rem; line-height:1.25; letter-spacing:-.025em;
    color:var(--ink); overflow-wrap:anywhere;
  }
  .hero__promo-text{ font-size:.875rem; line-height:1.5; }
  .hero__nav{ top:30%; top:37.5cqw; width:44px; height:44px; font-size:1.5rem; }
}

/* ---------- Trust strip ---------- */
.trust{ border-block:1px solid var(--line); background:var(--surface); }
.trust__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
/* Единый формат всех плиток: иконка + крупный акцентный заголовок + подпись */
.trust__item{ padding:26px clamp(14px,2vw,26px); text-align:center; border-left:1px solid var(--line);
  display:flex; flex-direction:column; align-items:center; }
.trust__item:first-child{ border-left:0; }
.trust__ic{ width:48px; height:48px; border-radius:13px; display:grid; place-items:center; background:var(--brand-050); color:var(--brand); margin-bottom:12px; }
.trust__ic svg{ width:26px; height:26px; }
.trust__t{ font-size:clamp(1.45rem,2.5vw,2rem); font-weight:800; color:var(--brand); line-height:1.05; letter-spacing:-.03em; }
.trust__t small{ font-size:1.1rem; color:var(--accent); }
.trust__s{ font-size:.86rem; color:var(--muted); font-weight:600; margin-top:8px; line-height:1.3; }

/* ---------- Cards / grids ---------- */
.grid{ display:grid; gap:clamp(16px,2vw,24px); }
.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:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; box-shadow:var(--shadow-sm); transition:transform .2s, box-shadow .2s, border-color .2s;
  height:100%;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--brand-100); }
.card .ic{
  width:54px; height:54px; border-radius:14px; display:grid; place-items:center;
  background:var(--brand-050); color:var(--brand); margin-bottom:18px;
}
.card h3{ margin-bottom:.35em; }
.card p{ color:var(--ink-2); margin-bottom:0; font-size:.97rem; }

/* Specialization card variant */
.spec{ position:relative; overflow:hidden; }
.spec::after{ content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; }
.spec .tag{ display:inline-block; margin-top:14px; font-size:.82rem; font-weight:700; color:var(--brand); }

/* ---------- Компактные карточки: направления / услуги / преимущества ----------
   Иконка слева + сжатый текст: плотная сетка, вдвое меньше высоты,
   сохраняет все факты и остаётся отлично читаемой. */
.fgrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.fgrid--4{ grid-template-columns:repeat(4,1fr); }
.feat{
  display:flex; gap:15px; align-items:flex-start;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:17px 19px; box-shadow:var(--shadow-sm);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feat:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--brand-100); }
.feat__ic{ width:40px; height:40px; border-radius:11px; display:grid; place-items:center; background:var(--brand-050); color:var(--brand); flex-shrink:0; }
.feat__ic svg{ width:22px; height:22px; }
.feat h3{ font-family:var(--ff); font-weight:800; font-size:1.02rem; letter-spacing:-.01em; line-height:1.2; margin:3px 0 4px; }
.feat p{ color:var(--ink-2); font-size:.9rem; line-height:1.5; margin:0; }
/* Тёмный вариант для секции преимуществ */
.feat--dark{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14); box-shadow:none; }
.feat--dark:hover{ border-color:rgba(255,255,255,.3); box-shadow:0 10px 30px rgba(0,0,0,.25); }
.feat--dark .feat__ic{ background:rgba(255,255,255,.14); color:#fff; }
.feat--dark h3{ color:#fff; }
.feat--dark p{ color:rgba(255,255,255,.82); }
/* Акцентная (широкая) карточка преимущества + чип-бейдж */
.feat--feature{ margin-bottom:14px; padding:22px 24px; background:linear-gradient(120deg,rgba(217,58,49,.26),rgba(255,255,255,.05)); border-color:rgba(255,255,255,.24); }
.feat--feature h3{ font-size:clamp(1.12rem,2vw,1.28rem); }
.feat--feature p{ font-size:.95rem; color:rgba(255,255,255,.9); max-width:70ch; }
.feat__ic--lg{ width:52px; height:52px; border-radius:14px; }
.feat__ic--lg svg{ width:28px; height:28px; }
.feat__tag{ display:inline-block; margin-bottom:7px; font-size:.7rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--graphite); background:var(--accent); border-radius:999px; padding:3px 11px; }
@media (max-width:900px){ .fgrid,.fgrid--4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:540px){ .fgrid,.fgrid--4{ grid-template-columns:1fr; } }

/* Более собранная секция для компактных блоков */
.section--compact{ padding:clamp(32px,4.5vw,56px) 0; }
.section__head--sm{ margin-bottom:clamp(18px,2.5vw,30px); }

/* ---------- About ---------- */
.about__grid{ display:grid; grid-template-columns:1fr 1.2fr; gap:clamp(30px,5vw,64px) clamp(30px,5vw,64px);
  align-items:stretch; position:relative; padding-bottom:6px; }
/* «Горизонт» в цветах лого — общая земля под фигурой и плашками «Весь Урал»/«Своя».
   Фигура стоит на линии (её нижний срез = контакт с землёй), плашки — как горы на горизонте. */
.about__grid::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:6px; border-radius:999px;
  background:linear-gradient(90deg, var(--graphite) 0 30%, var(--brand) 36% 64%, var(--accent) 70% 100%); }
.about__copy{ display:flex; flex-direction:column; padding-bottom:14px; }
/* Сокращённый зазор между блоком CTA «Питомцу нужна помощь?» и «О клинике» */
.section--tight-bottom{ padding-bottom:clamp(20px,2.75vw,36px); }
#about{ padding-top:clamp(20px,2.75vw,36px); }
.about__copy .about__stats{ margin-top:auto; }
.about__media{ position:relative; display:flex; justify-content:center; align-items:flex-end; }
.about__media img{ width:100%; height:auto; display:block; margin-bottom:-2px;
  filter:drop-shadow(0 10px 16px rgba(0,0,0,.12)); }
.about__stats{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:26px; }
.stat{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-sm); padding:18px 20px; }
.stat b{ display:block; font-size:1.6rem; font-weight:800; color:var(--brand); letter-spacing:-.02em; }
.stat span{ font-size:.9rem; color:var(--muted); font-weight:600; }
.checklist{ list-style:none; margin:22px 0 0; padding:0; display:grid; gap:12px; }
.checklist li{ display:flex; gap:12px; align-items:flex-start; color:var(--ink-2); }
.checklist svg{ color:var(--brand); flex-shrink:0; margin-top:3px; }

/* ---------- Advantages (brand section) ---------- */
.adv__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(16px,2vw,26px); }
.adv{ background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14); border-radius:var(--radius); padding:26px; }
.adv .ic{ width:52px; height:52px; border-radius:14px; display:grid; place-items:center; background:rgba(255,255,255,.14); margin-bottom:16px; }
.adv h3{ color:#fff; }
.adv p{ color:rgba(255,255,255,.82); margin-bottom:0; font-size:.96rem; }

/* ---------- Prices ---------- */
.price__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(16px,2vw,24px); }
.price{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; }
.price.featured{ border-color:var(--brand); box-shadow:0 12px 40px rgba(217,58,49,.16); position:relative; }
.price.featured::before{ content:"Популярно"; position:absolute; top:-12px; right:22px; background:var(--accent); color:var(--ink); font-size:.72rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; padding:5px 12px; border-radius:999px; }
.price h3{ margin-bottom:6px; }
.price .desc{ color:var(--muted); font-size:.92rem; min-height:42px; }
.price .amount{ font-size:2.2rem; font-weight:800; color:var(--brand); letter-spacing:-.02em; margin:12px 0 4px; }
.price .amount .cur{ font-size:1.2rem; }
.price .amount.free{ color:var(--brand); }
.price ul{ list-style:none; margin:16px 0 22px; padding:0; display:grid; gap:9px; }
.price ul li{ display:flex; gap:9px; align-items:flex-start; font-size:.94rem; color:var(--ink-2); }
.price ul svg{ color:var(--brand); flex-shrink:0; margin-top:3px; }
.price .btn{ margin-top:auto; }
.price__note{ margin-top:26px; text-align:center; color:var(--muted); font-size:.95rem; }

/* ---------- Doctors ---------- */
.docs__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(16px,2vw,24px); }
.doc{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .2s, box-shadow .2s; }
.doc:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.doc__photo{ aspect-ratio:4/5; overflow:hidden; background:linear-gradient(150deg,var(--brand-050),var(--brand-100)); }
.doc__photo img{ width:100%; height:100%; object-fit:cover; object-position:top center; }
.doc__mono{ width:100%; height:100%; display:grid; place-items:center; background:linear-gradient(150deg,var(--graphite),var(--graphite-2)); color:#fff; font-size:2.6rem; font-weight:800; letter-spacing:.02em; position:relative; }
.doc__mono::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:5px; background:linear-gradient(90deg,var(--ink) 0 33%,var(--brand) 33% 66%,var(--accent) 66% 100%); }
.doc__body{ padding:18px 20px 22px; }
.doc__body h3{ font-size:1.06rem; margin-bottom:4px; }
.doc__role{ color:var(--brand-600); font-weight:700; font-size:.86rem; }

/* ---------- Reviews ---------- */
.reviews__track{ display:grid; grid-auto-flow:column; grid-auto-columns:clamp(290px,80vw,360px); gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; padding:6px 2px 24px; scrollbar-width:none; }
.reviews__track::-webkit-scrollbar{ display:none; }
.review{ position:relative; scroll-snap-align:start; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:24px 26px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; }
.review .stars{ color:var(--gold); letter-spacing:2px; margin-bottom:14px; font-size:1rem; }
.review p{ color:var(--ink-2); font-size:.98rem; line-height:1.6; margin:0; }
.review__who{ display:flex; align-items:center; gap:12px; margin-top:20px; padding-top:16px; border-top:1px solid var(--line); }
.review__ava{ width:44px; height:44px; border-radius:50%; display:grid; place-items:center; background:var(--accent-050); color:var(--accent-600); font-weight:800; flex-shrink:0; }
.review__who > span{ min-width:0; }
.review__who b{ display:block; font-size:.95rem; }
.review__who b + span, .review__who > span > span{ font-size:.82rem; color:var(--muted); }
.reviews__foot{ display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin-top:10px; }

/* ---------- Locations / Contacts ---------- */
.loc__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(16px,2vw,22px); margin-bottom:36px; }
.loc{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:26px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; }
.loc__tag{ display:inline-flex; align-items:center; gap:7px; font-size:.76rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; padding:5px 11px; border-radius:999px; margin-bottom:14px; width:max-content; }
.loc__tag.main{ background:var(--brand-050); color:var(--brand); }
.loc__tag.eye{ background:var(--accent-050); color:var(--accent-600); }
.loc h3{ font-size:1.15rem; margin-bottom:12px; }
.loc__row{ display:flex; gap:10px; align-items:flex-start; margin-bottom:10px; color:var(--ink-2); font-size:.95rem; }
.loc__row svg{ color:var(--brand); flex-shrink:0; margin-top:3px; }
.loc__row a{ font-weight:700; color:var(--ink); }
.loc__row a:hover{ color:var(--brand); }
.loc .btn{ margin-top:auto; }
/* position+z-index делают карту отдельным stacking-контекстом: внутренние слои
   Leaflet (z-index 400–1000) остаются под sticky-хедером (z-index 100) при скролле. */
.map{ position:relative; z-index:0; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); border:1px solid var(--line); }
.map #map{ width:100%; height:460px; background:var(--surface-2); z-index:1; }
@media (max-width:560px){ .map #map{ height:360px; } }
/* Фирменная метка-пин (капля с номером) */
.map-pin{ background:transparent; border:0; }
.map-pin span{
  display:grid; place-items:center; width:32px; height:32px;
  background:var(--brand); color:#fff; font-weight:800; font-size:.95rem;
  border:2px solid #fff; border-radius:50% 50% 50% 0; transform:rotate(-45deg);
  box-shadow:0 3px 10px rgba(0,0,0,.35);
}
.map-pin span{ /* номер держим прямым, пин — каплей */ }
.map-pin b, .map-pin span > *{ transform:rotate(45deg); }
.map-pop__sub{ color:var(--muted); font-size:.86rem; }
.leaflet-popup-content{ font-family:var(--ff); line-height:1.45; }
.leaflet-popup-content a{ color:var(--brand-600); font-weight:700; }

/* Легенда карты с фирменными пинами-локаторами */
.maplegend{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:18px; }
.maplegend__item{ display:flex; align-items:flex-start; gap:12px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-sm); padding:14px 16px; box-shadow:var(--shadow-sm); }
.maplegend__pin{ position:relative; flex-shrink:0; width:34px; height:34px; display:grid; place-items:center; color:var(--brand); }
.maplegend__pin svg{ width:34px; height:34px; filter:drop-shadow(0 2px 3px rgba(217,58,49,.35)); }
.maplegend__pin b{ position:absolute; top:5px; left:0; right:0; text-align:center; color:#fff; font-size:.8rem; font-weight:800; }
.maplegend__pin.eye{ color:var(--accent-600); }
.maplegend__pin.eye b{ color:#fff; }
.maplegend__txt b{ display:block; font-size:.98rem; color:var(--ink); }
.maplegend__txt span{ font-size:.85rem; color:var(--muted); }
@media (max-width:820px){ .maplegend{ grid-template-columns:1fr; } }

/* ---------- CTA band ---------- */
.cta{ background:linear-gradient(160deg,var(--brand),var(--brand-700)); color:#fff; border-radius:var(--radius-lg); padding:clamp(34px,5vw,60px); text-align:center; box-shadow:var(--shadow-lg); position:relative; overflow:hidden; }
.cta::after{ content:""; position:absolute; left:0; right:0; top:0; height:6px; background:linear-gradient(90deg,var(--graphite) 0 33%,var(--brand-700) 33% 66%,var(--accent) 66% 100%); }
.cta h2{ color:#fff; }
.cta p{ color:rgba(255,255,255,.9); max-width:52ch; margin-inline:auto; }
.cta .btn--white{ --fg:var(--brand-600); }
.cta__actions{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:26px; }

/* ---------- Footer ---------- */
.footer{ background:var(--brand-700); color:rgba(255,255,255,.8); padding:clamp(48px,6vw,72px) 0 30px; }
.footer__grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:36px; }
.footer h4{ color:#fff; font-size:1rem; letter-spacing:.02em; margin-bottom:16px; }
.footer a{ color:rgba(255,255,255,.8); }
.footer a:hover{ color:#fff; }
.footer ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; font-size:.94rem; }
.footer__brand img{ height:44px; border-radius:8px; margin-bottom:16px; background:#fff; padding:4px; }
.footer__brand p{ font-size:.94rem; max-width:34ch; }
.socials{ display:flex; gap:10px; margin-top:8px; }
.socials a{ width:42px; height:42px; border-radius:12px; display:grid; place-items:center; background:rgba(255,255,255,.1); transition:background .15s; }
.socials a:hover{ background:var(--accent); }
.footer__bottom{ border-top:1px solid rgba(255,255,255,.14); margin-top:40px; padding-top:24px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; font-size:.85rem; color:rgba(255,255,255,.6); }

/* ---------- Floating actions ---------- */
.fab{ position:fixed; right:18px; bottom:18px; z-index:90; display:flex; flex-direction:column; gap:12px; }
.fab a{ width:56px; height:56px; border-radius:50%; display:grid; place-items:center; color:#fff; box-shadow:var(--shadow-md); transition:transform .18s; }
.fab a:hover{ transform:scale(1.08); }
.fab .vk{ background:#0077FF; }
.fab .call{ background:var(--brand); }

/* ---------- Мобильная закреплённая панель звонка ---------- */
.callbar{ display:none; }
@media (max-width:820px){
  .callbar{
    display:flex; gap:10px; align-items:stretch;
    position:fixed; left:0; right:0; bottom:0; z-index:95;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.94);
    backdrop-filter:saturate(180%) blur(12px);
    -webkit-backdrop-filter:saturate(180%) blur(12px);
    border-top:1px solid var(--line);
    box-shadow:0 -6px 20px rgba(35,30,28,.1);
  }
  .callbar__call{
    flex:1; display:flex; align-items:center; justify-content:center; gap:10px;
    background:var(--surface-2); color:var(--ink); border:1px solid var(--line);
    border-radius:999px; padding:11px 16px; font-weight:700;
  }
  .callbar__call svg{ color:var(--brand); flex-shrink:0; }
  .callbar__call small{ display:block; font-size:.66rem; color:var(--muted); font-weight:600; line-height:1; }
  .callbar__call b{ font-size:1rem; line-height:1.1; }
  .callbar__book{ flex:1; }
  /* Поднимаем плавающие иконки над панелью и убираем дублирующий звонок */
  .fab{ bottom:calc(var(--dv-callbar-height, calc(90px + env(safe-area-inset-bottom))) + 18px); }
  .fab .call{ display:none; }
  /* Чтобы низ страницы не перекрывался панелью */
  body{ padding-bottom:74px; }
}

/* ---------- Modal ---------- */
.modal{ position:fixed; inset:0; z-index:150; display:none; place-items:center; padding:20px; }
.modal.open{ display:grid; }
.modal__ov{ position:absolute; inset:0; background:rgba(16,32,30,.55); backdrop-filter:blur(4px); }
.modal__box{ position:relative; width:100%; max-width:480px; background:var(--surface); border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); padding:clamp(24px,4vw,38px); animation:pop .25s ease; }
@keyframes pop{ from{ transform:translateY(14px) scale(.98); opacity:0; } }
.modal__close{ position:absolute; top:14px; right:14px; width:40px; height:40px; border-radius:12px; border:1px solid var(--line); background:var(--surface); display:grid; place-items:center; }
.modal h3{ margin-bottom:6px; }
.modal .lead{ font-size:.98rem; margin-bottom:20px; }
.field{ margin-bottom:14px; }
.field label{ display:block; font-weight:700; font-size:.88rem; margin-bottom:6px; }
.field input, .field select, .field textarea{
  width:100%; padding:13px 15px; border:1px solid var(--line); border-radius:12px; font-family:inherit; font-size:1rem; background:var(--bg); color:var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-050); }
.form__ok{ display:none; text-align:center; padding:10px 0; }
.form__ok.show{ display:block; }
.form__ok .ic{ width:64px; height:64px; border-radius:50%; background:var(--brand-050); color:var(--brand); display:grid; place-items:center; margin:0 auto 14px; }
.consent{ font-size:.78rem; color:var(--muted); margin-top:12px; }
.consent a{ color:var(--brand); text-decoration:underline; }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; }
}

/* ---------- Responsive ---------- */
/* Горизонтальное меню показываем только когда оно гарантированно помещается
   в одну строку; ниже — компактное мобильное меню (бургер). */
@media (max-width:1180px){
  .nav{ display:none; }
  .burger{ display:flex; }
  .header__cta .header__phone{ display:none; }
  /* На мобильных убираем backdrop-blur: он даёт джанк sticky-хэдера при скролле.
     Фон делаем сплошным (без прозрачности) — ничего не просвечивает, не дёргается. */
  .header{ background:var(--bg); backdrop-filter:none; -webkit-backdrop-filter:none; }
  .header.scrolled{ background:var(--bg); }
}
@media (max-width:1080px){
  .hero__grid{ grid-template-columns:1fr; }
  .hero__media{ order:-1; max-width:480px; margin-inline:auto; }
  .docs__grid{ grid-template-columns:repeat(3,1fr); }
  .footer__grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:820px){
  .trust__grid{ grid-template-columns:repeat(2,1fr); }
  .trust__item:nth-child(odd){ border-left:0; }
  .trust__item:nth-child(-n+2){ border-bottom:1px solid var(--line); }
  .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); }
  .adv__grid{ grid-template-columns:1fr; }
  .about__grid{ grid-template-columns:1fr; }
  .about__media{ order:-1; max-width:380px; margin:0 auto; width:100%; }
  .about__media img{ max-width:none; }
  .price__grid{ grid-template-columns:1fr; }
  .docs__grid{ grid-template-columns:repeat(2,1fr); }
  .loc__grid{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width:560px){
  .header__bar{ height:64px; gap:12px; }
  .brand__name{ font-size:1rem; }
  /* Кнопка «Записаться» доступна в бургер-меню и в плавающей кнопке —
     в шапке на телефоне её прячем, чтобы строка не переполнялась. */
  .header__cta{ display:none; }
  .grid-3,.grid-4{ grid-template-columns:1fr; }
  .docs__grid{ grid-template-columns:1fr 1fr; }
  .doc__body{ padding:14px; }
  .doc__body h3{ font-size:.95rem; }
  .footer__grid{ grid-template-columns:1fr; gap:28px; }
  .fab a{ width:52px; height:52px; }
}
@media (max-width:380px){
  /* На совсем узких экранах прячем подзаголовок логотипа (nowrap) — без него
     шапка гарантированно помещается в строку. */
  .brand__name span{ display:none; }
  .brand img{ height:38px; }
}

/* ---------- Mobile nav panel ---------- */
.mnav{ position:fixed; inset:0 0 0 auto; width:min(360px,86vw); background:var(--surface); z-index:120; box-shadow:var(--shadow-lg); transform:translateX(100%); transition:transform .3s ease; display:flex; flex-direction:column; padding:24px; overflow-y:auto; }
.mnav.open{ transform:none; }
.mnav__head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.mnav a.link{ padding:14px 6px; border-bottom:1px solid var(--line); font-weight:700; font-size:1.05rem; display:flex; justify-content:space-between; align-items:center; }
.mnav__phone{ margin-top:18px; display:grid; gap:10px; }
.mnav__ov{ position:fixed; inset:0; background:rgba(16,32,30,.45); z-index:110; opacity:0; visibility:hidden; transition:.3s; }
.mnav__ov.open{ opacity:1; visibility:visible; }

.no-scroll{ overflow:hidden; }

/* ---------- Табы (домашние / экзотические) ---------- */
.tabs{ display:inline-flex; gap:6px; padding:6px; background:var(--surface-2); border:1px solid var(--line); border-radius:999px; margin-bottom:30px; }
.tab{
  border:0; background:transparent; color:var(--ink-2); font-weight:700; font-size:.98rem;
  padding:11px 22px; border-radius:999px; display:inline-flex; align-items:center; gap:9px; transition:.18s;
}
.tab svg{ width:20px; height:20px; }
.tab[aria-selected="true"]{ background:var(--surface); color:var(--brand-600); box-shadow:var(--shadow-sm); }
.tabpanel{ display:flex; justify-content:center; }
.tabpanel[hidden]{ display:none; }

/* ---------- FAQ (аккордеон) ---------- */
.faq{ display:grid; gap:12px; max-width:860px; }
.faq details{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:0 22px; box-shadow:var(--shadow-sm); transition:border-color .18s, box-shadow .18s;
}
.faq details[open]{ border-color:var(--brand-100); box-shadow:var(--shadow-md); }
.faq summary{
  list-style:none; cursor:pointer; padding:20px 0; font-weight:700; font-size:1.06rem; color:var(--ink);
  display:flex; align-items:center; gap:14px; justify-content:space-between;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary .q{ display:flex; align-items:center; gap:14px; }
.faq summary .q b{ color:var(--brand); font-size:1.1rem; flex-shrink:0; }
.faq summary .chev{ flex-shrink:0; width:26px; height:26px; border-radius:50%; background:var(--surface-2); display:grid; place-items:center; transition:transform .25s, background .18s; color:var(--ink-2); }
.faq details[open] summary .chev{ transform:rotate(180deg); background:var(--brand-050); color:var(--brand); }
.faq .a{ padding:0 0 22px 38px; color:var(--ink-2); font-size:.99rem; }
.faq .a p{ margin:0 0 .6em; }
.faq .a p:last-child{ margin:0; }
@media (max-width:560px){ .faq .a{ padding-left:0; } }

/* ---------- Прайс-таблица ---------- */
.pricebook{ display:grid; gap:16px; }
.pricegroup{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); overflow:hidden; }
.pricegroup__head{ width:100%; display:flex; align-items:center; gap:14px; padding:18px 26px; background:var(--surface-2); border:0; border-bottom:1px solid var(--line); cursor:pointer; text-align:left; font:inherit; color:inherit; transition:filter .2s; }
.pricegroup__head:hover{ filter:brightness(.97); }
.pricegroup__head .ic{ width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:var(--brand-050); color:var(--brand); flex-shrink:0; }
.pricegroup__head h3{ margin:0; font-size:1.15rem; }
.pricegroup__count{ margin-left:auto; font-size:.82rem; font-weight:700; color:var(--muted); }
.pricegroup__chev{ color:var(--muted); flex-shrink:0; transition:transform .3s ease; }
.pricegroup:not(.is-open) .pricegroup__head{ border-bottom-color:transparent; }
.pricegroup:not(.is-open) .pricegroup__chev{ transform:rotate(-90deg); }
.pricegroup__body{ display:grid; grid-template-rows:1fr; transition:grid-template-rows .35s ease; }
.pricegroup:not(.is-open) .pricegroup__body{ grid-template-rows:0fr; }
.pricegroup__inner{ overflow:hidden; min-height:0; }
.pricetable{ width:100%; border-collapse:collapse; }
.pricetable tr{ border-top:1px solid var(--line); }
.pricetable tr:first-child{ border-top:0; }
.pricetable td{ padding:15px 26px; vertical-align:top; }
.pricetable td.name{ color:var(--ink); font-weight:600; }
.pricetable td.name small{ display:block; color:var(--muted); font-weight:500; font-size:.86rem; margin-top:2px; }
.pricetable td.val{ text-align:right; white-space:nowrap; font-weight:800; color:var(--brand-600); font-size:1.05rem; }
.pricetable td.val .from{ color:var(--muted); font-weight:600; font-size:.8rem; margin-right:4px; }
.pricetable tr:hover{ background:var(--surface-2); }
.pricebook__note{ display:flex; gap:12px; align-items:flex-start; background:var(--accent-050); border:1px solid #F0DFA6; border-radius:var(--radius-sm); padding:16px 20px; color:#6b5a1e; font-size:.92rem; }
.pricebook__note svg{ color:var(--accent-600); flex-shrink:0; margin-top:2px; }
@media (max-width:560px){
  .pricetable td{ padding:13px 18px; }
  .pricegroup__head{ padding:16px 18px; }
}

/* ---------- Top bar: живой статус работы ---------- */
.topbar{ background:var(--graphite); color:rgba(255,255,255,.9); font-size:.86rem; }
.topbar__in{ display:flex; align-items:center; gap:16px; min-height:40px; }
.topbar__live{ display:inline-flex; align-items:center; gap:8px; font-weight:600; }
.topbar__live b{ color:#fff; font-weight:800; }
.live-dot{ width:9px; height:9px; border-radius:50%; background:#35C15E; box-shadow:0 0 0 0 rgba(53,193,94,.55); animation:pulse-green 2s infinite; flex-shrink:0; }
@keyframes pulse-green{ 70%{ box-shadow:0 0 0 8px rgba(53,193,94,0);} 100%{ box-shadow:0 0 0 0 rgba(53,193,94,0);} }
.topbar__clock{ color:rgba(255,255,255,.7); font-weight:600; font-variant-numeric:tabular-nums; }
.topbar__phone{ margin-left:auto; font-weight:800; color:#fff; white-space:nowrap; }
.topbar__phone:hover{ color:var(--accent); }
@media (max-width:640px){
  .topbar__in{ min-height:0; padding-block:8px; gap:6px 14px; flex-wrap:wrap; }
  .topbar__clock, .topbar__sep{ display:none; }
  .topbar__live{ width:100%; }
  .topbar__phone{ margin-left:0; font-size:.84rem; }
}


/* ---------- Живой статус адреса (открыто/закрыто) ---------- */
.loc__status{ display:inline-flex; align-items:center; gap:6px; font-size:.76rem; font-weight:800; letter-spacing:.02em; padding:4px 11px; border-radius:999px; margin-bottom:12px; width:max-content; }
.loc__status.is-open{ background:#E7F7ED; color:#1E8E45; }
.loc__status.is-closed{ background:var(--surface-2); color:var(--muted); }
.loc__status .live-dot{ width:7px; height:7px; }
.loc__status.is-closed .live-dot{ background:var(--muted); animation:none; box-shadow:none; }

/* ---------- Бейдж стажа врача ---------- */
.doc__exp{ display:inline-flex; align-items:center; gap:6px; margin-top:10px; font-size:.8rem; font-weight:800; color:var(--brand-600); background:var(--brand-050); border-radius:999px; padding:4px 10px; }
.doc__exp svg{ flex-shrink:0; }
.doc__exp--lead{ color:var(--accent-600); background:var(--accent-050); }

/* ---------- Hero: соц-доказательство (площадки отзывов) ---------- */
.hero__proof{ display:flex; align-items:center; gap:12px; margin-top:18px; flex-wrap:wrap; }
.hero__proof-stars{ color:var(--gold); letter-spacing:2px; font-size:1.05rem; }
.hero__proof-txt{ font-size:.92rem; color:var(--ink-2); font-weight:600; }
.hero__proof-txt a{ color:var(--brand-600); font-weight:700; border-bottom:1px solid var(--brand-100); }
.hero__proof-txt a:hover{ border-bottom-color:var(--brand); }

/* ---------- Бейдж источника отзыва ---------- */
.review__src{ position:absolute; top:22px; right:22px; font-size:.7rem; font-weight:800; letter-spacing:.04em; color:var(--muted); background:var(--surface-2); border:1px solid var(--line); border-radius:999px; padding:3px 9px; }
.reviews__wrap{ position:relative; }
.reviews__arrow{ position:absolute; top:50%; transform:translateY(-50%); z-index:4; width:46px; height:46px; border:1px solid var(--line); border-radius:50%; background:var(--surface); color:var(--ink); box-shadow:var(--shadow-md); font-size:1.7rem; line-height:1; display:grid; place-items:center; cursor:pointer; transition:background .2s, color .2s, transform .2s, opacity .2s; }
.reviews__arrow:hover{ background:var(--brand); color:#fff; border-color:var(--brand); transform:translateY(-50%) scale(1.06); }
.reviews__arrow[disabled]{ opacity:.3; cursor:default; box-shadow:none; }
.reviews__arrow[disabled]:hover{ background:var(--surface); color:var(--ink); border-color:var(--line); transform:translateY(-50%); }
.reviews__arrow--prev{ left:-8px; }
.reviews__arrow--next{ right:-8px; }
@media (max-width:980px){ .reviews__arrow{ display:none; } }

/* Строка обещания-заботы под формой и в модалке */
.promise{ display:flex; align-items:center; gap:10px; justify-content:center; margin-top:14px; font-size:.9rem; font-weight:700; color:var(--brand-600); }
.promise svg{ flex-shrink:0; color:var(--brand); }

/* ---------- Новости ВКонтакте (нативные карточки) ---------- */
.news__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(16px,2.2vw,26px); }
.news{ display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .25s ease, box-shadow .25s ease; }
.news:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.news__media{ display:block; aspect-ratio:16/10; overflow:hidden; background:var(--surface-2); }
.news__media img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.news:hover .news__media img{ transform:scale(1.04); }
.news__body{ display:flex; flex-direction:column; gap:10px; padding:20px 22px 22px; flex:1; }
.news__date{ font-size:.78rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); }
.news__text{ margin:0; color:var(--ink-2); font-size:.97rem; line-height:1.6;
  display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden; }
.news__more{ margin-top:auto; padding-top:6px; font-weight:800; font-size:.92rem; color:var(--brand-600); }
.news__more:hover{ color:var(--brand); }
.news__empty{ grid-column:1/-1; display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center;
  background:var(--surface); border:1px dashed var(--line); border-radius:var(--radius); padding:clamp(28px,5vw,48px); color:var(--muted); }
.news__empty p{ color:var(--ink-2); max-width:46ch; margin:0; }
.news__foot{ text-align:center; margin-top:28px; }
@media (max-width:980px){ .news__grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){ .news__grid{ grid-template-columns:1fr; } }

/* Немецкий флаг-акцент (тонкая полоска) */
.flagline{ height:5px; border-radius:999px; background:linear-gradient(90deg,var(--graphite) 0 33%,var(--brand) 33% 66%,var(--accent) 66% 100%); width:64px; margin:0 0 20px; }
.center .flagline{ margin-inline:auto; }

/* ============ Соответствие 152-ФЗ: согласие, cookie, документы ============ */
/* Чекбокс согласия в форме записи */
.dv-consent{ display:flex; align-items:flex-start; gap:9px; margin-top:14px; font-size:.82rem; color:var(--muted); line-height:1.4; cursor:pointer; }
.dv-consent input{ width:18px; height:18px; margin:1px 0 0; flex-shrink:0; accent-color:var(--brand); cursor:pointer; }
.dv-consent a{ color:var(--brand-600); font-weight:700; }
.dv-consent.is-err{ color:var(--brand); }
.dv-consent.is-err input{ outline:2px solid var(--brand); outline-offset:2px; border-radius:4px; }

/* Cookie-баннер */
.cookie-bar{ position:fixed; left:12px; right:12px; bottom:12px; z-index:95;
  display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px;
  max-width:920px; margin:0 auto; padding:14px 18px;
  background:var(--surface); border:1px solid var(--line); border-radius:14px;
  box-shadow:0 16px 40px rgba(0,0,0,.18); }
.cookie-bar__txt{ margin:0; flex:1 1 320px; font-size:.86rem; color:var(--ink-2); line-height:1.45; }
.cookie-bar__txt a{ color:var(--brand-600); font-weight:700; }
.cookie-bar__btns{ display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width:560px){ .cookie-bar{ left:8px; right:8px; bottom:8px; } .cookie-bar__btns{ width:100%; } .cookie-bar__btns .btn{ flex:1; } }

/* Ссылки на документы в подвале */
.footer__legal{ flex-basis:100%; max-width:50%; display:flex; flex-wrap:wrap; align-items:center; gap:3px 7px; margin-top:10px; font-size:.5rem; }
@media (max-width:560px){ .footer__legal{ max-width:100%; font-size:.6rem; } }
.footer__req{ flex-basis:100%; margin-top:6px; font-size:.68rem; line-height:1.4; opacity:.55; }
.footer__legal a{ color:inherit; opacity:.85; text-decoration:underline; }
.footer__legal a:hover{ opacity:1; }
.footer__legal span{ opacity:.4; }

/* Страницы документов */
.legal{ max-width:820px; }
.legal h1{ font-size:clamp(1.5rem,3vw,2rem); margin:10px 0 6px; }
.legal h2{ font-size:clamp(1.1rem,2vw,1.3rem); margin:28px 0 8px; }
.legal p{ margin:0 0 12px; color:var(--ink-2); }
.legal__meta{ font-size:.86rem; color:var(--muted); }
.legal__list{ margin:0 0 14px; padding-left:22px; color:var(--ink-2); }
.legal__list li{ margin-bottom:6px; }
.legal a{ color:var(--brand-600); font-weight:600; }

/* ============ Карточка врача как ссылка + страница врача ============ */
a.doc, .doc--link{ color:inherit; text-decoration:none; cursor:pointer; }
.doc__more{ display:inline-block; margin-top:10px; font-size:.82rem; font-weight:700; color:var(--brand-600); opacity:0; transform:translateX(-4px); transition:opacity .2s, transform .2s; }
.doc--link:hover .doc__more{ opacity:1; transform:none; }
@media (hover:none){ .doc__more{ opacity:1; } }

.docpage{ display:grid; grid-template-columns:340px 1fr; gap:clamp(20px,3vw,40px); align-items:start; margin:10px 0 8px; }
/* На странице врача фото показывается ЦЕЛИКОМ — натуральная высота, без обрезки. */
.docpage__photo{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); background:linear-gradient(150deg,var(--brand-050),var(--brand-100)); }
.docpage__photo img{ width:100%; height:auto; display:block; }
.docpage__photo .doc__mono{ font-size:4rem; }
.docpage__head h1{ font-size:clamp(1.5rem,3.2vw,2.1rem); margin:0 0 4px; }
.docpage__role{ color:var(--brand-600); font-weight:700; font-size:1.02rem; margin-bottom:12px; }
.docpage__badges{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.docpage__badges:empty{ display:none; }
.docpage__experience{ display:inline-flex; align-items:center; gap:12px; max-width:100%; padding:12px 18px 12px 12px; margin:4px 0 18px; border:1px solid var(--brand-100); border-radius:18px; background:var(--brand-050); color:var(--ink); }
.docpage__experience-icon{ display:grid; place-items:center; flex:0 0 38px; width:38px; height:38px; border-radius:12px; background:var(--surface); color:var(--brand-600); font-size:1.65rem; line-height:1; }
.docpage__experience-body{ min-width:0; display:flex; flex-direction:column; gap:3px; }
.docpage__experience-label{ color:var(--muted); font-size:.65rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; line-height:1.3; }
.docpage__experience .docpage__exp{ display:block; color:var(--brand-600); font-size:.98rem; font-weight:800; line-height:1.4; overflow-wrap:anywhere; }
.docpage__badge{ display:inline-flex; align-items:center; gap:6px; font-size:.82rem; font-weight:800; color:var(--brand-600); background:var(--brand-050); border-radius:999px; padding:5px 12px; }
.docpage__badge--lead{ color:var(--accent-600); background:var(--accent-050); }
.docpage__clinics{ color:var(--ink-2); font-size:.95rem; margin:0 0 14px; }
.docpage__label{ font-size:.78rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.dirchips{ display:flex; flex-wrap:wrap; gap:8px; }
.dirchip{ font-size:.86rem; font-weight:600; color:var(--ink-2); background:var(--surface-2); border:1px solid var(--line); border-radius:999px; padding:6px 13px; }
.docpage__cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:22px; }
.docpage__bio{ margin-top:clamp(26px,4vw,40px); max-width:760px; }
.docpage__bio h2, .docpage__certs h2{ font-size:clamp(1.2rem,2.2vw,1.5rem); margin:0 0 12px; }
.docpage__bio p{ color:var(--ink-2); line-height:1.7; }
.docpage__bio .muted{ color:var(--muted); }
.docpage__certs{ margin-top:clamp(26px,4vw,40px); }
.certs__grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:16px; }
.cert{ display:block; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:var(--surface); box-shadow:var(--shadow-sm); transition:transform .2s, box-shadow .2s; }
.cert:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.cert img{ width:100%; height:100%; object-fit:cover; display:block; aspect-ratio:4/3; }
@media (max-width:640px){ .docpage{ grid-template-columns:1fr; } .docpage__photo{ max-width:260px; } }
