@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-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;
}

:root {
  --ink: #101828;
  --body: #475467;
  --muted: #667085;
  --line: #e4e7ec;
  --line-dark: #d0d5dd;
  --bg: #ffffff;
  --soft: #f7f8f7;
  --brand: #0e6b78;
  --brand-dark: #0a5560;
  --brand-soft: #eef5f6;
  --danger: #b42318;

  --radius: 8px;
  --radius-sm: 6px;
  --container: 1160px;

  --font: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(28px, 2.4vw, 40px); line-height: 1.2; }
h2 { font-size: clamp(22px, 1.7vw, 28px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 40px, 760px); margin-inline: auto; }

.section { padding-block: 56px; }
.section--tight { padding-block: 36px; }
.section--surface { background: var(--soft); }
.section-head { max-width: 700px; margin-bottom: 28px; }
.section-head p { margin: 0; color: var(--muted); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; max-width: none;
}
.lead { font-size: 17.5px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 6px 6px;
}
.skip-link:focus { top: 0; color: #fff; }

/* подписи-надзаголовки убираем: секции читаются по заголовкам */
.eyebrow { display: none; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  font-family: var(--font); font-size: 15px; font-weight: 500;
  color: #fff; background: var(--brand);
  border: 1px solid var(--brand); border-radius: var(--radius-sm);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 150ms, border-color 150ms;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--accent { background: var(--brand); border-color: var(--brand); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-dark); }
.btn--ghost:hover { background: var(--soft); color: var(--ink); border-color: #98a2b3; }
.btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn--white:hover { background: #f2f4f7; border-color: #f2f4f7; color: var(--ink); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0;
  font-family: var(--font); font-size: 15px; color: var(--brand);
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.btn-link svg { width: 16px; height: 16px; }
.btn-link:hover { text-decoration: underline; }

/* ---------- шапка ---------- */
.topbar { display: none; }

.header {
  position: sticky; top: 0; z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 72px;
  width: min(100% - 40px, var(--container)); margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; color: var(--brand); flex-shrink: 0; }
.brand__mark svg { width: 34px; height: 34px; }
.brand__name {
  display: block; font-size: 18px; font-weight: 600; color: var(--ink);
  letter-spacing: -.01em; line-height: 1.1;
}
.brand__tag { display: none; }

.nav { display: flex; align-items: center; gap: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 8px; min-height: 40px;
  font-size: 14.5px; color: var(--ink); text-decoration: none;
  border-radius: var(--radius-sm); white-space: nowrap;
}
.nav__link:hover { background: var(--soft); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__link .chev { width: 14px; height: 14px; color: var(--muted); }
.nav__item:hover > .nav__link .chev { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute; top: 100%; left: 0; z-index: 20;
  min-width: 240px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(16, 24, 40, .08);
  opacity: 0; visibility: hidden; transition: opacity 120ms, visibility 120ms;
}
.nav__item:hover > .nav__dropdown,
.nav__item:focus-within > .nav__dropdown { opacity: 1; visibility: visible; }
.nav__dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; min-height: 40px;
  font-size: 14.5px; color: var(--body); text-decoration: none; border-radius: var(--radius-sm);
}
.nav__dropdown a:hover { background: var(--soft); color: var(--ink); }
.nav__dropdown .ico { display: none; }

.header__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.header__phone { display: none; flex-direction: column; text-decoration: none; white-space: nowrap; }
.header__phone strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.header__phone span { font-size: 12.5px; color: var(--muted); }
@media (min-width: 1200px) { .header__phone { display: flex; } }

.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: none; border: 0; border-radius: var(--radius-sm);
  color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; }

/* поиск */
.search { position: relative; }
.search__panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
  width: min(360px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px; display: none;
}
.search.is-open .search__panel { display: block; }
.search__field {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-dark); border-radius: var(--radius-sm); padding: 0 10px;
}
.search__field svg { width: 17px; height: 17px; color: var(--muted); flex-shrink: 0; }
.search__field input {
  border: 0; outline: none; background: none; padding: 9px 0;
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
}
.search__results { list-style: none; margin: 6px 0 0; padding: 0; }
.search__results a {
  display: block; padding: 8px 10px; border-radius: var(--radius-sm);
  text-decoration: none; font-size: 14.5px; color: var(--ink);
}
.search__results a:hover { background: var(--soft); }
.search__results small { display: block; color: var(--muted); font-size: 12.5px; }
.search__empty { padding: 10px; color: var(--muted); font-size: 14px; }

/* ---------- главный блок ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center; padding-block: 48px 56px;
}
.hero__badge { display: none; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__lead { font-size: 17.5px; max-width: 34em; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  list-style: none; margin: 0; padding: 0;
}
.hero__trust li {
  display: flex; align-items: center; gap: 7px;
  font-size: 14.5px; color: var(--muted);
}
.hero__trust svg { width: 17px; height: 17px; color: var(--brand); }
.hero__media { position: relative; }
.hero__photo {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3.4; background: var(--soft);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.3); }
.hero__photo::before, .hero__photo::after { display: none; }
.float-card { display: none; }

/* ---------- карточки ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.card--link { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.card--link p { flex: 1; }
.card--link .card__meta { margin-top: auto; }
.card--link:hover { border-color: var(--line-dark); }
.card__icon { display: none; }
.card h3 { margin-bottom: 6px; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.card__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line);
}
.price { font-size: 16px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.price--empty { font-size: 14px; font-weight: 400; color: var(--muted); }
.badge { font-size: 13px; color: var(--muted); }

/* ---------- акции ---------- */
.promo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo__card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.promo__img { display: none; }
.promo__tag { display: none; }
.promo__body { display: flex; flex-direction: column; flex: 1; }
.promo__body h3 { margin-bottom: 8px; }
.promo__body p { flex: 1; font-size: 15px; color: var(--muted); }
.promo__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
}
.promo__card:hover { border-color: var(--line-dark); }

/* ---------- преимущества ---------- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.features__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transform: scale(1.28); }
.features__list { display: grid; gap: 18px; margin-top: 24px; }
.feature { display: flex; gap: 12px; align-items: flex-start; }
.feature__icon { flex-shrink: 0; margin-top: 3px; color: var(--brand); }
.feature__icon svg { width: 20px; height: 20px; }
.feature b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 2px; }
.feature p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- цифры ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat b {
  display: block; font-size: 30px; font-weight: 600; color: var(--ink);
  line-height: 1.1; margin-bottom: 4px;
}
.stat span { font-size: 14.5px; color: var(--muted); }
.band { background: var(--soft); border-block: 1px solid var(--line); }
.band h2 { color: var(--ink); }
.band .lead { color: var(--body); }
.band .btn--ghost { background: #fff; }

/* ---------- врачи ---------- */
.doctor { text-align: left; }
.doctor__photo {
  width: 64px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--brand-soft); margin-bottom: 14px; position: relative;
}
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor__initials {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 17px; font-weight: 500; color: var(--brand); letter-spacing: .02em;
}
.doctor h3 { font-size: 16px; margin-bottom: 2px; }
.doctor p { font-size: 14px; color: var(--muted); margin: 0; }
.doctor__tags { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.doctor__tags .badge { font-size: 13.5px; }

/* ---------- отзывы ---------- */
.review { display: flex; flex-direction: column; gap: 12px; }
.review__head { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-weight: 500; font-size: 14px;
  flex-shrink: 0;
}
.review p { margin: 0; font-size: 15px; }
.review__meta { font-size: 13.5px; color: var(--muted); }

/* ---------- таблица цен ---------- */
.price-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.price-search {
  flex: 1 1 320px; display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  padding: 0 12px; min-height: 44px;
}
.price-search svg { width: 18px; height: 18px; color: var(--muted); }
.price-search input { border: 0; outline: none; background: none; width: 100%; font: inherit; font-size: 15px; color: var(--ink); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  padding: 6px 12px; min-height: 36px;
  border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  background: #fff; color: var(--body); font-family: var(--font); font-size: 14px; cursor: pointer;
}
.tab:hover { border-color: #98a2b3; color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.price-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table caption {
  text-align: left; padding: 14px 18px; font-size: 15px; font-weight: 600; color: var(--ink);
  background: var(--soft); border-bottom: 1px solid var(--line);
}
.price-table th, .price-table td { padding: 11px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th {
  font-size: 12.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); background: #fff;
}
.price-table tbody tr:hover { background: #fcfcfd; }
.price-table td:last-child { text-align: right; white-space: nowrap; font-weight: 500; color: var(--ink); }
.price-table .code { color: var(--muted); font-variant-numeric: tabular-nums; width: 90px; }
.price-table__group td { background: var(--soft); font-weight: 600; color: var(--ink); }
.price-note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---------- формы ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 5px; }
.field > label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 44px; padding: 10px 12px;
  font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
}
.textarea { min-height: 110px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #98a2b3; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14, 107, 120, .1);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.error { font-size: 13px; color: var(--danger); display: none; }
.error.is-visible { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form__policy { font-size: 12.5px; color: var(--muted); margin: 0; }
.form__policy a { color: var(--muted); text-decoration: underline; }
.form__ok {
  display: none; gap: 10px; padding: 14px;
  border: 1px solid #a6f4c5; border-radius: var(--radius-sm);
  background: #ecfdf3; color: #054f31; font-size: 14.5px;
}
.form__ok.is-visible { display: flex; }
.form__ok svg { width: 20px; height: 20px; flex-shrink: 0; }
.honeypot { position: absolute !important; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.booking { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.booking h2 { font-size: 22px; margin-bottom: 4px; }
.booking .muted { margin-bottom: 18px; font-size: 15px; }
.booking__side { display: grid; gap: 0; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.booking__side a {
  display: flex; align-items: center; gap: 8px;
  min-height: 40px; text-decoration: none; color: var(--body); font-size: 14.5px;
}
.booking__side a:hover { color: var(--brand); }
.booking__side svg { width: 16px; height: 16px; color: var(--muted); }

/* ---------- контакты ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; }
.contact-list svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; margin-top: 3px; }
.contact-list b { display: block; font-weight: 500; color: var(--ink); font-size: 14.5px; }
.contact-list span, .contact-list a { color: var(--body); font-size: 15px; }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- внутренние страницы ---------- */
.page-hero { padding-block: 24px 28px; border-bottom: 1px solid var(--line); }
.page-hero + .section { padding-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 14px; list-style: none; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line-dark); }
.crumbs [aria-current="page"] { color: var(--body); }
.page-hero h1 { font-size: clamp(26px, 2vw, 34px); margin-bottom: 8px; }
.page-hero p { max-width: 62em; margin: 0; color: var(--muted); }

/* ---------- текст ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.callout {
  display: flex; gap: 12px; padding: 14px 16px; margin: 20px 0;
  border: 1px solid var(--line); border-left: 3px solid var(--brand);
  background: #fff; border-radius: var(--radius-sm);
  color: var(--body); font-size: 15px;
}
.callout svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout--warn { border-left-color: #b54708; background: #fffaeb; border-color: #fedf89; }
.callout--warn svg { color: #b54708; }

.acc { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.acc + .acc { margin-top: 8px; }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; min-height: 52px; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 500; color: var(--ink);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 18px; color: var(--muted); }
.acc[open] summary::after { content: "−"; }
.acc__body { padding: 0 16px 14px; font-size: 15px; color: var(--body); }
.acc__body p:last-child { margin-bottom: 0; }

/* ---------- подвал ---------- */
.footer { background: #16211f; color: #a9b4b2; margin-top: 0; }
.footer a { color: #d7dedc; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 44px 32px; }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; text-decoration: none; }
.footer__brand .brand__mark { color: #7fc4cd; }
.footer__brand .brand__name { color: #fff; font-size: 17px; }
.footer p { font-size: 14px; line-height: 1.55; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 16px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 12.5px; color: #8a9694;
}
.socials { display: flex; gap: 14px; margin-top: 14px; }
.socials a { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }

/* ---------- модальные окна ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: none; padding: 16px; overflow-y: auto; }
.modal.is-open { display: grid; place-items: center; }
.modal__backdrop { position: fixed; inset: 0; background: rgba(16, 24, 40, .5); }
.modal__dialog {
  position: relative; width: min(500px, 100%); margin: auto; padding: 24px;
  background: #fff; border-radius: var(--radius);
}
.modal__dialog--wide { width: min(600px, 100%); }
.modal__close {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px;
  display: grid; place-items: center; background: none; border: 0;
  border-radius: var(--radius-sm); color: var(--muted); cursor: pointer;
}
.modal__close:hover { background: var(--soft); color: var(--ink); }
.modal__close svg { width: 18px; height: 18px; }
.modal h2 { font-size: 21px; margin-bottom: 4px; padding-right: 32px; }
.modal__sub { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }

.coupon {
  border: 1px dashed var(--line-dark); border-radius: var(--radius-sm);
  padding: 18px; text-align: center; background: var(--soft);
}
.coupon b { display: block; font-size: 26px; font-weight: 600; color: var(--ink); }
.coupon span { font-size: 14px; color: var(--muted); }
.coupon code {
  display: inline-block; margin-top: 10px; padding: 6px 12px;
  background: #fff; border: 1px solid var(--line-dark); border-radius: 4px;
  font-size: 15px; letter-spacing: .08em; color: var(--ink);
}

/* ---------- мобильная панель ---------- */
.dock {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line);
}
.dock .btn { flex: 1; min-height: 42px; }

/* ---------- меню на телефоне ---------- */
.drawer { position: fixed; inset: 0; z-index: 110; display: none; }
.drawer.is-open { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(16, 24, 40, .45); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
  background: #fff; display: flex; flex-direction: column;
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.drawer__body { padding: 8px; overflow-y: auto; }
.drawer__group { border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 6px; }
.drawer__group > a, .drawer__group > span {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 44px; padding: 8px 10px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
}
.drawer__sub { display: grid; padding-left: 6px; }
.drawer__sub a {
  display: flex; align-items: center; min-height: 40px; padding: 6px 10px;
  border-radius: var(--radius-sm); color: var(--body); text-decoration: none; font-size: 14.5px;
}
.drawer__sub a:hover { background: var(--soft); }
.drawer__foot { padding: 14px 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }

/* ---------- фото клиники ---------- */
.duo { position: relative; background: var(--soft); }
.duo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.duo::before, .duo::after { display: none; }

.reveal { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__phone { display: none; }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 40px; }
  .hero__media { max-width: 560px; }
  .hero__photo { aspect-ratio: 4 / 3; }
  .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .promo { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; gap: 28px; }
  .features__media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .band .container[style] { display: block !important; }
  .band .container > div:last-child { margin-top: 16px; }
  .dock { display: flex; }
  body { padding-bottom: 68px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .container--narrow, .header__inner { width: calc(100% - 32px); }
  .header__inner { gap: 8px; min-height: 64px; }
  .header__actions .search, .header__actions > .btn { display: none; }
  .brand__name { font-size: 17px; }
  .section { padding-block: 40px; }
  .grid--2, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .price-table th:nth-child(1), .price-table td:nth-child(1) { display: none; }
  .price-table th, .price-table td { padding: 10px 14px; }
  .tabs {
    flex-wrap: nowrap; overflow-x: auto; gap: 8px;
    padding-bottom: 6px; scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .modal { padding: 0; }
  .modal.is-open { align-items: flex-end; }
  .modal__dialog { border-radius: 12px 12px 0 0; max-height: 92vh; overflow-y: auto; }
  .booking { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media print {
  .header, .dock, .modal, .drawer, .footer__grid { display: none !important; }
  body { background: #fff; }
}
