/* ==========================================================================
   СТО АВТО — Воронеж. Современный сайт автосервиса.
   Корпоративный шрифт: Open Sans (локально, см. fonts.css)
   ========================================================================== */

/* ---------- 1. Переменные и база ---------- */
:root {
  --bg: #0b0e13;
  --bg-soft: #0f141b;
  --bg-elev: #131a24;
  --card: #151d28;
  --card-2: #1a2431;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #eef2f8;
  --muted: #9db0c6;
  --muted-2: #7d8fa5;
  --accent: #ff7a18;
  --accent-2: #ffb020;
  --accent-soft: rgba(255, 122, 24, .12);
  --accent-glow: rgba(255, 122, 24, .35);
  --ok: #35c47d;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --container: 1200px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, .3);
  --ease: cubic-bezier(.22, .68, .24, 1);
  --header-h: 76px;
  --font: 'Open Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

/* ---------- 2. Служебное ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--soft { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.section--elev { background: var(--bg-soft); }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}

.lead { font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--muted); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 3. Кнопки ---------- */
.btn {
  --btn-bg: var(--card-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--btn-bg);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #1a1005;
  font-weight: 700;
  box-shadow: 0 12px 30px -12px var(--accent-glow);
}
.btn--primary:hover { box-shadow: 0 18px 40px -12px var(--accent-glow); }

.btn--ghost { background: rgba(255, 255, 255, .04); }
.btn--light {
  background: #fff;
  color: #12171f;
  border-color: transparent;
}
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }

/* ---------- 4. Шапка ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 120;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .1s linear;
}

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 14, 19, .62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled {
  background: rgba(11, 14, 19, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 40px -20px rgba(0, 0, 0, .9);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.logo { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__title {
  /* как в логотипе старой версии сайта */
  font-family: Georgia, 'PT Serif', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.42rem;
  line-height: 1.05;
  letter-spacing: 0;
}
.logo__sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }

/* Переключатель светлой и тёмной темы */
.theme-toggle {
  position: relative;
  width: 44px; height: 44px;
  flex: 0 0 auto;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .04);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle__icon { display: grid; place-items: center; }
.theme-toggle__icon svg { width: 21px; height: 21px; }
.theme-toggle__icon--moon { display: none; }
[data-theme="light"] .theme-toggle__icon--sun { display: none; }
[data-theme="light"] .theme-toggle__icon--moon { display: grid; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .94rem;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--text); }

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.header__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-weight: 700;
  font-size: .95rem;
}
.header__phone span { font-size: .68rem; font-weight: 600; color: var(--muted-2); letter-spacing: .04em; }

.burger {
  display: none;
  width: 48px; height: 48px;
  border: 1.5px solid rgba(255, 255, 255, .34);
  border-radius: 13px;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
  padding: 0;
  position: relative;
  flex: 0 0 auto;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.burger:hover { background: rgba(255, 255, 255, .18); border-color: var(--accent); }
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 30px; }
.burger.is-open span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 86vw);
  z-index: 110;
  background: var(--bg-elev);
  border-left: 1px solid var(--line);
  padding: 96px 24px 32px;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 4px; }
.drawer__link {
  display: block;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
}
.drawer__link.is-active,
.drawer__link:hover { background: var(--accent-soft); color: var(--text); }
.drawer__contacts { display: grid; gap: 10px; font-size: .95rem; }
.overlay {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(4, 6, 9, .6);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* ---------- 5. Хиро ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 64px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% 44%, rgba(255, 122, 24, .16), transparent 68%),
    linear-gradient(160deg, #0d1118, #0a0d12 60%, #0e1219);
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 520px at 12% 20%, rgba(255, 122, 24, .16), transparent 60%),
    linear-gradient(100deg, rgba(8, 10, 14, .95) 0%, rgba(8, 10, 14, .82) 40%, rgba(8, 10, 14, .34) 72%, rgba(8, 10, 14, .6) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 420px at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 420px at 70% 30%, #000 20%, transparent 75%);
}
.hero__inner { max-width: 780px; }
/* заголовок первого экрана длиннее обычного, поэтому кегль меньше базового */
.hero h1 { font-size: clamp(1.7rem, 3.5vw, 2.7rem); margin-bottom: 18px; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: #cdd8e6; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.fact { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--muted); }
.fact svg { width: 20px; height: 20px; color: var(--accent); flex: 0 0 auto; }
.fact b { color: var(--text); font-weight: 700; }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  display: grid;
  justify-items: center;
  padding-top: 8px;
}
.hero__scroll i {
  width: 4px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
  animation: scrollDot 1.8s ease-in-out infinite;
}

/* ---------- 6. Бегущая строка ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 16px 0;
}
.ticker__track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.ticker__item::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .7;
}

/* ---------- 7. Карточки ---------- */
.card {
  position: relative;
  background: linear-gradient(160deg, var(--card), var(--bg-elev));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(255, 122, 24, .14), transparent 70%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }

.card__icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 122, 24, .28);
  color: var(--accent);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

/* Карточка услуги */
.service {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, var(--card), var(--bg-elev));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.service:hover { transform: translateY(-6px); border-color: rgba(255, 122, 24, .45); box-shadow: var(--shadow); }
.service__media {
  position: relative;
  height: 178px;
  background: linear-gradient(160deg, #f4f6f9, #e6ebf2);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.service__media img {
  max-height: 138px;
  width: auto;
  transition: transform .5s var(--ease);
}
.service:hover .service__media img { transform: scale(1.08) rotate(-1.5deg); }
.service__badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(11, 14, 19, .82);
  color: var(--accent);
  border: 1px solid rgba(255, 122, 24, .3);
}
.service__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service__body h3 { margin-bottom: 10px; font-size: 1.18rem; }
.service__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; }
.service__list li {
  position: relative;
  padding-left: 22px;
  font-size: .92rem;
  color: var(--muted);
}
.service__list li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  transform: rotate(45deg);
}
.service__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: .9rem;
}
.service__price { font-weight: 700; color: var(--text); }
.service__price span { color: var(--muted-2); font-weight: 500; font-size: .82rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 600; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Шаги */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--card), var(--bg-elev));
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.step:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: -16px; left: 22px;
  font-size: 1.5rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 122, 24, .8);
  letter-spacing: .02em;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; }

/* Полоса-CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 122, 24, .3);
  background:
    radial-gradient(700px 320px at 12% 0%, rgba(255, 122, 24, .22), transparent 65%),
    linear-gradient(150deg, var(--card-2), var(--bg-elev));
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--muted); margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Преимущества */
.feature {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.feature:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .045); border-color: var(--line-strong); }
.feature__icon {
  width: 46px; height: 46px;
  flex: 0 0 auto;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feature p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- 8. Таблицы цен ---------- */
.price-block {
  margin-bottom: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--card), var(--bg-elev));
  overflow: hidden;
}
.price-block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.price-block__head h3 { margin: 0; font-size: 1.12rem; }
.price-block__head span { font-size: .85rem; color: var(--muted-2); }

.table-wrap { overflow-x: auto; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: .93rem;
}
.price-table th,
.price-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table thead th {
  position: sticky;
  top: 0;
  background: #131b25;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}
.price-table tbody tr { transition: background .2s var(--ease); }
.price-table tbody tr:hover { background: rgba(255, 122, 24, .06); }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td:first-child { color: var(--text); }
.price-table td:not(:first-child),
.price-table th:not(:first-child) { text-align: right; white-space: nowrap; }
.price-table td:not(:first-child) { color: var(--accent-2); font-weight: 600; }

/* ---------- 9. Галерея ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--accent); }
.filter-btn.is-active {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #1a1005;
}

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery__item {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  aspect-ratio: 4 / 3;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .3s var(--ease);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 8, 12, .82));
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }
.gallery__caption {
  position: absolute;
  left: 14px; right: 14px; bottom: 12px;
  z-index: 2;
  font-size: .86rem;
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery__item:hover .gallery__caption { opacity: 1; transform: none; }
.gallery__item.is-hidden { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  background: rgba(5, 7, 10, .92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transform: scale(.96);
  transition: transform .35s var(--ease);
}
.lightbox.is-open img { transform: none; }
.lightbox__inner { display: grid; justify-items: center; gap: 14px; max-width: 92vw; }
.lightbox__cap { color: var(--muted); font-size: .92rem; text-align: center; }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .06);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--accent); color: #1a1005; transform: scale(1.06); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; margin-top: -24px; }
.lightbox__nav--next { right: 24px; top: 50%; margin-top: -24px; }
.lightbox__nav svg, .lightbox__close svg { width: 20px; height: 20px; }

/* ---------- 10. Отзывы, акции ---------- */
.review-note {
  border: 1px dashed rgba(255, 122, 24, .45);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--accent-soft);
  color: var(--text);
}
.review-note h3 { margin-bottom: 8px; }
.review-note p { color: var(--muted); }

/* Награда «Хорошее место» (Яндекс Карты) */
.award {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(20px, 3vw, 34px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 122, 24, .35);
  background:
    radial-gradient(620px 280px at 6% 20%, rgba(255, 122, 24, .16), transparent 66%),
    linear-gradient(150deg, var(--card-2), var(--bg-elev));
}
.award__badge {
  width: clamp(76px, 9vw, 104px);
  height: auto;
  flex: 0 0 auto;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .3), 0 0 0 1px rgba(255, 255, 255, .1);
}
.award__body { min-width: 0; }
.award__label {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.award h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin-bottom: 8px; }
.award p { color: var(--muted); margin-bottom: 12px; }

@media (max-width: 620px) {
  .award { flex-direction: column; text-align: center; align-items: center; }
  .award .link-arrow { justify-content: center; }
}

.promo {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, var(--card), var(--bg-elev));
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.promo:hover { transform: translateY(-5px); border-color: rgba(255, 122, 24, .4); }
.promo__value {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.promo h3 { font-size: 1.15rem; }
.promo p { color: var(--muted); font-size: .93rem; }
.promo__tag {
  position: absolute;
  top: 18px; right: 18px;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 8px;
}

/* ---------- 11. Контакты и формы ---------- */
.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--card), var(--bg-elev));
}
.contact-card__icon {
  width: 46px; height: 46px;
  flex: 0 0 auto;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.contact-card__icon svg { width: 23px; height: 23px; }
.contact-card h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 1rem; font-weight: 600; }
.contact-card a:hover { color: var(--accent); }

.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 380px;
  background: var(--card);
}
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.25) contrast(1.05); }

.form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--card), var(--bg-elev));
}
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(8, 11, 15, .6);
  color: var(--text);
  font: inherit;
  font-size: .95rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field--row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form__note { font-size: .82rem; color: var(--muted-2); }
.form__status { font-size: .9rem; color: var(--ok); min-height: 20px; }

.info-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-strip > div { background: var(--bg-elev); padding: 22px; }
.info-strip strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.info-strip span { font-size: .87rem; color: var(--muted); }

/* ---------- 12. Подвал ---------- */
.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: #090c11;
  padding: 56px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}
.footer h4 {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__list a { color: var(--muted); font-size: .93rem; }
.footer__list a:hover { color: var(--accent); }
.footer p { color: var(--muted); font-size: .93rem; }
.footer__bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--muted-2);
}

.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(19, 26, 36, .9);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); color: #1a1005; border-color: transparent; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 13. Хлебные крошки, страница-заголовок ---------- */
.page-hero {
  padding: calc(var(--header-h) + 56px) 0 40px;
  background:
    radial-gradient(800px 340px at 12% 0%, rgba(255, 122, 24, .16), transparent 65%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 720px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--muted-2); margin-bottom: 16px; }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- 14. Анимации ---------- */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: .2; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.fade-up { animation: fadeUp .9s var(--ease) both; }
.fade-up--1 { animation-delay: .12s; }
.fade-up--2 { animation-delay: .24s; }
.fade-up--3 { animation-delay: .36s; }
.fade-up--4 { animation-delay: .48s; }

/* Появление блоков включается только при работающем JS:
   без JavaScript содержимое сайта видно полностью. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--left { transform: translateX(-32px); }
.js .reveal--right { transform: translateX(32px); }
.js .reveal--zoom { transform: scale(.94); }

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

/* ---------- 15. Адаптив ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; margin-left: auto; }
  .header__actions { margin-left: 10px; }
  .header__phone { display: none; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); }
  /* На телефонах сцена, как и на десктопе, лежит ПОД текстом на всю высоту
     первого экрана. Кадр (viewBox) подобран в main.js так, чтобы в него попали
     двигатель и подвеска; слой затемнения держит текст читаемым. */
  .hero { padding-bottom: 40px; }
  .hero__bg { inset: 0; height: auto; }
  .hero__bg::after {
    background:
      radial-gradient(420px 260px at 62% 28%, rgba(255, 122, 24, .18), transparent 70%),
      linear-gradient(180deg, rgba(8, 10, 14, .8) 0%, rgba(8, 10, 14, .6) 45%, rgba(8, 10, 14, .5) 74%, rgba(8, 10, 14, .78) 100%);
  }
  .hero__scroll { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }
  .field--row { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .info-strip { grid-template-columns: minmax(0, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
  .to-top { right: 14px; bottom: 14px; }
}

/* ==========================================================================
   16. Светлая тема
   Переключается атрибутом data-theme на <html> (кнопка в шапке).
   Тёмная тема остаётся в :root, светлая — здесь.
   ========================================================================== */
[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6fa;
  --bg-soft: #eaeef5;
  --bg-elev: #ffffff;
  --card: #ffffff;
  --card-2: #f1f4f9;
  --line: rgba(16, 24, 40, .10);
  --line-strong: rgba(16, 24, 40, .20);
  --text: #121926;
  --muted: #56637a;
  --muted-2: #78859a;
  --accent: #e8680c;
  --accent-2: #f59e0b;
  --accent-soft: rgba(232, 104, 12, .10);
  --accent-glow: rgba(232, 104, 12, .26);
  --shadow: 0 18px 46px rgba(16, 24, 40, .14);
  --shadow-sm: 0 8px 22px rgba(16, 24, 40, .08);
}

[data-theme="light"],
[data-theme="light"] body { background: var(--bg); color: var(--text); }

/* Шапка и подвал */
[data-theme="light"] .header { background: rgba(244, 246, 250, .78); }
[data-theme="light"] .header.is-scrolled {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 14px 34px -22px rgba(16, 24, 40, .45);
}
[data-theme="light"] .theme-toggle,
[data-theme="light"] .burger { background: rgba(16, 24, 40, .08); border-color: rgba(16, 24, 40, .34); }
[data-theme="light"] .burger:hover { background: rgba(16, 24, 40, .14); border-color: var(--accent); }
[data-theme="light"] .nav__link:hover { background: rgba(16, 24, 40, .05); }
[data-theme="light"] .drawer { background: #fff; }
[data-theme="light"] .overlay { background: rgba(16, 24, 40, .38); }
[data-theme="light"] .footer { background: #eaeef5; }
[data-theme="light"] .to-top { background: rgba(255, 255, 255, .92); }

/* Кнопки */
[data-theme="light"] .btn--ghost { background: rgba(16, 24, 40, .04); }
[data-theme="light"] .btn--ghost:hover { background: rgba(16, 24, 40, .07); }
[data-theme="light"] .btn--light { background: #121926; color: #fff; }

/* Карточки, плитки, полосы */
[data-theme="light"] .feature { background: rgba(16, 24, 40, .028); }
[data-theme="light"] .feature:hover { background: rgba(16, 24, 40, .055); }
[data-theme="light"] .filter-btn { background: rgba(16, 24, 40, .04); }
[data-theme="light"] .info-strip > div { background: #fff; }
[data-theme="light"] .price-block__head { background: rgba(16, 24, 40, .025); }
[data-theme="light"] .price-table thead th { background: #eef1f7; }
[data-theme="light"] .price-table tbody tr:hover { background: rgba(232, 104, 12, .07); }
[data-theme="light"] .card::after {
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(232, 104, 12, .12), transparent 70%);
}
[data-theme="light"] .cta-band {
  background:
    radial-gradient(700px 320px at 12% 0%, rgba(232, 104, 12, .16), transparent 65%),
    linear-gradient(150deg, #ffffff, #f1f4f9);
}

/* Формы */
[data-theme="light"] .field input,
[data-theme="light"] .field select,
[data-theme="light"] .field textarea {
  background: #f6f8fc;
  color: var(--text);
  border-color: rgba(16, 24, 40, .16);
}
[data-theme="light"] .field input:focus,
[data-theme="light"] .field select:focus,
[data-theme="light"] .field textarea:focus { background: #fff; }
[data-theme="light"] .field input::placeholder,
[data-theme="light"] .field textarea::placeholder { color: #98a2b3; }

/* Галерея и просмотр фото: подписи остаются светлыми на фото */
[data-theme="light"] .gallery__item::after {
  background: linear-gradient(180deg, transparent 40%, rgba(6, 8, 12, .8));
}

/* Первый экран подстраивается под тему: светлая тема — светлая «чертёжная»
   подложка с тёмными линиями, тёмная — как есть. */
[data-theme="light"] .hero {
  --text: #121926;
  --muted: #56637a;
  --muted-2: #78859a;
  --line: rgba(16, 24, 40, .12);
  --line-strong: rgba(16, 24, 40, .22);
  color: var(--text);
}
[data-theme="light"] .hero__bg {
  background:
    radial-gradient(900px 520px at 78% 44%, rgba(232, 104, 12, .14), transparent 68%),
    linear-gradient(160deg, #ffffff, #eef2f8 58%, #f7f9fc);
}
[data-theme="light"] .hero__bg::after {
  background:
    radial-gradient(1100px 520px at 12% 20%, rgba(232, 104, 12, .10), transparent 60%),
    linear-gradient(100deg, rgba(245, 247, 250, .96) 0%, rgba(245, 247, 250, .86) 40%, rgba(245, 247, 250, .30) 72%, rgba(245, 247, 250, .58) 100%);
}
[data-theme="light"] .hero__grid {
  opacity: .55;
  background-image:
    linear-gradient(rgba(16, 24, 40, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, .07) 1px, transparent 1px);
}
[data-theme="light"] .hero__lead { color: var(--muted); }
[data-theme="light"] .hero .btn--ghost {
  background: rgba(16, 24, 40, .05);
  color: var(--text);
}
[data-theme="light"] .hero .btn--ghost:hover {
  background: rgba(16, 24, 40, .09);
  border-color: var(--accent);
}

/* Плавная смена темы для крупных блоков (элементы с анимацией появления
   намеренно исключены, чтобы не ломать их собственный transition) */
body,
.header,
.footer,
.drawer,
.theme-toggle,
.field input,
.field select,
.field textarea {
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

/* ==========================================================================
   17. Первый экран: анимированная схема ДВС и подвески
   Кинематика (поршни, шатуны, клапаны, воспламенение, подвеска) считается
   в main.js; здесь — оформление линий и «атмосферные» анимации.
   ========================================================================== */
.hero-tech { position: absolute; inset: 0; }
.hero-tech svg { display: block; width: 100%; height: 100%; }

.hero-tech .hs-line,
.hero-tech .hs-thin,
.hero-tech .hs-accent,
.hero-tech .hs-rod,
.hero-tech .hs-web,
.hero-tech .hs-tooth,
.hero-tech .hs-spark { fill: none; }

.hero-tech .hs-line { stroke: rgba(255, 255, 255, .38); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero-tech .hs-thin { stroke: rgba(255, 255, 255, .17); stroke-width: 1.3; stroke-linecap: round; }
.hero-tech .hs-accent { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.hero-tech .hs-rod { stroke: var(--accent); stroke-width: 9; stroke-linecap: butt; }
.hero-tech .hs-web { stroke: rgba(255, 255, 255, .5); stroke-width: 11; stroke-linecap: round; }
.hero-tech .hs-tooth { stroke: rgba(255, 255, 255, .2); stroke-width: 20; stroke-dasharray: 12 12; }
.hero-tech .hs-piston-body { fill: rgba(255, 255, 255, .12); stroke: rgba(255, 255, 255, .6); stroke-width: 2; }
.hero-tech .hs-pin-big { fill: var(--accent); }
.hero-tech .hs-flash { opacity: 0; }
.hero-tech .hs-spark { stroke: #ffe0b0; stroke-width: 2.6; opacity: 0; }
.hero-tech .hs-glow { fill: var(--accent); opacity: .6; }
.hero-tech .hs-particle { animation: hsFloat 8s linear infinite; }
.hero-tech .hs-particle:nth-child(2) { animation-duration: 9.6s; }
.hero-tech .hs-particle:nth-child(3) { animation-duration: 7.2s; }
.hero-tech .hs-particle:nth-child(4) { animation-duration: 10.4s; }

@keyframes hsFloat {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: .85; }
  100% { transform: translateY(-150px); opacity: 0; }
}

/* светлая тема: линии чертежа тёмные, акценты те же */
[data-theme="light"] .hero-tech .hs-line { stroke: rgba(16, 24, 40, .42); }
[data-theme="light"] .hero-tech .hs-thin { stroke: rgba(16, 24, 40, .18); }
[data-theme="light"] .hero-tech .hs-web { stroke: rgba(16, 24, 40, .5); }
[data-theme="light"] .hero-tech .hs-piston-body { fill: rgba(16, 24, 40, .07); stroke: rgba(16, 24, 40, .5); }
[data-theme="light"] .hero-tech .hs-tooth { stroke: rgba(16, 24, 40, .22); }
[data-theme="light"] .hero-tech .hs-spark { stroke: #d97706; }

/* Кадрирование сцены под ширину экрана задаётся в main.js через viewBox:
   на телефонах и планшетах видно ту часть чертежа, где работает двигатель. */
@media (max-width: 720px) {
  [data-theme="light"] .hero__bg::after {
    background:
      radial-gradient(420px 260px at 62% 28%, rgba(232, 104, 12, .14), transparent 70%),
      linear-gradient(180deg, rgba(245, 247, 250, .82) 0%, rgba(245, 247, 250, .62) 45%, rgba(245, 247, 250, .5) 74%, rgba(245, 247, 250, .8) 100%);
  }
}

/* ==========================================================================
   18. Телефон: шапка не должна вылезать за экран
   Раньше логотип, переключатель темы, кнопка звонка и меню не помещались,
   и кнопка меню уезжала за правый край.
   ========================================================================== */
@media (max-width: 640px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .header__inner { gap: 10px; }
  .header__actions { margin-left: auto; gap: 8px; }
  .burger { margin-left: 0; }
  .theme-toggle { border-radius: 12px; }
  .logo { min-width: 0; }
  .logo__title { font-size: 1.16rem; }
  .logo__sub { font-size: .6rem; letter-spacing: .1em; }
  /* кнопка звонка на телефоне — только значок, подпись не помещается */
  .header__call { padding: 11px 13px; }
  .header__call-label { display: none; }
}
@media (max-width: 400px) {
  .logo__title { font-size: 1.02rem; }
  .theme-toggle { width: 40px; height: 40px; }
  .burger { width: 44px; height: 44px; }
  .burger span { left: 10px; right: 10px; }
  .burger span:nth-child(1) { top: 14px; }
  .burger span:nth-child(2) { top: 21px; }
  .burger span:nth-child(3) { top: 28px; }
  .burger.is-open span:nth-child(1),
  .burger.is-open span:nth-child(3) { top: 21px; }
}

/* ==========================================================================
   19. Телефон: меньше анимации и нагрузки
   Движение поршней и вспышки остаются, всё декоративное — статично или скрыто.
   ========================================================================== */
@media (max-width: 720px) {
  /* частицы, бегущая линия и тахометр на телефоне только мешают */
  .hero-tech .hs-particle,
  .hero-tech #hsScan,
  .hero-tech #hsTacho { display: none; }

  /* размытие фона шапки — самая дорогая операция при прокрутке на телефонах */
  .header,
  .header.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(11, 14, 19, .96);
  }
  [data-theme="light"] .header,
  [data-theme="light"] .header.is-scrolled {
    background: rgba(250, 251, 253, .97);
  }
}