@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* Арт-Ник — контраст: тёмно-красный + белый + золото */

:root {
  /* Поверхности */
  --noir:        #3f0f1b;   /* глубокий винный бордо (тёмная база) */
  --cocoa:       #521427;   /* бордо посветлее — вторая тёмная поверхность */
  --ember:       rgba(255,255,255,.13);   /* линии на тёмном */
  --marble:      #e9e4e2;   /* тонкие линии на белом */
  --paper:       #ffffff;   /* белый (светлая база) */
  --paper-pure:  #ffffff;
  --mist:        #f7f4f2;   /* тёплый серо-бежевый — услуги, врачи, FAQ */

  /* Акцент — винный кларет */
  --peach:       #6d1226;
  --peach-glow:  #872035;
  --accent-soft: #e6b9c0;   /* мягкий розовый — акценты на тёмном */

  /* Акцент — золото */
  --gold:        #c9a24a;
  --gold-glow:   #e0c483;
  --gold-ink:    #8a6a1c;   /* затемнённое золото — для текста на белом */

  /* Текст */
  --on-dark:     #f7ece9;
  --on-dark-dim: #dcb7bd;
  --on-light:    #1a1a1a;
  --ash:         #6b6b6b;

  --hdr-h: 66px;
  --shell: min(1180px, calc(100% - 48px));
  --pad:   clamp(20px, 5vw, 64px);
  --sp:    clamp(52px, 6.5vw, 92px);
  --ease:  cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--on-light);
  font: 400 16px/1.65 Manrope, system-ui, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.shell { width: var(--shell); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 200; left: 14px; top: -80px; padding: 10px 18px; background: var(--gold); color: var(--on-light); font-weight: 700; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 14px; }

/* ---------- Типографика ---------- */
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.035em; line-height: 1.06; }
h1 em, h2 em, .em { font-weight: 300; font-style: normal; letter-spacing: -.03em; color: var(--peach); }
.surf--noir h2 em, .surf--cocoa h2 em, .surf--noir h1 em, .hero h1 em { color: var(--gold-glow); }
p { margin: 0; }

.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--peach);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }
.eyebrow--gold { color: var(--gold-ink); }
.surf--noir .eyebrow, .surf--cocoa .eyebrow { color: var(--gold); }

.h2 { font-size: clamp(30px, 3.4vw, 52px); }
.h3-loc { font-size: clamp(22px, 2vw, 32px); font-weight: 700; letter-spacing: -.03em; }
.lead { color: var(--ash); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; max-width: 62ch; }
.surf--noir .lead, .surf--cocoa .lead { color: var(--on-dark-dim); }

/* ---------- Кнопки: primary (бордо), secondary (контур), text-link ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 26px;
  background: var(--peach); color: var(--on-dark); border: 1px solid var(--peach); border-radius: 999px;
  font: 600 14px/1 Manrope, sans-serif; letter-spacing: .01em;
  cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { background: var(--peach-glow); border-color: var(--peach-glow); transform: translateY(-2px); }
.btn--wine { background: var(--peach); color: var(--on-dark); border-color: var(--peach); }
.btn--wine:hover { background: var(--peach-glow); border-color: var(--peach-glow); }
/* золотая заливка — только для CTA на тёмном бордовом фоне */
.surf--noir .btn--gold, .surf--cocoa .btn--gold { background: var(--gold); color: var(--noir); border-color: var(--gold); }
.surf--noir .btn--gold:hover, .surf--cocoa .btn--gold:hover { background: var(--gold-glow); border-color: var(--gold-glow); }
.btn--line { background: transparent; color: var(--peach); border-color: var(--peach); }
.btn--line:hover { background: var(--peach); color: var(--on-dark); }
.surf--noir .btn--line, .surf--cocoa .btn--line { color: var(--on-dark); border-color: rgba(255,255,255,.4); }
.surf--noir .btn--line:hover, .surf--cocoa .btn--line:hover { background: #fff; color: var(--noir); border-color: #fff; }

.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  font: 600 14px/1.2 Manrope, sans-serif; letter-spacing: .01em;
  color: var(--peach);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
  transition: opacity .2s var(--ease);
}
.link span { font-size: 14px; }
.link:hover { opacity: .64; }
.surf--noir .link, .surf--cocoa .link { color: var(--gold); }

/* ---------- Шапка ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60; color: var(--on-light);
  background: rgba(255, 255, 255, .9); border-bottom: 1px solid var(--marble);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hdr__inner { width: var(--shell); margin-inline: auto; min-height: var(--hdr-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand__mark {
  width: 40px; height: 40px; flex: none; display: grid; place-content: center;
  background: var(--noir); color: var(--gold); border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .55);
  font-weight: 800; font-size: 15px; letter-spacing: -.02em;
}
.brand__text { display: grid; gap: 3px; line-height: 1.1; }
.brand__text b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.brand__text small { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; opacity: .74; }

.nav { display: flex; align-items: center; gap: 24px; font: 600 13px/1 Manrope, sans-serif; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .25s var(--ease); }
.nav a:hover::after { right: 0; }
.hdr__call { display: grid; gap: 2px; padding: 8px 17px; border-radius: 999px; background: var(--peach); color: #fff; font: 600 13px/1 Manrope, sans-serif; white-space: nowrap; transition: background .2s, transform .2s; }
.hdr__call small { font-size: 8px; font-weight: 500; letter-spacing: .06em; opacity: .72; }
.hdr__call:hover { background: var(--peach-glow); transform: translateY(-1px); }
.hdr__cta { min-height: 42px; padding: 0 20px; font-size: 13px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: none; color: currentColor; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .2s, opacity .2s; border-radius: 2px; }

/* ---------- Первый экран ---------- */
.hero { position: relative; height: clamp(720px, calc(100svh - var(--hdr-h)), 780px); overflow: visible; background: #f7f4f2; color: var(--on-light); }
.hero__backdrop { position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: auto; height: 100%; max-width: none; object-fit: contain; filter: brightness(.9) contrast(1.07) saturate(1.03); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.99) 25%, rgba(255,255,255,.96) 41%, rgba(255,255,255,.86) 44%, rgba(255,255,255,.68) 48%, rgba(255,255,255,.46) 53%, rgba(255,255,255,.25) 58%, rgba(255,255,255,.1) 63%, rgba(255,255,255,0) 67%, rgba(255,255,255,0) 100%); }
.hero__inner { position: relative; z-index: 1; width: var(--shell); height: 100%; margin-inline: auto; padding: clamp(58px, 7vh, 76px) 0 100px; display: flex; align-items: flex-start; }
.hero__copy { width: min(620px, 50%); }
.hero h1 { max-width: 620px; margin-bottom: 22px; color: var(--on-light); font-size: clamp(48px, 4.45vw, 68px); font-weight: 400; line-height: 1; letter-spacing: -.052em; }
.hero h1 strong { color: var(--peach); font-weight: 600; }
.hero__lead { max-width: 43ch; color: var(--ash); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.58; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.hero__facts { position: absolute; left: 0; bottom: 28px; width: min(770px, 68%); min-height: 116px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 14px 10px; border: 1px solid rgba(109,18,38,.1); border-radius: 16px; background: rgba(255,252,250,.96); backdrop-filter: blur(10px); }
.hero__facts .fact { min-width: 0; padding: 0 18px; border-right: 1px solid var(--marble); }
.hero__facts .fact:last-child { border-right: 0; }
.hero__facts .fact b { display: block; color: var(--peach); font-size: clamp(16px, 1.45vw, 21px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.hero__facts .fact span { display: block; margin-top: 6px; color: var(--ash); font-size: 10.5px; line-height: 1.35; }

/* ---------- Поверхности ---------- */
.section { padding-block: var(--sp); }
.surf { position: relative; }
.surf--noir  { background: var(--noir);  color: var(--on-dark); }
.surf--cocoa { background: var(--cocoa); color: var(--on-dark); }
.surf--paper { background: var(--paper);  color: var(--on-light); }
.surf--white { background: var(--mist); color: var(--on-light); }
.surf + .surf::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(211,204,195,.3) 18%, rgba(198,160,102,.5) 50%, rgba(211,204,195,.3) 82%, transparent);
}
:where(.dirs, .about, .why, .consult, .reviews, .team, .promo, .faq, .cta, .contacts) { scroll-margin-top: 90px; }

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(34px, 4vw, 54px); }
.head__lead { max-width: 42ch; margin-bottom: 4px; color: var(--ash); font-size: 14px; }
.surf--noir .head__lead, .surf--cocoa .head__lead { color: var(--on-dark-dim); }

/* ---------- Полоса фактов ---------- */
.facts { padding: 0 var(--pad) clamp(24px, 3vw, 40px); }
.facts__grid {
  width: var(--shell); margin: calc(-1 * clamp(28px, 4vw, 46px)) auto 0; position: relative; z-index: 5;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--paper-pure); border: 1px solid var(--marble); border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 48px -20px rgba(44,22,29,.18);
}
.fact { padding: clamp(20px, 2.2vw, 28px) clamp(16px, 1.8vw, 24px); border-right: 1px solid var(--marble); }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; color: var(--peach); }
.fact span { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--ash); }

/* ---------- Направления (карусель карточек) ---------- */
.dirs { padding-block: var(--sp); }
.dirs__head { align-items: flex-start; }
.dirs__heading { max-width: 610px; }
.dirs__heading .h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.dirs__heading .h2 em { display: block; font-weight: 400; }
.dirs__summary { max-width: 44ch; margin-top: 24px; color: var(--ash); font-size: clamp(15px, 1.35vw, 18px); line-height: 1.6; }
.dirs__aside { width: min(430px, 38%); padding-top: 58px; }
.dirs__controls { display: flex; align-items: center; justify-content: flex-end; gap: 34px; margin-top: 42px; }
.proc__track {
  display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain; scrollbar-width: none;
  padding: 0; border-block: 1px solid var(--marble); scroll-padding-left: 0;
}
.proc__track::-webkit-scrollbar { display: none; }
.proc__card {
  position: relative; flex: 0 0 calc((68% - 1px) / 3); min-width: 0; height: clamp(390px, 35vw, 460px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 40px);
  background: var(--paper-pure); border-right: 1px solid var(--marble); overflow: hidden;
  transition: background .22s var(--ease), color .22s var(--ease);
}
.proc__card--featured { flex-basis: 32%; color: #fff; background: linear-gradient(rgba(83,10,29,.8), rgba(83,10,29,.88)), url("assets/images/XXXL (21).webp") center / cover; }
.proc__card:hover { background-color: var(--mist); }
.proc__card--featured:hover { background: linear-gradient(rgba(83,10,29,.72), rgba(83,10,29,.84)), url("assets/images/XXXL (21).webp") center / cover; }
.proc__num { display: flex; align-items: center; gap: 14px; font: 700 12px/1 Manrope, sans-serif; letter-spacing: .12em; color: var(--gold); }
.proc__num::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.proc__icon { width: 62px; height: 62px; margin-top: 8px; border: 1px solid rgba(138,106,28,.22); border-radius: 50%; background: no-repeat center / 34px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M15 5c-6 0-10 6-10 13 0 6 3 8 4 14 1 5 2 11 6 11 5 0 2-12 9-12s4 12 9 12c4 0 5-6 6-11 1-6 4-8 4-14 0-7-4-13-10-13-4 0-6 2-9 2s-5-2-9-2Z' fill='none' stroke='%23b4872c' stroke-width='2'/%3E%3C/svg%3E"); }
.proc__card--featured .proc__icon { visibility: hidden; margin-top: 0; height: 18px; }
.proc__name { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(23px, 2.1vw, 31px); font-weight: 400; line-height: 1.12; letter-spacing: -.025em; }
.proc__text { font-size: 13.5px; line-height: 1.55; color: var(--ash); }
.proc__card--featured .proc__text { color: rgba(255,255,255,.82); }
.proc__more { margin-top: auto; padding-top: 12px; font: 600 12px/1.3 Manrope, sans-serif; color: var(--gold-ink); }
.proc__card--featured .proc__more { color: var(--gold-glow); }
.proc__more::after { content: " →"; color: var(--gold); }

/* ---------- Карусель фотографий (wslider) ---------- */
.wslider { position: relative; margin-top: clamp(24px, 3vw, 40px); border: 1px solid var(--marble); border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--cocoa); touch-action: pan-y; }
.wslider-track { display: flex; width: 100%; height: 100%; transition: transform .5s var(--ease); user-select: none; -webkit-user-select: none; cursor: grab; }
.wslide { flex: 0 0 100%; height: 100%; position: relative; }
.wslide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; display: block; }
.wslide figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 13px; border-radius: 999px;
  background: rgba(30,9,15,.72); backdrop-filter: blur(6px);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark);
}
.wslider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(30,9,15,.5); color: #fff; display: grid; place-items: center; transition: background .2s var(--ease);
}
.wslider-arrow:hover { background: rgba(30,9,15,.82); }
.wslider-arrow svg { width: 17px; height: 17px; }
.wslider-arrow.prev { left: 14px; } .wslider-arrow.next { right: 14px; }
.wslider-dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; display: flex; justify-content: center; gap: 7px; }
.wslider-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: background .2s, transform .2s; }
.wslider-dots button.active { background: var(--gold); transform: scale(1.4); }

/* ---------- Лечение в фотографиях ---------- */
.cases__row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 4vw, 44px); margin-top: clamp(28px, 4vw, 46px); }
.cases__col { flex: 0 1 430px; min-width: 0; }
.cases__slider { aspect-ratio: 4 / 5; max-height: 550px; margin-top: 0; border: 0; border-radius: 16px; box-shadow: 0 24px 55px -30px rgba(63,15,27,.3); }
.cases__slider .wslide { margin: 0; cursor: zoom-in; }
.cases__slider .wslide img { object-fit: cover; }
.cases__caption { margin-top: 14px; color: var(--ash); font-size: 13px; line-height: 1.5; }
.service-photos { padding-bottom: var(--sp); }
.service-photos__grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1.2fr; gap: 10px; }
.service-photos figure { margin: 0; height: clamp(190px, 22vw, 310px); overflow: hidden; border-radius: 12px; cursor: zoom-in; }
.service-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.service-photos figure:hover img { transform: scale(1.025); }

/* ---------- О клинике ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 7vw; align-items: center; }
.about__media { position: relative; margin: 0; }
.about__media::before { content: ""; position: absolute; inset: -20px 20px 20px -20px; border: 1px solid rgba(198,160,102,.4); pointer-events: none; }
.about__media img { width: 100%; aspect-ratio: 1.2; object-fit: cover; border-radius: 4px; cursor: zoom-in; }
.about__copy h2 { margin-bottom: 20px; }
.about__copy p + p { margin-top: 14px; }
.about__facts { margin: 30px 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.about__facts li { position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 13.5px; }
.about__facts li::before { content: "+"; position: absolute; left: 0; color: var(--gold); }

/* ---------- Почему «Арт-Ник» ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--marble); border: 1px solid var(--marble); border-radius: 16px; overflow: hidden; }
.why__card { padding: clamp(28px, 3vw, 38px); background: var(--paper-pure); }
.why__card > span { font: 700 11px/1 Manrope, sans-serif; letter-spacing: .14em; color: var(--gold-ink); }
.why__card h3 { margin: 34px 0 12px; font-size: 20px; }
.why__card p { color: var(--ash); font-size: 13px; line-height: 1.55; }

/* ---------- Консультация ---------- */
.consult { text-align: center; }
.consult__inner { max-width: 820px; margin-inline: auto; }
.consult__inner .eyebrow { justify-content: center; }
.consult__text { margin: 18px auto 0; max-width: 52ch; }
.consult__list { list-style: none; margin: clamp(26px, 3vw, 34px) 0 clamp(24px, 3vw, 32px); padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; }
.consult__list li {
  display: flex; align-items: center; gap: 13px; padding: 15px 18px;
  border: 1px solid var(--ember); border-radius: 12px; background: rgba(198,160,102,.06);
  font-size: 14.5px; font-weight: 500;
}
.consult__list li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Отзывы ---------- */
.reviews .head { align-items: flex-end; }
.rev-band { max-width: 40ch; margin: clamp(30px, 4vw, 48px) auto; text-align: center; display: grid; justify-items: center; gap: 12px; }
.rev-band__stars { font-size: 14px; letter-spacing: 3px; color: var(--gold); }
.rev-band__q { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(22px, 2.8vw, 34px); line-height: 1.3; color: var(--peach); }
.rev-band__cite { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ash); }
.rev-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth;
  scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding: 6px var(--pad) 12px; scroll-padding-left: var(--pad);
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-card {
  flex: 0 0 clamp(280px, 32vw, 380px); scroll-snap-align: start;
  display: flex; flex-direction: column; padding: clamp(26px, 3vw, 34px);
  border: 1px solid var(--marble); border-radius: 16px; background: var(--paper-pure);
}
.rev-card__stars { font-size: 12px; letter-spacing: 3px; color: var(--gold); }
.rev-card blockquote { margin: 16px 0 0; font-size: 15px; line-height: 1.55; }
.rev-card__who { margin-top: auto; padding-top: 18px; font: 700 11px/1.5 Manrope, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); }
.rev-nav { display: flex; align-items: center; gap: 10px; }
.rev-nav button { width: 44px; height: 44px; border: 1px solid var(--marble); border-radius: 50%; background: transparent; color: var(--on-light); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.rev-nav button:hover { background: var(--peach); color: var(--on-dark); border-color: var(--peach); }
.rev-nav svg { width: 16px; height: 16px; }
.guests { margin-top: clamp(30px, 4vw, 46px); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.guests__pics { display: flex; }
.guests__pics img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); }
.guests__pics img + img { margin-left: -14px; }
.guests span { font: 700 12px/1.4 Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--peach); max-width: 30ch; }

/* ---------- Врачи ---------- */
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.doc {
  display: flex; flex-direction: column; padding: clamp(26px, 3vw, 34px);
  border: 1px solid var(--marble); border-radius: 16px; background: var(--paper-pure);
}
.doc > span { font: 700 11px/1 Manrope, sans-serif; letter-spacing: .12em; color: var(--gold-ink); }
.doc__mono {
  width: 60px; height: 60px; margin: 24px 0 20px; display: grid; place-content: center;
  border: 1px solid var(--gold-ink); border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 20px; color: var(--gold-ink);
}
.doc h3 { font-size: 20px; letter-spacing: -.02em; }
.doc__role { margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: var(--gold-ink); }
.doc__bio { margin: 12px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--ash); }

/* ---------- Акция ---------- */
.promo__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 7vw; align-items: center; }
.promo__grid h2 { margin: 6px 0 16px; font-size: clamp(28px, 3.6vw, 46px); }
.promo__grid > div:first-child p { color: var(--on-dark-dim); font-size: 14px; }
.promo__offer { padding: clamp(28px, 3vw, 38px); border: 1px solid rgba(198,160,102,.42); border-radius: 16px; background: rgba(255,255,255,.04); }
.promo__val { display: block; font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.03em; color: var(--gold); }
.promo__name { display: block; margin: 10px 0 8px; font: 700 12px/1 Manrope, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.promo__offer p { margin: 0 0 20px; color: var(--on-dark-dim); font-size: 12.5px; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: start; }
.faq__aside { position: sticky; top: 32px; }
.faq__aside h2 { margin-top: 6px; font-size: clamp(30px, 3.8vw, 48px); }
.faq__list { border-top: 1px solid var(--marble); }
.faq__item { border-bottom: 1px solid var(--marble); }
.faq__q { list-style: none; cursor: pointer; position: relative; padding: 24px 44px 24px 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 4px; top: 22px; font-size: 22px; font-weight: 400; color: var(--gold-ink); transition: transform .25s var(--ease); }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { margin: 0; padding: 0 40px 26px 0; color: var(--ash); font-size: 14px; line-height: 1.6; }

/* ---------- Призыв ---------- */
.cta { text-align: center; }
.cta__inner { max-width: 620px; margin-inline: auto; }
.cta__inner .eyebrow { justify-content: center; }
.cta__inner h2 { font-size: clamp(28px, 3.6vw, 46px); }
.cta__text { margin: 18px auto 0; max-width: 42ch; color: var(--ash); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 28px; }

/* ---------- Контакты ---------- */
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: start; }
.cn { margin: 24px 0 0; border-top: 1px solid var(--ember); }
.cn__row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ember); }
.cn dt { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-dim); padding-top: 3px; }
.cn dd { margin: 0; font-size: 15px; }
.cn dd.hours { display: grid; gap: 6px; }
.cn .hours > div { display: flex; justify-content: space-between; gap: 14px; }
.cn .hours span { color: var(--on-dark-dim); }
.cn a { border-bottom: 1px solid rgba(242,231,224,.24); }
.cn a:hover { border-bottom-color: var(--gold); }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.soc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.soc a { padding: 10px 14px; border: 1px solid var(--ember); border-radius: 999px; font: 700 11px/1 Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; transition: border-color .2s, color .2s; }
.soc a:hover { border-color: var(--gold); color: var(--gold); }
.map { margin-top: clamp(34px, 5vw, 60px); }
.map__head { margin-bottom: 26px; }
.map iframe { display: block; width: 100%; height: clamp(360px, 44vw, 520px); border: 0; border-radius: 16px; background: var(--cocoa); }

/* ---------- Подвал ---------- */
.foot { padding: clamp(46px, 6vw, 72px) 0 26px; background: #300b16; color: var(--on-dark); }
.foot__grid { display: grid; grid-template-columns: 1.6fr .7fr .8fr; gap: 60px; padding-bottom: 46px; }
.foot__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.foot__grid h2 { margin-bottom: 12px; color: var(--gold); font: 700 10px/1 Manrope, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.foot__grid a:not(.brand), .foot__grid p { color: rgba(242,231,224,.64); font-size: 13px; }
.foot__grid a:hover { color: var(--on-dark); }
.foot__brand { margin-bottom: 10px; color: var(--on-dark); }
.foot__note { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(242,231,224,.52); font-size: 11px; line-height: 1.5; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(242,231,224,.42); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Лайтбокс ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: clamp(16px, 4vw, 48px); background: rgba(26,7,14,.9); backdrop-filter: blur(5px); }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 100%); max-height: calc(100vh - 96px); border-radius: 8px; border: 1px solid var(--ember); }
.lightbox__close { position: fixed; top: 20px; right: 20px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--gold); color: var(--noir); font-size: 26px; cursor: pointer; }

/* ---------- Страница услуг ---------- */
.page-hero { padding: clamp(40px, 6vw, 84px) 0 clamp(34px, 4.5vw, 54px); border-bottom: 1px solid var(--marble); }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 68px); }
.page-hero p { color: var(--ash); max-width: 42ch; }
.svc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.svc__card { padding: clamp(26px, 3vw, 36px); border: 1px solid var(--marble); border-radius: 16px; background: var(--paper-pure); }
.svc__card > span { font: 700 10.5px/1.4 Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.svc__card h3 { margin: 6px 0 0; font-size: clamp(19px, 2vw, 23px); }
.svc__card p { margin: 10px 0 0; color: var(--ash); font-size: 14px; line-height: 1.55; }
.svc__note { margin: clamp(22px, 3vw, 34px) 0 0; padding: 20px 22px; border-left: 3px solid var(--gold); background: rgba(198,160,102,.07); color: var(--ash); font-size: 13.5px; line-height: 1.6; }
.feature { padding-block: var(--sp); }
.feature__grid { display: grid; grid-template-columns: 1fr .9fr; gap: 7vw; align-items: center; }
.feature__media { position: relative; margin: 0; }
.feature__media::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid rgba(198,160,102,.4); }
.feature__media img { width: 100%; aspect-ratio: 1.25; object-fit: cover; border-radius: 4px; cursor: zoom-in; }
.feature__copy h2 { margin: 6px 0 16px; }

/* ---------- Появление при скролле ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
}

@keyframes heroIn { from { opacity: .45; transform: scale(1.09); } to { opacity: 1; transform: scale(1.02); } }
@keyframes bob { 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- Адаптив ---------- */
@media (max-width: 1000px) {
  :root { --shell: min(100% - 40px, 760px); }
  .nav { position: fixed; z-index: 55; inset: 0; padding: 110px 28px 40px; background: var(--noir); color: var(--on-dark);
    flex-direction: column; align-items: flex-start; gap: 6px; transform: translateX(100%); transition: transform .35s var(--ease); }
  .nav.is-open { transform: none; }
  .nav a { font-size: 24px; padding: 12px 0; }
  .nav-toggle { display: block; position: relative; z-index: 56; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .hdr__call { display: none; }
  .about__grid, .why__grid, .faq__grid, .promo__grid, .contacts__grid, .page-hero__grid, .feature__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__backdrop { right: 0; left: auto; width: auto; }
  .hero::after { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.99) 38%, rgba(255,255,255,.92) 46%, rgba(255,255,255,.76) 54%, rgba(255,255,255,.52) 62%, rgba(255,255,255,.28) 70%, rgba(255,255,255,.1) 78%, transparent 86%); }
  .hero__inner { padding-top: 58px; }
  .hero__copy { width: min(600px, 66%); }
  .hero h1 { max-width: 15ch; }
  .hero__facts { width: 100%; }
  .team__grid, .svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--marble); }
  .head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .dirs__heading { max-width: 650px; }
  .dirs__aside { width: 100%; padding-top: 0; }
  .dirs__controls { justify-content: flex-start; margin-top: 24px; }
  .proc__card, .proc__card--featured { flex-basis: clamp(270px, 58vw, 340px); }
  .faq__aside { position: static; }
  .about__media::before, .feature__media::before { inset: -14px 14px 14px -14px; }
  .cases__col { flex-basis: min(44vw, 390px); }
  .service-photos__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --shell: calc(100% - 28px); }
  .hero { height: auto; min-height: auto; padding-top: 250px; }
  .hero__backdrop { right: 0; left: 0; width: 100%; height: 300px; object-fit: cover; object-position: 56% 38%; filter: brightness(.94) contrast(1.04); }
  .hero::after { background: linear-gradient(180deg, rgba(255,255,255,0) 80px, rgba(255,255,255,.2) 160px, #fff 300px); }
  .hero__inner { min-height: 0; padding: 30px 0 22px; display: block; }
  .hero__copy { width: 100%; }
  .hero .eyebrow { margin-bottom: 16px; }
  .hero h1 { max-width: 100%; margin-bottom: 18px; font-size: clamp(34px, 10vw, 46px); }
  .hero__actions { flex-direction: column; align-items: stretch; max-width: 360px; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { position: static; width: 100%; margin-top: 28px; grid-template-columns: 1fr 1fr; border-radius: 14px; }
  .hero__facts .fact { padding: 15px; }
  .hero__facts .fact:nth-child(2n) { border-right: 0; }
  .hero__facts .fact:nth-child(-n+2) { border-bottom: 1px solid var(--marble); }
  .dirs { padding-block: var(--sp); }
  .facts__grid, .why__grid, .team__grid, .consult__list, .svc__grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--marble); }
  .fact:last-child { border-bottom: 0; }
  .cta__actions, .contacts__actions { flex-direction: column; align-items: stretch; }
  .dirs__summary { margin-top: 18px; }
  .dirs__controls { justify-content: space-between; width: 100%; gap: 16px; }
  .proc__card, .proc__card--featured { flex-basis: min(84vw, 320px); height: 400px; padding: 28px; }
  .cases__row { gap: 28px; }
  .cases__col { flex-basis: 100%; max-width: 420px; }
  .service-photos__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .service-photos figure { height: 180px; }
}
