:root {
  --bg: #f3f2ee;
  --tint: #e9e7e1;
  --surface: #fff;
  --ink: #16181b;
  --ink-2: #24272c;
  --text: #16181b;
  --muted: #6b6e73;
  --line: #dcd9d1;
  --yellow: #ffcc00;
  --yellow-2: #ffd633;
  --ok: #1f9d55;
  --radius: 6px;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Golos Text", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.55; font-size: 16px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 60px); }
h3 { font-size: 20px; letter-spacing: .02em; }
p { text-wrap: pretty; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

button, a, select, summary, [role="button"] { touch-action: manipulation; }
button, .btn, summary, .segmented button { user-select: none; -webkit-user-select: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow--yellow { color: var(--yellow); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 157, 85, .18); }

/* Кнопки: прямые углы, «промышленный» характер */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 26px; border-radius: var(--radius); background: var(--ink); color: #fff; border: 2px solid var(--ink); font: 600 15px var(--sans); cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--small { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; cursor: pointer; }

/* Шапка */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top); background: rgba(243, 242, 238, .86); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); transition: box-shadow 250ms ease; }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header__inner { display: flex; align-items: center; gap: 30px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__nut { width: 32px; height: 32px; }
.logo__nut path { fill: var(--yellow); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.logo__nut circle { fill: var(--bg); stroke: var(--ink); stroke-width: 2; }
.logo span { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: .9; letter-spacing: .04em; display: flex; flex-direction: column; }
.logo small { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out); }
.nav a.is-current::after { transform: scaleX(1); }
.header__phone { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform 250ms var(--ease-out); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Первый экран */
.hero { padding: 120px 0 0; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(48px, 7vw, 100px); line-height: .92; margin-bottom: 26px; }
.hero h1 mark { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); color: inherit; padding: 0 .05em; }
.hero__lead { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__text > * { animation: rise 650ms var(--ease-out) both; }
.hero__text > :nth-child(2) { animation-delay: 60ms; }
.hero__text > :nth-child(3) { animation-delay: 120ms; }
.hero__text > :nth-child(4) { animation-delay: 170ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.hero__visual { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--radius); overflow: hidden; background: var(--ink); animation: reveal 900ms var(--ease-out) both; }
@keyframes reveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.status-chip { position: absolute; left: 18px; right: 18px; bottom: 18px; max-width: 340px; background: var(--surface); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, .28); animation: rise 600ms var(--ease-out) 500ms both; }
.status-chip__head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.status-chip__live { font-size: 12px; font-weight: 600; color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.status-chip__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.status-chip strong { font-size: 16px; }
.status-chip small { color: var(--muted); font-size: 13px; }
.bar { height: 6px; background: var(--tint); border-radius: 6px; overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--p); background: var(--yellow); border-radius: 6px; transform-origin: left; animation: grow 900ms var(--ease-out) 700ms both; }
@keyframes grow { from { transform: scaleX(0); } }

.trust { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 2px solid var(--ink); }
.trust li { padding: 22px 20px 26px 0; display: grid; gap: 4px; border-right: 1px solid var(--line); padding-left: 20px; }
.trust li:first-child { padding-left: 0; }
.trust li:last-child { border-right: 0; }
.trust b { font-family: var(--display); font-size: 34px; font-weight: 600; line-height: 1; }
.trust span { font-size: 14px; color: var(--muted); }

/* Секции */
.section { padding: 110px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #f3f2ee; }
.section__head { margin-bottom: 44px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__note { max-width: 360px; font-size: 14px; color: var(--muted); }

/* Услуги */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); cursor: pointer; position: relative; transition: background-color 200ms ease; min-height: 230px; }
.service:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.service:active { background: var(--tint); }
.service__icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: background-color 200ms ease, border-color 200ms ease; }
.service__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 21px; }
.service__items { font-size: 14px; color: var(--muted); line-height: 1.5; }
.service__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.service__price { font-family: var(--display); font-size: 20px; font-weight: 600; white-space: nowrap; }
.service__add { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.service__add::before { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); font-size: 15px; line-height: 1; }

/* Калькулятор */
.calc { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.calc__block + .calc__block { margin-top: 32px; }
.calc__label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #a3a5a9; margin-bottom: 12px; }
#booking .calc__label, .summary .calc__label { color: var(--muted); }
.section--dark .summary .calc__label { color: var(--muted); }
.segmented { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--ink-2); border-radius: 8px; }
.segmented button { border: 0; background: transparent; color: #c9cacc; font: 500 15px var(--sans); padding: 11px 18px; border-radius: 6px; cursor: pointer; white-space: nowrap; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.segmented button:active { transform: scale(0.97); }
.segmented button.is-active { background: var(--yellow); color: var(--ink); }
.calc__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.group { border: 0; min-width: 0; background: var(--ink-2); border-radius: 8px; padding: 18px 18px 8px; transition: box-shadow 300ms ease; }
.group.is-flash { animation: groupFlash 1200ms ease-out; }
@keyframes groupFlash { from { box-shadow: 0 0 0 3px var(--yellow); } }
.group h3 { font-size: 16px; color: #fff; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .07); cursor: pointer; font-size: 15px; }
.opt:first-of-type { border-top: 0; }
.opt input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: none; border: 2px solid #55585e; border-radius: 4px; display: grid; place-items: center; cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; }
.opt input::after { content: ""; width: 6px; height: 11px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-1px) rotate(45deg) scale(0); transition: transform 180ms var(--ease-out); }
.opt input:checked { background: var(--yellow); border-color: var(--yellow); }
.opt input:checked::after { transform: translateY(-1px) rotate(45deg) scale(1); }
.opt__name { flex: 1; color: #e7e6e2; }
.opt__meta { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opt__meta b { display: block; font-weight: 600; color: #fff; }
.opt__meta small { color: #8d9095; font-size: 12px; }

.summary { position: sticky; top: 96px; background: var(--surface); color: var(--text); border-radius: 10px; padding: 26px; display: grid; gap: 16px; }
.summary__list { list-style: none; display: grid; gap: 8px; max-height: 240px; overflow: auto; overscroll-behavior: contain; }
.summary__list li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; animation: rise 250ms var(--ease-out); }
.summary__list li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.summary__empty { font-size: 14px; color: var(--muted); }
.summary__empty[hidden] { display: none; }
.summary__total { display: grid; gap: 10px; padding-top: 16px; border-top: 2px solid var(--ink); }
.summary__total div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary__total span { font-size: 14px; color: var(--muted); }
.summary__total strong { font-family: var(--display); font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; }
.summary__total div + div strong { font-size: 20px; }
.summary__note { font-size: 12px; color: var(--muted); }
.summary__clear { background: none; border: 0; font: 500 14px var(--sans); color: var(--muted); cursor: pointer; justify-self: center; padding: 6px 10px; text-decoration: underline; text-underline-offset: 3px; }
.summary__clear[hidden] { display: none; }
.bump { animation: bump 300ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.06); } }

/* Как работаем */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-bottom: 64px; counter-reset: s; }
.process li { padding: 24px 22px 0 0; border-top: 2px solid var(--ink); position: relative; }
.process li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; }
.process .mono { display: block; color: var(--muted); margin-bottom: 10px; }
.process h3 { margin-bottom: 8px; }
.process p { font-size: 14px; color: var(--muted); }

.inside { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; }
.inside__item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.inside__item--big { grid-row: span 2; }
.inside__item:nth-child(4) { grid-column: span 2; }
.inside__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.inside__item figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 4px; }

/* Статус ремонта */
.status { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.status h2 { margin-bottom: 18px; }
.status__form { display: flex; gap: 8px; margin-top: 26px; max-width: 460px; }
.status__form input { flex: 1; min-width: 0; }
.status__card { background: var(--surface); border-radius: 10px; padding: 28px; min-height: 300px; display: grid; align-content: center; box-shadow: 0 1px 0 var(--line); }
.status__placeholder { color: var(--muted); text-align: center; max-width: 280px; margin: 0 auto; }
.order { display: grid; gap: 18px; animation: rise 350ms var(--ease-out); }
.order__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.order__head h3 { font-size: 24px; }
.order__head .mono { color: var(--muted); }
.pill { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 100px; background: rgba(31, 157, 85, .12); color: var(--ok); white-space: nowrap; }
.pill--done { background: var(--ink); color: #fff; }
.stages { list-style: none; display: grid; gap: 0; }
.stages li { position: relative; padding: 0 0 18px 32px; font-size: 15px; }
.stages li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.stages li::after { content: ""; position: absolute; left: 7px; top: 22px; bottom: 2px; width: 2px; background: var(--line); }
.stages li:last-child::after { display: none; }
.stages li.done::before { background: var(--ink); border-color: var(--ink); }
.stages li.done::after { background: var(--ink); }
.stages li.now::before { background: var(--yellow); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 204, 0, .3); }
.stages li small { display: block; color: var(--muted); font-size: 13px; }
.stages li:not(.done):not(.now) { color: var(--muted); }
.order__foot { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding-top: 14px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.order__foot b { font-weight: 600; }
.order--missing { text-align: center; color: var(--muted); }

/* Формы */
input[type="text"], input[type="tel"], textarea { width: 100%; min-height: 52px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font: 500 16px var(--sans); color: var(--text); outline: none; transition: border-color 200ms ease, box-shadow 200ms ease; }
textarea { resize: vertical; min-height: 92px; line-height: 1.45; }
input:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 204, 0, .55); }
.form__field { display: grid; gap: 6px; }
.form__field label { font-size: 13px; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__field.has-error input { border-color: #d64545; }
.form__error { color: #c53030; font-size: 12px; }
.form__error:empty { display: none; }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.form__check input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--ink); }
.form__check.has-error { color: #c53030; }
.form__success { background: #e8f5ec; border: 1.5px solid #9fd8b3; border-radius: var(--radius); padding: 16px 18px; font-size: 14px; display: grid; gap: 2px; transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out); }
@starting-style { .form__success { opacity: 0; transform: translateY(6px); } }
.form__success strong { color: #17663a; }
.form__success[hidden] { display: none; }
.is-prefilled { animation: prefill 1000ms ease-out; }
@keyframes prefill { from { box-shadow: 0 0 0 3px var(--yellow); border-color: var(--ink); } }

/* Запись */
.booking { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.booking__when, .booking__who { background: var(--surface); border-radius: 10px; padding: 28px; display: grid; gap: 16px; align-content: start; }
.booking__when .calc__label + * { margin-top: -4px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 8px; }
.day { border: 1.5px solid var(--line); background: var(--bg); border-radius: var(--radius); padding: 10px 4px; display: grid; gap: 2px; text-align: center; cursor: pointer; font: inherit; color: inherit; transition: border-color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out); }
.day:active { transform: scale(0.96); }
.day small { font-size: 12px; color: var(--muted); text-transform: uppercase; }
.day b { font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1.1; }
.day.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.day.is-active small { color: #b9bbbf; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slot { border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--radius); min-height: 44px; font: 600 15px var(--sans); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out); }
.slot:active:not(:disabled) { transform: scale(0.96); }
.slot:disabled { color: #b6b5b0; background: repeating-linear-gradient(135deg, var(--bg) 0 6px, var(--tint) 6px 7px); cursor: not-allowed; text-decoration: line-through; }
.slot.is-active { background: var(--yellow); border-color: var(--ink); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.faq__photo { margin-top: 32px; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.faq__photo img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.faq__photo figcaption { padding: 14px 16px; font-size: 13px; color: var(--muted); }
.faq__list { border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: 17px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--yellow) linear-gradient(var(--ink), var(--ink)) center / 10px 2px no-repeat; transition: transform 250ms var(--ease-out); }
summary::before { content: ""; position: absolute; right: 16px; top: 50%; width: 2px; height: 10px; margin-top: -5px; background: var(--ink); z-index: 1; transition: transform 250ms var(--ease-out); }
details[open] summary::before { transform: rotate(90deg); }
details > div { padding: 0 44px 22px 0; color: var(--muted); }
details[open] > div { animation: rise 250ms var(--ease-out); }

/* Контакты */
.contacts { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.contacts h2 { margin-bottom: 30px; }
.contacts__list { display: grid; gap: 18px; }
.contacts__list dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.contacts__list dd { font-size: 18px; font-weight: 500; }
.map { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.map svg { width: 100%; height: 100%; display: block; }

.footer { background: var(--ink); color: #9a9ca0; padding: 40px 0; font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.footer .logo span { color: #fff; }
.footer .logo__nut circle { fill: var(--ink); stroke: var(--yellow); }
.footer__credits { flex-basis: 100%; font-size: 12px; opacity: .75; }

.mobile-cta { display: none; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Hover — только для мыши */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
  .btn--ghost:hover { background: var(--ink); color: #fff; }
  .btn--yellow:hover { background: var(--yellow-2); border-color: var(--yellow-2); }
  .nav a:hover::after { transform: scaleX(1); }
  .service:hover { background: var(--surface); }
  .service:hover .service__icon { background: var(--yellow); border-color: var(--ink); }
  .segmented button:not(.is-active):hover { color: #fff; }
  .opt:hover input:not(:checked) { border-color: #8a8d93; }
  .inside__item:hover img { transform: scale(1.04); }
  .day:not(.is-active):hover, .slot:not(:disabled):not(.is-active):hover { border-color: var(--ink); }
  summary:hover { color: #000; }
  .link:hover { text-decoration-color: var(--ink); }
}

/* Адаптив */
@media (max-width: 1080px) {
  .header__phone { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .summary { position: static; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
}

@media (max-width: 860px) {
  .nav { position: fixed; inset: calc(72px + env(safe-area-inset-top)) 0 auto; flex-direction: column; gap: 0; background: var(--bg); padding: 8px 24px 24px; border-bottom: 2px solid var(--ink); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform 250ms var(--ease-out), opacity 200ms ease, visibility 0s 250ms; z-index: -1; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform 250ms var(--ease-out), opacity 200ms ease, visibility 0s; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a::after { display: none; }
  .header__cta { margin-left: auto; }
  .burger { display: block; }
  .hero__grid, .status, .booking, .faq, .contacts { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { aspect-ratio: 4 / 3; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(2) { border-right: 0; }
  .trust li:nth-child(3) { padding-left: 0; }
  .trust li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .calc__groups { grid-template-columns: 1fr; }
  .inside { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px 160px; }
  .inside__item--big { grid-row: auto; grid-column: span 2; }
  .inside__item:nth-child(4) { grid-column: span 2; }
  .section { padding: 80px 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; margin-right: -10px; }
  .hero { padding-top: 100px; }
  .hero__lead { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .status-chip { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; }
  .trust { margin-top: 40px; }
  .trust li { padding: 18px 12px 18px 0; }
  .trust li:nth-child(even) { padding-left: 14px; }
  .trust b { font-size: 26px; }
  .trust span { font-size: 13px; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; padding: 22px 18px; }
  .segmented { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: row; width: 100%; }
  .segmented button { padding: 11px 8px; }
  .group { padding: 14px 14px 6px; }
  .opt { font-size: 14px; }
  .summary { padding: 20px 18px; }
  .process { grid-template-columns: 1fr; row-gap: 0; }
  .process li { border-top: 0; border-left: 2px solid var(--ink); padding: 0 0 26px 24px; }
  .process li::before { top: 0; left: -7px; }
  .status__form { flex-direction: column; }
  .status__card { padding: 22px 18px; min-height: 0; }
  .booking__when, .booking__who { padding: 20px 16px; }
  .days { grid-template-columns: repeat(7, minmax(44px, 1fr)); overflow-x: auto; margin: 0 -16px 8px; padding: 0 16px 4px; scrollbar-width: none; }
  .days::-webkit-scrollbar { display: none; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .form__row { grid-template-columns: 1fr; }

  .mobile-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(243, 242, 238, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transition: transform 300ms var(--ease-drawer); }
  .mobile-cta.is-hidden { transform: translateY(100%); }
  .mobile-cta__btn { flex: 1; }
  .mobile-cta__phone { width: 52px; flex: none; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: var(--radius); transition: transform 160ms var(--ease-out); }
  .mobile-cta__phone:active { transform: scale(.94); }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: opacity 300ms ease; }
  .hero__text > *, .status-chip, .order, .summary__list li, details[open] > div { animation: fadeOnly 300ms ease both; }
  .hero__visual { animation: fadeOnly 300ms ease both; }
  .bar span { animation: none; }
  .bump { animation: none; }
}
@keyframes fadeOnly { from { opacity: 0; } }
