/* «Ару» — клиника эстетической косметологии (демо-шаблон Webman). Внешний вид поверх _engine/base.css.
   Цвета — токены ниже: тёплая бежево-кофейная гамма. --accent — кнопки и акценты (белый текст на нём проходит контраст 4.5:1),
   --beige — декоративный бежевый, --coffee — тёмные секции и подвал. Шрифты: Tenor Sans (заголовки капсами) + Manrope (текст). */
:root {
  --bg: #fff; --paper: #faf6f2; --sand: #f3ece5; --sand-2: #eadfd5;
  --fg: #2b2320; --muted: #6f625a; --line: #e8ded5; --line-2: #d8c7ba;
  --accent: #8c6650; --accent-2: #75543f; --accent-ink: #fff; --beige: #b48b72;
  --coffee: #2b2320; --coffee-2: #3b2f29; --on-dark: #eadfd6; --on-dark-muted: #c4ad9d;
  --bad: #b3361f;
  --radius: 2px; --radius-btn: 999px; --wrap: 1360px; --pad: 40px; --gap: 24px;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Tenor Sans', 'Manrope', Georgia, serif;
  --step--1: 14px; --step-0: 17px; --step-1: 19px; --step-2: 23px; --step-3: clamp(26px, 2.6vw, 34px); --step-4: clamp(36px, 4.6vw, 66px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html { scroll-padding-top: 96px; }
body { line-height: 1.6; }
::selection { background: #ead8cb; }
h1, h2, h3 { font-weight: 400; }
.cap { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .015em; font-weight: 400; }
.h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.12; }
.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.intro { font-size: var(--step-1); line-height: 1.6; max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ——— кнопки ——— */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font: 500 15px/1.1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.pill:active { transform: translateY(1px); }
.pill .ic-plus { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.pill .ic-arr { width: 22px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .25s; }
.pill:hover .ic-arr { transform: translateX(3px); }
.pill--accent { background: var(--accent); color: #fff; }
.pill--accent:hover { background: var(--accent-2); }
.pill--light { background: #fff; color: var(--fg); }
.pill--light:hover { background: var(--sand); }
.pill--glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pill--glass:hover { background: rgba(255, 255, 255, .22); }
.pill--line { background: transparent; color: var(--fg); border-color: var(--line-2); }
.pill--line:hover { border-color: var(--fg); }
.pill--lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn { min-height: 54px; font-weight: 600; letter-spacing: .01em; }
.btn:hover { filter: none; background: var(--accent-2); }
.oval { display: inline-grid; place-items: center; width: 50px; height: 28px; border: 1px solid currentColor; border-radius: 999px; opacity: .6; transition: opacity .25s, background .25s, color .25s, border-color .25s; flex: none; }
.oval .ic-arr { width: 20px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.oval--btn { width: 44px; height: 44px; opacity: 1; background: none; color: var(--accent); border-color: var(--line-2); }
.oval--btn .ic-plus { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.oval--btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.link { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); font-weight: 600; text-decoration: none; font-size: 15.5px; }
.link .ic-arr { width: 26px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .25s; }
.link:hover .ic-arr { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.arrows { display: flex; gap: 10px; }
.arw { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; background: none; color: inherit; display: grid; place-items: center; opacity: .9; transition: opacity .2s, background .2s; }
.arw svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.arw:hover { background: rgba(255, 255, 255, .14); }
.arw:disabled { opacity: .3; cursor: default; }

/* ——— шапка ——— */
.top { background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); color: var(--fg); transition: background .3s, color .3s, border-color .3s; }
.top__in { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; display: flex; align-items: center; gap: 16px; height: 78px; }
.top__grid { width: 42px; height: 42px; margin-left: -10px; border: 0; background: none; color: inherit; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.top__grid:hover { background: rgba(140, 102, 80, .1); }
.ic-grid { width: 18px; height: 18px; fill: currentColor; }
.logo { display: inline-flex; flex-direction: column; gap: 7px; text-decoration: none; color: inherit; line-height: 1; }
.logo__w { font: 400 27px/.85 var(--font-head); letter-spacing: .24em; margin-right: -.24em; }
.logo__s { font: 500 9.5px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.top__nav { display: flex; gap: 26px; margin-left: auto; margin-right: 10px; }
.top__nav a { position: relative; padding: 8px 0; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.top__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.top__nav a:hover::after, .top__nav a.is-on::after { transform: scaleX(1); }
.top__tel { font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; margin-right: 6px; }
.top__cta { min-height: 40px; padding: 0 18px; font-size: 14px; }
body:not(.is-home) .top__cta, .top.is-scrolled .top__cta { background: var(--accent); color: #fff; }
body:not(.is-home) .top__cta:hover, .top.is-scrolled .top__cta:hover { background: var(--accent-2); }
.is-home .top { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: rgba(255, 255, 255, .0); color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-home .top.is-scrolled { background: rgba(255, 255, 255, .95); color: var(--fg); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.is-home .top:not(.is-scrolled) .top__grid:hover { background: rgba(255, 255, 255, .14); }

/* мобильное меню (открывается и на компьютере — кнопкой-сеткой, как в референсе) */
.mnav { width: min(440px, 100%); padding: 22px 34px 34px; }
.mnav__top { margin-bottom: 28px; }
.mnav__main { gap: 0; }
.mnav__main a { font: 400 22px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .02em; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mnav a.is-on { color: var(--accent); }
.mnav__h { margin: 28px 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mnav__sub li a { font-size: 16px; padding: 7px 0; }
.mnav__foot { margin-top: 30px; }
.mnav__tel { font-size: 21px; font-weight: 600; text-decoration: none; }
.mnav__foot .pill { justify-self: start; }

/* ——— общие секции ——— */
.sec { position: relative; padding: clamp(64px, 8vw, 120px) 0; }
.sec--top0 { padding-top: 0; }
.sec--tight { padding: 0 0 clamp(64px, 8vw, 120px); }
.sec--sand { background: var(--paper); }
.sec__h { margin-bottom: clamp(32px, 4vw, 56px); max-width: 780px; }
.sec__h--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
.curves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.curves path { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .75; }
.curves ~ * { position: relative; z-index: 1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.split--faq { grid-template-columns: 5fr 7fr; }
.split--faq .h2 { margin-bottom: 16px; }
.faq summary { font-size: 18px; line-height: 1.4; padding: 22px 0; }
.faq summary::after { color: var(--accent); font-weight: 300; }
.faq details > div p { margin: 0; }
.crumbs { padding: 26px 0 0; font-size: 13.5px; }
.crumbs a:hover { color: var(--accent); }

/* ——— первый экран ——— */
.hero { position: relative; display: flex; align-items: flex-end; height: clamp(640px, 100vh, 980px); height: clamp(640px, 100svh, 980px); color: #fff; background: var(--coffee-2); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; animation: heroIn 1.6s var(--ease) both; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 27, 22, .42) 0%, rgba(36, 27, 22, 0) 20%, rgba(36, 27, 22, 0) 46%, rgba(36, 27, 22, .7) 100%); }
@keyframes heroIn { from { transform: scale(1.06); opacity: .6; } to { transform: none; opacity: 1; } }
.hero__in { position: relative; z-index: 1; padding-bottom: clamp(36px, 5vw, 56px); }
.hero__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .5); font-size: 14px; }
.hero__row p { margin: 0; }
.hero__row a { text-decoration: none; white-space: nowrap; }
.hero__tag { display: flex; align-items: center; gap: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #f1e1d5; box-shadow: 0 0 0 4px rgba(241, 225, 213, .25); flex: none; }
.hero__main { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-top: 30px; }
.hero__t { font-size: clamp(30px, 3.5vw, 52px); line-height: 1.1; margin-bottom: 32px; text-wrap: balance; }
.hero__addr { margin: 0; text-align: right; font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .92); }

/* ——— карточки направлений ——— */
.sec--cards { padding-top: clamp(56px, 6vw, 80px); overflow: hidden; }
.sec--cards::before { content: ''; position: absolute; left: -6%; top: 30%; width: 48%; height: 46%; background: radial-gradient(closest-side, rgba(180, 139, 114, .22), rgba(180, 139, 114, 0)); pointer-events: none; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; padding: 0; }
.scard { position: relative; display: flex; flex-direction: column; color: var(--fg); text-decoration: none; background: #fff; }
.scard__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.scard__panel { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; padding: 22px 24px 24px; background: linear-gradient(180deg, rgba(243, 236, 229, .95), rgba(250, 246, 242, .85)); border: 1px solid var(--line); border-top: 0; }
.scard__t { grid-column: 1 / -1; font-size: 18.5px; font-weight: 500; line-height: 1.3; margin-bottom: 14px; }
.scard__p { color: var(--muted); font-size: 14.5px; }
.scard:hover .scard__img img { transform: scale(1.05); }
.scard:hover .oval { opacity: 1; background: var(--accent); border-color: var(--accent); color: #fff; }

/* ——— «Ару — это» ——— */
.about { padding-top: clamp(40px, 5vw, 64px); }
.about__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.about__k { font-size: 19px; font-weight: 500; margin-bottom: 26px; }
.about__t { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.14; }
.about__r { padding-top: 58px; }
.about__lead { font-size: 20px; line-height: 1.55; margin-bottom: 30px; max-width: 34em; }
.about .curves path { opacity: .5; }
.princ { list-style: none; padding: 0; margin-top: 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.princ li { border-top: 1px solid var(--line-2); padding-top: 16px; }
.princ b { display: block; font-weight: 600; margin-bottom: 4px; }
.princ span { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ——— баннеры ——— */
.banner { position: relative; display: flex; align-items: flex-end; min-height: clamp(400px, 33vw, 480px); overflow: hidden; color: #fff; background: var(--coffee-2); }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; transition: transform 1.6s var(--ease); }
.banner:hover .banner__img { transform: scale(1.03); }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43, 35, 32, .66) 0%, rgba(43, 35, 32, .3) 48%, rgba(43, 35, 32, 0) 100%), linear-gradient(0deg, rgba(43, 35, 32, .35) 0%, rgba(43, 35, 32, 0) 50%); }
.banner__in { position: relative; z-index: 1; width: 100%; padding: 30px 36px 36px; }
.banner .hero__row { border-bottom-color: rgba(255, 255, 255, .45); }
.banner__t { font-size: clamp(28px, 3vw, 46px); line-height: 1.1; margin: 30px 0 12px; }
.banner__s { max-width: 46ch; margin-bottom: 24px; color: rgba(255, 255, 255, .92); }
.check { position: relative; display: flex; align-items: center; min-height: 320px; margin-top: clamp(40px, 6vw, 88px); overflow: hidden; background: #f2ede8; }
.check__img { position: absolute; right: 0; top: 0; width: 64%; height: 100%; object-fit: cover; filter: saturate(.18) sepia(.22) brightness(1.08) contrast(.92); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%); mask-image: linear-gradient(90deg, transparent 0%, #000 42%); }
.check__in { position: relative; z-index: 1; max-width: 560px; padding: 40px 36px; }
.check__t { font-size: clamp(28px, 3vw, 44px); margin-bottom: 16px; }
.check__in > p { max-width: 46ch; }
.check__price { font-weight: 600; color: var(--accent); margin-bottom: 22px; }

/* ——— подбор: тизер на главной ——— */
.qteaser { background: var(--paper); }
.qteaser__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.arch { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }
.qteaser__media { position: relative; max-width: 470px; }
.qteaser__badge { position: absolute; right: -26px; bottom: 48px; width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--accent); color: #fff; font-size: 14px; line-height: 1.35; font-weight: 500; box-shadow: 0 20px 40px -20px rgba(43, 35, 32, .6); }
.qteaser .intro { margin: 20px 0 0; }
.qsteps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 30px 0 38px; }
.qsteps li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.qsteps span { width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--accent); font-weight: 600; background: #fff; }
.qteaser__q { font-weight: 600; margin-bottom: 14px; }
.qzones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qzone { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; background: #fff; border: 1px solid var(--line-2); text-decoration: none; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.qzone .ic-arr { width: 24px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.3; flex: none; transition: transform .25s; }
.qzone:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.qzone:hover .ic-arr { transform: translateX(4px); }

/* ——— популярные (тёмная) ——— */
.pop { position: relative; overflow: hidden; color: #fff; background: var(--coffee); padding: clamp(64px, 7vw, 104px) 0 clamp(56px, 6vw, 92px); }
.pop__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; filter: sepia(.3) saturate(.8); }
.pop::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(43, 35, 32, .62) 0%, rgba(43, 35, 32, .25) 45%, rgba(43, 35, 32, .88) 100%); }
.pop__in { position: relative; z-index: 2; }
.pop__h { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(140px, 17vw, 250px); }
.pop__k { font-size: 14px; color: var(--on-dark-muted); margin-bottom: 14px; }
.pop__t { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1; }
.track { list-style: none; padding: 0; margin: 0; display: flex; gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.pop__i { flex: 0 0 min(380px, 82%); scroll-snap-align: start; }
.pop__i a { display: grid; gap: 14px; justify-items: start; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .5); color: #fff; text-decoration: none; }
.pop__n { font: 400 clamp(20px, 1.8vw, 26px)/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .01em; }
.pop__m { font-size: 14px; color: var(--on-dark-muted); }
.pop__i a:hover .oval { opacity: 1; background: #fff; color: var(--fg); border-color: #fff; }

/* ——— вкладки «Специалисты / Клиника» ——— */
.team { position: relative; overflow: hidden; color: #fff; padding: 44px 0 84px; background: radial-gradient(ellipse 55% 60% at 12% 0%, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 70%), linear-gradient(115deg, #86624d 0%, #7c5b47 50%, #6e503e 100%); }
.team__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 44px; }
.tabs { display: flex; gap: 8px; }
.tabs [role="tab"] { min-height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: none; color: #fff; font-size: 14.5px; transition: background .2s, color .2s; }
.tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--fg); border-color: #fff; }
.tabs [role="tab"]:focus-visible, .team :focus-visible { outline-color: #fff; }
.team:has(#pan-sp[hidden]) .arrows { visibility: hidden; }
.team__track { gap: 28px; }
.tslide { flex: 0 0 min(1060px, 88%); display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; scroll-snap-align: start; }
.tslide__text { padding-bottom: 6px; }
.tslide__role { font-size: 14.5px; margin-bottom: 14px; }
.tslide__name { font-size: clamp(28px, 3vw, 46px); line-height: 1.1; margin-bottom: 18px; }
.tslide__d { max-width: 46ch; margin-bottom: 26px; }
.tslide__photo { background: #fff; aspect-ratio: 4 / 5; overflow: hidden; }
.tslide__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.tclinic { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: end; }
.tclinic__ph { display: grid; grid-template-columns: 1fr 1.35fr; gap: 16px; align-items: end; }
.tclinic__ph img { width: 100%; object-fit: cover; }
.tclinic__ph img:first-child { aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; }
.tclinic__ph img:last-child { aspect-ratio: 4 / 3; }

/* ——— шаги ——— */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps li { border-top: 1px solid var(--line-2); padding-top: 22px; }
.steps__n { display: block; margin-bottom: 28px; font: 400 15px var(--font-head); letter-spacing: .12em; color: var(--accent); }
.steps h3 { font: 600 18px/1.3 var(--font-body); margin-bottom: 10px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* ——— заявка ——— */
.cta { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 120px) 0; background: var(--sand); }
.cta .curves path { stroke: #d6c3b4; }
.cta .kicker { color: var(--accent-2); }
.cta__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.cta__media { max-width: 440px; }
.cta__lead { max-width: 52ch; margin: 18px 0 30px; }
.cta__alt { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.field { font-size: 13.5px; }
.field input, .field select, .field textarea { border-radius: 10px; border-color: var(--line-2); background: #fff; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%238c6650' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(140, 102, 80, .16); }
.lead__extra .field { color: var(--muted); }
.done { border-radius: 4px; background: #fff; }
.modal__box { border-radius: 4px; padding: 34px 32px 26px; }
.modal__t { font-size: clamp(24px, 2.4vw, 30px); }
.psum { margin-bottom: 4px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.psum__k { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.psum ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.psum li { display: flex; gap: 8px; font-weight: 500; font-size: 15px; }
.psum .ic-check, .ticks .ic-check, .rcard__why .ic-check { fill: none; stroke: var(--accent); stroke-width: 1.8; flex: none; }
.psum .ic-check { width: 16px; height: 16px; margin-top: 3px; }

/* ——— подвал ——— */
.foot { position: relative; overflow: hidden; background: var(--coffee); color: var(--on-dark); padding: 72px 0 30px; }
.foot .curves path { stroke: rgba(255, 255, 255, .08); opacity: 1; }
.foot__warn { margin: 0 0 56px; max-width: 30ch; font: 400 clamp(20px, 2.3vw, 32px)/1.25 var(--font-head); text-transform: uppercase; letter-spacing: .02em; color: #a98f7e; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot__brand p { margin: 22px 0 24px; max-width: 36ch; color: var(--on-dark-muted); font-size: 15px; }
.logo--light { color: #fff; }
.foot__h { margin-bottom: 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #a98f7e; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.foot ul a { text-decoration: none; color: var(--on-dark); }
.foot ul a:hover { color: #fff; text-decoration: underline; }
.foot__c li { color: var(--on-dark-muted); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; margin: 0; padding-top: 24px; font-size: 13.5px; color: #a98f7e; }
.foot__legal a { color: inherit; }
.foot :focus-visible { outline-color: #fff; }

/* ——— внутренние страницы: заголовки ——— */
.phead { position: relative; overflow: hidden; padding: 0 0 clamp(48px, 6vw, 84px); }
.phead__t { font-size: var(--step-4); line-height: 1.04; margin: 22px 0 22px; }
.phead .kicker { margin: 40px 0 0; }
.phead .intro { margin-bottom: 10px; }
.shead { position: relative; overflow: hidden; padding-bottom: clamp(56px, 7vw, 100px); }
.phead__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 80px); align-items: end; }
.phead__aside { margin-bottom: 10px; }
.countdown { padding: 30px; background: var(--paper); border: 1px solid var(--line); }
.countdown .kicker { margin: 0 0 10px; }
.countdown__n { font: 400 30px/1.15 var(--font-head); margin-bottom: 12px; }
.countdown__n b { display: block; font-weight: 400; font-size: 64px; line-height: 1; color: var(--accent); }
.countdown .small { margin: 0; color: var(--muted); }
.shead__in { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.shead .kicker { margin: 40px 0 0; }
.shead__t { font-size: clamp(36px, 4.2vw, 62px); line-height: 1.06; margin: 20px 0 22px; }
.shead__media { justify-self: end; width: 100%; max-width: 470px; }
.facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px 40px; margin: 34px 0 36px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; font-size: 16px; }

.ticks { list-style: none; padding: 0; display: grid; gap: 14px; margin: 28px 0 0; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 18px; line-height: 1.45; }
.ticks .ic-check { width: 18px; height: 18px; margin-top: 4px; }
.ticks--sm { gap: 10px; margin-top: 0; }
.ticks--sm li { font-size: 16px; }
.note { padding: 30px 32px; background: var(--paper); border: 1px solid var(--line); }
.note__k { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ic-info { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.note h3 { font: 400 26px/1.2 var(--font-head); margin: 8px 0 16px; }
.note ul { padding-left: 20px; display: grid; gap: 8px; margin-bottom: 16px; }
.note li::marker { color: var(--beige); }
.note p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.note p + p { margin-top: 10px; }
.note--warn { background: #fbf4ef; border-color: #ecd9cb; }

.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tri__i { border-left: 1px solid var(--line-2); padding: 4px 0 4px 28px; }
.tri__v { font: 400 clamp(24px, 2.3vw, 32px)/1.15 var(--font-head); margin-bottom: 12px; }
.tri__i p:last-child { color: var(--muted); margin: 0; }

.plist { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.plist__i { display: grid; grid-template-columns: 1fr 100px 230px 44px; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.plist__n b { display: block; font-size: 17.5px; font-weight: 600; margin-bottom: 2px; }
.plist__n small, .plist__p small { color: var(--muted); font-size: 14px; }
.plist__m { color: var(--muted); font-size: 15px; white-space: nowrap; }
.plist__p { text-align: right; }
.plist__p b { display: block; font-size: 18px; font-weight: 600; white-space: nowrap; }
.pnote { margin-top: 18px; }

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 22px; }
.specs--1 { grid-template-columns: minmax(0, 760px); }
.spec { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; padding: 22px; background: #fff; border: 1px solid var(--line); }
.spec__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #fff; }
.spec__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--ease); }
.spec:hover .spec__img img { transform: scale(1.04); }
.spec__body { display: grid; justify-items: start; gap: 6px; padding-top: 6px; }
.spec__role { margin: 0; font-size: 14px; color: var(--muted); }
.spec__name { font: 400 24px/1.15 var(--font-head); text-transform: uppercase; margin-bottom: 6px; }
.spec__name a { text-decoration: none; }
.spec__name a:hover { color: var(--accent); }
.spec__d { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.mini { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.mini a { display: grid; gap: 4px; text-decoration: none; color: var(--fg); }
.mini img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 10px; transition: opacity .25s; }
.mini a:hover img { opacity: .85; }
.mini span { font-weight: 600; line-height: 1.3; }
.mini small { color: var(--muted); font-size: 14px; }

/* ——— услуги ——— */
.fbar { align-items: center; margin-bottom: 8px; }
.fbtn { min-height: 42px; padding: 0 18px; border-color: var(--line-2); border-radius: 999px; font-size: 14.5px; transition: background .2s, color .2s, border-color .2s; }
.fbtn:hover { border-color: var(--fg); }
.fbtn.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.fcount { margin-left: auto; color: var(--muted); font-size: 14.5px; }
.ugroup { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: clamp(28px, 5vw, 64px); padding: 48px 0; border-bottom: 1px solid var(--line); }
.ugroup:first-of-type { border-top: 1px solid var(--line); margin-top: 24px; }
.ugroup__media { display: block; overflow: hidden; align-self: start; }
.ugroup__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.ugroup__media:hover img { transform: scale(1.04); }
.ugroup__t { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; margin-bottom: 16px; }
.ugroup__t a { text-decoration: none; }
.ugroup__t a:hover { color: var(--accent); }
.ugroup__body > p { max-width: 64ch; color: var(--muted); }
.ulist { list-style: none; padding: 0; margin: 24px 0 26px; border-top: 1px solid var(--line); }
.ulist a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.ulist a:hover b { color: var(--accent); }
.ulist span { font-weight: 500; }
.ulist small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; }
.ulist b { white-space: nowrap; font-weight: 600; }

/* ——— специалисты ——— */
.person { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(32px, 7vw, 110px); padding: 56px 0; border-top: 1px solid var(--line); align-items: start; }
.person--alt { grid-template-columns: 1fr minmax(0, 420px); }
.person--alt .person__ph { order: 2; }
.person__ph { background: #fff; }
.person__ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.person__name { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.08; margin-bottom: 12px; }
.person__since { color: var(--accent); font-weight: 600; }
.person__since small { color: var(--muted); font-weight: 400; }
.person__body > p { max-width: 58ch; }
.person__h { margin: 30px 0 12px; font: 600 12.5px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tags a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-size: 14.5px; transition: border-color .2s, color .2s; }
.tags a:hover { border-color: var(--accent); color: var(--accent); }

/* ——— цены ——— */
.prices { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.acc__i { border-top: 1px solid var(--line-2); }
.acc__i:last-child { border-bottom: 1px solid var(--line-2); }
.acc__i summary { list-style: none; display: flex; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; }
.acc__i summary::-webkit-details-marker { display: none; }
.acc__i summary .cap { flex: 1; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; }
.acc__i summary small { color: var(--muted); font-size: 14.5px; white-space: nowrap; }
.acc__i summary::after { content: '+'; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; font-size: 22px; font-weight: 300; color: var(--accent); transition: transform .3s; }
.acc__i[open] summary::after { transform: rotate(45deg); }
.acc__i summary:hover .cap { color: var(--accent); }
.acc__i .plist { border-top: 1px solid var(--line); }
.acc__more { margin: 18px 0 30px; }
.acc__i:first-child .plist { margin-bottom: 26px; }
.prices__aside { position: sticky; top: 104px; display: grid; gap: 20px; }
.prices__aside .note ul { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.qcard { position: relative; display: grid; gap: 10px; padding: 30px; background: var(--coffee); color: var(--on-dark); text-decoration: none; overflow: hidden; }
.qcard .kicker { color: var(--on-dark-muted); margin: 0; }
.qcard__t { font-size: 28px; line-height: 1.1; color: #fff; }
.qcard .oval { margin-top: 10px; color: #fff; }
.qcard:hover .oval { opacity: 1; background: #fff; color: var(--fg); }

/* ——— акции ——— */
.promos { display: grid; gap: 36px; }
.promo { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--paper); }
.promo--alt { grid-template-columns: 1fr 1.1fr; }
.promo--alt .promo__ph { order: 2; }
.promo__ph { position: relative; min-height: 440px; overflow: hidden; }
.promo__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#chek-ap .promo__ph img { filter: saturate(.3) sepia(.2) brightness(1.05); }
.promo__till { position: absolute; left: 20px; top: 20px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 14px; font-weight: 600; color: var(--fg); }
.promo__body { padding: clamp(28px, 4vw, 56px); }
.promo__t { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.1; margin-bottom: 16px; }
.promo__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; margin: 22px 0 4px; }
.promo__price b { font: 400 clamp(30px, 3vw, 40px)/1 var(--font-head); color: var(--accent); }
.promo__price s { color: var(--muted); font-size: 18px; }
.promo .pill { margin-top: 28px; }

/* ——— о клинике ——— */
.space { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.space__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.space__body .h2 { margin-bottom: 22px; }
.gallery { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 20px; align-items: end; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gallery figure:first-child img { aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; }
.gallery figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ——— контакты ——— */
.contacts { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: stretch; }
.ccard { padding: clamp(26px, 3.4vw, 44px); background: var(--paper); border: 1px solid var(--line); }
.clist { list-style: none; padding: 0; display: grid; gap: 20px; }
.clist li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; font-size: 17px; }
.clist svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.4; margin-top: 3px; }
.clist small { display: block; font-size: 13px; color: var(--muted); }
.clist a { text-decoration: none; font-weight: 600; }
.clist a:hover { color: var(--accent); }
.ccard .person__h { margin-top: 36px; }
.map { position: relative; min-height: 420px; background: var(--sand); overflow: hidden; }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__btn { position: absolute; left: 20px; bottom: 20px; box-shadow: 0 10px 30px -12px rgba(43, 35, 32, .4); }

/* ——— подбор процедуры ——— */
.phead--podbor .intro { max-width: 70ch; }
.podbor__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.podbor.is-result .podbor__grid { display: none; }
.quiz { min-height: 600px; padding: clamp(24px, 3.6vw, 52px); background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -56px rgba(43, 35, 32, .45); }
.podbor__aside { position: sticky; top: 104px; }
.podbor__aside .arch { aspect-ratio: 4 / 4.6; }
.podbor__how { margin-top: 24px; }
.podbor__how ul { padding-left: 18px; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.podbor__how li::marker { color: var(--beige); }
.quiz__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.quiz__top p { margin: 0; }
.quiz__top b { color: var(--fg); }
.quiz__live b { color: var(--accent); }
.quiz__lead b { font-weight: 600; }
.quiz__prog { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 38px; }
.quiz__prog li { padding-top: 10px; border-top: 3px solid var(--line); font-size: 13px; color: var(--muted); transition: border-color .3s; }
.quiz__prog li.is-done { border-color: var(--beige); }
.quiz__prog li.is-on { border-color: var(--accent); color: var(--fg); font-weight: 600; }
.quiz__prog button { padding: 0; border: 0; background: none; color: inherit; font-size: 13px; text-decoration: underline; text-decoration-color: var(--line-2); }
.quiz__prog button:hover { color: var(--accent); }
.quiz__form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.quiz__q { padding: 0; margin-bottom: 10px; font: 400 clamp(26px, 2.6vw, 36px)/1.15 var(--font-head); outline: none; }
.quiz__hint { color: var(--muted); margin-bottom: 26px; }
.opts { display: grid; gap: 12px; }
.opts--3 { grid-template-columns: repeat(3, 1fr); }
.opts--2 { grid-template-columns: 1fr 1fr; }
.opts--1 { grid-template-columns: 1fr; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt__box { display: grid; align-content: start; gap: 6px; height: 100%; padding: 18px 54px 18px 20px; background: #fff; border: 1px solid var(--line-2); transition: border-color .2s, background .2s, box-shadow .2s; }
.opt__t { font-size: 17px; font-weight: 600; line-height: 1.3; }
.opt__h { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.opt__mark { position: absolute; right: 18px; top: 19px; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; transition: background .2s, border-color .2s; pointer-events: none; }
.opt input[type="checkbox"] ~ .opt__mark { border-radius: 6px; }
.opt__mark svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; opacity: 0; }
.opt:hover .opt__box { border-color: var(--beige); }
.opt input:checked ~ .opt__box { background: #fbf6f2; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.opt input:checked ~ .opt__mark { background: var(--accent); border-color: var(--accent); }
.opt input:checked ~ .opt__mark svg { opacity: 1; }
.opt input:focus-visible ~ .opt__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.budget { padding-top: 6px; }
.budget__v { display: block; font: 400 clamp(34px, 4vw, 54px)/1.05 var(--font-head); color: var(--accent); }
.budget__k { display: block; margin: 8px 0 30px; font-size: 14px; color: var(--muted); }
.range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 4px; margin: 12px 0; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p, 40%), var(--line) var(--p, 40%)); cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--accent); box-shadow: 0 6px 16px rgba(43, 35, 32, .2); cursor: grab; }
.range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--accent); box-shadow: 0 6px 16px rgba(43, 35, 32, .2); cursor: grab; }
.range:focus-visible { outline-offset: 10px; }
.budget__scale { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13px; color: var(--muted); }
.chk { display: flex; align-items: flex-start; gap: 12px; margin-top: 30px; font-size: 15.5px; cursor: pointer; }
.chk input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.budget.is-off .budget__v, .budget.is-off .range, .budget.is-off .budget__scale { opacity: .35; }
.quiz__err { margin: 18px 0 0; color: var(--bad); font-size: 15px; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }

.result { outline: none; padding-top: 4px; }
.result__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 22px; }
.result__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14.5px; }
.chips small { margin-right: 6px; color: var(--muted); font-size: 13px; }
.rcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.rcards--2 { grid-template-columns: repeat(2, 1fr); }
.rcards--1 { grid-template-columns: minmax(0, 560px); }
.rcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); animation: rcIn .6s var(--ease) both; }
.rcard:nth-child(2) { animation-delay: .08s; }
.rcard:nth-child(3) { animation-delay: .16s; }
@keyframes rcIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rcard--top { border-color: var(--accent); box-shadow: 0 40px 80px -56px rgba(140, 102, 80, .8); }
.rcard__ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.rcard__ph img { width: 100%; height: 100%; object-fit: cover; }
.rcard__badge { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); font-size: 13px; font-weight: 600; }
.rcard--top .rcard__badge { background: var(--accent); color: #fff; }
.rcard__body { flex: 1; display: flex; flex-direction: column; padding: 24px 24px 26px; }
.rcard__g { margin-bottom: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.rcard__t { margin-bottom: 18px; font: 400 24px/1.2 var(--font-head); }
.rcard__k { margin-bottom: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rcard__why { list-style: none; padding: 0; display: grid; gap: 10px; margin-bottom: 20px; }
.rcard__why li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; line-height: 1.5; }
.rcard__why .ic-check { width: 16px; height: 16px; margin-top: 4px; }
.rcard__facts { display: grid; gap: 8px; margin: 0 0 16px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rcard__facts div { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; }
.rcard__facts dt { color: var(--muted); }
.rcard__facts dd { margin: 0; text-align: right; font-weight: 500; }
.rcard__price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.rcard__price div { padding: 12px 14px; background: var(--paper); }
.rcard__price small { display: block; font-size: 12.5px; color: var(--muted); }
.rcard__price b { font-size: 20px; font-weight: 600; white-space: nowrap; }
.rcard__note { margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.rcard .link { margin-top: auto; }
.result__low { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 28px; }
.result__low .note ul { font-size: 15.5px; }
.result__low .note a { color: var(--accent); font-weight: 600; }
.result__cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 28px; padding: clamp(28px, 3.4vw, 44px); background: var(--coffee); color: var(--on-dark); }
.result__cta p { margin: 0; max-width: 62ch; }
.result__cta-t { margin-bottom: 10px !important; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; color: #fff; }
.result__cta :focus-visible { outline-color: #fff; }
.disclaimer { display: flex; align-items: flex-start; gap: 12px; margin: 32px 0 0; padding: 18px 22px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 15px; }
.disclaimer .ic-info { color: var(--accent); }

/* 404 */
.lost { padding: 0; }
.lost__code { font-family: var(--font-head); margin-top: 40px; color: var(--beige); opacity: .35; }

/* ——— адаптив ——— */
@media (max-width: 1280px) {
  .top__tel { display: none; }
  .top__nav { gap: 20px; }
}
@media (max-width: 1100px) {
  :root { --pad: 28px; }
  .top__nav { display: none; }
  .top__cta { margin-left: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .mini { grid-template-columns: repeat(3, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr; }
  .prices__aside { position: static; grid-template-columns: 1fr 1fr; }
  .phead__grid { grid-template-columns: 1fr; }
  .phead__aside { max-width: 460px; }
  .podbor__grid { grid-template-columns: 1fr; }
  .podbor__aside { position: static; display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
  .podbor__how { margin: 0; }
  .rcards { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(2, auto); }
  .plist__i { grid-template-columns: 1fr 80px 190px 44px; gap: 16px; }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .about__in, .split, .split--faq, .qteaser__in, .cta__in, .shead__in, .space, .contacts { grid-template-columns: 1fr; }
  .about__r { padding-top: 0; }
  .qteaser__media { max-width: 380px; }
  .cta__media { display: none; }
  .shead__media { justify-self: start; max-width: 420px; }
  .tslide { grid-template-columns: 260px 1fr; }
  .tclinic { grid-template-columns: 1fr; }
  .ugroup, .person, .person--alt { grid-template-columns: 1fr; }
  .person--alt .person__ph { order: 0; }
  .person__ph { max-width: 420px; }
  .promo, .promo--alt { grid-template-columns: 1fr; }
  .promo--alt .promo__ph { order: 0; }
  .promo__ph { min-height: 300px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-row: span 2; }
}
@media (max-width: 760px) {
  :root { --pad: 16px; --step-0: 16px; --step-1: 17.5px; }
  body { font-size: 16px; }
  html { scroll-padding-top: 76px; }
  .top__in { height: 64px; gap: 10px; }
  .top__grid { margin-left: -8px; }
  .logo__w { font-size: 23px; }
  .logo__s { font-size: 8.5px; letter-spacing: .16em; }
  .top__cta { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
  .sec { padding: 60px 0; }
  .sec--top0 { padding-top: 0; }
  .sec--tight { padding: 0 0 60px; }
  .h2 { font-size: 27px; }
  .intro { font-size: 17px; }
  .pill { min-height: 46px; padding: 0 20px; }
  .actions .pill { flex: 1 1 auto; }

  .hero { height: auto; min-height: 640px; min-height: max(640px, 100svh); }
  .hero__img { object-position: 54% 30%; }
  .hero::after { background: linear-gradient(180deg, rgba(36, 27, 22, .45) 0%, rgba(36, 27, 22, 0) 18%, rgba(36, 27, 22, .05) 38%, rgba(36, 27, 22, .78) 72%, rgba(36, 27, 22, .86) 100%); }
  .hero__row { font-size: 13px; align-items: flex-start; }
  .hero__main { flex-direction: column; align-items: stretch; gap: 22px; padding-top: 22px; }
  .hero__t { font-size: 27px; margin-bottom: 22px; }
  .hero__t br { display: none; }
  .hero__addr { text-align: left; font-size: 13.5px; line-height: 1.6; }

  .sec--cards { padding-top: 40px; }
  .cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
  .cards::-webkit-scrollbar { display: none; }
  .scard { flex: 0 0 80%; scroll-snap-align: start; }
  .scard__panel { padding: 18px 18px 20px; }
  .scard__t { font-size: 17px; margin-bottom: 10px; }

  .about__t { font-size: 30px; }
  .about__lead { font-size: 18px; }
  .princ { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }

  .banner { min-height: 460px; }
  .banner::after { background: linear-gradient(180deg, rgba(43, 35, 32, .35) 0%, rgba(43, 35, 32, .55) 40%, rgba(43, 35, 32, .86) 100%); }
  .banner__in { padding: 20px 18px 24px; }
  .banner .hero__row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .check { flex-direction: column; align-items: stretch; min-height: 0; }
  .check__img { position: static; width: 100%; height: 170px; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .check__in { padding: 4px 18px 26px; }

  .qteaser__badge { right: 8px; bottom: 24px; width: 96px; height: 96px; font-size: 12.5px; }
  .qteaser__media { max-width: 300px; }
  .qsteps { gap: 10px 16px; }
  .qsteps li { font-size: 14px; }
  .qzones { grid-template-columns: 1fr; gap: 8px; }
  .qzone { padding: 16px 18px; }

  .pop__h { margin-bottom: 120px; flex-direction: column; align-items: flex-start; }
  .pop__t { font-size: 30px; }
  .track { gap: 22px; }
  .team { padding: 36px 0 60px; }
  .team__bar { margin-bottom: 28px; }
  .tslide { flex-basis: 86%; grid-template-columns: 1fr; gap: 20px; }
  .tslide__photo { order: -1; aspect-ratio: 4 / 4.4; }
  .tslide__name { font-size: 26px; }
  .tslide__d { font-size: 15.5px; }
  .tclinic__ph { grid-template-columns: 1fr 1.3fr; gap: 10px; }

  .steps, .steps--4 { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; padding: 18px 0 20px; }
  .steps__n { grid-row: span 2; margin: 2px 0 0; }
  .steps h3 { font-size: 17px; margin-bottom: 4px; }
  .faq summary { font-size: 16.5px; padding: 18px 0; }

  .foot { padding: 52px 0 26px; }
  .foot__warn { font-size: 19px; margin-bottom: 40px; }
  .foot__grid { grid-template-columns: 1fr; gap: 30px; }
  .foot__legal { flex-direction: column; }

  .phead__t { font-size: 36px; margin: 16px 0 16px; }
  .phead .kicker, .shead .kicker { margin-top: 28px; }
  .shead__t { font-size: 32px; margin: 14px 0 16px; }
  .shead__media { max-width: none; }
  .shead__media .arch { aspect-ratio: 4 / 3.6; }
  .facts { grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 26px 0 28px; }
  .ticks li { font-size: 16.5px; }
  .note { padding: 24px 20px; }
  .note h3 { font-size: 23px; }
  .tri { grid-template-columns: 1fr; gap: 26px; }
  .tri__i { border-left: 0; border-top: 1px solid var(--line-2); padding: 18px 0 0; }
  .plist__i { grid-template-columns: 1fr 44px; gap: 6px 14px; padding: 18px 0; }
  .plist__n { grid-column: 1 / -1; }
  .plist__m { grid-column: 1; grid-row: 2; }
  .plist__p { grid-column: 1; grid-row: 3; text-align: left; }
  .plist__p b { display: inline-block; margin-right: 10px; }
  .plist__p small { display: inline-block; }
  .oval--btn { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
  .spec { grid-template-columns: 110px 1fr; gap: 16px; padding: 16px; }
  .spec__name { font-size: 20px; }
  .spec__d { font-size: 14.5px; }
  .mini { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .mini li:last-child { grid-column: 1 / -1; }
  .mini li:last-child img { aspect-ratio: 16 / 7; }
  .sec__h--row { flex-direction: column; align-items: flex-start; gap: 6px; }

  .fbar { gap: 6px; }
  .fbtn { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
  .fcount { width: 100%; margin: 6px 0 0; }
  .ugroup { padding: 32px 0; gap: 20px; }
  .ugroup__t { font-size: 25px; }

  .person { padding: 40px 0; gap: 22px; }
  .person__name { font-size: 29px; }
  .person__ph { max-width: 320px; }

  .acc__i summary { padding: 20px 0; gap: 12px; flex-wrap: wrap; }
  .acc__i summary .cap { flex: 1 1 70%; font-size: 19px; }
  .acc__i summary small { order: 3; width: 100%; margin-top: -6px; }
  .acc__i summary::after { width: 34px; height: 34px; }
  .prices__aside { grid-template-columns: 1fr; }

  .promo__ph { min-height: 230px; }
  .countdown, .phead .qcard { padding: 22px 20px; }
  .countdown__n { font-size: 24px; }
  .countdown__n b { display: inline; font-size: 44px; margin: 0 6px; }
  .phead .qcard__t { font-size: 24px; }
  .promo__price b { font-size: 30px; }

  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .map { min-height: 300px; }
  .clist li { font-size: 16px; }

  .quiz { min-height: 0; padding: 22px 16px 22px; margin-inline: calc(-1 * var(--pad) + 0px); border-left: 0; border-right: 0; box-shadow: none; }
  .podbor__aside { grid-template-columns: 1fr; }
  .podbor__aside .arch { display: none; }
  .quiz__prog { margin-bottom: 26px; gap: 4px; }
  .quiz__prog li { font-size: 0; padding-top: 0; }
  .quiz__prog li button, .quiz__prog li span { font-size: 0; display: block; height: 14px; width: 100%; }
  .quiz__q { font-size: 25px; }
  .quiz__hint { font-size: 15px; margin-bottom: 18px; }
  .opts--3, .opts--2 { grid-template-columns: 1fr; gap: 8px; }
  .opt__box { padding: 14px 50px 14px 16px; gap: 2px; }
  .opt__t { font-size: 16px; }
  .opt__h { font-size: 13.5px; }
  .opt__mark { top: 15px; right: 14px; }
  .quiz__nav { margin-top: 26px; padding-top: 18px; }
  .quiz__nav .pill { flex: 0 1 auto; }
  .result__head .h2 { font-size: 25px; }
  .result__acts .pill { flex: 1 1 auto; min-height: 42px; padding: 0 14px; font-size: 14px; }
  .rcards, .rcards--2 { grid-template-columns: 1fr; }
  .rcard__body { padding: 20px 18px 22px; }
  .result__low { grid-template-columns: 1fr; }
  .result__cta { flex-direction: column; align-items: stretch; }
  .result__cta .pill { white-space: normal; text-align: center; }
  .modal__box { padding: 28px 18px 20px; }
}
@media (prefers-reduced-motion: reduce) { .hero__img, .rcard { animation: none; } }

/* страница «Фото и шрифты» (разметка из core.js) */
.cr-list a { display: inline-block; }
.cr-list b { font-weight: 600; }
