﻿/* =============================================
   АЛЬ-ТЕМИР — Главный стиль
   Палитра: тёмный header/footer, светлый контент
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --black:       #0D0D0D;
  --steel-dark:  #1A1C22;
  --steel-mid:   #2C2F3A;
  --steel-line:  #3A3D4A;
  --orange:      #16A34A;
  --orange-dark: #15803D;
  --silver:      #A8AAAF;
  --light-bg:    #F4F5F7;
  --white:       #FFFFFF;
  --text-main:   #1A1C22;
  --text-muted:  #6B7280;
  --border:      #E5E7EB;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --transition: 0.22s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── КОНТЕЙНЕР ── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   ШАПКА / HEADER
   ============================================= */
.site-header {
  background: var(--steel-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--orange);
}

.header-top {
  background: var(--black);
  padding: 8px 0;
  font-size: 13px;
  color: var(--silver);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.header-contacts-line {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-contacts-line a {
  color: var(--silver);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-contacts-line a:hover { color: var(--orange); }

.header-main {
  padding: 14px 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}

.logo-svg {
  height: 52px;
  width: 52px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
}

.logo-tagline {
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Навигация */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: var(--silver);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: var(--steel-mid);
}

.main-nav a.active { color: var(--orange); }

/* Правая часть шапки */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Переключатель языка */
.lang-switcher {
  display: flex;
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.lang-switcher button {
  background: none;
  border: none;
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.lang-switcher button.active {
  background: var(--orange);
  color: var(--white);
}

.btn-call {
  background: var(--orange);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-call:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

/* Бургер-меню */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Анимация бургера в крестик */
.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   КНОПКИ
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,92,246,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border);
}

.btn-outline-dark:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--light-bg);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* =============================================
   HERO — ГЛАВНЫЙ ЭКРАН
   ============================================= */
.hero {
  background: var(--steel-dark);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 40px,
      rgba(139,92,246,0.03) 40px,
      rgba(139,92,246,0.03) 41px
    );
  pointer-events: none;
}

.hero-accent-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.3);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 86px);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-title .accent { color: var(--orange); }

.hero-subtitle {
  font-size: 17px;
  color: var(--silver);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--steel-line);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--orange);
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--silver);
  margin-top: 4px;
  line-height: 1.4;
}

/* Hero визуал */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-inner {
  background: var(--steel-mid);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  position: relative;
}

.hero-visual-inner::before {
  content: '';
  position: absolute;
  top: -2px; left: 40px; right: 40px;
  height: 2px;
  background: var(--orange);
  border-radius: 0 0 2px 2px;
}

.products-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-pill {
  background: var(--steel-dark);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color var(--transition);
}

.product-pill:hover { border-color: var(--orange); }

.product-pill-icon {
  width: 32px;
  height: 32px;
  background: rgba(139,92,246,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-pill-icon svg { width: 16px; height: 16px; fill: var(--orange); }

.product-pill-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

/* =============================================
   СЕКЦИИ — ОБЩИЕ
   ============================================= */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--light-bg);
}

.section-dark {
  background: var(--steel-dark);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: 1px;
  line-height: 1.05;
  color: var(--text-main);
}

.section-dark .section-title { color: var(--white); }

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-dark .section-desc { color: var(--silver); }

/* =============================================
   КАТАЛОГ — КАРТОЧКИ ТОВАРОВ
   ============================================= */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--orange);
}

.product-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--steel-dark), var(--steel-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card-img svg {
  width: 64px;
  height: 64px;
  opacity: 0.3;
  fill: var(--white);
}

.product-card-img .product-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.product-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}

.product-card-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.size-tag {
  background: var(--light-bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 13px;
  color: var(--text-muted);
}

.product-price strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
}

/* =============================================
   ПРЕИМУЩЕСТВА
   ============================================= */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.adv-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--steel-mid);
  border: 1px solid var(--steel-line);
  transition: border-color var(--transition);
}

.adv-card:hover { border-color: var(--orange); }

.adv-icon {
  width: 52px;
  height: 52px;
  background: rgba(139,92,246,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.adv-icon svg { width: 26px; height: 26px; stroke: var(--orange); fill: none; stroke-width: 2; }

.adv-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 10px;
}

.adv-text {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.6;
}

/* =============================================
   СЧЁТЧИКИ
   ============================================= */
.counters-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--steel-line);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.counter-item {
  background: var(--steel-dark);
  padding: 40px 32px;
  text-align: center;
}

.counter-num {
  font-family: var(--font-display);
  font-size: 60px;
  letter-spacing: 2px;
  color: var(--orange);
  line-height: 1;
}

.counter-label {
  font-size: 14px;
  color: var(--silver);
  margin-top: 8px;
  line-height: 1.4;
}

/* =============================================
   CTA БАННЕР
   ============================================= */
.cta-banner {
  background: var(--orange);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 30px,
    rgba(0,0,0,0.06) 30px,
    rgba(0,0,0,0.06) 31px
  );
}

.cta-banner .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner-text .section-title {
  color: var(--white);
  text-align: left;
}

.cta-banner-text p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin-top: 10px;
}

.cta-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--black);
  color: var(--silver);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo-name { font-size: 32px; }
.footer-brand .logo-tagline { margin-bottom: 20px; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--silver);
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  transition: all var(--transition);
}

.social-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.social-btn svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--silver);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--orange); }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--orange);
  fill: none;
}

.footer-contact-item a { color: var(--silver); }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--steel-line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  gap: 16px;
}

.footer-bottom a { color: var(--silver); }
.footer-bottom a:hover { color: var(--orange); }

/* =============================================
   WHATSAPP FLOAT BUTTON
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}

.wa-float svg { width: 30px; height: 30px; fill: white; }

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumbs {
  background: var(--light-bg);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumbs-list a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumbs-list a:hover { color: var(--orange); }
.breadcrumbs-list .sep { color: var(--border); }
.breadcrumbs-list .current { color: var(--text-main); font-weight: 500; }

/* =============================================
   ФОРМА ЗАЯВКИ
   ============================================= */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-main);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.12);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* =============================================
   ТАБЛИЦА РАЗМЕРОВ
   ============================================= */
.sizes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sizes-table th {
  background: var(--steel-dark);
  color: var(--silver);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  text-align: left;
}

.sizes-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
}

.sizes-table tr:last-child td { border-bottom: none; }
.sizes-table tr:hover td { background: var(--light-bg); }

.sizes-table .price-col {
  font-weight: 700;
  color: var(--orange);
}

/* =============================================
   PAGE HERO (внутренние страницы)
   ============================================= */
.page-hero {
  background: var(--steel-dark);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 40px,
    rgba(139,92,246,0.03) 40px,
    rgba(139,92,246,0.03) 41px
  );
  pointer-events: none;
}

.page-hero-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
}

.page-hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 70px);
  letter-spacing: 2px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero h1 span { color: var(--orange); }

.page-hero p {
  font-size: 17px;
  color: var(--silver);
  line-height: 1.65;
  max-width: 600px;
}

/* =============================================
   КАРТОЧКИ УСЛУГ
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
  transform: translateY(-4px);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(139,92,246,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card-icon svg { width: 28px; height: 28px; stroke: var(--orange); fill: none; stroke-width: 2; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--text-main);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================
   БЛОГ
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--orange);
}

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--steel-dark), var(--steel-mid));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-img svg { width: 56px; height: 56px; stroke: var(--orange); fill: none; stroke-width: 1.5; opacity: 0.6; }

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}

.blog-card-meta span { color: var(--orange); font-weight: 600; }

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.2;
}

.blog-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.blog-card a.read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card a.read-more:hover { gap: 10px; }

/* =============================================
   КОНТАКТЫ
   ============================================= */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--steel-dark);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 28px;
  color: var(--white);
}

.contact-info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info-row-icon {
  width: 44px;
  height: 44px;
  background: rgba(139,92,246,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-row-icon svg { width: 20px; height: 20px; stroke: var(--orange); fill: none; stroke-width: 2; }

.contact-info-row-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--silver);
  margin-bottom: 4px;
}

.contact-info-row-value {
  font-size: 15px;
  color: var(--white);
  line-height: 1.5;
}

.contact-info-row-value a { color: var(--white); transition: color var(--transition); }
.contact-info-row-value a:hover { color: var(--orange); }

.map-placeholder {
  background: var(--steel-mid);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--silver);
  font-size: 14px;
}

.map-placeholder svg { width: 40px; height: 40px; stroke: var(--orange); fill: none; stroke-width: 1.5; }

/* =============================================
   ПРАЙС СТРАНИЦА
   ============================================= */
.price-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.price-table-head {
  background: var(--steel-dark);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.price-table-head h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--white);
}

/* =============================================
   АДАПТИВ
   ============================================= */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .counters-row { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .btn-call span { display: none; }
  .btn-call { padding: 10px 12px; gap: 0; min-width: 0; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--steel-dark);
    padding: 16px;
    gap: 4px;
    border-top: 2px solid var(--orange);
    z-index: 100;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  }
  .main-nav.open a {
    padding: 12px 16px;
    border-radius: var(--radius);
  }
  .burger { display: flex; }
  .header-main { position: relative; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner .container { flex-direction: column; text-align: center; }
  .cta-banner-text .section-title { text-align: center; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 32px; }
  .counters-row { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: clamp(32px, 10vw, 52px); }
  .hero-subtitle { font-size: 15px; }
  .hero-cta { flex-wrap: wrap; }
  .hero-cta .btn { flex: 1 1 140px; justify-content: center; }
}

@media (max-width: 480px) {
  .header-contacts-line { display: none; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
  .counters-row { grid-template-columns: 1fr 1fr; }
  .counter-num { font-size: 42px; }
  .hero-title { font-size: clamp(28px, 9vw, 42px); letter-spacing: 1px; }
}

/* =============================================
   АНИМАЦИИ
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }


/* =============================================
   TRUCK VERTICAL SCROLL ANIMATION
   ============================================= */
.truck-lane {
  position: fixed;
  right: 0;
  top: 0;
  width: 84px;
  height: 100%;
  pointer-events: none;
  z-index: 98;
  overflow: hidden;
}

.truck-road {
  position: absolute;
  right: 9px;
  top: 0;
  width: 5px;
  height: 100%;
  background: #0d1117;
  border-left: 1px solid #1e2533;
  border-right: 1px solid #1e2533;
}

.road-edge { display: none; }

.road-stripes {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.22) 0px,
    rgba(255,255,255,0.22) 14px,
    transparent 14px,
    transparent 28px
  );
  background-size: 100% 28px;
  animation: road-v 0.55s linear infinite paused;
}

@keyframes road-v {
  from { background-position: 0 0; }
  to   { background-position: 0 28px; }
}

/* truck-wrap top is controlled by JS */
.truck-wrap {
  position: absolute;
  right: 0;
  top: -260px;
  width: 84px;
}

/* SVG is drawn horizontally (240×76).
   Rotated −90°CCW → visually 76px wide × 240px tall, front faces UP.
   Center the visual 76px width in the 84px lane:
   SVG DOM center at (120, 38) must be at (42, 38) in truck-wrap space.
   → left = 42 − 120 = −78px */
.truck-svg {
  display: block;
  width: 240px;
  height: 76px;
  position: absolute;
  left: -78px;
  top: 0;
  transform: rotate(-90deg);
  transform-origin: 120px 38px;
  filter: drop-shadow(4px 0 10px rgba(0,0,0,0.55));
}

/* Headlight beam (points upward after −90° rotation) */
.truck-wrap::after {
  content: '';
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 60px;
  background: linear-gradient(to top, rgba(253,224,71,0.18) 0%, transparent 100%);
  clip-path: polygon(20% 100%, 80% 100%, 100% 0%, 0% 0%);
  opacity: 0;
  transition: opacity 0.15s;
}
.is-moving .truck-wrap::after { opacity: 1; }

/* Exhaust smoke — after −90°CCW the stack faces RIGHT, smoke drifts right */
.truck-smoke {
  position: absolute;
  bottom: 4px;
  right: 2px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.truck-smoke span {
  width: 6px;
  height: 6px;
  background: rgba(150,150,150,0.5);
  border-radius: 50%;
  animation: puff-v 0.7s ease-out infinite paused;
}
.truck-smoke span:nth-child(2) { animation-delay: 0.23s; width: 5px; height: 5px; }
.truck-smoke span:nth-child(3) { animation-delay: 0.46s; width: 4px; height: 4px; }

@keyframes puff-v {
  0%   { transform: translateX(0) scale(1);    opacity: 0.55; }
  100% { transform: translateX(18px) scale(1.7); opacity: 0; }
}

/* Wheel spin — transform-box: fill-box + 50% 50% centers on each wheel */
.wheel-g {
  animation: wheel-spin 0.5s linear infinite paused;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}
@keyframes wheel-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.is-moving .wheel-g          { animation-play-state: running; }
.is-moving .road-stripes     { animation-play-state: running; }
.is-moving .truck-smoke span { animation-play-state: running; }

/* Hide on small screens */
@media (max-width: 640px) { .truck-lane { display: none; } }
