/* ── @font-face placeholders (раскомментируй когда появятся .woff2 Muller/Circe) ──
   После раскомментирования удали Google Fonts <link> из base.html.

@font-face { font-family:'Muller'; src:url('/static/fonts/muller-regular.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Muller'; src:url('/static/fonts/muller-semibold.woff2') format('woff2'); font-weight:600; font-display:swap; }
@font-face { font-family:'Muller'; src:url('/static/fonts/muller-bold.woff2') format('woff2'); font-weight:700; font-display:swap; }
@font-face { font-family:'Muller'; src:url('/static/fonts/muller-extrabold.woff2') format('woff2'); font-weight:800; font-display:swap; }
@font-face { font-family:'Circe'; src:url('/static/fonts/circe-regular.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Circe'; src:url('/static/fonts/circe-bold.woff2') format('woff2'); font-weight:700; font-display:swap; }
*/

/* ── Tokens ──────────────────────────────────────────────────────────────────────
   ЕДИНЫЙ :root — вся палитра здесь (второй :root у /problem слит сюда, T49).
   Бренд-рампа держит и solid, и rgba: rgb-триплет — источник истины, rgba(var(--x-rgb),α)
   даёт полупрозрачные тона того же цвета. Правишь триплет → меняются и заливка, и все её альфы. */
:root {
  /* ── Бренд-рампа (бирюза). Комментарий = исходный HEX для сверки. ── */
  --brand-rgb:        0,164,183;    --brand:        rgb(var(--brand-rgb));       /* #00A4B7 */
  --brand-light-rgb:  133,205,219;  --brand-light:  rgb(var(--brand-light-rgb)); /* #85CDDB */
  --brand-dark-rgb:   0,123,152;    --brand-dark:   rgb(var(--brand-dark-rgb));  /* #007B98 */
  --brand-deep-rgb:   0,79,112;     --brand-deep:   rgb(var(--brand-deep-rgb));  /* #004F70 */
  --brand-ink-rgb:    0,52,76;      --brand-ink:    rgb(var(--brand-ink-rgb));   /* #00344C — тёмная бирюза-чернила (заголовки) */

  --brand-bright: #00C2D6;   /* яркий стоп градиента / hover */
  --brand-mid:    #01678C;   /* тёмно-средняя бирюза */

  /* Бледные бренд-заливки (washes / tints) */
  --brand-wash:      #E4F5F8;   /* основная бледная плашка */
  --brand-wash-soft: #F1F9FB;   /* самая светлая плашка */
  --brand-wash-2:    #EAF6F8;
  --brand-tint:      #D6EFF4;
  --brand-tint-2:    #B6E2EB;

  /* Тинты аватарок отзывов (T50): 6-шаговый цикл. 1–3 = точные бренд-токены (перекрашиваются
     сменой бренда даром); 4–6 — исходные бирюзы Окродента (НЕ равны токенам, оставлены как есть,
     чтобы дефолт был байт-в-байт). При заданной теме brand_theme перекрашивает 4–6. */
  --review-tint-1: var(--brand);       /* #00A4B7 */
  --review-tint-2: var(--brand-dark);  /* #007B98 */
  --review-tint-3: var(--brand-deep);  /* #004F70 */
  --review-tint-4: #0E7C93;
  --review-tint-5: #3D8DA6;
  --review-tint-6: #5AA9BD;

  /* Backward-compat alias для внутренних страниц */
  --color-primary:   var(--brand);
  --color-primary-d: var(--brand-dark);

  --bg:          #FBFDFE;
  --bg-soft:     #F4FBFC;
  --bg-softer:   #EDF8FA;
  --bg-card:     #F5FBFC;

  --text:        #1a3543;
  --text-muted:  #3d5a6b;
  --text-dark:   #0e2a38;
  --text-pale:   #52707e;

  --border:      rgba(var(--brand-deep-rgb),.1);
  --border-soft: rgba(var(--brand-deep-rgb),.07);

  /* Семантика (НЕ бренд): акцент-красный острых состояний /problem/… — тему не трогает. */
  --red: #E2574C; --red-d: #C7453B; --red-soft: #FCEFEA; --red-pale: #ffb4aa;

  /* Шрифты — fallback до загрузки Muller/Circe */
  --font-head: 'Muller','Golos Text',system-ui,sans-serif;
  --font-body: 'Circe','Onest',system-ui,sans-serif;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 100px;

  --shadow-sm:   0 8px 28px rgba(var(--brand-dark-rgb),.07);
  --shadow-md:   0 16px 40px rgba(var(--brand-deep-rgb),.09);
  --shadow-lg:   0 24px 60px rgba(0,40,55,.15);
  --shadow-hover: 0 20px 48px rgba(var(--brand-dark-rgb),.14);

  --section-gap: clamp(88px,11vw,160px);
  --content-w:   1280px;
  --content-px:  clamp(16px,4vw,40px);
}

/* ── Reset & base ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--brand-light); color: var(--brand-deep); }

/* ── Фоновая подложка (site-wide): мягкие бирюзовые градиенты + паттерн ромбов ── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1000px 640px at 88% -6%,  rgba(var(--brand-rgb),.11),  transparent 62%),
    radial-gradient(860px 600px at -12% 28%,  rgba(var(--brand-light-rgb),.16), transparent 62%),
    radial-gradient(980px 680px at 108% 74%,  rgba(var(--brand-dark-rgb),.09),  transparent 62%),
    radial-gradient(700px 520px at 30% 108%,  rgba(var(--brand-light-rgb),.1),  transparent 60%);
}
.page-bg__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .035;
}

img { display: block; max-width: 100%; }
a { transition: color .18s ease; }

h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--brand-deep);
}

/* ── Animations ──────────────────────────────────────────────────────────────── */
@keyframes okroReveal {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes okroPulse {
  0%   { box-shadow: 0 0 0 0 rgba(var(--brand-rgb),.45); }
  70%  { box-shadow: 0 0 0 16px rgba(var(--brand-rgb),0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--brand-rgb),0); }
}
@keyframes okroShine {
  0%   { transform: translateX(-130%) skewX(-18deg); }
  18%  { transform: translateX(230%) skewX(-18deg); }
  100% { transform: translateX(230%) skewX(-18deg); }
}

@supports (animation-timeline: view()) {
  [data-reveal] {
    animation: okroReveal .9s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 42%;
  }
}

/* ── Helpers ─────────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--content-px);
}

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

.star-svg { fill: var(--brand); }

/* ── TOPBAR ──────────────────────────────────────────────────────────────────── */
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
}
.topbar__inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--content-px);
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}
.topbar__review {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 14.5px;
}
.topbar__review:hover { color: var(--brand); }
.topbar__hours { font-size: 14.5px; color: var(--text-muted); }
.topbar__phone {
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--brand-deep);
  letter-spacing: .01em;
}
.topbar__phone:hover { color: var(--brand); }

/* ── HEADER ──────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header__inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--content-px);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.site-logo img { height: var(--logo-height, 54px); width: auto; }

.main-nav {
  display: flex;
  gap: 2px;
  align-items: center;
}
.nav-pill {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 17px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.nav-pill:hover {
  color: var(--brand-dark);
  background: var(--brand-wash);
  transform: translateY(-2px);
}

.btn-cta-header {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  animation: okroPulse 2.6s ease-out infinite;
  transition: transform .18s ease;
  flex: none;
}
.btn-cta-header:hover { transform: translateY(-2px) scale(1.03); }
.btn-cta-header::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 36%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0));
  animation: okroShine 3.4s ease-in-out infinite;
  pointer-events: none;
}

/* ── HERO ────────────────────────────────────────────────────────────────────── */
.hero {
  padding: 0 clamp(10px,1.6vw,24px);
}
.hero__wrap {
  position: relative;
  max-width: 1840px;
  margin: 0 auto;
  border-radius: clamp(18px,2.5vw,32px);
  overflow: hidden;
  background: linear-gradient(150deg, var(--brand-ink), #00607a);
  min-height: clamp(540px,56vw,660px);
  display: flex;
  align-items: center;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: .08;
  pointer-events: none;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 42%;
  /* <picture> wrapper — убираем inline-block gap */
}
/* Обёртка <picture> должна быть абсолютной */
.hero__wrap picture {
  position: absolute;
  inset: 0;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  /* Десктоп: тёмно слева, прозрачно справа — текст читается, фото видно */
  background: linear-gradient(92deg,
    rgba(10,28,38,.88) 0%,
    rgba(10,28,38,.68) 36%,
    rgba(10,28,38,.18) 62%,
    rgba(10,28,38,0)   78%);
  pointer-events: none;
}
/* Мобилка: полный overlay — весь текст читается поверх фото */
@media (max-width: 768px) {
  .hero__overlay {
    background: linear-gradient(180deg,
      rgba(10,28,38,.72) 0%,
      rgba(10,28,38,.80) 100%);
  }
  .hero__photo {
    object-position: 72% 32%;
  }
}
.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: clamp(48px,6vw,88px) var(--content-px);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 600px;
}
.hero__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-light);
  font-weight: 600;
}
.hero__tag-diamond {
  width: 8px; height: 8px;
  background: var(--brand);
  transform: rotate(45deg);
  flex: none;
}
.hero__h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(38px,5.2vw,66px);
  line-height: 1.04;
  letter-spacing: -.015em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(10,25,32,.35);
}
.hero__sub {
  font-size: clamp(17px,1.5vw,20px);
  line-height: 1.55;
  color: rgba(255,255,255,.88);
  max-width: 44ch;
  text-shadow: 0 1px 14px rgba(10,25,32,.3);
}
.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-hero-primary {
  text-decoration: none;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 16.5px;
  padding: 17px 34px;
  border-radius: var(--radius-pill);
  transition: background .18s ease, transform .18s ease;
}
.btn-hero-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-hero-ghost {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 16.5px;
  padding: 17px 34px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,.45);
  transition: border-color .18s ease, background .18s ease;
}
.btn-hero-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.hero__stars {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__stars-row { display: flex; gap: 3px; }
.hero__stars-label { font-size: 14px; color: rgba(255,255,255,.85); }

/* ── TRUST ───────────────────────────────────────────────────────────────────── */
.trust-section {
  padding: var(--section-gap) var(--content-px) 0;
  max-width: calc(var(--content-w) + var(--content-px)*2);
  margin: 0 auto;
}
.trust-inner {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg-softer));
  border-radius: clamp(24px,3vw,36px);
  padding: clamp(48px,6vw,84px) clamp(20px,4vw,64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px,4vw,52px);
}
.trust-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  max-width: 760px;
}
.trust-head h2 {
  font-size: clamp(30px,3.6vw,46px);
  font-weight: 800;
  text-wrap: balance;
}
.trust-head p { font-size: 16px; color: var(--text-muted); max-width: 56ch; }
.trust-avg {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-avg__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(38px,3.6vw,48px);
  line-height: 1;
  color: var(--brand-deep);
}
.trust-avg__stars { display: flex; gap: 3px; }
.trust-avg__label { font-size: 13.5px; line-height: 1.4; color: var(--text-muted); }

.trust-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,180px),1fr));
  gap: 20px;
}
.trust-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(30px,3vw,42px) 20px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.trust-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--brand-tint-2);
}
.trust-card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,40,55,.12);
}
.trust-card__info { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.trust-card__score-row { display: flex; align-items: center; gap: 8px; }
.trust-card__score {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px,2.5vw,34px);
  line-height: 1;
  color: var(--brand-deep);
}
.trust-card__name { font-size: 14px; font-weight: 600; color: var(--text-pale); }

.trust-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px,5vw,72px);
}
.trust-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.trust-stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px,2.4vw,32px);
  color: var(--brand-dark);
}
.trust-stat__label { font-size: 13.5px; color: var(--text-muted); }

/* ── PROMOS ──────────────────────────────────────────────────────────────────── */
.promos-section {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--content-px) 0;
}
.promos-section h2 {
  font-size: clamp(30px,3.6vw,46px);
  font-weight: 800;
  margin-bottom: clamp(32px,4vw,52px);
}
.promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,300px),1fr));
  gap: 20px;
}
.promo-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(26px,3vw,36px);
  border-radius: var(--radius-md);
}
.promo-card--primary {
  background: linear-gradient(155deg, var(--brand), var(--brand-dark) 120%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.promo-card--primary .promo-pattern {
  position: absolute; inset: 0; opacity: .12; pointer-events: none;
}
.promo-card--light {
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.promo-card__tag {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
}
.promo-card--primary .promo-card__tag { color: rgba(255,255,255,.75); position: relative; }
.promo-card--light .promo-card__tag { color: var(--brand-dark); }
.promo-card__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px,2.2vw,28px);
  line-height: 1.15;
  position: relative;
}
.promo-card--primary .promo-card__title { color: #fff; text-wrap: balance; }
.promo-card--light .promo-card__title { color: var(--brand-deep); }
.promo-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(255,255,255,.88);
  position: relative;
}
.promo-card__list li { display: flex; gap: 10px; }
.promo-card__list li span { flex: none; color: var(--brand-light); }
.promo-card__body { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }
.promo-card__old { font-weight: 400; font-size: .65em; color: var(--text-muted); text-decoration: line-through; }
.promo-card__cta {
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  margin-top: auto;
  transition: transform .18s ease;
}
.promo-card--primary .promo-card__cta {
  align-self: flex-start;
  background: #fff;
  color: var(--brand-deep);
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  position: relative;
}
.promo-card--primary .promo-card__cta:hover { transform: translateY(-2px); }
.promo-card--light .promo-card__cta { color: var(--brand); }
.promo-card--light .promo-card__cta:hover { color: var(--brand-dark); }

/* ── SERVICES ────────────────────────────────────────────────────────────────── */
.services-section {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--content-px) 0;
}
.services-section > h2 {
  font-size: clamp(30px,3.6vw,46px);
  font-weight: 800;
  margin-bottom: clamp(32px,4vw,52px);
}
.service-num-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%,272px),1fr));
  gap: 20px;
}
.service-num-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px,2.8vw,36px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.service-num-card:hover {
  border-color: rgba(var(--brand-rgb),.4);
  box-shadow: 0 18px 44px rgba(var(--brand-deep-rgb),.08);
  transform: translateY(-3px);
}
.service-num-card__head { display: flex; flex-direction: column; gap: 10px; }
.service-num-card__title-row { display: flex; align-items: baseline; gap: 12px; }
.service-num-card__num {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  color: var(--brand);
  letter-spacing: .02em;
  flex: none;
}
.service-num-card__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  color: var(--brand-ink);
}
.service-num-card__bar {
  width: 30px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.service-num-card__note { font-size: 15px; line-height: 1.6; color: var(--text-pale); }
.service-num-card__more {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-dark);
}
.service-num-card__more span { color: var(--brand); }

.service-num-card--all {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: clamp(28px,2.8vw,36px);
  border: 1.5px dashed rgba(var(--brand-rgb),.4);
  border-radius: var(--radius-lg);
  background: #F7FCFD;
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}
.service-num-card--all:hover {
  border-color: var(--brand);
  background: var(--brand-wash-soft);
  transform: translateY(-3px);
}
.service-num-card--all span:first-child { font-size: 26px; color: var(--brand); }
.service-num-card--all span:last-child {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--brand-dark);
  text-align: center;
}

/* ── WHY US ──────────────────────────────────────────────────────────────────── */
.why-section {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--content-px) 0;
}
.why-section > h2 {
  font-size: clamp(30px,3.6vw,46px);
  font-weight: 800;
  margin-bottom: clamp(32px,4vw,52px);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%,300px),1fr));
  gap: clamp(24px,3vw,40px) clamp(24px,3vw,48px);
}
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item svg { flex: none; margin-top: 2px; }
.why-item__title { font-weight: 700; font-size: 17px; color: var(--brand-deep); margin-bottom: 5px; }
.why-item__text { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }

/* ── DOCTORS ─────────────────────────────────────────────────────────────────── */
.doctors-section {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--content-px) 0;
}
.doctors-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(32px,4vw,52px);
}
.doctors-section__head h2 {
  font-size: clamp(30px,3.6vw,46px);
  font-weight: 800;
}
.doctors-section__sub { font-size: 15px; color: var(--text-muted); }
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%,200px),1fr));
  gap: 20px;
}
.doctor-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;   /* карточка — ссылка, но имя/подпись не должны выглядеть/подчёркиваться как ссылка */
  color: inherit;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.doctor-card:hover {
  border-color: var(--brand-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.doctor-card__photo {
  aspect-ratio: 1/1.05;
  background: linear-gradient(170deg, var(--brand-wash-2), var(--brand-tint));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.doctor-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.doctor-card__silhouette { width: 72%; }
.doctor-card__info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 5px; }
.doctor-card__name { font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--brand-deep); }
.doctor-card__role { font-size: 13px; line-height: 1.4; color: var(--brand-dark); }

/* ── 3D TOUR ─────────────────────────────────────────────────────────────────── */
.tour-section {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--content-px) 0;
}
.tour-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--brand-deep), var(--brand-dark) 130%);
  padding: clamp(40px,6vw,72px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.tour-card__pattern { position: absolute; inset: 0; opacity: .1; pointer-events: none; }
.tour-card__body {
  position: relative;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tour-card__tag {
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-light);
  font-weight: 600;
}
.tour-card__h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px,3vw,40px);
  color: #fff;
  text-wrap: balance;
}
.tour-card__sub { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.75); }
.tour-card__btn {
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 16px;
  padding: 17px 30px;
  border-radius: var(--radius-pill);
  transition: transform .18s ease, box-shadow .18s ease;
  flex: none;
}
.tour-card__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.25); }
.tour-card__btn svg path { fill: var(--brand); }

/* ── PRICES ──────────────────────────────────────────────────────────────────── */
.prices-section {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--content-px) 0;
}
.prices-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,380px),1fr));
  gap: clamp(28px,4vw,64px);
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(36px,5vw,64px);
}
.prices-card__left { display: flex; flex-direction: column; gap: 16px; }
.prices-card__left h2 {
  font-size: clamp(28px,3.2vw,42px);
  font-weight: 800;
  text-wrap: balance;
}
.prices-card__sub { font-size: 16px; line-height: 1.55; color: var(--text-muted); max-width: 52ch; }
.btn-brand {
  display: inline-flex;
  text-decoration: none;
  align-self: flex-start;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  margin-top: 6px;
  transition: background .18s ease;
}
.btn-brand:hover { background: var(--brand-dark); }

.prices-list { display: flex; flex-direction: column; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.price-row:last-child { border-bottom: none; }
.price-row__name { font-size: 15.5px; color: var(--text-dark); }
.price-row__val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16.5px;
  white-space: nowrap;
}
.price-row__val--free { color: var(--brand); }
.price-row__val--paid { color: var(--brand-deep); }

/* ── CONSULT ─────────────────────────────────────────────────────────────────── */
.consult-section {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--content-px) 0;
}
.consult-section__head { margin-bottom: 14px; }
.consult-section__head h2 {
  font-size: clamp(30px,3.6vw,46px);
  font-weight: 800;
}
.consult-section__sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: clamp(32px,4vw,52px);
}
.consult-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,220px),1fr));
  gap: 20px;
}
.consult-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 24px 26px;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  background: #fff;
}
.consult-card__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--brand-light);
}
.consult-card__title { font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--brand-deep); }
.consult-card__text { font-size: 14px; line-height: 1.5; color: var(--text-muted); }

/* ── CONTACT / FORM ──────────────────────────────────────────────────────────── */
.contact-section {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--content-px) clamp(96px,12vw,170px);
}
.contact-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--brand), var(--brand-dark) 120%);
}
.contact-card__pattern { position: absolute; inset: 0; opacity: .12; pointer-events: none; }
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,380px),1fr));
  gap: clamp(32px,5vw,64px);
  padding: clamp(40px,6vw,72px);
}
.contact-info { display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.contact-info h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px,3.4vw,44px);
  color: #fff;
  text-wrap: balance;
}
.contact-info__sub { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.82); max-width: 48ch; }
.contact-details { display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: #fff; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; }
.contact-detail svg { flex: none; margin-top: 2px; }
.contact-detail a { color: #fff; text-decoration: none; font-weight: 700; font-family: var(--font-head); }
.contact-detail a:hover { color: var(--brand-light); }
.btn-white {
  text-decoration: none;
  align-self: flex-start;
  background: #fff;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  margin-top: 8px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.22); }

.booking-form-wrap {
  position: relative;
  border-radius: var(--radius-md);
  background: #fff;
  padding: clamp(28px,3vw,40px);
  box-shadow: var(--shadow-lg);
}
.form-sent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 320px;
  text-align: center;
}
.form-sent__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-wash);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-sent__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--brand-deep);
}
.form-sent__sub { font-size: 15px; line-height: 1.55; color: var(--text-muted); max-width: 34ch; }

.booking-form { display: flex; flex-direction: column; gap: 14px; }
.booking-form__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px,1.8vw,24px);
  color: var(--brand-deep);
}
.booking-form__sub { font-size: 14px; line-height: 1.5; color: var(--text-muted); margin-top: -6px; }
.form-field {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  padding: 15px 18px;
  border: 1.5px solid rgba(var(--brand-deep-rgb),.15);
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--bg);
  transition: border-color .18s ease;
}
.form-field:focus { border-color: var(--brand); }
textarea.form-field { resize: vertical; }
.form-hp { display: none; } /* honeypot — hidden from humans */
.btn-form {
  appearance: none;
  border: none;
  cursor: pointer;
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  padding: 17px 24px;
  border-radius: var(--radius-pill);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-form:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(var(--brand-dark-rgb),.3); }
.form-consent { font-size: 12px; line-height: 1.5; color: #8aa3af; }

/* ── FOOTER ──────────────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--brand-deep), var(--brand-ink) 90%);
  color: rgba(255,255,255,.78);
}
.footer-pattern {
  position: absolute;
  inset: 0;
  opacity: .05;
  pointer-events: none;
}
.footer-body {
  position: relative;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: clamp(56px,7vw,88px) var(--content-px) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,220px),1fr));
  gap: clamp(32px,4vw,56px);
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,.78); font-size: 15px; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-col__title {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-light);
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-col--brand { gap: 18px; }
.footer-col--brand a { color: inherit; }
/* T51: плашка под тёмный логотип клиники в подвале, когда светлая версия не загружена */
.footer-logo-plate { display: inline-block; background: #fff; border-radius: 12px; padding: 12px 16px; }

.footer-addr {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
}
.footer-addr span { display: flex; gap: 10px; }
.footer-addr svg { flex: none; margin-top: 3px; }

.footer-social { display: flex; gap: 12px; }
.footer-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .18s ease;
}
.footer-social__btn img {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: block;
  /* тень по форме иконки (иконки квадратные со скруглением, фон прозрачный) */
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .28));
}
.footer-social__btn:hover { transform: translateY(-2px); }

.footer-col--contacts { gap: 14px; }
.footer-phone {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: .01em;
  color: #fff !important;
}
.footer-phone:hover { color: var(--brand-light) !important; }
.footer-email { font-size: 15px; }
.footer-cta {
  display: inline-flex;
  text-decoration: none;
  background: var(--brand);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  transition: background .18s ease, transform .18s ease;
}
.footer-cta:hover { background: var(--brand-bright) !important; transform: translateY(-2px); }
.footer-review-link {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: var(--brand-light) !important;
  font-size: 14.5px;
  font-weight: 600;
}
.footer-review-link:hover { color: #fff !important; }

.footer-bottom-wrap {
  position: relative;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: clamp(32px,4vw,48px) var(--content-px) calc(28px + env(safe-area-inset-bottom,0px));
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-disclaimer { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.5); }
.footer-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
}
.footer-copy__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-copy__links a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .15s ease; }
.footer-copy__links a:hover { color: #fff; }

/* ── MOBILE CTA BAR ──────────────────────────────────────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom,0px));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
}
.mobile-cta-bar__call {
  flex: 1;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(var(--brand-deep-rgb),.2);
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 15px;
}
.mobile-cta-bar__book {
  flex: 1;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.mobile-cta-spacer { height: 72px; }

@media (max-width: 600px) {
  .mobile-cta-bar { display: flex; }
  .mobile-cta-spacer { display: block; }
}

/* ── BUTTONS ─────────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; border: none; font-family: var(--font-body); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: background .18s ease;
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-lg { font-size: 18px; padding: 16px 36px; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────────── */
@media (max-width: 1140px) {
  .main-nav { display: none; }
}
@media (max-width: 980px) {
  .topbar { display: none; }
}
@media (max-width: 768px) {
  .hero__inner { max-width: 100%; }
  .contact-grid { padding: 32px 20px; }
}
@media (max-width: 600px) {
  .btn-cta-header { font-size: 15px; padding: 12px 20px; gap: 7px; }
  .tour-card { flex-direction: column; }
  .tour-card__btn { width: 100%; justify-content: center; }
}

/* ── INTERIOR PAGES (услуги, врачи, гео, блог, цены) ────────────────────────── */
.geo-hub, .service-page, .doctor-page { padding: 40px 0 80px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--brand); text-decoration: none; }

.geo-hub__hero h1, .service-page h1, .doctor-page h1 {
  font-size: clamp(28px,4vw,46px);
  font-weight: 800;
  margin-bottom: 16px;
}
.lead { font-size: 17px; line-height: 1.6; color: var(--text-muted); max-width: 64ch; margin-bottom: 40px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%,280px),1fr)); }

.service-card {
  display: block;
  text-decoration: none;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.service-card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.service-card h3 { font-size: 18px; color: var(--brand-deep); }

.cta { text-align: center; padding: 60px 0 0; }
.cta h2 { font-size: clamp(24px,3vw,36px); font-weight: 800; margin-bottom: 12px; }
.cta p { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; }

/* ══════════════════════════════════════════════════════════════════
   SVC HUB — страница /service/
══════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.svc-hero {
  padding: 0 clamp(10px,1.6vw,24px);
}
.svc-hero__wrap {
  position: relative;
  max-width: 1840px;
  margin: 0 auto;
  border-radius: clamp(18px,2.5vw,32px);
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-mid) 55%, var(--brand-dark) 100%);
}
.svc-hero__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .08;
  mix-blend-mode: screen;
  pointer-events: none;
}
.svc-hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.svc-hero__glow--tr {
  right: -140px; top: -140px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(var(--brand-rgb),.5), rgba(var(--brand-rgb),0) 70%);
}
.svc-hero__glow--bl {
  left: -180px; bottom: -220px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(var(--brand-light-rgb),.28), rgba(var(--brand-light-rgb),0) 70%);
}
.svc-hero__body {
  position: relative;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: clamp(36px,5vw,72px) var(--content-px) clamp(44px,5.5vw,80px);
  display: flex;
  flex-direction: column;
  gap: clamp(22px,2.6vw,32px);
}
.svc-hero__crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
}
.svc-hero__crumb a {
  color: var(--brand-light);
  text-decoration: none;
  transition: color .15s ease;
}
.svc-hero__crumb a:hover { color: #fff; }
.svc-hero__crumb span:last-child { color: rgba(255,255,255,.85); }
.svc-hero__crumb span[aria-hidden] { color: rgba(255,255,255,.4); }

.svc-hero__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}
.svc-hero__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-light);
  font-weight: 600;
}
.svc-hero__tag-diamond {
  width: 8px; height: 8px;
  background: var(--brand);
  transform: rotate(45deg);
  flex: none;
}
.svc-hero__h1 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(36px,5vw,64px);
  line-height: 1.04;
  letter-spacing: -.015em;
  color: #fff;
  text-wrap: balance;
}
.svc-hero__sub {
  margin: 0;
  font-size: clamp(16px,1.4vw,19px);
  line-height: 1.55;
  color: rgba(255,255,255,.85);
  max-width: 56ch;
  text-wrap: pretty;
}

/* Search */
.svc-hero__search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 560px;
  cursor: text;
}
.svc-hero__search-icon {
  position: absolute;
  left: 22px;
  pointer-events: none;
  flex: none;
}
.svc-hero__input {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text);
  padding: 19px 26px 19px 52px;
  border: none;
  border-radius: 100px;
  outline: none;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0,25,40,.3);
  transition: box-shadow .18s ease;
  -webkit-appearance: none;
}
.svc-hero__input:focus {
  box-shadow: 0 18px 48px rgba(0,25,40,.3), 0 0 0 3px rgba(var(--brand-light-rgb),.6);
}

/* Stats */
.svc-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px,4vw,64px);
  margin-top: 4px;
}
.svc-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.svc-stat__val {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px,2.4vw,32px);
  line-height: 1;
  color: #fff;
}
.svc-stat__label {
  font-size: 13.5px;
  color: var(--brand-light);
}

/* ── Catalog ── */
.svc-catalog {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: clamp(16px,2.5vw,28px) var(--content-px) clamp(72px,9vw,120px);
}

/* No results */
.svc-noresult {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: clamp(56px,8vw,96px) 20px;
  text-align: center;
}
/* Уважать атрибут hidden: заглушка скрыта, пока поиск не дал 0 результатов */
.svc-noresult[hidden] { display: none; }
.svc-noresult__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  color: var(--brand-deep);
}
.svc-noresult__text {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 44ch;
  line-height: 1.6;
}
.svc-noresult__phone {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
}
.svc-noresult__phone:hover { color: var(--brand); }

/* ── Cluster row ── */
.svc-cluster {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(18px,2.5vw,40px);
  padding: clamp(36px,4.5vw,60px) 0;
  border-bottom: 1px solid rgba(var(--brand-deep-rgb),.09);
  scroll-margin-top: 88px;
}

/* Sticky aside */
.svc-cluster__aside {
  align-self: start;
  position: sticky;
  top: 100px;
}
.svc-cluster__label {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(22px,2.4vw,30px);
  border: 1px solid rgba(var(--brand-deep-rgb),.12);
  border-radius: 22px;
  background: #fff;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.svc-cluster__label:hover {
  border-color: rgba(var(--brand-rgb),.5);
  box-shadow: 0 16px 40px rgba(var(--brand-deep-rgb),.1);
  transform: translateY(-3px);
}
.svc-cluster__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px,3vw,46px);
  line-height: 1;
  color: rgba(var(--brand-dark-rgb),.14);
  letter-spacing: .02em;
}
.svc-cluster__name {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px,2.2vw,28px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--brand-deep);
  text-wrap: balance;
}
.svc-cluster__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-top: 2px;
}
.svc-cluster__link span { color: var(--brand); }

/* Services grid */
.svc-cluster__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 14px;
  align-content: start;
}

/* ── Flagship card ── */
.svc-card--feat {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(24px,2.6vw,34px) clamp(24px,2.8vw,38px);
  border-radius: 22px;
  background: linear-gradient(120deg, var(--brand-mid), var(--brand) 130%);
  transition: box-shadow .22s ease, transform .22s ease;
}
.svc-card--feat:hover {
  box-shadow: 0 20px 50px rgba(0,104,132,.35);
  transform: translateY(-3px);
}
.svc-card--feat__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .1;
  pointer-events: none;
}
.svc-card--feat__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 640px;
}
.svc-card--feat__badge {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,.65);
}
.svc-card--feat__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px,2vw,25px);
  line-height: 1.2;
  color: #fff;
}
.svc-card--feat__note {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  text-wrap: pretty;
}
.svc-card--feat__btn {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 100px;
}

/* ── Regular card ── */
.svc-card--reg {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px 24px;
  border: 1px solid rgba(var(--brand-deep-rgb),.09);
  border-radius: 20px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.svc-card--reg:hover {
  border-color: rgba(var(--brand-rgb),.45);
  box-shadow: 0 14px 36px rgba(var(--brand-deep-rgb),.09);
  transform: translateY(-3px);
}
.svc-card--reg__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.svc-card--reg__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.svc-card--reg__badge {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-wash);
  padding: 4px 10px;
  border-radius: 100px;
}
.svc-card--reg__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
  color: var(--brand-ink);
}
.svc-card--reg__arrow {
  color: var(--brand);
  font-size: 17px;
  flex: none;
  margin-top: 1px;
}
.svc-card--reg__note {
  font-size: 14.5px;
  line-height: 1.5;
  color: #41606f;
  text-wrap: pretty;
}

/* ── Hub CTA ── */
.svc-hub-cta {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--content-px) clamp(88px,11vw,150px);
}
.svc-hub-cta__wrap {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(150deg, var(--brand), var(--brand-dark) 120%);
  padding: clamp(40px,6vw,64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.svc-hub-cta__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .12;
  pointer-events: none;
}
.svc-hub-cta__text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
}
.svc-hub-cta__h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px,3vw,40px);
  line-height: 1.12;
  color: #fff;
  text-wrap: balance;
}
.svc-hub-cta__p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  text-wrap: pretty;
}
.svc-hub-cta__actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.svc-hub-cta__btn {
  text-decoration: none;
  background: #fff;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 17px;
  padding: 17px 36px;
  border-radius: 100px;
  transition: transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.svc-hub-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}
.svc-hub-cta__phone {
  text-decoration: none;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .01em;
  transition: color .15s ease;
}
.svc-hub-cta__phone:hover { color: var(--brand-light); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .svc-cluster {
    grid-template-columns: 1fr;
  }
  .svc-cluster__aside {
    position: static;
  }
  .svc-cluster__label {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .svc-cluster__num { font-size: 28px; }
}
@media (max-width: 600px) {
  .svc-hero__stats { gap: 20px 40px; }
  .svc-hub-cta__wrap { padding: 32px 24px; }
  .svc-hub-cta__actions { width: 100%; }
  .svc-hub-cta__btn { width: 100%; text-align: center; }
}
.center { text-align: center; }

/* ═══════════════════════ СТРАНИЦА ЦЕН ═══════════════════════ */
/* Hero (в стиле svc-hero) */
.price-hero { padding: 0 clamp(10px,1.6vw,24px); }
.price-hero__wrap {
  position: relative; max-width: 1840px; margin: 0 auto;
  border-radius: clamp(18px,2.5vw,32px); overflow: hidden;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-mid) 55%, var(--brand-dark) 100%);
}
.price-hero__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .08; mix-blend-mode: screen; pointer-events: none; }
.price-hero__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.price-hero__glow--tr { right: -140px; top: -140px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(var(--brand-rgb),.5), rgba(var(--brand-rgb),0) 70%); }
.price-hero__glow--bl { left: -180px; bottom: -220px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(var(--brand-light-rgb),.28), rgba(var(--brand-light-rgb),0) 70%); }
.price-hero__body { position: relative; max-width: var(--content-w); margin: 0 auto; padding: clamp(36px,5vw,72px) var(--content-px) clamp(44px,5.5vw,80px); display: flex; flex-direction: column; gap: clamp(22px,2.6vw,32px); }
.price-hero__crumb { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.price-hero__crumb a { color: var(--brand-light); text-decoration: none; transition: color .15s ease; }
.price-hero__crumb a:hover { color: #fff; }
.price-hero__crumb span[aria-current] { color: rgba(255,255,255,.85); }
.price-hero__crumb span[aria-hidden] { color: rgba(255,255,255,.4); }
.price-hero__head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.price-hero__tag { display: flex; align-items: center; gap: 10px; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-light); font-weight: 600; }
.price-hero__tag-diamond { width: 8px; height: 8px; background: var(--brand); transform: rotate(45deg); flex: none; }
.price-hero__h1 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(36px,5vw,64px); line-height: 1.04; letter-spacing: -.015em; color: #fff; text-wrap: balance; }
.price-hero__sub { margin: 0; font-size: clamp(16px,1.4vw,19px); line-height: 1.55; color: rgba(255,255,255,.85); max-width: 60ch; text-wrap: pretty; }
.price-hero__search { position: relative; display: flex; align-items: center; max-width: 560px; cursor: text; }
.price-hero__search-icon { position: absolute; left: 22px; pointer-events: none; flex: none; }
.price-hero__input { width: 100%; box-sizing: border-box; font-family: var(--font-body); font-size: 17px; color: var(--text); padding: 19px 26px 19px 52px; border: none; border-radius: 100px; outline: none; background: #fff; box-shadow: 0 18px 48px rgba(0,25,40,.3); transition: box-shadow .18s ease; -webkit-appearance: none; }
.price-hero__input:focus { box-shadow: 0 18px 48px rgba(0,25,40,.3), 0 0 0 3px rgba(var(--brand-light-rgb),.6); }
.price-hero__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.price-hero__pay-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-light); font-weight: 600; margin-right: 6px; }
.price-pill { font-size: 14px; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); padding: 7px 15px; border-radius: 100px; }
.price-pill--accent { background: rgba(255,255,255,.16); border-color: rgba(var(--brand-light-rgb),.5); }

/* Список-прайс */
.price-list { max-width: var(--content-w); margin: 0 auto; padding: clamp(28px,4vw,48px) var(--content-px) clamp(72px,9vw,120px); display: flex; flex-direction: column; gap: 14px; }
.price-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 6px; }
.price-toolbar__hint { font-size: 15px; color: #5d7885; }
.price-toolbar__all { flex: none; white-space: nowrap; cursor: pointer; font-family: var(--font-body); font-size: 14.5px; font-weight: 700; color: var(--brand-dark); background: var(--brand-wash); padding: 10px 20px; border: none; border-radius: 100px; transition: background .18s ease, color .18s ease; }
.price-toolbar__all:hover { background: var(--brand); color: #fff; }

.price-noresult { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: clamp(48px,7vw,80px) 20px; text-align: center; background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.09); border-radius: 22px; }
.price-noresult[hidden] { display: none; }
.price-noresult__title { font-family: var(--font-head); font-weight: 800; font-size: 23px; color: var(--brand-deep); }
.price-noresult__text { font-size: 15.5px; color: var(--text-muted); max-width: 46ch; }
.price-noresult__phone { color: var(--brand-dark); font-weight: 700; text-decoration: none; }

/* Раздел-аккордеон */
.price-section { background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.09); border-radius: 22px; overflow: hidden; transition: border-color .2s ease; }
.price-section.is-open { border-color: rgba(var(--brand-rgb),.4); }
.price-section[hidden] { display: none; }
.price-section__head { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: clamp(20px,2.4vw,26px) clamp(20px,2.8vw,32px); }
.price-section__title { display: flex; flex-direction: column; gap: 3px; }
.price-section__name { font-family: var(--font-head); font-weight: 800; font-size: clamp(19px,2vw,23px); line-height: 1.2; color: var(--brand-deep); }
.price-section__count { font-size: 14px; color: #8aa3af; }
.price-section__chevron { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-wash); display: flex; align-items: center; justify-content: center; transition: transform .25s ease; }
.price-section.is-open .price-section__chevron { transform: rotate(180deg); }
.price-section__body { display: none; padding: 0 clamp(20px,2.8vw,32px) clamp(18px,2.2vw,26px); flex-direction: column; }
.price-section.is-open .price-section__body { display: flex; }

.price-sub { padding: 22px 0 4px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-dark); font-weight: 700; }
.price-row { display: grid; grid-template-columns: 148px minmax(0,1fr) max-content; gap: 4px 20px; align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(var(--brand-deep-rgb),.07); }
.price-row[hidden] { display: none; }
.price-row__code { font-size: 12.5px; color: #9db2bc; font-variant-numeric: tabular-nums; letter-spacing: .02em; padding-top: 2px; }
.price-row__name { font-size: 15px; line-height: 1.5; color: #26414f; text-wrap: pretty; }
.price-row__value { text-align: right; font-family: var(--font-head); font-weight: 800; font-size: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-row__value--value { color: var(--brand-deep); }
.price-row__value--free { color: var(--brand); }
.price-row__value--request { color: #8aa3af; font-weight: 600; }
.price-disclaimer { font-size: 13.5px; line-height: 1.6; color: #8aa3af; padding-top: 10px; text-wrap: pretty; }

@media (max-width: 760px) {
  .price-row { grid-template-columns: minmax(0,1fr) max-content; }
  .price-row__code { display: none; }
}

/* CTA (в стиле svc-hub-cta) */
.price-cta { max-width: var(--content-w); margin: 0 auto; padding: 0 var(--content-px) clamp(88px,11vw,150px); }
.price-cta__wrap { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(150deg, var(--brand), var(--brand-dark) 120%); padding: clamp(40px,6vw,64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.price-cta__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .12; pointer-events: none; }
.price-cta__text { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.price-cta__h2 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(26px,3vw,40px); line-height: 1.12; color: #fff; text-wrap: balance; }
.price-cta__p { margin: 0; font-size: 16.5px; line-height: 1.55; color: rgba(255,255,255,.82); text-wrap: pretty; }
.price-cta__actions { position: relative; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.price-cta__btn { text-decoration: none; background: #fff; color: var(--brand-deep); font-weight: 700; font-size: 17px; padding: 17px 36px; border-radius: 100px; transition: transform .18s ease, box-shadow .18s ease; white-space: nowrap; }
.price-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.price-cta__phone { text-decoration: none; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: .01em; transition: color .15s ease; }
.price-cta__phone:hover { color: var(--brand-light); }

/* ═══════════════════ ДЕТАЛЬНАЯ СТРАНИЦА УСЛУГИ ═══════════════════ */
/* Hero */
.svcd-hero { padding: 0 clamp(10px,1.6vw,24px); }
.svcd-hero__wrap { position: relative; max-width: 1840px; margin: 0 auto; border-radius: clamp(18px,2.5vw,32px); overflow: hidden; background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-mid) 55%, var(--brand-dark) 100%); }
.svcd-hero__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .08; mix-blend-mode: screen; pointer-events: none; }
.svcd-hero__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.svcd-hero__glow--tr { right: -140px; top: -140px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(var(--brand-rgb),.5), rgba(var(--brand-rgb),0) 70%); }
.svcd-hero__glow--bl { left: -180px; bottom: -220px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(var(--brand-light-rgb),.28), rgba(var(--brand-light-rgb),0) 70%); }
.svcd-hero__body { position: relative; max-width: var(--content-w); margin: 0 auto; padding: clamp(32px,4.5vw,64px) var(--content-px) clamp(40px,5vw,72px); display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: clamp(28px,4vw,56px); align-items: center; }
.svcd-hero__main { display: flex; flex-direction: column; gap: clamp(18px,2.2vw,26px); min-width: 0; }
.svcd-hero__crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14.5px; }
.svcd-hero__crumb a { color: var(--brand-light); text-decoration: none; transition: color .15s ease; }
.svcd-hero__crumb a:hover { color: #fff; }
.svcd-hero__crumb span[aria-current] { color: rgba(255,255,255,.85); }
.svcd-hero__crumb span[aria-hidden] { color: rgba(255,255,255,.4); }
.svcd-hero__head { display: flex; flex-direction: column; gap: 14px; }
.svcd-hero__tag { display: flex; align-items: center; gap: 10px; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-light); font-weight: 600; }
.svcd-hero__tag-diamond { width: 8px; height: 8px; background: var(--brand); transform: rotate(45deg); flex: none; }
.svcd-hero__h1 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(32px,4.4vw,58px); line-height: 1.05; letter-spacing: -.015em; color: #fff; text-wrap: balance; }
.svcd-hero__sub { margin: 0; font-size: clamp(16px,1.4vw,19px); line-height: 1.55; color: rgba(255,255,255,.85); max-width: 54ch; text-wrap: pretty; }
.svcd-hero__usps { display: flex; flex-wrap: wrap; gap: 8px; }
.svcd-usp { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); padding: 8px 16px; border-radius: 100px; }
.svcd-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.svcd-hero__btn { text-decoration: none; background: #fff; color: var(--brand-deep); font-weight: 700; font-size: 17px; padding: 17px 36px; border-radius: 100px; transition: transform .18s ease, box-shadow .18s ease; }
.svcd-hero__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.25); }
.svcd-hero__btn-ghost { text-decoration: none; color: #fff; border: 1.5px solid rgba(255,255,255,.4); font-weight: 700; font-size: 16px; padding: 15px 32px; border-radius: 100px; transition: border-color .18s ease, background .18s ease; }
.svcd-hero__btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.svcd-hero__card { position: relative; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); border-radius: 24px; padding: clamp(24px,2.6vw,34px); display: flex; flex-direction: column; gap: 4px; }
.svcd-hero__card-title { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-light); font-weight: 600; padding-bottom: 14px; }
.svcd-hero__card-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 15.5px; color: rgba(255,255,255,.85); }
.svcd-hero__card-val { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: #fff; flex: none; }
.svcd-hero__card-note { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.6); padding-top: 12px; text-wrap: pretty; }

/* Body layout */
.svcd-body { max-width: var(--content-w); margin: 0 auto; padding: clamp(36px,5vw,72px) var(--content-px) clamp(72px,9vw,120px); display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(32px,4vw,56px); align-items: start; }
.svcd-main { display: flex; flex-direction: column; gap: clamp(44px,5.5vw,72px); min-width: 0; }
.svcd-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; min-width: 0; }

.svcd-block { display: flex; flex-direction: column; gap: 16px; }
.svcd-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-dark); font-weight: 600; }
.svcd-eyebrow__diamond { width: 8px; height: 8px; background: var(--brand); transform: rotate(45deg); flex: none; }
.svcd-h2 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(25px,2.6vw,34px); line-height: 1.12; letter-spacing: -.01em; color: var(--brand-deep); text-wrap: balance; }
.svcd-lead, .svcd-prose { margin: 0; font-size: clamp(16px,1.3vw,17.5px); line-height: 1.65; color: var(--text-muted); text-wrap: pretty; }
.svcd-prose p { margin: 0 0 12px; }

/* Показания / противопоказания */
.svcd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svcd-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px,2.6vw,32px); border-radius: 22px; }
.svcd-card--ind { background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.1); }
.svcd-card--contra { background: var(--brand-wash-soft); border: 1px solid rgba(var(--brand-deep-rgb),.08); }
.svcd-card__h3 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 21px; color: var(--brand-deep); }
.svcd-card__list { display: flex; flex-direction: column; gap: 14px; }
.svcd-card__note { font-size: 14px; line-height: 1.55; color: #5d7885; border-top: 1px solid rgba(var(--brand-deep-rgb),.1); padding-top: 14px; text-wrap: pretty; }
.svcd-check, .svcd-cross { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.55; color: var(--text-muted); }
.svcd-check__ic { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-wash); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.svcd-cross__ic { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.15); display: flex; align-items: center; justify-content: center; margin-top: 1px; font-weight: 800; font-size: 13px; color: var(--brand-dark); }

/* Этапы */
.svcd-steps { display: flex; flex-direction: column; }
.svcd-step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.svcd-step__rail { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.svcd-step__num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 18px; color: #fff; }
.svcd-step__line { flex: 1; width: 2px; background: linear-gradient(180deg, rgba(var(--brand-rgb),.4), rgba(var(--brand-rgb),.1)); min-height: 34px; }
.svcd-step__body { display: flex; flex-direction: column; gap: 6px; padding-bottom: 26px; }
.svcd-step__name { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--brand-ink); padding-top: 9px; }
.svcd-step__text { font-size: 15.5px; line-height: 1.6; color: var(--text-muted); max-width: 62ch; text-wrap: pretty; }

/* Стоимость */
.svcd-price { background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.1); border-radius: 22px; padding: clamp(10px,1.4vw,16px) clamp(24px,2.8vw,36px); }
.svcd-price__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 18px 0; border-bottom: 1px solid rgba(var(--brand-deep-rgb),.08); }
.svcd-price__row:last-child { border-bottom: none; }
.svcd-price__name { font-size: 16.5px; font-weight: 600; color: var(--brand-ink); }
.svcd-price__dots { flex: 1; min-width: 40px; border-bottom: 2px dotted rgba(var(--brand-deep-rgb),.18); transform: translateY(-4px); }
.svcd-price__val { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--brand-deep); white-space: nowrap; }
.svcd-price__val--free { color: var(--brand); }
.svcd-price__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.svcd-price__note { font-size: 14.5px; line-height: 1.55; color: #5d7885; max-width: 56ch; text-wrap: pretty; }
.svcd-price__link { text-decoration: none; display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; color: var(--brand-dark); transition: color .15s ease; }
.svcd-price__link:hover { color: var(--brand); }
.svcd-price__link span { color: var(--brand); }

/* Рассрочка */
.svcd-credit { position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(120deg, var(--brand-wash), var(--brand-wash-soft)); border: 1px solid rgba(var(--brand-rgb),.2); padding: clamp(24px,3vw,36px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px,3.5vw,48px); }
.svcd-credit__lead { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
.svcd-credit__pct { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px,3vw,42px); line-height: 1; color: var(--brand-deep); }
.svcd-credit__title { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--brand-deep); }
.svcd-credit__sub { font-size: 14.5px; color: var(--text-muted); }
.svcd-credit__grid { flex: 1; min-width: min(100%,280px); display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 14px; }
.svcd-credit__cell { display: flex; flex-direction: column; gap: 3px; background: rgba(255,255,255,.75); border-radius: 16px; padding: 16px 18px; }
.svcd-credit__big { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--brand-dark); }
.svcd-credit__small { font-size: 13.5px; color: var(--text-muted); }

/* FAQ (native details) */
.svcd-faq { display: flex; flex-direction: column; gap: 12px; }
.svcd-faq__item { background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.1); border-radius: 18px; overflow: hidden; transition: border-color .2s ease; }
.svcd-faq__item[open] { border-color: rgba(var(--brand-rgb),.45); }
.svcd-faq__q { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; font-family: var(--font-head); font-weight: 700; font-size: 17.5px; line-height: 1.35; color: var(--brand-ink); }
.svcd-faq__q::-webkit-details-marker { display: none; }
.svcd-faq__ic { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-wash); display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 600; color: var(--brand-dark); transition: transform .25s ease; }
.svcd-faq__item[open] .svcd-faq__ic { transform: rotate(45deg); }
.svcd-faq__a { margin: 0; padding: 0 24px 22px; font-size: 15.5px; line-height: 1.62; color: var(--text-muted); max-width: 70ch; text-wrap: pretty; }

/* Сайдбар */
.svcd-aside-cta { position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(150deg, var(--brand), var(--brand-dark) 130%); padding: clamp(24px,2.6vw,32px); display: flex; flex-direction: column; gap: 16px; }
.svcd-aside-cta__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .1; pointer-events: none; }
.svcd-aside-cta__text { position: relative; display: flex; flex-direction: column; gap: 8px; }
.svcd-aside-cta__title { font-family: var(--font-head); font-weight: 800; font-size: 21px; line-height: 1.2; color: #fff; }
.svcd-aside-cta__sub { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.85); text-wrap: pretty; }
.svcd-aside-cta__actions { position: relative; display: flex; flex-direction: column; gap: 10px; }
.svcd-aside-cta__btn { text-decoration: none; text-align: center; background: #fff; color: var(--brand-deep); font-weight: 700; font-size: 15.5px; padding: 14px 24px; border-radius: 100px; transition: transform .18s ease, box-shadow .18s ease; }
.svcd-aside-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.svcd-aside-cta__phone { text-decoration: none; text-align: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: .01em; transition: color .15s ease; }
.svcd-aside-cta__phone:hover { color: var(--brand-light); }
.svcd-related { background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.1); border-radius: 22px; padding: clamp(22px,2.4vw,28px); display: flex; flex-direction: column; gap: 6px; }
.svcd-related__label { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-dark); font-weight: 600; padding-bottom: 10px; }
.svcd-related__item { text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(var(--brand-deep-rgb),.07); font-size: 15px; font-weight: 600; color: var(--brand-ink); line-height: 1.4; transition: color .15s ease; }
.svcd-related__item:hover { color: var(--brand-dark); }
.svcd-related__arrow { color: var(--brand); flex: none; }

@media (max-width: 1060px) {
  .svcd-body { grid-template-columns: 1fr; }
  .svcd-aside { position: static; }
}
@media (max-width: 980px) {
  .svcd-hero__body { grid-template-columns: 1fr; align-items: stretch; }
}
@media (max-width: 760px) {
  .svcd-cols { grid-template-columns: 1fr; }
}

/* ═══════════════════ СТРАНИЦА ВРАЧА ═══════════════════ */
.svcd-hero__body--solo { grid-template-columns: 1fr; }
.doc-hero__role { margin: 0; font-size: clamp(17px,1.5vw,21px); line-height: 1.4; color: var(--brand-light); font-weight: 600; }
.doc-hero__phone { text-decoration: none; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: .01em; transition: color .15s ease; }
.doc-hero__phone:hover { color: var(--brand-light); }
.doc-hero__figure { position: relative; max-width: 400px; width: 100%; justify-self: center; }
.doc-hero__photo { width: 100%; height: clamp(380px,42vw,464px); object-fit: cover; display: block; border-radius: 24px; box-shadow: 0 24px 64px rgba(0,25,40,.35); }
.doc-hero__badge { position: absolute; top: 14px; right: 14px; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 74px; height: 74px; border-radius: 50%; background: var(--brand); box-shadow: 0 10px 26px rgba(var(--brand-ink-rgb),.35); }
.doc-hero__badge-num { font-family: var(--font-head); font-weight: 800; font-size: 22px; line-height: 1; color: #fff; }
.doc-hero__badge-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.9); line-height: 1.2; }

.doc-address { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--text-muted); }
.doc-address svg { flex: none; }
.doc-address b { color: var(--brand-deep); }

/* Видеовизитка */
@keyframes okroPulseW { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.5); } 70% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.doc-video-row { display: flex; gap: clamp(22px,3vw,44px); align-items: center; flex-wrap: wrap; }
.doc-video { appearance: none; border: none; margin: 0; padding: 0; cursor: pointer; position: relative; width: clamp(228px,26vw,286px); aspect-ratio: 9/16; flex: none; border-radius: clamp(20px,2vw,28px); overflow: hidden; background: var(--brand-ink); box-shadow: 0 26px 60px rgba(0,42,62,.3); display: block; text-align: left; }
.doc-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 10%; }
.doc-video__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,40,58,.14) 0%, rgba(1,40,58,0) 40%, rgba(1,40,58,.82) 100%); }
.doc-video__pill { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 100px; background: rgba(2,40,58,.5); backdrop-filter: blur(6px); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.doc-video__play { position: absolute; left: 50%; top: 43%; transform: translate(-50%,-50%); width: clamp(66px,7vw,82px); height: clamp(66px,7vw,82px); border-radius: 50%; background: rgba(255,255,255,.15); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; }
.doc-video__play-pulse { position: absolute; inset: 0; border-radius: 50%; animation: okroPulseW 2.4s ease-out infinite; }
.doc-video__play-btn { width: clamp(50px,5vw,60px); height: clamp(50px,5vw,60px); border-radius: 50%; background: linear-gradient(135deg,var(--brand-bright),var(--brand-dark)); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(var(--brand-ink-rgb),.45); }
.doc-video__play-btn svg { margin-left: 3px; }
.doc-video__cap { position: absolute; left: 16px; right: 16px; bottom: 15px; display: flex; flex-direction: column; gap: 2px; }
.doc-video__cap-name { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: #fff; line-height: 1.22; }
.doc-video__cap-role { font-size: 12.5px; color: rgba(255,255,255,.82); }
.doc-video__text { flex: 1; min-width: min(100%,258px); display: flex; flex-direction: column; gap: 15px; }
.doc-video__watch { align-self: flex-start; appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 100px; border: none; background: linear-gradient(135deg,var(--brand-bright),var(--brand-dark)); color: #fff; font-family: inherit; font-weight: 600; font-size: 15.5px; box-shadow: 0 14px 30px rgba(var(--brand-dark-rgb),.34); transition: transform .18s ease, box-shadow .18s ease; }
.doc-video__watch:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(var(--brand-dark-rgb),.42); }
.doc-video__el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
@media (prefers-reduced-motion: reduce) { .doc-video__play-pulse { animation: none; } }

/* Специализация */
.doc-service-group { display: flex; flex-direction: column; gap: 14px; }
.doc-service-group__label { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-dark); font-weight: 700; }
.doc-services { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.doc-service { text-decoration: none; display: flex; flex-direction: column; gap: 9px; padding: 22px 24px; border: 1px solid rgba(var(--brand-deep-rgb),.09); border-radius: 20px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.doc-service:hover { border-color: rgba(var(--brand-rgb),.45); box-shadow: 0 14px 36px rgba(var(--brand-deep-rgb),.09); transform: translateY(-3px); }
.doc-service__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.doc-service__name { font-family: var(--font-head); font-weight: 800; font-size: 18px; line-height: 1.25; color: var(--brand-ink); }
.doc-service__arrow { color: var(--brand); font-size: 17px; flex: none; margin-top: 1px; }
.doc-service__note { font-size: 14.5px; line-height: 1.5; color: #41606f; text-wrap: pretty; }

/* Примеры работ — слайдер до/после */
.doc-cases__hint { margin: 0; font-size: 15.5px; line-height: 1.55; color: #5d7885; }
.doc-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.doc-case { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.09); border-radius: 22px; overflow: hidden; }
.doc-case__frame { position: relative; aspect-ratio: 16/10.5; background: var(--brand-wash); --pos: 50%; touch-action: none; }
.doc-case__before, .doc-case__after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-case__after { clip-path: inset(0 0 0 var(--pos)); }
.doc-case__divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: rgba(255,255,255,.95); box-shadow: 0 0 14px rgba(0,25,40,.45); transform: translateX(-1px); pointer-events: none; }
.doc-case__handle { position: absolute; top: 50%; left: var(--pos); transform: translate(-50%,-50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0,25,40,.35); display: flex; align-items: center; justify-content: center; gap: 3px; pointer-events: none; }
.doc-case__tag { position: absolute; bottom: 12px; pointer-events: none; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: #fff; padding: 5px 14px; border-radius: 100px; }
.doc-case__tag--before { left: 12px; background: rgba(0,35,52,.6); }
.doc-case__tag--after { right: 12px; background: rgba(var(--brand-rgb),.92); }
.doc-case__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; padding: 0; }
.doc-case__caption { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px 20px; }
.doc-case__title { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--brand-ink); }
.doc-case__by { font-size: 14px; color: #8aa3af; }

/* Образование — таймлайн */
.doc-timeline { display: flex; flex-direction: column; }
.doc-tl { display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.doc-tl__rail { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.doc-tl__ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); display: flex; align-items: center; justify-content: center; }
.doc-tl__line { flex: 1; width: 2px; background: linear-gradient(180deg, rgba(var(--brand-rgb),.4), rgba(var(--brand-rgb),.1)); min-height: 34px; }
.doc-tl__body { display: flex; flex-direction: column; gap: 6px; padding-bottom: 26px; }
.doc-tl__date { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #8aa3af; font-weight: 600; padding-top: 4px; }
.doc-tl__title { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--brand-ink); }
.doc-tl__text { font-size: 15.5px; line-height: 1.6; color: var(--text-muted); max-width: 62ch; text-wrap: pretty; }

/* Отзывы / рейтинг */
.doc-rating { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px,3vw,44px); background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.1); border-radius: 22px; padding: clamp(24px,3vw,36px); }
.doc-rating__score { display: flex; flex-direction: column; gap: 6px; }
.doc-rating__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(44px,5vw,58px); line-height: 1; color: var(--brand-deep); }
.doc-rating__stars { display: flex; gap: 3px; }
.doc-rating__count { font-size: 14px; color: #8aa3af; }
.doc-rating__body { flex: 1; min-width: min(100%,260px); display: flex; flex-direction: column; gap: 14px; }
.doc-rating__body p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text-muted); text-wrap: pretty; }
.doc-rating__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-rating__btn { text-decoration: none; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 100px; transition: background .18s ease, transform .18s ease; }
.doc-rating__btn:hover { background: var(--brand-bright); transform: translateY(-2px); }
.doc-rating__btn-ghost { text-decoration: none; color: var(--brand-dark); border: 1.5px solid rgba(var(--brand-dark-rgb),.35); font-weight: 700; font-size: 15px; padding: 11.5px 26px; border-radius: 100px; transition: border-color .18s ease, background .18s ease; }
.doc-rating__btn-ghost:hover { border-color: var(--brand); background: var(--brand-wash); }

/* Сайдбар — приём в клинике */
.doc-visit { background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.1); border-radius: 22px; padding: clamp(22px,2.4vw,28px); display: flex; flex-direction: column; gap: 14px; }
.doc-visit__label { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-dark); font-weight: 600; }
.doc-visit__row { display: flex; gap: 10px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.doc-visit__row svg { flex: none; margin-top: 3px; }

@media (max-width: 700px) {
  .doc-services, .doc-cases { grid-template-columns: 1fr; }
}

/* В кабинете — галерея */
.doc-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.doc-gallery__item { position: relative; margin: 0; border-radius: 20px; overflow: hidden; }
.doc-gallery__img { width: 100%; height: clamp(200px,24vw,260px); object-fit: cover; display: block; }
.doc-gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; padding: 52px 20px 18px; background: linear-gradient(180deg, rgba(0,40,58,0), rgba(0,40,58,.82)); display: flex; flex-direction: column; gap: 4px; }
.doc-gallery__cap-title { font-family: var(--font-head); font-weight: 800; font-size: 16.5px; line-height: 1.25; color: #fff; }
.doc-gallery__cap-note { font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.8); }
@media (max-width: 900px) { .doc-gallery { grid-template-columns: repeat(2,1fr); } }

/* T37/T42: документы врача — две секции (Дипломы / Сертификаты). КВАДРАТНЫЕ карточки (1:1) одной высоты,
   подпись ПОД рамкой. Адаптив: >1000px — 4 колонки, ≤1000 — 3, ≤520 — 2. Заполненные карточки; призрак пустых — в редакторе. */
.doc-docs, .doc-certs { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.doc-doc, .doc-cert { display: flex; flex-direction: column; gap: 9px; margin: 0; }
/* T42: КВАДРАТ для всех форматов → ряд ровный, ничего не режется. object-fit:contain вписывает лист целиком
   (A4-ландшафт получает ~15% полей сверху-снизу, портрет — те же ~15% по бокам). ПАСПАРТУ: padding + светлый
   фон var(--brand-wash-2) (из палитры бренда) + тонкая рамка — поля читаются как оформление, а не как дырка.
   Классы is-landscape/is-portrait на figure ОСТАВЛЕНЫ (ещё пригодятся), но аспект от них больше НЕ зависит —
   правило T40 (.is-landscape → 4:3) снято. */
.doc-slot__img { width: 100%; aspect-ratio: 1/1; object-fit: contain; display: block; border-radius: 16px; border: 1px solid rgba(var(--brand-deep-rgb),.12); background: var(--brand-wash-2); padding: clamp(9px,1.3vw,14px); }
.doc-slot__cap { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.doc-slot__cap-title { font-size: 13.5px; line-height: 1.35; color: #5d7885; }
.doc-slot__cap-note { font-size: 12px; line-height: 1.3; color: #9db4bf; }
@media (max-width: 1000px) { .doc-docs, .doc-certs { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 520px) { .doc-docs, .doc-certs { grid-template-columns: repeat(2,1fr); } }

/* T39: лайтбокс документов — клик по карточке диплома/сертификата → полноэкранный просмотр (полная картинка). */
body.doc-lightbox-open { overflow: hidden; }
.doc-lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(6,20,28,.92); padding: 24px; }
.doc-lightbox[hidden] { display: none; }
.doc-lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.doc-lightbox__img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 10px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.doc-lightbox__cap { display: flex; flex-direction: column; gap: 3px; text-align: center; color: #fff; }
.doc-lightbox__title { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.doc-lightbox__issuer { font-size: 13.5px; color: rgba(255,255,255,.72); }
.doc-lightbox__close, .doc-lightbox__nav { position: absolute; border: none; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.doc-lightbox__close:hover, .doc-lightbox__nav:hover { background: rgba(255,255,255,.26); }
.doc-lightbox__close { top: 16px; right: 18px; width: 44px; height: 44px; font-size: 26px; }
.doc-lightbox__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 30px; }
.doc-lightbox__nav--prev { left: 16px; }
.doc-lightbox__nav--next { right: 16px; }
@media (max-width: 600px) {
  .doc-lightbox { padding: 12px; }
  .doc-lightbox__img { max-width: 96vw; max-height: 78vh; }
  .doc-lightbox__nav { width: 40px; height: 40px; font-size: 24px; }
  .doc-lightbox__nav--prev { left: 6px; } .doc-lightbox__nav--next { right: 6px; }
}

/* Отзывы — бегущая лента */
.doc-reviews-sec { max-width: var(--content-w); margin: 0 auto; padding: 0 var(--content-px) clamp(48px,6vw,80px); display: flex; flex-direction: column; gap: clamp(22px,2.6vw,32px); }
.doc-reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.doc-reviews__head > div { display: flex; flex-direction: column; gap: 14px; }
.doc-reviews__all { text-decoration: none; display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; color: var(--brand-dark); transition: color .15s ease; }
.doc-reviews__all:hover { color: var(--brand); }
.doc-reviews__all span { color: var(--brand); }
.doc-reviews { overflow: hidden; }
.doc-reviews__track { display: flex; width: max-content; gap: 16px; padding: 4px 0; animation: docFlow 110s linear infinite; }
.doc-reviews:hover .doc-reviews__track { animation-play-state: paused; }
@keyframes docFlow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .doc-reviews__track { animation: none; } }
.doc-review { flex: none; width: min(78vw,340px); display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.1); border-radius: 20px; padding: 22px 24px; }
.doc-review__head { display: flex; align-items: center; gap: 12px; }
.doc-review__avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-wash); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--brand-dark); }
.doc-review__meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.doc-review__name { font-weight: 700; font-size: 15px; color: var(--brand-ink); line-height: 1.3; }
.doc-review__date { font-size: 12.5px; color: #8aa3af; }
.doc-review__stars { display: flex; gap: 2px; }
.doc-review__text { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty; }

@media (max-width: 700px) {
  .doc-gallery { grid-template-columns: 1fr; }
}

/* ═══════════════════ FAQ на главной ═══════════════════ */
.home-faq { max-width: var(--content-w); margin: 0 auto; padding: clamp(40px,6vw,80px) var(--content-px); }
.home-faq__inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(22px,2.6vw,32px); }
.home-faq__head { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.home-faq__eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-dark); font-weight: 600; }
.home-faq__h2 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(28px,3.4vw,42px); line-height: 1.1; color: var(--brand-deep); text-wrap: balance; }
.home-faq__list { display: flex; flex-direction: column; gap: 12px; }

/* ═══════════════════════════════════════════════════════════════════════════
   ВРАЧИ — хаб (/doctor/)
   ═══════════════════════════════════════════════════════════════════════════ */
.doc-hub-intro { padding: clamp(22px,3vw,40px) var(--content-px) 0; }
.doc-hub-intro__wrap {
  position: relative; overflow: hidden; max-width: var(--content-w); margin: 0 auto;
  border-radius: clamp(22px,3vw,34px);
  background: linear-gradient(145deg, var(--brand-deep), var(--brand-dark) 128%);
  padding: clamp(34px,5vw,68px) clamp(24px,5vw,72px); color: #fff;
}
.doc-hub-intro__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .09; }
.doc-hub-intro__body { position: relative; max-width: 820px; display: flex; flex-direction: column; gap: clamp(14px,1.8vw,20px); }
.doc-hub-intro__crumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: rgba(255,255,255,.72); }
.doc-hub-intro__crumb a { color: rgba(255,255,255,.86); text-decoration: none; }
.doc-hub-intro__crumb a:hover { color: #fff; }
.doc-hub-intro__tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-light); }
.doc-hub-intro__tag-diamond { width: 11px; height: 11px; background: var(--brand-light); transform: rotate(45deg); border-radius: 2px; }
.doc-hub-intro__h1 { color: #fff; margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(32px,5vw,60px); line-height: 1.04; letter-spacing: -.015em; }
.doc-hub-intro__sub { margin: 0; font-size: clamp(16px,1.4vw,19px); line-height: 1.6; color: rgba(255,255,255,.86); max-width: 62ch; }
.doc-hub-intro__stats { display: flex; flex-wrap: wrap; gap: clamp(22px,3.4vw,52px); margin-top: clamp(8px,1vw,14px); }
.doc-hub-intro__divider { width: 1px; align-self: stretch; background: rgba(255,255,255,.18); }
.doc-hub-stat { display: flex; flex-direction: column; gap: 3px; }
.doc-hub-stat__val { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px,3.4vw,44px); line-height: 1; color: #fff; }
.doc-hub-stat__label { font-size: 14.5px; color: rgba(255,255,255,.8); }

.doc-hub-all { max-width: var(--content-w); margin: 0 auto; padding: clamp(44px,5.5vw,80px) var(--content-px) 0; }
.doc-hub-all__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.doc-hub-all__intro { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.doc-hub-all__h2 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(28px,3.4vw,44px); line-height: 1.08; letter-spacing: -.01em; color: var(--brand-deep); }
.doc-hub-all__p { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--text-muted); }
.doc-hub-all__count { font-size: 15px; font-weight: 600; color: var(--brand-dark); background: var(--brand-wash-2); border: 1px solid rgba(var(--brand-rgb),.18); padding: 9px 18px; border-radius: var(--radius-pill); white-space: nowrap; }

.doc-hub-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(22px,2.6vw,32px) 0 clamp(28px,3vw,42px); }
.doc-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: 600; font-size: 15px; cursor: pointer; background: #fff; color: #12495f; border: 1px solid rgba(var(--brand-deep-rgb),.14); transition: transform .16s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.doc-chip:hover { transform: translateY(-1px); }
.doc-chip__count { opacity: .55; font-weight: 700; }
.doc-chip--active { background: linear-gradient(120deg, var(--brand), var(--brand-dark)); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(var(--brand-dark-rgb),.2); }
.doc-chip--active .doc-chip__count { opacity: .8; }

.doc-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,262px),1fr)); gap: clamp(20px,2.2vw,28px); }
.doc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.08); border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(var(--brand-dark-rgb),.06); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.doc-card:hover { transform: translateY(-5px); box-shadow: 0 24px 54px rgba(var(--brand-dark-rgb),.15); border-color: var(--brand-tint-2); }
.doc-card__link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.doc-card__photo { position: relative; aspect-ratio: 1 / 1.02; background: linear-gradient(170deg,var(--brand-wash-2),var(--brand-tint)); overflow: hidden; }
.doc-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.doc-card__exp { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(140deg, rgba(var(--brand-deep-rgb),.94), rgba(var(--brand-dark-rgb),.94)); box-shadow: 0 8px 22px rgba(0,40,55,.3); }
.doc-card__exp-num { font-family: var(--font-head); font-weight: 800; font-size: 21px; line-height: 1; color: #fff; }
.doc-card__exp-unit { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.9); line-height: 1.15; text-align: center; margin-top: 2px; }
.doc-card__body { padding: 18px 20px 12px; display: flex; flex-direction: column; gap: 9px; }
.doc-card__id { display: flex; flex-direction: column; gap: 4px; }
.doc-card__name { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.25; color: var(--brand-deep); }
.doc-card__role { font-size: 14px; line-height: 1.4; color: var(--brand-dark); }
.doc-card__rating { display: flex; align-items: center; gap: 7px; }
.doc-card__stars { display: flex; gap: 1.5px; }
.doc-card__rating-val { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--brand-deep); }
.doc-card__rating-count { font-size: 13px; color: #7a95a2; }
.doc-card__blurb { font-size: 13.5px; line-height: 1.5; color: #5a7280; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.doc-card__cat { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #12495f; }
.doc-card__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.doc-card__tag { font-size: 12.5px; font-weight: 600; color: var(--brand-dark); background: var(--brand-wash-2); border: 1px solid rgba(var(--brand-rgb),.18); padding: 5px 11px; border-radius: var(--radius-pill); }
.doc-card__actions { margin-top: auto; padding: 6px 20px 20px; display: flex; gap: 10px; }
.doc-card__btn { flex: 1; text-decoration: none; display: flex; align-items: center; justify-content: center; padding: 12px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14.5px; transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.doc-card__btn--ghost { border: 1.5px solid rgba(var(--brand-rgb),.35); color: var(--brand-dark); }
.doc-card__btn--ghost:hover { background: var(--brand-wash-2); border-color: var(--brand); }
.doc-card__btn--solid { background: linear-gradient(120deg, var(--brand), var(--brand-dark)); color: #fff; }
.doc-card__btn--solid:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(var(--brand-dark-rgb),.28); }

.doc-hub-empty { margin-top: 28px; padding: 32px; text-align: center; background: #fff; border: 1px dashed rgba(var(--brand-deep-rgb),.2); border-radius: var(--radius-md); display: flex; flex-direction: column; gap: 8px; }
.doc-hub-empty__title { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--brand-deep); }
.doc-hub-empty__text { font-size: 15px; color: var(--text-muted); }
.doc-hub-empty__text a { color: var(--brand-dark); font-weight: 700; text-decoration: none; white-space: nowrap; }

.doc-hub-trust { max-width: var(--content-w); margin: 0 auto; padding: clamp(48px,6vw,84px) var(--content-px) 0; }
.doc-hub-trust__wrap { background: linear-gradient(180deg, var(--bg-soft), var(--bg-softer)); border: 1px solid var(--border-soft); border-radius: clamp(22px,3vw,32px); padding: clamp(32px,4vw,56px) clamp(22px,4vw,56px); }
.doc-hub-trust__h2 { margin: 0 0 clamp(24px,3vw,40px); font-family: var(--font-head); font-weight: 800; font-size: clamp(24px,2.8vw,36px); line-height: 1.12; letter-spacing: -.01em; color: var(--brand-deep); }
.doc-hub-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,240px),1fr)); gap: clamp(22px,3vw,40px); }
.doc-trust { display: flex; gap: 15px; align-items: flex-start; }
.doc-trust__ico { flex: none; width: 46px; height: 46px; border-radius: 13px; background: #fff; border: 1px solid rgba(var(--brand-rgb),.18); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(var(--brand-dark-rgb),.08); }
.doc-trust__text { display: flex; flex-direction: column; gap: 5px; }
.doc-trust__title { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: var(--brand-deep); }
.doc-trust__desc { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }

.doc-hub-cta { max-width: var(--content-w); margin: 0 auto; padding: clamp(56px,7vw,100px) var(--content-px) clamp(72px,9vw,120px); }
.doc-hub-cta__wrap { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--brand), var(--brand-dark) 120%); padding: clamp(36px,5vw,64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; color: #fff; }
.doc-hub-cta__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .12; }
.doc-hub-cta__text { position: relative; max-width: 58ch; display: flex; flex-direction: column; gap: 10px; }
.doc-hub-cta__h2 { color: #fff; margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(24px,2.8vw,36px); line-height: 1.12; letter-spacing: -.01em; }
.doc-hub-cta__p { margin: 0; font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.9); }
.doc-hub-cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px; }
.doc-hub-cta__btn { text-decoration: none; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--brand-dark); font-weight: 700; font-size: 16.5px; padding: 16px 30px; border-radius: var(--radius-pill); transition: transform .18s ease, box-shadow .18s ease; }
.doc-hub-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,40,55,.22); }
.doc-hub-cta__phone { text-decoration: none; display: flex; align-items: center; gap: 10px; border: 1.5px solid rgba(255,255,255,.6); color: #fff; font-weight: 700; font-size: 16.5px; padding: 16px 30px; border-radius: var(--radius-pill); transition: background .18s ease, border-color .18s ease; }
.doc-hub-cta__phone:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════════
   БЛОГ — хаб (/blog/)
   ═══════════════════════════════════════════════════════════════════════════ */
.blog-hub { --blog-w: 1080px; }
.blog-hub__intro { max-width: var(--blog-w); margin: 0 auto; padding: clamp(32px,4.5vw,60px) var(--content-px) 0; }
.blog-hub__crumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }
.blog-hub__crumb a { color: var(--brand); text-decoration: none; }
.blog-hub__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.blog-hub__eyebrow-diamond { width: 11px; height: 11px; background: var(--brand); transform: rotate(45deg); border-radius: 2px; }
.blog-hub__h1 { margin: 14px 0 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(30px,4.6vw,56px); line-height: 1.05; letter-spacing: -.015em; color: var(--brand-deep); }
.blog-hub__sub { margin: 16px 0 0; font-size: clamp(16px,1.4vw,19px); line-height: 1.6; color: var(--text-muted); max-width: 62ch; }

.blog-hub__featured { max-width: var(--blog-w); margin: 0 auto; padding: clamp(28px,3.4vw,44px) var(--content-px) 0; }
.blog-feat { text-decoration: none; color: inherit; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px,3vw,40px); align-items: center; background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.08); border-radius: 26px; overflow: hidden; box-shadow: 0 12px 34px rgba(var(--brand-dark-rgb),.08); transition: transform .22s ease, box-shadow .22s ease; }
.blog-feat:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(var(--brand-dark-rgb),.16); }
.blog-feat__media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(145deg, var(--brand-deep), var(--brand-dark) 130%); overflow: hidden; }
.blog-feat__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; opacity: .96; }
.blog-feat__cat { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.92); color: var(--brand-dark); font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: var(--radius-pill); }
.blog-feat__body { padding: clamp(20px,2.4vw,30px) clamp(20px,2.4vw,34px) clamp(24px,2.6vw,34px); display: flex; flex-direction: column; gap: 14px; }
.blog-feat__kicker { font-size: 13.5px; font-weight: 600; color: var(--brand); letter-spacing: .02em; }
.blog-feat__title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(21px,2.4vw,30px); line-height: 1.15; letter-spacing: -.01em; color: var(--brand-deep); }
.blog-feat__excerpt { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-muted); }
.blog-feat__byline { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.blog-feat__byline img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.blog-feat__byline span { font-size: 13.5px; color: #7a95a2; }
.blog-feat__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--brand-dark); }
.blog-feat__more span { color: var(--brand); }

.blog-hub__list, .blog-hub__soon { max-width: var(--blog-w); margin: 0 auto; padding: clamp(44px,5vw,72px) var(--content-px) 0; }
.blog-hub__soon { padding-bottom: clamp(72px,9vw,120px); }
.blog-hub__section-h2 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(22px,2.6vw,32px); line-height: 1.1; letter-spacing: -.01em; color: var(--brand-deep); }
.blog-hub__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,300px),1fr)); gap: clamp(16px,2vw,22px); margin-top: clamp(20px,2.4vw,30px); }
.blog-card { text-decoration: none; color: inherit; background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.08); border-radius: 20px; padding: clamp(20px,2.4vw,26px); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 30px rgba(var(--brand-dark-rgb),.06); transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(var(--brand-dark-rgb),.14); }
.blog-card__cat { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--brand-dark); background: var(--brand-wash-2); border: 1px solid rgba(var(--brand-rgb),.18); padding: 5px 12px; border-radius: var(--radius-pill); }
.blog-card__title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 18.5px; line-height: 1.28; color: var(--brand-deep); }
.blog-card__excerpt { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }
.blog-card__meta { margin-top: auto; font-size: 13px; color: #7a95a2; }

.blog-hub__soon-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(20px,2.4vw,30px); }
.blog-hub__soon-note { font-size: 14.5px; color: #7a95a2; }
.blog-hub__soon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,300px),1fr)); gap: clamp(16px,2vw,22px); }
.blog-soon { background: #fff; border: 1px dashed rgba(var(--brand-deep-rgb),.18); border-radius: 20px; padding: clamp(20px,2.4vw,26px); display: flex; flex-direction: column; gap: 12px; opacity: .92; }
.blog-soon__cat { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--brand-dark); background: var(--brand-wash-2); border: 1px solid rgba(var(--brand-rgb),.18); padding: 5px 12px; border-radius: var(--radius-pill); }
.blog-soon__title { font-family: var(--font-head); font-weight: 700; font-size: 17.5px; line-height: 1.3; color: var(--brand-deep); }
.blog-soon__status { margin-top: auto; font-size: 13px; font-weight: 600; color: #9fb3bd; letter-spacing: .04em; text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════════════════════════
   СТАТЬЯ — /blog/<slug>/
   ═══════════════════════════════════════════════════════════════════════════ */
.article { --article-w: 820px; }
.article__crumb { max-width: var(--article-w); margin: 0 auto; padding: clamp(24px,3vw,40px) var(--content-px) 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--text-muted); }
.article__crumb a { color: var(--brand); text-decoration: none; }
.article__crumb [aria-current] { color: var(--text-pale); }
.article__wrap { max-width: var(--article-w); margin: 0 auto; padding: clamp(20px,2.5vw,32px) var(--content-px) 0; }
.article__header { display: flex; flex-direction: column; gap: 18px; }
.article__eyebrow { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--brand-dark); background: var(--brand-wash-2); border: 1px solid rgba(var(--brand-rgb),.18); padding: 6px 14px; border-radius: var(--radius-pill); }
.article__h1 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(28px,3.8vw,46px); line-height: 1.1; letter-spacing: -.015em; color: var(--brand-deep); text-wrap: balance; }
.article__byline { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.article__author-photo { flex: none; }
.article__author-photo img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; display: block; }
.article__byline-text { display: flex; flex-direction: column; gap: 3px; }
.article__author-name { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--brand-deep); text-decoration: none; }
.article__author-name:hover { color: var(--brand-dark); }
.article__author-meta { font-size: 13.5px; color: #7a95a2; }

.article__body { margin-top: clamp(24px,3vw,36px); }
.prose { font-size: 17.5px; line-height: 1.72; color: var(--text); }
.prose > p { margin: 0 0 20px; }
.prose h2 { margin: clamp(32px,4vw,48px) 0 16px; font-family: var(--font-head); font-weight: 800; font-size: clamp(22px,2.6vw,30px); line-height: 1.2; letter-spacing: -.01em; color: var(--brand-deep); }
.prose h3 { margin: 32px 0 12px; font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--brand-deep); }
.prose ul { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .58em; width: 8px; height: 8px; background: var(--brand); border-radius: 2px; transform: translateY(-50%) rotate(45deg); }
.prose strong { color: var(--brand-deep); font-weight: 700; }
.prose a { color: var(--brand-dark); font-weight: 600; }
.article-callout { margin: clamp(24px,3vw,32px) 0; padding: clamp(20px,2.6vw,28px); background: linear-gradient(180deg, var(--bg-soft), var(--bg-softer)); border: 1px solid rgba(var(--brand-rgb),.16); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); }
.article-callout__label { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 8px; }
.article-callout p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--text-muted); }

.article-cta { margin: clamp(40px,5vw,60px) 0 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--brand), var(--brand-dark) 120%); padding: clamp(28px,4vw,44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; color: #fff; }
.article-cta__text { display: flex; flex-direction: column; gap: 8px; max-width: 46ch; }
.article-cta__h2 { color: #fff; margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(21px,2.4vw,28px); line-height: 1.15; letter-spacing: -.01em; }
.article-cta__p { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.9); }
.article-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.article-cta__btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--brand-dark); font-weight: 700; font-size: 15.5px; padding: 14px 26px; border-radius: var(--radius-pill); transition: transform .18s ease, box-shadow .18s ease; }
.article-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,40,55,.22); }
.article-cta__ghost { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid rgba(255,255,255,.6); color: #fff; font-weight: 700; font-size: 15.5px; padding: 14px 26px; border-radius: var(--radius-pill); transition: background .18s ease, border-color .18s ease; }
.article-cta__ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.article__disclaimer { margin: clamp(28px,3.5vw,40px) 0 0; font-size: 13.5px; line-height: 1.6; color: #8aa3af; }

.article__related { max-width: var(--article-w); margin: 0 auto; padding: clamp(40px,5vw,64px) var(--content-px) clamp(72px,9vw,120px); }
.article__related-h2 { margin: 0 0 20px; font-family: var(--font-head); font-weight: 800; font-size: clamp(20px,2.2vw,26px); color: var(--brand-deep); }
.article__related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,240px),1fr)); gap: 12px; }
.article__related-item { text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 600; font-size: 15px; color: var(--brand-deep); transition: border-color .18s ease, transform .18s ease; }
.article__related-item:hover { border-color: var(--brand); transform: translateY(-2px); }
.article__related-item span { color: var(--brand); }

@media (max-width: 760px) {
  .blog-feat { grid-template-columns: 1fr; }
  .doc-hub-cta__wrap, .article-cta { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ШАПКА — активный пункт, бургер и мобильное выдвижное меню
   ═══════════════════════════════════════════════════════════════════════════ */
.site-header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-pill--active { color: var(--brand-dark); background: var(--brand-wash); font-weight: 600; }
.nav-pill--active:hover { transform: none; }

/* Бургер — виден только на мобильном (см. @media max-width:1140px) */
.okro-burger { display: none; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: var(--brand-wash); border: 1px solid rgba(var(--brand-deep-rgb),.12); cursor: pointer; flex: none; -webkit-tap-highlight-color: transparent; }
.okro-burger:hover { background: var(--brand-tint); }
.okro-burger__box { position: relative; width: 22px; height: 15px; display: block; }
.okro-burger__box span { position: absolute; left: 0; width: 100%; height: 2.6px; border-radius: 2px; background: var(--brand-deep); }
.okro-burger__box span:nth-child(1) { top: 0; }
.okro-burger__box span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.okro-burger__box span:nth-child(3) { bottom: 0; }
/* Показываем бургер на мобильном (после базового display:none, чтобы правило выиграло) */
@media (max-width: 1140px) { .okro-burger { display: inline-flex; } }
@media (max-width: 560px) { .btn-cta-header { display: none; } }

.okro-menu-toggle { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
.okro-menu-overlay { position: fixed; inset: 0; z-index: 200; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease; }
.okro-menu-toggle:checked ~ .okro-menu-overlay { opacity: 1; visibility: visible; pointer-events: auto; }
.okro-menu-scrim { position: absolute; inset: 0; background: rgba(4,40,56,.55); backdrop-filter: blur(2px); cursor: pointer; }
.okro-menu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 340px); background: #fff; box-shadow: -24px 0 70px rgba(0,40,60,.28); display: flex; flex-direction: column; padding: 18px 18px calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); overflow-y: auto; }
.okro-menu-toggle:checked ~ .okro-menu-overlay .okro-menu-panel { transform: translateX(0); }
.okro-menu-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.okro-menu-panel__title { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--brand-deep); letter-spacing: -.01em; }
.okro-menu-close { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-wash-soft); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--brand-deep); }
.okro-menu-close:hover { background: var(--brand-wash); }
.okro-menu-links { display: flex; flex-direction: column; gap: 4px; }
.okro-menu-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; color: var(--text-dark); font-family: var(--font-head); font-weight: 600; font-size: 18px; padding: 13px 14px; border-radius: 14px; min-height: 52px; box-sizing: border-box; }
.okro-menu-link svg { color: #9db4bf; flex: none; }
.okro-menu-link:hover { background: var(--brand-wash-soft); }
.okro-menu-link--active { color: var(--brand-dark); background: var(--brand-wash); }
.okro-menu-link--active svg { color: var(--brand-dark); }
.okro-menu-panel__foot { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.okro-menu-phone { text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; border-radius: var(--radius-pill); border: 1.5px solid rgba(var(--brand-deep-rgb),.2); color: var(--brand-deep); font-weight: 700; font-size: 16px; }
.okro-menu-phone:hover { background: var(--brand-wash-soft); }
.okro-menu-cta { text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: var(--radius-pill); background: linear-gradient(120deg, var(--brand), var(--brand-dark)); color: #fff; font-weight: 700; font-size: 16.5px; }
.okro-menu-cta:hover { transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════════════════════════
   ФЛАГМАНСКАЯ УСЛУГА — Имплантация одного зуба (/service/implantaciya-odnogo-zuba/)
   ═══════════════════════════════════════════════════════════════════════════ */
.impl-hero { padding: clamp(10px,1.6vw,24px) clamp(10px,1.6vw,24px) 0; }
.impl-hero__wrap { position: relative; overflow: hidden; max-width: 1840px; margin: 0 auto; border-radius: clamp(18px,2.5vw,32px); background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-mid) 55%, var(--brand-dark) 100%); }
.impl-hero__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .08; mix-blend-mode: screen; }
.impl-hero__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.impl-hero__glow--tr { right: -140px; top: -140px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(var(--brand-rgb),.5), rgba(var(--brand-rgb),0) 70%); }
.impl-hero__glow--bl { left: -180px; bottom: -220px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(var(--brand-light-rgb),.28), rgba(var(--brand-light-rgb),0) 70%); }
.impl-hero__grid { position: relative; max-width: var(--content-w); margin: 0 auto; padding: clamp(32px,4.5vw,64px) clamp(20px,4vw,40px) clamp(40px,5vw,72px); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px,4vw,56px); align-items: center; }
.impl-hero__col { display: flex; flex-direction: column; gap: clamp(18px,2.2vw,26px); min-width: 0; }
.impl-hero__crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14.5px; }
.impl-hero__crumb a { color: var(--brand-light); text-decoration: none; }
.impl-hero__crumb a:hover { color: #fff; }
.impl-hero__crumb [aria-hidden] { color: rgba(255,255,255,.4); }
.impl-hero__crumb [aria-current] { color: rgba(255,255,255,.85); }
.impl-hero__head { display: flex; flex-direction: column; gap: 14px; }
.impl-hero__eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-light); font-weight: 600; }
.impl-hero__diamond { width: 8px; height: 8px; background: var(--brand); transform: rotate(45deg); flex: none; }
.impl-hero__h1 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(32px,4.4vw,58px); line-height: 1.05; letter-spacing: -.015em; color: #fff; text-wrap: balance; }
.impl-hero__sub { margin: 0; font-size: clamp(16px,1.4vw,19px); line-height: 1.55; color: rgba(255,255,255,.85); max-width: 54ch; }
.impl-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.impl-chip { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); padding: 8px 16px; border-radius: var(--radius-pill); }
.impl-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.impl-hero__btn { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--brand-deep); font-weight: 700; font-size: 17px; padding: 17px 36px; border-radius: var(--radius-pill); transition: transform .18s ease, box-shadow .18s ease; }
.impl-hero__btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 34px rgba(0,0,0,.25); }
.impl-hero__btn svg { color: var(--brand); }
.impl-hero__btn-ghost { text-decoration: none; color: #fff; border: 1.5px solid rgba(255,255,255,.4); font-weight: 700; font-size: 16px; padding: 15px 32px; border-radius: var(--radius-pill); transition: border-color .18s ease, background .18s ease; }
.impl-hero__btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.impl-hero__card { position: relative; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); border-radius: 24px; padding: clamp(24px,2.6vw,34px); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.impl-hero__card-title { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-light); font-weight: 600; padding-bottom: 14px; }
.impl-hero__card-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.14); }
.impl-hero__card-row span { font-size: 15.5px; color: rgba(255,255,255,.85); }
.impl-hero__card-row b { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: #fff; flex: none; }
.impl-hero__card-note { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.6); padding-top: 12px; }

.impl-body { max-width: var(--content-w); margin: 0 auto; padding: clamp(36px,5vw,72px) var(--content-px) clamp(72px,9vw,120px); display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(32px,4vw,56px); align-items: start; }
.impl-main { display: flex; flex-direction: column; gap: clamp(44px,5.5vw,72px); min-width: 0; }
.impl-block { display: flex; flex-direction: column; gap: 16px; }
.impl-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-dark); font-weight: 600; }
.impl-eyebrow__diamond { width: 8px; height: 8px; background: var(--brand); transform: rotate(45deg); flex: none; }
.impl-h2 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(25px,2.6vw,34px); line-height: 1.12; letter-spacing: -.01em; color: var(--brand-deep); text-wrap: balance; }
.impl-lead { margin: 0; font-size: clamp(16px,1.3vw,17.5px); line-height: 1.65; color: var(--text-muted); }

.impl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.impl-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px,2.6vw,32px); border-radius: 22px; }
.impl-card--in { background: #fff; border: 1px solid var(--border); }
.impl-card--out { background: var(--brand-wash-soft); border: 1px solid var(--border-soft); }
.impl-card__title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 21px; color: var(--brand-deep); }
.impl-card__list { display: flex; flex-direction: column; gap: 14px; }
.impl-point { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.55; color: var(--text-muted); }
.impl-point__ico { flex: none; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.impl-point--yes .impl-point__ico { background: var(--brand-wash); }
.impl-point--no .impl-point__ico { background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.15); font-weight: 800; font-size: 13px; color: var(--brand-dark); }
.impl-card__note { font-size: 14px; line-height: 1.55; color: #5d7885; border-top: 1px solid rgba(var(--brand-deep-rgb),.1); padding-top: 14px; }

.impl-steps { display: flex; flex-direction: column; margin-top: 6px; }
.impl-step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.impl-step__rail { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.impl-step__num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 18px; color: #fff; }
.impl-step__line { flex: 1; width: 2px; background: linear-gradient(180deg, rgba(var(--brand-rgb),.4), rgba(var(--brand-rgb),.1)); min-height: 34px; }
.impl-step__text { display: flex; flex-direction: column; gap: 6px; padding-bottom: 26px; }
.impl-step__name { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--brand-ink); padding-top: 9px; }
.impl-step__desc { font-size: 15.5px; line-height: 1.6; color: var(--text-muted); max-width: 62ch; }

.impl-price { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: clamp(10px,1.4vw,16px) clamp(24px,2.8vw,36px); }
.impl-price__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 18px 0; border-bottom: 1px solid rgba(var(--brand-deep-rgb),.08); }
.impl-price__row:last-child { border-bottom: none; }
.impl-price__row span { font-size: 16.5px; font-weight: 600; color: var(--brand-ink); }
.impl-price__dots { flex: 1; min-width: 40px; border-bottom: 2px dotted rgba(var(--brand-deep-rgb),.18); transform: translateY(-4px); }
.impl-price__row b { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--brand-deep); }
.impl-price__free { color: var(--brand) !important; }
.impl-price__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 18px; }
.impl-price__foot span { font-size: 14.5px; line-height: 1.55; color: #5d7885; max-width: 56ch; }
.impl-price__foot a { text-decoration: none; display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; color: var(--brand-dark); }
.impl-price__foot a span { color: var(--brand); }

.impl-credit { margin-top: 12px; position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(120deg, var(--brand-wash), var(--brand-wash-soft)); border: 1px solid rgba(var(--brand-rgb),.2); padding: clamp(24px,3vw,36px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px,3.5vw,48px); }
.impl-credit__head { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
.impl-credit__big { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px,3vw,42px); line-height: 1; color: var(--brand-deep); }
.impl-credit__title { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--brand-deep); }
.impl-credit__sub { font-size: 14.5px; color: var(--text-muted); }
.impl-credit__grid { flex: 1; min-width: min(100%, 280px); display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 14px; }
.impl-credit__cell { display: flex; flex-direction: column; gap: 3px; background: rgba(255,255,255,.75); border-radius: 16px; padding: 16px 18px; }
.impl-credit__cell b { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--brand-dark); }
.impl-credit__cell span { font-size: 13.5px; color: var(--text-muted); }

.impl-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 148px; min-width: 0; }
.impl-aside__cta { position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(150deg, var(--brand), var(--brand-dark) 130%); padding: clamp(24px,2.6vw,32px); display: flex; flex-direction: column; gap: 16px; }
.impl-aside__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .1; }
.impl-aside__cta-text { position: relative; display: flex; flex-direction: column; gap: 8px; }
.impl-aside__cta-title { font-family: var(--font-head); font-weight: 800; font-size: 21px; line-height: 1.2; color: #fff; }
.impl-aside__cta-sub { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.85); }
.impl-aside__cta-actions { position: relative; display: flex; flex-direction: column; gap: 10px; }
.impl-aside__btn { text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 9px; background: #fff; color: var(--brand-deep); font-weight: 700; font-size: 15.5px; padding: 14px 24px; border-radius: var(--radius-pill); transition: transform .18s ease, box-shadow .18s ease; }
.impl-aside__btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.impl-aside__btn svg { color: var(--brand); }
.impl-aside__phone { text-decoration: none; text-align: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: .01em; }
.impl-aside__phone:hover { color: var(--brand-light); }
.impl-aside__related { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: clamp(22px,2.4vw,28px); display: flex; flex-direction: column; gap: 6px; }
.impl-aside__related-title { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-dark); font-weight: 600; padding-bottom: 10px; }
.impl-aside__related-item { text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(var(--brand-deep-rgb),.07); }
.impl-aside__related-item span:first-child { font-size: 15px; font-weight: 600; color: var(--brand-ink); line-height: 1.4; }
.impl-aside__related-item span:last-child { color: var(--brand); flex: none; }
.impl-aside__related-item:hover span:first-child { color: var(--brand-dark); }

.impl-faq { max-width: 900px; margin: 0 auto; padding: 0 var(--content-px) clamp(72px,9vw,120px); }
.impl-faq__h2 { margin: 0 0 clamp(24px,3vw,40px); font-family: var(--font-head); font-weight: 800; font-size: clamp(28px,3.4vw,42px); line-height: 1.08; letter-spacing: -.01em; color: var(--brand-deep); }
.impl-faq__list { display: flex; flex-direction: column; gap: 14px; }
.impl-faq__item { background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.09); border-radius: 18px; box-shadow: 0 8px 24px rgba(var(--brand-dark-rgb),.05); }
.impl-faq__q { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--font-head); font-weight: 700; font-size: clamp(16.5px,1.5vw,19px); color: var(--brand-deep); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.impl-faq__q::-webkit-details-marker { display: none; }
.impl-faq__sign { flex: none; color: var(--brand); font-size: 24px; line-height: 1; transition: transform .2s ease; }
.impl-faq__item[open] .impl-faq__sign { transform: rotate(45deg); }
.impl-faq__a { padding: 0 24px 22px; font-size: 16px; line-height: 1.6; color: var(--text-muted); }

.impl-cta { max-width: var(--content-w); margin: 0 auto; padding: 0 var(--content-px) clamp(88px,11vw,150px); }
.impl-cta__wrap { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(150deg, var(--brand), var(--brand-dark) 120%); padding: clamp(40px,6vw,64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.impl-cta__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .12; }
.impl-cta__text { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.impl-cta__h2 { margin: 0; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: clamp(26px,3vw,40px); line-height: 1.12; text-wrap: balance; }
.impl-cta__p { margin: 0; font-size: 16.5px; line-height: 1.55; color: rgba(255,255,255,.82); }
.impl-cta__actions { position: relative; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.impl-cta__btn { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--brand-deep); font-weight: 700; font-size: 17px; padding: 17px 36px; border-radius: var(--radius-pill); transition: transform .18s ease, box-shadow .18s ease; }
.impl-cta__btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.impl-cta__btn svg { color: var(--brand); }
.impl-cta__phone { text-decoration: none; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: .01em; }
.impl-cta__phone:hover { color: var(--brand-light); }

@media (max-width: 980px) {
  .impl-hero__grid { grid-template-columns: 1fr; }
  .impl-body { grid-template-columns: 1fr; }
  .impl-aside { position: static; }
}
@media (max-width: 620px) {
  .impl-cols { grid-template-columns: 1fr; }
  .impl-cta__wrap { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ПРОБЛЕМЫ — симптомные лендинги (/problem/…)
   (--red и семья перенесены в единый :root наверху, T49)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── ХАБ ── */
.probhub-hero { padding: clamp(22px,3vw,40px) var(--content-px) 0; }
.probhub-hero__wrap { position: relative; overflow: hidden; max-width: var(--content-w); margin: 0 auto; border-radius: clamp(22px,3vw,34px); background: linear-gradient(145deg, var(--brand-deep), var(--brand-dark) 128%); padding: clamp(34px,5vw,64px) clamp(24px,5vw,72px); color: #fff; }
.probhub-hero__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .09; }
.probhub-hero__body { position: relative; max-width: 760px; display: flex; flex-direction: column; gap: clamp(14px,1.8vw,20px); }
.probhub-hero__crumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: rgba(255,255,255,.72); }
.probhub-hero__crumb a { color: rgba(255,255,255,.86); text-decoration: none; }
.probhub-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-light); }
.probhub-hero__diamond { width: 11px; height: 11px; background: var(--brand-light); transform: rotate(45deg); border-radius: 2px; }
.probhub-hero__h1 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(30px,4.6vw,56px); line-height: 1.05; letter-spacing: -.015em; color: #fff; }
.probhub-hero__sub { margin: 0; font-size: clamp(16px,1.4vw,19px); line-height: 1.6; color: rgba(255,255,255,.86); max-width: 64ch; }

.probhub-list { max-width: var(--content-w); margin: 0 auto; padding: clamp(28px,3.4vw,44px) var(--content-px) 0; }
.probhub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,340px),1fr)); gap: clamp(14px,1.8vw,20px); }
.probhub-tile { display: flex; align-items: flex-start; gap: 16px; text-decoration: none; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: clamp(20px,2.2vw,26px); box-shadow: 0 10px 30px rgba(var(--brand-dark-rgb),.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.probhub-tile:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(var(--brand-dark-rgb),.14); border-color: var(--brand-tint-2); }
.probhub-tile__ico { flex: none; width: 48px; height: 48px; border-radius: 13px; background: var(--brand-wash); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; }
.probhub-tile--acute .probhub-tile__ico { background: var(--red-soft); color: var(--red); }
.probhub-tile--acute:hover { border-color: rgba(226,87,76,.4); }
.probhub-tile__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.probhub-tile__name { font-family: var(--font-head); font-weight: 800; font-size: 18.5px; color: var(--brand-deep); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.probhub-tile__badge { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red-d); background: var(--red-soft); border: 1px solid rgba(226,87,76,.25); padding: 3px 9px; border-radius: 100px; }
.probhub-tile__text { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }
.probhub-tile__arrow { margin-left: auto; align-self: center; color: var(--brand); font-size: 20px; flex: none; }

.probhub-more { max-width: var(--content-w); margin: 0 auto; padding: clamp(40px,5vw,64px) var(--content-px) clamp(72px,9vw,120px); }
.probhub-more__wrap { background: linear-gradient(180deg, var(--bg-soft), var(--bg-softer)); border: 1px solid var(--border-soft); border-radius: clamp(20px,2.6vw,28px); padding: clamp(28px,3.5vw,44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.probhub-more__h2 { margin: 0 0 8px; font-family: var(--font-head); font-weight: 800; font-size: clamp(22px,2.4vw,30px); color: var(--brand-deep); }
.probhub-more__p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-muted); max-width: 56ch; }
.probhub-more__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.probhub-more__btn { text-decoration: none; display: inline-flex; align-items: center; background: linear-gradient(120deg, var(--brand), var(--brand-dark)); color: #fff; font-weight: 700; font-size: 16px; padding: 15px 30px; border-radius: var(--radius-pill); transition: transform .18s ease; }
.probhub-more__btn:hover { transform: translateY(-2px); }
.probhub-more__phone { text-decoration: none; display: inline-flex; align-items: center; gap: 9px; border: 1.5px solid rgba(var(--brand-deep-rgb),.2); color: var(--brand-deep); font-weight: 700; font-size: 16px; padding: 15px 26px; border-radius: var(--radius-pill); }
.probhub-more__phone:hover { background: var(--brand-wash-soft); }

/* ── ДЕТАЛЬ ── */
.prob-hero { padding: clamp(10px,1.6vw,24px) clamp(10px,1.6vw,24px) 0; }
.prob-hero__wrap { position: relative; overflow: hidden; max-width: 1840px; margin: 0 auto; border-radius: clamp(18px,2.5vw,32px); background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-mid) 55%, var(--brand-dark) 100%); }
.prob-hero__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .08; mix-blend-mode: screen; }
.prob-hero__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.prob-hero__glow--tr { right: -140px; top: -140px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(var(--brand-rgb),.4), rgba(var(--brand-rgb),0) 70%); }
.prob--acute .prob-hero__glow--tr { background: radial-gradient(circle, rgba(226,87,76,.32), rgba(226,87,76,0) 70%); }
.prob-hero__glow--bl { left: -180px; bottom: -220px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(var(--brand-light-rgb),.28), rgba(var(--brand-light-rgb),0) 70%); }
.prob-hero__grid { position: relative; max-width: var(--content-w); margin: 0 auto; padding: clamp(32px,4.5vw,64px) clamp(20px,4vw,40px) clamp(40px,5vw,72px); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px,4vw,56px); align-items: center; }
.prob-hero__col { display: flex; flex-direction: column; gap: clamp(18px,2.2vw,26px); min-width: 0; }
.prob-hero__crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14.5px; }
.prob-hero__crumb a { color: var(--brand-light); text-decoration: none; }
.prob-hero__crumb a:hover { color: #fff; }
.prob-hero__crumb [aria-hidden] { color: rgba(255,255,255,.4); }
.prob-hero__crumb [aria-current] { color: rgba(255,255,255,.85); }
.prob-hero__head { display: flex; flex-direction: column; gap: 14px; }
.prob-hero__eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-light); font-weight: 600; }
.prob--acute .prob-hero__eyebrow { color: var(--red-pale); }
.prob-hero__diamond { width: 8px; height: 8px; background: var(--brand); transform: rotate(45deg); flex: none; }
.prob--acute .prob-hero__diamond { background: var(--red); }
.prob-hero__h1 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(32px,4.4vw,58px); line-height: 1.05; letter-spacing: -.015em; color: #fff; text-wrap: balance; }
.prob-hero__sub { margin: 0; font-size: clamp(16px,1.4vw,19px); line-height: 1.55; color: rgba(255,255,255,.85); max-width: 56ch; }
.prob-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.prob-chip { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); padding: 8px 16px; border-radius: var(--radius-pill); }
.prob-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.prob-hero__btn { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--brand-deep); font-weight: 700; font-size: 17px; padding: 17px 36px; border-radius: var(--radius-pill); transition: transform .18s ease, box-shadow .18s ease; }
.prob-hero__btn svg { color: var(--brand); }
.prob-hero__btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 34px rgba(0,0,0,.25); }
.prob-hero__btn-ghost { text-decoration: none; color: #fff; border: 1.5px solid rgba(255,255,255,.4); font-weight: 700; font-size: 16px; padding: 15px 32px; border-radius: var(--radius-pill); transition: border-color .18s ease, background .18s ease; }
.prob-hero__btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.prob-hero__card { position: relative; background: #fff; border-radius: 24px; padding: clamp(24px,2.6vw,32px); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 60px rgba(0,20,32,.28); min-width: 0; }
.prob-hero__card-badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--brand-dark); background: var(--brand-wash); padding: 6px 12px; border-radius: var(--radius-pill); }
.prob--acute .prob-hero__card-badge { color: var(--red-d); background: var(--red-soft); }
.prob-hero__card-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none; }
.prob--acute .prob-hero__card-dot { background: var(--red); }
.prob-hero__card-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(21px,2.1vw,25px); line-height: 1.15; color: var(--brand-deep); }
.prob-hero__card-text { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }
.prob-hero__card-phone { text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(120deg, var(--brand), var(--brand-dark)); color: #fff; font-weight: 700; font-size: 20px; padding: 16px 24px; border-radius: var(--radius-pill); transition: transform .18s ease; }
.prob--acute .prob-hero__card-phone { background: linear-gradient(120deg, #F0714E, var(--red)); }
.prob-hero__card-phone:hover { transform: translateY(-2px) scale(1.02); }
.prob-hero__card-hours { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: #5d7885; }

.prob-body { max-width: var(--content-w); margin: 0 auto; padding: clamp(36px,5vw,72px) var(--content-px) clamp(72px,9vw,120px); display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(32px,4vw,56px); align-items: start; }
.prob-main { display: flex; flex-direction: column; gap: clamp(44px,5.5vw,72px); min-width: 0; }
.prob-block { display: flex; flex-direction: column; gap: 16px; }
.prob-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-dark); font-weight: 600; }
.prob-eyebrow__d { width: 8px; height: 8px; background: var(--brand); transform: rotate(45deg); flex: none; }
.prob-h2 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(25px,2.6vw,34px); line-height: 1.12; letter-spacing: -.01em; color: var(--brand-deep); text-wrap: balance; }
.prob-lead { margin: 0; font-size: clamp(16px,1.3vw,17.5px); line-height: 1.65; color: var(--text-muted); }

.prob-causes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prob-cause { text-decoration: none; display: flex; flex-direction: column; gap: 9px; padding: clamp(20px,2.2vw,26px); background: #fff; border: 1px solid var(--border); border-radius: 20px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.prob-cause:hover { border-color: rgba(var(--brand-rgb),.4); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(var(--brand-dark-rgb),.1); }
.prob-cause__head { display: flex; align-items: center; gap: 10px; }
.prob-cause__d { width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); flex: none; }
.prob-cause__name { font-family: var(--font-head); font-weight: 800; font-size: 18.5px; color: var(--brand-ink); }
.prob-cause__text { font-size: 15px; line-height: 1.55; color: var(--text-muted); }
.prob-cause__action { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--brand-dark); margin-top: 2px; }
.prob-cause__action span { color: var(--brand); }

.prob-danger { position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(150deg, var(--red-soft), #FDF4EF); border: 1px solid rgba(226,87,76,.2); padding: clamp(26px,3vw,38px); display: flex; flex-direction: column; gap: 18px; }
.prob-danger__head { display: flex; align-items: center; gap: 12px; }
.prob-danger__ico { flex: none; width: 44px; height: 44px; border-radius: 13px; background: #fff; border: 1px solid rgba(226,87,76,.25); display: flex; align-items: center; justify-content: center; }
.prob-danger__h2 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(22px,2.4vw,30px); line-height: 1.12; letter-spacing: -.01em; color: var(--red-d); text-wrap: balance; }
.prob-danger__intro { margin: 0; font-size: clamp(15.5px,1.3vw,17px); line-height: 1.65; color: #7a4a41; }
.prob-danger__list { display: flex; flex-direction: column; gap: 12px; }
.prob-danger__item { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.55; color: #5c3833; }
.prob-danger__x { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid rgba(226,87,76,.3); display: flex; align-items: center; justify-content: center; margin-top: 1px; }

.prob-steps { display: flex; flex-direction: column; margin-top: 6px; }
.prob-step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.prob-step__rail { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.prob-step__num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 18px; color: #fff; }
.prob-step__line { flex: 1; width: 2px; background: linear-gradient(180deg, rgba(var(--brand-rgb),.4), rgba(var(--brand-rgb),.1)); min-height: 34px; }
.prob-step__text { display: flex; flex-direction: column; gap: 6px; padding-bottom: 26px; }
.prob-step__name { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--brand-ink); padding-top: 9px; }
.prob-step__desc { font-size: 15.5px; line-height: 1.6; color: var(--text-muted); max-width: 62ch; }

.prob-aid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.prob-aid__col { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px,2.6vw,32px); border-radius: 22px; }
.prob-aid__col--do { background: #fff; border: 1px solid rgba(var(--brand-rgb),.22); }
.prob-aid__col--dont { background: var(--red-soft); border: 1px solid rgba(226,87,76,.22); }
.prob-aid__head { display: flex; align-items: center; gap: 10px; }
.prob-aid__ico { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-wash); display: flex; align-items: center; justify-content: center; }
.prob-aid__ico--no { background: #fff; border: 1px solid rgba(226,87,76,.2); }
.prob-aid__title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--brand-deep); }
.prob-aid__title--no { color: var(--red-d); }
.prob-aid__list { display: flex; flex-direction: column; gap: 13px; }
.prob-aid__item { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.55; color: var(--text-muted); }
.prob-aid__item--no { color: #5c3833; }
.prob-aid__mark { flex: none; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.prob-aid__mark--yes { background: var(--brand-wash); }
.prob-aid__mark--no { background: #fff; border: 1px solid rgba(226,87,76,.3); }

.prob-price { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: clamp(10px,1.4vw,16px) clamp(24px,2.8vw,36px); }
.prob-price__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 18px 0; border-bottom: 1px solid rgba(var(--brand-deep-rgb),.08); }
.prob-price__row:last-child { border-bottom: none; }
.prob-price__row span { font-size: 16.5px; font-weight: 600; color: var(--brand-ink); }
.prob-price__dots { flex: 1; min-width: 40px; border-bottom: 2px dotted rgba(var(--brand-deep-rgb),.18); transform: translateY(-4px); }
.prob-price__row b { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--brand-deep); }
.prob-price__free { color: var(--brand) !important; }
.prob-price__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 18px; }
.prob-price__foot span { font-size: 14.5px; line-height: 1.55; color: #5d7885; max-width: 56ch; }
.prob-price__foot a { text-decoration: none; display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; color: var(--brand-dark); }
.prob-price__foot a span { color: var(--brand); }

.prob-faq { display: flex; flex-direction: column; gap: 14px; }
.prob-faq__item { background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.09); border-radius: 18px; box-shadow: 0 8px 24px rgba(var(--brand-dark-rgb),.05); }
.prob-faq__q { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--font-head); font-weight: 700; font-size: clamp(16.5px,1.5vw,19px); color: var(--brand-deep); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.prob-faq__q::-webkit-details-marker { display: none; }
.prob-faq__sign { flex: none; color: var(--brand); font-size: 24px; line-height: 1; transition: transform .2s ease; }
.prob-faq__item[open] .prob-faq__sign { transform: rotate(45deg); }
.prob-faq__a { padding: 0 24px 22px; font-size: 16px; line-height: 1.6; color: var(--text-muted); }

.prob-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 148px; min-width: 0; }
.prob-aside__cta { position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(150deg, var(--brand), var(--brand-dark) 130%); padding: clamp(24px,2.6vw,32px); display: flex; flex-direction: column; gap: 16px; }
.prob-aside__cta.prob--acute { background: linear-gradient(150deg, #F0714E, var(--red) 130%); }
.prob-aside__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .1; }
.prob-aside__cta-text { position: relative; display: flex; flex-direction: column; gap: 8px; }
.prob-aside__cta-title { font-family: var(--font-head); font-weight: 800; font-size: 21px; line-height: 1.2; color: #fff; }
.prob-aside__cta-sub { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.9); }
.prob-aside__cta-actions { position: relative; display: flex; flex-direction: column; gap: 10px; }
.prob-aside__btn { text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 9px; background: #fff; color: var(--brand-deep); font-weight: 700; font-size: 15.5px; padding: 14px 24px; border-radius: var(--radius-pill); transition: transform .18s ease; }
.prob-aside__cta.prob--acute .prob-aside__btn { color: var(--red-d); }
.prob-aside__btn svg { color: var(--brand); }
.prob-aside__cta.prob--acute .prob-aside__btn svg { color: var(--red); }
.prob-aside__btn:hover { transform: translateY(-2px) scale(1.03); }
.prob-aside__phone { text-decoration: none; text-align: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 19px; }
.prob-aside__box { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: clamp(22px,2.4vw,28px); display: flex; flex-direction: column; gap: 6px; }
.prob-aside__box-title { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-dark); font-weight: 600; padding-bottom: 10px; }
.prob-aside__doc { text-decoration: none; display: flex; flex-direction: column; gap: 2px; padding: 11px 0; border-top: 1px solid rgba(var(--brand-deep-rgb),.07); }
.prob-aside__doc-name { font-size: 15.5px; font-weight: 700; color: var(--brand-ink); line-height: 1.35; }
.prob-aside__doc:hover .prob-aside__doc-name { color: var(--brand-dark); }
.prob-aside__doc-role { font-size: 13.5px; color: #5d7885; }
.prob-aside__rel { text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(var(--brand-deep-rgb),.07); }
.prob-aside__rel span:first-child { font-size: 15px; font-weight: 600; color: var(--brand-ink); line-height: 1.4; }
.prob-aside__rel span:last-child { color: var(--brand); flex: none; }
.prob-aside__rel:hover span:first-child { color: var(--brand-dark); }

.prob-cta { max-width: var(--content-w); margin: 0 auto; padding: 0 var(--content-px) clamp(88px,11vw,150px); }
.prob-cta__wrap { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(150deg, var(--brand), var(--brand-dark) 120%); padding: clamp(40px,6vw,64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.prob-cta__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .12; }
.prob-cta__text { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.prob-cta__h2 { margin: 0; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: clamp(26px,3vw,40px); line-height: 1.12; text-wrap: balance; }
.prob-cta__p { margin: 0; font-size: 16.5px; line-height: 1.55; color: rgba(255,255,255,.82); }
.prob-cta__actions { position: relative; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.prob-cta__btn { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--brand-deep); font-weight: 700; font-size: 17px; padding: 17px 36px; border-radius: var(--radius-pill); transition: transform .18s ease, box-shadow .18s ease; }
.prob-cta__btn svg { color: var(--brand); }
.prob-cta__btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.prob-cta__phone { text-decoration: none; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 22px; }

@media (max-width: 980px) {
  .prob-hero__grid { grid-template-columns: 1fr; }
  .prob-body { grid-template-columns: 1fr; }
  .prob-aside { position: static; }
}
@media (max-width: 620px) {
  .prob-causes, .prob-aid { grid-template-columns: 1fr; }
  .prob-cta__wrap, .probhub-more__wrap { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   БОГАТЫЕ СТРАНИЦЫ УСЛУГ v25 (service/rich.html) — переиспользуют impl-*
   ═══════════════════════════════════════════════════════════════════════════ */
.svc-rich { max-width: var(--content-w); margin: 0 auto; padding: clamp(36px,5vw,72px) var(--content-px) clamp(56px,7vw,96px); display: flex; flex-direction: column; gap: clamp(44px,5.5vw,72px); }
.svc-hero__price { display: flex; align-items: baseline; gap: 10px; padding: 2px 0 10px; }
.svc-hero__price span { font-size: 15px; color: rgba(255,255,255,.75); }
.svc-hero__price b { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px,3.4vw,42px); line-height: 1; color: #fff; }

.svc-ind { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-ind__item { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--text-muted); background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; }
.svc-ind__mark { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-wash); display: flex; align-items: center; justify-content: center; margin-top: 1px; }

.svc-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,210px),1fr)); gap: 16px; }
.svc-doc { text-decoration: none; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.svc-doc:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(var(--brand-dark-rgb),.12); border-color: rgba(var(--brand-rgb),.35); }
.svc-doc__photo { display: block; width: 100%; aspect-ratio: 1/1; overflow: hidden; background: var(--brand-wash); }
.svc-doc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.svc-doc__body { display: flex; flex-direction: column; gap: 5px; padding: 15px 16px 18px; }
.svc-doc__name { font-family: var(--font-head); font-weight: 800; font-size: 16px; line-height: 1.25; color: var(--brand-ink); }
.svc-doc__role { font-size: 13.5px; line-height: 1.4; color: #5d7885; }
.svc-doc__more { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--brand-dark); margin-top: 4px; }
.svc-doc__more span { color: var(--brand); }

.svc-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,260px),1fr)); gap: 12px; }
.svc-related__item { text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; font-weight: 600; font-size: 15.5px; color: var(--brand-deep); transition: border-color .18s ease, transform .18s ease; }
.svc-related__item:hover { border-color: var(--brand); transform: translateY(-2px); }
.svc-related__item span:last-child { color: var(--brand); }

@media (max-width: 620px) {
  .svc-ind { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ЛЕНДИНГИ v25 (landing.html: пародонтолог, брекеты, детская) — reuse impl-*
   ═══════════════════════════════════════════════════════════════════════════ */
.land-intro { background: linear-gradient(150deg, var(--bg-soft), var(--bg-softer)); border: 1px solid var(--border-soft); border-radius: clamp(20px,2.6vw,28px); padding: clamp(28px,3.6vw,48px); }
.land-intro__h2 { margin: 0 0 12px; font-family: var(--font-head); font-weight: 800; font-size: clamp(24px,2.8vw,34px); line-height: 1.12; letter-spacing: -.01em; color: var(--brand-deep); text-wrap: balance; }
.land-intro__p { margin: 0; font-size: clamp(16px,1.35vw,18px); line-height: 1.65; color: var(--text-muted); }

.land-doc { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px,3vw,40px); align-items: center; background: #fff; border: 1px solid var(--border); border-radius: clamp(20px,2.6vw,28px); padding: clamp(22px,2.6vw,32px); }
.land-doc__photo { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 1/1; background: var(--brand-wash); }
.land-doc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.land-doc__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.land-doc__name { font-family: var(--font-head); font-weight: 800; font-size: clamp(22px,2.4vw,28px); line-height: 1.15; color: var(--brand-deep); text-decoration: none; }
.land-doc__name:hover { color: var(--brand-dark); }
.land-doc__role { font-size: 15px; color: var(--brand-dark); font-weight: 600; }
.land-doc__text { margin: 6px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--text-muted); }
.land-doc__link { margin-top: 6px; align-self: flex-start; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--brand-dark); }
.land-doc__link span { color: var(--brand); }

.land-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,300px),1fr)); gap: 14px; }
.land-card { text-decoration: none; display: flex; flex-direction: column; gap: 9px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: clamp(20px,2.2vw,26px); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
a.land-card:hover { border-color: rgba(var(--brand-rgb),.4); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(var(--brand-dark-rgb),.1); }
.land-card__head { display: flex; align-items: center; gap: 10px; }
.land-card__d { width: 9px; height: 9px; background: var(--brand); transform: rotate(45deg); flex: none; }
.land-card__name { font-family: var(--font-head); font-weight: 800; font-size: 18.5px; color: var(--brand-ink); }
.land-card__text { font-size: 15px; line-height: 1.55; color: var(--text-muted); }

@media (max-width: 620px) {
  .land-doc { grid-template-columns: 1fr; }
  .land-doc__photo { max-width: 200px; }
}

/* ── Главная: «С чем к нам приходят» (проблемы и решения) ── */
.home-problems { max-width: var(--content-w); margin: 0 auto; padding: var(--section-gap) var(--content-px) 0; }
.home-problems__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px,3.4vw,44px); }
.home-problems__intro { display: flex; flex-direction: column; gap: 14px; }
.home-problems__eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-dark); font-weight: 600; }
.home-problems__d { width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); flex: none; }
.home-problems__intro h2 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(30px,3.6vw,46px); line-height: 1.08; letter-spacing: -.01em; color: var(--brand-deep); text-wrap: balance; }
.home-problems__intro p { margin: 0; font-size: clamp(16px,1.3vw,17.5px); line-height: 1.6; color: var(--text-muted); max-width: 60ch; }
.home-problems__all { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.home-problems__all span { color: var(--brand); }
.home-problems__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,270px),1fr)); gap: 18px; }
.home-prob-card { position: relative; text-decoration: none; display: flex; flex-direction: column; gap: 9px; padding: clamp(22px,2.2vw,26px); background: #fff; border: 1px solid var(--border); border-radius: 20px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.home-prob-card:hover { border-color: rgba(var(--brand-rgb),.4); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(var(--brand-dark-rgb),.1); }
.home-prob-card--acute:hover { border-color: rgba(226,87,76,.4); }
.home-prob-card__badge { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-d); background: var(--red-soft); padding: 4px 10px; border-radius: 100px; }
.home-prob-card__head { display: flex; align-items: center; gap: 10px; }
.home-prob-card__d { width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); flex: none; }
.home-prob-card__name { font-family: var(--font-head); font-weight: 800; font-size: 18.5px; color: var(--brand-ink); }
.home-prob-card__text { font-size: 14.5px; line-height: 1.5; color: #5d7885; }
.home-prob-card__more { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--brand-dark); margin-top: 2px; }
.home-prob-card__more span { color: var(--brand); }

/* ── Главная: живая лента отзывов (река) ── */
@keyframes okroRiverL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes okroRiverR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.home-reviews { padding: clamp(64px,8vw,110px) 0 0; overflow: hidden; }
.home-reviews__head { max-width: var(--content-w); margin: 0 auto clamp(30px,3.6vw,48px); padding: 0 var(--content-px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.home-reviews__intro { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.home-reviews__eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.home-reviews__d { width: 8px; height: 8px; background: var(--brand); transform: rotate(45deg); flex: none; }
.home-reviews__intro h2 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(28px,3.4vw,44px); line-height: 1.1; letter-spacing: -.01em; color: var(--brand-deep); text-wrap: balance; }
.home-reviews__intro p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--text-muted); }
.home-reviews__btn { flex: none; text-decoration: none; display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1.5px solid rgba(var(--brand-rgb),.4); color: var(--brand-dark); font-weight: 700; font-size: 15.5px; padding: 14px 28px; border-radius: var(--radius-pill); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.home-reviews__btn:hover { transform: translateY(-2px); border-color: var(--brand); background: var(--brand-wash-soft); }
.home-reviews__mask { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.home-reviews__track { display: flex; width: max-content; align-items: stretch; padding: 14px 0; }
.home-reviews__track--l { animation: okroRiverL 78s linear infinite; }
.home-reviews__track--r { animation: okroRiverR 68s linear infinite; }
.home-reviews__track:hover { animation-play-state: paused; }
.rev-card { flex: none; width: clamp(288px,24vw,336px); margin-right: 20px; box-sizing: border-box; display: flex; flex-direction: column; gap: 13px; padding: 24px 24px 22px; background: #fff; border: 1px solid rgba(var(--brand-deep-rgb),.08); border-radius: 22px; box-shadow: 0 8px 26px rgba(var(--brand-dark-rgb),.06); }
.rev-card__top { display: flex; align-items: center; gap: 12px; }
.rev-card__ava { width: 44px; height: 44px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.rev-card__id { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rev-card__name { font-weight: 700; font-size: 15px; color: var(--brand-deep); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rev-card__stars { color: var(--brand); font-size: 13px; letter-spacing: 1px; }
.rev-card__text { margin: 0; font-size: 14.5px; line-height: 1.6; color: #41606f; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rev-card__meta { margin-top: auto; display: flex; align-items: center; gap: 8px; padding-top: 4px; }
.rev-card__src { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-pale); }
.rev-card__dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.rev-card__sep { width: 3px; height: 3px; border-radius: 50%; background: #c3d4db; flex: none; }
.rev-card__date { font-size: 12.5px; color: #8aa3af; }
@media (prefers-reduced-motion: reduce) { .home-reviews__track--l, .home-reviews__track--r { animation: none; } .home-reviews__mask { overflow-x: auto; } }

/* ═══════════ Полоса «Что беспокоит?» (partials/problem_nav.html) ═══════════ */
.problem-nav { border-bottom: 1px solid rgba(var(--brand-deep-rgb), .10); background: #fff; }
.problem-nav__inner { max-width: 1280px; margin: 0 auto; padding: 9px 24px; display: flex; align-items: center; gap: 12px; }
.problem-nav__lead { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 100px; font-size: 14px; font-weight: 700; color: #fff; text-decoration: none; background: linear-gradient(135deg, #F0714E, #E2574C); box-shadow: 0 6px 16px -8px rgba(226, 87, 76, .6); transition: box-shadow .16s ease, transform .16s ease; }
.problem-nav__lead:hover { box-shadow: 0 8px 20px -8px rgba(226, 87, 76, .75); transform: translateY(-1px); }
.problem-nav__lead svg { opacity: .9; }
.problem-nav__sep { width: 1px; height: 24px; background: rgba(var(--brand-deep-rgb), .12); flex: none; }
.problem-nav__pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.problem-nav__pill { text-decoration: none; color: #33586a; font-size: 14px; font-weight: 600; padding: 6px 13px; border: 1px solid rgba(226, 87, 76, .32); border-radius: 100px; transition: color .16s ease, background .16s ease, border-color .16s ease; }
.problem-nav__pill:hover { color: #E2574C; background: rgba(240, 113, 78, .12); border-color: rgba(226, 87, 76, .55); }
.problem-nav__pill--active { color: #E2574C; background: rgba(240, 113, 78, .12); border-color: rgba(226, 87, 76, .55); }
/* На узких экранах полоса скрыта — раздел доступен в мобильном меню как «Что беспокоит?» */
@media (max-width: 900px) { .problem-nav { display: none; } }

/* ═══════════ Страница «Отзывы» (pages/reviews.html) ═══════════ */
.reviews-hero { background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark)); color: #fff; }
.reviews-hero__wrap { max-width: 1280px; margin: 0 auto; padding: clamp(40px, 6vw, 76px) 24px clamp(36px, 5vw, 60px); }
.reviews-hero__crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 22px; color: rgba(255, 255, 255, .7); }
.reviews-hero__crumb a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.reviews-hero__crumb a:hover { color: #fff; }
.reviews-hero__crumb span[aria-current] { color: #fff; }
.reviews-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-light); }
.reviews-hero__diamond { width: 8px; height: 8px; background: var(--brand-light); transform: rotate(45deg); }
.reviews-hero__h1 { margin: 14px 0 12px; font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; color: #fff; }
.reviews-hero__sub { max-width: 640px; margin: 0; font-size: clamp(15px, 1.6vw, 17px); line-height: 1.6; color: rgba(255, 255, 255, .85); }

.reviews-ratings { max-width: 1280px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) 24px 0; }
.reviews-ratings__title { margin: 0 0 22px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; color: var(--text-dark); }
.reviews-ratings__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.rating-card { display: flex; align-items: center; gap: 13px; padding: 16px 18px; background: #fff; border: 1px solid rgba(var(--brand-deep-rgb), .12); border-radius: 16px; text-decoration: none; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.rating-card:hover { border-color: rgba(var(--brand-rgb), .4); box-shadow: 0 10px 24px -14px rgba(var(--brand-deep-rgb), .4); transform: translateY(-2px); }
.rating-card__logo { width: 40px; height: 40px; border-radius: 10px; flex: none; object-fit: contain; }
.rating-card__body { display: flex; flex-direction: column; }
.rating-card__score { font-size: 22px; font-weight: 800; color: var(--brand-deep); line-height: 1; display: inline-flex; align-items: baseline; gap: 4px; }
.rating-card__stars { color: #FFB800; font-size: 15px; }
.rating-card__platform { font-size: 13.5px; font-weight: 600; color: var(--text-pale); margin-top: 4px; }

.reviews-grid-sec { max-width: 1280px; margin: 0 auto; padding: clamp(36px, 4.5vw, 56px) 24px clamp(40px, 5vw, 64px); }
.reviews-grid { columns: 3 320px; column-gap: 18px; }
.reviews-grid .rev-card { break-inside: avoid; margin: 0 0 18px; width: auto; display: inline-block; vertical-align: top; }
.rev-card__text--full { -webkit-line-clamp: unset; display: block; overflow: visible; }

.reviews-cta { background: var(--brand-wash); }
.reviews-cta__wrap { max-width: 900px; margin: 0 auto; padding: clamp(44px, 5.5vw, 72px) 24px; text-align: center; }
.reviews-cta__title { margin: 0 0 12px; font-size: clamp(23px, 3vw, 32px); font-weight: 800; color: var(--text-dark); }
.reviews-cta__sub { max-width: 560px; margin: 0 auto 26px; font-size: 16px; line-height: 1.6; color: var(--text-muted); }
.reviews-cta__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.reviews-cta__btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; background: #fff; border: 1px solid rgba(var(--brand-deep-rgb), .14); border-radius: 100px; font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.reviews-cta__btn:hover { border-color: var(--brand); box-shadow: 0 8px 18px -12px rgba(var(--brand-deep-rgb), .5); transform: translateY(-1px); }
.reviews-cta__btn img { border-radius: 6px; }
.reviews-cta__call { display: inline-block; margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--brand-deep); text-decoration: none; }
.reviews-cta__call:hover { text-decoration: underline; }
@media (max-width: 640px) { .reviews-grid { columns: 1; } }

/* ═══════════ Страница «Контакты» (pages/contacts.html) ═══════════ */
.contacts-hero { background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark)); color: #fff; }
.contacts-hero__wrap { max-width: 1280px; margin: 0 auto; padding: clamp(40px, 6vw, 76px) 24px clamp(36px, 5vw, 60px); }
.contacts-hero__crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 22px; color: rgba(255, 255, 255, .7); }
.contacts-hero__crumb a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.contacts-hero__crumb a:hover { color: #fff; }
.contacts-hero__crumb span[aria-current] { color: #fff; }
.contacts-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-light); }
.contacts-hero__diamond { width: 8px; height: 8px; background: var(--brand-light); transform: rotate(45deg); }
.contacts-hero__h1 { margin: 14px 0 12px; font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; color: #fff; }
.contacts-hero__sub { max-width: 560px; margin: 0; font-size: clamp(15px, 1.6vw, 17px); line-height: 1.6; color: rgba(255, 255, 255, .85); }

.contacts-main { max-width: 1280px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) 24px; }
.contacts-main__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.contacts-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: #fff; border: 1px solid rgba(var(--brand-deep-rgb), .12); border-radius: 16px; }
.contact-card__ico { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--brand-wash); color: var(--brand-deep); margin-bottom: 4px; }
.contact-card__label { font-size: 12.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--text-pale); }
.contact-card__val { font-size: 16px; font-weight: 600; color: var(--text-dark); line-height: 1.45; }
.contact-card__val--link { text-decoration: none; color: var(--brand-deep); }
.contact-card__val--link:hover { text-decoration: underline; }
.contacts-social { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; background: var(--brand-wash-soft); border-radius: 16px; }
.contacts-social__label { font-size: 14.5px; font-weight: 600; color: var(--text-muted); }
.contacts-social__row { display: flex; gap: 12px; }
.contacts-social__btn { display: inline-flex; }
.contacts-social__btn img { width: 40px; height: 40px; border-radius: 11px; filter: drop-shadow(0 4px 10px rgba(var(--brand-deep-rgb), .22)); transition: transform .16s ease; }
.contacts-social__btn:hover img { transform: translateY(-2px); }

.contacts-map__card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 260px; justify-content: center; padding: 32px; background: var(--brand-wash); border: 1px solid rgba(var(--brand-deep-rgb), .12); border-radius: 20px; }
.contacts-map__pin { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; background: #fff; color: var(--brand-deep); box-shadow: 0 8px 20px -12px rgba(var(--brand-deep-rgb), .5); }
.contacts-map__addr { font-size: 17px; font-weight: 700; color: var(--text-dark); }
.contacts-map__links { display: flex; gap: 16px; flex-wrap: wrap; }
.contacts-map__link { font-size: 15px; font-weight: 600; color: var(--brand-deep); text-decoration: none; }
.contacts-map__link:hover { text-decoration: underline; }

.contacts-cta { background: var(--brand-wash-soft); }
.contacts-cta__wrap { max-width: 1280px; margin: 0 auto; padding: clamp(44px, 5.5vw, 72px) 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contacts-cta__title { margin: 0 0 12px; font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; color: var(--text-dark); }
.contacts-cta__sub { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-muted); }
.contacts-cta__sub a { color: var(--brand-deep); font-weight: 600; }
@media (max-width: 900px) {
  .contacts-main__grid { grid-template-columns: 1fr; }
  .contacts-cta__wrap { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .contacts-info { grid-template-columns: 1fr; } }

/* ═══════════ Врачи — секции по направлениям (doctor/hub.html) ═══════════ */
.doc-hub-groups { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 52px); }
.doc-hub-group__head { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(16px, 2vw, 24px); }
.doc-hub-group__title { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; color: var(--brand-deep); white-space: nowrap; }
.doc-hub-group__diamond { width: 9px; height: 9px; background: var(--brand); transform: rotate(45deg); flex: none; }
.doc-hub-group__head::after { content: ""; flex: 1; height: 1px; background: rgba(var(--brand-deep-rgb), .12); }
.doc-hub-group__count { flex: none; font-size: 14px; font-weight: 600; color: var(--text-pale); white-space: nowrap; }

/* ═══════════ Правовые страницы (pages/legal.html) ═══════════ */
.legal-hero { background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark)); color: #fff; }
.legal-hero__wrap { max-width: 900px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 24px clamp(32px, 4vw, 52px); }
.legal-hero__crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 20px; color: rgba(255, 255, 255, .7); }
.legal-hero__crumb a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.legal-hero__crumb a:hover { color: #fff; }
.legal-hero__crumb span[aria-current] { color: #fff; }
.legal-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-light); }
.legal-hero__diamond { width: 8px; height: 8px; background: var(--brand-light); transform: rotate(45deg); }
.legal-hero__h1 { margin: 14px 0 12px; font-size: clamp(26px, 4vw, 42px); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; color: #fff; }
.legal-hero__sub { max-width: 620px; margin: 0; font-size: clamp(15px, 1.6vw, 17px); line-height: 1.6; color: rgba(255, 255, 255, .85); }

.legal-body-sec { padding: clamp(36px, 5vw, 60px) 24px clamp(48px, 6vw, 80px); }
.legal-body { max-width: 820px; margin: 0 auto; color: var(--text); font-size: 16px; line-height: 1.7; }
.legal-body .legal-date { font-size: 14px; color: var(--text-pale); margin: 0 0 clamp(20px, 3vw, 32px); }
.legal-body h2 { margin: clamp(28px, 3.4vw, 40px) 0 12px; font-size: clamp(18px, 2.1vw, 22px); font-weight: 700; color: var(--text-dark); }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin: 0 0 8px; }
.legal-body a { color: var(--brand-deep); font-weight: 600; text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { color: var(--text-dark); }
