/* ══════════════════════════════════════════════════════════════
   ЛогикАвто — фирменный стиль
   Синий #02458A и сигнальный зелёный #0EF510 взяты из логотипа
   ══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Unbounded';
  src: url('assets/fonts/unbounded-cyrillic.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  src: url('assets/fonts/unbounded-latin.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Golos';
  src: url('assets/fonts/golos-cyrillic.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos';
  src: url('assets/fonts/golos-latin.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'JB Mono';
  src: url('assets/fonts/mono-cyrillic.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JB Mono';
  src: url('assets/fonts/mono-latin.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  --blue-900: #02203f;
  --blue-800: #02458A;
  --blue-600: #0f63bd;
  --blue-400: #4d9ae8;

  --green: #0EF510;
  --green-deep: #0aa30c;

  --ink-950: #050f1c;
  --ink-900: #071523;
  --ink-850: #0a1c2e;
  --ink-800: #0f2639;
  --ink-700: #17334a;

  --paper: #f1f4f6;
  --paper-card: #ffffff;
  --paper-line: #d9e0e6;
  --graphite: #1a2733;
  --graphite-soft: #55636f;

  --line-dark: rgba(255, 255, 255, 0.09);
  --line-dark-strong: rgba(255, 255, 255, 0.16);

  --header-h: 76px;
  --sec-pad: clamp(64px, 9vw, 120px);

  --shell: 1200px;
  --pad: clamp(20px, 5vw, 40px);

  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --ease: cubic-bezier(0.2, 0, 0, 1);

  --shadow-dark:
    0 1px 1px rgba(0, 0, 0, 0.32),
    0 8px 24px rgba(0, 0, 0, 0.28),
    0 24px 60px rgba(0, 0, 0, 0.22);
  --shadow-light:
    0 1px 1px rgba(16, 34, 51, 0.06),
    0 6px 16px rgba(16, 34, 51, 0.07),
    0 18px 44px rgba(16, 34, 51, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Якорь приземляется так, что верх секции уходит под шапку:
   иначе в щели между шапкой и секцией видна полоса предыдущего блока */
:target, [id] { scroll-margin-top: var(--header-h); }
.section[id] { scroll-margin-top: calc(var(--header-h) - var(--sec-pad) * 0.55); }
#zapis { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink-900);
  color: #e8eef4;
  font-family: 'Golos', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

h1, h2, h3, h4 {
  font-family: 'Unbounded', 'Golos', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}
p { text-wrap: pretty; margin: 0; }

.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

a { color: inherit; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: var(--pad); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--green); color: #04210a; padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

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

/* ─────────────── Кнопки ─────────────── */

.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--btn-h);
  padding: 0 26px;
  border: 0;
  border-radius: var(--r-md);
  font-family: 'Golos', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition-property: background-color, color, box-shadow, scale, border-color;
  transition-duration: 180ms;
  transition-timing-function: var(--ease);
}
.btn:active { scale: 0.96; }

.btn-primary {
  background: var(--green);
  color: #04210a;
  box-shadow:
    0 1px 1px rgba(4, 33, 10, 0.22),
    0 6px 18px rgba(14, 245, 16, 0.20),
    inset 0 -1px 0 rgba(4, 33, 10, 0.14);
}
.btn-primary:hover { background: #35ff37; box-shadow: 0 1px 1px rgba(4,33,10,.22), 0 10px 28px rgba(14,245,16,.30); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #e8eef4;
  box-shadow: inset 0 0 0 1px var(--line-dark-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }

.section-light .btn-ghost { background: transparent; color: var(--graphite); box-shadow: inset 0 0 0 1px var(--paper-line); }
.section-light .btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px #b9c4cd; }

.btn-sm { --btn-h: 44px; padding: 0 18px; font-size: 15px; border-radius: var(--r-sm); }
.btn-block { width: 100%; }

/* ─────────────── Шапка ─────────────── */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--ink-900);
  box-shadow: inset 0 -1px 0 var(--line-dark);
  transition: background-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.site-header.is-stuck {
  background: var(--ink-950);
  box-shadow: inset 0 -1px 0 var(--line-dark-strong), 0 12px 32px rgba(0, 0, 0, 0.36);
}

.header-inner {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; }

.nav { display: flex; gap: 26px; margin-inline-start: auto; }
.nav a {
  position: relative;
  font-size: 15px; font-weight: 500; color: #b6c6d4; text-decoration: none;
  padding: 10px 0;
  transition: color 160ms var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px;
  background: var(--green);
  transition: right 220ms var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.nav + .header-actions { margin-inline-start: 0; }

.phone-link { text-decoration: none; display: grid; line-height: 1.15; }
.phone-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: #6f8598;
}
.phone-number {
  font-size: 16px; font-weight: 600; color: #fff;
  font-variant-numeric: tabular-nums;
  transition: color 160ms var(--ease);
}
.phone-link:hover .phone-number { color: var(--green); }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  background: transparent; border: 0; cursor: pointer; padding: 0;
}
.burger span {
  display: block; width: 22px; height: 2px; background: #dce5ec; border-radius: 2px;
  transition: transform 220ms var(--ease), opacity 160ms var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav[hidden] { display: none; }
.mobile-nav {
  display: grid; gap: 2px;
  padding: 8px var(--pad) 22px;
  box-shadow: inset 0 1px 0 var(--line-dark);
}
.mobile-nav a {
  padding: 14px 0; text-decoration: none; font-size: 17px; font-weight: 500;
  box-shadow: inset 0 -1px 0 var(--line-dark);
}

/* ─────────────── Hero ─────────────── */

.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 110px); }

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 48%;
  opacity: 0.30;
  filter: grayscale(0.35) contrast(1.05);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 12% 18%, rgba(2, 32, 63, 0.82) 0%, rgba(7, 21, 35, 0.96) 58%, #071523 100%),
    linear-gradient(180deg, rgba(7, 21, 35, 0.4) 0%, rgba(7, 21, 35, 0) 40%, #071523 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77, 154, 232, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 154, 232, 0.10) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(90% 70% at 20% 10%, #000 0%, transparent 70%);
  z-index: 1;
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'JB Mono', monospace; font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: #7fa3c2;
  margin-bottom: 20px;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(14, 245, 16, 0.55);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(14, 245, 16, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(14, 245, 16, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 245, 16, 0); }
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.07em;
  background: rgba(14, 245, 16, 0.32);
}

.hero-lead {
  max-width: 56ch;
  font-size: clamp(16.5px, 1.5vw, 19px);
  color: #a9bccd;
  margin-bottom: 32px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line-dark);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.hero-stats > div { background: rgba(10, 28, 46, 0.72); padding: 18px 20px; }
.hero-stats dt {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: #6f8598; margin-bottom: 8px;
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats dt { min-height: 2.4em; }
.hero-stats dd { margin: 0; display: grid; gap: 2px; }
.hero-stats dd b {
  font-family: 'Unbounded', sans-serif; font-size: 30px; font-weight: 700; color: #fff;
  letter-spacing: -0.03em; white-space: nowrap;
}
.hero-stats dd span { font-size: 13px; color: #8aa0b3; line-height: 1.35; }

/* Карточка специализации */
.hero-card {
  border-radius: var(--r-lg);
  background: var(--ink-800);
  box-shadow: inset 0 0 0 1px var(--line-dark-strong), var(--shadow-dark);
  overflow: hidden;
}
.hero-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
}
.hero-card-code {
  font-size: 12.5px; letter-spacing: 0.04em; color: #7f95a8;
}
.hero-card > img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 62%;
  outline: 1px solid rgba(255, 255, 255, 0.1); outline-offset: -1px;
}
.hero-card-body { padding: 22px 20px 20px; }
.hero-card-body h2 { font-size: 23px; margin-bottom: 12px; }
.hero-card-body p { color: #a9bccd; font-size: 15.5px; }

.price-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: 18px; padding-top: 16px;
  box-shadow: inset 0 1px 0 var(--line-dark);
  font-size: 14.5px;
}
.price-row b { font-family: 'Unbounded', sans-serif; font-size: 21px; color: var(--green); white-space: nowrap; }

.tag {
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 10px;
  border-radius: 7px;
  font-family: 'JB Mono', monospace; font-size: 10.5px; letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.07); color: #b6c6d4;
}
.tag-green { background: rgba(14, 245, 16, 0.14); color: #62ff64; }

/* ─────────────── Бегущая строка ─────────────── */

.ticker {
  overflow: hidden;
  background: var(--blue-800);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  padding: 13px 0;
}
.ticker-track {
  display: flex; align-items: center; gap: 28px;
  width: max-content;
  animation: ticker 46s linear infinite;
}
.ticker span {
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.86); white-space: nowrap;
}
.ticker i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ─────────────── Секции ─────────────── */

.section { padding: var(--sec-pad) 0; position: relative; }
.section-dark { background: var(--ink-900); }
.section-light { background: var(--paper); color: var(--graphite); }
.section-light h1, .section-light h2, .section-light h3 { color: #0d1b28; }

.section-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(27px, 3.6vw, 44px); }
.section-head .eyebrow { color: var(--blue-400); }
.section-light .section-head .eyebrow { color: var(--blue-800); }
.section-lead {
  margin-top: 20px; font-size: clamp(16px, 1.4vw, 18px); color: #a9bccd; max-width: 68ch;
}
.section-light .section-lead { color: var(--graphite-soft); }

.section-head-row {
  max-width: none;
  display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between;
}
.section-head-row > div:first-child { max-width: 560px; }

/* ─────────────── Карточки специализации ─────────────── */

.cards-3 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 24px 24px;
  border-radius: var(--r-lg);
  background: var(--ink-850);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: box-shadow 220ms var(--ease), translate 220ms var(--ease);
}
.card:hover { translate: 0 -3px; box-shadow: inset 0 0 0 1px var(--line-dark-strong), var(--shadow-dark); }
.card-accent { background: #0d2a44; }
.card-accent::before {
  content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 2px;
  background: var(--green); border-radius: 0 0 2px 2px;
}
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.card h3 { font-size: 20px; margin-bottom: 14px; }
.card > p { color: #a9bccd; font-size: 15.5px; }

.ticks { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 24px; font-size: 15px; color: #c3d2df; }
.ticks li::before {
  content: ''; position: absolute; left: 2px; top: 8px;
  width: 9px; height: 9px; border-radius: 2px;
  background: var(--green); opacity: 0.85;
}
.ticks-lg li { font-size: 16.5px; padding-left: 28px; }
.section-light .ticks li { color: var(--graphite); }

.card-price {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 16px;
  box-shadow: inset 0 1px 0 var(--line-dark);
  font-size: 14px; color: #8aa0b3;
}
.card-price b { font-family: 'Unbounded', sans-serif; font-size: 20px; color: #fff; text-align: right; }
.card-price b:not(.num) { font-family: 'Golos', sans-serif; font-size: 15px; font-weight: 600; color: #c3d2df; }
.card-accent .card-price b { color: var(--green); }

/* ─────────────── Сплит-блоки ─────────────── */

.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  margin-top: clamp(48px, 6vw, 84px);
}
.section-parts .split { margin-top: 0; }
.split-reverse .split-media { order: 2; }

.split-media { margin: 0; }
.split-media img {
  width: 100%; border-radius: var(--r-lg);
  outline: 1px solid rgba(255, 255, 255, 0.1); outline-offset: -1px;
  box-shadow: var(--shadow-dark);
}
.split-media figcaption {
  margin-top: 12px;
  font-size: 12.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: #6f8598;
}
.split-copy h2 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 20px; }
.split-copy h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 18px; }
.split-copy p { color: #a9bccd; margin-bottom: 16px; }
.split-copy .btn { margin-top: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px; padding: 10px 0;
  font-weight: 600; color: var(--green); text-decoration: none;
}
.link-arrow svg { transition: translate 200ms var(--ease); }
.link-arrow:hover svg { translate: 4px 0; }

/* ─────────────── Преимущества ─────────────── */

.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feature {
  display: flex; flex-direction: column;
  padding: 26px 24px;
  background: var(--paper-card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-light);
}
.feature-mark {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-800); color: #fff;
  margin-bottom: 18px;
}
.feature h3 { font-size: 18px; margin-bottom: 12px; min-height: 2.2em; }
.feature p { font-size: 15.5px; color: var(--graphite-soft); margin-bottom: 14px; }
.feature-src {
  margin-top: auto; padding-top: 12px;
  box-shadow: inset 0 1px 0 var(--paper-line);
  font-size: 12.5px; color: #7b8894;
}

.note { margin-top: 28px; font-size: 14.5px; color: var(--graphite-soft); }
.section-dark .note { color: #7f95a8; }
.note a { color: var(--blue-800); text-underline-offset: 3px; }
.section-dark .note a { color: var(--green); }

/* ─────────────── Работы ─────────────── */

.works { display: grid; gap: 10px; }
.work {
  border-radius: var(--r-md);
  background: var(--ink-850);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  overflow: hidden;
  transition: box-shadow 200ms var(--ease);
}
.work[open] { box-shadow: inset 0 0 0 1px var(--line-dark-strong); }
.work summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  cursor: pointer; list-style: none;
  min-height: 44px;
}
.work summary::-webkit-details-marker { display: none; }
.work-title {
  font-family: 'Unbounded', sans-serif; font-size: clamp(16px, 1.7vw, 19px); font-weight: 600;
  letter-spacing: -0.02em;
}
.work-count {
  font-family: 'JB Mono', monospace; font-size: 11.5px; color: #6f8598;
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
}
.work-count::after {
  content: ''; width: 10px; height: 10px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  rotate: 45deg; translate: 0 -2px;
  transition: rotate 220ms var(--ease), translate 220ms var(--ease);
}
.work[open] .work-count::after { rotate: 225deg; translate: 0 2px; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 22px 22px; }
.chips li {
  padding: 8px 13px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  font-size: 14.5px; color: #c3d2df;
}

.brands { margin-top: 44px; padding-top: 28px; box-shadow: inset 0 1px 0 var(--line-dark); }
.chips-brands { padding: 0; }
.chips-brands li { background: transparent; box-shadow: inset 0 0 0 1px var(--line-dark); color: #9fb4c6; }
.brands-label {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #6f8598; margin-bottom: 14px;
}
.brands-list { color: #8aa0b3; font-size: 15.5px; max-width: 90ch; }

/* ─────────────── Шаги ─────────────── */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px;
  background: var(--paper-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
}
.step { background: var(--paper-card); padding: 26px 22px 30px; }
.step-num {
  display: block;
  font-family: 'Unbounded', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--blue-800); letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.step h3 { font-size: 17.5px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--graphite-soft); }

/* ─────────────── Отзывы ─────────────── */

.rating-box {
  display: flex; gap: 26px; flex-wrap: wrap; align-items: center;
  padding: 20px 24px;
  background: var(--paper-card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-light);
}
.rating-main { display: grid; gap: 4px; }
.rating-main b {
  font-family: 'Unbounded', sans-serif; font-size: 40px; font-weight: 700; line-height: 1;
  color: #0d1b28;
}
.rating-main span { font-size: 12.5px; color: var(--graphite-soft); }
.stars {
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='M11 1.4l2.5 5.4 5.8.7-4.3 4 1.2 5.8L11 14.4 5.8 17.3 7 11.5l-4.3-4 5.8-.7z'/%3E%3C/svg%3E");
  width: 110px; height: 20px;
  background: var(--paper-line);
  -webkit-mask-image: var(--star); mask-image: var(--star);
  -webkit-mask-size: 22px 20px; mask-size: 22px 20px;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
  position: relative;
}
.stars span { position: absolute; inset: 0 auto 0 0; width: var(--fill); background: #f5a623; }

.rating-aspects { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; min-width: 210px; }
.rating-aspects li { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; }
.rating-aspects span { color: var(--graphite-soft); }
.rating-aspects b { color: var(--green-deep); font-weight: 600; }

.reviews {
  columns: 3 300px;
  column-gap: 18px;
}
.review {
  break-inside: avoid;
  margin: 0 0 18px;
  padding: 24px 24px 20px;
  background: var(--paper-card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-light);
}
.review p { font-size: 15.5px; color: #2b3944; }
.review::before {
  content: '';
  display: block; width: 26px; height: 3px; border-radius: 2px;
  background: var(--green); margin-bottom: 16px;
}
.review footer {
  margin-top: 16px; padding-top: 13px;
  box-shadow: inset 0 1px 0 var(--paper-line);
  display: grid; gap: 2px;
}
.review footer b { font-size: 15px; }
.review footer span {
  font-size: 12.5px; color: #7b8894;
}

/* ─────────────── Контакты ─────────────── */

.contacts-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}

.contact-block h3 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: #6f8598;
  margin: 32px 0 12px;
}
.contact-block h3:first-child { margin-top: 0; }

.contact-big { font-size: 21px; font-weight: 600; line-height: 1.35; }
.contact-big a { text-decoration: none; transition: color 160ms var(--ease); }
.contact-big a:hover { color: var(--green); }
.contact-big span { display: block; font-size: 14px; font-weight: 400; color: #8aa0b3; margin-top: 3px; }
.contact-big + .contact-big { margin-top: 16px; }
.contact-note { margin-top: 12px; font-size: 14.5px; color: #8aa0b3; }

.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line-dark);
  border-radius: var(--r-md); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-dark); }
.hours li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 16px; background: var(--ink-850); font-size: 15px;
}
.hours b { font-family: 'JB Mono', monospace; font-size: 15px; color: #fff; }

.contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* Форма */
.form-block {
  position: sticky; top: calc(var(--header-h) + 16px);
  padding: clamp(24px, 3vw, 34px);
  border-radius: calc(var(--r-lg) + 6px);
  background: #0d2a44;
  box-shadow: inset 0 0 0 1px var(--line-dark-strong), var(--shadow-dark);
}
.form h3 { font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 12px; }
.form-lead { color: #a9bccd; font-size: 15.5px; margin-bottom: 24px; }

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: #9fb4c6;
}
.field input, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 0; border-radius: var(--r-md);
  background: rgba(5, 15, 28, 0.6);
  box-shadow: inset 0 0 0 1px var(--line-dark-strong);
  color: #eef4f9;
  font-family: 'Golos', sans-serif; font-size: 16px;
  transition: box-shadow 180ms var(--ease), background-color 180ms var(--ease);
}
.field textarea { resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #5f7789; }
.field input:focus, .field textarea:focus {
  outline: none;
  background: rgba(5, 15, 28, 0.85);
  box-shadow: inset 0 0 0 1px var(--green), 0 0 0 4px rgba(14, 245, 16, 0.12);
}
.field-error {
  display: none;
  font-size: 13px; color: #ff8b7a;
}
.field.is-invalid input { box-shadow: inset 0 0 0 1px #ff8b7a; }
.field.is-invalid .field-error { display: block; }

.form-legal { margin-top: 14px; font-size: 12.5px; color: #6f8598; line-height: 1.5; }

.map { margin-top: clamp(32px, 4vw, 52px); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line-dark-strong), var(--shadow-dark); }
.map iframe { display: block; border: 0; filter: grayscale(0.15); }

/* ─────────────── Подвал ─────────────── */

.site-footer { background: var(--ink-950); padding: clamp(44px, 6vw, 72px) 0 28px; }
.footer-inner {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-brand img { height: 38px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: #7f95a8; font-size: 15px; max-width: 34ch; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h4 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: #587187;
  margin-bottom: 4px;
}
.footer-col a, .footer-col span { font-size: 15px; color: #a9bccd; text-decoration: none; }
.footer-col a { transition: color 160ms var(--ease); }
.footer-col a:hover { color: var(--green); }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  margin-top: 44px; padding-top: 22px;
  box-shadow: inset 0 1px 0 var(--line-dark);
  font-size: 13px; color: #587187;
}

/* ─────────────── Мобильная панель ─────────────── */

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; gap: 10px;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: var(--ink-950);
  box-shadow: inset 0 1px 0 var(--line-dark-strong);
}
.mobile-bar .btn { flex: 1; }

/* ─────────────── Появление ─────────────── */

.reveal { opacity: 0; translate: 0 16px; }
.reveal.is-in {
  opacity: 1; translate: 0 0;
  transition: opacity 620ms var(--ease), translate 620ms var(--ease);
  transition-delay: calc((var(--i, 0) - 1) * 90ms);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; }
  .reveal.is-in { transition: none; }
}

/* ─────────────── Адаптив ─────────────── */

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: flex; }
  .nav + .header-actions { margin-inline-start: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .split, .split-reverse .split-media { grid-template-columns: 1fr; order: 0; }
  .hero-stats { grid-template-columns: 1fr; }
  .phone-link { display: none; }
  .mobile-bar { display: flex; }
  .site-footer { padding-bottom: 96px; }
  .header-actions .btn-primary { display: none; }
  .reviews { columns: 1; }
  .section-head-row { align-items: flex-start; }
  .rating-box { width: 100%; }
}

@media (max-width: 520px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

.contact-photo { margin: 26px 0 0; }
.contact-photo img {
  width: 100%; border-radius: var(--r-md);
  outline: 1px solid rgba(255, 255, 255, 0.1); outline-offset: -1px;
}
.contact-photo figcaption { margin-top: 10px; font-size: 13.5px; color: #6f8598; }

/* Мобильная панель не перекрывает контент */
@media (max-width: 1080px) {
  .form-block { position: static; }
}

@media (max-width: 780px) {
  body { padding-bottom: 72px; }
  .footer-col { gap: 2px; }
  .footer-col a, .footer-col span { padding: 9px 0; }
  .note a { display: inline-block; padding: 4px 0; }
  .site-footer { padding-bottom: 32px; }
  body.is-menu-open { overflow: hidden; }
}
