/* ==========================================================================
   МАЗ Центр Казахстан — КДМ на шасси МАЗ
   Разработано OG GROUP
   ========================================================================== */

/* ---------- Шрифты (локально, cyrillic + latin) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-cyrillic-0.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/oswald-cyrillic-2.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/oswald-latin-3.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Токены ---------- */
:root {
  --navy-900: #08182F;
  --navy-800: #0C2247;
  --navy-700: #10305F;
  --navy: #0F2C58;
  --navy-600: #1B4A94;
  --blue: #1F5FC0;

  --orange-700: #9E3C03;   /* текст/hover — 6.8:1 на белом */
  --orange: #C24A05;       /* заливка CTA — 4.9:1 с белым текстом */
  --orange-500: #F2690F;   /* только декор: линии, подчёркивания */
  --orange-300: #FF9450;
  --amber: #F0A500;

  --ink: #0E1116;
  --ink-2: #232A33;
  --muted: #57616D;
  --muted-2: #646E7A;
  --line: #E1E7EF;
  --line-2: #EDF1F6;
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --surface-2: #EDF1F6;

  --on-dark: #FFFFFF;
  --on-dark-muted: #B7C4D6;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --container: 1240px;
  --shadow-sm: 0 2px 8px rgba(10, 26, 51, .06);
  --shadow: 0 14px 40px rgba(10, 26, 51, .09);
  --shadow-lg: 0 26px 70px rgba(10, 26, 51, .16);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 88px;

  --hdr-h: 66px;
  --ease: cubic-bezier(.22, .68, .32, 1);
}

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

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, .num, .stat-val {
  font-family: 'Oswald', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: .005em;
}

h1 { font-size: clamp(34px, 7.2vw, 62px); line-height: 1.04; text-transform: uppercase; }
h2 { font-size: clamp(27px, 4.6vw, 44px); line-height: 1.08; text-transform: uppercase; }
h3 { font-size: clamp(18px, 2.4vw, 21px); line-height: 1.22; }

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .site-header :focus-visible, .footer :focus-visible {
  outline-color: var(--orange-300);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section { padding: var(--space-6) 0; }
.section--tight { padding: var(--space-5) 0; }
.section--dark {
  background: var(--navy-900);
  color: var(--on-dark);
}
.section--dark p { color: var(--on-dark-muted); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--orange);
  color: #fff;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- Заголовки секций ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-700);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 3px;
  border-radius: 99px;
  background: var(--orange);
}
.section--dark .eyebrow { color: var(--orange-300); }
.section--dark .eyebrow::before { background: var(--orange-300); }

.sec-head { margin-bottom: var(--space-4); }
.sec-head p {
  margin-top: 16px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 17px;
}
.sec-head--row { display: grid; gap: 20px; }

@media (min-width: 900px) {
  .sec-head--row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    align-items: end;
  }
  .sec-head--row p { margin-top: 0; }
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
    transform .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 26px rgba(194, 74, 5, .3);
}
.btn--primary:hover { background: var(--orange-700); }
.btn--primary:active { background: var(--orange-700); }

.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-900); }

.btn--ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .55); }

.btn--outline {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--navy); background: var(--surface-2); }

.btn--wa { background: #0E7A40; color: #fff; }
.btn--wa:hover { background: #0B6533; }

.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Шапка ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease),
    border-color .25s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(8, 24, 47, .94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: rgba(255, 255, 255, .1);
  box-shadow: 0 8px 30px rgba(8, 24, 47, .28);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(100% - 24px, var(--container));
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  color: #fff;
}
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand-name {
  white-space: nowrap;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.brand-sub {
  display: block;
  margin-top: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 22px; }
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 4px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: #D8E2EF;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 6px;
  height: 2px;
  background: var(--orange-500);
  transition: right .25s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { right: 0; }

.hdr-actions { display: flex; align-items: center; gap: 10px; }
.hdr-phone {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
}
.hdr-phone:hover { color: var(--orange-300); }

.hdr-call {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 11px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  transition: background-color .2s var(--ease);
}
.hdr-call:hover { background: rgba(255, 255, 255, .18); }
@media (min-width: 560px) { .hdr-call { display: none; } }
@media (max-width: 559px) { .hdr-actions .btn--primary { display: none; } }

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 11px;
  background: rgba(255, 255, 255, .07);
}
.burger span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: background-color .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* мобильное меню */
.mobile-menu {
  position: fixed;
  inset: var(--hdr-h) 0 0 0;
  z-index: 89;
  display: flex;
  flex-direction: column;
  padding: 22px 0 34px;
  background: var(--navy-900);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu ul { display: grid; gap: 2px; }
.mobile-menu a.m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 10px 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 21px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.mobile-menu a.m-link span { color: var(--orange-300); font-size: 13px; font-family: 'Inter', sans-serif; }
.mobile-menu .m-foot { margin-top: 26px; display: grid; gap: 12px; }
.mobile-menu .m-phone {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  color: #fff;
}
body.menu-open { overflow: hidden; }

@media (min-width: 1080px) {
  .nav { display: block; }
  .burger { display: none; }
  .hdr-phone { display: inline-flex; }
  .mobile-menu { display: none; }
}
@media (min-width: 620px) and (max-width: 1079px) {
  .hdr-phone { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--hdr-h) + 34px) 0 0;
  color: var(--on-dark);
  background:
    radial-gradient(90% 70% at 78% 8%, rgba(31, 95, 192, .40), transparent 62%),
    radial-gradient(70% 60% at 8% 96%, rgba(226, 87, 11, .26), transparent 60%),
    linear-gradient(168deg, #0C2247 0%, #08182F 62%, #061426 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    rgba(255, 255, 255, .05) 0 2px,
    transparent 2px 16px
  );
  opacity: .5;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid { display: grid; gap: 30px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 8px 15px 8px 11px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 99px;
  background: rgba(255, 255, 255, .07);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #37D67A;
  box-shadow: 0 0 0 4px rgba(55, 214, 122, .22);
}

.hero h1 { max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--orange-300); }
.hero-lead {
  margin: 20px 0 26px;
  max-width: 54ch;
  font-size: clamp(16px, 2.1vw, 19px);
  color: #C9D6E8;
}
.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: #93A6BF;
}
.hero-note a { white-space: nowrap; color: var(--orange-300); text-decoration: underline; text-underline-offset: 3px; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 99px;
  background: rgba(8, 24, 47, .82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px;
  font-weight: 600;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .12);
  border-radius: 0;
}
.hero-stats { background: none; }
.hero-stats li { padding: 20px 4px 22px; }
.hero-stats li:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}
.hero-stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
.stat-val {
  display: block;
  font-size: clamp(24px, 4.6vw, 34px);
  line-height: 1;
  color: #fff;
}
.stat-lbl {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  color: #9DB0C9;
}

@media (min-width: 860px) {
  .hero { padding-top: calc(var(--hdr-h) + 54px); }
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: 46px;
  }
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-stats li:nth-child(n+2) {
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, .14);
  }
  .hero-stats li:nth-child(n+3) { border-top: 0; }
}

/* ---------- Лента фактов ---------- */
.ticker {
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(8, 24, 47, .55);
  overflow: hidden;
}
.ticker ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 16px 0;
}
.ticker li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #C2D2E6;
  white-space: nowrap;
}
.ticker li svg { color: var(--orange-300); }

/* ---------- Карточки оснащения ---------- */
.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.eq-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.eq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #CBD7E7;
}
.eq-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-2); }
.eq-card .body { padding: 20px 20px 24px; }
.eq-card h3 { margin-bottom: 9px; }
.eq-card p { color: var(--muted); font-size: 15.5px; }
.eq-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: 99px;
  background: #FFF1E6;
  color: var(--orange-700);
  border: 1px solid #F7DCC8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Преимущества ---------- */
.adv {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 620px) { .adv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .adv { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.adv-item {
  position: relative;
  padding: 26px 22px 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  transition: border-color .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease);
}
.adv-item:hover { border-color: rgba(255, 148, 80, .55); transform: translateY(-3px); }
.num {
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--orange-300);
}
.adv-item h3 { margin-bottom: 10px; color: #fff; }
.adv-item p { font-size: 15.5px; color: #AEBFD5; }

.cta-band {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: linear-gradient(118deg, #8C3602 0%, var(--orange) 100%);
  color: #fff;
}
.cta-band h3 { font-size: clamp(20px, 3vw, 26px); text-transform: uppercase; }
.cta-band p { margin-top: 7px; color: rgba(255, 255, 255, .92) !important; font-size: 15.5px; }
.cta-band .btn { background: #fff; color: var(--orange-700); border-color: #fff; }
.cta-band .btn:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
@media (min-width: 860px) {
  .cta-band { grid-template-columns: minmax(0, 1fr) auto; padding: 30px 34px; }
}

/* ---------- Сезоны ---------- */
.seasons { display: grid; gap: 20px; }
@media (min-width: 900px) { .seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.season {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.season img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.season .body { padding: 24px 22px 26px; }
.season h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: clamp(20px, 3vw, 25px);
  text-transform: uppercase;
}
.season h3 svg { color: var(--orange); flex: none; }
.season--summer h3 svg { color: var(--amber); }
.season ul { display: grid; gap: 11px; }
.season li {
  display: flex;
  gap: 11px;
  font-size: 15.5px;
  color: var(--muted);
}
.season li svg { flex: none; margin-top: 3px; color: var(--orange); }

/* ---------- Кому подойдёт ---------- */
.aud {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 620px) { .aud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .aud { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.aud-item {
  display: flex;
  gap: 15px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.aud-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CBD7E7; }
.ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #EAF0FA;
  color: var(--navy-600);
}
.aud-item h3 { margin-bottom: 6px; font-size: 18px; }
.aud-item p { font-size: 15px; color: var(--muted); }

/* ---------- Галерея ---------- */
.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.gallery button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s var(--ease); }
.gallery button:hover { box-shadow: var(--shadow); }
.gallery button:hover img { transform: scale(1.06); }
.gallery button::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(8, 24, 47, .45));
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.gallery button:hover::after { opacity: 1; }

/* лайтбокс */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(4, 12, 24, .97);
  backdrop-filter: blur(8px);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(100%, 900px);
  max-height: calc(100vh - 130px);
  width: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  transition: background-color .2s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  padding: 7px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Сервис ---------- */
.srv {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 620px) { .srv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .srv { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.srv-item {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.srv-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.srv-item .ico { margin-bottom: 16px; background: #FFF1E6; color: var(--orange-700); }
.srv-item h3 { margin-bottom: 7px; font-size: 18px; }
.srv-item p { font-size: 15px; color: var(--muted); }

/* ---------- Наличие ---------- */
.stock { display: grid; gap: 26px; }
@media (min-width: 940px) {
  .stock { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: center; gap: 44px; }
}
.stock-list { display: grid; gap: 12px; margin-top: 26px; }
.stock-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.stock-list svg { flex: none; margin-top: 4px; color: var(--orange-300); }
.stock-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ---------- О компании ---------- */
.about { display: grid; gap: 30px; }
@media (min-width: 940px) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
}
.about p { color: var(--muted); font-size: 16.5px; }
.about p + p { margin-top: 14px; }
.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.about-facts li {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.about-facts b {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: var(--navy);
}
.about-facts span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--muted);
  border-bottom: 2.5px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq details[open] summary { color: var(--orange-700); }
.faq .ans { padding: 0 20px 20px; color: var(--muted); font-size: 15.5px; }

/* ---------- Форма ---------- */
.lead-wrap { display: grid; gap: 26px; }
@media (min-width: 980px) {
  .lead-wrap { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 46px; align-items: start; }
}
.lead-contacts { display: grid; gap: 12px; margin-top: 26px; }
.lead-contacts a, .lead-contacts .c-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  min-height: 60px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .05);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.lead-contacts a:hover { border-color: rgba(255, 148, 80, .6); background: rgba(255, 255, 255, .1); }
.lead-contacts .ico { width: 42px; height: 42px; background: rgba(255, 255, 255, .1); color: var(--orange-300); }
.lead-contacts b { display: block; font-size: 16.5px; color: #fff; font-weight: 600; }
.lead-contacts span { display: block; font-size: 13px; color: #93A6BF; }

.form-card {
  padding: 26px 22px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
@media (min-width: 620px) { .form-card { padding: 34px 32px 36px; } }
.form-card h3 { margin-bottom: 6px; font-size: clamp(20px, 3vw, 25px); text-transform: uppercase; }
.form-card > p { margin-bottom: 22px; color: var(--muted); font-size: 15px; }

.f-grid { display: grid; gap: 16px; }
@media (min-width: 620px) { .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.f-full { grid-column: 1 / -1; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.field label .req { color: var(--orange-700); }
.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: #FBFCFE;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 108px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9AA5B3; }
.field input:hover, .field textarea:hover { border-color: #C4D0E0; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(194, 74, 5, .18);
}
.field.has-error input, .field.has-error textarea { border-color: #C81E1E; background: #FFF6F6; }
.field.has-error input:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(200, 30, 30, .15); }
.err {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #B31717;
}
.field.has-error .err { display: block; }
.f-hint { margin-top: 4px; font-size: 12.5px; color: var(--muted-2); }

.f-consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.f-consent input {
  flex: none;
  width: 24px;
  height: 24px;
  min-height: 0;
  margin: 1px 0 0;
  accent-color: var(--orange);
  cursor: pointer;
}
.f-consent label { cursor: pointer; margin: 0; font-weight: 400; font-size: 13px; color: var(--muted); }
.f-consent.has-error label { color: #B31717; }

.form-actions { display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 620px) { .form-actions { grid-template-columns: 1.3fr 1fr; } }

.f-status {
  display: none;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #E9F8EF;
  border: 1px solid #B6E4C8;
  color: #14663A;
  font-size: 15px;
}
.f-status.is-visible { display: flex; }
.f-status svg { flex: none; margin-top: 2px; }

/* ---------- Футер ---------- */
.footer {
  padding: var(--space-5) 0 26px;
  background: #061426;
  color: var(--on-dark-muted);
  font-size: 14.5px;
}
.footer-top { display: grid; gap: 28px; padding-bottom: 30px; }
@media (min-width: 860px) {
  .footer-top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
}
.footer .brand { margin-right: 0; margin-bottom: 16px; }
.footer p { max-width: 42ch; color: #96A8C0; }
.footer h4 {
  margin: 0 0 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}
.footer-links { display: grid; gap: 0; }
.footer-links a, .footer-contacts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  color: #B7C4D6;
  transition: color .2s var(--ease);
}
.footer-links a:hover, .footer-contacts a:hover { color: var(--orange-300); }
.footer-contacts { display: grid; gap: 2px; }
.footer-contacts b { display: block; color: #fff; font-size: 17px; font-weight: 600; }
.footer-bottom {
  display: grid;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
  color: #7F91AA;
}
@media (min-width: 780px) {
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
}
.footer-bottom a { color: #B7C4D6; }
.footer-bottom a:hover { color: var(--orange-300); }
.og-credit { display: inline-flex; align-items: center; gap: 8px; }
.og-credit b { color: #fff; font-weight: 700; letter-spacing: .04em; }

/* ---------- WhatsApp виджет ---------- */
.wa-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 95;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .42);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
body.menu-open .wa-fab { opacity: 0; visibility: hidden; }
.wa-fab:hover { transform: scale(1.07); box-shadow: 0 14px 34px rgba(37, 211, 102, .55); }
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .6);
  animation: wa-pulse 2.6s var(--ease) infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
@media (min-width: 620px) { .wa-fab { right: 24px; bottom: 24px; width: 62px; height: 62px; } }

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

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

/* ---------- Мелкий адаптив ---------- */
@media (max-width: 400px) {
  .container { width: min(100% - 24px, var(--container)); }
  .btn { padding: 12px 18px; font-size: 15px; }
  .btn-row .btn { width: 100%; }
  .hero-stats li + li { padding-left: 12px; }
}
