/* «Самал» — семейная клиника. Внешний вид поверх css/base.css.
   Характер: тёплый кремовый фон, лимонные градиенты, лёгкая антиква в заголовках (Noto Serif Display 300), гротеск Onest в тексте,
   чёрные кнопки, тонкие линии, номера в кружках. Цвета и размеры — токены ниже. */
:root {
  --bg: #FBF9F4; --paper: #FFFFFF; --fg: #151410; --ink: #2E2C27; --muted: #645F56; --line: #E5E0D4; --line-2: #D2CBBB; --soft: #F3EFE5;
  --lemon: #FFD21C; --lemon-2: #FFE37A; --lemon-3: #FFF5CF; --mist: #CFDADD; --mist-2: #E3EAEC;
  --accent: #151410; --accent-ink: #fff; --bad: #B23219; --ok: #2E6B39;
  --radius: 6px; --radius-btn: 4px; --wrap: 1240px; --pad: 32px; --gap: 24px;
  --font-body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif; --font-head: 'Noto Serif Display', Georgia, 'Times New Roman', serif;
  --step--1: 13.5px; --step-0: 17px; --step-1: 18px; --step-2: 22px;
  --top-h: 84px;
  --h-hero: clamp(42px, 4.75vw, 72px); --h-xl: clamp(38px, 5.6vw, 86px); --h-lg: clamp(30px, 3.6vw, 54px); --h-md: clamp(22px, 2vw, 28px);
  --sec: clamp(72px, 8.4vw, 128px);
  --grad-hero: radial-gradient(52% 70% at 26% 52%, rgba(255, 250, 228, .92) 0%, rgba(255, 244, 196, .45) 42%, rgba(255, 236, 150, 0) 72%),
               radial-gradient(48% 70% at 100% 0%, rgba(255, 249, 222, .95) 0%, rgba(255, 249, 222, 0) 70%),
               linear-gradient(176deg, #FFD21C 0%, #FFD83F 48%, #FFC812 100%);
  --grad-fade: linear-gradient(180deg, #FFD21C 0%, #FFDF5E 30%, #FFEDA9 62%, #FFF7DF 84%, var(--bg) 100%);
}
::selection { background: var(--lemon); color: var(--fg); }
body { font-size: var(--step-0); line-height: 1.6; }
h1, h2, h3, h4 { font-weight: 400; }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.kicker { font: 500 11.5px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; color: var(--fg); }
.h-xl { font: 300 var(--h-xl)/1 var(--font-head); letter-spacing: -.03em; }
.h-lg { font: 300 var(--h-lg)/1.05 var(--font-head); letter-spacing: -.022em; }
.h-md { font: 400 var(--h-md)/1.15 var(--font-head); letter-spacing: -.01em; }
.small { font-size: 13.5px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; white-space: nowrap; }
.link .i { transition: transform .25s; }
.link:hover .i { transform: translateX(4px); }
mark { background: var(--lemon-2); color: inherit; padding: 0 1px; border-radius: 2px; }

/* кнопки */
.btn { min-height: 48px; padding: 0 22px; font-size: 15px; font-weight: 500; letter-spacing: .005em; }
.btn .i { width: 18px; height: 18px; }
.btn:hover { filter: none; background: #34322C; border-color: #34322C; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--line { background: transparent; color: var(--fg); border-color: rgba(21, 20, 16, .55); }
.btn--line:hover { background: var(--fg); color: #fff; border-color: var(--fg); }
.btn--lemon { background: var(--lemon); border-color: var(--lemon); color: var(--fg); }
.btn--lemon:hover { background: #FFDD52; border-color: #FFDD52; color: var(--fg); }
.btn--dark { background: transparent; color: #EDE8DC; border-color: rgba(237, 232, 220, .4); }
.btn--dark:hover { background: #EDE8DC; color: var(--fg); border-color: #EDE8DC; }
a[href^="tel:"] { white-space: nowrap; }

/* шапка */
.top { height: var(--top-h); transition: background .3s, box-shadow .3s; }
.top.is-scrolled { background: rgba(251, 249, 244, .93); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.top__in { width: min(1400px, 100% - 2 * var(--pad)); margin-inline: auto; height: 100%; display: flex; align-items: center; gap: 30px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); flex: none; }
.mark { width: 30px; height: 30px; }
.logo__w { display: flex; flex-direction: column; font: 600 17px/1.02 var(--font-body); letter-spacing: -.01em; }
.logo__w span { font-weight: 400; font-size: 14px; letter-spacing: 0; margin-top: 1px; }
.nav { margin-left: auto; display: flex; gap: 30px; }
.nav a { font-size: 14.5px; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav a:hover, .nav a[aria-current] { border-color: currentColor; }
.top__tel { font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.top__cta[aria-current] { background: transparent; color: var(--fg); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; margin-right: -10px; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: currentColor; border-radius: 2px; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }

/* мобильное меню */
.mnav ul li a { font: 300 30px/1.15 var(--font-head); letter-spacing: -.01em; padding: 7px 0; }
.mnav ul li a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; }
.mnav__k { margin: 26px 0 8px; font: 500 11.5px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mnav .mnav__deps a { font: 400 17px/1.3 var(--font-body); padding: 7px 0; }
.mnav__foot .small { color: var(--muted); }

/* первый экран (главная, направления, о клинике) */
.hero { position: relative; margin-top: calc(-1 * var(--top-h)); padding-top: var(--top-h); background: var(--grad-hero); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(560px, 46vw, 680px); }
.hero__txt { display: flex; flex-direction: column; justify-content: flex-end; padding: 40px clamp(32px, 4vw, 64px) clamp(44px, 4.4vw, 64px) max(var(--pad), calc((100vw - var(--wrap)) / 2)); }
.hero__t { font: 300 var(--h-hero)/1.02 var(--font-head); letter-spacing: -.028em; margin: 0 0 22px; }
.hero__lead { font-size: 18px; line-height: 1.55; color: var(--ink); max-width: 31em; margin-bottom: 28px; }
.hero__next { display: inline-flex; align-items: flex-start; gap: 8px; margin: 22px 0 0; font-size: 14.5px; color: var(--ink); }
.hero__next .i { margin-top: 2px; }
.hero__next a { font-weight: 600; color: var(--fg); }
.hero__ph { position: relative; margin: 0; overflow: hidden; background: #EDE6D3; }
.hero__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; }
.hero--dep .hero__txt { justify-content: flex-start; padding-top: 4px; }
.hero--dep .hero__txt .crumbs { margin-bottom: auto; padding-bottom: 36px; }
.hero__t--dep { font-size: clamp(38px, 4.3vw, 66px); }
.hero--dep .hero__ph img { object-position: 50% 50%; }
.hero--about .hero__ph img { object-position: 50% 60%; }
.crumbs { color: #4A463E; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; }

/* добро пожаловать + строка контактов */
.welcome { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; padding: clamp(56px, 6vw, 88px) 0 clamp(44px, 5vw, 64px); }
.welcome__lead { font: 300 clamp(21px, 2.05vw, 30px)/1.42 var(--font-body); letter-spacing: -.006em; color: var(--fg); max-width: 32em; margin: 0; }
.marks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 36px; margin-top: 34px; }
.marks li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.marks .i { width: 42px; height: 42px; padding: 9px; border: 1px solid var(--fg); border-radius: 50%; stroke-width: 1.4; }
.infoline { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; border-top: 1px solid var(--line-2); padding-top: 18px; margin-bottom: clamp(40px, 4.4vw, 56px); font: 300 clamp(19px, 1.85vw, 26px)/1.36 var(--font-body); }
.infoline p { margin: 0; }
.infoline a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.infoline a:hover { text-decoration: underline; }
.infoline__tel { white-space: nowrap; }
.infoline__tel .i { width: 22px; height: 22px; }
.open { display: inline-flex; align-items: center; gap: 7px; vertical-align: middle; margin-left: 10px; padding: 5px 11px 5px 9px; border-radius: 99px; background: var(--soft); color: var(--muted); font: 500 12.5px/1.2 var(--font-body); letter-spacing: 0; text-transform: none; }
.open::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #A39C8C; }
.open.is-on { background: #E4F0E1; color: var(--ok); }
.open.is-on::before { background: #3C8A48; box-shadow: 0 0 0 3px rgba(60, 138, 72, .2); }

/* большая фотокарточка + 4 ссылки */
.feature__card { position: relative; display: block; height: clamp(340px, 33vw, 480px); overflow: hidden; color: #fff; text-decoration: none; background: #3A352C; }
.feature__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.feature__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 18, 12, 0) 30%, rgba(20, 18, 12, .35) 58%, rgba(20, 18, 12, .74) 100%); }
.feature__card:hover img { transform: scale(1.03); }
.feature__txt { position: absolute; z-index: 1; left: clamp(20px, 2vw, 28px); right: 24px; bottom: clamp(22px, 2.4vw, 32px); display: grid; gap: 10px; max-width: 820px; }
.feature__t { font: 300 clamp(32px, 4.1vw, 60px)/1.02 var(--font-head); letter-spacing: -.025em; color: #fff; }
.feature__s { font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .94); max-width: 38em; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.more .i { width: 16px; height: 16px; }
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.quick a { display: grid; align-content: start; gap: 6px; padding: 18px 22px 26px; border-left: 1px solid var(--line); text-decoration: none; transition: background .25s; }
.quick a:last-child { border-right: 1px solid var(--line); }
.quick a:hover { background: var(--soft); }
.quick b { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; }
.quick b .i { width: 18px; height: 18px; transition: transform .25s; }
.quick a:hover b .i { transform: translateX(4px); }
.quick span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.quick i, .dir__row i, .drow__n, .how__steps i, .prep__list i, .rules i { font: 500 10.5px/1 var(--font-body); font-style: normal; width: 28px; height: 28px; border: 1px solid currentColor; border-radius: 50%; display: inline-grid; place-items: center; flex: none; letter-spacing: .02em; }
.quick i { margin-bottom: 10px; }

/* секции */
.sec { padding-top: var(--sec); }
.sec--top { padding-top: clamp(28px, 3vw, 44px); }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; margin-bottom: clamp(30px, 3.4vw, 48px); flex-wrap: wrap; }
.sec__aside { max-width: 30em; color: var(--muted); font-size: 15px; margin: 0; }
.sec__aside a { color: var(--fg); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; align-items: start; }
.split__note { margin: 18px 0 0; color: var(--muted); font-size: 15px; max-width: 24em; }
.split__note a { color: var(--fg); }

/* направления на главной */
.dirs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 28px; }
.dir { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.dir__ph { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.dir__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.dir:hover .dir__ph img { transform: scale(1.04); }
.dir__row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.dir__p { font-size: 14px; color: var(--muted); }
.dir__t { font: 300 clamp(30px, 2.7vw, 40px)/1.05 var(--font-head); letter-spacing: -.02em; }
.dir__s { color: var(--muted); font-size: 15.5px; line-height: 1.5; max-width: 26em; }
.dir__go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; margin-top: 2px; }
.dir__go .i { width: 16px; height: 16px; transition: transform .25s; }
.dir:hover .dir__go .i { transform: translateX(4px); }

/* врачи-карусель */
.team .h-xl { margin-bottom: clamp(28px, 3vw, 40px); }
.team__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.team__bar .kicker { margin: 0; }
.arrows { display: flex; gap: 4px; margin-right: -10px; }
.arrow { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; border-radius: 50%; transition: background .2s, opacity .2s; }
.arrow:hover:not(:disabled) { background: var(--soft); }
.arrow:disabled { opacity: .28; cursor: default; }
.arrow .i { width: 24px; height: 24px; stroke-width: 1.4; }
.car { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: max(var(--pad), calc((100% - var(--wrap)) / 2)); }
.car::-webkit-scrollbar { display: none; }
.car:focus-visible { outline-offset: -3px; }
.car__track { list-style: none; margin: 0; display: flex; gap: 20px; width: max-content; padding: 0 max(var(--pad), calc((100vw - var(--wrap)) / 2)); }
.pcard { width: clamp(250px, 21.6vw, 300px); scroll-snap-align: start; }
.pcard a { display: grid; gap: 3px; text-decoration: none; }
.pcard img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; background: var(--soft); margin-bottom: 12px; transition: filter .3s; }
.pcard a:hover img { filter: brightness(1.04) saturate(1.05); }
.pcard__n { font-weight: 600; font-size: 15px; line-height: 1.35; }
.pcard__s { font-size: 14px; color: var(--muted); }
.team__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.team__foot .small { margin: 0; color: var(--muted); }

/* «Что мы предлагаем» — жёлтая секция в две колонки */
.offer { margin-top: var(--sec); padding-top: 24px; background: var(--grad-fade); }
.offer__k { margin: 0; padding-bottom: 16px; border-bottom: 1px solid rgba(21, 20, 16, .14); }
.offer__cols { display: grid; grid-template-columns: 1fr 1fr; }
.offer__col { min-height: clamp(380px, 34vw, 480px); display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: 40px 48px 6px 0; }
.offer__col + .offer__col { border-left: 1px solid rgba(21, 20, 16, .16); padding-left: 48px; }
.offer__col p { max-width: 33em; color: var(--ink); font-size: 16px; margin: 0 0 8px; }
.offer__col .btn { align-self: flex-start; }

/* связь из телефона */
.app { margin-top: var(--sec); }
.app__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; background: var(--mist); padding: 64px clamp(28px, 5vw, 72px); overflow: hidden; }
.app__vis { position: relative; display: flex; justify-content: center; }
.app__txt p { max-width: 30em; color: var(--ink); margin: 20px 0 28px; }
.phone { position: relative; width: 272px; aspect-ratio: 9 / 18.6; padding: 10px; background: #121210; border-radius: 46px; box-shadow: 0 50px 70px -30px rgba(25, 40, 46, .55), inset 0 0 0 2px #2A2A26; }
.phone::before { content: ''; position: absolute; z-index: 2; top: 19px; left: 50%; width: 84px; height: 24px; margin-left: -42px; background: #121210; border-radius: 99px; }
.phone__scr { height: 100%; display: flex; flex-direction: column; background: var(--bg); border-radius: 37px; overflow: hidden; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; padding: 50px 16px 12px; }
.phone__logo { display: flex; align-items: center; gap: 6px; font: 600 9.5px/1.05 var(--font-body); }
.phone__logo .mark { width: 18px; height: 18px; }
.phone__ava { width: 24px; height: 24px; border-radius: 50%; background: var(--fg); box-shadow: inset 0 0 0 7px var(--fg), inset 0 0 0 30px #fff; }
.phone__ph { position: relative; height: 150px; }
.phone__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__body { display: grid; gap: 7px; padding: 14px 14px 0; }
.phone__t { font: 300 22px/1 var(--font-head); letter-spacing: -.01em; }
.phone__s { font-size: 9.5px; line-height: 1.4; color: var(--muted); }
.phone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
.phone__grid span, .phone__line { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 10px 8px; border-radius: 4px; background: var(--lemon); font-size: 9.5px; font-weight: 600; line-height: 1.15; }
.phone__line { background: var(--fg); color: #fff; margin-top: 2px; }
.phone .i { width: 11px; height: 11px; }
.phone__tabs { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); padding: 9px 8px 16px; border-top: 1px solid var(--line); }
.phone__tabs span { display: grid; justify-items: center; gap: 3px; font-size: 8.5px; color: var(--muted); }
.phone__tabs .i { width: 15px; height: 15px; }
.phone__tabs .is-on { color: var(--fg); font-weight: 600; }
.glass { position: absolute; z-index: 3; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 24px 44px -22px rgba(25, 40, 46, .5); font-size: 12.5px; font-weight: 500; line-height: 1.38; color: var(--fg); }
.glass--a { top: 104px; left: calc(50% - 232px); width: 178px; }
.glass--b { bottom: 54px; left: calc(50% + 70px); width: 168px; }
.glass--b b { display: block; font: 300 42px/1 var(--font-head); letter-spacing: -.02em; margin-bottom: 6px; }

/* онлайн-запись: шаги на главной */
.how__head { margin-bottom: clamp(30px, 3.4vw, 48px); }
.how__steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); margin-bottom: 36px; }
.how__steps li { display: grid; align-content: start; gap: 6px; padding: 20px 20px 4px 0; }
.how__steps li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.how__steps i { margin-bottom: 8px; }
.how__steps b { font: 300 clamp(24px, 2.2vw, 30px)/1.1 var(--font-head); letter-spacing: -.01em; }
.how__steps span { font-size: 14.5px; color: var(--muted); line-height: 1.45; }

/* вопросы-ответы */
.faq details { border-color: var(--line-2); }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { font-size: 18px; font-weight: 500; padding: 21px 0; }
.faq summary::after { font-weight: 300; }
.faq details > div { color: var(--ink); font-size: 16px; }
.faq details > div p { margin: 0; }

/* оговорка */
.disc { display: flex; gap: 12px; align-items: flex-start; margin-top: clamp(56px, 6vw, 88px); padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.5; }
.disc .i { width: 18px; height: 18px; margin-top: 1px; }
.urgent { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 0; padding: 16px 20px; background: #FBEAE3; border-left: 3px solid var(--bad); color: #6E2212; font-size: 15.5px; }
.urgent .i { width: 20px; height: 20px; margin-top: 2px; color: var(--bad); }
.urgent a { color: inherit; font-weight: 700; }

/* призыв */
.cta { margin-top: var(--sec); }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 32px 48px; padding: clamp(32px, 5vw, 72px); background: linear-gradient(118deg, #FFD21C 0%, #FFE172 55%, #FFF0B8 100%); }
.cta p { max-width: 32em; margin: 16px 0 0; color: var(--ink); }
.cta .btns { justify-content: flex-end; }
.cta .btn--line { border-color: rgba(21, 20, 16, .6); }

/* подвал */
.foot { margin-top: var(--sec); padding-top: clamp(56px, 6vw, 80px); background: var(--fg); color: #EDE8DC; overflow: hidden; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 40px; }
.foot__brand p { color: #BDB7A9; font-size: 15px; max-width: 24em; margin: 20px 0 24px; }
.logo--inv { color: #fff; }
.logo--inv .mark { color: var(--lemon); }
.foot__h { font: 500 11.5px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #9A9486; margin: 6px 0 16px; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 9px; font-size: 15px; line-height: 1.45; color: #D8D2C4; }
.foot a { color: #EDE8DC; text-decoration: none; }
.foot a:hover { color: var(--lemon); }
.foot a.btn--lemon, .foot a.btn--lemon:hover { color: var(--fg); }
.foot__brand .btns { gap: 10px; }
.foot__sos { display: flex; gap: 10px; align-items: flex-start; margin: 52px 0 0; padding: 16px 0; border-top: 1px solid #2F2D27; color: #D8D2C4; font-size: 14px; }
.foot__sos .i { width: 18px; height: 18px; margin-top: 1px; color: var(--lemon); }
.foot__sos a { color: var(--lemon); font-weight: 600; }
.foot__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 16px 0 0; border-top: 1px solid #2F2D27; color: #9A9486; font-size: 13px; }
.foot__word { margin: 24px 0 -.12em; font: 300 clamp(110px, 23vw, 360px)/.82 var(--font-head); letter-spacing: -.04em; color: #24221D; text-align: center; white-space: nowrap; user-select: none; }

/* шапка внутренних страниц */
.phead { margin-top: calc(-1 * var(--top-h)); padding: var(--top-h) 0 clamp(36px, 4.4vw, 64px); background: var(--grad-fade); }
.phead__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 20px 64px; padding-top: clamp(28px, 4vw, 64px); }
.page-h { font: 300 clamp(44px, 6.4vw, 100px)/.98 var(--font-head); letter-spacing: -.034em; margin: 0; }
.phead__lead { font-size: 18px; line-height: 1.55; color: var(--ink); max-width: 30em; margin: 0; }
.phead__note { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink); margin: 14px 0 0; }
.phead__note .i { width: 18px; height: 18px; margin-top: 2px; color: var(--bad); }
.phead__note a { font-weight: 600; color: var(--fg); }
.phead .lost { padding: clamp(40px, 6vw, 90px) 0 0; }
.phead .lost .phead__lead { margin: 18px 0 28px; }

/* список направлений */
.dlist { list-style: none; padding: 0; border-top: 1px solid var(--line-2); }
.drow { display: grid; grid-template-columns: 40px 220px minmax(0, 1fr) 200px 36px; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.drow__ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.drow__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.drow:hover .drow__ph img { transform: scale(1.05); }
.drow__t { font: 300 clamp(30px, 3.1vw, 46px)/1.04 var(--font-head); letter-spacing: -.02em; }
.drow__s { display: block; color: var(--muted); margin: 8px 0 14px; font-size: 16px; }
.drow__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.drow__tags span { font-size: 12.5px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 99px; color: var(--ink); }
.drow__meta { display: grid; gap: 4px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.drow__meta b { font-size: 19px; font-weight: 500; color: var(--fg); }
.drow__go .i { width: 30px; height: 30px; stroke-width: 1.3; transition: transform .3s; }
.drow:hover .drow__go .i { transform: translateX(6px); }
.unsure { margin-top: clamp(56px, 6vw, 96px); }
.unsure__in { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 28px 48px; padding: clamp(28px, 4.4vw, 60px); background: var(--mist); }
.unsure p { color: var(--ink); max-width: 32em; margin-bottom: 22px; }

/* направление: с чем приходят, цены */
.reasons { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); }
.reasons li { display: flex; gap: 14px; align-items: baseline; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.reasons li:nth-child(odd) { padding-right: 24px; }
.reasons li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.reasons i { font: 500 11px/1 var(--font-body); font-style: normal; color: var(--muted); min-width: 20px; }
.plist { list-style: none; padding: 0; border-top: 1px solid var(--line-2); }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 6px 28px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.prow__n { font-size: 16.5px; line-height: 1.4; }
.prow__d { font-size: 14px; color: var(--muted); white-space: nowrap; }
.prow__p { min-width: 92px; text-align: right; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plist__more { margin: 22px 0 0; }

/* карточки врачей */
.dcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.dcards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dcards--1 { grid-template-columns: minmax(0, 1fr); }
.dcard { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); scroll-margin-top: calc(var(--top-h) + 20px); }
.dcard:target { box-shadow: 0 0 0 2px var(--fg); }
.dcard__ph { position: relative; aspect-ratio: 5 / 5.2; overflow: hidden; background: var(--soft); }
.dcard__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.dcard__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; flex: 1; min-width: 0; container-type: inline-size; }
@container (max-width: 330px) {
  .dcard__body .sched { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dcard__body .sched li:nth-child(4) { border-left: 0; }
  .dcard__body .sched li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
/* длинные часы вида «7:30–11:30» — в три колонки раньше */
@container (max-width: 420px) {
  .dcard__body .sched--long { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dcard__body .sched--long li:nth-child(4) { border-left: 0; }
  .dcard__body .sched--long li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
.dcard__n { font: 400 27px/1.1 var(--font-head); letter-spacing: -.012em; }
.dcard__t { margin: -6px 0 0; color: var(--muted); font-size: 14.5px; }
.dcard__t a { color: var(--ink); }
.dcard__facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dcard__facts li { font-size: 13px; line-height: 1.3; padding: 5px 10px; background: var(--soft); border-radius: 99px; }
.dcard__about { font-size: 15px; color: var(--ink); margin: 0; }
.dcard__near { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin: 0; }
.dcard .sched { margin-top: auto; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3C8A48; box-shadow: 0 0 0 3px rgba(60, 138, 72, .18); flex: none; }
.sched { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); }
.sched li { display: grid; min-width: 0; text-align: center; gap: 1px; padding: 7px 2px; font-size: 12px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.sched span { white-space: nowrap; }
.sched li + li { border-left: 1px solid var(--line); }
.sched b { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sched .is-off span { color: var(--muted); }
.dcards--1 .dcard, .dcards--2 .dcard { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.dcards--2 .dcard { grid-template-columns: minmax(0, 230px) minmax(0, 1fr); }
.dcards--1 .dcard__ph, .dcards--2 .dcard__ph { aspect-ratio: auto; min-height: 380px; }
.dcards--2 .dcard__ph { min-height: 340px; }
.dcards--1 .dcard__body { padding: clamp(24px, 3vw, 40px); justify-content: center; }
.dcards--1 .dcard .btn, .dcards--2 .dcard .btn { align-self: flex-start; width: auto; }
.dcards--1 .sched { max-width: 440px; margin-top: 4px; }
.dcards__note { margin: 18px 0 0; color: var(--muted); }
.room { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-top: 28px; padding: 16px 28px 16px 16px; background: var(--mist-2); text-decoration: none; transition: background .25s; }
.room:hover { background: var(--mist); }
.room__ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.room__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room__body { display: grid; gap: 6px; }
.room .kicker { margin: 0; }
.room__t { font: 300 clamp(24px, 2.3vw, 34px)/1.1 var(--font-head); letter-spacing: -.015em; }
.room__s { color: var(--ink); font-size: 15px; max-width: 46em; }
.room__near:not([hidden]) { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }

/* подготовка */
.prep { margin-top: var(--sec); padding: clamp(56px, 6vw, 92px) 0; background: var(--mist-2); }
.prep__list, .rules, .ways__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.prep__list li, .rules li, .ways__list li { padding: 22px 26px 4px 0; }
.prep__list li + li, .rules li + li, .ways__list li + li { padding-left: 26px; border-left: 1px solid var(--line-2); }
.prep__list h3, .rules h3, .ways__list h3 { font: 400 clamp(22px, 1.9vw, 26px)/1.15 var(--font-head); letter-spacing: -.01em; margin: 16px 0 10px; }
.prep__list p, .rules p, .ways__list p { color: var(--ink); font-size: 15.5px; margin: 0; }
.prep__list li { border-color: #C5CFD2; }
.prep .prep__list { border-color: #BFC9CC; }
.prep .prep__list li + li { border-color: #C9D2D5; }
.ways__list .i { width: 32px; height: 32px; stroke-width: 1.3; }

/* другие направления */
.others { margin-top: clamp(56px, 6vw, 88px); }
.others .kicker { margin-bottom: 14px; }
.others__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.others__row a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 300 clamp(19px, 1.7vw, 24px)/1.2 var(--font-head); }
.others__row a + a { padding-left: 16px; border-left: 1px solid var(--line); }
.others__row .i { width: 18px; height: 18px; transition: transform .25s; }
.others__row a:hover .i { transform: translateX(4px); }

/* врачи: фильтр */
.fbar { align-items: center; margin-bottom: 30px; }
.fbtn { min-height: 42px; padding: 0 17px; border: 1px solid var(--line-2); border-radius: 99px; background: transparent; font-size: 14.5px; transition: background .2s, border-color .2s; }
.fbtn:hover { border-color: var(--fg); }
.fbtn.is-on { background: var(--fg); color: #fff; border-color: var(--fg); }
.fbar__count { margin-left: auto; font-size: 14px; color: var(--muted); }

/* цены */
.price__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 22px; }
.search { flex: 1 1 420px; max-width: 600px; display: flex; align-items: center; gap: 12px; padding: 4px 2px; border-bottom: 1.5px solid var(--fg); }
.search .i { width: 22px; height: 22px; }
.search input { flex: 1; min-width: 0; min-height: 50px; border: 0; background: none; font-size: 19px; outline: none; }
.search input::placeholder { color: #8A857A; }
.search:focus-within { box-shadow: 0 1.5px 0 var(--fg); }
.price__hint { margin: 0; font-size: 14px; color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; transition: opacity .2s; }
.tabs [role="tab"] { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 17px; border: 1px solid var(--line-2); border-radius: 99px; background: transparent; font-size: 15px; }
.tabs [role="tab"]:hover { border-color: var(--fg); }
.tabs [role="tab"] small { font-size: 11.5px; color: var(--muted); }
.tabs [aria-selected="true"] { background: var(--fg); color: #fff; border-color: var(--fg); }
.tabs [aria-selected="true"] small { color: #CFC9BC; }
.price.is-search .tabs { opacity: .5; }
.price.is-search .tabs [aria-selected="true"] { background: transparent; color: var(--fg); border-color: var(--line-2); }
.price.is-search .tabs [aria-selected="true"] small { color: var(--muted); }
.ptab { margin-bottom: 40px; }
.ptab__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.price__empty { padding: clamp(24px, 3vw, 40px); background: var(--soft); }
.price__empty p:not(.h-md) { color: var(--ink); max-width: 36em; margin: 10px 0 20px; }
.price__note { color: var(--muted); max-width: 60em; }

/* онлайн-запись */
.bk-wrap { padding-top: clamp(24px, 3vw, 40px); }
.bk__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); margin-bottom: clamp(30px, 3vw, 44px); }
.steps__i { margin-top: -1px; border-top: 2px solid transparent; min-width: 0; }
.steps__i.is-done, .steps__i.is-cur { border-color: var(--fg); }
.steps__i > button, .steps__b { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 10px; row-gap: 1px; width: 100%; padding: 14px 10px 4px 0; border: 0; background: none; text-align: left; color: inherit; font: inherit; }
.steps__i i { grid-row: span 2; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; font: 500 11px/1 var(--font-body); font-style: normal; color: var(--muted); background: var(--bg); }
.steps__i.is-cur i { background: var(--lemon); border-color: var(--fg); color: var(--fg); }
.steps__i.is-done i { background: var(--fg); border-color: var(--fg); }
.steps__i i svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.steps__t { font-size: 14.5px; font-weight: 600; }
.steps__i:not(.is-cur):not(.is-done) .steps__t { color: var(--muted); font-weight: 500; }
.steps__i small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps__i > button:hover .steps__t { text-decoration: underline; }
.steps-m { display: none; }
.bk__h { font: 300 clamp(32px, 3.4vw, 50px)/1.04 var(--font-head); letter-spacing: -.022em; margin-bottom: 12px; outline: none; }
.bk__sub { color: var(--muted); max-width: 44em; margin-bottom: 28px; }
.bk__nav { margin-top: 26px; }
.bk__back { display: inline-flex; align-items: center; gap: 8px; padding: 10px 2px; border: 0; background: none; font-size: 15px; font-weight: 500; }
.bk__back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.bk__back:hover svg { transform: translateX(-3px); }
.bk__empty { padding: 20px; background: var(--soft); }
.opts { display: grid; gap: 14px; }
.opts--dep { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts--doc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { display: grid; align-content: start; padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); color: inherit; font: inherit; text-align: left; overflow: hidden; transition: border-color .2s, box-shadow .25s, transform .25s; }
.opt:hover { border-color: var(--fg); box-shadow: 0 16px 34px -24px rgba(21, 20, 16, .5); transform: translateY(-2px); }
.opt.is-on { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.opt__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.opt__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.opt__t { display: block; }
.opt__s { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); }
.opt__p { display: block; font-size: 14px; font-weight: 600; }
.opt--dep { grid-template-rows: auto auto 1fr auto; }
.opt--dep .opt__t { padding: 14px 16px 0; font: 400 24px/1.1 var(--font-head); letter-spacing: -.01em; }
.opt--dep .opt__s { padding: 6px 16px 0; }
.opt--dep .opt__p { padding: 12px 16px 16px; }
.opt--unsure { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 20px 22px; background: var(--lemon-3); border-color: #E8CF77; }
.opt__q { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--lemon); font: 300 30px/1 var(--font-head); }
.opt--unsure .opt__t { font: 400 23px/1.15 var(--font-head); }
.opt--unsure .opt__s { color: var(--ink); margin-top: 4px; }
.opt--unsure .i { width: 24px; height: 24px; }
.opt--doc { grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 16px; padding: 14px; }
.opt__ava { position: relative; width: 96px; height: 116px; overflow: hidden; border-radius: 4px; background: var(--soft); }
.opt__ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.opt__body { display: grid; gap: 5px; }
.opt--doc .opt__t { font: 400 23px/1.1 var(--font-head); letter-spacing: -.01em; }
.opt__near { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ok); }
.opt__near::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3C8A48; flex: none; }
.opt--any { background: var(--lemon-3); border-color: #E8CF77; }
.opt--wide { grid-column: 1 / -1; }
.opt__stack { display: flex; align-items: center; justify-content: center; width: 96px; height: 116px; }
.opt__stack img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 2px solid var(--lemon-3); margin-left: -16px; }
.opt__stack img:first-child { margin-left: 0; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { display: grid; justify-items: center; gap: 2px; min-height: 108px; padding: 10px 4px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); color: inherit; font: inherit; transition: border-color .2s, background .2s; }
.day:not(:disabled):hover { border-color: var(--fg); background: var(--lemon-3); }
.day__w { font-size: 12.5px; color: var(--muted); }
.day__d { font: 300 34px/1 var(--font-head); margin: 2px 0; }
.day__m { font-size: 12.5px; color: var(--muted); }
.day__f { margin-top: 6px; font-size: 11.5px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.day:disabled { background: transparent; border-style: dashed; cursor: default; }
.day:disabled .day__d, .day:disabled .day__f { color: #8C877C; font-weight: 400; }
.day.is-on { background: var(--fg); border-color: var(--fg); color: #fff; }
.day.is-on .day__w, .day.is-on .day__m { color: #D8D2C4; }
.day.is-on .day__f { color: var(--lemon); }
.slots { display: grid; gap: 24px; }
.slots__h { font: 500 11.5px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
.slots__row { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { min-width: 78px; min-height: 48px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius-btn); background: var(--paper); font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; transition: border-color .2s, background .2s; }
.slot:hover:not(:disabled) { border-color: var(--fg); background: var(--lemon-3); }
.slot.is-on { background: var(--fg); color: #fff; border-color: var(--fg); }
.slot:disabled { background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(210, 203, 187, .45) 5px 6px); border-color: var(--line); color: #8C877C; text-decoration: line-through; cursor: not-allowed; font-weight: 400; }
.slots__legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; font-size: 13.5px; color: var(--muted); }
.lg { width: 16px; height: 16px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--paper); }
.lg--busy { margin-left: 14px; background: repeating-linear-gradient(135deg, transparent 0 3px, var(--line-2) 3px 4px); }
.pf { display: grid; gap: 20px; max-width: 660px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.seg legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: var(--step--1); color: var(--muted); }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--paper); font-size: 15px; transition: background .2s, border-color .2s; }
.seg label:hover span { border-color: var(--fg); }
.seg input:checked + span { background: var(--fg); color: #fff; border-color: var(--fg); }
.seg input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }
.seg input:disabled { cursor: not-allowed; }
.seg input:disabled + span { color: #8C877C; border-style: dashed; text-decoration: line-through; }
.pf__hint { margin: -8px 0 0; padding: 11px 14px; background: var(--lemon-3); border-radius: 4px; font-size: 14px; color: var(--ink); }
.pf__row, .pf__child { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input, .field select, .field textarea { border-color: var(--line-2); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fg); outline: none; box-shadow: 0 0 0 3px rgba(255, 210, 28, .55); }
.field.is-bad select { border-color: var(--bad); }
.linkbtn { padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--fg); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.bk__sum { position: sticky; top: calc(var(--top-h) + 16px); padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.bk__sum .kicker { margin-bottom: 12px; }
.sum { margin: 0; }
.sum__r { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; }
.sum__r dt { font-size: 13px; color: var(--muted); }
.sum__r dd { margin: 0; }
.sum__r dd small { display: block; font-size: 12.5px; color: var(--muted); }
.sum__e { color: var(--muted); font-style: italic; }
.sum__doc { display: flex; align-items: center; gap: 10px; }
.sum__doc img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.sum__sos { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 10px; padding: 10px 12px; border-radius: 4px; background: #FBEAE3; font-size: 13px; line-height: 1.45; color: #5E1E10; }
.sum__sos svg { width: 16px; height: 16px; flex: none; margin-top: 1px; fill: none; stroke: var(--bad); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sum__sos a { color: inherit; font-weight: 700; }
.bk__sum .small { margin: 0; color: var(--muted); }
.ok { display: grid; gap: 28px; }
.ok__head { display: flex; align-items: flex-start; gap: 24px; }
.ok__ic { width: 68px; height: 68px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--lemon); }
.ok__ic svg { width: 32px; height: 32px; fill: none; stroke: var(--fg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ok__t { font: 300 clamp(40px, 4.8vw, 72px)/1 var(--font-head); letter-spacing: -.026em; outline: none; }
.ok__t span { font-size: .42em; letter-spacing: 0; color: var(--muted); vertical-align: middle; }
.ok__lead { font-size: 18px; color: var(--ink); max-width: 40em; margin: 14px 0 0; }
.ok__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.ok__card { padding: 26px; background: var(--paper); border: 1px solid var(--line); }
.ok__doc { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ok__doc img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.ok__doc b { display: block; font: 400 26px/1.1 var(--font-head); letter-spacing: -.01em; }
.ok__doc small { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.ok__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 20px 0 0; }
.ok__dl dt { font: 500 11px/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ok__dl dd { margin: 5px 0 0; font-size: 17px; }
.ok__wide { grid-column: 1 / -1; }
.ok__bring { padding: 26px; background: var(--mist-2); }
.ok__bring h3 { font: 400 26px/1.1 var(--font-head); margin-bottom: 14px; }
.ok__bring ul { display: grid; gap: 9px; padding-left: 20px; margin-bottom: 18px; }
.ok__bring li::marker { color: var(--muted); }
.ok__bring .small { color: var(--ink); margin: 0; }
.ok__demo { margin: 0; color: var(--muted); }

/* о клинике */
.duo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: end; margin-top: var(--sec); }
.duo figure { margin: 0; }
.duo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; background: var(--soft); }
.duo__b img { aspect-ratio: 4 / 4.4; }
.duo figcaption { margin-top: 12px; font-size: 14.5px; color: var(--muted); max-width: 34em; }
.equip__ph { margin: 32px 0 0; }
.equip__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.equip__list { list-style: none; padding: 0; border-top: 1px solid var(--line-2); }
.equip__list li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.equip__list b { font-size: 16.5px; font-weight: 500; }
.equip__list span { font-size: 14.5px; color: var(--muted); }
.docs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.docs li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.docs .i { width: 28px; height: 28px; stroke-width: 1.3; }
.docs b { display: block; font-size: 15.5px; font-weight: 500; line-height: 1.35; }
.docs small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.docs em { font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; padding: 4px 9px; border-radius: 99px; background: var(--lemon-3); }

/* контакты */
.contacts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.cblock { padding: 20px 0 26px; border-top: 1px solid var(--line-2); }
.cblock .kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-bottom: 12px; }
.cblock__big { font: 300 clamp(26px, 2.5vw, 36px)/1.15 var(--font-head); letter-spacing: -.015em; margin-bottom: 12px; }
.cblock__big a { text-decoration: none; }
.cblock p { margin-bottom: 6px; }
.cblock p a { display: inline-flex; align-items: center; gap: 6px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th { padding: 8px 12px 8px 0; text-align: left; font-weight: 400; color: var(--muted); vertical-align: top; }
.hours td { padding: 8px 0; text-align: right; }
.hours tr + tr { border-top: 1px solid var(--line); }
.map { position: relative; border: 1px solid var(--line); background: #EFEBE1; }
.map__svg { width: 100%; height: auto; }
.map__btn { position: absolute; right: 16px; bottom: 16px; }
.map__lbl { font: 500 12.5px var(--font-body); fill: #5E5A51; }
.map__st { font: 600 10.5px var(--font-body); fill: #8A8478; letter-spacing: .1em; text-transform: uppercase; }
.map__p { font: 600 18px var(--font-body); fill: #fff; }
.map__name { font: 600 14px var(--font-body); fill: var(--fg); }
.map__walk { font: 500 12.5px var(--font-body); fill: var(--fg); }
.map__river { font: 300 14px var(--font-head); fill: #5F7479; }
.ask__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; padding: clamp(28px, 4.4vw, 60px); background: var(--mist-2); }
.ask__in p { color: var(--ink); max-width: 30em; margin-top: 16px; }
.ask__in p a { color: var(--fg); font-weight: 500; }
.lead .btn { margin-top: 4px; }
.lead .small { color: var(--muted); margin: 0; }
.done { background: var(--paper); }

/* окно заявки */
.modal__t { font-weight: 300; letter-spacing: -.015em; }
.modal__box { border-radius: 8px; }

/* адаптив */
@media (max-width: 1180px) {
  .nav { display: none; }
  .top__tel { margin-left: auto; }
  .burger { display: block; }
  .drow { grid-template-columns: 40px 180px minmax(0, 1fr) 170px 30px; gap: 22px; }
  .bk__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .dcards--2 { grid-template-columns: minmax(0, 1fr); }
  .others__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .others__row a:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; min-height: 0; }
  .hero__txt { padding: 36px var(--pad) 40px; }
  .hero--dep .hero__txt .crumbs { padding-bottom: 28px; }
  .hero__ph { aspect-ratio: 16 / 10; }
  .welcome, .split, .phead__in, .unsure__in, .cta__in, .ask__in, .contacts { grid-template-columns: minmax(0, 1fr); }
  .dcards--2 { grid-template-columns: minmax(0, 1fr); }
  .cta .btns { justify-content: flex-start; }
  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick a:nth-child(2) { border-right: 1px solid var(--line); }
  .quick a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer__cols { grid-template-columns: 1fr; }
  .offer__col { min-height: 0; padding: 48px 0 8px; }
  .offer__col + .offer__col { border-left: 0; padding-left: 0; border-top: 1px solid rgba(21, 20, 16, .14); margin-top: 32px; }
  .offer__col:first-child { padding-top: 120px; }
  .app__box { grid-template-columns: 1fr; padding-top: 48px; }
  .app__txt { order: -1; }
  .how__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how__steps li:nth-child(4) { padding-left: 0; border-left: 0; }
  .how__steps li:nth-child(n+4) { border-top: 1px solid var(--line); margin-top: 12px; }
  .prep__list, .rules, .ways__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prep__list li:nth-child(3), .rules li:nth-child(3), .ways__list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .prep__list li:nth-child(n+3), .rules li:nth-child(n+3), .ways__list li:nth-child(n+3) { border-top: 1px solid var(--line-2); margin-top: 18px; }
  .dcards--3, .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room { grid-template-columns: 160px minmax(0, 1fr); }
  .room .btn { grid-column: 2; justify-self: start; }
  .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drow { grid-template-columns: 150px minmax(0, 1fr) 28px; gap: 6px 22px; }
  .drow__n { display: none; }
  .drow__meta { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
  .drow__ph { grid-row: span 2; }
  .drow__go { grid-column: 3; grid-row: 1 / span 2; }
  .bk__grid { grid-template-columns: minmax(0, 1fr); }
  .bk__sum { position: static; }
  .opts--dep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 760px) {
  :root { --top-h: 66px; --step-0: 16.5px; }
  .top__in { gap: 12px; }
  .top__tel { display: none; }
  .top__cta { margin-left: auto; }
  .mark { width: 26px; height: 26px; }
  .logo__w { font-size: 15.5px; }
  .logo__w span { font-size: 12.5px; }
  .hero__t { font-size: clamp(38px, 10.6vw, 48px); }
  .hero__t--dep { font-size: clamp(34px, 9.4vw, 44px); }
  .hero__lead, .phead__lead { font-size: 17px; }
  .hero__ph { aspect-ratio: 4 / 3.4; }
  .marks { gap: 16px; }
  .infoline { flex-direction: column; gap: 10px; }
  .open { margin: 6px 0 0; }
  .infoline__l p:first-child { display: flex; flex-direction: column; align-items: flex-start; }
  .feature__card { height: auto; display: flex; flex-direction: column; background: #2B2720; }
  .feature__card img { position: relative; height: 240px; object-position: 40% 25%; }
  .feature__card::after { display: none; }
  .feature__txt { position: static; padding: 20px 18px 24px; }
  .feature__t { font-size: 32px; }
  .feature__s { font-size: 15.5px; }
  .quick { grid-template-columns: 1fr; }
  .quick a, .quick a:nth-child(2) { grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; padding: 16px 16px 16px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .quick a:last-child { border-bottom: 0; }
  .quick i { grid-row: span 2; margin: 0; }
  .dirs { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-2); }
  .dir { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
  .dir__ph { grid-row: 1 / span 4; aspect-ratio: 1; }
  .dir__row { margin: 0; }
  .dir__row i { display: none; }
  .dir__t { font-size: 27px; }
  .dir__s { font-size: 14.5px; }
  .dir__go { display: none; }
  .pcard { width: 76vw; max-width: 300px; }
  .app__box { padding: 36px 20px 0; gap: 28px; margin-inline: calc(-1 * var(--pad)); }
  .app__vis { padding-bottom: 36px; }
  .phone { width: 236px; }
  .phone__ph { height: 120px; }
  .glass--a { left: -2px; top: 112px; width: 140px; font-size: 11.5px; padding: 11px 12px; }
  .glass--b { left: auto; right: -2px; bottom: 70px; width: 128px; font-size: 11.5px; padding: 11px 12px; }
  .glass--b b { font-size: 32px; }
  .how__steps { grid-template-columns: 1fr; }
  .how__steps li, .how__steps li + li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 16px; padding: 14px 0; border-left: 0; border-top: 0; margin: 0; border-bottom: 1px solid var(--line); }
  .how__steps li:nth-child(n+4) { margin-top: 0; border-top: 0; }
  .how__steps i { grid-row: span 2; margin: 2px 0 0; }
  .how .btn { width: 100%; }
  .reasons { grid-template-columns: 1fr; }
  .reasons li:nth-child(odd), .reasons li:nth-child(even) { padding: 15px 0; border-left: 0; }
  .prow { grid-template-columns: minmax(0, 1fr) auto; }
  .prow__d { grid-column: 1; grid-row: 2; }
  .prow__p { grid-row: 1 / span 2; align-self: center; }
  .prep__list, .rules, .ways__list { grid-template-columns: 1fr; }
  .prep__list li, .rules li, .ways__list li, .prep__list li + li, .rules li + li, .ways__list li + li { padding: 20px 0 18px; border-left: 0; margin: 0; }
  .prep__list li + li, .rules li + li, .ways__list li + li { border-top: 1px solid var(--line-2); }
  .prep__list li:nth-child(n+3), .rules li:nth-child(n+3), .ways__list li:nth-child(n+3) { margin-top: 0; }
  .dcards, .dcards--2, .dcards--3, .docs { grid-template-columns: 1fr; }
  .dcards--1 .dcard, .dcards--2 .dcard { grid-template-columns: 1fr; }
  .room { grid-template-columns: 1fr; gap: 14px; padding: 14px 14px 18px; }
  .room .btn { grid-column: auto; width: 100%; }
  .dcard__ph, .dcards--1 .dcard__ph, .dcards--2 .dcard__ph { min-height: 0; aspect-ratio: 5 / 4.4; }
  .others__row { grid-template-columns: 1fr; }
  .others__row a, .others__row a + a, .others__row a:nth-child(4) { padding: 15px 0; border-left: 0; }
  .foot__top { grid-template-columns: 1fr; gap: 32px; }
  .foot__legal { flex-direction: column; }
  .drow { grid-template-columns: 96px minmax(0, 1fr); gap: 6px 16px; padding: 20px 0; align-items: start; }
  .drow__ph { grid-row: span 1; }
  .drow__go { display: none; }
  .drow__body { grid-column: 2; }
  .drow__meta { grid-column: 1 / -1; grid-row: auto; }
  .drow__tags { display: none; }
  .drow__s { margin: 6px 0 0; font-size: 15px; }
  .drow__t { font-size: 30px; }
  .fbar { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 6px; scrollbar-width: none; }
  .fbar::-webkit-scrollbar { display: none; }
  .fbtn { flex: none; }
  .fbar__count { display: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 6px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs [role="tab"] { flex: none; }
  .search input { font-size: 17px; }
  .steps { display: none; }
  .steps-m { display: grid; gap: 10px; margin-bottom: 26px; font-size: 14px; font-weight: 600; }
  .steps-m__bar { display: block; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
  .steps-m__bar i { display: block; height: 100%; background: var(--fg); transition: width .4s; }
  .opts--dep, .opts--doc { grid-template-columns: 1fr; }
  .opt--dep { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 14px; padding: 12px; }
  .opt--dep .opt__img { grid-row: 1 / span 3; aspect-ratio: auto; height: 100%; min-height: 96px; border-radius: 4px; }
  .opt--dep .opt__t, .opt--dep .opt__s, .opt--dep .opt__p { padding: 0; }
  .opt--dep .opt__t { font-size: 21px; }
  .opt--dep .opt__s { font-size: 13.5px; margin-top: 3px; }
  .opt--dep .opt__p { margin-top: 6px; font-size: 13.5px; }
  .opt--unsure { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 14px; }
  .opt--unsure > .i { display: none; }
  .opt--doc { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .opt__ava, .opt__stack { width: 80px; height: 100px; }
  .opt__stack img { width: 44px; height: 44px; margin-left: -22px; }
  .opt--doc .opt__t { font-size: 21px; }
  .days { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .day { min-height: 98px; }
  .day__d { font-size: 30px; }
  .slots__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .slot { min-width: 0; padding: 0 4px; }
  .sum__r.is-empty { display: none; }
  .pf__row, .pf__child { grid-template-columns: 1fr; }
  .ok__head { flex-direction: column; gap: 16px; }
  .ok__grid { grid-template-columns: 1fr; }
  .ok__dl { grid-template-columns: 1fr; }
  .ok .btns .btn { width: 100%; }
  .duo { grid-template-columns: 1fr; }
  .duo__b { display: none; }
  .phead__in { padding-top: 16px; }
  .page-h { font-size: clamp(44px, 12vw, 58px); }
  .cta .btns .btn { width: 100%; }
  .unsure .btns .btn, .ask .btn { width: 100%; }
  .map__btn { position: static; margin: 12px; display: flex; }
  .map__lbl { font-size: 19px; }
  .map__st { font-size: 15px; letter-spacing: .06em; }
  .map__name { font-size: 21px; }
  .map__walk { font-size: 18px; }
  .map__river { font-size: 21px; }
  .docs li { grid-template-columns: auto minmax(0, 1fr); }
  .docs em { grid-column: 2; justify-self: start; }
  .sec__head { align-items: flex-start; }
  .team__bar .arrows { display: none; }
}
@media (max-width: 360px) {
  .top__cta { padding: 0 14px; }
  .logo__w span { display: none; }
}
