/* «Тулпар Авто» — демонстрационный сайт автосервиса. Простой CSS без фреймворков.
   Цвета — из examples/brand/BRAND.md. */

:root {
  /* тёмная часть: тёплый графит */
  --bg: #16120F;
  --bg-deep: #110E0B;
  --bg-raised: #1C1713;
  --panel: #221C17;
  --panel-2: #2A231D;
  --line: #342B24;
  --line-strong: #4A3E35;
  --accent: #FF6A1F;
  --accent-hover: #FF8A47;
  --accent-ink: #16120F;
  --text: #F7F1E8;
  --text-soft: #E2D8CA;
  --muted: #A99E90;
  --placeholder: #9A8F82;
  --error: #FF9A85;
  --success: #8FD6A0;

  /* светлые секции: молочный */
  --milk: #F1EADF;
  --milk-2: #E9E0D2;
  --paper: #FBF7F0;
  --ink: #1E1915;
  --ink-soft: #4A4038;
  --ink-muted: #6B6056;
  --ink-line: rgba(30, 25, 21, .14);
  --accent-deep: #B8440C; /* оранжевый для текста на светлом фоне (контраст 4,5:1 на молочном) */

  --font-head: 'Unbounded', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Onest', 'Segoe UI', system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --radius: 20px;
  --radius-sm: 12px;
  --section-y: clamp(72px, 9vw, 128px);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
}

/* ---------- База ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.i { width: 1em; height: 1em; fill: currentColor; flex: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.section--light :focus-visible { outline-color: var(--accent-deep); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; outline-color: var(--text); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section[id] { scroll-margin-top: var(--header-h); }

/* ---------- Типографика ---------- */
.section-title {
  max-width: 820px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.section { padding-block: var(--section-y); position: relative; }
.section-head { margin-bottom: clamp(32px, 4.5vw, 52px); }
.section-lead { max-width: 640px; margin-top: 18px; color: var(--text-soft); font-size: clamp(17px, 1.4vw, 19px); text-wrap: pretty; }
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
}
.section-head--row .note { max-width: 360px; margin-top: 0; }

.note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.note__tag {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 10px;
  border: 1px solid rgba(255, 106, 31, .5);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

/* Светлые секции: молочный фон, тёмный текст */
.section--light {
  background: var(--milk);
  color: var(--ink);
}
.section--light .section-lead { color: var(--ink-soft); }
.section--light .note { color: var(--ink-muted); }
.section--light .note__tag { color: var(--accent-deep); border-color: rgba(184, 68, 12, .45); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background-color .2s, border-color .2s, color .2s, transform .25s var(--ease-spring), box-shadow .25s;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(255, 106, 31, .8);
}
.btn--primary:focus-visible { outline-color: var(--text); }
.section--light .btn--primary:focus-visible { outline-color: var(--ink); }
.btn--ghost {
  border-color: rgba(247, 241, 232, .4);
  color: var(--text);
  background: rgba(22, 18, 15, .35);
}
.btn--ghost:hover { border-color: var(--text); background: rgba(247, 241, 232, .1); }
.btn--outline {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.section--light .btn--outline { border-color: rgba(30, 25, 21, .28); color: var(--ink); }
.section--light .btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--milk); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Полоса «Демонстрация» ---------- */
.demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  padding: 8px var(--gutter);
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}
.demo-bar__text b { color: var(--text); font-weight: 600; }
.demo-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 16px 6px 12px;
  border: 1px solid rgba(255, 106, 31, .55);
  border-radius: 999px;
  background: rgba(255, 106, 31, .12);
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.demo-bar__cta .i { font-size: 20px; color: var(--accent); transition: color .2s; }
.demo-bar__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.demo-bar__cta:hover .i { color: var(--accent-ink); }
.demo-bar__dot {
  display: inline-block;
  vertical-align: middle;
  width: 8px; height: 8px;
  margin: -2px 10px 0 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 106, 31, .18);
}

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 18, 15, .86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(22, 18, 15, .95); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  border-radius: 10px;
}
.logo__mark { width: 40px; height: 40px; transition: transform .5s var(--ease-spring); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo__word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.logo__accent { color: var(--accent); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.site-nav__list { display: flex; gap: 26px; }
.site-nav__list a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  transition: color .2s;
}
.site-nav__list a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.site-nav__list a:hover,
.site-nav__list a[aria-current="true"] { color: var(--text); }
.site-nav__list a:hover::after,
.site-nav__list a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
}
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s var(--ease-out), opacity .2s, top .3s var(--ease-out);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(calc(100vh - var(--header-h) - 38px), 860px);
  min-height: min(calc(100svh - var(--header-h) - 38px), 860px);
  padding-block: clamp(72px, 10vh, 112px) clamp(56px, 8vh, 88px);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #221C17 url(media/hero-poster.jpg) center / cover no-repeat;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  filter: sepia(.18) saturate(1.05);
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 85% 100%, rgba(255, 106, 31, .16), rgba(255, 106, 31, 0) 70%),
    linear-gradient(90deg, rgba(22, 18, 15, .96) 0%, rgba(22, 18, 15, .88) 38%, rgba(22, 18, 15, .55) 70%, rgba(22, 18, 15, .45) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(22, 18, 15, 0) 30%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero__place {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 500;
}
.hero__place::before {
  content: '';
  width: 28px; height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.hero__title {
  max-width: 720px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(36px, 4.9vw, 70px);
  line-height: 1.04;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.hero__lead {
  max-width: 560px;
  margin-top: 26px;
  color: var(--text-soft);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero__actions .btn { min-height: 56px; padding-inline: 28px; font-size: 17px; }

/* Статус «открыто / закрыто» — считается по времени Бишкека */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 10px 16px 10px 14px;
  border: 1px solid rgba(247, 241, 232, .14);
  border-radius: 999px;
  background: rgba(22, 18, 15, .55);
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.35;
}
.open-status__dot {
  position: relative;
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--muted);
}
.open-status.is-open .open-status__dot { background: var(--success); }
.open-status.is-open .open-status__dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--success);
  animation: ping 2s var(--ease-out) infinite;
}
.open-status.is-closed .open-status__dot { background: #F2B25C; }
@keyframes ping {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Заказ-наряд — главный образ первого экрана */
/* Два наряда лежат в одной ячейке и сменяют друг друга; высота — по большему */
.tickets {
  display: grid;
  justify-self: end;
  width: 100%;
  max-width: 400px;
}
.tickets > .ticket { grid-area: 1 / 1; }
.js .tickets > .ticket:not(.is-current) { visibility: hidden; }
.js .tickets > .ticket.is-leaving { visibility: visible; animation: ticket-out .45s var(--ease-out) forwards; }
@keyframes ticket-out { to { opacity: 0; transform: translateY(-14px) rotate(-2deg); } }
.tickets__switch {
  grid-row: 2;
  display: inline-flex;
  justify-self: start;
  gap: 4px;
  margin-top: 14px;
  padding: 4px;
  border: 1px solid rgba(247, 241, 232, .14);
  border-radius: 999px;
  background: rgba(22, 18, 15, .6);
}
.tickets__switch[hidden] { display: none; }
.tickets__btn {
  min-height: 36px;
  padding: 6px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.tickets__btn:hover { color: var(--text); background: rgba(247, 241, 232, .08); }
.tickets__btn[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

.ticket { width: 100%; }
.ticket__paper {
  position: relative;
  padding: 30px 28px 26px;
  background:
    repeating-linear-gradient(0deg, rgba(30, 25, 21, 0) 0 31px, rgba(30, 25, 21, .05) 31px 32px),
    var(--paper);
  color: var(--ink);
  border-radius: 6px 6px 14px 14px;
  box-shadow: 0 2px 0 rgba(255, 255, 255, .6) inset, 0 40px 70px -30px rgba(0, 0, 0, .85), 0 12px 24px -12px rgba(0, 0, 0, .6);
  transform: rotate(2.2deg);
  transition: transform .6s var(--ease-spring);
}
.ticket:hover .ticket__paper { transform: rotate(.6deg) translateY(-4px); }
/* Перфорация сверху — лист оторван от книжки нарядов */
.ticket__paper::before {
  content: '';
  position: absolute;
  top: -6px; left: 0; right: 0;
  height: 12px;
  background: radial-gradient(circle at 8px 0, transparent 6px, var(--paper) 6.5px) 0 6px / 16px 12px repeat-x;
}
.ticket__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.ticket__title { font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.ticket__no { color: var(--ink-muted); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ticket__car {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
}
.ticket__car span { color: var(--ink-muted); font-weight: 500; font-size: 15px; }
.ticket__rows { margin-top: 16px; display: grid; gap: 10px; }
.ticket__row,
.ticket__total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15.5px;
  line-height: 1.35;
}
.ticket__row span { flex: 1; display: flex; align-items: baseline; gap: 8px; }
.ticket__row span::after {
  content: '';
  flex: 1;
  min-width: 16px;
  border-bottom: 2px dotted rgba(30, 25, 21, .3);
  transform: translateY(-4px);
}
.ticket__row b,
.ticket__total b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket__total {
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1.5px dashed rgba(30, 25, 21, .35);
  font-weight: 600;
}
.ticket__total b { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--accent-deep); }
.ticket__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.35;
}
.ticket__note + .ticket__note { margin-top: 6px; }
.ticket__note .i { font-size: 18px; color: var(--accent-deep); }
.ticket__stamp {
  position: absolute;
  right: 16px;
  top: 80px;
  padding: 7px 12px;
  border: 3px solid #C4400A;
  border-radius: 10px;
  box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 4px #C4400A;
  color: #C4400A;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-8deg);
  opacity: .82;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.ticket__caption {
  margin-top: 18px;
  padding-left: 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

/* Наряд заполняется по строчкам, в конце — штамп. Только при включённом JS и без «меньше движения» */
.js .ticket .ticket__row,
.js .ticket .ticket__total,
.js .ticket .ticket__note { opacity: 0; transform: translateX(-10px); }
.js .ticket .ticket__stamp { opacity: 0; transform: rotate(-8deg) scale(1.8); }
.js .ticket .ticket__paper { opacity: 0; transform: rotate(6deg) translateY(30px); }
.js .ticket.is-live .ticket__paper { animation: ticket-in .9s var(--ease-spring) .15s forwards; }
.js .ticket.is-live .ticket__row,
.js .ticket.is-live .ticket__total,
.js .ticket.is-live .ticket__note { animation: line-in .5s var(--ease-out) forwards; animation-delay: calc(.75s + var(--i) * .22s); }
.js .ticket.is-live .ticket__stamp { animation: stamp .45s cubic-bezier(.5, 0, .75, 0) 2.2s forwards; }
.js .ticket.is-done .ticket__paper { animation: none; opacity: 1; transform: rotate(2.2deg); }
.js .ticket.is-done:hover .ticket__paper { transform: rotate(.6deg) translateY(-4px); }
@keyframes ticket-in { to { opacity: 1; transform: rotate(2.2deg) translateY(0); } }
@keyframes line-in { to { opacity: 1; transform: none; } }
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-8deg) scale(1.8); }
  70% { opacity: .9; transform: rotate(-8deg) scale(.94); }
  100% { opacity: .82; transform: rotate(-8deg) scale(1); }
}

.hero__video-toggle {
  position: absolute;
  top: 20px;
  right: var(--gutter);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(247, 241, 232, .25);
  border-radius: 999px;
  background: rgba(22, 18, 15, .55);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: border-color .2s, background-color .2s;
}
.hero__video-toggle:hover { border-color: var(--text); background: rgba(22, 18, 15, .8); }
.hero__video-toggle .i { font-size: 18px; }
.hero__video-toggle .icon--play { display: none; }
.hero__video-toggle[aria-pressed="true"] .icon--pause { display: none; }
.hero__video-toggle[aria-pressed="true"] .icon--play { display: block; }
.no-video .hero__video-toggle { display: none; }

/* ---------- Услуги и цены (светлая секция, прайс строками) ---------- */
.price-list { border-top: 2px solid var(--ink); }
.price-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 128px 176px 156px;
  gap: 8px 28px;
  align-items: center;
  padding: 24px 20px;
  margin-inline: -20px;
  border-radius: 18px;
  transition: background-color .3s;
}
/* Разделитель строк прайса — отдельной линией, чтобы не скруглялся вместе с подсветкой */
.price-row::after {
  content: '';
  position: absolute;
  left: 20px; right: 20px; bottom: 0;
  height: 1px;
  background: var(--ink-line);
  transition: opacity .3s;
}
.price-row:hover { background: var(--paper); }
.price-row:hover::after { opacity: 0; }
.price-row__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--milk-2);
  color: var(--accent-deep);
  font-size: 28px;
  transition: background-color .3s, color .3s, transform .5s var(--ease-spring);
}
.price-row:hover .price-row__icon { background: var(--accent); color: var(--ink); transform: rotate(-6deg); }
.price-row__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
}
.price-row__text { margin-top: 6px; max-width: 54ch; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.price-row__time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 15px;
  white-space: nowrap;
}
.price-row__time .i { font-size: 18px; }
.price-row__price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  white-space: nowrap;
}
.price-row__unit {
  display: block;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
}
.price-row__btn { width: 100%; }

.price-other {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px 28px;
  align-items: center;
  margin-top: 32px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--milk-2);
}
.price-other .price-row__icon { background: var(--paper); }
.price-other__text { color: var(--ink-soft); font-size: 17px; line-height: 1.5; }
.price-other__text b { color: var(--ink); font-weight: 700; }

/* Вкладки прайса «Ремонт и ТО / Детейлинг». Без JS вкладки скрыты, обе панели идут подряд с заголовками */
.price-tabs {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 28px;
  padding: 6px;
  border-radius: 999px;
  background: var(--milk-2);
}
.price-tabs[hidden] { display: none; }
.price-tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.price-tabs__tab .i { font-size: 22px; color: var(--accent-deep); transition: color .25s; }
.price-tabs__tab:hover { color: var(--ink); background: rgba(255, 255, 255, .5); }
.price-tabs__tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--milk);
  box-shadow: 0 8px 20px -10px rgba(30, 25, 21, .6);
}
.price-tabs__tab[aria-selected="true"] .i { color: var(--accent); }
.price-panel + .price-panel { margin-top: 40px; }
.price-panel__title {
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
}
/* С вкладками заголовок панели дублирует вкладку — оставляем его только для экранных дикторов */
.has-tabs .price-panel + .price-panel { margin-top: 0; }
.has-tabs .price-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.has-tabs .price-panel[hidden] { display: none; }
.has-tabs .price-panel.is-entering .price-row { animation: row-in .5s var(--ease-out) both; }
.has-tabs .price-panel.is-entering .price-row:nth-child(2) { animation-delay: .05s; }
.has-tabs .price-panel.is-entering .price-row:nth-child(3) { animation-delay: .1s; }
.has-tabs .price-panel.is-entering .price-row:nth-child(4) { animation-delay: .15s; }
.has-tabs .price-panel.is-entering .price-row:nth-child(5) { animation-delay: .2s; }
@keyframes row-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Блок студии BULUT в подвале ---------- */
.studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(255, 106, 31, .16), rgba(255, 106, 31, 0) 70%),
    var(--panel);
}
.studio__kicker { color: var(--accent); font-size: 15px; font-weight: 600; }
.studio__title {
  margin-top: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.studio__lead { max-width: 560px; margin-top: 12px; color: var(--text-soft); font-size: 17px; line-height: 1.55; }
.studio__cta { min-height: 56px; padding-inline: 26px; font-size: 17px; gap: 10px; }
.studio__cta .i { font-size: 22px; }

/* ---------- Как мы работаем ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
/* Линия маршрута между шагами: прорисовывается, когда шаги появились */
.steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 28px; right: calc((100% - 84px) / 4 - 28px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 10px, transparent 10px 18px);
}
.steps::after {
  content: '';
  position: absolute;
  top: 28px; left: 28px; right: calc((100% - 84px) / 4 - 28px);
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease-out) .4s;
}
.steps.is-drawn::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; }
.step__num {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  transition: background-color .3s, color .3s, transform .5s var(--ease-spring);
}
.step:hover .step__num { background: var(--accent); color: var(--accent-ink); transform: scale(1.08); }
.step__meta {
  margin-top: 22px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}
.step__title {
  margin-top: 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
}
.step__text { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 32ch; }

/* ---------- Почему к нам возвращаются ---------- */
.why { background: var(--bg-raised); }
.why__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.why__photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--panel);
}
.why__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.12);
  transition: transform 1.2s var(--ease-out);
}
.why__photo:hover img { transform: scale(1.04); }
.why__caption {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(247, 241, 232, .94);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}
.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 36px;
}
.detail__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(255, 106, 31, .13);
  color: var(--accent);
  font-size: 26px;
  transition: transform .5s var(--ease-spring), background-color .3s, color .3s;
}
.detail:hover .detail__icon { transform: translateY(-3px) rotate(-6deg); background: var(--accent); color: var(--accent-ink); }
.detail__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
}
.detail__text { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.55; }

/* ---------- Мастера ---------- */
.masters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.master {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  transition: transform .45s var(--ease-spring), box-shadow .4s;
}
.master:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(60, 40, 20, .45); }
.master__top { display: flex; align-items: center; gap: 16px; }
.master__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  transition: transform .5s var(--ease-spring);
}
.master:hover .master__avatar { transform: rotate(-8deg); }
.master__avatar--a { background: var(--accent); color: var(--ink); }
.master__avatar--n { background: var(--ink); color: var(--milk); }
.master__avatar--e { background: #CFC3B3; color: var(--ink); }
.master__name { font-family: var(--font-head); font-weight: 700; font-size: 21px; line-height: 1.2; }
.master__role { margin-top: 2px; color: var(--ink-muted); font-size: 15px; }
.master__quote {
  margin-top: 22px;
  margin-bottom: 22px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}
.master__meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed rgba(30, 25, 21, .22);
  color: var(--ink-muted);
  font-size: 15px;
}

/* ---------- Онлайн-запись ---------- */
.booking { isolation: isolate; } /* без overflow: hidden — иначе ломается sticky у вводного блока */
.booking__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(22, 18, 15, .72) 30%, rgba(22, 18, 15, .8) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(22, 18, 15, .5), rgba(22, 18, 15, .92)),
    url(media/engine-dark.webp) center / cover no-repeat;
}
.booking__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.booking__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.booking__lead { margin-top: 22px; color: var(--text-soft); font-size: 17px; text-wrap: pretty; }
.booking__points { display: grid; gap: 12px; margin-top: 28px; }
.booking__points li { display: flex; align-items: center; gap: 12px; }
.booking__points .i {
  width: 26px; height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255, 106, 31, .16);
  color: var(--accent);
}
/* Короткая записка от мастера-приёмщика */
.booking__master {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 4px 16px;
  margin-top: 32px;
  padding: 18px 20px;
  border-radius: 18px 18px 18px 6px;
  background: var(--paper);
  color: var(--ink);
}
.booking__master .master__avatar { grid-row: span 2; width: 52px; height: 52px; font-size: 20px; }
.booking__master blockquote p { font-size: 16px; line-height: 1.5; }
.booking__master figcaption { color: var(--ink-muted); font-size: 14px; }
.booking__demo {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px dashed rgba(255, 106, 31, .5);
  border-radius: 12px;
  color: var(--muted);
  font-size: 15px;
}

.booking__card {
  position: relative;
  padding: clamp(24px, 3vw, 40px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
  overflow: hidden;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 18px;
}
.form__required-note { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field__label { margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.field__optional { color: var(--muted); font-weight: 400; }
.field__input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
  color-scheme: dark;
  transition: border-color .2s, box-shadow .2s;
}
.field__input::placeholder { color: var(--placeholder); opacity: 1; }
.field__input:hover { border-color: #66574B; }
.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 106, 31, .28); }
.field__input[aria-invalid="true"] { border-color: var(--error); }
.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(255, 154, 133, .25); }
.field__textarea { min-height: 104px; resize: vertical; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
  content: '';
  position: absolute;
  right: 16px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select select option { background: var(--panel); color: var(--text); }
.field__hint { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.field__counter { text-align: right; }
.field__error {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 8px;
  color: var(--error);
  font-size: 15px;
  line-height: 1.4;
}
.field__error::before {
  content: '!';
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--error);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
}
.form__footer { margin-top: 6px; }
.form__footer .btn { min-height: 58px; font-size: 17px; }
.form__status { margin-top: 12px; min-height: 1.4em; color: var(--error); font-size: 15px; text-align: center; }
.form__status:empty { display: none; }

.success__body { text-align: center; padding: clamp(24px, 4vw, 48px) 8px; }
.success__icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  fill: var(--success);
}
.success__title {
  max-width: 520px;
  margin-inline: auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
}
.success__title:focus { outline: none; }
.success__text { max-width: 480px; margin: 16px auto 28px; color: var(--muted); }
.success__text strong { color: var(--text); font-weight: 600; }

/* ---------- Отзывы: «сообщения» на светлом фоне ---------- */
.review-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.review figure { display: flex; flex-direction: column; }
.review blockquote,
.review .stars { position: relative; }
.review figure > .stars,
.review figure > .review__text {
  background: var(--paper);
}
.review figure > .stars {
  padding: 24px 26px 0;
  border-radius: 22px 22px 0 0;
  border: 1px solid var(--ink-line);
  border-bottom: 0;
}
.review figure > .review__text {
  padding: 14px 26px 24px;
  border-radius: 0 0 22px 6px;
  border: 1px solid var(--ink-line);
  border-top: 0;
  transition: transform .45s var(--ease-spring);
}
/* хвостик «сообщения» */
.review figure > .review__text::after {
  content: '';
  position: absolute;
  left: -1px; bottom: -14px;
  width: 22px; height: 15px;
  background: var(--paper);
  border-left: 1px solid var(--ink-line);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.review figure { transition: transform .45s var(--ease-spring); }
.review:hover figure { transform: translateY(-4px) rotate(-.4deg); }
.stars { color: var(--accent); font-size: 19px; letter-spacing: 3px; line-height: 1; }
.stars__off { color: #CFC3B3; }
.review__text p { font-size: 17px; line-height: 1.6; color: var(--ink); }
.review__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-left: 4px;
}
.review__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--milk);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
}
.review__name { display: block; font-weight: 700; color: var(--ink); }
.review__car { display: block; color: var(--ink-muted); font-size: 15px; }

/* ---------- Где мы ---------- */
.location__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.location__text { margin-top: 22px; color: var(--text-soft); }
.hours { margin-top: 28px; display: grid; }
.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  border-bottom: 1px dashed var(--line-strong);
}
.hours__row dt { color: var(--muted); }
.hours__row dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.location__demo { margin-top: 14px; margin-bottom: 28px; color: var(--muted); font-size: 15px; }

.map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #1B1612;
}
.map__svg { width: 100%; height: auto; }
.map__caption {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.map__pulse { transform-origin: 320px 172px; transform-box: view-box; animation: pulse 2.4s var(--ease-out) infinite; }
.map__route { animation: route 1.6s linear infinite; }
@keyframes pulse {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(2.6); opacity: 0; }
}
@keyframes route { to { stroke-dashoffset: -24; } }

/* ---------- Подвал ---------- */
.site-footer {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: 28px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px 48px;
}
.site-footer__slogan { max-width: 440px; margin-top: 18px; color: var(--muted); font-size: 16px; }
.site-footer__nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; }
.site-footer__nav a { color: var(--muted); transition: color .2s; }
.site-footer__nav a:hover { color: var(--text); }
.site-footer__giant {
  margin-top: clamp(40px, 6vw, 72px);
  color: transparent;
  -webkit-text-stroke: 1px #3A3029;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: min(9.2vw, 142px);
  line-height: .9;
  letter-spacing: -.01em;
  white-space: nowrap;
  user-select: none;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Появление при прокрутке ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* Строки и карточки сохраняют свои ховер-переходы после появления */
.js .price-row[data-reveal].is-visible { transition: background-color .3s, border-color .3s, opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .master[data-reveal].is-visible { transition: transform .45s var(--ease-spring), box-shadow .4s, opacity .7s var(--ease-out); }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .price-row { grid-template-columns: 56px minmax(0, 1fr) 150px; grid-template-areas: 'icon main price' 'icon main time' 'icon main btn'; row-gap: 6px; }
  .price-row__icon { grid-area: icon; align-self: start; }
  .price-row__main { grid-area: main; }
  .price-row__price { grid-area: price; }
  .price-row__time { grid-area: time; }
  .price-row__btn { grid-area: btn; margin-top: 6px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .steps::before, .steps::after { display: none; }
  .masters { grid-template-columns: 1fr; max-width: 680px; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .tickets { justify-self: start; max-width: 380px; }
  .why__grid,
  .booking__grid,
  .location__grid { grid-template-columns: 1fr; }
  .why__photo { aspect-ratio: 16 / 10; order: 2; }
  .why__photo img { object-position: 50% 60%; }
  .booking__intro { position: static; }
  .review-list { grid-template-columns: 1fr; max-width: 680px; gap: 32px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 12px var(--gutter) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease-out), visibility 0s .3s;
  }
  .js .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s, transform .3s var(--ease-out), visibility 0s;
  }
  .js .site-nav__list { flex-direction: column; gap: 0; }
  .js .site-nav__list a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 18px;
  }
  .js .site-nav__list a::after { display: none; }
  .js .site-nav__cta { min-height: 52px; font-size: 17px; }
  /* Без JavaScript меню просто переносится под логотип */
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .site-nav { flex-wrap: wrap; margin-left: 0; gap: 12px 24px; }
  html:not(.js) .site-nav__list { flex-wrap: wrap; gap: 6px 20px; }
  html:not(.js) .nav-toggle { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { align-items: flex-start; min-height: 0; padding-top: 76px; padding-bottom: 56px; }
  .hero__media::after {
    background:
      radial-gradient(90% 50% at 100% 100%, rgba(255, 106, 31, .14), rgba(255, 106, 31, 0) 70%),
      linear-gradient(180deg, rgba(22, 18, 15, .72) 0%, rgba(22, 18, 15, .84) 45%, var(--bg) 100%);
  }
  .hero__video { object-position: 62% 50%; }
  .hero__place { margin-bottom: 16px; font-size: 15px; }
  .hero__lead { margin-top: 18px; }
  .hero__actions { margin-top: 26px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .open-status { margin-top: 20px; }
  .tickets { margin-top: 12px; max-width: none; }
  .demo-bar { font-size: 14px; gap: 8px 14px; }
  .demo-bar__more { display: block; }
  .price-tabs { display: flex; width: 100%; }
  .price-tabs__tab { flex: 1 1 0; justify-content: center; gap: 8px; padding-inline: 10px; font-size: 14px; white-space: nowrap; }
  .price-tabs__tab .i { font-size: 20px; }
  .studio { padding: 28px 22px; }
  .studio__cta { width: 100%; }
  .ticket__paper { padding: 26px 20px 22px; transform: rotate(1.2deg); }
  .js .ticket.is-done .ticket__paper { transform: rotate(1.2deg); }
  @keyframes ticket-in { to { opacity: 1; transform: rotate(1.2deg) translateY(0); } }
  .ticket__stamp { right: 10px; top: 64px; font-size: 12px; }
  .hero__video-toggle { top: 14px; }
  .hero__video-toggle-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero__video-toggle { padding: 8px; min-height: 40px; min-width: 40px; justify-content: center; }

  .section-head--row .note { max-width: none; }
  .price-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    grid-template-areas: 'icon main main' 'time time price' 'btn btn btn';
    gap: 12px 14px;
    padding: 22px 0;
    margin-inline: 0;
    border-radius: 0;
  }
  .price-row:hover { background: transparent; }
  .price-row::after, .price-row:hover::after { left: 0; right: 0; opacity: 1; }
  .price-row__icon { width: 48px; height: 48px; font-size: 24px; border-radius: 14px; }
  .price-row__title { font-size: 19px; }
  .price-row__price { font-size: 20px; text-align: right; }
  .price-row__unit { display: inline; }
  .price-row__btn { margin-top: 4px; }
  .price-other { grid-template-columns: 48px minmax(0, 1fr); padding: 20px; }
  .price-other .price-row__icon { width: 48px; height: 48px; }
  .price-other .btn { grid-column: 1 / -1; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; padding-bottom: 30px; }
  .step:last-child { padding-bottom: 0; }
  .step::before { content: ''; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, var(--line-strong) 0 8px, transparent 8px 14px); }
  .step:last-child::before { display: none; }
  .step__num { grid-row: span 3; width: 48px; height: 48px; font-size: 19px; }
  .step__meta { margin-top: 4px; }
  .step__title { margin-top: 2px; font-size: 19px; }
  .step__text { max-width: none; }

  .details { grid-template-columns: 1fr; gap: 26px; }
  .detail { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; }
  .detail__icon { grid-row: span 2; width: 48px; height: 48px; margin-bottom: 0; font-size: 24px; }

  .master { padding: 24px 22px; }
  .form { grid-template-columns: 1fr; gap: 16px; }
  .booking__card { border-radius: 20px; }
  .review figure > .stars { padding: 22px 22px 0; }
  .review figure > .review__text { padding: 12px 22px 22px; }
  .site-footer__nav ul { grid-template-columns: 1fr 1fr; gap: 10px 24px; }

  /* Подписи внутри SVG-схемы на телефоне слишком мелкие — прячем, вся информация есть в тексте рядом */
  .map__label { display: none; }
}

@media (max-width: 380px) {
  .logo__word { font-size: 16px; }
  .logo { gap: 10px; }
  .logo__mark { width: 36px; height: 36px; }
  .ticket__row, .ticket__total { font-size: 15px; }
  .price-tabs__tab .i { display: none; }
}

/* ---------- Уважение к настройке «меньше движения» ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .ticket .ticket__paper,
  .js .ticket .ticket__row,
  .js .ticket .ticket__total,
  .js .ticket .ticket__note { opacity: 1; transform: none; animation: none; }
  .js .ticket .ticket__paper { transform: rotate(2deg); }
  .js .ticket .ticket__stamp { opacity: .82; transform: rotate(-8deg); animation: none; }
  .map__pulse, .open-status__dot::after { display: none; }
  .btn--primary:hover, .master:hover, .review:hover figure, .ticket:hover .ticket__paper { transform: none; }
  .why__photo:hover img { transform: none; }
}

/* Печать: блоки, которые появляются при прокрутке, показываем сразу */
@media print {
  .js [data-reveal],
  .js .ticket .ticket__paper,
  .js .ticket .ticket__row,
  .js .ticket .ticket__total,
  .js .ticket .ticket__note,
  .js .ticket .ticket__stamp { opacity: 1; transform: none; animation: none; }
}
