/* Manrope. Раньше подключался с fonts.googleapis.com — сторонний
   render-blocking запрос, доступность которого в регионе не гарантирована.
   Теперь файлы лежат рядом и отдаются с того же домена.
   Начертание переменное (200..800): в стилях есть веса 550 и 650, на
   статических они округлились бы до 500 и 600.
   font-display: swap — текст виден сразу шрифтом системы, потом заменяется. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-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;
}

:root {
  --ink: #f2f4f3;
  --deep: #090c0e;
  --deep-2: #11161a;
  --ground: #050607;                      /* основа: глубокий чёрный вместо серого */
  --surface: rgba(255, 255, 255, .05);    /* «стекло» поверх лака, а не сплошная заливка */
  --surface-2: rgba(255, 255, 255, .07);
  --panel-edge: rgba(255, 255, 255, .09);
  --panel-top: rgba(255, 255, 255, .13);  /* светлая кромка сверху = свет падает сверху */
  --light-surface: #e6e8e9;
  --light-ink: #171b1e;
  --gold: #d6ae58;
  --gold-light: #f4d782;
  --white: #0b0e11;
  --muted: #b7bfbc;
  --line: rgba(214, 174, 88, .56);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='.55'/></svg>");
  --shell: 1320px;
  --radius: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dropdown: 40;
  --sticky: 50;
  --backdrop: 70;
  --modal: 80;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; color: var(--ink); background: var(--ground); font-family: "Manrope", system-ui, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
main {
  position: relative;
  isolation: isolate;
  padding-top: 204px;
  background-color: var(--ground);
  /* Фон — отполированная поверхность: широкий блик студийного света лежит
     по диагонали и закреплён относительно окна, поэтому при прокрутке
     скользит по контенту, как настоящее отражение на капоте. */
  background-image:
    linear-gradient(112deg,
      transparent 24%,
      rgba(255, 255, 255, .075) 38%,
      rgba(255, 255, 255, .11) 44%,
      rgba(255, 255, 255, .028) 52%,
      transparent 64%),
    radial-gradient(120% 80% at 78% 8%, rgba(198, 168, 112, .12), transparent 55%),
    linear-gradient(168deg, #12151a 0%, #06080a 42%, #0c1013 68%, #030405 100%);
  background-attachment: fixed, fixed, scroll;
}
/* Зерно. Убирает полосы (banding) на больших тёмных градиентах и даёт фактуру.
   Раньше здесь лежали семь размытых пятен с filter: blur(34px) на элемент
   во всю высоту документа — дорого и читалось как грязь, а не как свет. */
main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 200px 200px;
  opacity: .32;
  mix-blend-mode: overlay;
}
main > * { position: relative; z-index: 1; }
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
/* Шапка живёт в своём, более широком контейнере. Причина арифметическая:
   в компактном состоянии в ряду появляется логотип (148px + отступ), при этом
   подписи пунктов не сжимаются — шрифт там фиксированные 14px. Восьми подписям
   с логотипом нужно ~1380px, а контейнер контента упирается в 1320px, и правый
   край ряда срезался. Контент страницы при этом должен остаться узким —
   строки текста шириной в полтора экрана не читаются. */
.contact-bar.shell,
.service-nav__inner.shell,
.mega-menu.shell { width: min(calc(100% - 48px), 1760px); }
.section { padding-block: clamp(74px, 8vw, 120px); }
.section-title { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; letter-spacing: -.025em; }
.section-title--center { text-align: center; }
.section-title em { color: #c4a157; font-style: normal; }

/* Alternating page atmosphere */
.page-band { position: relative; isolation: isolate; overflow: clip; }
.page-band::before { display: none; }
.page-band > * { position: relative; z-index: 1; }
.page-band--graphite { color: var(--ink); background: transparent; }
.page-band--graphite::before { background: radial-gradient(circle at 14% 18%, rgba(255,255,255,.18), transparent 29%), radial-gradient(circle at 82% 72%, rgba(214,174,88,.13), transparent 25%); }
.page-band--light { color: var(--ink); background: transparent; }
.page-band--light::before { background: radial-gradient(circle at 78% 18%, rgba(83,91,98,.28), transparent 27%), radial-gradient(circle at 12% 82%, rgba(214,174,88,.14), transparent 24%); }
.page-band--slate { color: var(--ink); background: transparent; }
.page-band--slate::before { background: radial-gradient(circle at 18% 36%, rgba(255,255,255,.13), transparent 26%), radial-gradient(circle at 88% 68%, rgba(9,12,14,.34), transparent 31%); }
.page-band--light .services { background: transparent; }
.page-band--light .offer { color: var(--ink); }
.page-band--light .form-note { color: #b7bfbc; }
.page-band .wide-cta { margin-bottom: 60px; }

/* Кнопка = полированный металл, а не глянцевая плашка.
   Было: вертикальный градиент со светлой полосой посередине и белым скосом
   сверху — приём из середины 2000-х. Стало: диагональный отлив под тем же
   углом 112deg, что и блик на фоне, широкая заливка сдвигается при наведении
   (металл как будто поворачивается к свету), плюс золотой отсвет на фон. */
.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  color: #1a1408;
  font-weight: 650;
  letter-spacing: .005em;
  cursor: pointer;
  background-image: linear-gradient(112deg,
    #cf9f43 0%, #e3bb62 18%, #f8e2a8 34%, #eecd7e 46%,
    #d9ab4e 64%, #c99a3f 82%, #ddb45c 100%);
  background-size: 220% 100%;
  background-position: 72% 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -1px 0 rgba(74, 49, 6, .38),
    0 12px 26px -14px rgba(224, 180, 90, .55),
    0 16px 34px -20px rgba(0, 0, 0, .95);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background-position .55s var(--ease);
}
.gold-button:hover {
  transform: translateY(-2px);
  background-position: 18% 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -1px 0 rgba(74, 49, 6, .32),
    0 16px 34px -14px rgba(224, 180, 90, .72),
    0 22px 44px -22px rgba(0, 0, 0, .95);
}
.gold-button:active { transform: translateY(0) scale(.99); }
/* Общий фокус в проекте золотой — на золотой кнопке его не видно. */
.gold-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Адрес. На десктопе он есть в верхней полосе, но на телефоне та полоса
   схлопывается до логотипа с бургером — поэтому адрес продублирован на первом
   экране и в выезжающей панели: и там и там его видно без единого клика. */
.pin { flex: 0 0 auto; width: 15px; height: 15px; fill: var(--gold); }
/* именно flex, а не inline-flex: кнопка ниже тоже inline-flex, и два
   строчных бокса встали бы в одну строку внахлёст */
.hero__addr { display: flex; align-items: center; gap: 8px; margin-top: 22px;
  padding: 9px 16px 9px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
  background: rgba(255,255,255,.06); backdrop-filter: blur(6px);
  color: #e4e7e6; font-size: 14px; font-weight: 550; width: max-content; max-width: 100%; }
.nav-addr { display: none; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: var(--sticky); width: 100%; height: 204px; color: #fff; background: transparent; pointer-events: none; }
/* Шапка в языке «Лак»: не сплошная заливка, а матовое стекло — сквозь него
   проступает лаковая поверхность и контент под ней. Кромка сверху светлая
   (свет падает сверху), снизу — тень на страницу. */
.site-header::before { content: ""; position: absolute; inset: 0 0 auto; height: 112px; background: linear-gradient(180deg, rgba(20,24,29,.92) 0%, rgba(11,14,18,.9) 55%, rgba(4,6,8,.93) 100%) no-repeat; background-size: 100% 204px; background-position: 0 0; backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15); box-shadow: inset 0 1px 0 rgba(255,255,255,.09); opacity: 1; transform: translateY(0); transition: transform .34s var(--ease), opacity .34s var(--ease); }
.contact-bar { position: relative; z-index: 1; height: 112px; display: grid; grid-template-columns: 1.25fr 1fr 1fr auto auto; align-items: center; gap: clamp(22px, 4vw, 70px); overflow: hidden; opacity: 1; pointer-events: auto; transform: translateY(0); transition: transform .34s var(--ease), opacity .34s var(--ease); will-change: transform; }
.brand { display: inline-flex; align-items: center; width: max-content; }
.brand__logo-frame { position: relative; display: block; width: 210px; height: 66px; overflow: hidden; }
.brand__logo { position: absolute; left: 0; top: 50%; width: 100%; height: auto; max-width: none; transform: translateY(-50%); }
.contact-bar__item { display: flex; flex-direction: column; font-weight: 600; line-height: 1.25; }
/* Адрес ведёт на карточку организации в Яндексе — во всех трёх местах, где он
   выведен. Подчёркивание пунктиром, чтобы было видно, что это ссылка, но полоса
   не спорила с золотыми акцентами. */
.contact-bar__link { width: max-content; text-decoration: underline dotted rgba(255,255,255,.35); text-underline-offset: 4px; transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
.contact-bar__link:hover, .hero__addr:hover, .nav-addr:hover { color: var(--gold-light); }
.contact-bar__link:hover { text-decoration-color: var(--gold); }
.hero__addr, .nav-addr { transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease); }
.hero__addr:hover { border-color: rgba(214,174,88,.5); background: rgba(255,255,255,.1); }
.contact-bar__label { color: var(--gold-light); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 5px; }
.gold-button--phone { min-width: 250px; }
/* Значок трубки был малиновым — единственный цвет вне палитры. */
.gold-button--phone span { color: inherit; opacity: .68; margin: 0; font-size: 15px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--panel-edge); border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.11); }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: white; transition: transform .3s var(--ease), opacity .3s var(--ease); }
/* Телеграм в верхней полосе. Раньше значок жил только на телефоне
   (.mobile-telegram, display:none на десктопе) и вёл на https://t.me/ без имени
   канала — то есть на главную телеграма. Теперь виден везде и ведёт на @legionov7. */
.bar-telegram { display: inline-flex; align-items: center; gap: 9px; width: max-content;
  padding: 9px 16px 9px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  background: rgba(255,255,255,.05); color: var(--ink); font-size: 14px; font-weight: 600;
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease); }
.bar-telegram svg { flex: 0 0 auto; width: 17px; height: 17px; fill: #63b3ed; }
.bar-telegram:hover { color: var(--gold-light); border-color: rgba(214,174,88,.5); background: rgba(255,255,255,.09); }

.service-nav { position: relative; z-index: var(--sticky); background-position: 0 -112px; background: linear-gradient(180deg, rgba(20,24,29,.92) 0%, rgba(11,14,18,.9) 55%, rgba(4,6,8,.93) 100%) no-repeat; background-size: 100% 204px; background-position: 0 -112px; backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15); box-shadow: 0 18px 34px -26px rgba(0,0,0,.95); pointer-events: auto; transform: translateY(0); transition: transform .34s var(--ease), background-position .34s var(--ease); will-change: transform; }
/* Вместо сплошной линии снизу — волосяная золотая, растворяющаяся к краям.
   Тот же приём, что у разделителей секций. */
.service-nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(214,174,88,.5) 22%, rgba(214,174,88,.5) 78%, transparent); }
.service-nav__inner { min-height: 92px; overflow-x: auto; scrollbar-width: none; display: flex; justify-content: space-between; align-items: center; gap: clamp(12px, 1.3vw, 20px); transition: min-height .34s var(--ease), gap .34s var(--ease); }
/* Логотип не появляется через display (его нельзя анимировать), а раскрывается
   по ширине — поэтому соседние пункты разъезжаются плавно, а не прыгают. */
.compact-brand { display: inline-flex; flex: 0 0 auto; align-items: center; max-width: 0; margin-right: 0; opacity: 0; overflow: hidden; transition: max-width .34s var(--ease), margin-right .34s var(--ease), opacity .26s var(--ease); }
.compact-brand__frame { position: relative; display: block; width: 148px; height: 42px; overflow: hidden; }
.compact-brand__frame img { position: absolute; left: 0; top: 50%; width: 100%; height: auto; max-width: none; transform: translateY(-50%); }
.service-nav__inner::-webkit-scrollbar { display: none; }
.service-nav__item { position: relative; padding: 20px 0; transition: padding-block .34s var(--ease), font-size .34s var(--ease), color .25s var(--ease); border: 0; background: transparent; color: white; font-size: clamp(13px, 1.04vw, 16px); font-weight: 600; cursor: pointer; white-space: nowrap; }
.service-nav__item span { color: var(--gold-light); margin-left: 5px; }
/* СТО — соседнее направление, а не ещё одна услуга детейлинга. Тонкая черта
   слева отделяет его от остального ряда, не забирая на себя внимание. */
.service-nav__item--alt { padding-left: 18px; margin-left: 4px; }
.service-nav__item--alt::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 15px; margin-top: -8px; background: rgba(255,255,255,.2); }
.service-nav__item::after { content: ""; position: absolute; left: 0; bottom: 11px; width: 28px; height: 2px; background: var(--gold); transition: width .3s var(--ease); }
.service-nav__item:hover::after, .service-nav__item.is-active::after { width: 100%; }
.service-nav__item.is-active { color: var(--gold-light); }
.mega-menu { position: absolute; left: 50%; top: 100%; display: grid; grid-template-columns: .9fr 1.8fr auto; gap: 42px; align-items: start; max-height: calc(100svh - 204px); padding: 34px 38px; border: 1px solid rgba(214,174,88,.34); border-top: 0; color: white; background: linear-gradient(180deg, rgba(13,16,20,.94), rgba(5,7,9,.96)); backdrop-filter: blur(22px) saturate(1.1); -webkit-backdrop-filter: blur(22px) saturate(1.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 28px 60px -34px rgba(0,0,0,.95); overflow-y: auto; transform: translate(-50%, -12px); opacity: 0; visibility: hidden; transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s; z-index: var(--dropdown); }
.mega-menu.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-menu__copy { display: flex; gap: 18px; align-items: flex-start; }
.mega-menu__number { color: var(--gold); font-size: 13px; padding-top: 8px; }
.mega-menu__eyebrow { color: #aab5b2; font-size: 12px; margin-bottom: 4px; }
.mega-menu h2 { color: var(--gold-light); font-size: 27px; margin-bottom: 8px; }
.mega-menu__copy p:last-child { color: #c8cfcd; font-size: 14px; max-width: 40ch; }
.mega-menu__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; align-content: start; }
.mega-menu__links a { display: flex; gap: 9px; align-items: flex-start; color: #eef1f0; font-size: 14px; line-height: 1.35; transition: color .2s; }
.mega-menu__links a::before { content: "•"; flex: none; color: var(--gold); }
.mega-menu__links a:hover { color: var(--gold-light); }
.mega-menu__cta { display: flex; flex-direction: column; justify-content: space-between; min-width: 150px; min-height: 98px; padding: 16px; border: 1px solid rgba(214,174,88,.32); border-radius: 14px; color: var(--gold-light); font-weight: 600; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease); }
.mega-menu__cta:hover { border-color: rgba(214,174,88,.6); transform: translateY(-2px); background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); }
.mega-menu__cta span { align-self: flex-end; font-size: 24px; }

.site-header.is-compact::before { opacity: 0; transform: translateY(-100%); }
.site-header.is-compact .contact-bar { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.site-header.is-compact .service-nav { transform: translateY(-112px); background-position: 0 0; }
.site-header.is-compact .service-nav__inner { min-height: 64px; gap: clamp(12px, 1.2vw, 22px); }
.site-header.is-compact .compact-brand { max-width: 148px; margin-right: clamp(12px, 1.2vw, 24px); opacity: 1; }
/* В компактном состоянии кегль тоже плавающий, а не фиксированные 14px:
   ряд там несёт на один элемент больше (логотип), и жёсткий размер не давал
   ему ужаться на узких ноутбуках. */
.site-header.is-compact .service-nav__item { padding-block: 12px; font-size: clamp(13px, .95vw, 15px); }
.site-header.is-compact .service-nav__item::after { bottom: 7px; }
.site-header.is-compact .mega-menu { max-height: calc(100svh - 64px); }

/* Hero */
.hero { position: relative; min-height: 620px; color: white; background: var(--deep); overflow: hidden; border-radius: 0 0 28px 28px; box-shadow: 0 8px 8px rgba(214,174,88,.2); }
.hero__media { position: absolute; inset: 0; background: url("../img/hero-desktop.webp") center / cover no-repeat; transform: scale(1.01); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,12,.96) 0%, rgba(8,10,12,.72) 36%, rgba(8,10,12,.08) 68%), linear-gradient(0deg, rgba(8,10,12,.78) 0%, transparent 38%); }
.hero__inner { position: relative; min-height: 620px; display: flex; align-items: center; padding-bottom: 142px; }
.hero__content { max-width: 660px; padding-top: 18px; }
.hero__kicker { display: none; }
.hero__lead { max-width: 44ch; margin-bottom: 20px; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 600; line-height: 1.3; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 500; letter-spacing: -.03em; }
.hero-title__mobile { display: none; }
.hero__button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; margin-top: 46px; min-width: 340px; }
.hero__button-icon { display: none; }
.hero__social { position: absolute; right: 0; top: 43%; display: grid; gap: 20px; }
.hero__social a { display: grid; place-items: center; width: 44px; aspect-ratio: 1; border-radius: 50%; color: var(--deep); background: white; font-size: 21px; transition: transform .25s var(--ease), background .25s; }
.hero__social a:hover { transform: translateX(-4px); background: var(--gold-light); }
.hero__stats { position: absolute; left: 0; right: 0; bottom: 28px; display: grid; grid-template-columns: 1fr 1.12fr 1.25fr .75fr; align-items: end; width: min(100%, 970px); }
.hero-stat { padding: 0 24px; border-right: 2px solid rgba(255,255,255,.75); }
.hero-stat:first-child { padding-left: 0; }
.hero-stat strong { display: block; font-size: clamp(1.9rem, 3.2vw, 2.65rem); font-weight: 500; line-height: 1; margin-bottom: 8px; }
.hero-stat span, .hero-rating span { display: block; font-size: 13px; line-height: 1.35; }
.hero-rating { text-align: center; color: #c3c9c7; }
.hero-rating strong { display: block; color: white; font-size: clamp(1.9rem, 3.2vw, 2.65rem); font-weight: 500; line-height: 1; margin-bottom: 8px; }

.nav-backdrop { display: none; }

/* About */
.about { text-align: center; padding-top: clamp(96px, 10vw, 150px); }
.rings { display: flex; justify-content: center; margin-bottom: 56px; }
.rings i { width: 50px; aspect-ratio: 1.65; border: 4px solid #e6e9e8; border-radius: 50%; }
.rings i + i { margin-left: -16px; }
.about__intro { margin: 58px auto 34px; color: #dfe3e1; font-size: 18px; }
.about__text { max-width: 870px; margin-inline: auto; color: #c0c7c4; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.65; }

/* Collage */
.story { position: relative; padding-top: clamp(70px, 7vw, 108px); padding-bottom: clamp(80px, 9vw, 130px); }
.story-collage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr 1fr; gap: 12px; width: 100%; height: clamp(520px, 54vw, 700px); overflow: hidden; border-radius: 16px; background: var(--white); }
.story-collage figure { position: relative; overflow: hidden; background: var(--deep); }
.story-collage img { width: 100%; height: 100%; object-fit: cover; }
.story-collage__main { grid-column: 1 / 8; grid-row: 1 / 3; z-index: 1; clip-path: polygon(0 0, 100% 0, 98% 100%, 0 100%); }
.story-collage__top { grid-column: 8 / 13; grid-row: 1; z-index: 2; clip-path: polygon(2% 0, 100% 0, 100% 100%, 0 100%); }
.story-collage__bottom { grid-column: 8 / 13; grid-row: 2; z-index: 2; clip-path: polygon(0 0, 100% 0, 100% 100%, 2% 100%); }
.story-collage__caption { position: absolute; z-index: 3; top: 50%; right: 4%; padding: 12px 18px; color: var(--gold-light); background: rgba(12,15,18,.9); font-size: clamp(1.25rem, 2.8vw, 2.35rem); line-height: 1.1; transform: translateY(-50%); }
.story-collage__caption b { font-weight: 500; }

/* Services */
.services { padding-top: 70px; background: var(--surface); }
.services .section-title { margin-bottom: 42px; }
.services-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--gold); }
.service-tile { position: relative; min-height: 360px; padding: 30px 24px; color: white; text-align: center; background: var(--deep); overflow: hidden; isolation: isolate; }
.service-tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--photo) center / cover no-repeat; transition: transform .55s var(--ease); }
.service-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(3,6,6,.72); transition: background .4s; }
.service-tile:not(:nth-child(4n)) { border-right: 1px solid var(--gold); }
.service-tile:nth-child(-n+4) { border-bottom: 1px solid var(--gold); }
.service-tile:hover::before { transform: scale(1.055); }
.service-tile:hover::after { background: rgba(3,6,6,.61); }
/* Заголовку плитки резервируем две строки (21px x 1.12 = 24px на строку).
   Иначе у «Антибактериальной дезинфекции салона» подпись переносится, и её
   список начинается на 24px ниже, чем у соседей по ряду. Высота живёт на
   обёртке, а не на самом h3: у заголовка подчёркивание по ширине текста,
   и min-height оторвал бы линию от букв. */
/* flex, а не обычный блок: inline-block внутри строчного контекста тянет за собой
   строку-стойку (strut), и её высота у одно- и двухстрочного заголовка разная —
   списки расходились на доли пикселя даже при равном min-height. У flex-элемента
   базовой линии нет, зато ширина по-прежнему по содержимому, и подчёркивание
   остаётся по ширине текста. */
.service-tile__head { display: flex; justify-content: center; align-items: flex-start;
  min-height: 49px; margin-bottom: 22px; }
.service-tile h3 { display: inline-block; color: var(--gold-light); border-bottom: 1px solid currentColor; font-size: 21px; }
.service-tile li { margin: 7px 0; font-size: 14px; font-weight: 550; }

/* CTA */
.wide-cta, .telegram-strip { position: relative; min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 60px; padding: 24px 8%; border-radius: 16px; color: white; background: linear-gradient(90deg, rgba(3,8,7,.72), rgba(3,8,7,.3)), url("../img/work-6.png") center 47% / cover no-repeat; overflow: hidden; }
.wide-cta div { display: flex; flex-direction: column; font-size: clamp(1.1rem, 2.4vw, 1.65rem); line-height: 1.25; }
.wide-cta .gold-button, .telegram-strip .gold-button { min-width: 340px; }

/* Works */
.portfolio { padding-bottom: 70px; }
.portfolio .section-title { margin-bottom: 42px; }
.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.work-card { position: relative; min-height: 300px; overflow: hidden; border-radius: 16px; background: var(--deep); }
.work-card img { height: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.38), transparent 55%); pointer-events: none; }
.work-card:hover img { transform: scale(1.045); }
.work-card > span { position: absolute; z-index: 2; left: 0; top: 32px; min-width: 230px; padding: 15px 28px; border-radius: 0 12px 12px 0; color: #15130f; background: linear-gradient(180deg, #e2ba63, #f1d68a); font-size: 18px; font-weight: 600; }
/* Подпись «Смотреть все работы в нашем канале» с карточки снята по просьбе
   клиента. Вместе с ней убран и усиленный градиент внизу — он существовал
   только чтобы читался тот текст. Карточка осталась ссылкой на канал,
   назначение вынесено в aria-label. */

.telegram-strip { margin-top: 0; margin-bottom: 80px; min-height: 100px; }
.telegram-strip strong { font-size: clamp(1.2rem, 2.6vw, 1.8rem); font-weight: 500; }

/* Offer */
.offer { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; margin-bottom: 70px; padding: clamp(38px, 5vw, 62px); border: 2px solid var(--gold); border-radius: 20px; background: var(--surface); }
.offer__copy, .lead-form { min-width: 0; }
.offer__copy h2 { font-size: clamp(1.8rem, 3.1vw, 2.7rem); margin-bottom: 32px; }
.offer__copy > p { max-width: 52ch; margin-bottom: 46px; }
.offer__bubbles { display: flex; align-items: center; padding-left: 7px; }
.offer__bubbles img { width: clamp(76px, 8vw, 112px); aspect-ratio: 1; object-fit: cover; border: 2px solid var(--gold); border-radius: 50%; margin-left: -11px; }
.lead-form, .modal-form { display: grid; gap: 16px; }
.lead-form label, .modal-form label { position: relative; display: block; }
.lead-form label span, .modal-form label span { position: absolute; left: 18px; top: 8px; color: #b8c0bd; font-size: 11px; }
.lead-form input, .modal-form input { width: 100%; height: 66px; padding: 24px 18px 8px; border: 1px solid var(--panel-edge); border-radius: 14px; color: #f3f5f4; background: rgba(255,255,255,.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); outline: none; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); }
.lead-form input::placeholder, .modal-form input::placeholder { color: #aeb6b3; opacity: 1; }
.lead-form input:focus, .modal-form input:focus { border-color: rgba(214,174,88,.7); background: rgba(255,255,255,.07); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 0 0 3px rgba(214,174,88,.16); }
.form-note, .modal-form small { color: #b7bfbc; font-size: 11px; }
/* Плашка об отправке. Была тёмно-зелёным текстом (#286348) на почти чёрном фоне —
   на тёмной теме её просто не было видно. Теперь это отдельная панель с галочкой. */
.form-success { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px;
  border: 1px solid rgba(104, 200, 148, .42); border-radius: 14px;
  background: rgba(48, 148, 100, .16); color: #d9f3e5;
  font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.form-success[hidden] { display: none; }
.form-success::before { content: "\2713"; flex: 0 0 auto; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%; background: rgba(104, 200, 148, .92);
  color: #06210f; font-size: 14px; font-weight: 800; }
/* В состоянии «отправлено» поля уступают место плашке — иначе непонятно,
   ушла ли заявка, и форму заполняют второй раз. */
.lead-form.is-sent label, .lead-form.is-sent .form-note, .lead-form.is-sent [type="submit"],
.modal-form.is-sent label, .modal-form.is-sent small,
.modal-form.is-sent [type="submit"] { display: none; }

/* Footer */
.footer { position: relative; min-height: 390px; color: white; background: #020504; overflow: hidden; }
.footer__media { position: absolute; inset: 0; opacity: .92; }
.footer__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(2,4,5,.96) 0%, rgba(2,4,5,.7) 47%, rgba(2,4,5,.9) 100%), linear-gradient(0deg, rgba(2,4,5,.86), transparent 72%); }
.footer__media img { width: 100%; height: 100%; object-fit: cover; }
.footer__inner { position: relative; display: grid; grid-template-columns: .8fr 1fr .75fr; gap: 80px; padding-top: 70px; }
.brand--footer .brand__logo-frame { width: 280px; height: 92px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 54px; align-content: start; }
.footer__nav a { position: relative; width: max-content; padding-bottom: 7px; }
.footer__nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--gold); transition: width .3s; }
.footer__nav a:hover::after { width: 100%; }
/* Кнопка связи в подвале. Сначала это была неактивная надпись про WhatsApp,
   потом ссылка на wa.me, теперь телеграм — основной канал студии. */
.footer__tg { display: inline-flex; align-items: center; gap: 9px; width: max-content;
  padding: 9px 16px 9px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  background: rgba(255,255,255,.05); color: var(--ink); font-size: 14px; font-weight: 600;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease); }
.footer__tg svg { flex: 0 0 auto; width: 17px; height: 17px; fill: #63b3ed; }
.footer__tg:hover { color: var(--gold-light); border-color: rgba(214,174,88,.5); background: rgba(255,255,255,.09); }
.footer__contact { justify-self: end; display: grid; gap: 16px; justify-items: center; text-align: center; color: var(--gold-light); }
.footer__contact p { color: white; }
.footer__contact div { display: flex; justify-content: center; gap: 18px; font-size: 26px; }
.footer__contact span { max-width: 20ch; line-height: 1.25; }
.footer__bottom { position: relative; display: flex; justify-content: space-between; align-items: center; margin-top: 72px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.18); color: #ccd2d0; font-size: 12px; }

/* Dialogs */
.modal { width: min(560px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 42px; border: 1px solid rgba(214,174,88,.34); border-radius: 16px; color: white; background: linear-gradient(180deg, rgba(16,20,25,.95), rgba(5,7,9,.97)); backdrop-filter: blur(22px) saturate(1.1); -webkit-backdrop-filter: blur(22px) saturate(1.1); box-shadow: 0 8px 8px rgba(0,0,0,.45); }
.modal::backdrop { background: rgba(2,3,4,.66); backdrop-filter: blur(8px) saturate(.9); }
.modal__close { position: absolute; right: 18px; top: 14px; width: 40px; height: 40px; border: 1px solid var(--panel-edge); border-radius: 50%; color: white; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); font-size: 24px; line-height: 1; cursor: pointer; transition: border-color .25s var(--ease), background .25s var(--ease); }
.modal__close:hover { border-color: rgba(255,255,255,.22); background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); }
.modal__accent { color: var(--gold-light); margin-bottom: 10px; }
.modal h2 { font-size: clamp(1.8rem, 5vw, 2.7rem); margin: 0 40px 16px 0; }
.modal > p:not(.modal__accent) { color: #c7cecc; margin-bottom: 28px; }
.modal-form input { color: white; background: rgba(255,255,255,.05); border-color: var(--panel-edge); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.modal-form label span, .modal-form input::placeholder { color: #cbd1cf; }
.modal-form small { color: #b9c1be; }

/* ---------- Страницы услуг ---------- */
.svc-hero { position: relative; display: grid; align-items: center; min-height: min(76vh, 700px); color: white; background: var(--deep); overflow: hidden; border-radius: 0 0 28px 28px; box-shadow: 0 8px 8px rgba(214,174,88,.2); }
.svc-hero__media { position: absolute; inset: 0; background: var(--hero) center / cover no-repeat; transform: scale(1.01); }
/* затемнение по краям: виньетка + рамка сверху-снизу + подложка под текстом слева */
.svc-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,9,11,.94) 0%, rgba(6,9,11,.76) 30%, rgba(6,9,11,.12) 62%, rgba(6,9,11,.62) 100%),
    linear-gradient(180deg, rgba(6,9,11,.72) 0%, rgba(6,9,11,0) 24%, rgba(6,9,11,0) 66%, rgba(6,9,11,.82) 100%),
    radial-gradient(115% 85% at 52% 46%, rgba(6,9,11,0) 34%, rgba(6,9,11,.5) 74%, rgba(6,9,11,.86) 100%);
}
/* Экран без снимка: у раздела ещё нет своей фотографии, поэтому он рисуется
   тем же лаком, что и фон сайта, — блик по диагонали плюс тёплое пятно. */
.svc-hero--plain { min-height: min(52vh, 420px); background-image:
  linear-gradient(112deg, transparent 26%, rgba(255,255,255,.06) 40%, rgba(255,255,255,.095) 46%, rgba(255,255,255,.02) 54%, transparent 66%),
  radial-gradient(110% 85% at 80% 10%, rgba(198,168,112,.16), transparent 56%),
  linear-gradient(160deg, #171b21 0%, #090c0f 46%, #10151a 72%, #050708 100%); }
.svc-hero__inner { position: relative; z-index: 1; padding-block: clamp(70px, 9vw, 120px); }
.svc-hero--plain .svc-hero__inner { padding-block: clamp(56px, 6.5vw, 88px); }
.svc-hero__content { max-width: 640px; }
.svc-hero__eyebrow { margin-bottom: 14px; color: var(--gold-light); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.svc-hero h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 500; line-height: 1.06; letter-spacing: -.03em; }
.svc-hero__lead { max-width: 34em; margin-top: 20px; color: #dfe4e6; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; }
.svc-hero__button { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; }
.svc-hero__button-icon { font-size: 19px; }

.svc-scope__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 40px; }
.svc-scope__list li { position: relative; padding: 20px 22px 20px 52px; border: 1px solid rgba(214,174,88,.34); border-radius: 14px; background: rgba(9,12,14,.42); font-weight: 550; }
.svc-scope__list li::before { content: ""; position: absolute; left: 22px; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: var(--gold); }

.svc-cta__box { display: grid; justify-items: center; gap: 16px; padding: clamp(34px, 5vw, 60px) 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(15,18,21,.72); text-align: center; }
.svc-cta__box h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 500; letter-spacing: -.02em; }
.svc-cta__box p { max-width: 46em; color: var(--muted); }
.svc-cta__box .gold-button { margin-top: 10px; }

/* Этапы. Колонок фиксированное число, поэтому стрелку можно точно убрать
   у последней карточки в строке: 4n на десктопе, 2n на планшете. */
.svc-steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 34px; margin: 40px 0 0; padding: 0; list-style: none; }
.svc-steps__item { position: relative; padding: 24px 22px 22px; border: 1px solid rgba(214,174,88,.3); border-radius: 14px; background: rgba(9,12,14,.42); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.svc-steps__item:hover { border-color: var(--line); transform: translateY(-3px); }
.svc-steps__item::after { content: "\2192"; position: absolute; left: 100%; top: 50%; width: 34px; margin-top: -13px; color: var(--gold); font-size: 21px; line-height: 1; text-align: center; opacity: .7; pointer-events: none; }
.svc-steps__item:nth-child(4n)::after, .svc-steps__item:last-child::after { content: none; }
.svc-steps__num { display: block; margin-bottom: 12px; color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.svc-steps__item h3 { margin-bottom: 10px; font-size: 17px; font-weight: 650; }
.svc-steps__item p { color: var(--muted); font-size: 14px; line-height: 1.55; }

.svc-faq__list { display: grid; gap: 12px; margin-top: 40px; max-width: 900px; }
.svc-faq__item { border: 1px solid rgba(214,174,88,.3); border-radius: 14px; background: rgba(9,12,14,.42); transition: border-color .25s var(--ease), background .25s var(--ease); }
.svc-faq__item[open] { border-color: var(--line); background: rgba(9,12,14,.62); }
.svc-faq__item summary { position: relative; display: block; padding: 20px 60px 20px 24px; font-weight: 600; cursor: pointer; list-style: none; }
.svc-faq__item summary::-webkit-details-marker { display: none; }
.svc-faq__item summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 11px; height: 11px; margin-top: -7px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .28s var(--ease); }
.svc-faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.svc-faq__item summary:hover { color: var(--gold-light); }
.svc-faq__answer { padding: 0 24px 22px; color: var(--muted); }
.svc-faq__answer p { max-width: 62ch; }


/* Панели поверх лака: стекло со светлой кромкой сверху и тенью снизу.
   Именно кромка + тень читаются как «предмет», а рамка одной толщины
   по всем сторонам — как наклейка. */
.svc-scope__list li,
.svc-steps__item,
.svc-faq__item,
.svc-cta__box,
.offer {
  border: 1px solid var(--panel-edge);
  background: linear-gradient(180deg, rgba(255, 255, 255, .068), rgba(255, 255, 255, .016));
  box-shadow: inset 0 1px 0 var(--panel-top), 0 20px 40px -26px rgba(0, 0, 0, .9);
  backdrop-filter: blur(2px);
}
.svc-steps__item:hover,
.svc-faq__item[open] {
  border-color: rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .022));
}
.svc-scope__list li::before { background: linear-gradient(90deg, var(--gold-light), transparent); }
.offer { border-width: 1px; border-color: rgba(214, 174, 88, .42); }
.services { background: transparent; }

/* Перечень работ СТО. Список длинный и плоский, поэтому разложен по категориям
   в нативных <details>: закрытые категории дают обзор целиком за один экран,
   раскрытая — подробности. Ни строчки JS, работает и с выключенными скриптами. */
.svc-list__note { max-width: 72ch; margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.svc-list__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 14px; margin-top: 36px; align-items: start; }
.svc-list__cat { border: 1px solid var(--panel-edge); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.068), rgba(255,255,255,.016)); box-shadow: inset 0 1px 0 var(--panel-top), 0 20px 40px -26px rgba(0,0,0,.9); backdrop-filter: blur(2px); transition: border-color .25s var(--ease), background .25s var(--ease); }
.svc-list__cat[open] { border-color: rgba(255,255,255,.16); background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.022)); }
.svc-list__cat summary { position: relative; display: flex; align-items: center; gap: 12px; padding: 19px 54px 19px 22px; font-size: 17px; font-weight: 650; cursor: pointer; list-style: none; }
.svc-list__cat summary::-webkit-details-marker { display: none; }
.svc-list__cat summary:hover { color: var(--gold-light); }
.svc-list__cat summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .28s var(--ease); }
.svc-list__cat[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.svc-list__name { flex: 1 1 auto; }
.svc-list__count { flex: 0 0 auto; min-width: 26px; padding: 3px 8px; border: 1px solid rgba(214,174,88,.36); border-radius: 999px; color: var(--gold-light); font-size: 12px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.svc-list__works { list-style: none; margin: 0; padding: 0 22px 18px; }
.svc-list__works li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid rgba(255,255,255,.07); color: var(--muted); font-size: 15px; line-height: 1.45; }
.svc-list__works li::before { content: ""; position: absolute; left: 0; top: 18px; width: 11px; height: 2px; background: linear-gradient(90deg, var(--gold-light), transparent); }

/* Полоса снимков цеха. Соотношение сторон задано в CSS, а не только размерами
   файла: строка не дёргается, пока картинки грузятся, и обе плитки одинаковы
   независимо от исходного кадра. */
.svc-shots__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 36px; }
.svc-shots__item { position: relative; margin: 0; border: 1px solid var(--panel-edge); border-radius: 16px; overflow: hidden; box-shadow: inset 0 1px 0 var(--panel-top), 0 22px 44px -28px rgba(0,0,0,.95); }
.svc-shots__item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.svc-shots__item::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.42) 26%, transparent 58%); }
.svc-shots__item figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 22px 20px; color: #fff; font-size: clamp(15px, 1.3vw, 18px); font-weight: 650; letter-spacing: -.01em; }
.svc-shots__item figcaption::before { content: ""; display: block; width: 26px; height: 2px; margin-bottom: 10px; background: var(--gold); }

/* Цены. Название и сумма разнесены по краям, между ними точечный поводок —
   так глаз не теряет строку. Цифры табличные, чтобы столбец сумм был ровным. */
.svc-price__lead { max-width: 72ch; margin-top: 18px; color: var(--muted); font-size: 15px; }
.svc-price__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; margin-top: 36px; align-items: start; }
.svc-price__block { padding: 26px 26px 22px; border: 1px solid var(--panel-edge); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.068), rgba(255,255,255,.016)); box-shadow: inset 0 1px 0 var(--panel-top), 0 20px 40px -26px rgba(0,0,0,.9); backdrop-filter: blur(2px); }
.svc-price__group { font-size: 17px; font-weight: 650; }
.svc-price__note { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.svc-price__list { display: grid; gap: 2px; margin-top: 18px; }
.svc-price__list li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.svc-price__list li:last-child { border-bottom: 0; }
.svc-price__name { font-size: 14.5px; }
.svc-price__dots { flex: 1 1 auto; min-width: 18px; height: 1px; align-self: center; background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 2px, transparent 2px 6px); }
.svc-price__value { flex: 0 0 auto; color: var(--gold-light); font-size: 14.5px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.svc-price__scroll { overflow-x: auto; margin-top: 18px; }
.svc-price__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.svc-price__table th, .svc-price__table td { padding: 10px 12px 10px 0; text-align: left; border-bottom: 1px solid rgba(255,255,255,.05); }
.svc-price__table thead th { color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.svc-price__table tbody th { font-weight: 550; }
.svc-price__table td { color: var(--gold-light); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.svc-price__table tbody tr:last-child th, .svc-price__table tbody tr:last-child td { border-bottom: 0; }

/* Уже 1330px компактный ряд не вмещает логотип и восемь подписей одновременно.
   Выбор между дублем логотипа и полным меню решён в пользу меню: логотип и так
   виден в обычном состоянии шапки, наверху страницы, а обрезанный пункт «СТО» —
   это потерянный раздел. */
/* Ниже 1200px в полосе тесно: у телеграма остаётся только значок. */
@media (max-width: 1200px) {
  .bar-telegram { padding: 9px 11px; }
  .bar-telegram span { display: none; }
}

@media (max-width: 1330px) {
  .site-header.is-compact .compact-brand { max-width: 0; margin-right: 0; opacity: 0; }
}

@media (max-width: 1100px) {
  .contact-bar { grid-template-columns: auto 1fr 1fr auto auto; }
  .brand__logo-frame { width: 175px; height: 56px; }
  .service-nav__inner { gap: 16px; }
  .mega-menu { grid-template-columns: 1fr 1fr; }
  .mega-menu__cta { display: none; }
  .svc-steps__list { grid-template-columns: repeat(2, 1fr); }
  .svc-steps__item::after { content: "\2192"; }
  .svc-steps__item:nth-child(2n)::after, .svc-steps__item:last-child::after { content: none; }
  .services-mosaic { grid-template-columns: repeat(2, 1fr); }
  .service-tile:not(:nth-child(4n)) { border-right: 0; }
  .service-tile:nth-child(odd) { border-right: 1px solid var(--gold); }
  .service-tile:nth-child(-n+6) { border-bottom: 1px solid var(--gold); }
  .offer { grid-template-columns: 1fr; }
  .offer__copy > p { margin-bottom: 30px; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .site-header { height: 68px; }
  .site-header::before, .site-header.is-compact::before { height: 68px; opacity: 1; transform: none; background: linear-gradient(180deg, rgba(20,24,29,.92), rgba(5,7,9,.95)); }
  main { padding-top: 68px; }
  .contact-bar, .site-header.is-compact .contact-bar { height: 68px; min-height: 68px; max-height: 68px; grid-template-columns: 1fr auto auto; gap: 9px; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .site-header.is-compact .contact-bar::before { content: none; }
  .contact-bar__item { display: none; }
  .brand, .site-header.is-compact .brand { display: inline-flex; }
  .brand__logo-frame { width: 132px; height: 46px; }
  .gold-button--phone { display: none; }
  .site-header.is-compact .gold-button--phone { display: none; }
  .bar-telegram { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; color: white; background: rgba(255,255,255,.04); }
  .bar-telegram svg { width: 22px; height: 22px; fill: currentColor; }
  .menu-toggle { display: block; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .service-nav, .site-header.is-compact .service-nav { background: linear-gradient(180deg, rgba(18,22,27,.97), rgba(6,8,11,.98)); background-size: auto; background-position: 0 0; display: block; position: fixed; top: 68px; right: 0; left: auto; width: min(88vw, 380px); min-height: calc(100svh - 68px); max-height: calc(100svh - 68px); overflow-y: auto; transform: translateX(104%); visibility: hidden; box-shadow: inset 1px 0 0 rgba(255,255,255,.07), -14px 0 34px -12px rgba(0,0,0,.7); transition: transform .34s var(--ease), visibility .34s; }
  .service-nav.is-open,
  .site-header.is-compact .service-nav.is-open { transform: translateX(0); visibility: visible; }
  .service-nav__inner, .service-nav__inner.shell { display: grid; width: 100%; overflow-x: visible; padding: 14px 18px 24px; }
  .nav-addr { display: flex; align-items: center; gap: 9px; margin: 0 0 6px; padding: 12px 14px;
    border: 1px solid var(--panel-edge); border-radius: 12px; background: rgba(255,255,255,.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08); color: #e4e7e6; font-size: 13.5px; font-weight: 550; }
  .compact-brand, .site-header.is-compact .compact-brand { display: none; }
  .site-header.is-compact .service-nav { background-position: 0 0; }
  .service-nav::after { content: none; }
  .service-nav__item { width: 100%; text-align: left; border-bottom: 1px solid rgba(255,255,255,.1); }
  .service-nav__item::after { display: none; }
  .mega-menu.shell { width: 100%; }
  .mega-menu { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; position: static; width: 100%; display: none; grid-template-columns: 1fr; max-height: none; margin: 0; padding: 12px 4px 18px 14px; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); overflow: visible; transform: none; opacity: 1; visibility: visible; background: rgba(255,255,255,.035); }
  .mega-menu.is-open { display: grid; transform: none; }
  .mega-menu__copy { display: none; }
  .mega-menu__links { grid-template-columns: 1fr; }
  .hero { height: calc(100svh - 68px); min-height: 310px; max-height: none; border-radius: 0; }
  .hero__inner { height: 100%; min-height: 310px; align-items: flex-start; padding-top: clamp(30px, 6vh, 52px); padding-bottom: 0; }
  .hero__media { background: var(--ground) url("../img/hero-mobile.webp") center / cover no-repeat; transform: none; }
  .hero__media::before { display: none; }
  .hero__media::after { background: linear-gradient(180deg, transparent 0%, transparent 81%, rgba(0,0,0,.12) 88%, rgba(0,0,0,.42) 100%); }
  .hero__content { display: flex; flex-direction: column; max-width: 100%; padding-top: 0; }
  .hero__kicker { display: none; }
  .hero h1 { order: 2; margin-top: 20px; font-size: clamp(2rem, 8.7vw, 2.35rem); font-weight: 750; line-height: 1.04; letter-spacing: -.035em; }
  .hero-title__desktop { display: none; }
  .hero-title__mobile { display: inline; }
  .hero__addr { order: 4; margin-top: 16px; padding: 8px 14px 8px 11px; font-size: 13px; }
  .hero__lead { order: 3; max-width: 29ch; margin: 18px 0 0; color: #b9c0bd; font-size: clamp(.96rem, 4.2vw, 1.08rem); font-weight: 500; line-height: 1.35; }
  .hero__button { position: absolute; left: 50%; bottom: 24px; z-index: 2; order: 4; justify-content: space-between; min-width: 0; width: min(calc(100% - 48px), 360px); min-height: 64px; margin: 0; padding-inline: 30px; font-size: 17px; transform: translateX(-50%); }
  .hero__button-icon { display: block; font-size: 31px; font-weight: 400; line-height: 1; }
  .hero__button:hover { transform: translateX(-50%) translateY(-2px); }
  .hero__button:active { transform: translateX(-50%); }
  .hero__social, .hero__stats { display: none; }
  .hero-stat { padding: 0 10px; border-right: 0; }
  .hero-stat:first-child { padding-left: 10px; }
  .hero-stat strong, .hero-rating strong { font-size: 26px; }
  .hero-stat span, .hero-rating span { font-size: 10px; }
  .about__intro { margin-top: 38px; }
  .story { display: block; padding-bottom: 80px; }
  .story-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 10px; height: auto; min-height: auto; border: 0; background: transparent; overflow: visible; }
  .story-collage figure { position: relative; inset: auto; width: auto; height: 190px; grid-row: auto; clip-path: none; border-radius: 12px; }
  .story-collage__main { grid-column: 1 / -1; grid-row: 1; height: 320px; clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%); }
  .story-collage__top { grid-column: 1; grid-row: 2; }
  .story-collage__bottom { grid-column: 2; grid-row: 2; }
  .story-collage__caption { top: 286px; right: 12px; padding: 8px 12px; font-size: 20px; text-align: right; transform: none; }
  .services-mosaic { grid-template-columns: 1fr; }
  .service-tile { min-height: 330px; border-right: 0 !important; border-bottom: 1px solid var(--gold) !important; }
  .wide-cta, .telegram-strip { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .wide-cta .gold-button, .telegram-strip .gold-button { min-width: 0; width: 100%; }
  .works-grid { grid-template-columns: 1fr; gap: 20px; }
  .work-card { min-height: 260px; }
  .work-card > span { min-width: 190px; top: 22px; padding: 12px 20px; font-size: 15px; }
  .offer { gap: 36px; margin-bottom: 40px; padding: 28px 20px; border-radius: 16px; }
  .offer__bubbles { overflow: hidden; }
  .offer__bubbles img { width: 58px; flex: 0 0 58px; margin-left: -8px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__contact { justify-self: start; justify-items: start; text-align: left; }
  .footer__contact div { justify-content: flex-start; }
  .footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 45px; }
  .svc-hero { min-height: 0; border-radius: 0 0 20px 20px; }
  .svc-hero__inner { padding-block: 64px 56px; }
  .svc-hero__media::after { background: linear-gradient(180deg, rgba(6,9,11,.86) 0%, rgba(6,9,11,.42) 38%, rgba(6,9,11,.66) 72%, rgba(6,9,11,.94) 100%), radial-gradient(120% 70% at 50% 45%, rgba(6,9,11,0) 30%, rgba(6,9,11,.5) 78%, rgba(6,9,11,.85) 100%); }
  .svc-hero__content { max-width: none; }
  main { background-attachment: scroll, scroll, scroll; }
  .svc-steps__list { grid-template-columns: 1fr; gap: 36px 0; margin-top: 28px; }
  .svc-steps__item::after { content: "\2192"; left: 50%; top: 100%; width: 24px; margin: 6px 0 0 -12px; transform: rotate(90deg); }
  .svc-steps__item:nth-child(2n)::after { content: "\2192"; }
  .svc-steps__item:last-child::after { content: none; }
  .svc-price__grid { grid-template-columns: 1fr; margin-top: 26px; }
  .svc-price__block { padding: 20px 18px 16px; }
  .svc-shots__grid { grid-template-columns: 1fr; gap: 12px; margin-top: 26px; }
  .svc-shots__item figcaption { padding: 0 16px 15px; }
  .svc-list__grid { grid-template-columns: 1fr; margin-top: 26px; }
  .svc-list__cat summary { padding: 15px 44px 15px 16px; font-size: 15.5px; }
  .svc-list__cat summary::after { right: 17px; }
  .svc-list__works { padding: 0 16px 14px; }
  .svc-list__works li { font-size: 14.5px; }
  .service-nav__item--alt { padding-left: 0; margin-left: 0; }
  .service-nav__item--alt::before { display: none; }
  .svc-faq__list { margin-top: 28px; }
  .svc-faq__item summary { padding: 16px 46px 16px 18px; }
  .svc-faq__item summary::after { right: 18px; }
  .svc-faq__answer { padding: 0 18px 18px; }
  .svc-scope__list { grid-template-columns: 1fr; margin-top: 28px; }
  .svc-scope__list li { padding: 16px 18px 16px 44px; }
  .svc-scope__list li::before { left: 18px; }
  .modal { padding: 34px 22px 24px; }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: calc(var(--sticky) - 1); border: 0; background: rgba(4,6,7,.56); opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav-backdrop { opacity: 1; visibility: visible; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
