/*
 * PalletTorg-DV — Light Theme v2
 * Design reference: sample1_light.html
 * Palette: zinc-* + orange-600 (#ea580c)
 */

/* ═══════════════════════════════════════════════════
   ШРИФТ MANROPE (самохостинг, без Google Fonts)
═══════════════════════════════════════════════════ */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/theme/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/theme/fonts/manrope-latin.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;
}

/* ═══════════════════════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════════════════════ */
:root {
  --orange:       #ea580c;  /* orange-600 */
  --orange-hover: #c2410c;  /* orange-700 */
  --orange-light: #fff7ed;  /* orange-50  */

  --zinc-50:  #fafafa;
  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-700: #3f3f46;
  --zinc-800: #27272a;
  --zinc-900: #18181b;
  --zinc-950: #09090b;
  --white:    #ffffff;

  --font-body:    'Manrope', -apple-system, sans-serif;
  --font-heading: 'Manrope', -apple-system, sans-serif;

  --radius-sm:  0.5rem;   /* 8px  */
  --radius-md:  1rem;     /* 16px */
  --radius-lg:  1.5rem;   /* 24px */
  --radius-xl:  2rem;     /* 32px */
  --radius-full:9999px;

  --shadow-sm:  0 1px 3px 0 rgba(0,0,0,.08), 0 1px 2px -1px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px 0 rgba(0,0,0,.10);
  --shadow-lg:  0 10px 40px 0 rgba(0,0,0,.14);

  --max-w: 80rem;   /* 1280px  — Tailwind max-w-7xl */
  --px:    1.5rem;  /* px-6    */
}

/* ═══════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--zinc-50);
  color: var(--zinc-900);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ═══════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════ */
.heading-font { font-family: var(--font-heading); letter-spacing: -0.03em; }

h1 { line-height: 1.05; letter-spacing: -0.02em; }
h2 { line-height: 1.1;  letter-spacing: -0.01em; }
h3 { line-height: 1.25; }

/* ═══════════════════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary {
  background: var(--white);
  color: var(--zinc-900);
}
.btn-primary:hover { background: var(--zinc-100); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover { background: rgba(255,255,255,.1); }

.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-orange:hover { background: var(--orange-hover); border-color: var(--orange-hover); }

/* ═══════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 4px 0 rgba(0,0,0,.09);
}
.header-container {
  max-width: 88rem;
  margin: 0 auto;
  padding: 1rem var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 106px;
}

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
  height: 84px;
  width: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 480px) { .logo-img { height: 56px; } }
@media (max-width: 767px) { .header-container { min-height: 84px; padding: 0.7rem var(--px); } .logo-img { height: 60px; } }

/* Main Nav */
.main-nav { display: none; }
@media (min-width: 768px) {
  .main-nav { display: flex; flex: 1; justify-content: center; }
}
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0; padding: 0;
}
@media (min-width: 768px) and (max-width: 1100px) {
  .main-nav__list { gap: 1rem; }
}
.main-nav__list li a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--zinc-700);
  letter-spacing: -0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}
@media (min-width: 768px) and (max-width: 1100px) {
  .main-nav__list li a { font-size: 0.875rem; }
}
.main-nav__list li a:hover,
.main-nav__list li.active > a { color: var(--orange); }

/* Header right */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.header-contacts {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}
@media (min-width: 1100px) { .header-contacts { display: flex; } }

.header-phones-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.header-phone {
  display: none;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--zinc-900);
  white-space: nowrap;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
@media (min-width: 1100px) { .header-phone { display: flex; } }
.header-phone a { color: inherit; }
.header-phone a:hover { color: var(--orange); }
.header-phone span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--zinc-400);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Кнопка чата в MAX под телефоном */
.header-max {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--orange);
  background: rgba(234,88,12,.08);
  border: 1px solid rgba(234,88,12,.3);
  border-radius: 0.4rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.header-max:hover {
  background: var(--orange);
  color: #fff;
}

/* Большой email — справа на месте кнопки прайс */
.header-email-big {
  display: none;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--zinc-900);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}
.header-email-big:hover { color: var(--orange); }
@media (min-width: 1100px) { .header-email-big { display: inline-block; } }

.header-email { display: none !important; }

.header-cta {
  display: none;
  background: var(--orange);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: 0.625rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  letter-spacing: -0.01em;
  text-decoration: none;
}
@media (min-width: 900px) { .header-cta { display: inline-block; } }
.header-cta:hover { background: var(--orange-hover); transform: translateY(-1px); }

/* Burger */
.menu-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px; flex-shrink: 0;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--zinc-900);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
@media (min-width: 768px) { .menu-toggle { display: none; } }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed; inset: 0;
  background: var(--white); z-index: 100;
  padding: 2rem var(--px);
  flex-direction: column; gap: 1.5rem;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav__close {
  align-self: flex-end;
  background: none; border: none; font-size: 1.5rem; cursor: pointer;
  color: var(--zinc-700);
}
.mobile-nav__list { list-style: none; }
.mobile-nav__list li { border-bottom: 1px solid var(--zinc-100); }
.mobile-nav__list li a {
  display: block; padding: 1rem 0;
  font-size: 1.125rem; font-weight: 500; color: var(--zinc-900);
}

/* Catalog mega menu */
.catalog-mega {
  position: fixed; inset: 0; z-index: 80;
  display: none;
  align-items: flex-start; justify-content: center;
  padding: 0 1rem 2rem;
}
.catalog-mega.is-open { display: flex; }
.catalog-mega__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
}
.catalog-mega__panel {
  position: relative;
  margin-top: 5.5rem;
  width: min(64rem, 100%);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
  padding: 2rem 2.25rem 2.5rem;
  border: none;
}
.catalog-mega__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--zinc-100);
}
.catalog-mega__label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--zinc-500);
  font-weight: 600;
  margin: 0;
}
.catalog-mega__close {
  background: none;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  color: var(--zinc-700);
  font-size: 0.85rem;
  line-height: 1;
  transition: border-color 0.18s, color 0.18s;
}
.catalog-mega__close:hover { border-color: var(--orange); color: var(--orange); }

.catalog-mega__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2.5rem 2.25rem;
}
@media (max-width: 800px) {
  .catalog-mega__grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; }
}
@media (max-width: 500px) {
  .catalog-mega__grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

.catalog-mega__col {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: none;
}
.catalog-mega__col:hover {
  border: none;
  box-shadow: none;
  transform: none;
}

.catalog-mega__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--zinc-900);
  text-decoration: none;
  line-height: 1.25;
  margin-bottom: 0.35rem;
  transition: color 0.18s;
}
.catalog-mega__title:hover { color: var(--orange); }

.catalog-mega__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}
.catalog-mega__list a {
  color: var(--zinc-700);
  font-size: 0.95rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.18s;
}
.catalog-mega__list a:hover { color: var(--orange); }

.catalog-mega__note {
  color: var(--zinc-500);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}
.catalog-mega__more {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--zinc-900);
  text-decoration: none;
  margin-top: 0.35rem;
  transition: color 0.18s;
}
.catalog-mega__more:hover { color: var(--orange); }

@media (max-width: 767px) {
  .catalog-mega { padding: 0 0.5rem 1rem; }
  .catalog-mega__panel {
    margin-top: 4.5rem;
    padding: 1rem;
    max-height: calc(100vh - 5.25rem);
    overflow-y: auto;
  }
  .catalog-mega__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Аккордеон каталога */
  .catalog-mega__col {
    border-bottom: 1px solid var(--zinc-100);
    gap: 0;
  }
  .catalog-mega__col:last-child { border-bottom: none; }

  .catalog-mega__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    font-size: 1rem;
    margin-bottom: 0;
  }
  .catalog-mega__title::after {
    content: '›';
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--zinc-400);
    transition: transform 0.22s;
    flex-shrink: 0;
    margin-left: 0.5rem;
  }
  .catalog-mega__col--has-list .catalog-mega__title::after {
    content: '▾';
    font-size: 1rem;
  }
  .catalog-mega__col--has-list.is-open .catalog-mega__title::after {
    transform: rotate(180deg);
  }

  .catalog-mega__col--has-list .catalog-mega__list,
  .catalog-mega__col--has-list .catalog-mega__more {
    display: none;
  }
  .catalog-mega__col--has-list.is-open .catalog-mega__list {
    display: flex;
    padding-bottom: 0.75rem;
  }
  .catalog-mega__col--has-list.is-open .catalog-mega__more {
    display: inline-block;
    padding-bottom: 0.75rem;
  }

  .catalog-mega__note { margin: 0 0 0.35rem; padding-bottom: 0; }
  .catalog-mega__more { padding-bottom: 0.9rem; margin-top: 0; }
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 767px) {
  .hero-bg { object-position: 45% 35%; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.60) 0%,
      rgba(0,0,0,.52) 8%,
      rgba(0,0,0,.38) 18%,
      rgba(0,0,0,.20) 30%,
      rgba(0,0,0,.06) 42%,
      rgba(0,0,0,0)   55%),
    linear-gradient(180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0) 65%,
      rgba(0,0,0,.18) 100%);
}

.hero-section--rich .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 0;
}
.hero-content {
  position: relative; z-index: 1;
  color: var(--white);
  max-width: 38rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 86vh;
  padding: 4rem 0 3.5rem;
  gap: 0;
}
.hero-content > * { margin: 0; position: relative; z-index: 1; }
.hero-top { display: flex; flex-direction: column; margin-bottom: auto; }
.hero-eyebrow { margin-bottom: 0.75rem; }
.hero-content h1 { margin-bottom: 0; }
.hero-bottom { display: flex; flex-direction: column; }
.hero-subtitle { margin-bottom: 1.5rem; }

.hero-content::before {
  content: "";
  position: absolute;
  inset: -1.5rem -3rem -1.5rem -2rem;
  z-index: 0;
  background: radial-gradient(
    ellipse at 35% 50%,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.35) 40%,
    rgba(0,0,0,.15) 70%,
    rgba(0,0,0,0) 100%
  );
  filter: blur(8px);
  pointer-events: none;
}
@media (max-width: 767px) {
  .hero-content::before { display: none; }

  .hero-section { min-height: 100svh; align-items: stretch; }

  .hero-layout {
    min-height: 100svh;
    align-items: stretch !important;
    display: flex !important;
    flex-direction: column;
  }

  .hero-content {
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    padding: 5.5rem 1.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 0;
    box-sizing: border-box;
  }

  .hero-top { width: 100%; align-items: center; gap: 0.75rem; }
  .hero-eyebrow { align-self: center; font-size: 0.65rem; padding: 0.4rem 0.75rem; }
  .hero-content h1 { font-size: clamp(1.875rem, 9vw, 2.5rem); text-align: center; line-height: 1.1; }

  .hero-bottom { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
  .hero-subtitle { font-size: 0.875rem; text-align: center; margin-bottom: 0; max-width: 26rem; }

  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(15,17,21,.55) 0%,
      rgba(15,17,21,.32) 20%,
      rgba(15,17,21,.34) 40%,
      rgba(15,17,21,.58) 56%,
      rgba(15,17,21,.80) 74%,
      rgba(15,17,21,.93) 100%);
  }

  .hero-facts {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 0.625rem;
    width: 100%;
    margin: 0;
    flex-wrap: nowrap;
  }
  .hero-fact { flex: 0 0 calc(50% - 0.3125rem); max-width: 11rem; text-align: center; width: 100%; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  border: none;
  border-radius: 0.4rem;
  padding: 0.45rem 0.85rem;
  box-shadow: 0 4px 16px rgba(234,88,12,.35);
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero-nowrap { white-space: nowrap; }
.hero-accent {
  display: block;
  color: var(--orange);
}
.hero-subtitle {
  font-size: clamp(0.975rem, 1.5vw, 1.125rem);
  opacity: 0.92;
  max-width: 34rem;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
  color: rgba(255,255,255,.94);
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  margin-bottom: 3rem;
}
.btn--hero {
  padding: 1.125rem 2.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  border-radius: var(--radius-xl);
  letter-spacing: 0.01em;
}
.btn--hero-outline {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn--hero-outline:hover { background: rgba(255,255,255,.2); }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.625rem;
  max-width: 36rem;
  width: 100%;
  margin-top: 0.5rem;
}
@media (max-width: 600px) {
  .hero-facts { gap: 0.5rem; }
}
.hero-fact {
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
  flex: 1 1 9rem;
  min-width: 9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-fact strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: var(--white);
}
.hero-fact span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255,255,255,.75);
}
.hero-panel {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.92);
  color: var(--zinc-900);
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.65);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}
.hero-panel__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zinc-500);
  margin-bottom: 1rem;
}
.hero-theses {
  display: block;
}
.hero-thesis {
  padding: 1.1rem 1.1rem 1.05rem;
  border-radius: 1.35rem;
  background: linear-gradient(180deg, #fff 0%, #fff8f1 100%);
  border: 1px solid #fed7aa;
}
.hero-thesis strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.hero-thesis p {
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--zinc-700);
}
.hero-panel .owl-dots {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 1rem;
}
.hero-panel .owl-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--zinc-200);
}
.hero-panel .owl-dot.active { background: var(--orange); }
.hero-panel__note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--zinc-200);
}
.hero-panel__note span {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.45rem;
}
.hero-panel__note p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--zinc-700);
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }
  .hero-facts {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   PARTNERS STRIP
═══════════════════════════════════════════════════ */
.partners-strip {
  padding: 4rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--zinc-100);
}
.partners-strip .section-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--zinc-400);
  margin-bottom: 2.5rem;
}

/* Marquee-трек */
.partners-marquee {
  overflow: hidden;
  position: relative;
  /* фиксированная высота предотвращает layout-shift при загрузке лого */
  min-height: 8rem;
}
.partners-marquee::before,
.partners-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 8rem;
  z-index: 2;
  pointer-events: none;
}
.partners-marquee::before { left: 0;  background: linear-gradient(to right, var(--white) 30%, transparent); }
.partners-marquee::after  { right: 0; background: linear-gradient(to left,  var(--white) 30%, transparent); }

.partners-track {
  display: flex;
  align-items: center;
  gap: 3.75rem;
  width: max-content;
  /* GPU-слой для плавности */
  will-change: transform;
  transform: translateZ(0);
  /* анимация стартует только после js-класса .is-ready */
  animation: none;
}
.partners-marquee.is-ready .partners-track {
  animation: marquee 40s linear infinite;
}
.partners-marquee.is-ready .partners-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0%   { transform: translateZ(0) translateX(0); }
  100% { transform: translateZ(0) translateX(-50%); }
}

/* Static 2-row grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: center;
  justify-items: center;
  gap: 2rem 2.5rem;
  padding: 1rem 0;
}
@media (max-width: 1100px) {
  .partners-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1.5rem; }
}
@media (max-width: 600px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
.partners-grid .partner { display: flex; align-items: center; justify-content: center; }

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}
/* Единая высота, ширина — по контенту → ровные зазоры, без наложений.
   Размер задаётся ТОЛЬКО через max-height/max-width (учитывается в раскладке),
   никаких transform:scale — они вызывали перекрытие логотипов. */
/* Высота задаётся РОДИТЕЛЕМ (.partner), лого тянется на 100% высоты.
   Так iOS Safari корректно масштабирует SVG (с max-height был баг — SVG
   игнорировал ограничение и вылезал на соседей). */
.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 5rem;
  overflow: hidden;
}
.partners-logos img,
.partner__logo {
  height: 100%;
  width: auto;
  max-width: 15rem;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.25s;
}
/* Оптическое выравнивание: широким словесным лого занижаем высоту,
   чтобы по визуальному «весу» совпадали с компактными значками.
   Высота в % от контейнера — iOS Safari считает корректно. */
.partner__logo[src*="cola"],
.partner__logo[src*="dns"],
.partner__logo[src*="iteco"],
.partner__logo[src*="pepsico"],
.partner__logo[src*="ozon"],
.partner__logo[src*="delco"] { height: 72%; }
.partner__logo[src*="wildberries"] { height: 64%; }
.partner__logo[src*="baikalsr"] { height: 82%; }
.partner__logo[src*="dellin"] { height: 62%; max-width: 13rem; }
.partner__logo:hover { transform: scale(1.04); }

/* ═══════════════════════════════════════════════════
   SERVICES SECTION (light grey bg)
═══════════════════════════════════════════════════ */
/* ── Stats strip ─────────────────────────────────────────── */
.stats-strip {
  background: var(--zinc-900);
  padding: 3.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
  text-align: center;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.stat-item {
  padding: 1rem;
  position: relative;
}
@media (min-width: 640px) {
  .stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(255,255,255,.12);
  }
}
.stat-item__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.stat-item__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.03em;
  line-height: 1.4;
  max-width: 10rem;
  margin: 0 auto;
}

.services-section-v2 {
  padding: 5rem 0;
  background: var(--white);
}
@media (min-width: 768px) { .services-section-v2 { padding: 6.5rem 0; } }
.section-title-v2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--zinc-900);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  text-align: center;
  margin-bottom: 0.875rem;
}
.about-split__text .section-eyebrow { text-align: left; }
@media (min-width: 768px) { .section-title-v2 { margin-bottom: 3.5rem; } }
/* ── Services accordion grid ─────────────────────────────── */
.services-accordion-grid {
  display: grid;
  gap: 0.625rem;
}
@media (min-width: 640px)  { .services-accordion-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-accordion-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.service-accordion {
  background: var(--white);
  border: 1.5px solid var(--zinc-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-accordion[open] {
  border-color: var(--orange);
  box-shadow: 0 6px 20px rgba(234,88,12,.1);
  grid-column: 1 / -1;  /* expand full width when open */
}

.service-accordion__title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1.125rem 1.25rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--zinc-800);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.15s;
}
.service-accordion__title::-webkit-details-marker { display: none; }
.service-accordion__title::marker { display: none; }
.service-accordion:hover .service-accordion__title,
.service-accordion[open]  .service-accordion__title { color: var(--orange); }

.service-accordion__arrow {
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.25s;
  display: inline-block;
}
.service-accordion[open] .service-accordion__arrow { transform: rotate(90deg); }

.service-accordion__body {
  padding: 1.125rem 1.25rem 1.25rem;
  border-top: 1px solid var(--zinc-100);
  background: var(--orange-light);
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
.service-accordion__text {
  font-size: 1.0625rem;
  color: var(--zinc-700);
  line-height: 1.75;
  margin: 0;
  max-width: 64ch;          /* комфортная длина строки */
  /* выравнивание по ширине + переносы → ровный край, видимые переносы */
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -webkit-hyphenate-limit-before: 2;
  -webkit-hyphenate-limit-after: 2;
  hyphenate-limit-chars: 5 2 2;  /* слово ≥5, ≥2 буквы по краям */
  overflow-wrap: break-word;
}
/* На мобиле текст всегда на всю ширину — justify работает корректно */
@media (max-width: 767px) {
  .service-accordion__text { max-width: 100%; }
}
/* Маркированный список перечислений в аккордеоне */
.service-accordion__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-accordion__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.0625rem;
  color: var(--zinc-700);
  line-height: 1.5;
}
.service-accordion__list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
/* У пунктов с готовым списком прячем авто-текст из БД */
.service-accordion.has-custom .service-accordion__text--auto { display: none; }

/* На десктопе раскрытый блок — текст слева, кнопка справа: заполняем ширину.
   Только для обычных пунктов (без списка) */
@media (min-width: 1024px) {
  .service-accordion[open]:not(.has-custom) .service-accordion__body {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    padding: 1.5rem 1.75rem;
  }
  .service-accordion[open]:not(.has-custom) .service-accordion__text { flex: 1; }
  .service-accordion[open]:not(.has-custom) .service-accordion__link { flex-shrink: 0; }
}
.service-accordion__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--orange);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.18s;
}
.service-accordion__link:hover { background: var(--orange-hover); text-decoration: none; }

.services-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--zinc-500);
  line-height: 1.7;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--zinc-300);
}

/* Quote block — accent style */
.services-quote {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  position: relative;
  border-top: 4px solid var(--orange);
}
.services-quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--orange);
  opacity: 0.12;
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  line-height: 1;
  pointer-events: none;
}
.services-quote p {
  font-style: italic;
  color: var(--zinc-700);
  font-size: 1.0625rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════
   CATALOG SECTION (cards)
═══════════════════════════════════════════════════ */
.catalog-section-v2 {
  padding: 5rem 0;
  background: var(--zinc-50);
}
@media (min-width: 768px) { .catalog-section-v2 { padding: 6.5rem 0; } }
.catalog-grid-v2 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .catalog-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .catalog-grid-v2 { grid-template-columns: 1fr; }
}
.catalog-card-v2 {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--zinc-50);
  border: 1px solid var(--zinc-200);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
}
.catalog-card-v2:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.catalog-card-v2 .card-img {
  height: 220px; overflow: hidden; position: relative;
}
.catalog-card-v2 .card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(234,88,12,0.06) 0%, rgba(15,23,42,0.38) 100%);
  pointer-events: none;
  z-index: 1;
}
.catalog-card-v2 .card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
  filter: brightness(0.9) contrast(1.06) saturate(1.1);
}
.catalog-card-v2:hover .card-img img { transform: scale(1.04); }
.catalog-card-v2 .card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.catalog-card-v2 .card-body h3 {
  font-size: 1.125rem; font-weight: 600; color: var(--zinc-900);
}
.catalog-card-v2 .card-body p {
  font-size: 0.9375rem; color: var(--zinc-500); flex: 1;
}
.catalog-card-v2 .card-link {
  font-size: 0.875rem; font-weight: 600;
  color: var(--orange);
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.catalog-card-v2 .card-link:hover { color: var(--orange-hover); }

/* ═══════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════ */
.about-section-v2 {
  padding: 5rem 0;
  background: var(--white);
}
@media (min-width: 768px) { .about-section-v2 { padding: 7rem 0; } }
/* ── About split layout ──────────────────────────────────── */
.about-split {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-split { grid-template-columns: 1fr 1fr; }
}

.about-split__h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--zinc-900);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.about-split__lead {
  font-size: 1.125rem;
  color: var(--zinc-600);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.about-split__list {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.about-split__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--zinc-700);
  line-height: 1.5;
}
.about-split__list li::before {
  content: '';
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.1em;
  background: var(--orange);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 7l3.5 3.5 5.5-7' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: center;
}

.about-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-secondary-outline {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--zinc-300);
  color: var(--zinc-700);
  background: transparent;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-secondary-outline:hover { border-color: var(--orange); color: var(--orange); }

/* Visual side */
.about-split__visual {
  position: relative;
}
.about-split__img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.about-split__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating badge */
.about-split__badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 8rem;
}
@media (max-width: 899px) {
  .about-split__badge { left: 1rem; bottom: 1rem; }
}
.about-split__badge-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.about-split__badge-text {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.88;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════════════
   ADVANTAGES SECTION (dark bg)
═══════════════════════════════════════════════════ */
.advantages-section {
  padding: 5rem 0;
  background: var(--zinc-900);
  color: var(--white);
}
@media (min-width: 768px) { .advantages-section { padding: 6.5rem 0; } }
.advantages-section .section-title-v2 { color: var(--white); }
.adv-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  counter-reset: adv;
}
@media (min-width: 640px)  { .adv-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .adv-grid { grid-template-columns: repeat(4, 1fr); } }

.adv-item {
  counter-increment: adv;
  position: relative;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.adv-item:hover { background: rgba(255,255,255,.08); }

.adv-item::before {
  content: counter(adv, decimal-leading-zero);
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.adv-item strong {
  display: block;
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* ═══════════════════════════════════════════════════
   NEWS SECTION
═══════════════════════════════════════════════════ */
/* ── Pre-footer CTA ──────────────────────────────────────── */
.cta-section {
  padding: 6rem 0;
  background: var(--zinc-900);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ea580c' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(234,88,12,.12);
  border: 1px solid rgba(234,88,12,.35);
  border-radius: 2rem;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.25rem;
}
.cta-section__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin: 0 auto;
}
.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.cta-section p {
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  color: rgba(255,255,255,.7);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.btn-cta-orange {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 1.125rem 3rem;
  border-radius: var(--radius-xl);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 24px rgba(234,88,12,.4);
  text-decoration: none;
}
.btn-cta-orange:hover {
  background: var(--orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(234,88,12,.5);
}
/* legacy — keep for other pages */
.btn-cta-white {
  display: inline-block;
  background: var(--white);
  color: var(--orange);
  padding: 1.125rem 3rem;
  border-radius: var(--radius-xl);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
  text-decoration: none;
}
.btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

.news-section {
  padding: 5rem 0;
  background: var(--zinc-50);
}
.news-section .section-title-v2 { text-align: left; }
.news-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem;
}
.news-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--zinc-900);
}
.news-header .all-news-link {
  font-size: 0.875rem; font-weight: 600;
  color: var(--orange);
  display: inline-flex; align-items: center; gap: 0.25rem;
  white-space: nowrap;
}
.news-header .all-news-link:hover { color: var(--orange-hover); }

.news-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.news-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
}
.news-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__img.news-card__img--empty {
  background: var(--zinc-100);
  display: flex; align-items: center; justify-content: center;
}
.news-card__img--empty::after {
  content: '📰';
  font-size: 3rem; opacity: 0.3;
}
.news-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.news-card__date {
  font-size: 0.8rem;
  color: var(--zinc-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.news-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--zinc-900);
  line-height: 1.4;
}
.news-card__title:hover { color: var(--orange); }
.news-card__intro {
  font-size: 0.875rem;
  color: var(--zinc-500);
  line-height: 1.6;
  flex: 1;
  /* 3-line clamp */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.news-card__more {
  margin-top: 0.5rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--orange);
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.news-card__more:hover { color: var(--orange-hover); }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer-v2 {
  background: var(--zinc-950);
  color: var(--zinc-400);
  padding: 4rem 0 0;
  border-top: 3px solid var(--orange);
}

/* 3-column layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 3rem;
}

/* Brand column */
.footer-brand {}
.footer-brand__logo { display: inline-block; margin-bottom: 1rem; }
.footer-brand__img { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.footer-brand__tagline {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--zinc-500);
  margin-bottom: 1.5rem;
}
.footer-brand__chat {}
.footer-max-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.footer-max-btn:hover { background: var(--orange-hover); transform: translateY(-1px); }

/* Navigation columns */
.footer-nav-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.footer-nav-col__head {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--zinc-500);
  margin-bottom: 1rem;
}
.footer-nav-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.footer-nav-col ul li a {
  color: var(--zinc-400);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav-col ul li a:hover { color: #fff; }

/* Contacts column */
.footer-contacts {}
.footer-phone-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
}
.footer-phone-region {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zinc-600);
}
.footer-phone-num {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.footer-phone-num:hover { color: var(--orange); }
.footer-max-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-max-link:hover { opacity: 0.75; }
.footer-email {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--zinc-400);
  font-size: 0.875rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 0.1rem;
  transition: color 0.2s, border-color 0.2s;
}
.footer-email:hover { color: #fff; border-color: var(--orange); }

/* Divider + bottom bar */
.footer-divider {
  width: 100%; height: 1px;
  background: rgba(255,255,255,.07);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 0.9rem;
  color: var(--zinc-600);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: var(--zinc-500); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════
   UTILITY — page padding for inner pages
═══════════════════════════════════════════════════ */
.page-body {
  background: var(--white);
  min-height: 60vh;
}
.content-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--px);
}
.breadcrumb { font-size: 0.8rem; color: var(--zinc-400); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--zinc-400); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span:not(:last-child)::after { content: ' / '; }

/* ═══════════════════════════════════════════════════
   LEGACY COMPATIBILITY — keep old classes working
   for inner pages that haven't been migrated yet
═══════════════════════════════════════════════════ */
.l-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.middle { flex: 1; }
.textstyle h2, .textstyle h3 { margin: 1.75em 0 0.5em; }
.textstyle h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--zinc-800);
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--zinc-100);
}
.textstyle h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--zinc-700);
}
.textstyle p  { margin-bottom: 1em; }
.textstyle ul, .textstyle ol { padding-left: 1.25rem; margin-bottom: 1em; }
.textstyle li {
  margin-bottom: 0.5em;
  padding-left: .25rem;
}
.textstyle blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--zinc-50);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--zinc-600);
  font-style: italic;
}
.textstyle blockquote p { margin: 0; }
.textstyle strong { color: var(--zinc-800); }
.textstyle img { border-radius: var(--radius-md); margin: 1rem 0; max-width: 100%; height: auto; }
.notds a { text-decoration: none !important; }

/* Bootstrap grid shim for content pages (contacts, services etc.) */
.textstyle .row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}
.textstyle [class*="col-"] {
  flex: 1 1 calc(50% - 0.75rem);
  min-width: 280px;
}
/* Make Yandex Maps constructor iframes responsive */
.textstyle [class*="col-"] script + * ,
.textstyle [class*="col-"] iframe {
  width: 100% !important;
}
/* The YMaps constructor renders a div right after the script tag */
.textstyle [class*="col-lg-6"] > div[id^="ymaps"],
.textstyle [class*="col-lg-6"] > div[class*="ymaps"],
.textstyle [class*="col-"] > div { width: 100% !important; max-width: 100% !important; }
/* Yandex Maps Constructor injects a fixed-size iframe — make it fill the column */
.textstyle [class*="col-"] iframe {
  width: 100% !important;
  max-width: 100% !important;
  height: 360px;
  border: none;
  border-radius: var(--radius-md);
  display: block;
}

/* compensate-for-scrollbar was used in old theme */
.compensate-for-scrollbar { margin-right: 0 !important; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════
   FORMS & POPUPS (AjaxForm + Fancybox)
═══════════════════════════════════════════════════ */
.b-popup { display: none; }
.b-popup-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.b-popup-form__title { margin-bottom: 1.5rem; }
.b-popup-form__header-title {
  font-size: 1.375rem; font-weight: 700;
  color: var(--zinc-900); display: block; margin-bottom: 0.375rem;
}
.b-popup-form__header-subtitle { font-size: 0.875rem; color: var(--zinc-500); }

.form-group { margin-bottom: 1rem; }
.form-group label { font-size: 0.875rem; color: var(--zinc-500); margin-bottom: 0.35rem; display: block; }
/* hide honeypot fields */
.form-group input[name="email"],
.form-group input[name="phone"] { display: none; }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--zinc-200);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--zinc-900);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--orange);
}
.form-agree-label {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.8rem; color: var(--zinc-500); cursor: pointer;
}
.form-agree-label input { flex-shrink: 0; margin-top: 2px; }

.btn-popup {
  width: 100%;
  padding: 0.875rem;
  background: var(--orange);
  color: var(--white);
  border: none; border-radius: var(--radius-md);
  font-size: 1rem; font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font-body);
}
.btn-popup:hover { background: var(--orange-hover); }

/* ═══════════════════════════════════════════════════
   HEADER SCROLL STATE
═══════════════════════════════════════════════════ */
/* header when scrolled */
.header.scrolled {
  box-shadow: 0 2px 12px 0 rgba(0,0,0,.13);
}

/* hide utility (needed for AjaxForm/Fancybox popups) */
.hide { display: none !important; }

@media (max-width: 639px) {
  :root { --px: 1rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; }
}

@media (min-width: 640px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════════════
   BLOG — listing cards & article page
═══════════════════════════════════════════════════ */
/* Blog card: taller image than catalog */
.blog-card .card-img { height: 200px; }

/* Article page */
.article-layout { max-width: 52rem; margin: 0 auto; }
.article-meta {
  font-size: 0.875rem;
  color: var(--zinc-400);
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.article-cover {
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 480px;
}
.article-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.article-body { margin-top: 2rem; }

/* Pagination (pdoPage) */
.blog-pagination {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  justify-content: center;
}
.blog-pagination .page-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem; font-weight: 500;
  color: var(--zinc-700);
  background: var(--white);
  border: 1px solid var(--zinc-200);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.blog-pagination .page-num:hover { background: var(--zinc-100); }
.blog-pagination .page-num--active {
  background: var(--orange); color: var(--white); border-color: var(--orange);
}
.blog-pagination .page-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  color: var(--orange);
  background: var(--white);
  border: 1px solid var(--zinc-200);
  text-decoration: none;
  transition: background 0.15s;
}
.blog-pagination .page-arrow:hover { background: var(--zinc-100); }
.blog-pagination .page-arrow--off { color: var(--zinc-300); cursor: default; }

/* ═══════════════════════════════════════════════════
   BREADCRUMBS
═══════════════════════════════════════════════════ */
.breadcrumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .25rem;
  font-size: .8125rem;
  color: var(--zinc-400);
  margin-bottom: 1.25rem;
  padding: 0;
  list-style: none;
  overflow: hidden;
  white-space: nowrap;
}
.crumb-link {
  color: var(--zinc-500);
  text-decoration: none;
  transition: color .15s;
}
.crumb-link:hover { color: var(--orange); }
.crumb-sep { color: var(--zinc-300); font-size: .75rem; }
.crumb-current { color: var(--zinc-400); }

/* Force single-line crumbs even if legacy styles are loaded */
.breadcrumbs > * { display: inline-flex !important; align-items: center; white-space: nowrap; }
.breadcrumbs .crumb-link,
.breadcrumbs .crumb-sep,
.breadcrumbs .crumb-current {
  display: inline !important;
  white-space: nowrap;
  line-height: 1.2;
}

/* Legacy crumbs markup on production: .crumbs > .breadcrumb */
.crumbs .breadcrumb {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
}
.crumbs .breadcrumb > li,
.crumbs .breadcrumb > li > a,
.crumbs .breadcrumb > span {
  display: inline !important;
  white-space: nowrap;
}

/* Page gallery — inner gallery with responsive grid */
.page-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  margin: 1.5rem 0;
  padding: 0;
}
@media (max-width: 767px) {
  .page-gallery { gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
@media (max-width: 480px) {
  .page-gallery { gap: 0.5rem; grid-template-columns: repeat(2, 1fr); }
}
.page-gallery__item {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--zinc-50);
  border: 1px solid var(--zinc-100);
  transition: transform 0.2s, box-shadow 0.2s;
}
.page-gallery__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.page-gallery__item a {
  display: block;
  width: 100%;
  height: 150px;
  overflow: hidden;
}
@media (max-width: 480px) {
  .page-gallery__item a { height: 120px; }
}
.page-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.page-gallery__item:hover img { transform: scale(1.05); }

/* ═══════════════════════════════════════════════════
   SERVICE DETAIL page
═══════════════════════════════════════════════════ */
.service-page .section-content { padding-top: 1.5rem; }

.service-article {
  max-width: 780px;
}

.service-article__header {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--zinc-100);
}
.service-article__header h1 {
  margin: 0 0 .75rem;
}
.service-article__lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--zinc-600);
  border-left: 3px solid var(--orange);
  padding-left: 1rem;
}
.service-article__lead p { margin: 0 0 .5rem; }
.service-article__lead p:last-child { margin: 0; }

.service-article__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--zinc-700);
}

/* icon-list inside CMS content (Bootstrap-free) */
.textstyle .icon-list {
  margin: 2rem 0 .5rem;
  overflow: visible;
}
.textstyle .icon-list .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: .875rem !important;
}
.textstyle .icon-list .col-auto {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  width: auto !important;
}
.textstyle .icon-list .col-auto img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: sepia(1) saturate(4) hue-rotate(5deg) brightness(.85);
}
.textstyle .icon-list .col {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}
.textstyle .icon-list .col h2,
.textstyle .icon-list .col h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--zinc-800);
  font-family: var(--font-heading);
}

/* ═══════════════════════════════════════════════════
   CATALOG PRODUCT card extras
═══════════════════════════════════════════════════ */
.product-price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--orange);
}

/* ═══════════════════════════════════════════════════
   PRODUCT detail page
═══════════════════════════════════════════════════ */
.product-page .section-content { padding-top: 1.5rem; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .product-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}

.product-gallery {
  position: sticky;
  top: 5rem;
}
.product-gallery img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  display: block;
}

/* fancybox/msGallery fallback layout */
.gallery__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: .75rem;
}
.gallery__main img { width: 100%; height: auto; display: block; }
.gallery__thumbs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.gallery__thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color .15s;
  cursor: pointer;
  flex-shrink: 0;
}
.gallery__thumb:hover,
.gallery__thumb--active { border-color: var(--orange); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.product-info { display: flex; flex-direction: column; gap: 1.25rem; }

.product-characteristics {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  background: var(--zinc-50);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}
.product-char {
  display: flex;
  gap: .5rem;
  font-size: .9375rem;
}
.product-char-label { color: var(--zinc-500); flex-shrink: 0; }
.product-char-value { font-weight: 600; }

.product-description { margin-top: .5rem; }

/* similar products section */
.similar-products-section .section-header { margin-bottom: 1.5rem; }
.similar-products-section .section-header h3 { font-size: 1.25rem; }

/* ══ Страница товара ══ */
.prodbig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .prodbig { grid-template-columns: 1fr; }
}
.prodbig__imagebar .gallery__imgwrap {
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid var(--zinc-200);
  background: var(--zinc-50);
}
.prodbig__imagebar .gallery__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.prodbig__title h1 {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--zinc-900);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.prodbig__char {
  display: block;
  font-size: 0.9rem;
  color: var(--zinc-600, var(--zinc-700));
  margin-bottom: 0.4rem;
}
.prodbig__char strong { color: var(--zinc-900); }

/* prods-section / похожие товары на странице товара */
.prods-section {
  padding: 3rem 0 2rem;
  background: var(--zinc-50);
  border-top: 1px solid var(--zinc-200);
}
.prods-section .section-title h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--zinc-900);
  margin: 0 0 1.5rem;
}
.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 1rem;
}
.similar-grid .prod {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  float: none !important;
  flex: none !important;
  margin: 0 !important;
}

/* card-img placeholder */
.card-img-placeholder {
  background: var(--zinc-100);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4/3;
  color: var(--zinc-400);
  font-size: .875rem;
  border-radius: var(--radius-md);
}

/* ===========================
   Contacts page
   =========================== */
.contacts-page {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.contacts-region {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contacts-region__title {
  font-size: 1.4rem;
  font-family: var(--font-heading);
  color: var(--zinc-800);
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--orange) !important;
  margin-bottom: 0;
}
/* Department contacts grid */
.contacts-depts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
  background: var(--zinc-50);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}
.contacts-dept h3 {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--zinc-500);
  margin: 0 0 .375rem;
  border: none !important;
  padding: 0 !important;
}
.contacts-dept p {
  margin: .2rem 0;
  font-size: .925rem;
}
.contacts-dept a {
  color: var(--zinc-700);
  text-decoration: none;
}
.contacts-dept a:hover { color: var(--orange); }
/* Office cards */
.offices-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
.office-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--zinc-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.office-info {
  padding: .875rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.office-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--zinc-800);
  margin: 0 0 .25rem;
  border: none !important;
  padding: 0 !important;
}
.office-info h4 {
  font-size: .825rem;
  font-weight: 600;
  color: var(--orange);
  margin: .5rem 0 0;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.office-info p {
  margin: 0;
  font-size: .925rem;
  color: var(--zinc-600);
}
.office-info a {
  color: var(--zinc-700);
  text-decoration: none;
}
.office-info a:hover { color: var(--orange); }
.office-info strong { color: var(--zinc-700); }
.office-map {
  overflow: hidden;
  height: 160px;
}
.office-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 900px) {
  .offices-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .office-map {
    height: 180px;
  }
  .contacts-depts {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .contacts-depts {
    grid-template-columns: 1fr;
  }
}

/* Product call block */
.prodbig__call-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: var(--radius-lg);
  background: var(--zinc-50);
  border: 1px solid var(--zinc-200);
}
.prodbig__call-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--zinc-500);
  margin: 0;
}
.prodbig__call-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}
.prodbig__call-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.prodbig__call-region {
  font-size: 0.8rem;
  color: var(--zinc-500);
  font-weight: 500;
}
.prodbig__call-phone {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--zinc-900);
  text-decoration: none;
  transition: color 0.18s;
}
.prodbig__call-phone:hover { color: var(--orange); }
.prodbig__call-max {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: underline;
}
.prodbig__call-max:hover { color: var(--orange-hover); }
.prodbig__diagram {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--zinc-200);
  border-radius: 0.875rem;
  background: var(--zinc-50);
  text-align: center;
}
.prodbig__diagram img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
@media (max-width: 560px) {
  .prodbig__call-block { padding: 1rem 1.1rem; }
  .prodbig__call-grid { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* ══════════════════════════════════════════════════════════════
   INNER PAGES — общие
══════════════════════════════════════════════════════════════ */
.middle {
  padding-top: 0;
}
.content {
  padding: 2.5rem 0 4rem;
}
.content__title h1 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--zinc-900);
  margin: 0 0 1.75rem;
  line-height: 1.15;
}
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  padding: 0.75rem 0 1.5rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--zinc-500);
}
.breadcrumb li a {
  color: var(--zinc-500);
  text-decoration: none;
  transition: color .18s;
}
.breadcrumb li a:hover { color: var(--orange); }
.breadcrumb li.active { color: var(--zinc-400); }

/* ══════════════════════════════════════════════════════════════
   ГЛАВНАЯ СТРАНИЦА КАТАЛОГА — сетка категорий
══════════════════════════════════════════════════════════════ */
.catalog__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 900px) { .catalog__row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .catalog__row { grid-template-columns: 1fr; } }

.catalog__item {
  /* Bootstrap col-md-4 обнуляем — используем grid */
  width: auto !important;
  padding: 0 !important;
  float: none !important;
}
.catalog__item-inner {
  background: #fff;
  border: 1px solid var(--zinc-200);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow .22s, transform .22s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.catalog__item-inner:hover {
  box-shadow: 0 10px 36px rgba(0,0,0,.11);
  transform: translateY(-4px);
}
.catalog__item-img {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}
.catalog__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
  display: block;
}
.catalog__item-inner:hover .catalog__item-img img {
  transform: scale(1.05);
}
.catalog__item-title {
  padding: 1rem 1.25rem 1.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--zinc-900);
  line-height: 1.3;
}
.catalog__item-title a {
  color: inherit;
  text-decoration: none;
}
.catalog__item-title a:hover { color: var(--orange); }

/* ══════════════════════════════════════════════════════════════
   СТРАНИЦА КАТЕГОРИИ — карточки товаров + сайдбар
══════════════════════════════════════════════════════════════ */
.sidebar-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .sidebar-row {
    grid-template-columns: 1fr;
  }
  .sidebar { order: 2; }
  .contentbar { order: 1; }
}

/* Bootstrap col-* сброс только для contentbar */
.sidebar-row > .contentbar {
  width: auto !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}

/* Sidebar */
.sidebar {
  background: var(--zinc-50);
  border: 1px solid var(--zinc-200);
  border-radius: 0.875rem;
  padding: 1.25rem 1.1rem;
}
.sidebar__sections-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--zinc-500);
  margin: 0.5rem 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--zinc-200);
}
.sidebar__sections-title:first-child { margin-top: 0; }
.sidebar__sections {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.sidebar__sections li a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 0.4rem;
  font-size: 0.92rem;
  color: var(--zinc-700);
  text-decoration: none;
  transition: background .16s, color .16s;
}
.sidebar__sections li a:hover {
  background: var(--zinc-100);
  color: var(--orange);
}
.sidebar__sections li.active a {
  background: var(--orange);
  color: #fff;
  font-weight: 600;
}
.sidebar__box--bg { background: none; }

/* Product grid */
.prods {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 1rem;
}

/* Bootstrap col-* сброс для карточек */
.prod {
  width: auto !important;
  padding: 0 !important;
  float: none !important;
  max-width: none !important;
  margin: 0 !important;
}
.prod__wrap {
  background: #fff;
  border: 1px solid var(--zinc-200);
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  justify-content: flex-start !important;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}
.prod__wrap:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
  transform: translateY(-2px);
}
.prod__img {
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--zinc-50);
  border-bottom: 1px solid var(--zinc-100);
  flex-shrink: 0;
}
.prod__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0.5rem;
  transition: transform .3s;
  box-sizing: border-box;
}
.prod__wrap:hover .prod__img img { transform: scale(1.06); }

.prod__title {
  display: block;
  padding: 0.6rem 0.75rem 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--zinc-900);
  text-decoration: none;
  flex: 1;
}
.prod__title:hover { color: var(--orange); }

.prod__char {
  display: block;
  font-size: 0.75rem;
  color: var(--zinc-500);
  padding: 0 0.75rem;
  margin-bottom: 0.15rem;
}
.prod__char strong { color: var(--zinc-700); }

.prod__btn {
  display: block;
  margin: 0.5rem 0.75rem 0.75rem;
  padding: 0.45rem 0.75rem;
  background: var(--orange);
  color: #fff !important;
  border-radius: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  transition: background .18s;
  border: none;
}
.prod__btn:hover { background: var(--orange-hover); color: #fff !important; }

/* Пагинация */
.pagination {
  display: flex;
  justify-content: center;
  padding: 2rem 0 0.5rem;
}
.pagination ul {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination ul li a,
.pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--zinc-700);
  background: var(--zinc-100);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.pagination ul li a:hover { background: var(--orange); color: #fff; }
.pagination ul li.active a,
.pagination ul li.active span { background: var(--orange); color: #fff; }
.pagination ul li.disabled span { opacity: 0.4; cursor: default; }

/* Catalog-page /katalog/used/ — убираем sidebar JS-скриптом, но на странице /katalog/used/ сайдбар есть */
.catalog-page .content__title h1 { margin-bottom: 1.25rem; }

/* ══════════════════════════════════════════════════════════════
   MOBILE — полная адаптация
══════════════════════════════════════════════════════════════ */

/* ── Контейнер ──────────────────────────────────────────────── */
@media (max-width: 767px) {
  .container { padding-left: 1.125rem; padding-right: 1.125rem; }
}

/* ── Hero ───────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hero-section {
    min-height: 100svh;
    background-position: 70% center;
  }
  .hero-layout { padding: 5rem 0 2.5rem; }
  .hero-content { max-width: 100%; }
  .hero-nowrap { white-space: normal; }

  /* Container чуть больше отступ */
  .hero-layout .container { padding-left: 1.25rem; padding-right: 1.25rem; }

  /* Eyebrow — скрыть на маленьком экране, текст не помещается */
  .hero-eyebrow { display: none; }

  /* Заголовок */
  .hero-content h1 {
    font-size: clamp(1.875rem, 9vw, 2.5rem);
    margin-bottom: 0.875rem;
    line-height: 1.05;
    text-shadow: 0 2px 18px rgba(0,0,0,.75), 0 1px 4px rgba(0,0,0,.6);
  }

  /* Подзаголовок — максимальная читаемость на фото */
  .hero-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    opacity: 1;
    color: #fff;
    text-shadow: 0 1px 12px rgba(0,0,0,.85), 0 1px 3px rgba(0,0,0,.7);
  }

  /* Кнопки */
  .hero-buttons {
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1.75rem;
  }
  .btn--hero {
    width: 100%;
    text-align: center;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border-radius: 0.75rem;
  }

  /* Факты — 3 равных колонки */
  .hero-facts {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.375rem;
    max-width: 100%;
  }
  .hero-fact {
    flex: none;
    min-width: 0;
    padding: 0.55rem 0.5rem;
    border-radius: 0.625rem;
    text-align: center;
    backdrop-filter: blur(6px);
  }
  .hero-fact strong {
    font-size: 0.75rem;
    margin-bottom: 0.1rem;
    display: block;
  }
  .hero-fact span {
    font-size: 0.625rem;
    line-height: 1.3;
    display: block;
    opacity: 0.85;
  }
}

/* ── Stats ──────────────────────────────────────────────────── */
@media (max-width: 639px) {
  .stats-strip { padding: 2.5rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .stat-item__num { font-size: 2.25rem; }
  .stat-item__label { font-size: 0.75rem; max-width: none; }
  .stat-item + .stat-item::before { display: none; }
}

/* ── Partners ───────────────────────────────────────────────── */
@media (max-width: 767px) {
  .partners-strip { padding: 1.5rem 0; }
  .section-label { font-size: 0.65rem; margin-bottom: 1rem; }
  .partner { height: 3.8rem; }
  .partner__logo { max-width: 11rem; }
  .partner__logo[src*="dellin"] { max-width: 13rem; }
  .partners-track { gap: 2.5rem; }
}

/* ── Services ───────────────────────────────────────────────── */
@media (max-width: 767px) {
  .services-section-v2 { padding: 3rem 0; }
  .section-title-v2 { font-size: clamp(1.375rem, 6vw, 1.875rem); margin-bottom: 1.5rem; }
  .section-eyebrow { font-size: 0.65rem; margin-bottom: 0.5rem; }
}

/* ── Catalog cards (главная) ────────────────────────────────── */
@media (max-width: 767px) {
  .catalog-section-v2 { padding: 3rem 0; }
  .catalog-grid-v2 { grid-template-columns: 1fr; gap: 1rem; }
  .catalog-card-v2 .card-img { aspect-ratio: 16/7; }
}

/* ── About ──────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .about-section-v2 { padding: 3rem 0; }
  .about-split { grid-template-columns: 1fr; gap: 2rem; }
  .about-split__h2 { font-size: clamp(1.375rem, 6vw, 1.875rem); }
  .about-split__lead { font-size: 0.9375rem; }
  .about-split__list li { font-size: 0.9rem; padding: 0.45rem 0 0.45rem 1.5rem; }
  .about-cta-bar { flex-direction: column; gap: 0.75rem; }
  .about-cta-bar .btn { width: 100%; text-align: center; }
  .about-split__img-wrap { aspect-ratio: 4/3; }
  .about-split__badge { right: auto; left: 1rem; bottom: 1rem; padding: 0.75rem 1rem; }
  .about-split__badge-num { font-size: 1.75rem; }
}

/* ── Advantages ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .advantages-section { padding: 3rem 0; }
  .adv-grid { grid-template-columns: 1fr 1fr; gap: 0.875rem; margin-top: 1.75rem; }
  .adv-item { padding: 1.125rem 1rem; font-size: 0.85rem; }
  .adv-item::before { font-size: 1.25rem; margin-bottom: 0.5rem; }
  .adv-item strong { font-size: 0.875rem; }
}
@media (max-width: 420px) {
  .adv-grid { grid-template-columns: 1fr; }
}

/* ── News ───────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card { max-width: 28rem; margin: 0 auto; }
}

/* ── CTA ────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .cta-section { padding: 3.5rem 0; text-align: left; }
  .cta-section h2 { font-size: clamp(1.5rem, 7vw, 2.25rem); }
  .cta-section p { font-size: 0.9375rem; margin-bottom: 1rem; }
  .cta-section p:last-of-type { margin-bottom: 1.75rem; }
  .cta-eyebrow { font-size: 0.7rem; }
  .btn-cta-orange { padding: 0.875rem 2rem; font-size: 1rem; }
}

/* ── Footer ─────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .footer-v2 { padding: 2.5rem 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .footer-brand { text-align: center; }
  .footer-brand__logo { margin-bottom: 0.75rem; }
  .footer-brand__chat { display: flex; justify-content: center; }
  .footer-nav-cols { grid-template-columns: 1fr 1fr; }
  .footer-contacts {}
  .footer-phone-num { font-size: 1rem; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 1rem 0; gap: 0.35rem; }
}

/* ── Inner pages (каталог, услуги, контакты) ─────────────────── */
@media (max-width: 767px) {
  .content { padding: 1.5rem 0 2.5rem; }
  .content__title h1 { font-size: 1.5rem; margin-bottom: 1rem; }
  .breadcrumb { padding: 0.5rem 0 1rem; font-size: 0.78rem; }

  /* Категория — убрать сайдбар под контент */
  .sidebar-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .sidebar { order: 2; }
  .contentbar { order: 1; }

  /* Карточки товаров */
  .prods { gap: 0.75rem; }
  .prod__title { font-size: 0.78rem; padding: 0.5rem 0.65rem 0.3rem; }
  .prod__btn { margin: 0.4rem 0.65rem 0.65rem; padding: 0.4rem; font-size: 0.72rem; }

  /* Страница товара */
  .prodbig { grid-template-columns: 1fr; gap: 1.5rem; }
  .prodbig__title h1 { font-size: 1.25rem; }

  /* Похожие товары */
  .similar-grid { gap: 0.75rem; }
  .prods-section { padding: 2rem 0 1.5rem; }
}

/* ── Попапы и формы ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .b-popup-form__body { padding: 1.25rem; }
}

/* ══════════════════════════════════════════════════════════════
   INNER PAGES — services / contacts / blog общие обёртки
══════════════════════════════════════════════════════════════ */
.inner-page body,
.inner-page { background: #fff; }

.main-content { padding-bottom: 4rem; }

.content-section {
  position: relative;
  padding-top: 2.5rem;
}

.section-bg {
  display: none; /* декоративный элемент старого шаблона — скрываем */
}

.section-content {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.content-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--zinc-100);
}
.content-header h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--zinc-900);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.content-body { margin-top: 0.5rem; }

/* ── Страница услуг — сетка карточек ─────────────────────── */
/* catalog-card-v2 внутри .catalog-grid-v2 может иметь Bootstrap col-классы */
.catalog-grid-v2 .catalog-card-v2,
.catalog-grid-v2 [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  float: none !important;
  flex: none !important;
}

/* ── Страница конкретной услуги ──────────────────────────── */
.service-article__header h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

/* ── Контакты ────────────────────────────────────────────── */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 767px) { .contacts-grid { grid-template-columns: 1fr; } }

/* ── Textstyle — форматирование CMS-контента ─────────────── */
.textstyle h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--zinc-900);
  margin: 2rem 0 0.75rem;
  line-height: 1.2;
}
.textstyle h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--zinc-800);
  margin: 1.5rem 0 0.5rem;
}
.textstyle p {
  margin: 0 0 1rem;
  line-height: 1.75;
  color: var(--zinc-700);
}
.textstyle ul, .textstyle ol {
  margin: 0 0 1rem 1.25rem;
  line-height: 1.75;
  color: var(--zinc-700);
}
.textstyle li { margin-bottom: 0.35rem; }
.textstyle strong { color: var(--zinc-900); }
.textstyle a { color: var(--orange); text-decoration: underline; }
.textstyle a:hover { color: var(--orange-hover); }
.textstyle img { max-width: 100%; height: auto; border-radius: 0.75rem; margin: 1rem 0; }
.textstyle table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.textstyle table th {
  background: var(--zinc-900);
  color: #fff;
  padding: 0.65rem 1rem;
  text-align: left;
  font-weight: 600;
}
.textstyle table td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--zinc-200);
  color: var(--zinc-700);
}
.textstyle table tr:nth-child(even) td { background: var(--zinc-50); }

/* ── Мобилка для внутренних страниц ─────────────────────── */
@media (max-width: 767px) {
  .main-content { padding-bottom: 2.5rem; }
  .content-section { padding-top: 1.5rem; }
  .content-header { margin-bottom: 1.25rem; padding-bottom: 0.875rem; }
  .textstyle h2 { margin-top: 1.25rem; }
  .textstyle table { display: block; overflow-x: auto; }
}

/* ══════════════════════════════════════════════════════════════
   CATALOG — мега-меню стиль (как у Зеленограда)
══════════════════════════════════════════════════════════════ */
.catalog-page-megamenu .content__title h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 2.25rem;
  color: var(--zinc-900);
}

.catalog-mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem 3rem;
  padding: 0.5rem 0 2rem;
}
@media (max-width: 600px) {
  .catalog-mega-grid { gap: 1.75rem 1.5rem; }
}

.catalog-mega-col {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.catalog-mega-col__head {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--zinc-900);
  text-decoration: none;
  line-height: 1.25;
  padding-bottom: 0.25rem;
  transition: color 0.18s;
}
.catalog-mega-col__head:hover { color: var(--orange); }

.catalog-mega-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.catalog-mega-col__list a {
  display: block;
  color: var(--zinc-700);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: color 0.18s;
}
.catalog-mega-col__list a:hover { color: var(--orange); }

.catalog-mega-col__intro {
  font-size: 0.85rem;
  color: var(--zinc-500);
  line-height: 1.5;
  margin: 0;
}

.catalog-mega-col__more {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--zinc-900);
  text-decoration: none;
  margin-top: 0.35rem;
  transition: color 0.18s;
}
.catalog-mega-col__more:hover { color: var(--orange); }

@media (max-width: 767px) {
  .catalog-mega-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .catalog-mega-col { padding-bottom: 1.25rem; border-bottom: 1px solid var(--zinc-200); }
  .catalog-mega-col:last-child { border-bottom: none; }
}

/* ══════════════════════════════════════════════════════════════
   RICH CONTENT BLOCKS (страницы каталога: Новые поддоны, Пиломатериалы)
══════════════════════════════════════════════════════════════ */
.svc-rich { margin: 3rem 0 0; }
.svc-rich + .svc-rich { margin-top: 3.5rem; }

.svc-head { margin-bottom: 1.5rem; }
.svc-head__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.svc-head__title {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--zinc-900);
  margin: 0;
}
.svc-head__sub {
  margin: 0.6rem 0 0;
  color: var(--zinc-500);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 46rem;
}

/* Карточки типов продукции */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem;
}
.svc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--zinc-200);
  border-radius: 1rem;
  padding: 1.5rem 1.4rem;
  transition: box-shadow .22s, transform .22s, border-color .22s;
  overflow: hidden;
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--orange);
  opacity: 0;
  transition: opacity .22s;
}
.svc-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transform: translateY(-3px);
  border-color: transparent;
}
.svc-card:hover::before { opacity: 1; }
.svc-card__icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.7rem;
  background: var(--orange-light);
  color: var(--orange);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.svc-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--zinc-900);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.svc-card__text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--zinc-500);
  margin: 0;
}
.svc-card__meta {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--zinc-200);
  font-size: 0.85rem;
  color: var(--zinc-700);
  font-weight: 600;
}

/* Градации (грузоподъёмность / сорта) */
.svc-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
}
.svc-tier {
  background: linear-gradient(160deg, var(--zinc-900) 0%, var(--zinc-800) 100%);
  border-radius: 1rem;
  padding: 1.5rem 1.4rem;
  color: #fff;
}
.svc-tier--light {
  background: var(--zinc-50);
  border: 1px solid var(--zinc-200);
  color: var(--zinc-900);
}
.svc-tier__num {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.svc-tier--light .svc-tier__num { color: var(--orange); }
.svc-tier__label {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}
.svc-tier__desc {
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0.85;
  margin: 0;
}
.svc-tier--light .svc-tier__desc { opacity: 1; color: var(--zinc-500); }

/* Преимущества */
.svc-adv {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 1.1rem 1.5rem;
}
.svc-adv__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.svc-adv__check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 2px;
}
.svc-adv__body strong {
  display: block;
  font-size: 1rem;
  color: var(--zinc-900);
  margin-bottom: 0.2rem;
}
.svc-adv__body span {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--zinc-500);
}

/* Спец-список (породы/сорта строками) */
.svc-specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 0.75rem;
}
.svc-spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  background: #fff;
  border: 1px solid var(--zinc-200);
  border-radius: 0.7rem;
}
.svc-spec__k { font-weight: 600; color: var(--zinc-900); font-size: 0.95rem; }
.svc-spec__v { color: var(--orange); font-weight: 700; font-size: 0.95rem; text-align: right; }

/* CTA-баннер */
.svc-cta {
  margin: 3.5rem 0 0;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: #fff;
}
.svc-cta__text h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}
.svc-cta__text p { margin: 0; opacity: 0.92; font-size: 0.98rem; }
.svc-cta__phones { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.svc-cta__phone { display: flex; flex-direction: column; }
.svc-cta__region { font-size: 0.78rem; opacity: 0.85; margin-bottom: 0.1rem; }
.svc-cta__num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.svc-cta__num:hover { text-decoration: underline; }
.svc-cta__max {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.85;
  text-decoration: underline;
}
.svc-cta__max:hover { opacity: 1; }

/* Hero-фото услуги */
.svc-hero {
  position: relative;
  margin: 0 0 2.5rem;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
}
.svc-hero img {
  display: block;
  width: 100%;
  height: clamp(200px, 34vw, 380px);
  object-fit: cover;
}
.svc-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 1.9rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 30%, rgba(15, 23, 42, 0.72) 100%);
}
.svc-hero__tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 0.4rem;
  margin-bottom: 0.6rem;
}
.svc-hero__text {
  color: #fff;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  max-width: 36ch;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Процесс / шаги */
.svc-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem;
  counter-reset: svcstep;
}
.svc-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--zinc-200);
  border-radius: 1rem;
  padding: 1.6rem 1.4rem 1.4rem;
}
.svc-step::before {
  counter-increment: svcstep;
  content: counter(svcstep);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}
.svc-step h4 { margin: 0 0 0.4rem; font-size: 1.05rem; font-weight: 700; color: var(--zinc-900); }
.svc-step p { margin: 0; font-size: 0.93rem; color: var(--zinc-600); line-height: 1.55; }

@media (max-width: 767px) {
  .svc-rich { margin-top: 2.25rem; }
  .svc-cta { flex-direction: column; align-items: flex-start; padding: 1.75rem 1.4rem; }
  .svc-cta__phones { flex-direction: column; gap: 0.9rem; }
  .svc-hero__overlay { padding: 1.25rem 1.3rem; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO CTA — кнопки в баннере (десктоп + база)
   ═══════════════════════════════════════════════════════════════ */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}
.hero-btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1;
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 28px rgba(234,88,12,.38);
  text-decoration: none;
  transition: background .18s, transform .18s, box-shadow .18s;
}
.hero-btn--primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(234,88,12,.45);
}
.hero-btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1;
  padding: 1rem 1.6rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: background .18s, border-color .18s;
}
.hero-btn--ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.7);
}

/* ═══════════════════════════════════════════════════════════════
   HERO MOBILE — UX-пересборка: единый блок, привязка к низу
   (последний блок в файле — перекрывает прежние мобильные правила)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Плашка-регион — наверху, контент-группа — внизу */
  .hero-content {
    justify-content: flex-start !important;
    align-items: stretch;
    text-align: left;
    gap: 1.25rem;
    padding: 4.5rem 1.375rem 2.5rem;
  }

  /* Заголовок и всё ниже — единой группой прижато к низу */
  .hero-top {
    width: 100%;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: auto;   /* выталкивает заголовок+группу вниз */
    margin-bottom: 0;
  }

  /* Плашка региона — широкая лента во всю ширину сверху */
  .hero-eyebrow {
    display: flex !important;
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    padding: 0.7rem 0.85rem;
    border-radius: 0.65rem;
    background: rgba(15,17,21,.42);
    border: 1px solid rgba(255,255,255,.18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: none;
    color: rgba(255,255,255,.92);
  }
  .hero-content h1 {
    font-size: clamp(2rem, 9.5vw, 2.6rem);
    line-height: 1.06;
    margin: 0;
    text-align: left;
  }

  /* Нижний блок: подзаголовок, кнопки, факты — единым стеком */
  .hero-bottom {
    width: 100%;
    align-items: stretch;
    gap: 1.25rem;
  }
  .hero-subtitle {
    font-size: 0.9375rem;
    line-height: 1.55;
    max-width: 100%;
    margin: 0;
    text-align: left;
  }

  /* CTA — основная кнопка во всю ширину, вторая — рядом */
  .hero-cta {
    width: 100%;
    margin-top: 0;
    gap: 0.625rem;
    flex-wrap: nowrap;
  }
  .hero-btn--primary {
    flex: 1 1 auto;
    justify-content: center;
    font-size: 1.0625rem;
    padding: 1.05rem 1.25rem;
    border-radius: 0.9rem;
  }
  .hero-btn--ghost {
    flex: 0 0 auto;
    padding: 1.05rem 1.4rem;
    border-radius: 0.9rem;
  }

  /* Факты — два равных чипа */
  .hero-facts {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: row;
    gap: 0.625rem;
    width: 100%;
    margin: 0;
  }
  .hero-fact {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0.7rem 0.6rem;
    text-align: center;
    border-radius: 0.75rem;
    background: rgba(15,17,21,.4);
    border: 1px solid rgba(255,255,255,.14);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .hero-fact strong { font-size: 0.9rem; }
  .hero-fact span   { font-size: 0.7rem; line-height: 1.3; }
}

/* ═══════════════════════════════════════════════════════════════
   COOKIE-уведомление (152-ФЗ / cookie consent)
   ═══════════════════════════════════════════════════════════════ */
.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  max-width: 64rem;
  margin: 0 auto;
  background: rgba(15,17,21,.96);
  color: #fff;
  padding: 1rem 1.4rem;
  border-radius: 0.9rem;
  box-shadow: 0 12px 34px rgba(0,0,0,.32);
  font-size: 0.9rem;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar__text { margin: 0; max-width: 60ch; line-height: 1.5; }
.cookie-bar__text a { color: var(--orange); text-decoration: underline; }
.cookie-bar__btn {
  flex-shrink: 0;
  background: var(--orange);
  color: #fff;
  border: 0;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.8rem;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: background .18s;
}
.cookie-bar__btn:hover { background: var(--orange-hover); }
.cookie-bar__actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-bar__btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}
.cookie-bar__btn--ghost:hover { background: rgba(255,255,255,.1); }

.cookie-settings {
  flex: 1 0 100%;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 0.9rem;
  margin-top: 0.4rem;
}
.cookie-settings[hidden] { display: none; }
.cookie-settings__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}
.cookie-settings__label { display: flex; flex-direction: column; gap: 0.15rem; }
.cookie-settings__hint { font-size: 0.8rem; opacity: 0.75; font-weight: 400; }
.cookie-settings__checkbox { width: 1.3rem; height: 1.3rem; flex-shrink: 0; accent-color: var(--orange); }
.cookie-settings__actions { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
@media (max-width: 600px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; gap: 0.85rem; }
  .cookie-bar__btn { width: 100%; }
  .cookie-bar__actions { flex-direction: column; width: 100%; }
  .cookie-settings__row { text-align: left; }
  .cookie-settings__actions { flex-direction: column; }
}

/* Реквизиты ИП в подвале */
.footer-requisites {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--zinc-500);
}
