/* Шрифты лежат на нашем сервере (Google Fonts, лицензия OFL). Вариативные: один файл на все веса.
   Подмножества: кириллица, латиница и отдельный крошечный файл со знаками Š и ₽. */
/* Inter normal cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Inter normal latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter normal extra */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/inter-normal-extra.woff2) format('woff2');
  unicode-range: U+0160, U+20BD;
}
/* Noto Serif Display normal cyrillic */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 300 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Noto Serif Display normal latin */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 300 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Noto Serif Display normal extra */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 300 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-normal-extra.woff2) format('woff2');
  unicode-range: U+0160, U+20BD;
}
/* Noto Serif Display italic cyrillic */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 300 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Noto Serif Display italic latin */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 300 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Noto Serif Display italic extra */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 300 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-italic-extra.woff2) format('woff2');
  unicode-range: U+0160, U+20BD;
}
/* Roboto Mono normal cyrillic */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/roboto-mono-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Roboto Mono normal latin */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/roboto-mono-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Roboto Mono normal extra */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/roboto-mono-normal-extra.woff2) format('woff2');
  unicode-range: U+0160, U+20BD;
}

/* =========================================================
   Бест Кар Сервис — светлая тема
   Основа: Origin Financial (Refero) — галерейная подача,
   тонкий сериф, моно-лейблы. Акценты: жёлтый, красный, белый.
   ========================================================= */

:root {
  /* Поверхности */
  --paper: #f6f4ef;
  --paper-2: #eeebe4;
  --surface: #ffffff;
  --surface-2: #fbfaf7;
  --night: #121315;
  --night-2: #1d1e21;
  --line: rgba(18, 19, 21, 0.09);
  --line-2: rgba(18, 19, 21, 0.16);
  --line-3: rgba(18, 19, 21, 0.3);

  /* Текст */
  --ink: #121315;
  --ink-2: #2a2b2f;
  --text: #56575c;
  --muted: #66676b;
  --white: #ffffff;

  /* Акценты клиента */
  --yellow: #ffc21a;
  --yellow-hover: #f5b400;
  --yellow-pale: #ffe08a;
  --yellow-soft: #fff3cc;
  --amber: #8a5f00;
  --red: #e32a2f;
  --red-deep: #b3161c;
  --star: #f5b400;

  /* Шрифты */
  --serif: "Noto Serif Display", "Times New Roman", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Геометрия */
  --r-btn: 8px;
  --r-card: 20px;
  --r-tile: 30px;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 11vw, 140px);

  --ease: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(18, 19, 21, 0.04), 0 10px 28px -14px rgba(18, 19, 21, 0.14);
  --shadow-lg: 0 30px 70px -24px rgba(18, 19, 21, 0.3);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
input, select, textarea { font: inherit; }

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-btn);
  background: var(--yellow); color: var(--ink);
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}
.skip:focus { transform: none; }

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

.section { padding-block: var(--section); position: relative; }
.section--abyss { background: var(--paper-2); }

/* ---------- Типографика ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 11px/2 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}
.label::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--yellow);
  transform: rotate(45deg);
  flex: none;
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(50px, 8.6vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.8vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Курсивное слово — жёлтый маркер под тёмным текстом */
.display em,
.h2 em,
.h3 em,
.footer__word em {
  font-style: italic;
  color: var(--ink);
  background: linear-gradient(transparent 66%, var(--yellow) 66%, var(--yellow) 89%, transparent 89%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.06em;
}

.lead {
  font: 300 18px/1.55 var(--sans);
  color: var(--text);
  max-width: 560px;
  text-wrap: pretty;
}

.section-head {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 20px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .lead { margin-inline: auto; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border-radius: var(--r-btn);
  font: 400 16px/1.2 var(--sans);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-hover); }

/* Контрастная кнопка: тёмная на светлом, белая на цветном */
.btn--white,
.btn--dark { background: var(--ink); color: var(--white); }
.btn--white:hover,
.btn--dark:hover { background: #2c2d31; }

.btn--ghost { border: 1px solid var(--line-3); color: var(--ink); padding: 12px 19px; }
.btn--ghost:hover { background: rgba(18, 19, 21, 0.05); border-color: var(--ink); }

/* Прозрачная кнопка на тёмном фоне */
.btn--glass { border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.08); color: var(--white); padding: 12px 19px; }
.btn--glass:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--white); }

.btn--lg { padding: 16px 24px; font-size: 17px; }
.btn--block { width: 100%; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
a.pill:hover { border-color: var(--line-3); }
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 194, 26, 0.3);
}

/* ---------- Навигация ---------- */
.nav {
  position: fixed;
  inset: 12px 0 auto;
  z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav__bar {
  position: relative;
  pointer-events: auto;
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 10px 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled .nav__bar {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex: none;
}
.logo__mark { width: 44px; height: 44px; flex: none; object-fit: contain; margin-block: -4px; }
.footer .logo__mark { width: 56px; height: 56px; margin-block: 0; }
.logo__name {
  font: 500 16px/1 var(--sans);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo__name i {
  font: italic 300 19px/1 var(--serif);
  color: var(--amber);
  margin-left: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}
.nav__links > a,
.nav__item > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  border-radius: var(--r-btn);
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav__links > a:hover,
.nav__item > a:hover,
.nav__item--mega:hover > a,
.nav__item--mega:focus-within > a { color: var(--ink); background: rgba(18, 19, 21, 0.05); }
.nav__links [aria-current="page"] { color: var(--ink); }
.nav__links [aria-current="page"]::after {
  content: "";
  width: 5px; height: 5px;
  margin-left: 4px;
  background: var(--yellow);
  transform: rotate(45deg);
}
.nav__caret { width: 14px; height: 14px; opacity: 0.6; transition: transform 0.25s ease; }
.nav__item--mega:hover .nav__caret,
.nav__item--mega:focus-within .nav__caret { transform: rotate(180deg); }

/* Мега-меню услуг */
.mega {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 10px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item--mega:hover .mega,
.nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.mega__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  transition: background-color 0.2s ease;
}
.mega__link:hover { background: var(--paper); }
.mega__icon {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--yellow-soft);
  color: var(--ink);
  transition: background-color 0.2s ease;
}
.mega__icon svg { width: 20px; height: 20px; }
.mega__link:hover .mega__icon { background: var(--yellow); }
.mega__text { display: grid; gap: 3px; }
.mega__title { font-size: 15px; color: var(--ink); line-height: 1.25; }
.mega__price { font: 500 10px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.mega__aside { display: grid; grid-template-rows: 1fr auto auto; gap: 4px; }
.mega__promo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--ink);
  transition: background-color 0.2s ease;
}
.mega__promo:hover { background: var(--yellow-hover); }
.mega__promo-tag { font: 500 10px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.mega__promo-title { font: 300 22px/1.1 var(--serif); margin-top: auto; }
.mega__promo-price { font: 300 44px/0.9 var(--serif); letter-spacing: -0.03em; }
.mega__all {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink);
  transition: background-color 0.2s ease;
}
.mega__all:hover { background: var(--paper); }
.mega__all svg { width: 15px; height: 15px; }

.nav__right { display: flex; align-items: center; gap: 16px; flex: none; }
.nav__phone {
  display: grid;
  justify-items: end;
  line-height: 1.2;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 10px/1.2 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.status::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted);
  flex: none;
}
.status.is-open::before {
  background: #1fae5b;
  box-shadow: 0 0 0 3px rgba(31, 174, 91, 0.18);
}

.nav__cta { padding: 11px 16px; font-size: 15px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-btn);
  background: rgba(18, 19, 21, 0.05);
  border: 1px solid var(--line);
  place-items: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink);
  position: relative; transition: transform 0.3s var(--ease), background-color 0.2s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow-y: auto;
  background: rgba(246, 244, 239, 0.97);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  padding: 110px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu nav { display: grid; }
.menu nav > a,
.menu__group summary {
  font: 300 clamp(32px, 8.5vw, 46px)/1.15 var(--serif);
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.menu nav > a:hover { color: var(--amber); }
.menu__group summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.menu__group summary::-webkit-details-marker { display: none; }
.menu__group summary svg { width: 22px; height: 22px; color: var(--muted); transition: transform 0.25s ease; }
.menu__group[open] summary svg { transform: rotate(180deg); }
.menu__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; padding: 14px 0 18px; border-bottom: 1px solid var(--line); }
.menu__sub a { padding: 7px 0; font-size: 15px; color: var(--text); }
.menu__sub a:hover { color: var(--ink); }
.menu__sub-all { grid-column: 1 / -1; color: var(--amber) !important; }
.menu__foot { margin-top: auto; display: grid; gap: 12px; }

/* ---------- Hero: фото на весь экран, текст по центру ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 140px 0 110px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: #16171a;
}
.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 55%;
  transform: scale(1.06);
  animation: heroSettle 2.5s var(--ease) forwards;
}
.hero__pic { display: contents; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 62% 58% at 50% 52%, rgba(18, 19, 21, 0.38), transparent 75%),
    linear-gradient(180deg,
      rgba(18, 19, 21, 0.74) 0%,
      rgba(18, 19, 21, 0.56) 32%,
      rgba(18, 19, 21, 0.6) 60%,
      rgba(18, 19, 21, 0.86) 100%);
}
.hero__inner { display: grid; justify-items: center; gap: 28px; }
.hero .display { color: var(--white); }
.hero .display em { color: var(--yellow); background: none; padding: 0; }
.hero .lead { font-size: clamp(17px, 1.6vw, 19px); color: rgba(255, 255, 255, 0.86); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }
.hero .display { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.hero .pill {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
  color: var(--white);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hero a.pill:hover { border-color: rgba(255, 255, 255, 0.5); }

.hero .display .line {
  display: block;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1.6s var(--ease-out) forwards;
}
.hero .display .line + .line { animation-delay: 0.15s; }
/* Город — часть заголовка (для поиска), но визуально это подпись над ним */
.hero__kicker {
  display: block;
  margin-bottom: clamp(16px, 2vw, 24px);
  font: 500 clamp(11px, 1.1vw, 13px)/1.6 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fade 1.6s var(--ease) 0.1s forwards;
}
.hero__fade { opacity: 0; animation: fade 1.8s var(--ease) 0.45s forwards; }
.hero__fade--late { animation-delay: 0.75s; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes heroSettle { to { transform: scale(1); } }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(rgba(255, 255, 255, 0.6), transparent);
}

/* Номер телефона и услуги — главное действие на первом экране */
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__cta .btn--yellow { box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5); }

/* Популярные услуги — светлые «таблетки» на фото */
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: -10px; }
.quick a {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  font: 500 10.5px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.quick a:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--white); color: var(--white); }

.laurels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 44px;
  margin-top: 16px;
}
.laurel {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.laurel svg { width: 20px; height: 42px; opacity: 0.9; }
.laurel svg.flip { transform: scaleX(-1); }
.laurel__body { display: grid; justify-items: center; gap: 2px; }
.laurel__big { font: 300 24px/1 var(--serif); letter-spacing: -0.01em; display: flex; align-items: center; gap: 6px; }
.laurel__big .stars { display: flex; gap: 1px; color: var(--yellow); }
.laurel__big .stars svg { width: 11px; height: 11px; }
.laurel__small { font: 500 9.5px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.laurels__sep { width: 1px; height: 32px; background: rgba(255, 255, 255, 0.3); }

/* ---------- Бегущая строка марок ---------- */
.ticker {
  background: var(--surface);
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 70s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.ticker__track span::after {
  content: "";
  width: 5px; height: 5px;
  background: var(--yellow);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Акции (цветные плитки) ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--r-tile);
  overflow: hidden;
  isolation: isolate;
}
.tile--yellow { background: var(--yellow); color: var(--ink); }
.tile--red { background: var(--red); color: var(--white); }
.tile--red .btn--white { background: var(--white); color: var(--ink); }
.tile--red .btn--white:hover { background: var(--paper); }

.tile__art {
  position: absolute;
  right: -8%;
  top: -6%;
  width: 62%;
  z-index: -1;
  opacity: 0.18;
  transition: transform 1.4s var(--ease);
}
.tile:hover .tile__art { transform: rotate(-8deg) scale(1.03); }

.tile__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tile__tag {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font: 500 10.5px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tile--yellow .tile__tag { border-color: rgba(18, 19, 21, 0.35); }
.tile--red .tile__tag { border-color: rgba(255, 255, 255, 0.5); }
.tile__num { font: 500 11px/1 var(--mono); letter-spacing: 0.14em; opacity: 0.6; }

.tile__title {
  margin-top: auto;
  font: 300 clamp(28px, 3vw, 40px)/1.02 var(--serif);
  letter-spacing: -0.015em;
  max-width: 15ch;
}
.tile__price {
  margin-top: 14px;
  font: 300 clamp(84px, 11.5vw, 156px)/0.82 var(--serif);
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.tile__price small { font-size: 0.42em; letter-spacing: -0.02em; margin-left: 0.08em; }
.tile__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid currentColor;
}
.tile--yellow .tile__foot { border-color: rgba(18, 19, 21, 0.2); }
.tile--red .tile__foot { border-color: rgba(255, 255, 255, 0.3); }
.tile__desc { font-size: 15px; line-height: 1.5; max-width: 34ch; opacity: 0.85; }

/* ---------- Карточки услуг ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.svc:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.svc__head { display: flex; justify-content: space-between; align-items: flex-start; }
.svc__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--yellow-soft);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background-color 0.25s ease;
}
.svc__icon svg { width: 24px; height: 24px; }
.svc:hover .svc__icon { background: var(--yellow); }
.svc__num { font: 500 11px/1 var(--mono); letter-spacing: 0.14em; color: var(--muted); }

.svc .h3 { margin-top: auto; padding-top: 44px; }
.svc .h3 em { background: none; padding: 0; }
.svc__list { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--text); }

.svc__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.svc__price { font: 500 12px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.svc__price--muted { color: var(--muted); }
.svc__go {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.svc__go svg { width: 15px; height: 15px; }
.svc:hover .svc__go { background: var(--ink); border-color: var(--ink); color: var(--white); transform: rotate(-45deg); }

.svc-more {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-radius: var(--r-card);
  background: var(--night);
  color: var(--white);
}
.svc-more p { font: 300 clamp(22px, 2.2vw, 28px)/1.2 var(--serif); }
.svc-more p span { color: rgba(255, 255, 255, 0.6); }

/* ---------- Прайс ---------- */
.prices {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.prices__aside { position: sticky; top: 120px; display: grid; gap: 24px; justify-items: start; }
.prices__note {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
  max-width: 420px;
}
.prices__note b { font: 500 10.5px/1.6 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font: 500 10.5px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.price-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  animation: fade 0.5s ease;
}
.price-list li[hidden] { display: none; }
.price-list__cat { font: 500 10px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.price-list__name { font-size: 18px; line-height: 1.35; color: var(--ink); }
.price-list__desc { font-size: 14px; line-height: 1.55; color: var(--text); }
.price-list__cost {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  font: 400 clamp(22px, 2.2vw, 28px)/1 var(--serif);
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  text-align: right;
}
.price-list__cost small { display: block; margin-bottom: 6px; font: 500 10px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.price-list__cost .hot { padding: 2px 10px; border-radius: 8px; background: var(--yellow); }
.badge-hot {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font: 500 9.5px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 3px;
}

/* ---------- Цифры ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 260px;
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.stat--dark { background: var(--night); border-color: transparent; color: rgba(255, 255, 255, 0.7); }
.stat--dark .stat__num { color: var(--white); }
.stat__top { display: flex; justify-content: space-between; align-items: center; }
.stat__num {
  font: 300 clamp(64px, 7vw, 100px)/0.85 var(--serif);
  letter-spacing: -0.04em;
  color: var(--ink);
}
.stat__num sup { font-size: 0.45em; vertical-align: 0.9em; margin-left: 2px; letter-spacing: 0; }
.stat__label { margin-top: 16px; font-size: 15px; line-height: 1.5; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 14px; height: 14px; }
.stat--dark .stars { color: var(--yellow); }

.amen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.amen li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}
.amen svg { width: 17px; height: 17px; color: var(--amber); }

/* ---------- Процесс ---------- */
.process {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.steps { display: grid; align-content: center; padding-right: clamp(0px, 3vw, 48px); }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 30px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 25.5px;
  top: 52px;
  bottom: 0;
  width: 1px;
  background: var(--line-2);
}
.step:last-child::before { display: none; }
.step__num {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--paper);
}
.section--abyss .step__num { background: var(--paper-2); }
.step:first-child .step__num { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.step .h3 { font-size: clamp(24px, 2.2vw, 30px); padding-top: 10px; }
.step p { margin-top: 8px; font-size: 15px; line-height: 1.55; max-width: 44ch; }

/* Тёмный «экран» с отчётом — как устройство на светлой странице */
.mock {
  display: grid;
  place-items: center;
  padding: clamp(32px, 6vw, 90px) clamp(20px, 5vw, 70px);
  border-radius: var(--r-card);
  background: linear-gradient(135deg, #2b2b2c, #131313);
  overflow: hidden;
}
.report {
  width: 100%;
  max-width: 440px;
  padding: 26px;
  border-radius: 18px;
  background: #0b0c0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: rotate(-2.5deg);
  transition: transform 1.2s var(--ease);
}
.mock:hover .report { transform: rotate(0deg); }
.report__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.report__title { font: 300 26px/1.05 var(--serif); color: var(--white); margin-top: 6px; }
.report__meta { font: 500 10px/1.5 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: #6a6b6b; }
.report__car { text-align: right; }
.report__car b { display: block; font: 500 13px/1.3 var(--sans); color: #f5f5f7; }
.report__rows { display: grid; gap: 16px; padding: 20px 0; }
.report__row { display: grid; gap: 8px; }
.report__line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #f5f5f7; }
.report__line span:last-child { font: 500 10.5px/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--c, #9f9fa0); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease) 0.2s; }
.is-in .bar i, .no-js .bar i { transform: scaleX(1); }
.ok { color: #8fd4a8; }
.warn { color: var(--yellow); }
.bad { color: #ff6b6f; }
.report__foot { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.report__foot span { padding: 6px 12px; border-radius: 999px; font: 500 10px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.report__foot .tag-red { background: rgba(227, 42, 47, 0.16); color: #ff8a8d; }
.report__foot .tag-yellow { background: rgba(255, 194, 26, 0.14); color: var(--yellow); }
.mock__caption { margin-top: 22px; font: 500 10px/1.5 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: #8b8c91; text-align: center; }

/* ---------- Галерея ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 20vw, 250px);
  gap: 12px;
}
.gallery figure {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--paper-2);
}
.gallery .g-big { grid-column: span 2; grid-row: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
}
.gallery figure:hover img { filter: grayscale(0) contrast(1.02); transform: scale(1.03); }
.gallery figcaption {
  position: absolute;
  left: 14px; bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- Отзывы ---------- */
.rev-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.rev-head__left { display: grid; gap: 20px; }
.rating { display: flex; align-items: center; gap: 18px; }
.rating__num { font: 300 clamp(72px, 8vw, 104px)/0.8 var(--serif); letter-spacing: -0.04em; color: var(--ink); }
.rating__meta { display: grid; gap: 8px; }
.rating__meta .stars svg { width: 16px; height: 16px; }
.rating__meta small { font: 500 10.5px/1.5 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }

.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.rev {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.rev blockquote {
  font: 300 20px/1.4 var(--serif);
  color: var(--ink-2);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.rev__who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.rev__ava {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--ink);
  font: 500 15px/1 var(--sans);
  flex: none;
}
.rev__name { color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.3; }
.rev__date { font: 500 10px/1.5 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.rev .stars { margin-left: auto; }
.rev .stars svg { width: 12px; height: 12px; }

.rev--feature {
  grid-column: span 2;
  background: var(--yellow);
  border-color: transparent;
  border-radius: var(--r-tile);
  padding: clamp(28px, 3.4vw, 44px);
  color: var(--ink);
}
.rev--feature blockquote {
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.rev--feature .quote-mark { font: italic 300 120px/0.5 var(--serif); height: 44px; opacity: 0.9; }
.rev--feature .rev__ava { background: var(--ink); color: var(--yellow); }
.rev-grid--home .rev--feature { grid-row: span 2; }
.rev--feature .rev__date { color: rgba(18, 19, 21, 0.6); }
.rev--feature .stars { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.faq__aside { position: sticky; top: 120px; display: grid; gap: 24px; justify-items: start; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  font: 300 clamp(20px, 2vw, 25px)/1.25 var(--serif);
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  position: relative;
  width: 36px; height: 36px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--ink);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.35s var(--ease);
}
.faq summary:hover i { border-color: var(--ink); }
.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--yellow); border-color: var(--yellow); }
.faq__a { padding: 0 60px 28px 0; font-size: 16px; line-height: 1.65; max-width: 62ch; }
.faq__a a { color: var(--ink); border-bottom: 1px solid var(--line-3); }

/* ---------- Запись и контакты ---------- */
.booking {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.booking__info { display: grid; gap: 28px; justify-items: start; }
.contacts { display: grid; width: 100%; }
.contacts li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
}
.contacts li:first-child { border-top: 1px solid var(--line-2); }
.contacts .k { font: 500 10.5px/2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contacts .v { color: var(--ink); font-size: 16px; line-height: 1.5; }
.contacts .v--big { font: 300 clamp(26px, 2.6vw, 34px)/1.1 var(--serif); letter-spacing: -0.01em; }
.contacts .v--big:hover { color: var(--amber); }
.booking__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.link { color: var(--amber); }
.link:hover { color: var(--ink); }


/* ---------- Карта ---------- */
.map {
  position: relative;
  height: clamp(380px, 48vw, 520px);
  border-radius: var(--r-tile);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.map iframe { width: 100%; height: 100%; border: 0; }
.map__card {
  position: absolute;
  left: 16px; bottom: 16px;
  display: grid;
  gap: 10px;
  max-width: 340px;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.map__card b { font: 300 24px/1.1 var(--serif); color: var(--ink); }
.map__card p { font-size: 14px; line-height: 1.5; }
.map__card .links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.map__card .btn { padding: 10px 14px; font-size: 14px; }

/* ---------- Футер ---------- */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 104px) 0 32px; overflow: hidden; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer h2 { font: 500 10.5px/2 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer li, .footer p { font-size: 15px; line-height: 1.6; }
.footer a:hover { color: var(--ink); }
.footer__about { display: grid; gap: 18px; align-content: start; justify-items: start; }
.footer__about p { max-width: 32ch; }
.footer .footer__word {
  font: 300 clamp(56px, 11.6vw, 170px)/0.9 var(--serif);
  letter-spacing: -0.05em;
  color: var(--ink);
  white-space: nowrap;
  text-align: center;
  padding-block: 28px 40px;
  border-top: 1px solid var(--line-2);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font: 500 10px/1.8 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--ink); }

/* ---------- Мобильная панель ---------- */
.mbar {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 45;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transform: translateY(140%);
  transition: transform 0.45s var(--ease-out);
}
.mbar.is-visible { transform: none; }
.mbar .btn { padding: 13px 12px; font-size: 15px; }

/* ---------- Появление при скролле ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__right { margin-left: auto; }
  .burger { display: grid; }
  .hero__scroll { display: none; }
}

@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .promo-grid,
  .process,
  .prices,
  .faq,
  .booking { grid-template-columns: minmax(0, 1fr); }
  .prices__aside, .faq__aside { position: static; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rev-grid--home .rev--feature { grid-row: auto; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 480px; }
  .steps { padding: 8px 0 32px; }
}

@media (max-width: 767px) {
  .nav { inset: 8px 0 auto; }
  .nav__bar { padding: 8px 8px 8px 12px; gap: 12px; }
  .nav__phone, .nav__cta { display: none; }
  .logo__mark { width: 40px; height: 40px; }
  .logo__name { font-size: 15px; }
  .logo__name i { font-size: 17px; }

  .hero { padding: 120px 0 72px; }
  .hero__img { object-position: 70% 55%; }
  .laurels { gap: 18px 28px; }
  .laurels__sep { display: none; }
  .hero__scroll { display: none; }
  .pill__extra { display: none; }

  .svc-grid,
  .rev-grid,
  .stats { grid-template-columns: minmax(0, 1fr); }
  .rev--feature { grid-column: auto; }
  .svc { min-height: 0; }
  .svc .h3 { padding-top: 36px; }
  .stat { min-height: 200px; }

  .gallery { grid-auto-rows: 160px; }

  .tile { min-height: 440px; border-radius: 24px; }
  .tile__foot { flex-direction: column; align-items: flex-start; }

  .form { grid-template-columns: minmax(0, 1fr); }
  .contacts li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .faq__a { padding-right: 0; }

  .map__card { left: 12px; right: 12px; bottom: 12px; max-width: none; }

  .footer { padding-bottom: 100px; }
  .footer .footer__word { white-space: normal; font-size: clamp(56px, 19vw, 80px); }

  .mbar { display: grid; }
}

/* Вертикальный кадр главного фото уже обрезан вокруг нужного места (см. hero_img в build.py) */
@media (max-width: 767px) and (orientation: portrait) {
  .hero__img { object-position: 50% 55%; }
}

/* В системе включено «уменьшить движение» (в Windows — выключена анимация):
   ничего не выезжает, не крутится и не увеличивается, но блоки по-прежнему мягко
   проявляются — так сайт не выглядит застывшим */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .hero__img { animation: none; transform: none; }
  .hero .display .line { animation-name: fade; transform: none; }
  .js .reveal { transform: none; transition-property: opacity; }
  .bar i { transform: scaleX(1); transition: none; }
  .mbar { transition: opacity 0.3s ease; transform: none; opacity: 0; pointer-events: none; }
  .mbar.is-visible { opacity: 1; pointer-events: auto; }
  .btn:hover svg,
  .svc:hover, .svc-mini:hover,
  .tile:hover .tile__art,
  .gallery figure:hover img { transform: none; }
}

/* =========================================================
   Многостраничная часть: внутренние страницы и общие блоки
   ========================================================= */

/* ---------- Секции ---------- */
.section--first { padding-top: clamp(56px, 7vw, 96px); }
.cta-section { padding-top: clamp(48px, 6vw, 80px); }
.section--tight { padding-top: 0; }
.section--flush { padding-top: 0; }
.section-head--left { justify-items: start; text-align: left; }
.section-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.label--ink { color: rgba(255, 255, 255, 0.6); }

/* ---------- Шапка внутренних страниц ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 176px 0 clamp(64px, 8vw, 104px);
  text-align: center;
  background: linear-gradient(180deg, var(--paper) 0%, #efe9dc 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { display: grid; justify-items: center; gap: 24px; }
.page-hero .lead { margin-inline: auto; }
.page-hero__num {
  position: absolute;
  z-index: -1;
  right: -0.04em;
  bottom: -0.18em;
  font: italic 300 clamp(200px, 32vw, 500px)/0.8 var(--serif);
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(168, 116, 0, 0.3);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.display--page { font-size: clamp(44px, 7vw, 96px); }
.page-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.page-hero--compact { padding-bottom: clamp(48px, 6vw, 72px); }
.page-hero--404 { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding-top: 120px; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  font: 500 10.5px/1.6 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-3); }
.crumbs a { transition: color 0.2s ease; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Шапка страницы услуги ---------- */
.page-hero--service { text-align: left; }
.page-hero--service .page-hero__num { top: 70px; bottom: auto; right: -0.03em; }
.svc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}
.svc-hero__text { display: grid; gap: 22px; justify-items: start; }
.svc-hero .crumbs ol { justify-content: flex-start; }
.svc-hero .lead { margin: 0; }
.svc-hero .page-hero__btns { justify-content: flex-start; }

/* Тёмная карточка цены — главный контраст на светлой странице */
.price-card {
  display: grid;
  gap: 10px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-tile);
  background: var(--night);
  color: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-lg);
}
.price-card__promo {
  justify-self: start;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price-card__label { font: 500 10.5px/1.6 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.price-card__price {
  font: 300 clamp(48px, 5.4vw, 76px)/0.95 var(--serif);
  letter-spacing: -0.04em;
  color: var(--white);
  white-space: nowrap;
}
.price-card__price small {
  margin-right: 12px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
  color: rgba(255, 255, 255, 0.5);
}
.price-card__price--ask { font-size: clamp(40px, 4.2vw, 58px); }
.price-card__note { font-size: 14px; line-height: 1.5; max-width: 36ch; }
.price-card__facts {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.price-card__facts li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--white); }
.price-card__facts svg { width: 16px; height: 16px; color: var(--yellow); flex: none; }

/* ---------- Что входит ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.split__aside { position: sticky; top: 120px; display: grid; gap: 22px; justify-items: start; }
.works { border-top: 1px solid var(--line-2); }
.works li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-2);
  font: 300 clamp(21px, 2.2vw, 28px)/1.2 var(--serif);
  color: var(--ink);
}
.works li span { font: 500 11px/1 var(--mono); letter-spacing: 0.14em; color: var(--amber); }

/* ---------- Признаки (жёлтая плитка) ---------- */
.symptoms {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 4.4vw, 56px);
  border-radius: var(--r-tile);
  background: var(--yellow);
  color: var(--ink);
}
.symptoms__head { display: grid; gap: 20px; justify-items: start; align-content: start; }
.symptoms__head .tile__tag { border-color: rgba(18, 19, 21, 0.35); }
.symptoms .h2 em { background: none; padding: 0; }
.symptoms__head p { font-size: 16px; line-height: 1.55; max-width: 36ch; opacity: 0.8; }
.symptoms__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; align-content: start; }
.symptoms__list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(18, 19, 21, 0.16);
  font-size: 17px;
  line-height: 1.4;
}
.symptoms__list span { font: 500 11px/1.9 var(--mono); opacity: 0.55; }

/* ---------- Этапы в строку ---------- */
.steps-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.steps-row::before {
  content: "";
  position: absolute;
  left: 26px; right: 26px; top: 26px;
  height: 1px;
  background: var(--line-2);
}
.steps-row li { position: relative; display: grid; gap: 10px; align-content: start; }
.steps-row li:first-child .step__num { background: var(--yellow); border-color: var(--yellow); }
.steps-row .h3 { font-size: 24px; margin-top: 12px; }
.steps-row p { font-size: 14.5px; line-height: 1.55; }

/* ---------- Цитата из отзывов (тёмная) ---------- */
.quote-card {
  display: grid;
  gap: 22px;
  justify-items: start;
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(28px, 4.4vw, 56px);
  border-radius: var(--r-tile);
  background: var(--night);
  color: var(--white);
}
.quote-card blockquote {
  font: 300 clamp(28px, 3.4vw, 46px)/1.12 var(--serif);
  letter-spacing: -0.02em;
  max-width: 28ch;
  text-wrap: balance;
}
.quote-card figcaption { font: 500 11px/1.6 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.quote-card b { color: var(--yellow); font-weight: 500; }

/* ---------- Компактные карточки услуг (главная) ---------- */
.svc-compact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.svc-mini {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 24px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.svc-mini:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.svc-mini__head { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-mini__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 32px;
  font: 300 clamp(21px, 1.9vw, 26px)/1.1 var(--serif);
  color: var(--ink);
}
.svc-mini__title .badge-hot { margin-left: 0; vertical-align: 0; }
.svc-mini__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.svc-mini:hover .svc__icon { background: var(--yellow); }
.svc-mini:hover .svc__go { background: var(--ink); border-color: var(--ink); color: var(--white); transform: rotate(-45deg); }

/* ---------- Блок записи (тёмный) ---------- */
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(20px, 4.4vw, 56px);
  border-radius: var(--r-tile);
  background: var(--night);
  color: rgba(255, 255, 255, 0.68);
}
.cta-band__text { display: grid; gap: 20px; justify-items: start; }
.cta-band .label { color: rgba(255, 255, 255, 0.6); }
.cta-band .h2 { color: var(--white); }
.cta-band .h2 em { color: var(--yellow); background: none; padding: 0; }
.cta-band .lead { color: rgba(255, 255, 255, 0.66); }
.cta-band .status { color: rgba(255, 255, 255, 0.6); }
/* Карточка с номером: в тёмном блоке записи и на странице «Запись» */
.call-card {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 22px;
  background: var(--night);
  background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
}
.call-card__label { font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.call-card__phone {
  font: 300 clamp(34px, 3.8vw, 52px)/1 var(--serif);
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color 0.2s ease;
}
.call-card__phone:hover { color: var(--yellow); }
.call-card .status { color: rgba(255, 255, 255, 0.6); }
.call-card__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.call-card__addr { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.6); }

/* ---------- Марки ---------- */
.brands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 36px 24px; }
.brands h3 {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
  font: 500 10.5px/1.6 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}
.brands li { font: 300 19px/1.6 var(--serif); color: var(--ink); }

/* ---------- Страница отзывов ---------- */
.rating--center { justify-content: center; }
.rev-grid--top { margin-bottom: 12px; }
.leave {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 14px;
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.leave__title { font: 300 30px/1.1 var(--serif); color: var(--ink); }
.leave p:not(.leave__title) { font-size: 15px; line-height: 1.55; }
.rev-masonry { columns: 3; column-gap: 12px; }
.rev-masonry .rev { break-inside: avoid; margin-bottom: 12px; }
.rev-source { margin-top: 28px; text-align: center; font-size: 14px; }
.rev-source a, .terms__note a, .prices__note a { color: var(--ink); border-bottom: 1px solid var(--line-3); }

/* ---------- Галерея ---------- */
.gallery .g-wide { grid-column: span 2; }
.gallery--full { grid-auto-rows: clamp(170px, 18vw, 230px); }

/* ---------- О сервисе ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.about__big {
  font: 300 clamp(30px, 3.6vw, 50px)/1.12 var(--serif);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.about__big em {
  font-style: italic;
  background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 90%, transparent 90%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.about__text { display: grid; gap: 16px; padding-top: 8px; font-size: 16.5px; line-height: 1.65; }

/* ---------- Акции: условия ---------- */
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.terms__card {
  display: grid;
  gap: 20px;
  justify-items: start;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.terms__card dl, .legal dl { display: grid; width: 100%; margin: 0; }
.terms__card dl div, .legal dl div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.terms__card dl div:first-child, .legal dl div:first-child { border-top: 1px solid var(--line); }
.terms__card dt, .legal dt { font: 500 10.5px/2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.terms__card dd, .legal dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.terms__note { margin-top: 28px; text-align: center; font-size: 15px; }

/* ---------- Контакты ---------- */
.contacts-page {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}
.contacts-page__info { display: grid; gap: 28px; align-content: start; }
.contacts-page__map .map { height: 100%; min-height: 440px; }
.route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.route__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.route__card p { flex: 1; font-size: 15px; line-height: 1.55; }
.route__icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--yellow-soft);
  color: var(--ink);
}
.route__icon svg { width: 24px; height: 24px; }
.legal {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

/* ---------- Запись: что дальше ---------- */
.next { display: grid; width: 100%; }
.next li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
}
.next li:first-child { border-top: 1px solid var(--line-2); }
.next span {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font: 500 11px/1 var(--mono);
  color: var(--ink);
}
.next li:first-child span { background: var(--yellow); border-color: var(--yellow); }
.next div { font-size: 15px; line-height: 1.5; }
.next b { display: block; margin-bottom: 2px; font: 300 22px/1.2 var(--serif); color: var(--ink); }

/* ---------- Текстовые страницы ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin: 48px 0 16px; font: 300 clamp(26px, 2.6vw, 34px)/1.15 var(--serif); color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; }
.prose p { margin-bottom: 14px; }
.prose ul { display: grid; gap: 4px; margin-bottom: 14px; padding-left: 22px; list-style: disc; }
.prose li::marker { color: var(--amber); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--line-3); }
.prose__muted { margin-top: 40px; font-size: 14px; color: var(--muted); }

/* ---------- Прайс ---------- */
.prices__updated { margin-top: 20px; font: 500 10.5px/1.6 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
a.price-list__cat { transition: color 0.2s ease; }
a.price-list__cat:hover { color: var(--amber); }

/* ---------- Футер ---------- */
.footer__grid { grid-template-columns: 1.2fr 1.4fr 0.8fr 1.2fr; }
.footer__services ul { display: block; columns: 2; column-gap: 24px; }
.footer__services li { margin-bottom: 8px; break-inside: avoid; }
.footer__h-gap { margin-top: 28px; }
.footer__legal li { font-size: 13.5px; color: var(--muted); }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .svc-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .steps-row::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .svc-hero,
  .split,
  .symptoms,
  .cta-band,
  .about,
  .terms,
  .contacts-page,
  .route,
  .legal { grid-template-columns: minmax(0, 1fr); }
  .split__aside { position: static; }
  .svc-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rev-masonry { columns: 2; }
  .contacts-page__map .map { min-height: 380px; }
}

@media (max-width: 767px) {
  .page-hero { padding-top: 132px; }
  .page-hero__num { font-size: 190px; }
  .svc-mini { min-height: 190px; padding: 18px; }
  .svc-mini__title { font-size: 19px; padding-top: 24px; }
  .svc-mini .svc__icon { width: 40px; height: 40px; }
  .svc-mini .svc__go { width: 32px; height: 32px; }
  .svc-mini__foot .svc__price { font-size: 10.5px; letter-spacing: 0.06em; }
  .symptoms__list { grid-template-columns: minmax(0, 1fr); }
  .steps-row { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rev-masonry { columns: 1; }
  .works li { grid-template-columns: 40px minmax(0, 1fr); font-size: 20px; }
  .terms__card dl div, .legal dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .gallery .g-big,
  .gallery .g-wide { grid-column: span 2; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer__services ul { columns: 2; }
}
