/* =========================================================
   Автосервис — жанр «приборная панель», монохромная оливковая
   палитра. Все шрифты — системные стеки, без внешних подключений.
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --olive-950:#1c2110;
  --olive-900:#242b14;
  --olive-800:#333d1c;
  --olive-700:#454f24;
  --olive-600:#5a662f;
  --olive-500:#77843e;
  --olive-400:#94a355;
  --olive-300:#b3bf73;
  --olive-200:#cfd699;
  --olive-100:#e6e8bf;
  --olive-50:#f3f2df;
  --amber:#e2a13d;
  --amber-strong:#f2b955;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", Times, serif;

  --radius: 22px;
  --skew: clamp(28px, 5vw, 64px);
}

/* ---- тёмная тема (по умолчанию, насыщенный тёмный оливковый) ---- */
:root, [data-theme="dark"] {
  --bg: var(--olive-950);
  --bg-alt: var(--olive-900);
  --surface: var(--olive-800);
  --surface-2: var(--olive-700);
  --text: var(--olive-50);
  --text-dim: var(--olive-200);
  --grid-line: rgba(243,242,223,.07);
  --shadow: 0 30px 70px -24px rgba(0,0,0,.7), 0 12px 24px -10px rgba(0,0,0,.55);
  --ring-track: rgba(243,242,223,.16);
  --ring-fill: var(--amber-strong);
  /* тёмная тема => тайлы OSM (светлые по умолчанию) инвертируем в тёмные */
  --tile-filter: invert(.92) hue-rotate(180deg) brightness(.95);
}

/* ---- светлая тема (светлый оливково-жёлтый / хаки-крем) ---- */
[data-theme="light"] {
  --bg: var(--olive-300);
  --bg-alt: var(--olive-200);
  --surface: var(--olive-50);
  --surface-2: var(--olive-100);
  --text: var(--olive-950);
  --text-dim: var(--olive-800);
  --grid-line: rgba(28,33,16,.10);
  --shadow: 0 30px 70px -24px rgba(28,33,16,.38), 0 12px 24px -10px rgba(28,33,16,.28);
  --ring-track: rgba(28,33,16,.16);
  --ring-fill: #8a5a12;
  /* светлая тема => тайлы OSM остаются как есть, без инверсии */
  --tile-filter: none;
}

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; user-select: none; }
h1, h2, h3, p, dl, blockquote, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--amber);
  color: #1c2110; padding: .8em 1.2em; z-index: 500; border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

.nowrap { white-space: nowrap; }

/* ---- предохранитель от белого полотна ---- */
.reveal { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   Миллиметровка — фирменная фактура на весь фон страницы
   ========================================================= */
.mm-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 8px 8px, 8px 8px, 40px 40px, 40px 40px;
  background-position: -1px -1px;
  opacity: .8;
}

/* =========================================================
   Шапка
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--grid-line);
}
.header-inner {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(.8rem, 3vw, 2rem);
  min-height: 68px; padding-top: .5rem; padding-bottom: .5rem;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; order: 1; }
.brand-text { font-weight: 800; font-size: 1.05rem; letter-spacing: .01em; }

/* nav-panel: на десктопе — просто «прозрачная» обёртка, дети встают
   прямо в ряд .header-inner; на мобильном — сворачиваемая панель */
.nav-panel { display: contents; }

.main-nav { display: flex; gap: clamp(.9rem, 2vw, 1.6rem); flex: 1 1 auto; flex-wrap: wrap; order: 2; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--text-dim); }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); }

.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); box-shadow: var(--shadow); order: 3;
  border: 2px solid transparent; transition: border-color .2s ease, background .2s ease;
}
.theme-toggle:hover, .theme-toggle:focus-visible { border-color: var(--amber); }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.call-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--olive-700); color: var(--olive-50);
  padding: .7em 1.1em; border-radius: 999px; font-weight: 700; text-decoration: none;
  box-shadow: var(--shadow); white-space: nowrap; min-height: 44px; order: 4;
  border: 2px solid transparent; transition: border-color .2s ease, transform .2s ease;
}
.call-btn:hover, .call-btn:focus-visible { border-color: var(--amber-strong); transform: translateY(-1px); }
[data-theme="light"] .call-btn { background: var(--olive-800); color: var(--olive-50); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); box-shadow: var(--shadow); order: 5;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 2px solid transparent; transition: border-color .2s ease;
}
.nav-toggle:hover, .nav-toggle:focus-visible { border-color: var(--amber); }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lamp-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 30%, transparent), 0 0 10px 1px var(--amber);
  flex-shrink: 0;
}

/* =========================================================
   Секции-«деки» с наклонными срезами вместо прямых линий
   ========================================================= */
.deck {
  position: relative;
  padding: clamp(3.2rem, 9vw, 6.5rem) 0 calc(clamp(3.2rem, 9vw, 6.5rem) + var(--skew));
  clip-path: polygon(0 var(--skew), 100% 0, 100% calc(100% - var(--skew)), 0 100%);
  margin-bottom: calc(var(--skew) * -1);
}
.deck-a { background: var(--bg); }
.deck-b { background: var(--bg-alt); }
.hero {
  background: var(--olive-950); color: var(--olive-50); overflow: hidden; margin-bottom: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--skew)), 0 100%);
  padding-top: clamp(2.4rem, 7vw, 4.5rem);
  /* герой всегда тёмный вне зависимости от темы страницы — дорожка кольца
     должна оставаться светлой, а не браться из светлой темы (тёмный rgba) */
  --ring-track: rgba(243,242,223,.18);
  --ring-fill: var(--amber-strong);
}
[data-theme="light"] .hero { background: var(--olive-950); color: var(--olive-50); --ring-track: rgba(243,242,223,.18); --ring-fill: var(--amber-strong); }
.hero .mm-grid { --grid-line: rgba(243,242,223,.08); }

/* =========================================================
   HERO — вертикальная лесенка вместо горизонтального блока
   ========================================================= */
.hero-inner { position: relative; z-index: 2; }
.eyebrow {
  font-family: var(--font-serif); font-style: italic; letter-spacing: .04em;
  color: var(--olive-300); font-size: clamp(.85rem, 1.4vw, 1rem); margin-bottom: .6em;
}
.stair { font-weight: 800; line-height: .96; margin: 0 0 clamp(1.2rem, 3vw, 2rem); }
.stair .line { display: block; }
.stair .l1 { font-size: clamp(3.4rem, 11vw, 8.5rem); margin-left: 0; }
.stair .l2 { font-size: clamp(2rem, 6.4vw, 4.6rem); margin-left: clamp(1rem, 6vw, 5rem); color: var(--olive-200); font-weight: 700; }
.stair .l3 { font-size: clamp(2.6rem, 8vw, 6rem); margin-left: clamp(2rem, 11vw, 9rem); color: var(--amber-strong); }

.hero-lead {
  max-width: 46ch; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--olive-100);
  margin-bottom: clamp(1.6rem, 4vw, 2.4rem);
}

/* ---- призыв к действию на первом экране ---- */
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .9em 1.6em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-primary { background: var(--amber-strong); color: #1c2110; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--amber); border-color: var(--olive-50); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--olive-50); border-color: var(--olive-300); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: color-mix(in srgb, var(--olive-50) 12%, transparent); border-color: var(--olive-50); }

.hero-panel {
  display: flex; flex-wrap: wrap; gap: clamp(1.6rem, 4vw, 3rem); align-items: center;
  background: color-mix(in srgb, var(--olive-900) 78%, transparent);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow); backdrop-filter: blur(6px);
}

/* ---- кольцевая шкала рейтинга ---- */
.gauge-block { display: flex; flex-direction: column; align-items: center; gap: .4rem; position: relative; }
.gauge { width: clamp(140px, 16vw, 190px); height: clamp(140px, 16vw, 190px); display: block; }
.gauge-track { stroke: var(--ring-track); }
.gauge-fill { stroke: var(--ring-fill); transition: stroke-dashoffset .8s ease; }
.gauge-value {
  position: absolute; top: 0; left: 0; width: 100%; height: calc(100% - 1.6rem);
  display: grid; place-items: center; pointer-events: none;
}
.gauge-value .num {
  font-size: clamp(2.6rem, 5.4vw, 3.9rem); font-weight: 800; font-variant-numeric: tabular-nums;
  color: var(--olive-50);
}
.gauge-caption { font-size: .95rem; color: var(--olive-200); font-variant-numeric: tabular-nums; white-space: nowrap; }

.status-block { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.status-lamp { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--amber-strong); }
.hours-line, .addr-line { color: var(--olive-100); font-variant-numeric: tabular-nums; white-space: nowrap; overflow-wrap: normal; }
.addr-line { color: var(--olive-300); }

/* =========================================================
   Типографика заголовков разделов
   ========================================================= */
.h-giant {
  font-weight: 800; line-height: 1.02; letter-spacing: -.01em;
  font-size: clamp(2.4rem, 6.5vw, 5.2rem); margin-bottom: .5em; max-width: 20ch;
}
.h-giant.small { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.section-lead { max-width: 62ch; color: var(--text-dim); font-size: clamp(1rem, 1.4vw, 1.12rem); margin-bottom: clamp(2rem, 4vw, 3rem); }

/* =========================================================
   Каналы услуг (приборные блоки) — плитка разной ширины
   ========================================================= */
.channels {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense; align-items: start;
  gap: clamp(1rem, 2.2vw, 1.6rem);
}
.channel[data-size="wide"] { grid-column: span 2; }
.channel {
  background: var(--surface); border-radius: var(--radius); padding: clamp(1.3rem, 2.4vw, 1.8rem);
  box-shadow: var(--shadow); height: 100%;
}
.channel-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.channel-count {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; flex-shrink: 0;
  background: var(--olive-700); color: var(--olive-50); display: grid; place-items: center;
  font-weight: 800; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 3px var(--olive-600);
}
[data-theme="light"] .channel-count { background: var(--olive-800); }
.channel h3 { font-size: 1.15rem; font-weight: 700; }
.channel[data-size="wide"] ul { columns: 2; column-gap: 1.6rem; }
.channel ul { display: flex; flex-direction: column; gap: .45rem; }
.channel[data-size="wide"] ul { display: block; }
.channel[data-size="wide"] li { break-inside: avoid; margin-bottom: .45rem; }
.channel li {
  font-size: .96rem; color: var(--text-dim); padding-left: 1.1em; position: relative;
}
.channel li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px;
  border-radius: 1px; background: var(--amber); transform: rotate(45deg);
}

@media (max-width: 640px) {
  .channels { grid-template-columns: 1fr; }
  .channel[data-size="wide"] { grid-column: span 1; }
  .channel[data-size="wide"] ul { columns: 2; }
}

/* =========================================================
   Числовые плашки-факты
   ========================================================= */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(.9rem, 2vw, 1.4rem); }
.fact {
  background: var(--surface); border-radius: var(--radius); padding: clamp(1.3rem, 2.6vw, 1.8rem);
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .3rem;
}
.fact-num { font-size: clamp(2.6rem, 5.4vw, 3.6rem); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; color: var(--ring-fill); }
.fact-label { color: var(--text-dim); font-size: .95rem; }

/* =========================================================
   «Как проходит ремонт» — четыре шага
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(1rem, 2.2vw, 1.6rem); }
.step {
  background: var(--surface); border-radius: var(--radius); padding: clamp(1.3rem, 2.4vw, 1.8rem);
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .6rem;
}
.step-num {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--amber-strong); color: #1c2110; font-weight: 800; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.1rem; font-weight: 700; }
.step p { color: var(--text-dim); font-size: .95rem; }

/* =========================================================
   Бегущая лента марок
   ========================================================= */
.marquee {
  overflow: hidden; margin: 1.6rem 0 1.2rem; padding: 1rem 0;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee-scroll 46s linear infinite;
  font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.6rem); white-space: nowrap;
  letter-spacing: .01em;
}
.marquee-track span { padding-right: 0; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.marks-list { background: transparent; }
.marks-list summary {
  cursor: pointer; font-weight: 700; padding: .8em 0; list-style: none;
}
.marks-list summary::-webkit-details-marker { display: none; }
.marks-list summary::before { content: "▸ "; color: var(--amber); }
.marks-list[open] summary::before { content: "▾ "; }
.marks-list ul {
  columns: 2; column-gap: 2rem; padding-top: .6rem;
}
@media (min-width: 640px) { .marks-list ul { columns: 3; } }
@media (min-width: 980px) { .marks-list ul { columns: 4; } }
.marks-list li { padding: .28em 0; border-bottom: 1px solid var(--grid-line); font-size: .95rem; break-inside: avoid; }

/* =========================================================
   Отзывы — большая цитата-врезка + компактные карточки
   ========================================================= */
.trust-block {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: center; background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(1.6rem, 3.2vw, 2.6rem); margin-bottom: clamp(1.2rem, 2.4vw, 1.8rem);
}
.trust-quote p { font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.5; overflow-wrap: anywhere; }
.trust-quote footer { margin-top: .8rem; display: flex; align-items: center; gap: .6rem; }
.trust-quote .stars { color: var(--amber); letter-spacing: .12em; font-size: 1.1rem; }
.trust-quote .who { color: var(--text-dim); font-size: .9rem; }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1rem, 2.2vw, 1.6rem); }
.review {
  background: var(--surface); border-radius: var(--radius); padding: clamp(1.3rem, 2.4vw, 1.8rem);
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem;
}
.review p { font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
.stars { color: var(--amber); letter-spacing: .12em; font-size: 1.1rem; }

@media (max-width: 640px) {
  .trust-block { grid-template-columns: 1fr; text-align: left; }
}

/* =========================================================
   Фото + лайтбокс
   ========================================================= */
.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1rem, 2.2vw, 1.6rem); }
.photo-btn { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 2px solid transparent; transition: border-color .2s ease; }
.photo-btn:hover, .photo-btn:focus-visible { border-color: var(--amber); }
.photo-btn img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.lightbox {
  position: fixed; inset: 0; z-index: 400; background: rgba(10,12,4,.88);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 900px); max-height: 82vh; border-radius: 14px; box-shadow: var(--shadow); }
.lightbox-close, .lightbox-nav {
  position: absolute; background: var(--olive-800); color: var(--olive-50);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.6rem; box-shadow: var(--shadow); border: 2px solid transparent; transition: border-color .2s ease;
}
.lightbox-close:hover, .lightbox-close:focus-visible,
.lightbox-nav:hover, .lightbox-nav:focus-visible { border-color: var(--amber); }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-nav.prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* =========================================================
   Контакты + карта
   ========================================================= */
.contacts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1.2rem, 2.4vw, 2rem); align-items: stretch; }
.contacts-card, .map-card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.3rem, 2.4vw, 2rem);
}
.map-card { padding: clamp(.8rem, 1.6vw, 1.1rem); }
.contact-dl { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-dl dt { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); margin-bottom: .25em; }
.contact-dl dd { margin: 0; font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-dl a { text-decoration: none; }
.contact-dl a:hover { text-decoration: underline; }

.map {
  position: relative; width: 100%; aspect-ratio: 4 / 3; min-height: 320px;
  border-radius: calc(var(--radius) - 6px); overflow: hidden; touch-action: none;
  cursor: grab; background: var(--olive-800);
}
.map:active { cursor: grabbing; }
.map-tiles { position: absolute; inset: 0; }
.map-tiles img { position: absolute; width: 256px; height: 256px; max-width: none; filter: var(--tile-filter); user-select: none; -webkit-user-drag: none; }
.map-marker {
  position: absolute; width: 30px; height: 30px; margin-left: -15px; margin-top: -28px; pointer-events: none;
}
.map-marker::before {
  content: ""; position: absolute; inset: 0; background: var(--amber);
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: 0 6px 14px -4px rgba(0,0,0,.6);
}
.map-marker::after {
  content: ""; position: absolute; left: 9px; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--olive-950);
}
.map-controls { position: absolute; right: .7rem; bottom: .7rem; display: flex; flex-direction: column; gap: .5rem; }
.map-controls button {
  width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--text);
  box-shadow: var(--shadow); font-size: 1.2rem; font-weight: 800; display: grid; place-items: center;
  border: 2px solid transparent; transition: border-color .2s ease;
}
.map-controls button:hover, .map-controls button:focus-visible { border-color: var(--amber); }
.map-attr {
  position: absolute; left: .5rem; bottom: .3rem; font-size: .68rem; color: var(--olive-50);
  background: rgba(20,22,10,.5); padding: .1em .5em; border-radius: 4px; pointer-events: none;
}

/* =========================================================
   Подвал
   ========================================================= */
.site-footer { background: var(--olive-950); color: var(--olive-100); padding: clamp(2.4rem, 5vw, 3.5rem) 0 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
.footer-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: var(--olive-200); font-weight: 600; font-size: .93rem; }
.footer-addr, .footer-credit { font-size: .88rem; color: var(--olive-300); width: 100%; }
.footer-credit a { color: var(--olive-200); }
.footer-inner .brand-text { color: var(--olive-50); }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-panel {
    display: none; order: 6; flex: 0 0 100%; width: 100%;
    flex-direction: column; align-items: flex-start; gap: 1rem;
    padding-top: .9rem; border-top: 1px solid var(--grid-line); margin-top: .5rem;
  }
  .nav-panel.open { display: flex; }
  .main-nav { flex-direction: column; gap: .9rem; width: 100%; }
  .hero-panel { flex-direction: column; align-items: flex-start; }
  .status-block { align-items: flex-start; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .header-inner { min-height: 60px; }
  .brand-text { display: none; }
  .stair .l2 { margin-left: .3rem; font-size: clamp(1.6rem, 7.6vw, 2.4rem); }
  .stair .l3 { margin-left: .5rem; font-size: clamp(1.9rem, 8.6vw, 3rem); }
}
