/* Стили сайта клиники (лендинг, страницы процедур и врачей) */
/* Локальные вариативные WOFF2-шрифты (работают без Google Fonts и без вспышки жирного при Ctrl+Shift+R) */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url("fonts/cormorant-garamond-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url("fonts/cormorant-garamond-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url("fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url("fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 700;
  font-display: block;
  src: url("fonts/cormorant-garamond-italic-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 700;
  font-display: block;
  src: url("fonts/cormorant-garamond-italic-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 700;
  font-display: block;
  src: url("fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 700;
  font-display: block;
  src: url("fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url("fonts/manrope-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Метрически подогнанные тонкие фолбэки без жирного начертания на случай экстремально медленной сети */
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Noto Serif Light"), local("Noto Serif Regular"), local("Noto Serif"), local("Georgia"), local("Times New Roman"), local("Liberation Serif");
  font-weight: 100 900;
  font-style: normal;
  size-adjust: 80%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Noto Serif Italic"), local("Georgia Italic"), local("Times New Roman Italic"), local("Noto Serif"), local("Georgia");
  font-weight: 100 900;
  font-style: italic;
  size-adjust: 80%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}

:root {
  --bg: #f7f4fa;
  --bg-soft: #f1ebf7;
  --surface: #ffffff;
  --blush: #f3edf9;
  --badge: rgba(255, 255, 255, .86);
  --line: #e7dff0;
  --line-strong: rgba(110, 42, 142, .16);
  --ink: #251e2c;
  --muted: #695e74;
  --plum: #6b2184;
  --plum-deep: #4e1663;
  --plum-soft: #8d44b5;
  --lime: #88cc2b;
  --lime-bright: #a4e244;
  --lime-soft: #e4f7be;
  --dark: #3b194d;
  --call: #3ca35c;
  --wa: #2eb85c;
  --tg: #6d46be;
  --serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 24px;
  --shadow-sm: 0 12px 30px -20px rgba(68, 26, 96, .22);
  --shadow-md: 0 24px 56px -30px rgba(68, 26, 96, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);
  --scrollbar-w: 0px;
}

* { box-sizing: border-box; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
html { scroll-padding-top: 116px; overflow-x: clip; }
html.smooth { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 16px/1.62 var(--sans);
  color: var(--ink);
  overflow-x: clip;
  background:
    radial-gradient(65% 40% at 15% 0%, rgba(164, 226, 68, .08), transparent 70%),
    radial-gradient(60% 45% at 88% 8%, rgba(141, 68, 181, .09), transparent 72%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--plum-deep);
  color: #fff;
  font: 700 14px/1.2 var(--sans);
  text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(48, 16, 72, .55);
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); outline: 2px solid var(--lime-bright); outline-offset: 2px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3, .brand b, .nav a, .hero-cta-title, .offer-price b, .proc-price, #programs .acc-name { font-synthesis: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; font-variant-numeric: lining-nums; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(34px, 3.8vw, 50px); color: var(--ink); }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  margin-top: .62em;
  flex: none;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lime), var(--plum));
}
.eyebrow-light { color: rgba(255, 255, 255, .9); }
.eyebrow-light::before { background: linear-gradient(90deg, var(--lime-bright), #e3c2fa); }

section, .contacts-section { padding: 42px 0; }
.sec-tight-top { padding-top: 0; }
.sec-head { margin-bottom: 28px; }
.sec-head .sec-title { margin-bottom: 0; }
.sec-title { margin-bottom: 26px; }
.sec-sub { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.sec-line {
  height: 2px;
  width: 100%;
  max-width: 240px;
  margin: 12px 0 20px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lime) 0%, var(--plum-soft) 68%, transparent 100%);
}
.panel {
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

/* кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 700 14.5px/1.2 var(--sans);
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s var(--ease), filter .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.dark {
  background: radial-gradient(85% 140% at 50% 35%, #752899 0%, #581974 72%, #4c1464 100%);
  border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 10px 24px -12px rgba(90, 26, 124, .52);
}
.btn.glass {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .55);
  backdrop-filter: blur(10px);
}
.btn.light {
  background: radial-gradient(72% 130% at 50% 45%, #76289c 0%, #6d9f24 100%);
  border-color: rgba(255, 255, 255, .82);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(138, 204, 48, .45);
}
.btn.call { background: linear-gradient(135deg, #2f9451, #1f743c); }
.btn.wa { background: linear-gradient(135deg, #2d9a4a, #1d7a38); }
.btn.tg { background: linear-gradient(135deg, #7d4bc8, #5730a8); }
.btn.sm { min-height: 40px; padding: 9px 20px; font-size: 13.5px; }
.btn.xs { min-height: 36px; padding: 7px 16px; font-size: 13px; }
@media (hover: hover) {
  .btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1.5px);
    box-shadow: 0 14px 26px -14px rgba(84, 26, 118, .55);
  }
  .btn.dark:hover {
    background: radial-gradient(85% 140% at 50% 35%, #8230a8 0%, #631d82 70%, #7cb827 140%);
    filter: none;
  }
  .btn.glass:hover { background: rgba(255, 255, 255, .24); filter: none; }
}

/* заглушки без фото — жемчужно-ботаническая графика */
.art {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(65% 80% at 82% 20%, rgba(164, 226, 68, .34) 0%, transparent 62%),
    radial-gradient(75% 75% at 18% 85%, rgba(165, 96, 218, .42) 0%, transparent 65%),
    linear-gradient(135deg, #5c1f78 0%, #37154a 60%, #2a1138 100%);
}
.art.soft {
  color: var(--ink);
  background:
    radial-gradient(70% 65% at 78% 24%, rgba(255, 255, 255, .95) 0%, transparent 62%),
    radial-gradient(60% 60% at 15% 82%, rgba(215, 243, 165, .55) 0%, transparent 64%),
    linear-gradient(155deg, #f5effa 0%, #e9ddf4 100%);
}
.photo {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 18px 40px -26px rgba(72, 26, 104, .32);
}
.photo.art.soft::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 92px;
  height: 66px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48' fill='none'%3E%3Cpath d='M34 43C34 29 24.4 17 10 17C11.2 31 20.8 41.8 34 43Z' stroke='%2385cb28' stroke-width='2.2' stroke-opacity='.55' stroke-linejoin='round'/%3E%3Cpath d='M34 43C34 29 43.6 17 58 17C56.8 31 47.2 41.8 34 43Z' stroke='%2385cb28' stroke-width='2.2' stroke-opacity='.55' stroke-linejoin='round'/%3E%3Cpath d='M34 41.8C27.4 29.8 27.4 15.4 34 4.2C40.6 15.4 40.6 29.8 34 41.8Z' stroke='%23792ba1' stroke-width='2.2' stroke-opacity='.55' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* шапка */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 245, 252, .86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(115, 52, 150, .08);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.top.scrolled {
  background: rgba(250, 248, 253, .94);
  box-shadow: 0 14px 34px -24px rgba(68, 24, 98, .28);
}
.top > .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
  gap: 16px;
}
.mob-menu-btn, .mob-drawer, .mob-backdrop { display: none; }
.top-addr {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  text-decoration: none;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.28;
  transition: color .25s var(--ease);
}
.top-addr-pin {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  background: radial-gradient(circle at 30% 25%, #ffffff 0%, #f1e8fa 65%, #e5f6c4 100%);
  border: 1px solid rgba(122, 62, 160, .22);
  box-shadow: 0 6px 14px -10px rgba(78, 28, 112, .35);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.top-addr-pin svg { width: 17px; height: 17px; display: block; flex: none; }
.top-addr-text { min-width: 0; }
@media (hover: hover) {
  .top-addr:hover { color: var(--plum); }
  .top-addr:hover .top-addr-pin {
    transform: translateY(-1.5px);
    border-color: rgba(136, 204, 43, .65);
    box-shadow: 0 10px 18px -10px rgba(78, 28, 112, .45);
  }
}
.brand {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  text-decoration: none;
  line-height: 1;
  min-width: 0;
  max-width: 100%;
}
.brand-mark {
  width: 34px;
  height: 25px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { text-align: left; min-width: 0; }
.brand b {
  display: block;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand small {
  display: block;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--plum);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }
.msg {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, #fff, #efe6f8);
  border: 1px solid rgba(122, 62, 160, .24);
  color: var(--plum);
  box-shadow: 0 6px 14px -10px rgba(78, 28, 112, .35);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
@media (hover: hover) {
  .msg:hover {
    transform: translateY(-1.5px);
    border-color: rgba(136, 204, 43, .65);
    box-shadow: 0 10px 18px -10px rgba(78, 28, 112, .45);
  }
}
.msg svg { width: 17px; height: 17px; display: block; }

.nav {
  border-top: 1px solid rgba(115, 52, 150, .09);
  background: rgba(247, 244, 250, .72);
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 30px;
  padding: 10px 0 12px;
}
.nav a {
  position: relative;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  padding: 2px 0;
  transition: color .35s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lime), var(--plum));
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: center;
  transition: transform .42s cubic-bezier(.25, .8, .25, 1), opacity .35s ease;
}
.nav a[aria-current="location"] { color: var(--plum); }
.nav a[aria-current="location"]::after { opacity: 1; transform: scaleX(1); }
@media (hover: hover) {
  .nav a:hover { color: var(--plum); }
  .nav a:hover::after { opacity: .65; transform: scaleX(1); }
  .nav a[aria-current="location"]:hover::after { opacity: 1; }
}

/* ==================== ПЕРВЫЙ ЭКРАН (В СТИЛЕ РЕФЕРЕНСА) ==================== */
.hero { padding: 14px 0 28px; }
.hero-stage {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
  background: #faf7fc;
  border: 1.5px solid rgba(255, 255, 255, .94);
  box-shadow:
    0 30px 70px -36px rgba(68, 24, 102, .34),
    0 4px 20px -8px rgba(68, 24, 102, .1);
}

/* Правая фотография с мягчайшим студийным растворением в жемчужный фон слева */
.hero-bg {
  position: absolute;
  inset: 0 0 0 18%;
  z-index: 0;
  overflow: hidden;
}
.hero-bg > img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 96% 32%;
  display: block;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(44% 38% at 42% 6%, rgba(182, 128, 232, .24) 0%, transparent 72%),
    radial-gradient(42% 30% at 32% 96%, rgba(250, 247, 252, .92) 0%, transparent 72%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #faf7fc 0%,
    #faf7fc 18%,
    rgba(250, 247, 252, .94) 30%,
    rgba(250, 247, 252, .52) 42%,
    rgba(250, 247, 252, .1) 52%,
    rgba(250, 247, 252, 0) 60%
  );
}

/* Ботанические шёлковые ленты и лепестки */
.hero-decor { position: absolute; pointer-events: none; z-index: 1; }
.hero-decor-top { top: 0; left: 43.5%; width: 410px; height: auto; }
.hero-decor-bot { bottom: -4px; left: 33.5%; width: 430px; height: auto; }

.hero-mobile-photo { display: none; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 426px) 294px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 38px 36px 38px 44px;
  min-height: 672px;
}

.hero-left { display: flex; flex-direction: column; min-width: 0; }
.hero-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  margin: 0;
  line-height: .96;
}
.hero-title-main {
  display: block;
  font-size: clamp(48px, 5.1vw, 68px);
  color: var(--plum);
  letter-spacing: -.015em;
}
.hero-title-sub {
  display: block;
  font-size: clamp(27px, 2.85vw, 39px);
  font-weight: 600;
  color: #241d2b;
  margin-top: 4px;
  letter-spacing: -.01em;
}
.hero-divider {
  height: 2px;
  width: 100%;
  max-width: 390px;
  margin: 14px 0 15px;
  border-radius: 99px;
  background: linear-gradient(90deg, #8ccf2d 0%, #9b59c9 64%, rgba(155, 89, 201, 0) 100%);
}
.hero-lead {
  margin: 0 0 15px;
  font-size: 13.5px;
  line-height: 1.48;
  color: #322a39;
  max-width: 416px;
}
.hero-subhead {
  margin: 0 0 13px;
  font-size: 14px;
  font-weight: 700;
  color: var(--plum);
  letter-spacing: -.005em;
}

.hero-points {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.hero-points li { display: flex; align-items: center; gap: 13px; min-width: 0; }
.hero-points .hero-ico {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #772e9b;
  border: 1.5px solid transparent;
  background:
    radial-gradient(circle at 30% 25%, #ffffff 0%, #f6f0fb 74%, #ede2f7 100%) padding-box,
    linear-gradient(135deg, rgba(154, 214, 62, .85) 0%, rgba(160, 92, 212, .75) 55%, rgba(255, 255, 255, .95) 100%) border-box;
  box-shadow:
    0 8px 18px -10px rgba(98, 36, 138, .36),
    inset 0 2px 4px rgba(255, 255, 255, .95);
}
.hero-points .hero-ico svg { width: 25px; height: 25px; display: block; flex: none; }
.hero-points div { font-size: 12.5px; line-height: 1.36; color: #433a4b; min-width: 0; }
.hero-points div b { display: inline; font-weight: 700; font-size: 13px; color: #221b29; }
.hero-points div span { display: block; margin-top: 1px; }

/* Нижняя жемчужно-лаймовая капсула философии клиники */
.hero-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 9px;
  border-radius: 999px;
  width: 100%;
  background:
    linear-gradient(90deg, rgba(217, 244, 166, .88) 0%, rgba(244, 252, 226, .92) 34%, rgba(255, 255, 255, .95) 75%, rgba(248, 244, 252, .94) 100%);
  border: 2px solid rgba(255, 255, 255, .96);
  outline: 1px solid rgba(146, 206, 54, .36);
  font-size: 12.5px;
  line-height: 1.32;
  color: #261f2d;
  box-shadow:
    0 14px 28px -18px rgba(72, 36, 104, .34),
    inset 0 1px 0 #fff;
}
.hero-pill-ico {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #e4f8ba 72%, #c9ee82 100%);
  border: 1.5px solid rgba(255, 255, 255, .95);
  box-shadow: 0 4px 12px -4px rgba(122, 188, 32, .5);
}
.hero-pill-ico svg { width: 23px; height: 19px; display: block; }
.hero-pill b { display: block; font-weight: 700; color: #1f1926; }

/* Центральная матовая стеклянная карточка записи */
.hero-cta-wrap {
  position: relative;
  align-self: center;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-cta-lotus {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 52px;
  margin-bottom: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .58) 48%, rgba(255, 255, 255, 0) 74%);
}
.hero-cta-lotus svg {
  width: 64px;
  height: 45px;
  display: block;
  filter: drop-shadow(0 5px 10px rgba(107, 33, 132, .18));
}

.hero-cta {
  position: relative;
  width: 100%;
  padding: 34px 22px 24px;
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(75% 42% at 50% 60%, rgba(196, 146, 232, .22) 0%, transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, .76) 0%, rgba(251, 247, 254, .68) 54%, rgba(255, 255, 255, .82) 100%);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  border: 2px solid rgba(255, 255, 255, .94);
  box-shadow:
    0 28px 54px -24px rgba(68, 24, 104, .36),
    0 2px 10px -2px rgba(68, 24, 104, .08),
    inset 0 1px 0 rgba(255, 255, 255, .98),
    inset 0 -10px 24px rgba(255, 255, 255, .45);
}
.hero-cta-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.02;
  letter-spacing: -.015em;
  color: #231c2b;
}
.hero-cta-title span {
  display: block;
  color: #5b1d75;
}
.hero-cta-sub {
  margin: 10px auto 18px;
  max-width: 224px;
  font-size: 13.5px;
  line-height: 1.36;
  color: #3b3244;
}

/* Сияющая кнопка с пурпурным ядром и лаймовым ореолом (точь-в-точь как на макете) */
.hero-btn-glow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  font: 700 14.5px/1.2 var(--sans);
  letter-spacing: .01em;
  background:
    radial-gradient(66% 108% at 50% 44%, #6a248f 0%, #7a359f 48%, #8bc639 86%, #a9e54b 100%);
  border: 2px solid rgba(255, 255, 255, .84);
  box-shadow:
    0 12px 26px -8px rgba(96, 32, 134, .52),
    0 0 22px 1px rgba(158, 222, 62, .68),
    inset 0 1px 2px rgba(255, 255, 255, .65);
  transition: transform .28s var(--ease), filter .28s var(--ease), box-shadow .28s var(--ease);
}
@media (hover: hover) {
  .hero-btn-glow:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow:
      0 16px 32px -8px rgba(96, 32, 134, .6),
      0 0 28px 3px rgba(158, 222, 62, .85),
      inset 0 1px 3px rgba(255, 255, 255, .8);
  }
}
.hero-btn-glow:active { transform: translateY(0) scale(.98); transition-duration: .1s; }
.hero-btn-glow svg { width: 19px; height: 19px; flex: none; display: block; }
.hero-btn-glow .chev { width: 15px; height: 15px; opacity: .92; margin-left: 1px; }

.hero-cta-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 13px;
  font-size: 12px;
  font-weight: 500;
  color: #5e5468;
}
.hero-cta-or::before, .hero-cta-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 33, 132, .26), transparent);
}

/* Жемчужные 3D-сферы мессенджеров */
.hero-messengers { display: flex; justify-content: center; gap: 14px; }
.hm {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.hm svg { width: 22px; height: 22px; display: block; }
@media (hover: hover) {
  .hm:hover { transform: translateY(-2.5px) scale(1.04); }
}
.hm:active { transform: scale(.94); transition-duration: .1s; }
.hm-wa {
  color: #66b81e;
  background: radial-gradient(circle at 32% 24%, #ffffff 0%, #eef9d3 52%, #d4f199 100%);
  border: 1.5px solid rgba(255, 255, 255, .95);
  box-shadow: 0 10px 20px -10px rgba(112, 184, 30, .55), inset 0 2px 4px #fff;
}
.hm-tg {
  color: #7c4bc8;
  background: radial-gradient(circle at 32% 24%, #ffffff 0%, #ede4fb 54%, #dac8f7 100%);
  border: 1.5px solid rgba(255, 255, 255, .95);
  box-shadow: 0 10px 20px -10px rgba(124, 75, 200, .5), inset 0 2px 4px #fff;
}
.hm-call {
  color: #6b29b8;
  background: radial-gradient(circle at 32% 24%, #ffffff 0%, #e9defc 52%, #ceb8f8 100%);
  border: 1.5px solid rgba(255, 255, 255, .95);
  box-shadow: 0 10px 20px -10px rgba(107, 41, 184, .52), inset 0 2px 4px #fff;
}

.rating {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  border: 1.5px solid rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px -16px rgba(68, 24, 102, .38);
  text-decoration: none;
  font-size: 13.5px;
  color: var(--ink);
}
.rating .star { color: #f5b316; font-size: 24px; line-height: 1; }
.rating b { font-size: 14.5px; color: var(--plum); }

/* ==================== КАРТОЧКИ ПРОЦЕДУР И АКЦИЙ ==================== */
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.offer {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 26px;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  border: 1.5px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
  background:
    radial-gradient(75% 60% at 50% 25%, #ffffff 0%, transparent 70%),
    linear-gradient(165deg, #efe7f7 0%, #f8f5fb 100%);
}
.offer.art {
  color: var(--ink);
  justify-content: flex-start;
  padding-top: 88px;
  background:
    radial-gradient(55% 65% at 86% 18%, rgba(164, 226, 68, .22) 0%, transparent 64%),
    radial-gradient(60% 65% at 14% 22%, rgba(152, 82, 206, .18) 0%, transparent 66%),
    linear-gradient(165deg, #f8f4fc 0%, #efe6f8 52%, #faf8fc 100%);
}
.offer.art > .offer-text { margin-top: auto; }
.offer.art::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48' fill='none'%3E%3Cpath d='M34 43C34 29 24.4 17 10 17C11.2 31 20.8 41.8 34 43Z' stroke='%2385cb28' stroke-width='2.2' stroke-opacity='.55' stroke-linejoin='round'/%3E%3Cpath d='M34 43C34 29 43.6 17 58 17C56.8 31 47.2 41.8 34 43Z' stroke='%2385cb28' stroke-width='2.2' stroke-opacity='.55' stroke-linejoin='round'/%3E%3Cpath d='M34 41.8C27.4 29.8 27.4 15.4 34 4.2C40.6 15.4 40.6 29.8 34 41.8Z' stroke='%23792ba1' stroke-width='2.2' stroke-opacity='.55' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
  z-index: -1;
}
/* Нечётная последняя карточка аккуратно занимает всю ширину, не оставляя пустоты */
.offers > .offer:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  aspect-ratio: auto;
  min-height: 320px;
}
.offer.has-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.offer.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(248, 244, 252, .98) 0%,
    rgba(248, 244, 252, .92) 40%,
    rgba(248, 244, 252, .64) 58%,
    rgba(248, 244, 252, .12) 78%,
    rgba(248, 244, 252, 0) 90%
  );
}
.offer-text { text-align: center; }
.offer h3 { font-size: clamp(36px, 3.8vw, 52px); line-height: 1.02; color: var(--ink); }
.offer.has-photo h3 { text-shadow: 0 1px 16px rgba(255, 255, 255, .9); }
.offer h3.long { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.08; }
.offer-text p { margin: 8px auto 0; max-width: 460px; font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.24; color: #4f445a; }
.offer.has-photo .offer-text p { text-shadow: 0 1px 12px rgba(255, 255, 255, .92); }
.offer-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .76);
  border: 1.5px solid rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px -18px rgba(68, 24, 102, .28);
}
.offer-price { flex: 1; min-width: 0; }
.offer-price small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.offer-price b { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; font-variant-numeric: lining-nums; line-height: 1.08; color: var(--plum); white-space: nowrap; }
.offer-price b.cta { font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--plum); }
.offer-price s { font-size: 14px; color: var(--muted); margin-left: 8px; white-space: nowrap; }
.offer-perk { display: flex; align-items: center; gap: 10px; padding-left: 16px; border-left: 1px solid var(--line); min-width: 0; max-width: 55%; }
.offer-perk svg { width: 24px; height: 24px; flex: none; color: var(--plum); }
.offer-perk b { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; line-height: 1.25; }
.offer-perk small { display: block; font-size: 12px; color: var(--muted); }
.offer-arrow {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  background: radial-gradient(circle at 30% 25%, #fff, #efe6f8);
  border: 1px solid rgba(118, 52, 158, .22);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.offer-arrow svg { width: 18px; height: 18px; display: block; flex: none; }
@media (hover: hover) {
  .offer:hover .offer-arrow {
    transform: translateX(3px);
    color: #fff;
    border-color: transparent;
    background: radial-gradient(circle at 35% 30%, #8332a8, #5c1b78);
  }
}

/* ==================== О ПРОЦЕДУРЕ И ПРЕИМУЩЕСТВА ==================== */
.duo { display: grid; grid-template-columns: 1.12fr 1fr; gap: 38px; padding: 40px; align-items: stretch; }
.duo.reverse { grid-template-columns: 1fr 1.12fr; }
.duo.no-photo { grid-template-columns: minmax(0, 1fr); }
.duo-text { min-width: 0; }
.duo-text h2 { margin-bottom: 0; }
.duo .photo { min-height: 450px; }

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.about-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(90deg, rgba(226, 247, 190, .65), rgba(245, 238, 252, .85));
  border: 1px solid rgba(136, 204, 43, .38);
}
.about-chips span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--plum));
}

.feature-list { display: grid; gap: 16px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-num {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: lining-nums;
  color: var(--plum);
  border: 1.5px solid transparent;
  background:
    linear-gradient(135deg, #fff, #f5eefb) padding-box,
    linear-gradient(135deg, var(--lime), #9d58cb) border-box;
  box-shadow: 0 6px 14px -8px rgba(96, 32, 134, .32);
}
.feature-list h3 { font-family: var(--sans); font-size: 16.5px; font-weight: 700; margin-bottom: 3px; color: var(--ink); }
.feature-list p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ==================== АККОРДЕОНЫ: ПРОГРАММЫ И ВОПРОСЫ ==================== */
.accordion { display: grid; gap: 12px; }
.acc {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(118, 52, 158, .11);
  border-radius: 20px;
  box-shadow: 0 10px 26px -22px rgba(68, 24, 102, .25);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
@media (hover: hover) {
  .acc:hover { border-color: rgba(136, 204, 43, .45); }
}
.acc[open] {
  background: #fff;
  border-color: rgba(118, 52, 158, .24);
  box-shadow: 0 18px 38px -26px rgba(68, 24, 102, .32);
}
.faq .acc {
  background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(245, 239, 251, .92) 100%);
}
.faq .acc[open] { background: #fff; }
.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc-title { font-weight: 700; font-size: 17.5px; color: var(--ink); }
.acc-title small { display: block; margin-top: 4px; font-family: var(--sans); font-weight: 400; font-size: 14px; color: var(--muted); }
.acc-price {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: var(--plum);
  background: linear-gradient(90deg, rgba(224, 246, 184, .7), rgba(241, 230, 251, .85));
}
#programs .acc-name { font-family: var(--serif); font-weight: 600; font-size: 28px; color: var(--ink); }
.plus {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  background: radial-gradient(circle at 30% 25%, #fff, #f2eaf9);
  border: 1px solid rgba(118, 52, 158, .2);
  transition: transform .45s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.plus svg { display: block; flex: none; }
.acc[open]:not(.closing) .plus {
  transform: rotate(45deg);
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #8332a8, #5c1b78);
}
.acc-body { overflow: hidden; }
.acc-inner { padding: 0 26px 26px; }
.faq .acc-body p { margin: 0; max-width: 860px; color: #3d3445; }
.program-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.program-body ol { margin: 0 0 14px; padding-left: 20px; }
.program-body .box {
  padding: 24px 26px;
  border-radius: 20px;
  background: linear-gradient(155deg, #f9f5fc 0%, #f1e9f9 100%);
  border: 1px solid rgba(118, 52, 158, .14);
  align-self: start;
}
.program-body .box h3, .program-body .box h4 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--plum);
}
.program-body .box ul { margin: 0 0 14px; padding-left: 18px; }
.program-body .box li { margin-bottom: 5px; }
.program-body .box .btn { width: 100%; margin-top: 10px; }

/* ==================== БАННЕРЫ И ЦЕНЫ ==================== */
.banner {
  position: relative;
  min-height: 220px;
  border-radius: 26px;
  display: flex;
  align-items: flex-end;
  padding: 34px 40px;
  color: #fff;
  margin-bottom: 18px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
}
.banner h2 { color: #fff; }
.banner-head { display: flex; flex-direction: column; align-items: flex-start; }
.banner.has-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(46, 16, 66, .74) 0%, rgba(46, 16, 66, .34) 55%, rgba(46, 16, 66, .12) 100%),
    linear-gradient(0deg, rgba(36, 12, 52, .65) 0%, rgba(36, 12, 52, .05) 70%);
  z-index: -1;
}

.prices { padding: 8px 32px; }
.price-group { border-bottom: 1px solid var(--line); }
.price-group:last-child { border-bottom: 0; }
.price-group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-weight: 700;
  font-size: 15.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--plum-deep);
}
.price-group summary::-webkit-details-marker { display: none; }
.minus { width: 16px; height: 16px; flex: none; position: relative; color: var(--plum); }
.minus::before, .minus::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1.8px; background: currentColor; transition: transform .45s var(--ease); }
.minus::after { transform: rotate(90deg); }
.price-group[open]:not(.closing) .minus::after { transform: rotate(0); }
.pg-inner { padding-bottom: 18px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; text-transform: none; }
.price-table th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding: 8px 0; }
.price-table td { padding: 15px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.price-table td:first-child { font-weight: 600; line-height: 1.35; padding-right: 16px; hyphens: auto; }
.price-table .t { width: 110px; text-align: center; white-space: nowrap; color: var(--muted); font-size: 14px; }
.price-table .p { width: 145px; text-align: right; white-space: nowrap; font-weight: 700; font-size: 17px; color: var(--plum-deep); }
.price-table td.b { width: 1%; padding-left: 20px; white-space: nowrap; }
.price-table th.b { width: 1%; }
.price-table .btn { text-transform: none; }
.price-note { font-size: 13px; color: var(--muted); margin: 12px 4px 0; }
.more-prices { margin: 18px 4px 0; font-size: 15px; }
.more-prices a { font-weight: 700; color: var(--plum); text-underline-offset: 3px; }

/* ==================== ДО / ПОСЛЕ ==================== */
.slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.slider::-webkit-scrollbar { display: none; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.slider-nav[hidden] { display: none; }
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--plum);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}
.slider-btn svg { width: 20px; height: 20px; display: block; }
@media (hover: hover) {
  .slider-btn:hover { background: var(--blush); transform: translateY(-1px); }
}
.slider-btn:disabled { opacity: .35; cursor: default; transform: none; }
.slider-dots { display: flex; gap: 10px; align-items: center; }
.slider-dots button {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #d3c6df;
  cursor: pointer;
  transition: width .35s var(--ease), background .35s var(--ease);
}
.slider-dots button::before {
  content: "";
  position: absolute;
  inset: -14px -8px;
}
.slider-dots button.active { width: 26px; background: linear-gradient(90deg, var(--lime), var(--plum)); }
.slider figure {
  margin: 0;
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.slider img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.slider figcaption { padding: 13px 18px; font-size: 14px; font-weight: 500; }

/* ==================== СПЕЦИАЛИСТЫ ==================== */
.doctors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.doctor {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(160deg, #efe7f7, #e4d7f1);
  border: 1.5px solid rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}
.doctor > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.badge, .doctor .exp, .doc-photo .exp {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(232, 248, 200, .92), rgba(255, 255, 255, .92));
  border: 1px solid rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  color: #2c2136;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px -10px rgba(48, 20, 72, .35);
}
.doctor .card {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  border: 1.5px solid rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px -18px rgba(48, 20, 72, .35);
}
.doctor h3 { font-size: 25px; color: var(--ink); }
.doctor .pos { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; line-height: 1.4; }
.doctor .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--plum);
  text-decoration: none;
}
.doctor .more svg { width: 15px; height: 15px; display: block; transition: transform .25s var(--ease); }
@media (hover: hover) {
  .doctor:hover .more svg { transform: translateX(3px); }
}

/* ==================== КОНТАКТЫ ==================== */
.contacts-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 65% at 12% 10%, rgba(164, 226, 68, .15) 0%, transparent 65%),
    radial-gradient(60% 70% at 88% 90%, rgba(168, 92, 228, .28) 0%, transparent 68%),
    linear-gradient(145deg, #341948 0%, #241233 58%, #1d0f29 100%);
  color: #fff;
  border-radius: 30px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  box-shadow: var(--shadow-md);
}
.contacts-info h2 { color: #fff; margin-bottom: 14px; }
.contacts-info a { text-decoration: none; }
.muted-light { opacity: .8; max-width: 420px; }
.contact-buttons { display: grid; gap: 11px; width: min(100%, 310px); margin: 22px 0 26px; }
.contact-buttons:empty { display: none; }
.legal { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; opacity: .72; }
.legal p { margin: 0 0 4px; }
.map-col { display: flex; flex-direction: column; gap: 14px; min-height: 420px; }
.map-box {
  position: relative;
  flex: 1;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
}
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; padding: 24px; text-align: center; }
.map-fallback b { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.map-fallback span { font-size: 14px; opacity: .65; }
.map { position: relative; width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 700; }
.map-links a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(164, 226, 68, .55); }
.map-links a:hover { text-decoration-color: #fff; }
.disclaimer {
  margin: 24px 4px 32px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

/* кнопка «наверх» */
.to-top {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 30;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #7c2da1, #4f1668);
  border: 1.5px solid rgba(255, 255, 255, .55);
  box-shadow: 0 12px 24px -10px rgba(72, 22, 102, .55);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s;
}
.to-top:active { transform: scale(.94); transition-duration: .1s; }
.to-top svg { width: 22px; height: 22px; display: block; }

/* ==================== СТРАНИЦА ВРАЧА И ПРОЦЕДУРЫ ==================== */
.doc-page, .proc-page { padding-top: 18px; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; font-size: 14.5px; font-weight: 700; color: var(--plum); text-decoration: none; }
.back:hover { color: var(--plum-deep); }
.doc-head { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 22px; align-items: start; }
.doc-photo { position: relative; aspect-ratio: 3 / 4; border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, #efe7f7, #e4d7f1); box-shadow: var(--shadow-sm); }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.doc-intro { padding: 40px; }
.doc-intro h1 { font-size: clamp(38px, 4.2vw, 54px); }
.doc-lead { font-family: var(--serif); font-size: 24px; line-height: 1.3; margin: 18px 0 24px; color: #362c3f; }
.doc-edu { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc-edu h2 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--plum); margin-bottom: 10px; }
.doc-edu ul { margin: 0; padding-left: 18px; }
.doc-edu li { margin-bottom: 6px; }
.doc-bio { margin-top: 22px; padding: 40px; columns: 2 380px; column-gap: 56px; }
.doc-bio .rt-block { break-inside: avoid; margin-bottom: 18px; }
.doc-bio h3 { font-size: 28px; margin: 6px 0 12px; color: var(--plum-deep); }
.doc-bio p, .doc-bio ul { margin: 0 0 10px; }
.doc-bio ul { padding-left: 20px; }
.doc-bio li { margin-bottom: 6px; }

.initials {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 60%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: clamp(64px, 7vw, 96px);
  color: #bda8cf;
  letter-spacing: .02em;
}
.doc-photo .initials { height: 100%; }

.proc-page h1 { font-size: clamp(28px, 4.6vw, 60px); margin-bottom: 14px; hyphens: auto; }
.proc-price { font-family: var(--serif); font-size: 30px; font-weight: 600; font-variant-numeric: lining-nums; color: var(--plum); margin: 0 0 18px; }
.proc-text { margin-bottom: 8px; }
.proc-text h3 { font-size: 25px; margin: 18px 0 8px; }
.proc-text ul { padding-left: 20px; }
.proc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.proc-head .duo-text { display: flex; flex-direction: column; }
.proc-head .proc-actions { margin-top: auto; padding-top: 24px; }
.proc-top { margin: 6px 0 18px; padding: 18px 22px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.proc-top-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--plum);
}
.proc-top-head a { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); text-underline-offset: 3px; white-space: nowrap; }
.proc-top ul { list-style: none; margin: 0; padding: 0; }
.proc-top li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.proc-top li:first-child { border-top: 0; }
.proc-top li b { white-space: nowrap; color: var(--plum-deep); }
.proc-info { margin: 0; font-size: 14px; color: var(--muted); }

/* страница 404 */
.error-page { padding: 60px 0 80px; }
.error-card { max-width: 640px; margin: 0 auto; padding: 48px; text-align: center; }
.error-card h1 { font-size: clamp(38px, 5vw, 54px); margin-bottom: 12px; }
.error-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn.ghost-dark { background: transparent; color: var(--plum-deep); border-color: var(--line-strong); }
@media (hover: hover) {
  .btn.ghost-dark:hover { background: var(--blush); filter: none; box-shadow: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3, .hero-cta-title { overflow-wrap: break-word; }
.acc-title, .price-table td, .contacts-info, .doc-intro, .offer-perk b, .offer-text p { overflow-wrap: anywhere; }

:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .offer:focus-visible, .doctor:focus-visible { outline-offset: 4px; }
.contacts-card :focus-visible { outline-color: var(--lime-bright); }
summary:focus-visible { outline-offset: -2px; border-radius: 20px; }

/* ==================== АДАПТИВ ==================== */
@media (max-width: 1080px) {
  .nav-links { gap: 6px 22px; }
  .nav a { font-size: 18.5px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) 288px minmax(0, .68fr);
    padding: 32px 28px 32px 32px;
    gap: 20px;
    min-height: 620px;
  }
  .hero-bg { inset: 0 0 0 24%; }
}

@media (max-width: 960px) {
  .nav-links { gap: 4px 16px; }
  .nav a { font-size: 17px; }
  .top-addr { font-size: 12px; gap: 8px; }
  .top-addr-pin { width: 30px; height: 30px; }
  .top-addr-pin svg { width: 15px; height: 15px; }
  .duo, .duo.reverse, .contacts-card, .doc-head, .program-body { grid-template-columns: minmax(0, 1fr); }
  .hero-bg, .hero-decor, .hero-spacer { display: none; }
  .hero-mobile-photo {
    display: block;
    position: relative;
    height: 290px;
    overflow: hidden;
    background: #f7f2fb;
  }
  .hero-mobile-photo > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 96% 24%;
    transform: scale(1.12);
    transform-origin: 96% 24%;
  }
  .hero-mobile-photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 76px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(247, 242, 251, 0), #f8f3fc);
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 292px;
    min-height: 0;
    padding: 12px 26px 30px;
    gap: 24px;
    align-items: start;
  }
  .hero-cta-wrap { width: 100%; margin-top: 0; }
  .hero-mobile-photo ~ .hero-grid .hero-cta-wrap { margin-top: -64px; }
  .rating { position: static; margin: 0 26px 24px; justify-content: center; }
  .offer-bar { flex-wrap: wrap; gap: 10px 14px; padding: 14px 16px; }
  .offer-perk { max-width: none; padding-left: 0; padding-top: 10px; border-left: 0; border-top: 1px solid var(--line); width: 100%; }
  .duo .photo { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
  .doctors { grid-template-columns: repeat(2, 1fr); }
  .slider { grid-auto-columns: 46%; }
  .doc-photo { max-width: 420px; }
}

@media (max-width: 740px) {
  html { scroll-padding-top: 56px; }
  html.menu-open {
    overflow: hidden;
    overscroll-behavior: none;
    padding-right: var(--scrollbar-w, 0px);
  }
  html.menu-open body {
    position: fixed;
    inset-inline: 0;
    top: calc(-1 * var(--scroll-y, 0px));
    width: 100%;
    overflow: hidden;
    touch-action: none;
  }
  .top-addr, .nav { display: none; }
  .top > .wrap {
    grid-template-columns: auto minmax(0, 1fr) auto;
    height: 60px;
    padding-top: 0;
    padding-bottom: 0;
    gap: 10px;
  }
  .mob-menu-btn {
    grid-column: 1;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(122, 62, 160, .24);
    background: radial-gradient(circle at 30% 25%, #ffffff 0%, #f1e8fa 72%, #e6f6c8 100%);
    color: var(--plum);
    box-shadow: 0 6px 14px -10px rgba(78, 28, 112, .38);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: none;
    user-select: none;
    transition: transform .2s var(--ease), border-color .2s var(--ease);
  }
  .mob-menu-btn:active { transform: scale(.92); }
  .mob-burger {
    position: relative;
    width: 18px;
    height: 12px;
    display: block;
  }
  .mob-burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.8px;
    border-radius: 99px;
    background: currentColor;
    transform-origin: center;
    transition: transform .3s var(--ease-out), opacity .2s var(--ease), width .25s var(--ease);
  }
  .mob-burger span:nth-child(1) { top: 0; }
  .mob-burger span:nth-child(2) { top: 5px; }
  .mob-burger span:nth-child(3) { top: 10px; width: 72%; }
  .mob-menu-btn[aria-expanded="true"] .mob-burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .mob-menu-btn[aria-expanded="true"] .mob-burger span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
  .mob-menu-btn[aria-expanded="true"] .mob-burger span:nth-child(3) { width: 100%; transform: translateY(-5px) rotate(-45deg); }

  .brand { grid-column: 2; justify-content: flex-start; }
  .top-right { grid-column: 3; }

  /* Боковая шторка: асимметричные кривые, строгий GPU-композитинг, без утечки тени и сдвига макета */
  .mob-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(24, 10, 38, .54);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    touch-action: none;
    transition: opacity .24s var(--ease-in), visibility 0s linear .24s;
  }
  html.menu-open .mob-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .32s var(--ease-out), visibility 0s;
  }

  .mob-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    width: min(84vw, 336px);
    max-width: 100vw;
    padding: 0;
    background:
      radial-gradient(65% 38% at 92% 6%, rgba(164, 226, 68, .18), transparent 68%),
      radial-gradient(70% 42% at 10% 94%, rgba(154, 86, 208, .16), transparent 70%),
      #fbf9fd;
    border-right: 1px solid rgba(118, 52, 158, .14);
    box-shadow: none;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(-100%, 0, 0);
    transition:
      transform .24s var(--ease-in),
      visibility 0s linear .24s,
      box-shadow .24s var(--ease-in);
  }
  html.menu-open .mob-drawer {
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    box-shadow: 20px 0 56px -14px rgba(34, 12, 54, .38);
    transition:
      transform .36s var(--ease-out),
      visibility 0s,
      box-shadow .36s var(--ease-out);
  }
  .mob-drawer.dragging,
  .mob-backdrop.dragging {
    transition: none !important;
  }

  .mob-head {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: max(14px, env(safe-area-inset-top)) 18px 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(251, 249, 253, .92);
  }
  .mob-head .brand { grid-column: auto; gap: 8px; }
  .mob-head .brand-mark { width: 26px; height: 19px; }
  .mob-head .brand b { font-size: 20px; }
  .mob-head .brand small { font-size: 8.5px; letter-spacing: .12em; }
  .mob-close {
    width: 40px;
    height: 40px;
    padding: 0;
    flex: none;
    border-radius: 50%;
    border: 1px solid rgba(122, 62, 160, .2);
    background: radial-gradient(circle at 30% 25%, #fff, #f1e9f9);
    color: var(--plum);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s var(--ease);
  }
  .mob-close:active { transform: scale(.92); }
  .mob-close svg { width: 18px; height: 18px; display: block; }

  .mob-scroll {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding: 8px 18px max(20px, env(safe-area-inset-bottom));
  }

  .mob-nav {
    display: flex;
    flex-direction: column;
    margin: 4px 0 18px;
  }
  .mob-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(118, 52, 158, .09);
    text-decoration: none;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 600;
    line-height: 1.15;
    color: var(--ink);
    opacity: 0;
    transform: translate3d(-12px, 0, 0);
    transition:
      opacity .18s var(--ease-in),
      transform .18s var(--ease-in),
      color .18s var(--ease);
  }
  html.menu-open .mob-nav a {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
      opacity .32s var(--ease-out) var(--i, 0ms),
      transform .36s var(--ease-out) var(--i, 0ms),
      color .18s var(--ease);
  }
  .mob-nav a:nth-child(1) { --i: 40ms; }
  .mob-nav a:nth-child(2) { --i: 65ms; }
  .mob-nav a:nth-child(3) { --i: 90ms; }
  .mob-nav a:nth-child(4) { --i: 115ms; }
  .mob-nav a:nth-child(5) { --i: 140ms; }
  .mob-nav a:nth-child(6) { --i: 165ms; }
  .mob-nav a:nth-child(7) { --i: 190ms; }
  .mob-nav a:nth-child(8) { --i: 215ms; }
  .mob-nav a:last-child { border-bottom: 0; }
  .mob-nav a[aria-current="location"] { color: var(--plum); }
  .mob-nav a svg {
    width: 16px;
    height: 16px;
    flex: none;
    color: var(--plum);
    opacity: .65;
    display: block;
    transition: transform .2s var(--ease);
  }
  .mob-nav a:active { color: var(--plum); transform: translate3d(6px, 0, 0); transition-duration: .1s; transition-delay: 0s; }
  .mob-nav a:active svg { transform: translate3d(3px, 0, 0); }

  .mob-foot {
    margin-top: auto;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    border: 1.5px solid rgba(118, 52, 158, .1);
    box-shadow: 0 14px 30px -20px rgba(68, 24, 102, .24);
    display: grid;
    gap: 12px;
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition: opacity .18s var(--ease-in), transform .18s var(--ease-in);
  }
  html.menu-open .mob-foot {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity .34s var(--ease-out) .14s, transform .38s var(--ease-out) .14s;
  }
  .mob-meta {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
  }
  .mob-meta .top-addr-pin { width: 30px; height: 30px; margin-top: 1px; }
  .mob-meta .top-addr-pin svg { width: 15px; height: 15px; }
  .mob-meta b { display: block; font-size: 13px; font-weight: 700; line-height: 1.32; }
  .mob-meta small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); line-height: 1.35; }
  .mob-cta { min-height: 46px; font-size: 14px; padding: 10px 16px; }
  .mob-msgs { gap: 12px; padding-top: 2px; }
  .mob-msgs .hm { width: 44px; height: 44px; }
  .mob-msgs .hm svg { width: 19px; height: 19px; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); padding: 10px 20px 26px; gap: 24px; }
  .hero-cta-wrap, .hero-mobile-photo ~ .hero-grid .hero-cta-wrap { max-width: 380px; margin: 4px auto 0; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 14px; }
  section, .contacts-section { padding: 24px 0; }
  .sec-tight-top { padding-top: 0; }
  .top > .wrap { height: 58px; gap: 8px; }
  .mob-menu-btn { width: 38px; height: 38px; }
  .brand { gap: 6px; }
  .brand-mark { width: 22px; height: 17px; }
  .brand b { font-size: clamp(16.5px, 4.7vw, 19.5px); }
  .brand small { font-size: clamp(7.2px, 2.05vw, 8.2px); letter-spacing: .08em; margin-top: 1px; }
  .top-right .msg { display: none; }
  .top-right .btn { min-height: 36px; padding: 7px 11px; font-size: 12px; }
  .hero { padding: 8px 0 16px; }
  .hero-stage { border-radius: 22px; }
  .hero-mobile-photo { height: 194px; }
  .hero-mobile-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(55% 80% at 12% 35%, rgba(164, 226, 68, .14), transparent 70%);
  }
  .hero-mobile-photo > img { object-position: 92% 24%; transform: scale(1.24); transform-origin: 92% 24%; }
  .hero-mobile-photo::after { height: 56px; z-index: 1; }
  .hero-grid { padding: 2px 15px 20px; gap: 18px; }
  .hero-title-main { font-size: clamp(34px, 9.4vw, 42px); }
  .hero-title-sub { font-size: clamp(20px, 5.5vw, 25px); margin-top: 2px; }
  .hero-divider { margin: 9px 0 10px; }
  .hero-lead { font-size: 13px; line-height: 1.42; margin-bottom: 11px; }
  .hero-subhead { font-size: 13.5px; margin-bottom: 9px; }
  .hero-points { gap: 10px; margin-bottom: 14px; }
  .hero-points .hero-ico { width: 38px; height: 38px; }
  .hero-points .hero-ico svg { width: 19px; height: 19px; }
  .hero-pill { border-radius: 18px; padding: 8px 13px 8px 9px; font-size: 12px; }
  .hero-cta-wrap { max-width: none; }
  .hero-cta { padding: 30px 18px 22px; border-radius: 26px; }
  .hero-cta-title { font-size: 31px; }
  .rating { position: static; margin: 0 16px 18px; justify-content: center; }
  .offers, .doctors { grid-template-columns: minmax(0, 1fr); }
  .offers > .offer:last-child:nth-child(odd) { aspect-ratio: 4 / 4.6; min-height: 0; }
  .offer { padding: 18px; }
  .offer.art, .offers > .offer.art:last-child:nth-child(odd) { aspect-ratio: auto; min-height: 340px; padding-top: 90px; }
  .offer-bar { padding: 14px 16px; gap: 10px 12px; }
  .offer-price b { font-size: 26px; }
  .duo { padding: 22px 18px; gap: 22px; }
  .duo .photo { aspect-ratio: 4 / 3; }
  .acc summary { padding: 18px 20px; }
  .acc-inner { padding: 0 20px 20px; }
  #programs .acc-name { font-size: 23px; }
  .banner { min-height: 155px; padding: 24px; border-radius: 22px; }
  .prices { padding: 4px 18px; }
  .price-table { font-size: 15px; }
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; padding: 14px 0; border-top: 1px solid var(--line); }
  .price-table tbody tr:first-child { border-top: 0; }
  .price-table td { padding: 0; border: 0; }
  .price-table td:first-child { grid-column: 1 / -1; padding-right: 0; }
  .price-table td.t {
    grid-column: 1 / -1;
    width: auto;
    text-align: left;
    font-size: 13px;
    color: var(--muted);
  }
  .price-table td.t:empty { display: none; }
  .price-table td.p { width: auto; text-align: left; padding-left: 0; font-size: 16px; }
  .price-table td.b { width: auto; padding-left: 0; }
  .slider { grid-auto-columns: 85%; }
  .contacts-card { padding: 28px 20px; border-radius: 22px; }
  .contact-buttons { width: 100%; }
  .map-col, .map-box, .map { min-height: 300px; }
  .doc-intro, .doc-bio { padding: 24px 20px; }
  .doc-lead { font-size: 21px; }
  .proc-actions .btn, .error-actions .btn { flex: 1 1 100%; }
  .proc-price { font-size: 25px; }
  .proc-top { padding: 14px 16px; }
  .proc-top li { font-size: 15px; }
  .error-card { padding: 30px 20px; }
  .to-top { width: 44px; height: 44px; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
}

@media (max-width: 400px) {
  .wrap { padding: 0 12px; }
  .top > .wrap { gap: 6px; }
  .mob-menu-btn { width: 34px; height: 34px; }
  .brand { gap: 5px; }
  .brand-mark { width: 18px; height: 14px; }
  .brand b { font-size: 15px; letter-spacing: 0; }
  .brand small { font-size: 6.8px; letter-spacing: .04em; }
  .top-right .btn { min-height: 34px; padding: 6px 9px; font-size: 11px; }
  .offer-bar { flex-wrap: wrap; }
  .offer-perk { max-width: none; padding-left: 0; padding-top: 10px; border-left: 0; border-top: 1px solid var(--line); width: 100%; }
}

/* ==================== ДВИЖЕНИЕ И ПОЯВЛЕНИЕ ==================== */
.offer, .doctor { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.offer > img, .doctor > img, .duo .photo > img, .banner > img { transition: transform 1.2s var(--ease); }
@media (hover: hover) {
  .offer:hover, .doctor:hover { transform: translateY(-6px); box-shadow: 0 28px 54px -28px rgba(68, 24, 102, .38); }
  .offer:hover > img, .doctor:hover > img { transform: scale(1.04); }
  .acc summary:hover .plus, .price-group summary:hover .minus { opacity: .82; }
}
.reveal {
  opacity: 0;
  translate: 0 24px;
  transition: opacity .75s var(--ease) var(--d, 0s), translate .75s var(--ease) var(--d, 0s),
              transform .5s var(--ease), box-shadow .5s var(--ease),
              border-color .3s var(--ease), background .3s var(--ease);
}
.reveal.in { opacity: 1; translate: none; }
.reveal.in-now { opacity: 1; translate: none; transition: none; }
.hero-bg > img { animation: settle 1.1s var(--ease) both; }
@keyframes settle { from { opacity: 0; transform: scale(1.02); } }

@media (prefers-reduced-motion: reduce) {
  html, .slider { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; translate: none; }
}

@media print {
  .top, .mob-drawer, .mob-backdrop, .to-top, .skip-link { display: none !important; }
  .reveal { opacity: 1 !important; translate: none !important; }
  .contacts-card { background: #fff !important; color: #111 !important; box-shadow: none !important; border: 1px solid #ccc; }
  .contacts-info h2, .muted-light, .legal { color: #111 !important; opacity: 1 !important; }
  .map-col { display: none !important; }
}
