/* utmanova.ru — светлые плитки, крупная типографика, мягкая физика. */

@font-face {
  font-family: "Golos Text";
  src: url("/fonts/golos.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #FBFBFD;
  --tile: #FFFFFF;
  --tile-2: #F5F5F7;
  --ink: #1D1D1F;
  --ink-2: #6E6E73;
  --hair: rgb(0 0 0 / .08);
  --accent: #B3243B;
  --accent-press: #951B30;
  --on-accent: #FFFFFF;
  --leaf: #2E6B3A;
  --home: #EAF2E3; --home-ink: #1F4A27;
  --docs: #F7E9E6; --docs-ink: #6E1C2A;
  --night: #0B0C0A; --night-2: #1B1D19; --on-night: #F5F5F7; --on-night-2: #A1A1A6;
  --petal: #F4EFE6; --stem: #9BC88C; --daisy: #EDBE4E; --daisy-dark: #B98A1C;
  --shadow: 0 2px 6px rgb(0 0 0 / .04), 0 12px 32px rgb(0 0 0 / .06);
  --r-tile: 28px; --r-card: 22px; --r-pill: 980px;
  /* критически задемпфированная пружина ≈ response .45s */
  --spring: linear(0, .06 2%, .23 5%, .47 9%, .69 14%, .84 20%, .93 27%, .97 34%, .99 44%, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --font: -apple-system, BlinkMacSystemFont, "Golos Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --section: clamp(5rem, 3.5rem + 6vw, 10rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #000000;
    --tile: #1C1C1E;
    --tile-2: #161617;
    --ink: #F5F5F7;
    --ink-2: #A1A1A6;
    --hair: rgb(255 255 255 / .1);
    --accent: #FF6B81;
    --accent-press: #FF8597;
    --on-accent: #1D1D1F;
    --leaf: #9BC88C;
    --home: #18231A; --home-ink: #B9DCAD;
    --docs: #2A1A1D; --docs-ink: #FFB3BF;
    --night: #121311; --night-2: #1E211C;
    --shadow: none;
  }
}

@media (prefers-contrast: more) {
  :root { --ink-2: var(--ink); --hair: var(--ink); }
}

html { font-size: 100%; }
html[data-size="1"] { font-size: 112.5%; }
html[data-size="2"] { font-size: 125%; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.1875rem/1.55 var(--font);
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
.defs { position: absolute; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: .06em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 70rem; margin-inline: auto; padding-inline: max(1rem, env(safe-area-inset-left)); }
@media (min-width: 48rem) { .wrap { padding-inline: 2rem; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 30; background: var(--ink); color: var(--bg); padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { top: .75rem; }

/* Кнопки: отклик в момент нажатия */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .75rem 1.5rem; border: 0; border-radius: var(--r-pill);
  font: 600 1.0625rem/1.2 var(--font); letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease-out, background-color .2s;
}
.btn:active { transform: scale(.96); transition-duration: .06s; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-press); }
.btn--light { background: var(--on-night); color: var(--night); }
.btn--quiet { background: var(--tile); color: var(--ink); min-height: 2.75rem; padding: .55rem 1.1rem; font-size: 1rem; box-shadow: inset 0 0 0 1px var(--hair); }

.more { display: inline-flex; align-items: center; min-height: 3rem; font-weight: 500; text-decoration: none; color: var(--accent); }
.more::after { content: "›"; margin-left: .3rem; font-size: 1.35em; line-height: 1; transform: translateY(-.04em); transition: transform .25s var(--ease-out); }
.more:hover { text-decoration: underline; }
.more:hover::after { transform: translate(3px, -.04em); }

/* Шапка: полупрозрачный материал, контент уходит под неё */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 transparent; transition: box-shadow .25s;
}
.top.is-scrolled { box-shadow: 0 1px 0 var(--hair); }
@media (prefers-reduced-transparency: reduce) { .top { background: var(--bg); backdrop-filter: none; } }
.top__in { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; min-height: 3.25rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; margin-right: auto; min-height: 2.75rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.015em; white-space: nowrap; }
.brand__mark { width: 1.75rem; height: 1.75rem; border-radius: 7px; flex: none; }
.brand__short { display: none; }
@media (max-width: 34rem) { .brand__full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .brand__short { display: inline; } }
@media (max-width: 22.5rem) { .brand__short { display: none; } }
.nav { order: 3; flex-basis: 100%; display: flex; gap: .15rem; margin-inline: -.6rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .3rem;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; padding: .45rem .6rem; border-radius: 8px; color: var(--ink); opacity: .82; text-decoration: none; font-size: .9375rem; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav a:active { opacity: .5; }
@media (min-width: 54rem) {
  .nav { order: 0; flex-basis: auto; margin: 0; padding: 0; -webkit-mask-image: none; mask-image: none; }
}

/* Переключатель размера текста — сегментированный контрол */
.size { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 2px; border-radius: 10px; background: var(--tile-2); box-shadow: inset 0 0 0 1px var(--hair); }
.size button {
  position: relative; z-index: 1; min-width: 2.5rem; min-height: 2.25rem; padding: 0 .4rem; border: 0; border-radius: 8px;
  background: transparent; color: var(--ink-2); cursor: pointer; font: 600 .9375rem/1 var(--font);
  transition: color .2s;
}
.size button[aria-pressed="true"] { color: var(--ink); }
.size button:active { opacity: .6; }
.size button sup { font-size: .68em; line-height: 0; }
.size__thumb {
  position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc((100% - 4px) / 3);
  border-radius: 8px; background: var(--tile); box-shadow: 0 1px 2px rgb(0 0 0 / .12), 0 0 0 .5px rgb(0 0 0 / .04);
  transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .45s var(--spring);
}

/* Первый экран */
.hero { text-align: center; padding-top: clamp(3.5rem, 2rem + 6vw, 7.5rem); padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hero__kicker { font-size: clamp(1.0625rem, 1rem + .3vw, 1.3125rem); font-weight: 600; color: var(--accent); margin-bottom: .6rem; letter-spacing: -.01em; }
.hero h1 { font-size: clamp(2.75rem, 1.4rem + 6.4vw, 6rem); line-height: 1.04; letter-spacing: -.045em; margin-bottom: 1.4rem; }
.hero__lead { max-width: 40rem; margin-inline: auto; font-size: clamp(1.1875rem, 1.05rem + .6vw, 1.5rem); line-height: 1.45; color: var(--ink-2); letter-spacing: -.012em; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem 1.75rem; margin-bottom: 2.25rem; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.badges li { padding: .45rem .9rem; border-radius: var(--r-pill); background: var(--tile); box-shadow: inset 0 0 0 1px var(--hair); font-size: .9375rem; color: var(--ink-2); }
.badges b { color: var(--ink); font-weight: 600; }
.badges a { color: inherit; text-decoration: none; }
.badges li:first-child b::before { content: "★ "; color: var(--daisy); }

/* Проявление при прокрутке: по умолчанию всё видно */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }

/* Заголовки секций */
.section { padding-top: var(--section); }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; }
.kicker { font-size: 1.0625rem; font-weight: 600; color: var(--accent); margin-bottom: .5rem; letter-spacing: -.01em; }
.section h2, .voices h2, .tools h2, .contact h2 {
  font-size: clamp(2.25rem, 1.3rem + 4vw, 4rem); line-height: 1.06; letter-spacing: -.04em; margin-bottom: 1.1rem;
}
.section__lead { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); line-height: 1.45; color: var(--ink-2); letter-spacing: -.012em; }
.note { margin-top: 1.5rem; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); max-width: 46rem; }
h3 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); line-height: 1.18; letter-spacing: -.025em; }

/* Бенто с цифрами */
.facts { padding-top: .5rem; }
.bento { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 24rem) { .bento { grid-template-columns: minmax(0, 1fr); } }
.tile {
  background: var(--tile); border-radius: var(--r-tile); box-shadow: var(--shadow);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem;
  min-height: 11rem; color: var(--ink-2); font-size: 1rem; line-height: 1.45;
}
.tile__num { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); line-height: 1; letter-spacing: -.045em; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.tile__label { font-weight: 600; color: var(--accent); margin-bottom: auto; }
.tile--big { grid-column: 1 / -1; min-height: 16rem; }
.tile--big .tile__num { font-size: clamp(5rem, 3rem + 9vw, 10rem); color: var(--accent); }
.tile--big span:last-child { font-size: 1.125rem; color: var(--ink); max-width: 26rem; }
.tile--wide { grid-column: 1 / -1; }
.tile--wide .tile__num { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
@media (min-width: 54rem) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(12rem, auto); }
  .tile--big { grid-column: span 2; grid-row: span 2; }
  .tile--wide { grid-column: span 2; }
}

/* Профиль */
.cards { display: grid; gap: 1rem; }
@media (min-width: 54rem) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: var(--tile); border-radius: var(--r-tile); box-shadow: var(--shadow); padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.card__step { font-size: .9375rem; font-weight: 600; color: var(--ink-2); margin-bottom: .6rem; }
.card h3 { margin-bottom: .8rem; }
.card p:last-child { color: var(--ink-2); font-size: 1.0625rem; }

.whole {
  margin-top: 1rem; border-radius: var(--r-tile); padding: clamp(1.75rem, 1.2rem + 2.5vw, 3.5rem);
  background: var(--tile-2); display: grid; gap: 2rem 3.5rem;
}
.whole h3 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); line-height: 1.1; letter-spacing: -.035em; margin-bottom: 1.25rem; max-width: 18ch; }
.whole__text p { color: var(--ink-2); font-size: 1.125rem; max-width: 36rem; }
.whole__list { align-self: center; border-left: 2px solid var(--hair); }
.whole__list li { position: relative; padding: 0 0 1.1rem 1.4rem; font-size: 1rem; line-height: 1.4; color: var(--ink-2); }
.whole__list li:last-child { padding-bottom: 0; }
.whole__list li::before { content: ""; position: absolute; left: -6px; top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--tile-2); box-shadow: inset 0 0 0 2px var(--accent); }
.whole__list b { display: block; color: var(--ink); font-weight: 600; }
@media (min-width: 54rem) { .whole { grid-template-columns: 1.3fr 1fr; } }

/* Лента с прилипанием: отзывы и галерея */
.voices { padding-top: var(--section); }
.rail-nav { display: none; gap: .5rem; }
@media (hover: hover) and (min-width: 48rem) { .rail-nav { display: flex; } }
.rail-btn {
  width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--tile-2); color: var(--ink); font: 400 1.6rem/1 var(--font); padding-bottom: .15rem;
  box-shadow: inset 0 0 0 1px var(--hair); transition: transform .12s ease-out, opacity .2s;
}
.rail-btn:active { transform: scale(.92); }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail {
  --edge: max(1rem, calc((100vw - 70rem) / 2 + 2rem));
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 22rem); gap: 1rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: .5rem var(--edge) 1.5rem; scroll-padding-inline: var(--edge);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
@media (max-width: 47.99rem) { .rail { --edge: 1rem; } }
.quote {
  scroll-snap-align: start; background: var(--tile); border-radius: var(--r-tile); box-shadow: var(--shadow);
  padding: 1.75rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 17rem;
}
.quote blockquote { margin: 0; font-size: 1.1875rem; line-height: 1.45; letter-spacing: -.015em; font-weight: 500; }
.quote p { color: var(--ink-2); font-size: .9375rem; }
.quote--more { padding: 0; background: var(--accent); }
.quote--more a { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 1.75rem; border-radius: inherit; color: var(--on-accent); text-decoration: none; transition: transform .12s ease-out; }
.quote--more a:active { transform: scale(.98); }
.quote--more b { font-size: 4.5rem; line-height: 1; letter-spacing: -.05em; }
.quote--more span { font-size: 1.1875rem; font-weight: 600; }
.quote--more span::after { content: " ›"; }

.awards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); margin-top: 1rem; }
.awards li { border-radius: var(--r-card); padding: 1.25rem 1.4rem; box-shadow: inset 0 0 0 1px var(--hair); display: flex; flex-direction: column; gap: .3rem; font-size: .9375rem; line-height: 1.4; color: var(--ink-2); }
.awards b { color: var(--ink); font-size: 1.25rem; letter-spacing: -.02em; }

/* Выступления — сегментированный контрол с пружинным бегунком */
.talks { background: var(--tile); border-radius: var(--r-tile); box-shadow: var(--shadow); padding: clamp(1rem, .75rem + 1.5vw, 2.5rem); }
.seg { display: none; }
.has-tabs .seg {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  padding: 3px; border-radius: 12px; background: var(--tile-2); margin-bottom: 2rem;
  max-width: 40rem; margin-inline: auto;
}
.seg button {
  position: relative; z-index: 1; min-height: 2.75rem; padding: .4rem .5rem; border: 0; border-radius: 9px; background: none; cursor: pointer;
  font: 600 .9375rem/1.2 var(--font); color: var(--ink-2); letter-spacing: -.01em; transition: color .2s;
}
@media (max-width: 30rem) { .seg button { font-size: .8125rem; padding-inline: .25rem; hyphens: auto; } }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg button:active { opacity: .6; }
.seg__thumb {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3);
  border-radius: 9px; background: var(--tile); box-shadow: 0 1px 3px rgb(0 0 0 / .12), 0 0 0 .5px rgb(0 0 0 / .04);
  transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .5s var(--spring);
}
@media (prefers-color-scheme: dark) { .seg__thumb, .size__thumb { background: #3A3A3C; } }
.panels { display: grid; }
.has-tabs .panel { grid-area: 1 / 1; transition: opacity .3s ease, transform .45s var(--spring); }
.has-tabs .panel[hidden] { display: block; visibility: hidden; opacity: 0; transform: translateY(8px); pointer-events: none; }
.panel + .panel { margin-top: 2rem; }
.has-tabs .panel + .panel { margin-top: 0; }
.has-tabs .panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.panel__title { margin-bottom: .4rem; }
.panel__for { color: var(--ink-2); font-size: 1rem; margin-bottom: .75rem; }
.panel li { display: grid; gap: .25rem; padding: 1.1rem 0; border-top: 1px solid var(--hair); }
.panel li span { font-size: 1.1875rem; line-height: 1.35; font-weight: 500; letter-spacing: -.015em; }
.panel small { font-size: .9375rem; color: var(--ink-2); }
@media (min-width: 54rem) { .panel li { grid-template-columns: 1fr 16rem; gap: 2rem; align-items: baseline; } .panel small { text-align: right; } }

.talks__foot { display: grid; gap: 1rem; margin-top: 1.5rem; align-items: start; }
.talks__foot > p { color: var(--ink-2); font-size: 1.0625rem; padding: .25rem .25rem 0; }
.talks__foot b { color: var(--ink); font-weight: 600; }
@media (min-width: 54rem) { .talks__foot { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.bio { border-radius: var(--r-card); background: var(--tile-2); }
.bio summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.25rem; padding: .9rem 1.25rem; font-weight: 600; }
.bio summary::-webkit-details-marker { display: none; }
.bio summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--accent); transition: transform .35s var(--spring); }
.bio[open] summary::after { transform: rotate(45deg); }
.bio__body { padding: 0 1.25rem 1.25rem; }
.bio__body p { font-size: 1rem; color: var(--ink-2); }

/* Клуб */
.wings { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .wings { grid-template-columns: 1fr 1fr; } }
.wing { position: relative; border-radius: var(--r-tile); padding: clamp(1.75rem, 1.3rem + 2vw, 3rem); min-height: 22rem; display: flex; flex-direction: column; }
.wing--home { background: var(--home); --wing-ink: var(--home-ink); color: var(--home-ink); }
.wing--docs { background: var(--docs); --wing-ink: var(--docs-ink); color: var(--docs-ink); }
.wing__icon { width: 4rem; height: 4rem; margin-bottom: auto; }
.wing--home .wing__icon { --petal: #FFFFFF; --daisy: #E3AE2F; --daisy-dark: #A57A12; filter: drop-shadow(0 2px 6px rgb(0 0 0 / .14)); }
.wing--docs .wing__icon { fill: currentColor; width: 4.5rem; }
.wing h3 { font-size: clamp(2.5rem, 1.6rem + 3.5vw, 4rem); letter-spacing: -.045em; line-height: 1; margin-top: 2.5rem; }
.wing__for { font-weight: 600; margin: .5rem 0 1.25rem; opacity: .8; }
.wing li { position: relative; padding-left: 1.1rem; margin-bottom: .55rem; font-size: 1.0625rem; line-height: 1.45; }
.wing li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .6; }
.soon { position: absolute; top: clamp(1.75rem, 1.3rem + 2vw, 3rem); right: clamp(1.75rem, 1.3rem + 2vw, 3rem); padding: .25rem .75rem; border-radius: var(--r-pill); font-size: .875rem; font-weight: 600; background: rgb(255 255 255 / .6); }
@media (prefers-color-scheme: dark) { .soon { background: rgb(255 255 255 / .08); } }

/* Помощники */
.tools { padding-top: var(--section); }
.tools__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.tools__grid li { border-radius: var(--r-card); padding: 1.5rem; background: var(--tile-2); }
.tools__grid h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.tools__grid p { font-size: 1rem; color: var(--ink-2); }

/* Галерея */
.gallery { padding-top: var(--section); }
.gallery .rail { grid-auto-columns: min(78vw, 24rem); }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-tile); background: var(--tile-2); }
.gallery figcaption { padding: .75rem .25rem 0; font-size: .9375rem; color: var(--ink-2); }

/* Пациентам */
.steps { display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 54rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: var(--tile); border-radius: var(--r-tile); box-shadow: var(--shadow); padding: 1.75rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--tile-2); color: var(--ink); font-weight: 700; margin-bottom: 1.25rem; }
.steps h3 { font-size: 1.375rem; margin-bottom: .6rem; }
.steps p { color: var(--ink-2); font-size: 1.0625rem; }
.sos { margin-top: 1.5rem; font-size: 1.0625rem; color: var(--ink-2); }
.sos a { font-weight: 700; }

/* Связаться */
#contact { padding-top: var(--section); }
.contact {
  border-radius: var(--r-tile); background: radial-gradient(90% 80% at 80% 0%, #2A1E22 0%, var(--night) 60%);
  color: var(--on-night); padding: clamp(2rem, 1.2rem + 4vw, 5rem); text-align: center;
  --accent: #FF8597;
}
.contact h2 { max-width: 18ch; margin-inline: auto; }
@media (max-width: 30rem) { .contact { padding-inline: 1.25rem; } .contact h2 { font-size: 1.875rem; } }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.contact__lead { max-width: 34rem; margin: 0 auto 2rem; color: var(--on-night-2); font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); }
.contact__mail { display: inline-block; font-size: clamp(1.75rem, 1rem + 3.5vw, 3.25rem); font-weight: 700; letter-spacing: -.04em; color: var(--on-night); text-decoration: none; margin-bottom: 1.5rem; overflow-wrap: anywhere; transition: opacity .2s; }
.contact__mail:hover { opacity: .8; }
.contact__note { margin: 2rem auto 0; max-width: 30rem; font-size: .9375rem; color: var(--on-night-2); }

/* Подвал */
.foot { margin-top: var(--section); padding: 2rem 0 3rem; border-top: 1px solid var(--hair); font-size: .875rem; line-height: 1.55; color: var(--ink-2); }
.foot p { max-width: 50rem; }
.foot a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print { .top, .art, .tools, .rail-nav { display: none; } body { background: #fff; } }
