@font-face { font-family: "Geologica"; font-weight: 100 900; font-display: swap; src: url(fonts/geologica-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-weight: 100 900; font-display: swap; src: url(fonts/geologica-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-display: swap; src: url(fonts/onest-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-display: swap; src: url(fonts/onest-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --page: #fff;
  --field: #f4f5f6;
  --surface: #fff;
  --sunk: #eef1f3;
  --line: #d9dde2;
  --ink: #15191e;
  --ink-2: #4a525c;
  --signal: #d9432a;
  --signal-deep: #b5361c;
  --signal-tint: #fbe7e1;
  --graphite: #1f262e;
  --open: #2e7d4f;
  --head: "Geologica", system-ui, sans-serif;
  --text: "Onest", system-ui, sans-serif;
  --gutter: 24px;
  --sec: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--surface); scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.5 var(--text); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 650; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: 40px; line-height: 1.15; }
h2 { font-size: 34px; line-height: 1.18; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--open); margin-right: 7px; vertical-align: 1px; }
.ok { color: var(--open); font-style: normal; }
.more { color: var(--signal-deep); font-weight: 500; text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.fine { font-size: 13px; color: var(--ink-2); }
.chev { width: 12px; height: 12px; margin-left: 4px; vertical-align: -1px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 6px; background: var(--signal-deep); color: #fff; font: 600 16px/1 var(--text); text-decoration: none; white-space: nowrap; }
.btn:hover { background: #9a2d16; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 52px; }
.btn--line { background: transparent; color: var(--signal-deep); box-shadow: inset 0 0 0 1.5px var(--signal-deep); min-height: 44px; }
.btn--line:hover { background: var(--signal-tint); }

/* шапка: три яруса */
.hd { background: var(--surface); position: relative; z-index: 30; }
.hd1 { background: var(--sunk); font-size: 14px; }
.hd1__in { display: flex; align-items: center; gap: 22px; min-height: 36px; }
.hd1__clinic { background: none; border: 0; padding: 6px 0; font-weight: 500; }
.hd1__open { color: var(--ink-2); }
.hd1__links { margin-left: auto; display: flex; gap: 20px; }
.hd1__links a { text-decoration: none; color: var(--ink-2); }
.hd1__links a:hover { color: var(--ink); text-decoration: underline; }
.dd { position: relative; }
.dd__panel { position: absolute; top: 100%; left: 0; z-index: 40; width: 340px; background: var(--surface); border-radius: 4px; box-shadow: 0 12px 32px rgb(21 25 30 / .12); padding: 6px; }
.dd__panel a { display: block; padding: 10px 12px; border-radius: 4px; text-decoration: none; }
.dd__panel a:hover { background: var(--page); }
.dd__panel b { display: block; font-weight: 600; }
.dd__panel span { font-size: 13.5px; color: var(--ink-2); }

.hd2__in { display: flex; align-items: center; gap: 18px; min-height: 88px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo__mark { width: 34px; height: 34px; }
.logo-fill { fill: var(--signal); }
.logo span { font: 700 25px/1 var(--head); letter-spacing: -0.02em; }
.hd2__services { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 6px; font-weight: 600; margin-left: 12px; }
.hd2__services svg { width: 16px; height: 16px; color: var(--signal); }
.hd2__services[aria-expanded="true"] { border-color: var(--ink); }
.search { position: relative; width: 360px; }
.search > svg { position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; color: var(--ink-2); }
.search input { width: 100%; min-height: 44px; padding: 0 14px 0 42px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--field); }
.search input:focus { outline: none; border-color: var(--ink); background: #fff; }
.search small { position: absolute; left: 2px; top: 47px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.hd2__phone { margin-left: auto; font: 600 19px/1 var(--head); text-decoration: none; white-space: nowrap; }
.hd2__call, .hd2__menu { display: none; }

.hd3 { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.hd3.is-stuck { position: fixed; top: 0; left: 0; right: 0; z-index: 35; box-shadow: 0 6px 18px rgb(21 25 30 / .08); }
.hd3__in { display: flex; align-items: center; min-height: 48px; }
.hd3__nav { display: flex; gap: 6px; align-items: center; }
.hd3__nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 6px; text-decoration: none; font-weight: 500; }
.hd3__nav a:first-child { padding-left: 0; }
.hd3__nav a:hover { background: var(--page); }
.hd3__nav a:first-child:hover { background: none; text-decoration: underline; }
.hd3__nav .kids { color: var(--signal-deep); }
.sdot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); margin-left: 6px; }
.hd3__sticky { margin-left: auto; display: none; align-items: center; gap: 16px; font: 600 16px/1 var(--head); }
.hd3__sticky a:not(.btn) { text-decoration: none; }
.hd3.is-stuck .hd3__sticky { display: flex; }
.hd3-spacer { height: 50px; }

/* мега-меню */
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; animation: fade .15s ease-out; }
@keyframes fade { from { opacity: 0; } }
.mega__in { background: var(--surface); box-shadow: 0 12px 32px rgb(21 25 30 / .12); border-radius: 0 0 4px 4px; padding: 28px 32px 0; }
.mega__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, .85fr); gap: 28px; }
.mega__cols a { display: block; padding: 5px 0; text-decoration: none; color: var(--ink-2); font-size: 15px; }
.mega__cols a:hover { color: var(--ink); text-decoration: underline; }
.mega__cols .mega__h, .mega__h { display: block; font: 650 17px/1.25 var(--head); color: var(--ink); margin-bottom: 8px; }
.mega__h b { display: block; font: 600 14px/1.4 var(--text); color: var(--signal-deep); margin-top: 2px; }
.mega__problems { background: var(--page); margin: -8px 0 0; padding: 8px 16px 12px; border-radius: 4px; }
.mega__foot { display: flex; gap: 32px; margin-top: 24px; padding: 16px 0 20px; border-top: 1px solid var(--line); font-size: 15px; }
.mega__foot a { text-decoration: none; }
.mega__foot b { color: var(--signal-deep); font-weight: 600; }
.mega__foot .mega__all { margin-left: auto; color: var(--signal-deep); font-weight: 600; }
.mmenu { display: none; }

/* первый экран: бенто, разрезанное крестом */
.hero { padding: 24px 0 0; background: var(--field); padding-bottom: 0; }
.hero + .sec { padding-top: var(--sec); }
.bento { display: grid; grid-template-columns: 58fr 42fr; grid-template-rows: auto auto; gap: 6px; background: var(--signal); border-radius: 4px; overflow: hidden; }
.cell { background: var(--surface); margin: 0; position: relative; text-decoration: none; color: inherit; }
.cell--a { padding: 40px 40px 32px; display: flex; flex-direction: column; gap: 18px; }
.cell__lead { color: var(--ink-2); font-size: 17px; max-width: 34em; }
.book { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-top: 6px; }
.book label span { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 4px; }
.book select, .bookf select, .form input:not([type=checkbox]) { width: 100%; min-height: 48px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--field); }
.slots__label { font-size: 14px; color: var(--ink-2); margin-bottom: -8px; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slots a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 8px; white-space: nowrap; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.slots a:hover { border-color: var(--open); color: var(--open); }
.cell--b { min-height: 0; }
.cell--b img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cell--b figcaption { position: absolute; left: 16px; bottom: 16px; background: #fff; border-radius: 4px; padding: 6px 10px; font-size: 14px; font-weight: 500; }
.cell--c { background: var(--signal-tint); padding: 28px 40px; display: flex; flex-direction: column; gap: 8px; }
.cell__big { font: 650 23px/1.25 var(--head); max-width: 22em; }
.cell--c small { font-size: 12px; color: var(--ink-2); margin-top: 8px; max-width: 46em; }
.cell--d { background: var(--graphite); color: #fff; padding: 28px 32px; display: flex; flex-direction: column; gap: 6px; }
.cell__price { font: 650 30px/1.1 var(--head); font-variant-numeric: tabular-nums; }
.cell__note { color: #c9ced4; font-size: 15px; max-width: 26em; }
.cell--d .more { color: #fff; margin-top: 8px; }
.cell--c:hover .more, .cell--d:hover .more { text-decoration: underline; }

/* секции */
.sec { padding: var(--sec) 0; }
.sec--sunk { background: var(--sunk); }
.sec--line { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }

/* с чем пришли */
.problems { display: block; }
.probs__h { font: 650 17px/1.3 var(--head); margin-bottom: 12px; }
.head--sub { margin: 28px 0 14px; }
.head--sub .probs__h { margin: 0; }
.pchips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pchips a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-weight: 500; }
.pchips a:hover { border-color: var(--ink); }
.pchips b { color: var(--signal-deep); font-size: 13px; font-weight: 600; white-space: nowrap; }
.urgent { margin-top: 10px; background: var(--signal-tint); border-radius: 6px; padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.urgent a { font: 650 20px/1.2 var(--head); text-decoration: none; white-space: nowrap; color: var(--signal-deep); }

/* услуги */
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 3px; }
.seg button { border: 0; background: none; padding: 0 18px; min-height: 40px; border-radius: 4px; font-weight: 600; }
.seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; min-height: 0; text-decoration: none; color: inherit; }
.tile__h { font: 650 21px/1.2 var(--head); text-decoration: none; }
a.tile__h:hover { text-decoration: underline; }
.tile__p { font: 650 26px/1.1 var(--head); color: var(--signal-deep); font-variant-numeric: tabular-nums; }
.tile__p small { font: 500 15px var(--text); color: var(--ink-2); margin-left: 2px; }
.subs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
.subs a { padding: 4px 9px; border-radius: 999px; background: var(--field); font-size: 13.5px; text-decoration: none; }
.subs a:hover { background: var(--sunk); }
.tile--dark { background: var(--graphite); border-color: var(--graphite); color: #c9ced4; }
.tile--dark .tile__h { color: #fff; }
.tile--dark .more { color: #fff; margin-top: auto; }
.tile--photo { padding: 0; overflow: hidden; }
.tile--photo img { width: 100%; height: 110px; object-fit: cover; }
.tile--photo span { padding: 14px 18px; font-weight: 600; }

/* врачи */
.fchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.fchips button { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14.5px; font-weight: 500; }
.fchips button span { color: var(--ink-2); margin-left: 4px; }
.fchips button[aria-selected="true"] { background: var(--signal-tint); border-color: var(--signal-tint); color: var(--signal-deep); }
.fchips button[aria-selected="true"] span { color: var(--signal-deep); }
.docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.doc { display: flex; flex-direction: column; gap: 14px; }
.doc img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 50% 25%; border-radius: 4px; background: var(--sunk); }
.doc > div { flex: 1; }
.doc > div { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.doc__name { font: 650 18px/1.25 var(--head); text-decoration: none; }
.doc__name:hover { text-decoration: underline; }
.doc p { color: var(--ink-2); font-size: 15px; }
.doc__meta { font-size: 14px !important; }
.doc__works { color: var(--signal-deep); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.doc__slot { color: var(--open) !important; font-weight: 500; margin-top: 2px; }
.doc__foot { margin-top: auto; align-self: stretch; display: flex; flex-direction: column; gap: 12px; }
.doc .btn { width: 100%; }
.docs__all, .works__all { display: none; }

/* работы: зубная формула */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.work { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.formula { aspect-ratio: 16 / 7; background: var(--page); border-radius: 2px; margin-bottom: 8px; display: grid; place-items: center; }
.formula svg { width: 88%; height: auto; }
.formula .t { fill: #fff; stroke: var(--line); stroke-width: 1; }
.formula .t.on { fill: var(--signal); stroke: var(--signal); }
.formula .n { font: 500 9px var(--text); fill: var(--ink-2); text-anchor: middle; }
.formula .n.on { fill: var(--signal-deep); font-weight: 700; }
.formula .x { stroke: var(--signal); stroke-width: 2; }
.formula__cap { display: none; }
.work__h { font: 650 19px/1.25 var(--head); text-decoration: none; }
.work__h:hover { text-decoration: underline; }
.work p { color: var(--ink-2); font-size: 15px; }
.work p b { color: var(--ink); font-weight: 600; }

/* клиники */
.clinics { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: stretch; }
.city { width: 100%; height: 100%; min-height: 360px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.city__pond { fill: var(--sunk); }
.city__river { fill: none; stroke: #c8d0d8; stroke-width: 3; }
.city__roads path { fill: none; stroke: var(--sunk); stroke-width: 6; }
.city__pins text { font: 600 13px var(--text); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.city__cross { stroke: var(--signal); stroke-width: 2; }
.city__labels text { font: 500 13px var(--text); fill: var(--ink-2); }
.pt { fill: var(--ink); stroke: #fff; stroke-width: 3; transition: fill .15s, r .15s; }
.pt.on { fill: var(--signal); r: 12; }
.clist { display: flex; flex-direction: column; gap: 10px; }
.clist li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 14px; }
.clist li:hover { border-color: var(--ink); }
.clist img { width: 120px; height: 90px; object-fit: cover; border-radius: 2px; }
.clist__h { font: 650 18px/1.25 var(--head); text-decoration: none; }
.clist__h:hover { text-decoration: underline; }
.clist p { font-size: 14.5px; color: var(--ink-2); margin-top: 3px; }
.clist .tags { color: var(--ink); font-weight: 500; }
.hrs { color: var(--ink-2); }

/* отзывы */
.reviews { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; }
.rates { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.rates h2 { margin-bottom: 18px; }
.rates a:not(.more) { display: flex; align-items: center; gap: 16px; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--line); width: 100%; }
.rates b { font: 650 34px/1 var(--head); font-variant-numeric: tabular-nums; min-width: 64px; }
.rates span { font-size: 14px; color: var(--ink-2); }
.rates .more { margin-top: 14px; }
.rates__btn { margin-top: 18px; }
.rlist { display: flex; flex-direction: column; gap: 10px; }
.rlist li { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 20px 22px; }
.rlist__src { font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px !important; }
.rlist a { color: var(--signal-deep); }
.reply { margin-top: 10px !important; padding: 10px 14px; background: var(--page); font-size: 14.5px; color: var(--ink-2); }
.reply b { color: var(--ink); font-weight: 600; }

/* статьи */
.arts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.arts li > a { display: block; text-decoration: none; }
.arts li > a img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; border-radius: 4px; background: var(--sunk); }
.arts__h { display: block; font: 650 19px/1.25 var(--head); margin-top: 14px; }
.arts li > a:hover .arts__h { text-decoration: underline; }
.arts p { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; align-items: center; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.arts p .ava { grid-row: span 2; }
.arts p span { grid-column: 2; }
.arts p a { color: var(--ink); font-weight: 500; }
.ava { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }

/* о сети и пациентам */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about p { margin-top: 14px; font-size: 16.5px; line-height: 1.62; max-width: 36em; }
.about .more { display: inline-block; margin-top: 12px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.facts li { border-top: 2px solid var(--signal); padding-top: 10px; font-size: 14px; color: var(--ink-2); }
.facts b { display: block; font: 650 30px/1.1 var(--head); color: var(--ink); font-variant-numeric: tabular-nums; }
.about__fig { grid-column: 1 / -1; grid-row: 2; margin: 0; position: relative; }
.about__fig img { border-radius: 4px; width: 100%; height: 300px; object-fit: cover; object-position: 50% 60%; }
.about__fig figcaption { position: absolute; left: 16px; bottom: 16px; background: #fff; border-radius: 4px; padding: 8px 12px; font-weight: 500; }
.plist { margin-top: 14px; }
.plist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.plist a { font-weight: 500; text-decoration: none; }
.plist a:hover { text-decoration: underline; }
.plist span { color: var(--ink-2); font-size: 14.5px; text-align: right; }

/* запись */
.bookf { display: grid; grid-template-columns: 6fr 6fr; gap: 64px; align-items: center; }
.form { display: flex; flex-direction: column; max-width: 560px; }
.form h2 { margin-bottom: 20px; }
.form label { font-weight: 600; font-size: 15px; margin: 14px 0 6px; }
.form label span { font-weight: 400; color: var(--ink-2); }
.form small { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }
.form .check { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 400; margin-top: 12px; cursor: pointer; }
.form .check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--signal-deep); flex: none; }
.form .check a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form .btn { margin-top: 18px; align-self: flex-start; }
.form__note { margin-top: 12px; color: var(--open); font-weight: 600; }
.bookf__phone { font: 650 34px/1.1 var(--head); text-decoration: none; display: block; margin-bottom: 14px; }
.bookf__call p { color: var(--ink-2); margin-top: 4px; }
.bookf__list { margin-top: 22px; border-top: 1px solid var(--line); }
.bookf__list li { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.bookf__list b { color: var(--ink); font-weight: 600; }

/* подвал: крест делит его на 4 колонки */
.ft { background: var(--graphite); color: #c9ced4; padding: 56px 0 28px; font-size: 15px; }
.ft__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; border-bottom: 2px solid var(--signal); padding-bottom: 32px; }
.ft__cols > * { padding: 0 24px; display: flex; flex-direction: column; gap: 8px; }
.ft__grp summary { list-style: none; color: #fff; font: 650 16px var(--head); margin-bottom: 6px; pointer-events: none; }
.ft__grp summary::-webkit-details-marker { display: none; }
.ft__grp nav { display: flex; flex-direction: column; gap: 8px; }
.ft__cols > *:first-child { padding-left: 0; }
.ft__cols > * + * { border-left: 2px solid var(--signal); }
.ft b { color: #fff; font: 650 16px var(--head); margin-bottom: 6px; }
.ft a { color: #fff; text-decoration: none; }
.ft a:hover { text-decoration: underline; }
.ft__legal { padding-top: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.ft__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ft__warn { color: #fff; font: 600 17px/1.35 var(--text); margin-top: 8px; }
.ft__concept { color: #8c949e; }

.dock { display: none; }

@media (max-width: 1240px) {
  .search { width: 260px; }
  .hd1__links a:nth-child(n+3) { display: none; }
  .mega__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .hd1, .hd3, .search, .hd2__services, .hd2__phone, .hd2 .btn { display: none; }
  html { scroll-padding-top: 72px; }
  .hd { position: sticky; top: 0; border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
  .hd2__in { min-height: 56px; gap: 8px; }
  .hd2__call { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 50%; }
  .hd2__call svg { width: 20px; height: 20px; }
  .hd2__menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 6px; background: none; font-weight: 600; }
  .burger, .burger::before, .burger::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -5px; } .burger::after { top: 5px; }
  .hd2__menu[aria-expanded="true"] .burger { background: transparent; }
  .hd2__menu[aria-expanded="true"] .burger::before { top: 0; transform: rotate(45deg); }
  .hd2__menu[aria-expanded="true"] .burger::after { top: 0; transform: rotate(-45deg); }
  .mega { display: none !important; }
  .mmenu:not([hidden]) { display: flex; flex-direction: column; position: fixed; inset: calc(57px + env(safe-area-inset-top)) 0 0; background: var(--surface); overflow-y: auto; padding: 8px var(--gutter) 90px; z-index: 50; }
  .mmenu > a, .mmenu summary { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 18px; font-weight: 500; cursor: pointer; }
  .mmenu details a { display: block; padding: 10px 0 10px 16px; text-decoration: none; color: var(--ink-2); }
  .mmenu__phone { font: 650 20px var(--head) !important; border: 0 !important; margin-top: 12px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pchips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problems, .reviews, .clinics, .about, .bookf { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; --sec: 48px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  h1 { font-size: 28px; line-height: 1.2; }
  h2 { font-size: 24px; line-height: 1.25; }
  .hero { padding-top: 0; }
  .hero > .wrap { padding: 0; }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 4px; border-radius: 0; }
  .cell--a { padding: 24px 18px; gap: 14px; }
  .cell__lead { font-size: 15.5px; }
  .book { grid-template-columns: minmax(0, 1fr); }
  .book .btn { width: 100%; }
  .slots { gap: 6px; }
  .slots__label { width: 100%; }
  .slots a { font-size: 13.5px; padding: 0 12px; min-height: 44px; }
  .seg { display: flex; width: 100%; }
  .seg button { flex: 1; min-height: 44px; }
  .doc__works, .more { display: inline-block; padding: 11px 0; }
  .head .more { padding: 12px 0; margin: -12px 0; }
  .cell--b { aspect-ratio: 16 / 10; }
  .cell--c, .cell--d { padding: 22px 18px; }
  .cell__big { font-size: 20px; }
  .cell__price { font-size: 26px; }
  .head { margin-bottom: 20px; }
  .pchips a { padding: 0 12px; font-size: 15px; min-height: 56px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
  .tiles { grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
  .tile { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; padding: 14px 16px; }
  .tile .subs { display: none; }
  .tile__p { font-size: 18px !important; }
  .tile--dark { border-radius: 0 0 4px 4px; }
  .tile--photo { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .tile--photo img { height: 120px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__fig img { height: 200px; }
  .slots { grid-template-columns: minmax(0, 1fr); }
  .urgent a { font-size: 18px; }
  .tile__h { font-size: 17px; }
  .fchips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 16px; padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .fchips::after { content: ""; flex: none; width: 8px; }
  .fchips button { flex: none; min-height: 44px; padding: 0 16px; }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .doc { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
  .doc img { width: 80px; }
  .doc__w { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .doc p, .doc__meta { font-size: 15px !important; }
  .doc__name { font-size: 17px; }
  .doc__foot { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; margin-top: 2px; }
  .doc .btn { width: auto; min-height: 44px; padding: 0; background: none; box-shadow: none; color: var(--signal-deep); font-weight: 600; font-size: 15px; }
  .doc .btn::after { content: " →"; white-space: pre; }
  .doc .btn:hover { background: none; text-decoration: underline; }
  .docs:not(.is-all) .doc:nth-child(n+5) { display: none; }
  .docs__all { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 12px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--surface); font-weight: 600; }
  .docs__all[hidden] { display: none; }
  .work:nth-child(n+3) { display: none; }
  .works__all { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-bottom: 16px; border: 1.5px solid var(--signal-deep); border-radius: 6px; color: var(--signal-deep); font-weight: 600; text-decoration: none; }
  .formula { aspect-ratio: auto; height: 72px; display: flex; align-items: center; justify-content: center; gap: 14px; }
  .formula svg { width: auto; height: 64px; }
  .formula .n { display: none; }
  .formula__cap { display: block; font: 700 13px/1.25 var(--text); color: var(--signal-deep); }
  .works { grid-template-columns: minmax(0, 1fr); }
  .city { min-height: 0; height: auto; aspect-ratio: 500 / 560; }
  .about__img { height: 200px; grid-row: auto; }
  .bookf__list li { grid-template-columns: 1fr auto; }
  .bookf__list .addr { grid-column: 1 / -1; grid-row: 2; }
  .clist li { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .clist img { width: 96px; height: 72px; }
  .rates { flex-direction: row; flex-wrap: wrap; gap: 0; }
  .rates h2 { width: 100%; }
  .rates a:not(.more) { width: 33.33%; flex-direction: column; align-items: flex-start; gap: 4px; border: 0; }
  .rates b { font-size: 26px; min-width: 0; }
  .rates .more { flex: 1 0 100%; }
  .rates a.rates__btn { width: 100%; padding: 0 22px; flex-direction: row; align-items: center; justify-content: center; margin-top: 8px; }
  .rlist li:nth-child(3) { display: none; }
  .arts { grid-template-columns: minmax(0, 1fr); }
  .arts li:nth-child(3) { display: none; }
  .bookf__phone { font-size: 28px; }
  .form .btn { width: 100%; }
  .plist li { flex-direction: column; gap: 2px; }
  .plist span { text-align: left; }
  .ft__cols { grid-template-columns: minmax(0, 1fr); border-bottom: 0; padding-bottom: 0; }
  .ft__cols > * { padding: 16px 0; border-left: 0 !important; border-bottom: 2px solid var(--signal); }
  .ft__grp summary { pointer-events: auto; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: 0; }
  .ft__grp summary::after { content: "+"; font-size: 22px; color: var(--signal); }
  .ft__grp[open] summary::after { content: "−"; }
  .ft__grp nav a { padding: 10px 0; }
  .ft__links { flex-direction: column; gap: 0; }
  .ft__links a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid rgb(255 255 255 / .12); }
  .dock { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); padding: 6px 12px calc(6px + env(safe-area-inset-bottom)); }
  .dock a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 6px; font-weight: 600; text-decoration: none; }
  .dock__call { box-shadow: inset 0 0 0 1.5px var(--line); }
  .dock__book { background: var(--signal-deep); color: #fff; }
  .dock { transition: transform .2s ease; }
  .dock.is-off { transform: translateY(110%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mega { animation: none; }
  .pt { transition: none; }
  .dock { transition: none; }
}
