/* ==========================================================================
   BB Clinic — главная страница (прототип)
   Палитра взята из логотипа: золото + глубокий зелёный + кремовый фон
   ========================================================================== */
:root {
  --gold: #b8893f;
  --gold-light: #d9b97a;
  --gold-dark: #97702f;
  --green: #1d2a22;
  --green-2: #28392e;
  --green-3: #3a5242;
  --cream: #f6f1e9;
  --cream-2: #efe7da;
  --paper: #fcfaf6;
  --ink: #1f2521;
  --muted: #6d6f67;
  --line: rgba(31, 37, 33, .12);
  --line-light: rgba(255, 255, 255, .18);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 84px;
  --container: 1280px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(34px, 4.4vw, 58px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }

svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Common ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-light); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: 100px;
  font-weight: 600; font-size: 15px; letter-spacing: .02em; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark)); color: #fff; box-shadow: 0 10px 30px -12px rgba(184, 137, 63, .7); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(184, 137, 63, .85); }
.btn--outline { border: 1px solid var(--gold); color: var(--gold-dark); }
.btn--outline:hover { background: var(--gold); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 22px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 0 40px; font-size: 16px; }
.btn--block { width: 100%; }

.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: background .25s; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: rgba(184, 137, 63, .14); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--gold-dark); border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow::after { content: "→"; transition: transform .3s; }
.link-arrow:hover::after { transform: translateX(4px); }

.ornament { display: flex; align-items: center; gap: 14px; color: var(--gold); width: min(360px, 80%); }
.ornament span { flex: 1; height: 1px; background: currentColor; opacity: .7; }
.ornament svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.ornament--light { color: var(--gold-light); }

.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--cream { background: var(--cream); }
.section--green { background: var(--green); color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head__lead { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 560px; }
.section-head--light .section-head__lead { color: rgba(255, 255, 255, .7); }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-head--row > div { max-width: 720px; flex: 1; }
.section-head--row .section-head__lead { margin-top: 0; max-width: 420px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff; transition: background .4s var(--ease), color .4s, box-shadow .4s, height .4s;
}
.header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10, 16, 12, .55), transparent); pointer-events: none; transition: opacity .4s; }
.header__inner { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; max-width: 1440px; }
.header.is-solid { background: rgba(252, 250, 246, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); --header-h: 72px; }
.header.is-solid::before { opacity: 0; }

.logo { flex: none; display: block; position: relative; }
.logo__img { height: 40px; width: auto; transition: opacity .4s; }
.logo__img--dark { position: absolute; inset: 0; opacity: 0; }
.header.is-solid .logo__img--light { opacity: 0; }
.header.is-solid .logo__img--dark { opacity: 1; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: static; }
.nav__item.has-drop { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 6px; height: var(--header-h); padding: 0 12px;
  font-size: 14px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; position: relative;
}
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 24px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover::after, .nav__item.is-open > .nav__link::after { transform: scaleX(1); }
.chev { width: 10px; height: 6px; stroke-width: 1.5; transition: transform .3s; }
.nav__item.is-open .chev { transform: rotate(180deg); }

.drop, .mega {
  position: absolute; top: 100%; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  color: var(--ink);
}
.nav__item.is-open > .drop, .nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
.drop { left: 0; min-width: 250px; background: var(--paper); border-radius: var(--radius-sm); padding: 12px; box-shadow: 0 24px 60px -20px rgba(20, 30, 24, .35); border: 1px solid var(--line); }
.drop--right { left: auto; right: 0; }
.drop a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 14px; transition: background .2s, color .2s; }
.drop a:hover { background: var(--cream); color: var(--gold-dark); }

.mega { left: 0; right: 0; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(20, 30, 24, .35); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mega__inner { display: grid; grid-template-columns: 250px 1fr 280px; gap: 36px; padding-top: 32px; padding-bottom: 36px; max-width: 1440px; }
.mega__tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); padding-right: 18px; }
.mega__tab { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-family: var(--serif); font-size: 21px; color: var(--muted); transition: background .2s, color .2s; }
.mega__tab svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.mega__tab.is-active { background: var(--cream); color: var(--green); }
.mega__pane { display: none; }
.mega__pane.is-active { display: block; animation: fadeIn .3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }
.mega__pane-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.mega__pane-head h4 { font-size: 30px; color: var(--green); }
.mega__pane-head .link-arrow { font-size: 13px; }
.mega__groups { columns: 2; column-gap: 36px; }
.mega__group { break-inside: avoid; margin-bottom: 18px; }
.mega__ghead { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 4px; transition: color .2s; }
.mega__ghead:hover { color: var(--gold-dark); }
.mega__group li a { display: block; padding: 3px 0 3px 12px; font-size: 13.5px; color: var(--muted); border-left: 1px solid var(--line); transition: color .2s, border-color .2s; }
.mega__group li a:hover { color: var(--gold-dark); border-color: var(--gold); }
.mega__empty { color: var(--muted); }
.mega__promo { background: var(--green); color: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 300px; position: relative; overflow: hidden; align-self: start; }
.mega__promo img { position: absolute; right: -30px; bottom: -20px; width: 150px; opacity: .2; pointer-events: none; }
.mega__promo h4 { color: #fff; font-size: 26px; }
.mega__promo p { color: rgba(255, 255, 255, .7); font-size: 14px; margin-top: 10px; }
.mega__promo-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; position: relative; z-index: 1; }
.mega__all { font-size: 14px; font-weight: 600; color: var(--gold-light); }

.header__tools { display: flex; align-items: center; gap: 10px; flex: none; }
.header__phone { font-size: 14px; font-weight: 600; letter-spacing: .02em; display: none; }
.lang { display: flex; border: 1px solid currentColor; border-radius: 100px; padding: 3px; opacity: .9; }
.lang__btn { font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 5px 10px; border-radius: 100px; transition: background .25s, color .25s; }
.lang__btn.is-active { background: var(--gold); color: #fff; }
.lang--dark { color: var(--ink); }

.burger { display: none; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { width: 22px; height: 1.5px; background: currentColor; transition: transform .3s; }
.burger span:nth-child(2) { width: 16px; margin-right: 6px; }

/* ---------- Drawer (mobile) ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer::before { content: ""; position: absolute; inset: 0; background: rgba(15, 22, 18, .5); opacity: 0; transition: opacity .35s; }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(420px, 90vw); background: var(--paper); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .45s var(--ease); }
.drawer.is-open { visibility: visible; }
.drawer.is-open::before { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head img { height: 34px; width: auto; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
.drawer__foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer__phone { font-weight: 700; }
.acc { border-bottom: 1px solid var(--line); }
.acc__btn, .acc__link { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--serif); font-size: 22px; font-weight: 500; text-align: left; }
.acc__btn .chev { width: 12px; height: 8px; }
.acc.is-open .acc__btn .chev { transform: rotate(180deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc.is-open > .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel a { display: block; padding: 7px 0 7px 14px; color: var(--muted); font-size: 15px; border-left: 1px solid var(--line); }
.acc__panel .acc { border: 0; }
.acc__panel .acc__btn { font-size: 17px; font-family: var(--sans); padding: 10px 0; }
.acc__panel > div > :last-child { margin-bottom: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--green) url("../img/hero-poster.jpg") center / cover; }
.hero__media, .hero__video, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video { object-fit: cover; }
.hero__shade { background:
  radial-gradient(ellipse at 30% 50%, rgba(18, 28, 22, .55), rgba(18, 28, 22, .15) 70%),
  linear-gradient(to top, rgba(18, 28, 22, .85), rgba(18, 28, 22, .2) 45%, rgba(18, 28, 22, .35)); }
.hero__content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; display: flex; flex-direction: column; align-items: flex-start; }
.hero__mark { width: 54px; height: auto; margin-bottom: 20px; opacity: .92; }
.hero__title { font-size: clamp(46px, 7.4vw, 108px); line-height: .98; font-weight: 400; max-width: 900px; letter-spacing: -.02em; }
.hero .ornament { margin: 30px 0 26px; }
.hero__lead { max-width: 560px; font-size: 17px; color: rgba(255, 255, 255, .82); margin-bottom: 36px; font-weight: 300; }
.hero .reveal:nth-child(2) { transition-delay: .1s; }
.hero .reveal:nth-child(3) { transition-delay: .2s; }
.hero .reveal:nth-child(4) { transition-delay: .3s; }
.hero .reveal:nth-child(5) { transition-delay: .4s; }
.hero .reveal:nth-child(6) { transition-delay: .5s; }

.hero__pause { position: absolute; z-index: 3; right: 32px; bottom: 40px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .3s; }
.hero__pause:hover { background: rgba(255, 255, 255, .15); }
.hero__pause svg { width: 18px; height: 18px; }
.hero__pause .i-play { display: none; fill: currentColor; }
.hero__pause[data-state="paused"] .i-play { display: block; }
.hero__pause[data-state="paused"] .i-pause { display: none; }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--gold-light), transparent); animation: scrollLine 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Why ---------- */
.why { background: var(--green); color: #fff; border-top: 1px solid var(--line-light); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.why__item { padding: 44px 32px 48px; border-right: 1px solid var(--line-light); }
.why__item:first-child { padding-left: 0; }
.why__item:last-child { border-right: 0; }
.why__num { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 15px; color: var(--gold-light); letter-spacing: .1em; }
.why__item h3 { font-size: 24px; margin: 10px 0 10px; }
.why__item p { font-size: 14px; color: rgba(255, 255, 255, .65); }

/* ---------- Directions ---------- */
.dirs { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.dir {
  grid-column: span 4; position: relative; background: var(--cream); border-radius: var(--radius);
  padding: 34px 32px 30px; min-height: 360px; display: flex; flex-direction: column; overflow: hidden;
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.dir:nth-child(7) { grid-column: span 12; min-height: 0; flex-direction: row; align-items: center; gap: 40px; background: var(--paper); border: 1px solid var(--gold-light); }
.dir:nth-child(7) .dir__list { display: flex; flex-wrap: wrap; gap: 8px; max-height: none; opacity: 1; margin: 0; }
.dir:nth-child(7) .dir__list li { border: 1px solid var(--line); border-radius: 100px; padding: 4px 14px; font-size: 13px; }
.dir:nth-child(7) .dir__list li::before { display: none; }
.dir:nth-child(7) .dir__text { margin: 8px 0 0; }
.dir:nth-child(7) .dir__head { flex: 0 0 34%; }
.dir__icon { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold-light); display: grid; place-items: center; color: var(--gold); margin-bottom: auto; transition: border-color .5s, color .5s; }
.dir__icon svg { width: 26px; height: 26px; stroke-width: 1.3; }
.dir__num { font-variant-numeric: lining-nums; position: absolute; top: 28px; right: 32px; font-family: var(--serif); font-size: 64px; line-height: 1; color: rgba(184, 137, 63, .18); transition: color .5s; }
.dir h3 { font-size: clamp(28px, 2.6vw, 38px); margin-top: 60px; }
.dir:nth-child(7) h3 { margin-top: 0; }
.dir__text { color: var(--muted); font-size: 15px; margin: 12px 0 0; max-width: 460px; transition: color .5s; }
.dir__list { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.dir__list li { font-size: 14px; padding: 3px 0; display: flex; gap: 10px; }
.dir__list li::before { content: "✦"; color: var(--gold-light); font-size: 10px; margin-top: 5px; }
.dir__more { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--gold-dark); }
.dir__more::after { content: "→"; transition: transform .3s; }
@media (hover: hover) {
  .dir:not(:nth-child(7)):hover { background: var(--green); color: #fff; transform: translateY(-4px); }
  .dir:not(:nth-child(7)):hover .dir__text { color: rgba(255, 255, 255, .7); }
  .dir:not(:nth-child(7)):hover .dir__num { color: rgba(217, 185, 122, .35); }
  .dir:not(:nth-child(7)):hover .dir__list { max-height: 320px; opacity: 1; margin-top: 18px; }
  .dir:not(:nth-child(7)):hover .dir__more { color: var(--gold-light); }
  .dir:hover .dir__more::after { transform: translateX(4px); }
}

/* ---------- Problems ---------- */
.section--green { position: relative; overflow: hidden; }
.section--green::after { content: ""; position: absolute; right: -8%; top: -10%; width: 520px; height: 740px; background: url("../img/mark-gold.png") center / contain no-repeat; opacity: .06; pointer-events: none; }
.problems { display: grid; grid-template-columns: 340px 1fr; gap: 56px; position: relative; z-index: 1; }
.problems__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line-light); }
.ptab { display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 18px 4px; border-bottom: 1px solid var(--line-light); font-family: var(--serif); font-size: 28px; color: rgba(255, 255, 255, .55); transition: color .3s, padding .3s; }
.ptab::after { content: "→"; font-family: var(--sans); font-size: 18px; opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .3s; color: var(--gold-light); }
.ptab:hover { color: #fff; }
.ptab.is-active { color: #fff; padding-left: 14px; }
.ptab.is-active::after { opacity: 1; transform: none; }
.problems__panel { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; padding-top: 6px; }
.problems__chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border: 1px solid var(--line-light); border-radius: 100px; font-size: 15px; transition: background .3s, border-color .3s, color .3s; animation: chipIn .5s var(--ease) both; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--gold-light); transition: background .3s; }
.chip:hover { border-color: var(--gold-light); }
.chip.is-checked { background: var(--gold); border-color: var(--gold); }
.chip.is-checked::before { background: #fff; border-color: #fff; }
@keyframes chipIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 0 0; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--gold); transition: width 1.2s var(--ease); }
.step.is-in::before { width: 100%; }
.step__num { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 58px; line-height: 1; color: var(--gold); }
.step__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
.step h3 { font-size: 24px; margin: 22px 0 12px; }
.step p { color: var(--muted); font-size: 15px; }
.antera { margin-top: clamp(56px, 7vw, 90px); display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--green); color: #fff; border-radius: var(--radius); overflow: hidden; }
.antera__visual { position: relative; min-height: 340px; background: radial-gradient(circle at 50% 50%, #3a5242, #1d2a22 70%); overflow: hidden; }
.antera__grid { position: absolute; inset: -20%; background-image: linear-gradient(rgba(217, 185, 122, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 185, 122, .18) 1px, transparent 1px); background-size: 28px 28px; transform: perspective(600px) rotateX(55deg) translateY(10%); mask-image: radial-gradient(circle, #000 30%, transparent 70%); -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); }
.antera__scan { position: absolute; left: 0; right: 0; height: 2px; top: 20%; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); box-shadow: 0 0 24px 4px rgba(217, 185, 122, .5); animation: scan 3.6s ease-in-out infinite alternate; }
@keyframes scan { to { top: 80%; } }
.antera__badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--serif); font-size: 96px; color: var(--gold-light); opacity: .9; }
.antera__text { padding: clamp(32px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.antera__text h3 { font-size: clamp(30px, 3vw, 42px); }
.antera__text p { color: rgba(255, 255, 255, .72); }
.antera__text .btn--outline { color: var(--gold-light); border-color: var(--gold-light); margin-top: 8px; }

/* ---------- Tech ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; margin-bottom: 56px; }
.marquee__track { display: flex; gap: 60px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 48px); white-space: nowrap; color: var(--green); display: flex; align-items: center; gap: 60px; }
.marquee__track span::after { content: "✦"; font-size: 16px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
/* фон сетки — цвет карточек: пустые ячейки в последнем ряду не видны; линии между карточками — тенью самих карточек */
.tech { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tech__item { background: var(--cream); padding: 30px 30px 32px; transition: background .4s; margin: 0 -1px -1px 0; box-shadow: inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line); }
.tech__item:hover { background: var(--paper); }
.tech__tag { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); }
.tech__item h3 { font-size: 30px; margin: 10px 0 8px; }
.tech__item p { font-size: 14px; color: var(--muted); }

/* ---------- Doctors ---------- */
.doctors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.doc { display: block; }
.doc__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--cream-2), var(--cream)); display: grid; place-items: center; }
.doc__photo img.doc__ph { width: 38%; opacity: .35; transition: transform .8s var(--ease); }
.doc:hover .doc__photo img.doc__ph { transform: scale(1.06); }
.doc__exp { position: absolute; left: 16px; bottom: 16px; background: var(--paper); border-radius: 100px; padding: 6px 14px; font-size: 13px; font-weight: 600; }
.doc__exp b { color: var(--gold-dark); }
.doc__cta { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease); }
.doc:hover .doc__cta { transform: scale(1); }
.doc h3 { font-size: 24px; margin-top: 18px; }
.doc p { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- Results (before/after) ---------- */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ba { --pos: 50%; position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ba__img { position: absolute; inset: 0; display: grid; place-items: center; }
.ba__img--before { background: linear-gradient(135deg, #cdb9a4, #b39b83); }
.ba__img--after { background: linear-gradient(135deg, #efe1cf, #e2cdb3); clip-path: inset(0 0 0 var(--pos)); }
.ba__img span { position: absolute; top: 16px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; background: rgba(252, 250, 246, .85); padding: 5px 12px; border-radius: 100px; }
.ba__img--before span { left: 16px; }
.ba__img--after span { right: 16px; }
.ba__img img { width: 30%; opacity: .25; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba__handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--gold-dark); display: grid; place-items: center; font-weight: 700; letter-spacing: .1em; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.ba input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: ew-resize; margin: 0; }
.ba--photo { aspect-ratio: 1; background: #000; }
.ba--photo .ba__img { background: #000; }
.ba--photo .ba__img img { width: 100%; height: 100%; object-fit: contain; opacity: 1; }
.ba--photo .ba__img span { z-index: 1; }
.bacard--cmp { display: block; }
.bacard--cmp .ba { border-radius: var(--radius-sm); }
.result h3 { font-size: 24px; margin-top: 18px; }
.result p { font-size: 14px; color: var(--muted); }

/* ---------- Promo ---------- */
.promo { background: linear-gradient(120deg, var(--green) 0%, var(--green-3) 100%); color: #fff; padding: 64px 0; overflow: hidden; }
.promo__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; }
.promo__mark { width: 90px; height: auto; }
.promo h2 { font-size: clamp(30px, 3.2vw, 44px); }
.promo p { color: rgba(255, 255, 255, .7); margin-top: 10px; max-width: 560px; }
.promo--offers { padding: 96px 0; }
.promo--offers p { max-width: none; margin-top: 0; }

/* Карточка акции (BB.promos): главная, цены, сайдбар услуги */
.offer { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 48px; align-items: center; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .5); }
.offer + .offer { margin-top: 24px; }
.offer__img { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream); }
.offer__img img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.offer__img:hover img { transform: scale(1.03); }
.offer__body { display: grid; gap: 18px; justify-items: start; }
.offer .offer__badge { display: inline-block; background: var(--green); color: var(--gold-light); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; }
.offer__title { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; color: var(--green); }
.offer .offer__lead { color: var(--muted); font-size: 17px; }
.offer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.offer__list li { position: relative; padding-left: 30px; }
.offer__list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--gold); background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px); }
.offer__rows { list-style: none; padding: 0; margin: 0; width: 100%; display: grid; gap: 10px; }
.offer__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.offer__row > a, .offer__row > span:first-of-type { font-weight: 600; color: var(--ink); line-height: 1.35; }
.offer__row > a:hover { color: var(--gold-dark); }
.offer__cost { display: grid; justify-items: end; line-height: 1.1; grid-row: span 2; }
.offer__cost s { font-size: 13px; color: var(--muted); }
.offer__cost b { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--green); white-space: nowrap; }
.offer__row small { font-size: 12px; font-weight: 600; color: var(--gold-dark); }
.offer__new { grid-column: 1 / -1; justify-self: start; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--green); color: var(--gold-light); padding: 3px 10px; border-radius: 999px; }
.offer__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; background: var(--green); color: #fff; border-radius: 999px; padding: 12px 28px; }
.offer__price span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.offer__price b { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 48px); font-weight: 600; color: var(--gold-light); line-height: 1; }
.offer .offer__until { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.offer__until svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.offer__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.offer--compact { grid-template-columns: 1fr; gap: 18px; padding: 20px; background: var(--cream); box-shadow: none; }
.offer--compact .offer__img { aspect-ratio: 4 / 3; }
.offer--compact .offer__img img { height: 100%; object-fit: cover; object-position: top; }
.offer--compact .offer__title { font-size: 26px; }
.offer--compact .offer__body { gap: 14px; }
.offer--compact .offer__list { font-size: 14px; gap: 6px; }
.offer--compact .offer__price { padding: 10px 20px; }
.offer--compact .offer__price b { font-size: 32px; }
.offer--compact .btn { width: 100%; }
.offer--compact .offer__row { grid-template-columns: 1fr; padding: 10px 12px; font-size: 13px; }
.offer--compact .offer__cost { justify-items: start; grid-row: auto; display: flex; gap: 8px; align-items: baseline; }
.offer--compact .offer__cost b { font-size: 22px; }
.prices__promo { margin-bottom: 48px; }
.prices__promo .offer { background: var(--cream); box-shadow: none; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--cream); border-radius: var(--radius); padding: 34px 32px; display: flex; flex-direction: column; gap: 22px; }
.review__stars { color: var(--gold); letter-spacing: 4px; font-size: 14px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.35; flex: 1; }
.review footer { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.review footer i { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-style: normal; font-family: var(--serif); font-size: 20px; }
.review footer span { color: var(--muted); display: block; font-size: 13px; }

/* ---------- Booking ---------- */
.booking { background: var(--green) url("../img/hero-poster.jpg") center / cover; position: relative; color: #fff; }
.booking::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 30, 24, .96) 30%, rgba(20, 30, 24, .78)); }
.booking__grid { position: relative; display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: center; }
.booking__lead { color: rgba(255, 255, 255, .72); margin-top: 18px; max-width: 480px; }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin: 44px 0 0; }
.contacts dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.contacts dd { margin: 0; font-size: 17px; }
.booking__form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 40px; }

.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; border-radius: 0; transition: border-color .3s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field__err { display: none; color: #b0412e; font-size: 12px; }
.field.is-error input { border-color: #b0412e; }
.field.is-error .field__err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 4px 0 6px; cursor: pointer; }
.check input { accent-color: var(--gold); width: 16px; height: 16px; margin-top: 2px; flex: none; }
.form__ok { background: rgba(184, 137, 63, .12); color: var(--gold-dark); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 600; text-align: center; }
.form__fail { background: rgba(176, 58, 46, .08); color: #8e2f25; border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 600; text-align: center; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.js-form button[disabled] { opacity: .6; cursor: progress; }

/* ---------- Footer ---------- */
.footer { background: #141d18; color: rgba(255, 255, 255, .7); padding: 80px 0 0; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer__logo { width: 190px; height: auto; }
.footer h4 { font-size: 22px; color: #fff; margin-bottom: 18px; }
.footer li { padding: 4px 0; }
.footer a:hover { color: var(--gold-light); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer__warn { text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .45); }

/* ---------- Mobile bottom bar ---------- */
.mbar { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal__overlay { position: absolute; inset: 0; background: rgba(15, 22, 18, .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.modal__box { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--paper); border-radius: var(--radius); padding: 44px 40px 36px; opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.modal.is-open { visibility: visible; }
.modal.is-open .modal__overlay { opacity: 1; }
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; }
.modal__mark { width: 34px; height: auto; margin-bottom: 14px; }
.modal h3 { font-size: 34px; }
.modal__lead { color: var(--muted); font-size: 14px; margin: 10px 0 20px; }

/* ---------- Search ---------- */
.search { position: fixed; inset: 0; z-index: 100; background: rgba(252, 250, 246, .98); visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; overflow-y: auto; }
.search.is-open { visibility: visible; opacity: 1; }
.search__box { max-width: 860px; padding-top: 12vh; padding-bottom: 40px; }
.search__row { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--gold); padding-bottom: 12px; }
.search__row > svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.search__row input { flex: 1; min-width: 0; border: 0; background: none; font-family: var(--serif); font-size: clamp(26px, 4vw, 42px); color: var(--ink); outline: none; }
.search__hint { color: var(--muted); font-size: 14px; margin-top: 14px; }
.search__results { margin-top: 24px; }
.search__results li a { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.search__results li a:hover { color: var(--gold-dark); }
.search__results small { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.search__results mark { background: rgba(217, 185, 122, .35); color: inherit; border-radius: 3px; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.modal__topic { margin: -8px 0 16px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--cream); font-size: 14px; font-weight: 600; color: var(--gold-dark); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .6); margin-bottom: 26px; }
.crumbs a { color: rgba(255, 255, 255, .8); transition: color .2s; }
.crumbs a:hover { color: var(--gold-light); }
.crumbs span { opacity: .5; }

.page-hero { background: var(--green); color: #fff; padding: calc(var(--header-h) + clamp(36px, 5vw, 64px)) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -6%; top: -20%; width: 460px; height: 660px; background: url("../img/mark-gold.png") center / contain no-repeat; opacity: .05; pointer-events: none; }
.page-hero h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; font-weight: 400; letter-spacing: -.015em; max-width: 880px; }
.page-hero .eyebrow svg { width: 18px; height: 18px; }
.page-hero__lead { margin-top: 20px; max-width: 620px; color: rgba(255, 255, 255, .78); font-size: 17px; font-weight: 300; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.page-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--green-2); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* нет фото: пустое окно под будущее фото */
.page-hero__media--empty { display: grid; place-items: center; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(217, 185, 122, .45); }
.page-hero__media--empty img { width: 72px; height: auto; object-fit: contain; opacity: .35; }
.page-hero--plain .container { position: relative; z-index: 1; }

.svc__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 5vw, 80px); align-items: start; }
.prose { font-size: 17px; color: #2d332f; }
.prose > p { margin: 0 0 18px; max-width: 760px; }
.svc-h { font-size: clamp(28px, 2.8vw, 38px); margin: 48px 0 20px; color: var(--green); }
.prose > .svc-h:first-child, .doc-sec > .svc-h:first-child { margin-top: 0; }
.svc-h sup { font-family: var(--sans); font-size: 14px; color: var(--gold); vertical-align: super; }
.svc-h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; margin: 28px 0 12px; }
.blist { margin: 0 0 22px; display: grid; gap: 8px; }
.blist li { position: relative; padding-left: 24px; }
.blist li::before { content: "✦"; position: absolute; left: 0; top: 1px; color: var(--gold); font-size: 11px; }
.ic-wrap { display: grid; gap: 16px; margin: 32px 0; }
.ic-wrap--pair { grid-template-columns: 1fr 1fr; }
.ic { border-radius: var(--radius); padding: 28px 28px 24px; }
.ic h3 { font-size: 26px; margin-bottom: 14px; }
.ic--ind { background: var(--cream); }
.ic--contra { background: #fff; border: 1px solid var(--line); }
.ic__list { display: grid; gap: 8px; font-size: 15px; }
.ic__list li { position: relative; padding-left: 22px; }
.ic__list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.ic--contra .ic__list li::before { background: none; border: 1.5px solid #b0412e; width: 8px; height: 8px; }
.ic__note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.svc-steps { display: grid; gap: 0; margin: 0 0 24px; counter-reset: s; }
.svc-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.svc-steps li:last-child { border-bottom: 1px solid var(--line); }
.svc-steps__n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; }
.svc-steps h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.svc-steps p { font-size: 15px; color: var(--muted); }
.svc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 0 0 24px; }
.svc-card { background: var(--cream); border-radius: var(--radius-sm); padding: 22px 22px 20px; transition: background .3s, transform .3s; }
.svc-card h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--green); }
.svc-card p { font-size: 14.5px; color: var(--muted); }
.svc-card--link:hover { background: var(--cream-2); transform: translateY(-2px); }
.faq { border-top: 1px solid var(--line); margin-bottom: 24px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-weight: 600; font-size: 16px; transition: color .2s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-dark); }
.faq__item summary i, .pdir summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold-light); position: relative; transition: transform .3s, background .3s; }
.faq__item summary i::before, .faq__item summary i::after, .pdir summary i::before, .pdir summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--gold-dark); transform: translate(-50%, -50%); }
.faq__item summary i::after, .pdir summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq__item[open] summary i::after, .pdir[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 48px 20px 0; color: var(--muted); font-size: 15.5px; }
.price-box { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--green); color: #fff; border-radius: var(--radius); padding: 28px 32px; margin: 36px 0; }
.price-box .eyebrow { color: var(--gold-light); margin-bottom: 8px; }
.price-box p { color: rgba(255, 255, 255, .75); max-width: 520px; font-size: 15px; }
.price-box__val { font-family: var(--serif); font-size: 40px; color: #fff !important; }
.price-box--soon { margin-top: 0; }
.svc-draft { padding: 18px 22px; border-left: 2px solid var(--gold); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); }
.svc-loading { min-height: 60vh; padding-top: 200px; text-align: center; color: var(--muted); }

.kids { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.kid { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.kid:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(20, 30, 24, .45); border-color: var(--gold-light); }
.kid__img { aspect-ratio: 16 / 10; background: linear-gradient(160deg, var(--cream-2), var(--cream)); display: grid; place-items: center; overflow: hidden; }
.kid__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.kid:hover .kid__img img { transform: scale(1.05); }
.kid__img img.kid__ph { width: 22%; height: auto; opacity: .3; object-fit: contain; }
.kid__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.kid__body h3 { font-size: 23px; margin-bottom: 8px; }
.kid__body p { font-size: 14px; color: var(--muted); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kid__more { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--gold-dark); }
.kid__more::after { content: " →"; }

.svc-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.side-card { background: var(--cream); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; position: relative; overflow: hidden; }
.side-card__mark { position: absolute; right: -14px; top: -10px; width: 70px; opacity: .15; }
.side-card h3 { font-size: 28px; }
.side-card p { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.side-card .btn { min-height: 48px; }
.side-video { border-radius: var(--radius); overflow: hidden; background: var(--green); padding: 18px 18px 0; }
.side-video .eyebrow { color: var(--gold-light); margin-bottom: 12px; }
.side-video video { width: calc(100% + 36px); margin: 0 -18px; aspect-ratio: 9 / 14; object-fit: cover; }
.side-tech { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); padding: 18px; display: grid; place-items: center; }
.side-tech img { max-height: 220px; width: auto; object-fit: contain; }
.side-list { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.side-list h4 { font-size: 22px; margin-bottom: 10px; }
.side-list a { display: block; padding: 6px 0; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); transition: color .2s; }
.side-list li:last-child a { border: 0; }
.side-list a:hover, .side-list a.is-current { color: var(--gold-dark); }
.side-list a.is-current { font-weight: 700; }

/* Doctors */
.doc__photo img.doc__img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--ease); }
.doc:hover .doc__photo img.doc__img { transform: scale(1.04); }
.doctors--page { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.doc-hero { position: relative; z-index: 1; display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.doc-hero__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--green-2); }
.doc-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc-hero__role { color: var(--gold-light); font-size: 16px; margin-top: 14px; max-width: 640px; }
.doc-hero__exp { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.doc-hero__exp b { font-family: var(--serif); font-size: 54px; font-weight: 400; line-height: 1; color: var(--gold-light); font-variant-numeric: lining-nums; }
.doc-hero__exp span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .65); max-width: 140px; line-height: 1.4; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { padding: 6px 14px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, .3); font-size: 13px; transition: border-color .2s, color .2s; }
.tag:hover { border-color: var(--gold-light); color: var(--gold-light); }
.doc-body { display: grid; gap: 56px; }
.doc-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.skills { display: flex; flex-wrap: wrap; gap: 10px; }
.skills li { padding: 10px 18px; border-radius: 100px; background: var(--cream); font-size: 14.5px; }
.tl { border-left: 1px solid var(--gold-light); margin-left: 6px; margin-bottom: 16px; }
.tl li { position: relative; padding: 0 0 18px 26px; }
.tl li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--gold); }
.tl__y { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--gold-dark); margin-bottom: 2px; }
.tl p { font-size: 15px; color: #3a403c; }
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.cert { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -18px rgba(20, 30, 24, .5); transition: transform .3s var(--ease), box-shadow .3s; }
.cert img { width: 100%; height: 100%; object-fit: contain; padding: 6px; } /* сертификаты бывают и горизонтальные, и вертикальные: целиком, без обрезки */
.certs:not(.certs--lic) { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.cert:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -18px rgba(20, 30, 24, .5); }
.cert.is-hidden { display: none; }
.certs--lic { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(12, 18, 14, .94); display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.lb.is-open { visibility: visible; opacity: 1; }
.lb__fig { margin: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 56px 0 24px; min-width: 0; }
.lb__fig img { max-width: 100%; max-height: calc(100% - 40px); object-fit: contain; border-radius: 6px; box-shadow: 0 30px 60px -20px #000; transition: opacity .25s; }
.lb__fig img.is-loading { opacity: .3; }
.lb__fig figcaption { color: rgba(255, 255, 255, .7); font-size: 13px; letter-spacing: .06em; }
.lb__close { position: absolute; top: 14px; right: 14px; color: #fff; z-index: 2; }
.lb__nav { width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); color: #fff; display: grid; place-items: center; transition: background .2s; }
.lb__nav:hover { background: rgba(255, 255, 255, .12); }
.lb__nav svg { width: 22px; height: 22px; }
.lb.is-single .lb__nav { visibility: hidden; }

/* About */
.stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); margin-top: 40px; }
.stats div { display: flex; flex-direction: column; }
.stats b { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--gold-light); font-variant-numeric: lining-nums; }
.stats span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-top: 6px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 5vw, 80px); align-items: start; }
.about-side { position: sticky; top: calc(var(--header-h) + 24px); }
.about-side img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.gallery__item { border-radius: var(--radius-sm); overflow: hidden; }
.gallery__item:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
#licenses .link-arrow { margin-top: 8px; }

/* Prices */
.prices { display: grid; gap: 48px; max-width: 980px; }
.ptable { border-top: 1px solid var(--line); }
.ptable__row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.ptable__row a:hover { color: var(--gold-dark); }
.ptable__row b { white-space: nowrap; font-weight: 600; color: var(--gold-dark); }
.ptable--main .ptable__row { font-size: 17px; padding: 18px 0; }
.ptable--main .ptable__row b { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.pdir { border-bottom: 1px solid var(--line); }
.pdir summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 0; font-family: var(--serif); font-size: 26px; }
.pdir summary::-webkit-details-marker { display: none; }
.pdir summary svg { width: 24px; height: 24px; color: var(--gold); }
.pdir summary i { margin-left: auto; }
.pdir .ptable { margin-bottom: 20px; }
.pdir .ptable__row b { color: var(--muted); font-weight: 500; }

/* Services catalog */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; position: sticky; top: var(--header-h); z-index: 5; background: var(--paper); padding: 14px 0; }
.cat-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 100px; font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s; }
.cat-tabs a:hover { border-color: var(--gold); background: var(--cream); }
.cat-tabs svg { width: 18px; height: 18px; color: var(--gold); }
.cat-dir { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 5vw, 72px); padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 80px); }
.cat-dir__head { display: flex; flex-direction: column; gap: 18px; }
.cat-dir__num { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.cat-dir__head h2 { font-size: clamp(32px, 3.2vw, 44px); margin: 8px 0 12px; }
.cat-dir__head h2 a:hover { color: var(--gold-dark); }
.cat-dir__head p { color: var(--muted); font-size: 15px; }
.cat-dir__groups { columns: 2; column-gap: 40px; }
.cat-group { break-inside: avoid; margin-bottom: 26px; }
.cat-group__head { display: block; font-family: var(--serif); font-size: 24px; color: var(--green); margin-bottom: 8px; transition: color .2s; }
.cat-group__head:hover { color: var(--gold-dark); }
.cat-group li a { display: block; padding: 5px 0; font-size: 15px; color: var(--muted); border-bottom: 1px dashed var(--line); transition: color .2s, padding .2s; }
.cat-group li a:hover { color: var(--gold-dark); padding-left: 6px; }
.cat-consult { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--cream); border-radius: var(--radius); padding: 32px 36px; margin-top: 24px; }
.cat-consult div { flex: 1; min-width: 260px; }
.cat-consult h3 { font-size: 30px; margin-bottom: 6px; }
.cat-consult p { color: var(--muted); }

/* Home extras */
.dir__link { position: relative; z-index: 1; }
.dir__list a { transition: color .2s; }
.dir__list a:hover { color: var(--gold-light); }
.dir:nth-child(7) .dir__list a:hover { color: var(--gold-dark); }
.tech__item { display: flex; flex-direction: column; }
.tech__img { height: 180px; margin: -6px -6px 18px; display: grid; place-items: center; border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.tech__img img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.tech__item:hover .tech__img img { transform: scale(1.05); }
.tech__more { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 600; color: var(--gold-dark); }
.teaser__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.teaser__photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.teaser__ph { border-radius: var(--radius); overflow: hidden; }
.teaser__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.teaser__ph:hover img { transform: scale(1.05); }
.teaser__ph--0 { grid-row: span 2; }
.acc__all { color: var(--gold-dark) !important; font-weight: 600; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1500px) { .header__phone { display: block; } }

@media (max-width: 1280px) {
  .nav__link { padding: 0 8px; font-size: 13px; }
  .nav__link::after { left: 8px; right: 8px; }
  .header__inner { gap: 16px; }
  .logo__img { height: 34px; }
}

@media (max-width: 1140px) {
  .svc__grid, .about-grid { grid-template-columns: 1fr; }
  .svc-side, .about-side { position: static; }
  .svc-side { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .doc-hero { grid-template-columns: 300px 1fr; }
  .cat-dir { grid-template-columns: 1fr; gap: 24px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  :root { --header-h: 68px; }
  .nav { display: none; }
  .burger { display: flex; }
  .header__inner { justify-content: space-between; }
  .logo { margin-right: auto; }
  .header__tools .btn { display: none; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__item { padding: 32px 24px; border-bottom: 1px solid var(--line-light); }
  .why__item:nth-child(odd) { padding-left: 0; }
  .why__item:nth-child(2n) { border-right: 0; }
  .dir,   .doctors { grid-template-columns: repeat(2, 1fr); }
  .booking__grid { grid-template-columns: 1fr; }
  .booking__form { max-width: 560px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .offer { grid-template-columns: 1fr; gap: 24px; padding: 18px; }
  .offer__img { max-width: 360px; justify-self: center; width: 100%; }
  .promo--offers { padding: 64px 0; }
  .page-hero__grid, .doc-hero, .doc-cols, .teaser__grid { grid-template-columns: 1fr; }
  .page-hero__media { aspect-ratio: 16 / 10; }
  .doc-hero__photo { max-width: 360px; }
  .ic-wrap--pair { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .cat-dir__groups { columns: 1; }
  .lb { grid-template-columns: 1fr; }
  .lb__fig { grid-column: 1; grid-row: 1; padding-left: 12px; padding-right: 12px; }
  .lb__nav { position: absolute; bottom: 20px; }
  .lb__nav--prev { left: calc(50% - 70px); } .lb__nav--next { right: calc(50% - 70px); }
  .lb__fig { padding-bottom: 90px; }
  .container { padding: 0 20px; }
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .problems { grid-template-columns: 1fr; gap: 28px; }
  .problems__tabs { flex-direction: row; overflow-x: auto; border: 0; gap: 8px; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .problems__tabs::-webkit-scrollbar { display: none; }
  .ptab { font-family: var(--sans); font-size: 14px; white-space: nowrap; padding: 10px 18px; border: 1px solid var(--line-light); border-radius: 100px; }
  .ptab::after { display: none; }
  .ptab.is-active { background: #fff; color: var(--green); padding-left: 18px; }
  .chip { padding: 11px 16px; font-size: 14px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .antera { grid-template-columns: 1fr; }
  .antera__visual { min-height: 220px; }
  .tech { grid-template-columns: 1fr 1fr; }
  .results { grid-template-columns: 1fr; max-width: 480px; }
  .reviews { grid-template-columns: 1fr; }
  .promo__inner { grid-template-columns: 1fr; gap: 24px; }
  .promo__mark { width: 56px; }
  .dir:nth-child(7) { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 640px) {
  .prose { font-size: 16px; }
  .svc-steps li { grid-template-columns: 44px 1fr; gap: 12px; }
  .svc-steps__n { font-size: 30px; }
  .ic { padding: 22px 20px; }
  .price-box { padding: 24px 22px; }
  .certs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .certs:not(.certs--lic) { grid-template-columns: repeat(2, 1fr); }
  .cat-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 32px; padding: 12px 20px; scrollbar-width: none; }
  .cat-tabs a { white-space: nowrap; }
  .teaser__photos { grid-template-rows: 150px 150px; }
  .faq__a { padding-right: 0; }
  .page-hero__actions .btn { flex: 1; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .header__tools .lang, .header__tools .header__phone { display: none; }
  .logo__img { height: 30px; }
  .hero__content { padding-bottom: 150px; }
  .hero__lead { font-size: 15px; }
  .hero .btn--lg { width: 100%; }
  .hero__pause { right: 20px; bottom: 100px; width: 44px; height: 44px; }
  .hero__scroll { display: none; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item, .why__item:nth-child(odd) { padding: 26px 0; border-right: 0; }
  .dirs { gap: 14px; }
  .dir { grid-column: span 12; min-height: 0; padding: 28px 24px; }
  .dir h3 { margin-top: 28px; }
  .dir__list { max-height: none; opacity: 1; margin-top: 14px; }
  .dir__num { font-size: 48px; top: 22px; right: 24px; }
  .steps { grid-template-columns: 1fr; }
  .tech { grid-template-columns: 1fr; }
  .doctors { grid-template-columns: 1fr 1fr; gap: 14px; }
  .doc h3 { font-size: 19px; }
  .doc__exp { left: 10px; bottom: 10px; font-size: 11px; padding: 4px 10px; }
  .contacts { grid-template-columns: 1fr; }
  .booking__form { padding: 28px 22px; }
  .modal__box { padding: 40px 22px 26px; }
  .footer__top { grid-template-columns: 1fr; }

  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--paper); border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 6px;
    box-shadow: 0 -10px 30px -10px rgba(20, 30, 24, .2);
  }
  .mbar__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; padding: 6px 4px; border-radius: 12px; color: var(--green); }
  .mbar__btn svg { width: 22px; height: 22px; }
  .mbar__btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
.cat-dir__head { align-self: start; position: sticky; top: calc(var(--header-h) + 90px); }
.cat-dir__head .dir__icon { margin-bottom: 0; }
@media (max-width: 1140px) { .cat-dir__head { position: static; } }

/* ---------------- Статья блога (страницы из кабинета) ---------------- */
.page-hero--article h1 { max-width: 900px; }
.art-meta { color: rgba(255, 255, 255, .65); font-size: 14px; margin: 18px 0 0; }
.art { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.art__cover { margin: 0 0 32px; }
.art__cover img { width: 100%; border-radius: var(--radius); display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.art__cover figcaption { font-size: 12px; color: #8a8f8b; margin-top: 8px; }
.article { max-width: 760px; line-height: 1.75; }
.article > * { max-width: 760px; }
.article h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; color: var(--green); margin: 44px 0 16px; scroll-margin-top: calc(var(--header-h) + 20px); }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 19px; font-weight: 700; margin: 30px 0 10px; color: #1f2a23; }
.article p { margin: 0 0 18px; }
.article ul, .article ol { margin: 0 0 20px; padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--gold); }
.article a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.article blockquote { margin: 26px 0; padding: 18px 24px; border-left: 3px solid var(--gold); background: rgba(184, 137, 63, .07); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.article blockquote p:last-child { margin: 0; }
.article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; display: block; overflow-x: auto; }
.article th, .article td { border-bottom: 1px solid rgba(29, 42, 34, .12); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: rgba(29, 42, 34, .04); font-weight: 600; }
.article img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.article figure { margin: 26px 0; }
.article figcaption { font-size: 13px; color: #8a8f8b; margin-top: 6px; }
.article hr { border: 0; border-top: 1px solid rgba(29, 42, 34, .12); margin: 36px 0; }
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.art-tags span { font-size: 13px; padding: 5px 12px; border-radius: 99px; background: rgba(29, 42, 34, .06); color: #4c564f; }
.art-cta { margin: 36px 0 44px; }
.art-cta p { margin: 0; font-size: 18px; }
.art-cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
a.svc-card { color: inherit; transition: transform .2s, box-shadow .2s; }
a.svc-card:hover { transform: translateY(-2px); }
.art__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.art-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.art-toc li { counter-increment: toc; margin: 0; border-bottom: 1px solid rgba(29, 42, 34, .08); }
.art-toc a { display: flex; gap: 10px; padding: 10px 0; font-size: 14px; color: #3c463f; line-height: 1.4; }
.art-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--gold); font-weight: 600; font-size: 12px; padding-top: 2px; }
.art-toc a:hover { color: var(--gold-dark); }
.preview-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 200; display: flex; gap: 18px; align-items: center; background: #1d1a17; color: #f3ece2; padding: 12px 20px; border-radius: 99px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-size: 14px; max-width: calc(100vw - 32px); }
.preview-bar a { color: #e0c08f; white-space: nowrap; }
@media (max-width: 960px) {
  .art { grid-template-columns: 1fr; }
  .art__side { position: static; }
  .preview-bar { border-radius: 14px; bottom: 76px; flex-wrap: wrap; gap: 6px 14px; }
}

/* ===== До/после (карточки-склейки), «Что вас беспокоит», аппараты — 17.11 ===== */
.rtabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.rtab { padding: 9px 18px; border: 1px solid var(--line); border-radius: 100px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .3s, color .3s, border-color .3s; }
.rtab:hover { border-color: var(--gold-light); color: var(--ink); }
.rtab.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.bagrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bagrid--sm { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 8px; }
.bagrid__more { text-align: center; margin-top: 32px; }
.bacard { display: block; color: inherit; }
.bacard__img { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.bacard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bacard:hover .bacard__img img { transform: scale(1.04); }
.bacard__zoom { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(252, 250, 246, .92); color: var(--gold-dark); display: grid; place-items: center; font-style: normal; font-size: 20px; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; }
.bacard:hover .bacard__zoom, .bacard:focus-visible .bacard__zoom { opacity: 1; transform: none; }
.bacard__t { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 600; }
.svc-res { margin-top: 40px; }
.svc-res__note { font-size: 13px; color: var(--muted); margin-top: 8px; }

.chipw { display: inline-flex; align-items: stretch; animation: chipIn .5s var(--ease) both; }
.chipw .chip { animation: none; }
.chipw .chip:has(+ .chip__more) { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; }
.chip__more { display: grid; place-items: center; padding: 0 16px; border: 1px solid var(--line-light); border-radius: 0 100px 100px 0; color: var(--gold-light); transition: background .3s, color .3s; }
.chip__more:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.chipw--all { align-items: center; padding-left: 8px; }
.link-arrow--light { color: var(--gold-light); }

.dtable-wrap { overflow-x: auto; margin: 0 0 26px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.dtable { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.dtable th { background: var(--cream); text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); padding: 12px 16px; font-weight: 700; }
.dtable td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.dtable__first { font-weight: 600; color: var(--green); }
.ptable--doc { margin: 0 0 26px; }
.prose .faq__a p { margin: 0 0 8px; }
.lead-p { font-size: 19px; color: var(--green); }
.lang-note { font-size: 14px; color: var(--muted); background: var(--cream); padding: 12px 16px; border-radius: var(--radius-sm); }
.pgroup { scroll-margin-top: calc(var(--header-h) + 20px); margin-bottom: 30px; }
.pgroup:first-child .svc-h { margin-top: 0; }
.page-hero__media--contain { background: #fff; }
.page-hero__media--contain img { object-fit: contain; padding: 24px; }
.tech-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; font-size: 15px; }
.tech-facts small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 2px; }
.tech--page { margin-bottom: 30px; }
.tech--page .tech__item { color: inherit; }
@media (max-width: 1100px) { .bagrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .bagrid, .bagrid--sm { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bacard__zoom { opacity: 1; transform: none; width: 28px; height: 28px; font-size: 16px; }
}
@media (max-width: 1140px) { .svc__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .dtable { min-width: 0; font-size: 14px; } .dtable th, .dtable td { padding: 10px 10px; } .dtable th { letter-spacing: .04em; } }
/* отзывы: рейтинг 2ГИС */
.reviews--rating { grid-template-columns: 1fr; }
.reviews--with-rating .rating { grid-row: span 2; }
.rating { background: var(--green); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; gap: 14px; align-content: start; }
.rating .eyebrow { color: var(--gold-light); }
.rating__num { display: flex; align-items: baseline; gap: 18px; }
.rating__num b { font-family: var(--serif); font-size: clamp(64px, 8vw, 96px); font-weight: 500; line-height: .9; color: var(--gold-light); }
.rating__num .review__stars { font-size: 20px; color: var(--gold-light); }
.rating__meta { color: rgba(255, 255, 255, .72); }
.rating__label { margin-top: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.rating__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rating__tags li { padding: 8px 16px; border: 1px solid var(--line-light); border-radius: 100px; font-size: 14px; }
.rating__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 14px; }
.rating__actions .link-arrow { color: var(--gold-light); }
