/* =========================================================
   ИЗР — index-modern.css  v=300
   Mobile-first, промышленный модерн
   Цвета: тёмный #1f1f1f · оранжевый #FE662C · белый #fff
   Шрифт: системный стек
   ========================================================= */

/* ---------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------- */
:root {
  /* Цвета */
  --c-bg:          #1a1a1a;
  --c-surface:     #242424;
  --c-surface-2:   #2e2e2e;
  --c-accent:      #FE662C;
  --c-accent-dark: #d94d14;
  --c-text:        #f0f0f0;
  --c-text-muted:  rgba(240,240,240,.62);
  --c-border:      rgba(255,255,255,.10);
  --c-overlay:     rgba(0,0,0,.55);

  /* Типографика */
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --fw-reg: 400;
  --fw-med: 500;
  --fw-semi: 600;
  --fw-bold: 700;

  /* Размеры шрифтов (fluid) */
  --fs-xs:   clamp(11px, 1.2vw, 13px);
  --fs-sm:   clamp(13px, 1.5vw, 15px);
  --fs-base: clamp(14px, 1.6vw, 16px);
  --fs-md:   clamp(16px, 2vw, 20px);
  --fs-lg:   clamp(20px, 2.8vw, 28px);
  --fs-xl:   clamp(26px, 4vw, 44px);
  --fs-hero: clamp(32px, 6vw, 68px);

  /* Отступы */
  --gap-xs:  8px;
  --gap-sm:  16px;
  --gap-md:  24px;
  --gap-lg:  40px;
  --gap-xl:  64px;
  --gap-2xl: 96px;

  /* Радиусы */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  /* Тени */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.35);
  --shadow-md: 0 6px 24px rgba(0,0,0,.40);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.50);

  /* Переходы */
  --ease: cubic-bezier(.25,.46,.45,.94);
  --dur-fast: 180ms;
  --dur-mid:  280ms;

  /* Контейнер */
  --container: 1320px;
  --container-pad: clamp(16px, 4vw, 48px);

  /* Header height */
  --header-h: 68px;
}

/* ---------------------------------------------------------
   2. RESET МИНИМАЛЬНЫЙ
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: var(--fw-bold); }

/* ---------------------------------------------------------
   3. УТИЛИТЫ
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Fade-in при скролле */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-mid) var(--ease), transform var(--dur-mid) var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xs);
  padding: 13px 24px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--c-accent-dark);
  box-shadow: 0 4px 16px rgba(254,102,44,.40);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.45);
}
.btn--outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.btn--ghost {
  background: rgba(255,255,255,.07);
  color: #fff;
  border: 1px solid var(--c-border);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.13);
}

/* ---------------------------------------------------------
   4. BREADCRUMB — глобальный компонент
   Используется на всех страницах.
   HTML-структура: <nav class="breadcrumb"> с <li> элементами
   и разделителем <span>›</span> между ними.
   --------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--gap-lg) 0;
  font-size: var(--fs-base);
}
.breadcrumb li { list-style: none; }
.breadcrumb a { color: var(--c-text-muted); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb span { color: var(--c-accent); }
.breadcrumb li.active,
.breadcrumb li[aria-current="page"] { color: var(--c-text-muted); }

/* ---------------------------------------------------------
   5. COOKIE BANNER
   --------------------------------------------------------- */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 8888;
  background: var(--c-surface);
  border-top: 2px solid var(--c-accent);
  padding: 14px var(--container-pad);
}
.cookie-inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  justify-content: space-between;
}
.cookie-text {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  flex: 1 1 260px;
}
.cookie-text a { color: var(--c-accent); text-decoration: underline; }
#cookie-accept {
  flex-shrink: 0;
  padding: 8px 20px;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  cursor: pointer;
  transition: background var(--dur-fast);
}
#cookie-accept:hover { background: var(--c-accent-dark); }

/* ---------------------------------------------------------
   5. HEADER
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #111;
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}

/* Topbar */
.topbar {
  display: none;
  background: #0d0d0d;
  border-bottom: 1px solid var(--c-border);
  padding: 6px var(--container-pad);
}
@media (min-width: 1024px) {
  .topbar { display: block; }
}
.topbar__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}
.topbar__item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar__item img { width: 16px; height: 16px; opacity: .65; }
.topbar__item img[src*="email"] { width: 26px; height: auto; }
.topbar__email {
  color: var(--c-accent);
  transition: opacity var(--dur-fast);
}
.topbar__email:hover { opacity: .8; }
.topbar__spacer { margin-left: auto; }

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  padding: 0 var(--container-pad);
  height: var(--header-h);
  max-width: var(--container);
  margin-inline: auto;
}

/* Логотип */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img {
  height: 42px;
  width: auto;
}

/* Primary Nav */
.primary-nav {
  display: none;
  margin-left: var(--gap-md);
}
@media (min-width: 1024px) {
  .primary-nav { display: flex; align-items: center; gap: 4px; }
}
.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.primary-nav .nav-item {
  position: relative;
}
.primary-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-med);
  color: var(--c-text);
  border-radius: var(--r-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  white-space: nowrap;
}
.primary-nav .nav-link:hover,
.primary-nav .nav-item:hover > .nav-link {
  color: var(--c-accent);
  background: rgba(254,102,44,.08);
}
.primary-nav .nav-link .arrow {
  display: inline-block;
  width: 10px; height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform var(--dur-fast);
}
.primary-nav .nav-item:hover > .nav-link .arrow {
  transform: rotate(225deg);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
  z-index: 200;
}
.nav-item:hover > .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: none;
}
.nav-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: var(--fs-xs);
  color: var(--c-text);
  border-radius: var(--r-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  white-space: nowrap;
}
.nav-dropdown a:hover {
  color: var(--c-accent);
  background: rgba(254,102,44,.08);
}
/* Вложенный дропдаун */
.nav-dropdown .nav-item { position: relative; }
.nav-dropdown .nav-dropdown {
  top: 0;
  left: calc(100% + 4px);
}

/* Правый блок header */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  margin-left: auto;
}
.header-phone {
  display: none;
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: #fff;
  letter-spacing: .01em;
  transition: color var(--dur-fast);
}
@media (min-width: 640px) { .header-phone { display: block; } }
.header-phone:hover { color: var(--c-accent); }

.btn-callback-header {
  display: none;
  padding: 10px 18px;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--r-md);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
@media (min-width: 768px) { .btn-callback-header { display: inline-flex; } }
.btn-callback-header:hover {
  background: var(--c-accent-dark);
  transform: translateY(-1px);
}

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast);
}
@media (min-width: 1024px) { .burger { display: none; } }
.burger:hover { background: rgba(255,255,255,.08); }
.burger span {
  display: block;
  width: 100%; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--dur-mid) var(--ease), opacity var(--dur-mid);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  background: var(--c-surface);
  border-left: none;
  z-index: 999;
  overflow-y: auto;
  padding: var(--gap-xl) var(--gap-md) var(--gap-lg);
  transform: translateX(100%);
  transition: transform var(--dur-mid) var(--ease);
}
.mobile-drawer.is-open {
  display: block;
  transform: none;
}
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 998;
}
.drawer-overlay.is-open { display: block; }

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: var(--fs-md);
  font-weight: var(--fw-med);
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  transition: color var(--dur-fast);
}
.mobile-nav a:hover { color: var(--c-accent); }
.mobile-nav .submenu {
  padding-left: var(--gap-md);
  display: none;
}
.mobile-nav .has-sub > a::after {
  content: ' ›';
  color: var(--c-accent);
}
.mobile-nav .has-sub.is-open .submenu { display: block; }
.mobile-nav .submenu a {
  font-size: var(--fs-sm);
  padding: 8px 0;
}
.drawer-phone {
  display: block;
  margin-top: var(--gap-lg);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
}
.drawer-callback {
  display: block;
  width: 100%;
  margin-top: var(--gap-sm);
  padding: 14px;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---------------------------------------------------------
   6. HERO
   --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #0f0f0f 0%,
    #1a1a1a 45%,
    #1f1f1f 100%
  );
  padding: var(--gap-2xl) 0;
}

/* Декоративная оранжевая диагональ */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 55%,
    rgba(254,102,44,.07) 55%,
    rgba(254,102,44,.04) 100%
  );
  pointer-events: none;
}

/* Оранжевая вертикальная черта слева */
.hero::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--c-accent);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-xl);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 3fr 2fr; }
}

.hero__content {}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-xs);
  background: rgba(254,102,44,.12);
  border: 1px solid rgba(254,102,44,.28);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--c-accent);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: var(--gap-md);
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: var(--gap-md);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.hero h1 span { color: var(--c-accent); }

.hero__lead {
  font-size: var(--fs-md);
  color: var(--c-text-muted);
  max-width: 560px;
  margin-bottom: var(--gap-lg);
  line-height: 1.65;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  align-items: center;
}

.hero__cta .btn { font-size: var(--fs-sm); }

/* Иконки мессенджеров в hero */
.btn-messenger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  text-transform: uppercase;
  letter-spacing: .04em;
  border: 2px solid var(--c-border);
  color: #fff;
  transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast);
}
.btn-messenger:hover {
  border-color: var(--c-accent);
  background: rgba(254,102,44,.08);
  transform: translateY(-2px);
}
.btn-messenger img { width: 20px; height: 20px; }

/* Правая панель hero — контакты */
.hero__aside {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--gap-lg);
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}
.hero__aside-phone {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  letter-spacing: -.01em;
}
.hero__aside-phone:hover { color: #fff; }
.hero__aside-label {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero__aside-email {
  color: var(--c-accent);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  letter-spacing: -.01em;
}
.hero__aside-email:hover { text-decoration: underline; }
.hero__aside-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.hero__aside-hours img { width: 18px; height: 18px; opacity: .6; }
.hero__aside-divider {
  width: 100%; height: 1px;
  background: var(--c-border);
}
.hero__aside-messengers {
  display: flex;
  gap: var(--gap-sm);
}
.hero__aside-messengers a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.hero__aside-messengers a:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
}
.hero__aside-messengers a img { width: 18px; height: 18px; }

/* ---------------------------------------------------------
   7. КАТЕГОРИИ ПРОДУКЦИИ
   --------------------------------------------------------- */
.categories {
  padding: var(--gap-2xl) 0;
  background: var(--c-bg);
}

.section-heading {
  margin-bottom: var(--gap-xl);
}
.section-heading h2,
.section-heading h3,
.section-heading h4 {
  font-size: var(--fs-xl);
  color: #fff;
  position: relative;
  padding-left: 18px;
}
.section-heading h2::before,
.section-heading h3::before,
.section-heading h4::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 70%;
  background: var(--c-accent);
  border-radius: 3px;
}
.section-heading p {
  margin-top: var(--gap-sm);
  color: var(--c-text-muted);
  font-size: var(--fs-md);
}

/* Сетка категорий */
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
@media (min-width: 480px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #111;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  transition: border-color var(--dur-mid), background var(--dur-mid);
}
.category-card__img-wrap {
  flex: 1;
}
.category-card:hover {
  background: #181818;
  border-color: var(--c-accent);
  z-index: 1;
}

/* Оранжевая черта сверху — появляется при hover */
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transition: transform var(--dur-mid) var(--ease);
}
.category-card:hover::before { transform: scaleX(1); }

/* Зона изображения */
.category-card__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #111;
  overflow: hidden;
}
.category-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.85) saturate(.9);
  transition: transform .4s var(--ease), filter .4s var(--ease);
}
.category-card:hover .category-card__img-wrap img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}

/* Нижняя подпись */
.category-card__body {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-sm);
  padding: var(--gap-sm) var(--gap-md);
  background: #161616;
  border-top: 1px solid rgba(255,255,255,.06);
  min-height: 56px;
  transition: background var(--dur-mid);
}
.category-card:hover .category-card__body {
  background: rgba(254,102,44,.08);
}

.category-card__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: #fff;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .03em;
  transition: color var(--dur-fast);
}
.category-card:hover .category-card__label { color: var(--c-accent); }

.category-card__arrow {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--c-accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--dur-mid), transform var(--dur-mid);
}
.category-card:hover .category-card__arrow {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------
   8. О НАС
   --------------------------------------------------------- */
.about {
  padding: var(--gap-2xl) 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

/* Главный intro блок */
.about__intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-xl);
  align-items: center;
  margin-bottom: var(--gap-xl);
}
@media (min-width: 768px) {
  .about__intro { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .about__intro { grid-template-columns: 5fr 4fr; }
}
.about__intro-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__intro-img img { width: 100%; height: auto; object-fit: cover; }

.about__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: var(--gap-md);
}
.about__text {
  color: var(--c-text-muted);
  font-size: var(--fs-base);
  line-height: 1.75;
  margin-bottom: var(--gap-sm);
}
.about__text strong { color: #fff; }
.about__text a { color: var(--c-accent); }
.about__text a:hover { text-decoration: underline; }

/* Сетка «О нас» — 3 колонки */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
  margin-bottom: var(--gap-xl);
}
@media (min-width: 640px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1fr 1fr 1fr; }
}
.about__card {
  background: var(--c-surface-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: border-color var(--dur-mid), box-shadow var(--dur-mid);
}
.about__card:hover {
  border-color: rgba(254,102,44,.30);
  box-shadow: var(--shadow-md);
}
.about__card-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.about__card-body {
  padding: var(--gap-md);
}
.about__card-text {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
}
.about__card-text a { color: var(--c-accent); }
.about__card-text a:hover { text-decoration: underline; }

/* Кнопки в секции «О нас» */
.about__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-bottom: var(--gap-xl);
}

/* Блок импортозамещения */
.about__import {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-xl);
  align-items: center;
  margin-bottom: var(--gap-xl);
  padding: var(--gap-lg);
  background: var(--c-bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
}
@media (min-width: 768px) {
  .about__import { grid-template-columns: 1fr 1fr; }
}
.about__import-img {
  border-radius: var(--r-md);
  overflow: hidden;
}
.about__import-img img { width: 100%; height: auto; }

/* Блок САЕ */
.about__sae {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-xl);
  align-items: center;
  padding: var(--gap-lg);
  background: var(--c-bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
}
@media (min-width: 768px) {
  .about__sae { grid-template-columns: 1fr 1fr; }
}
.about__sae-img {
  order: -1;
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (min-width: 768px) {
  .about__sae-img { order: 1; }
}
.about__sae-img img { width: 100%; height: auto; }

/* ---------------------------------------------------------
   9. ДИРЕКТОР
   --------------------------------------------------------- */
.director {
  padding: var(--gap-2xl) 0;
  background: var(--c-bg);
}

.director__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-xl);
  align-items: start;
}
@media (min-width: 768px) {
  .director__inner { grid-template-columns: 2fr 3fr; }
}

.director__photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.director__photo img { width: 100%; height: auto; object-fit: cover; }

.director__quote {
  position: relative;
  background: var(--c-surface);
  border-left: 4px solid var(--c-accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--gap-md) var(--gap-lg);
  margin-bottom: var(--gap-md);
}
.director__quote::before {
  content: '"';
  position: absolute;
  top: -10px; left: var(--gap-md);
  font-size: 80px;
  line-height: 1;
  color: var(--c-accent);
  opacity: .3;
  font-family: Georgia, serif;
}
.director__quote p {
  font-size: var(--fs-md);
  font-style: italic;
  color: var(--c-text);
  line-height: 1.7;
}

.director__text {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: var(--gap-lg);
}

.director__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  align-items: center;
}

/* ---------------------------------------------------------
   10. ФОРМА ЗАПРОСА КП (hidden legacy, страховка)
   --------------------------------------------------------- */
#L-Form-comm { display: none; }

/* ---------------------------------------------------------
   12. FOOTER
   --------------------------------------------------------- */
.site-footer {
  background: #0d0d0d;
  border-top: 1px solid var(--c-border);
  padding: var(--gap-xl) 0 var(--gap-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-xl);
  margin-bottom: var(--gap-lg);
}
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer__logo img {
  height: 32px;
  width: auto;
  opacity: .85;
  margin-bottom: var(--gap-sm);
}
.footer__tagline {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  line-height: 1.6;
}

.footer__col-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--gap-sm);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__links a {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  transition: color var(--dur-fast);
}
.footer__links a:hover { color: var(--c-accent); }

.footer__address {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.65;
  font-style: normal;
}

.footer__phone {
  display: block;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: var(--gap-sm);
  transition: color var(--dur-fast);
}
.footer__phone:hover { color: var(--c-accent); }

.footer__messengers {
  display: flex;
  gap: var(--gap-sm);
  margin-top: var(--gap-sm);
}
.footer__messengers a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.footer__messengers a:hover {
  border-color: var(--c-accent);
  background: rgba(254,102,44,.08);
}
.footer__messengers a img { width: 20px; height: 20px; }

/* Footer bottom */
.footer__bottom {
  border-top: 1px solid var(--c-border);
  padding-top: var(--gap-md);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

/* ---------------------------------------------------------
   13. CALLBACK MODAL (без изменений, стиль сохранён)
   --------------------------------------------------------- */
.callback-modal-new {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.callback-modal-new.active { display: flex; }
.callback-modal-new, .callback-modal-new * { box-sizing: border-box; }
.callback-modal-content {
  width: min(560px,100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  background: #1f1f1f;
  border: 2px solid #FE662C;
  border-radius: 16px;
  padding: 24px;
  color: #fff;
  position: relative;
  box-shadow: 0 16px 32px rgba(0,0,0,.35);
  font-family: inherit;
}
.callback-modal-close {
  position: absolute;
  right: 12px; top: 8px;
  font-size: 30px; line-height: 1;
  cursor: pointer;
  color: #fff;
  background: transparent;
  border: none;
}
.callback-modal-content h2 {
  margin: 0 0 16px;
  padding-right: 28px;
  font-size: 40px; line-height: 1.2;
  font-weight: 700;
}
.callback-modal-content form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.callback-modal-content input,
.callback-modal-content textarea {
  width: 100%;
  border: 1px solid #555;
  background: #fff;
  color: #111;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  margin: 0;
}
.callback-modal-content textarea { min-height: 96px; resize: vertical; }
.callback-modal-content input:focus,
.callback-modal-content textarea:focus {
  outline: none;
  border-color: #FE662C;
  box-shadow: 0 0 0 3px rgba(254,102,44,.24);
}
.callback-modal-submit {
  width: 100%; border: none; border-radius: 12px;
  background: #FE662C; color: #fff;
  font-size: 28px; font-weight: 700;
  padding: 14px 16px; cursor: pointer;
}
.callback-modal-submit:disabled { opacity: .75; cursor: wait; }
.callback-form-message {
  display: none;
  margin-top: 10px;
  font-size: 13px; line-height: 1.35;
}
.callback-form-message.success { display: block; color: #9df0b9; }
.callback-form-message.error { display: block; color: #ffb7b7; }

/* Чекбокс согласия на обработку ПД */
.callback-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-top: 4px;
}
.callback-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #FE662C;
  cursor: pointer;
}
.callback-consent span {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(240,240,240,.7);
}
.callback-consent a {
  color: #FE662C;
  text-decoration: underline;
}
.callback-consent a:hover {
  color: #d94d14;
}

@media (max-width: 640px) {
  .callback-modal-content { padding: 16px; border-radius: 14px; }
  .callback-modal-content h2 { font-size: 30px; margin-bottom: 12px; }
  .callback-modal-submit { font-size: 22px; }
}

/* ---------------------------------------------------------
   14. SCROLL INDICATOR (hero)
   --------------------------------------------------------- */
.scroll-indicator {
  display: none;
  position: absolute;
  bottom: var(--gap-lg);
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--c-text-muted);
  font-size: var(--fs-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
}
@media (min-width: 1024px) { .scroll-indicator { display: flex; } }
.scroll-indicator__line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
  animation: scrollLine 1.8s ease infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   15. СТРАНИЦА КОНТАКТОВ
   ========================================================= */

/* Hero / заголовок */
.contacts-hero {
  padding: var(--gap-xl) 0 var(--gap-lg);
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 45%, #1f1f1f 100%);
  border-left: 4px solid var(--c-accent);
  position: relative;
}
.contacts-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 55%, rgba(254,102,44,.05) 100%);
  pointer-events: none;
}
.contacts-hero .breadcrumb,
.cert-hero .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: var(--fs-base);
  color: var(--c-text-muted);
  margin-bottom: var(--gap-md);
  flex-wrap: wrap;
}
.contacts-hero .breadcrumb a,
.cert-hero .breadcrumb a { color: var(--c-text-muted); transition: color var(--dur-fast); }
.contacts-hero .breadcrumb a:hover,
.cert-hero .breadcrumb a:hover { color: var(--c-accent); }
.contacts-hero .breadcrumb span,
.cert-hero .breadcrumb span { color: var(--c-accent); }
.contacts-hero h1 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: var(--gap-sm);
}

/* Основная сетка контактов */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
  padding: var(--gap-xl) 0;
  align-items: stretch;
}
@media (min-width: 768px) {
  .contacts-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .contacts-grid { grid-template-columns: 4fr 5fr; }
}

/* Карточки инфо */
.contact-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--gap-lg);
  transition: border-color var(--dur-mid);
}
.contact-card:hover { border-color: rgba(254,102,44,.3); }
.contact-card__title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: var(--gap-md);
  display: flex;
  align-items: center;
  gap: var(--gap-xs);
}
.contact-card__title::before {
  content: '';
  display: block;
  width: 4px; height: 16px;
  background: var(--c-accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.contact-row { display: flex; flex-direction: column; gap: var(--gap-md); }
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.contact-item__label {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.contact-item__value {
  font-size: var(--fs-md);
  font-weight: var(--fw-semi);
  color: #fff;
  line-height: 1.4;
}
.contact-item__value a { color: #fff; transition: color var(--dur-fast); }
.contact-item__value a:hover { color: var(--c-accent); }
.contact-phones { display: flex; flex-direction: column; gap: 6px; }
.contact-phones a {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  letter-spacing: -.01em;
  transition: color var(--dur-fast);
}
.contact-phones a:hover { color: #fff; }

/* Карта Яндекс */
.contacts-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid var(--c-accent);
  box-shadow: 0 0 32px rgba(254,102,44,.18);
  height: 100%;
  min-height: 320px;
  background: var(--c-surface-2);
}
.contacts-map iframe,
.contacts-map > * {
  width: 100%; height: 100%;
  border: none; display: block;
  min-height: 320px;
}
.contacts-map ymaps,
.contacts-map canvas,
.contacts-map > div {
  filter: hue-rotate(10deg) saturate(1.3) brightness(0.75) sepia(0.3);
}

/* Документы */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap-md);
  padding: var(--gap-xl) 0;
}
.doc-card {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--gap-md);
  text-decoration: none;
  transition: border-color var(--dur-mid), transform var(--dur-mid), box-shadow var(--dur-mid);
}
.doc-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.doc-card__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(254,102,44,.12);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.doc-card__type {
  font-size: var(--fs-xs);
  color: var(--c-accent);
  font-weight: var(--fw-semi);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.doc-card__name {
  font-size: var(--fs-sm);
  color: #fff;
  font-weight: var(--fw-med);
  line-height: 1.3;
  margin-top: 2px;
}

/* Формы */
.forms-section {
  padding: var(--gap-xl) 0 var(--gap-2xl);
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
}
.forms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
}
@media (min-width: 768px) {
  .forms-grid { grid-template-columns: repeat(3, 1fr); }
}
.form-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--gap-lg);
  display: flex; flex-direction: column;
  gap: var(--gap-md);
}
.form-card__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: #fff;
  line-height: 1.3;
}
.form-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
  flex: 1;
}
.form-card form {
  display: flex; flex-direction: column;
  gap: var(--gap-sm);
  margin-top: auto;
}
.form-card input[type="text"],
.form-card input[type="tel"],
.form-card input[type="email"] {
  width: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: var(--fs-sm);
  color: #fff;
  font-family: inherit;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.form-card input:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(254,102,44,.18);
}
.form-card input::placeholder { color: var(--c-text-muted); }
.form-card button[type="submit"],
.form-card input[type="submit"] {
  width: 100%;
  padding: 13px;
  background: var(--c-accent);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.form-card button[type="submit"]:hover,
.form-card input[type="submit"]:hover {
  background: var(--c-accent-dark);
  transform: translateY(-1px);
}

/* ===================================================================
   16. СТРАНИЦА СЕРТИФИКАТОВ
   =================================================================== */

.cert-hero {
  padding: var(--gap-xl) 0 var(--gap-lg);
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap-lg);
  padding: var(--gap-xl) 0;
}

.cert-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--dur-mid), transform var(--dur-mid), box-shadow var(--dur-mid);
  display: flex;
  flex-direction: column;
}
.cert-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.cert-card__thumb {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--c-surface-2);
  position: relative;
}
.cert-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-mid);
}
.cert-card:hover .cert-card__thumb img {
  transform: scale(1.04);
}
.cert-card__caption {
  padding: var(--gap-sm) var(--gap-md);
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  line-height: 1.4;
  border-top: 1px solid var(--c-border);
}
.cert-card__zoom {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur-mid);
}
.cert-card:hover .cert-card__zoom {
  opacity: 1;
}
.cert-card__zoom-icon {
  width: 48px; height: 48px;
  background: var(--c-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(254,102,44,.5);
}

/* Lightbox для сертификатов */
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gap-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.cert-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.cert-lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 2px solid var(--c-accent);
  border-radius: var(--r-md);
  box-shadow: 0 0 60px rgba(254,102,44,.25);
  display: block;
}
.cert-lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 40px; height: 40px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.cert-lightbox__close:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.cert-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(36,36,36,.85);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), border-color var(--dur-fast);
  z-index: 1;
}
.cert-lightbox__nav:hover { background: var(--c-accent); border-color: var(--c-accent); }
.cert-lightbox__prev { left: -56px; }
.cert-lightbox__next { right: -56px; }
@media (max-width: 600px) {
  .cert-lightbox__prev { left: 4px; }
  .cert-lightbox__next { right: 4px; }
}

/* ===================================================================
   17. СТРАНИЦА ПРОЕКТИРОВАНИЕ
   =================================================================== */

.dev-hero {
  padding: var(--gap-xl) 0 var(--gap-lg);
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.dev-hero h1 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: var(--gap-sm);
}
.dev-hero .dev-hero__lead {
  color: var(--c-text-muted);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: var(--gap-lg);
}
.dev-hero .breadcrumb,
.dev-hero .breadcrumb a { color: var(--c-text-muted); transition: color var(--dur-fast); }
.dev-hero .breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: var(--fs-base); flex-wrap: wrap;
  margin-bottom: var(--gap-md);
}
.dev-hero .breadcrumb a:hover { color: var(--c-accent); }
.dev-hero .breadcrumb span { color: var(--c-accent); }

/* Блок с цифрами / преимуществами */
.dev-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--gap-md);
  margin-top: var(--gap-lg);
}
.dev-stat {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--r-md);
  padding: var(--gap-md) var(--gap-lg);
}
.dev-stat__num {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 4px;
}
.dev-stat__label {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  line-height: 1.4;
}

/* Галерея разработок */
.dev-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--gap-md);
  padding: var(--gap-xl) 0;
}
.dev-gallery__item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur-mid), transform var(--dur-mid), box-shadow var(--dur-mid);
}
.dev-gallery__item:hover {
  border-color: var(--c-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.dev-gallery__item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  background: var(--c-surface-2);
  display: block;
  padding: var(--gap-sm);
}
.dev-gallery__caption {
  padding: var(--gap-sm) var(--gap-md);
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  border-top: 1px solid var(--c-border);
  line-height: 1.4;
}

/* Текстово-фотографические блоки */
.dev-section {
  padding: var(--gap-xl) 0;
  border-top: 1px solid var(--c-border);
}
.dev-section--alt { background: var(--c-surface); }
.dev-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-xl);
  align-items: center;
}
@media (min-width: 768px) {
  .dev-split { grid-template-columns: 1fr 1fr; }
  .dev-split--reverse > *:first-child { order: 2; }
  .dev-split--reverse > *:last-child  { order: 1; }
}
.dev-split__img {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid var(--c-border);
}
.dev-split__img img {
  width: 100%; height: auto; display: block;
  transition: transform var(--dur-mid);
}
.dev-split__img:hover img { transform: scale(1.02); }
.dev-split__text h2 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: var(--gap-md);
}
.dev-split__text p {
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: var(--gap-md);
}
.dev-split__text p:last-child { margin-bottom: 0; }

/* Форма заявки на разработку */
.dev-form-section {
  padding: var(--gap-xl) 0 var(--gap-2xl);
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
}
.dev-form-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--gap-xl);
  max-width: 560px;
  margin: 0 auto;
}
.dev-form-card h2 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: var(--gap-sm);
}
.dev-form-card p {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin-bottom: var(--gap-lg);
}
.dev-form-card form {
  display: flex; flex-direction: column; gap: var(--gap-sm);
}
.dev-form-card input[type="text"],
.dev-form-card input[type="tel"] {
  width: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: var(--fs-sm);
  color: #fff;
  font-family: inherit;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.dev-form-card input:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(254,102,44,.18);
}
.dev-form-card input::placeholder { color: var(--c-text-muted); }
.dev-form-card input[type="submit"] {
  width: 100%;
  padding: 13px;
  background: var(--c-accent);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.dev-form-card input[type="submit"]:hover {
  background: var(--c-accent-dark);
  transform: translateY(-1px);
}

/* ===================================================================
   18. СТРАНИЦА РЕМОНТ
   =================================================================== */

.repair-hero {
  padding: var(--gap-xl) 0 var(--gap-lg);
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.repair-hero .breadcrumb,
.repair-hero .breadcrumb a { color: var(--c-text-muted); transition: color var(--dur-fast); }
.repair-hero .breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: var(--fs-base); flex-wrap: wrap; margin-bottom: var(--gap-md);
}
.repair-hero .breadcrumb a:hover { color: var(--c-accent); }
.repair-hero .breadcrumb span { color: var(--c-accent); }
.repair-hero h1 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: var(--gap-sm);
  line-height: 1.2;
}
.repair-hero__sub {
  color: var(--c-text-muted);
  font-size: var(--fs-md);
  margin-bottom: 4px;
}
.repair-hero__price {
  color: var(--c-accent);
  font-size: var(--fs-sm);
  margin-bottom: var(--gap-lg);
}

/* Сетка этапов */
.repair-stages {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-xl);
  padding: var(--gap-xl) 0;
}

.repair-stage {
  border-top: 3px solid var(--c-accent);
  padding-top: var(--gap-lg);
}
.repair-stage__header {
  display: flex; align-items: baseline; gap: var(--gap-md);
  margin-bottom: var(--gap-md);
}
.repair-stage__num {
  font-size: 3rem;
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  line-height: 1;
  opacity: .25;
  flex-shrink: 0;
}
.repair-stage h2,
.repair-stage h3,
.repair-stage h4,
.repair-stage h5 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #fff;
  margin: 0;
}
.repair-stage__list {
  color: var(--c-text-muted);
  line-height: 1.9;
  font-size: var(--fs-sm);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--gap-lg) 0;
}
.repair-stage__list li::before {
  content: '— ';
  color: var(--c-accent);
}
.repair-stage__models {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--r-sm);
  padding: var(--gap-sm) var(--gap-md);
  margin-bottom: var(--gap-lg);
  line-height: 1.6;
}

/* Фото-сетка этапа */
.repair-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--gap-md);
  margin-top: var(--gap-md);
}
.repair-photo-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  display: block;
  transition: transform var(--dur-mid), border-color var(--dur-mid);
}
.repair-photo-grid img:hover {
  transform: scale(1.03);
  border-color: var(--c-accent);
}
/* Первый этап — портретные фото 2:3 */
.repair-photo-grid--portrait img {
  aspect-ratio: 2/3;
}

/* Блок «если ремонт невозможен» */
.repair-cta-dev {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-accent);
  border-radius: var(--r-lg);
  padding: var(--gap-xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
  align-items: center;
}
@media (min-width: 640px) {
  .repair-cta-dev { grid-template-columns: auto 1fr; }
}
.repair-cta-dev img {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.repair-cta-dev h2 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: var(--gap-sm);
}
.repair-cta-dev p {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-bottom: var(--gap-md);
}

/* Форма заявки на ремонт (переиспользуем .dev-form-card) */

/* ============================================================
   17. СТРАНИЦА КАТАЛОГА РАДИАТОРОВ (products/index.php)
   ============================================================ */

.catalog-page-main {
  background: var(--c-bg);
  padding-top: var(--gap-lg);
  padding-bottom: var(--gap-2xl);
  min-height: 60vh;
}

.catalog-page-main .container {
  max-width: 90vw;
}

.catalog-hero {
  margin-bottom: 24px;
}

.catalog-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.catalog-subtitle {
  color: var(--c-text-muted);
}

/* Фильтры */
.catalog-filters {
  padding: 28px;
  border: 2px solid var(--c-accent);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(254,102,44,.2) 0%, rgba(254,102,44,0) 45%),
    radial-gradient(circle at bottom left, rgba(255,170,130,.16) 0%, rgba(255,170,130,0) 50%),
    var(--c-surface);
  margin-bottom: 20px;
  width: 100%;
  box-shadow: 0 0 0 2px rgba(255,85,62,.18), 0 14px 30px rgba(0,0,0,.35);
}

.filter-label {
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  font-size: 20px;
  letter-spacing: .2px;
}

.search-wrap   { margin-bottom: 26px; }
.manufacturer-wrap { margin-bottom: 26px; }

/* Поисковая строка */
.catalog-search {
  width: 100%;
  border: 2px solid #ff8a58;
  border-radius: 20px;
  padding: 22px 24px;
  font-size: 20px;
  font-weight: 500;
  outline: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
  background: linear-gradient(180deg,#fff 0%,#ffe8de 100%);
  color: #1f1f1f;
}
.catalog-search:hover { transform: translateY(-1px); border-color: #fe662c; }
.catalog-search:focus {
  border-color: #fe662c;
  box-shadow: 0 0 0 5px rgba(254,102,44,.24), 0 14px 26px rgba(254,102,44,.28);
  background: #fff;
}

/* Дропдаун производителя */
.manufacturer-dropdown { position: relative; }

.manufacturer-dropdown-button {
  width: 100%;
  border: 2px solid #ff8a58;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(180deg,#fff 0%,#ffe8de 100%);
  color: #1f1f1f;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.manufacturer-dropdown-button:hover { border-color: var(--c-accent); }
.manufacturer-dropdown-button:focus-visible {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(254,102,44,.2);
  background: #fff;
}

.manufacturer-selected-logo {
  width: 56px; height: 32px; border-radius: 8px; flex: 0 0 56px;
  background: #f4f4f4;
  background-size: contain; background-position: center; background-repeat: no-repeat;
}
.manufacturer-selected-logo.is-hidden { display: none; }
.manufacturer-selected-logo.is-all-brands-logo {
  background-image: none !important;
  display: flex; align-items: center; justify-content: center;
  color: #1f1f1f; font-weight: 800; font-size: 12px;
  line-height: 1.05; padding: 0 6px; text-align: center; text-transform: uppercase;
}

.manufacturer-selected-label { flex: 1 1 auto; text-align: left; display: block; }
.manufacturer-dropdown-arrow  { color: #6a6a6a; transition: transform .2s ease; }
.manufacturer-dropdown.open .manufacturer-dropdown-arrow { transform: rotate(180deg); }

.manufacturer-dropdown-menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20;
  display: none;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
  max-height: 520px; overflow-y: auto;
  padding: 10px;
  border-radius: 14px;
  border: 3px solid #ff8a58;
  background: var(--c-surface-2);
  box-shadow: 0 16px 30px rgba(0,0,0,.35);
}
.manufacturer-dropdown.open .manufacturer-dropdown-menu { display: grid; }

.manufacturer-dropdown-item {
  width: 100%; border: 0; border-radius: 10px;
  background: transparent; color: #fff;
  padding: 10px 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  min-height: 116px; cursor: pointer; text-align: center;
}
.manufacturer-dropdown-item:hover,
.manufacturer-dropdown-item.is-active { background: rgba(254,102,44,.18); }

.manufacturer-dropdown-item-logo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 10px; z-index: 0;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  pointer-events: none; padding: 10px; box-sizing: border-box;
}

.manufacturer-dropdown-item > span:not(.manufacturer-dropdown-item-logo) {
  position: relative; z-index: 2;
  font-weight: 800; font-size: 16px; line-height: 1.1; color: #fff;
  -webkit-text-stroke: 2px #000;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
  display: none;
}
.manufacturer-dropdown-item > span.manufacturer-dropdown-item-label-all {
  display: block; color: #111; -webkit-text-stroke: 0; text-shadow: none;
  font-size: 22px; letter-spacing: .2px;
}
.manufacturer-dropdown-item[data-manufacturer-id=""] .manufacturer-dropdown-item-logo {
  background-image: none !important; background-color: #fff !important; border: 1px solid #e9e9e9;
}
.manufacturer-dropdown-item[data-manufacturer-id=""] { background: var(--c-surface-2); }

/* Категории */
.category-wrap  { border: none; }
.category-grid  { display: grid; grid-template-columns: repeat(2,minmax(220px,1fr)); gap: 14px 18px; }

.category-option {
  display: flex; align-items: center; gap: 14px;
  font-size: 18px; color: #fff; font-weight: 600;
  padding: 14px 16px; border-radius: 16px;
  border: 1px solid #ff9b70;
  background: linear-gradient(135deg,rgba(63,63,63,.95) 0%,rgba(51,51,51,.95) 100%);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.category-option:hover {
  transform: translateY(-1px);
  border-color: #ff9b70;
  box-shadow: 0 10px 20px rgba(0,0,0,.2);
  background: linear-gradient(135deg,rgba(75,75,75,.95) 0%,rgba(61,61,61,.95) 100%);
}

.category-option input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 10px; border: 2px solid #ff9d75;
  background: #fff; display: grid; place-content: center;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.category-option input[type="checkbox"]:hover { transform: scale(1.06); border-color: var(--c-accent); }
.category-option input[type="checkbox"]:checked {
  border-color: var(--c-accent); background-color: #fff2ec;
  background-repeat: no-repeat; background-position: center; background-size: 28px 28px;
  background-image: url("../products/img/Checkbox_logo.png");
  animation: catalog-checkbox-pop .22s ease;
}
.category-option input[type="checkbox"]:focus-visible {
  outline: none; box-shadow: 0 0 0 3px rgba(254,102,44,.3);
}

@keyframes catalog-checkbox-pop {
  0%   { transform: scale(.85); }
  70%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* Результаты */
.results-info { margin-bottom: 14px; color: var(--c-text-muted); }

/* Сетка карточек */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.catalog-card {
  background: var(--c-surface);
  border: 2px solid var(--c-accent);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
  display: flex; flex-direction: column; height: 100%;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  transform-origin: center center;
}
.catalog-card:hover { transform: scale(1.04); box-shadow: 0 14px 26px rgba(0,0,0,.38); z-index: 2; }

.catalog-card-image {
  background: transparent;
  aspect-ratio: 4/3; min-height: 220px;
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 10px 14px 14px;
}
.catalog-card-image img { width: 100%; height: 100%; object-fit: contain; background: transparent; }

.catalog-card-body {
  padding: 14px 14px 8px;
  display: flex; flex-direction: column; gap: 8px;
  margin-top: auto;
}
.catalog-card-title    { font-size: 18px; line-height: 1.35; color: #fff; text-transform: uppercase; }
.catalog-card-article  { font-size: 14px; color: #fff4ef; }
.catalog-card-category { font-size: 13px; color: #fff; font-weight: 600; }
.catalog-card-description { font-size: 14px; color: #fff; margin-bottom: 8px; }

.catalog-card-link {
  margin-top: auto;
  display: inline-block; text-align: center;
  padding: 10px 12px; border-radius: 8px;
  background: var(--c-accent); color: #fff; font-weight: 600;
  transition: var(--transition);
}
.catalog-card-link:hover { background: var(--c-accent-dark); }

/* Пустое состояние */
.empty-state {
  display: none;
  margin-top: 14px; padding: 14px;
  background: #fff4f2; border: 1px solid #ffd1c9; border-radius: 8px;
  color: #9a3b2b;
}
.empty-state.active { display: block; }

/* CTA-блок "Не нашли?" */
.catalog-request-cta {
  margin-top: 28px; margin-bottom: 8px; padding: 26px;
  border: 2px solid var(--c-accent); border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(254,102,44,.22) 0%, rgba(254,102,44,0) 45%),
    linear-gradient(140deg,#1f1f1f 0%,#2d2d2d 55%,#353535 100%);
  box-shadow: 0 14px 28px rgba(0,0,0,.3);
}
.catalog-request-cta h2 { margin: 0 0 8px; color: #fff; font-size: 30px; line-height: 1.25; }
.catalog-request-subtitle { margin: 0 0 16px; color: rgba(255,255,255,.82); font-size: 16px; }

.catalog-request-form {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px;
}
.catalog-request-form input,
.catalog-request-form textarea {
  width: 100%; border: 1px solid #555; border-radius: 12px; padding: 14px 16px;
  background: #fff; color: #1f1f1f; font-size: 16px;
}
.catalog-request-form textarea { grid-column: 1/-1; resize: vertical; min-height: 110px; }
.catalog-request-form input:focus,
.catalog-request-form textarea:focus {
  outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(254,102,44,.24);
}
.catalog-request-submit {
  grid-column: 1/-1; border: none; border-radius: 12px;
  background: var(--c-accent); color: #fff;
  padding: 14px 18px; font-size: 20px; font-weight: 700; cursor: pointer;
}
.catalog-request-submit:disabled { opacity: .75; cursor: wait; }

.form-message {
  display: none;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}
.form-message.success { display: block; background: rgba(100,220,140,.15); color: #9df0b9; border: 1px solid rgba(100,220,140,.3); }
.form-message.error   { display: block; background: rgba(255,100,100,.12); color: #ffb7b7; border: 1px solid rgba(255,100,100,.25); }

/* Адаптив каталога */
@media (max-width: 1200px) {
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .manufacturer-dropdown-menu { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 968px) {
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 768px) {
  .catalog-filters { width: 100%; padding: 18px; }
  .category-grid   { grid-template-columns: 1fr; }
  .catalog-grid    { grid-template-columns: 1fr; }
  .catalog-request-cta { padding: 18px; }
  .catalog-request-cta h2 { font-size: 24px; }
  .catalog-request-form { grid-template-columns: 1fr; }
  .catalog-title { font-size: 26px; }
  .catalog-search { font-size: 18px; padding: 18px; }
  .manufacturer-dropdown-button { font-size: 16px; padding: 12px 14px; }
  .manufacturer-selected-logo { width: 48px; height: 28px; flex-basis: 48px; }
  .manufacturer-dropdown-menu { max-height: 420px; grid-template-columns: repeat(2,1fr); }
  .manufacturer-dropdown-item { padding: 10px 6px; min-height: 116px; }
  .manufacturer-dropdown-item > span:not(.manufacturer-dropdown-item-logo) {
    font-size: 14px; -webkit-text-stroke: 1.5px #000;
  }
  .manufacturer-dropdown-item > span.manufacturer-dropdown-item-label-all {
    font-size: 28px; -webkit-text-stroke: 0; text-shadow: none;
  }
  .category-option { font-size: 16px; padding: 12px 14px; }
}

/* ============================================================
   18. СТРАНИЦА ТОВАРА — секции радиаторов тепловозов
       (section-radiators/*/index.php)
   ============================================================ */

.product-page-main {
  background: var(--c-bg);
  padding-top: var(--gap-lg);
  padding-bottom: var(--gap-2xl);
  min-height: 60vh;
}

/* Двухколоночный layout */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  margin-bottom: var(--gap-2xl);
  align-items: start;
}

/* Галерея */
.product-main-image {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.product-main-image img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  display: block; padding: 12px;
  transition: opacity .2s ease;
}
.product-thumbnails {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;
}
.product-thumbnails .thumb {
  width: 80px; height: 64px; object-fit: contain;
  border: 2px solid var(--c-border); border-radius: var(--r-sm);
  cursor: pointer; background: var(--c-surface);
  transition: border-color .2s ease;
  padding: 4px;
}
.product-thumbnails .thumb:hover,
.product-thumbnails .thumb.active { border-color: var(--c-accent); }

.product-gallery-note {
  margin-top: 12px;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  border-left: 3px solid var(--c-accent);
  padding-left: var(--gap-sm);
  line-height: 1.5;
}

/* Инфо-блок */
.product-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: var(--gap-sm);
  line-height: 1.2;
}
.product-analog {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--gap-md);
}
.product-analog strong { color: var(--c-accent); }

.product-price-block {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: var(--gap-md);
  padding: var(--gap-sm) var(--gap-md);
  background: var(--c-surface);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--r-sm);
}
.product-price-label { color: var(--c-text-muted); font-size: var(--fs-sm); }
.product-price-value { color: #fff; font-size: var(--fs-lg); font-weight: var(--fw-bold); }

.product-actions {
  display: flex; flex-wrap: wrap; gap: var(--gap-sm);
  margin-bottom: var(--gap-md);
}
.btn { display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: var(--r-md); border: none;
  font-size: var(--fs-base); font-weight: var(--fw-semibold);
  cursor: pointer; text-decoration: none; transition: var(--transition); }
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(254,102,44,.4); }
.btn--secondary { background: var(--c-surface-2); color: var(--c-text); border: 1px solid var(--c-border); }
.btn--secondary:hover { border-color: var(--c-accent); color: #fff; transform: translateY(-2px); }

.product-docs { margin-bottom: var(--gap-md); }
.product-doc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-sm); color: var(--c-accent);
  text-decoration: underline; text-decoration-color: transparent;
  transition: text-decoration-color .2s ease;
}
.product-doc-link:hover { text-decoration-color: var(--c-accent); }

.product-payment-info {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.8;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: var(--gap-md);
}
.product-payment-info strong { color: var(--c-text); }

/* Технические характеристики */
.product-specs-section,
.product-usage-section,
.product-related-section {
  margin-bottom: var(--gap-2xl);
}
.product-specs-section h2,
.product-usage-section h2,
.product-related-section h2 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: var(--gap-md);
  border-left: 4px solid var(--c-accent);
  padding-left: var(--gap-sm);
}

.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.product-specs-table tr { border-bottom: 1px solid var(--c-border); }
.product-specs-table tr:last-child { border-bottom: none; }
.product-specs-table th {
  text-align: left; padding: 10px 16px 10px 0;
  color: var(--c-text-muted); font-weight: 500;
  width: 55%;
}
.product-specs-table td {
  padding: 10px 0;
  color: #fff; font-weight: 600;
}

/* Применение */
.product-usage-text p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: var(--gap-sm);
}
.product-usage-text strong { color: var(--c-text); }

/* Похожие товары */
.product-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--gap-md);
}
.product-related-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: var(--gap-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.product-related-card:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.product-related-card__title { font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--c-accent); }
.product-related-card__sub   { font-size: var(--fs-xs); color: var(--c-text-muted); }

/* Курсор-лупа на главном фото */
.product-main-image { cursor: zoom-in; }

/* Лайтбокс галереи товара */
.product-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
}
.product-lightbox.active { display: flex; }

.product-lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--r-md);
  display: block;
  user-select: none;
  transition: opacity .15s ease;
}

.product-lightbox__close {
  position: absolute;
  top: 18px; right: 22px;
  background: none; border: none;
  color: #fff; font-size: 38px; line-height: 1;
  cursor: pointer; opacity: .75;
  transition: opacity .15s ease;
}
.product-lightbox__close:hover { opacity: 1; }

.product-lightbox__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none; color: #fff;
  width: 48px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: var(--r-sm);
  font-size: 28px; line-height: 1;
  transition: background .15s ease;
}
.product-lightbox__nav:hover { background: rgba(254,102,44,.55); }
.product-lightbox__prev { left: 14px; }
.product-lightbox__next { right: 14px; }

.product-lightbox__counter {
  position: absolute;
  bottom: 18px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-size: var(--fs-sm);
}

/* Адаптив страницы товара */
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-title { font-size: var(--fs-lg); }
}
@media (max-width: 480px) {
  .product-actions { flex-direction: column; }
  .btn { width: 100%; }
  .product-specs-table th,
  .product-specs-table td { padding: 8px 0; }
  .product-thumbnails .thumb { width: 64px; height: 52px; }
}


/* ============================================================
   19. ÏÅÐÅÊËÞ×ÀÒÅËÜ ßÇÛÊÀ RU/EN (ÿçûêîâàÿ êíîïêà)
   ============================================================ */
.izr-lang-switch {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--c-accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(254,102,44,.45), 0 2px 6px rgba(0,0,0,.35);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.izr-lang-switch:hover,
.izr-lang-switch:focus-visible {
  transform: translateY(-2px) scale(1.04);
  background: var(--c-accent-dark);
  box-shadow: 0 8px 26px rgba(254,102,44,.55), 0 3px 10px rgba(0,0,0,.4);
  outline: none;
}
.izr-lang-switch:active { transform: translateY(0) scale(.98); }

.izr-lang-switch__globe {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.izr-lang-switch__label {
  line-height: 1;
}

/* Ïîäñêàçêà âòîðîãî ÿçûêà — ïðèãëóø¸ííàÿ */
.izr-lang-switch__hint {
  line-height: 1;
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,.45);
  font-weight: 600;
  opacity: .8;
  font-size: 13px;
}

/* Âàðèàíò íà EN-ñòðàíèöàõ: èíâåðñèÿ, ÷òîáû êíîïêà îñòàâàëàñü çàìåòíîé */
.izr-lang-switch--en {
  background: #fff;
  color: var(--c-accent);
  box-shadow: 0 4px 18px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3);
}
.izr-lang-switch--en:hover,
.izr-lang-switch--en:focus-visible {
  background: #f0f0f0;
  box-shadow: 0 8px 26px rgba(0,0,0,.5), 0 3px 10px rgba(0,0,0,.35);
}
.izr-lang-switch--en .izr-lang-switch__hint {
  border-left-color: rgba(254,102,44,.4);
  color: var(--c-accent);
}

/* Ìîáèëüíàÿ âåðñèÿ: ÷óòü êîìïàêòíåå, íî òàê æå çàìåòíî */
@media (max-width: 600px) {
  .izr-lang-switch {
    right: 12px;
    bottom: 12px;
    padding: 9px 14px;
    font-size: 13px;
  }
  .izr-lang-switch__globe { width: 17px; height: 17px; }
  .izr-lang-switch__hint { font-size: 12px; }
}
