:root {
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --text: #0D1117;
  --muted: #626D7C;
  --line: #E1E4EA;
  --line-dark: #C8CDD5;
  --orange: #FF4400;
  --orange-hover: #E03C00;
  --navy: #0B192C;
  --green: #059669;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.main-content {
  flex: 1 0 auto;
}

.nowrap-val {
  white-space: nowrap;
}

/* HEADER */
.header {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}

.work-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-align: right;
  line-height: 1.5;
}
.work-meta strong { color: var(--text); }

/* ОРАНЖЕВЫЙ АКЦЕНТНЫЙ ТЕЛЕФОН В ШАПКЕ */
.phone-link {
  font-size: 19px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  font-family: var(--mono);
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color 0.2s;
}
.phone-link:hover {
  color: var(--orange-hover);
}

.btn-contact {
  background: var(--navy);
  color: #fff;
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-contact:hover { background: var(--orange); }
.btn-contact svg { width: 12px; height: 12px; stroke: currentColor; }

/* МОБИЛЬНЫЕ КНОПКИ ДЕЙСТВИЯ (СКРЫТЫ НА ДЕСКТОПЕ) */
.mobile-actions {
  display: none;
}

.mobile-menu-meta {
  display: none;
}

/* NAVIGATION */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 20px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--orange); }

.dropdown-arrow {
  margin-top: 1px;
  stroke: currentColor;
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-search input {
  background: var(--bg);
  border: 1px solid var(--line-dark);
  padding: 8px 16px 8px 32px;
  font-size: 12px;
  font-family: var(--mono);
  width: 220px;
  outline: none;
  transition: all 0.2s;
}
.nav-search input:focus { border-color: var(--navy); width: 280px; background: #fff; }
.nav-search svg {
  position: absolute;
  left: 10px;
  width: 14px;
  height: 14px;
  stroke: var(--muted);
  fill: none;
}

/* HERO SECTION */
.hero {
  padding: 40px 0 50px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: stretch;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.tag-indicator {
  width: 8px;
  height: 8px;
  background: var(--orange);
  display: inline-block;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 28px;
  word-break: break-word;
}

.hero-title mark {
  background: none;
  color: var(--muted);
  font-weight: 400;
}

.hero-lead {
  font-size: 17px;
  color: #374151;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
}

.btn-main {
  background: var(--orange);
  color: #fff;
  padding: 18px 36px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  text-align: center;
}
.btn-main:hover { background: var(--orange-hover); }

.btn-sub {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line-dark);
  padding: 18px 32px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
}
.btn-sub:hover { border-color: var(--text); background: var(--bg); }

/* STATS TABLE */
.stats-table {
  border-top: 2px solid var(--text);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 24px;
}

.stat-cell {
  padding-right: 20px;
  border-right: 1px solid var(--line);
}
.stat-cell:last-child { border-right: none; }

.stat-num {
  font-size: 32px;
  font-weight: 900;
  font-family: var(--mono);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.stat-caption {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* HARDWARE PANEL */
.hero-hardware {
  background: #fff;
  border: 1px solid var(--line-dark);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
}

.panel-header {
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FAFBFD;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  gap: 12px;
}

.panel-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
}

.status-ping {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.hardware-stage {
  flex: 1;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #FFFFFF 0%, #EEF2F6 100%);
  position: relative;
  min-height: 440px;
  overflow: hidden;
}

.equipment-photo {
  max-width: 86%;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(11, 25, 44, 0.15));
}

/* HOTSPOTS */
.hotspot {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 10;
}

.hotspot-pin {
  width: 24px;
  height: 24px;
  background: #fff;
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  box-shadow: 0 4px 10px rgba(255, 68, 0, 0.3);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.hotspot:hover .hotspot-pin { transform: scale(1.15); background: var(--orange); color: #fff; }

.hotspot-card {
  background: var(--navy);
  color: #fff;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.hotspot-card span {
  display: block;
  color: #8E9BAE;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
}

.hs-1 { top: 12%; right: 15%; }
.hs-2 { bottom: 22%; left: 10%; }

.panel-specs {
  border-top: 1px solid var(--line);
  background: #FAFBFD;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  font-family: var(--mono);
}

.spec-block {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}
.spec-block:last-child { border-right: none; }

.spec-key {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.spec-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

/* QUICK ACCESS GRID */
.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.quick-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.quick-card:hover {
  border-color: var(--navy);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.quick-card-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.quick-card-tag--orange { color: var(--orange); }
.quick-card-tag--navy { color: var(--navy); }
.quick-card-tag--green { color: var(--green); }

.dropdown-arrow-card {
  stroke: currentColor;
}

.quick-card-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quick-card-title svg {
  width: 18px !important;
  height: 18px !important;
  stroke: var(--orange);
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.2s;
}
.quick-card:hover .quick-card-title svg { transform: translateX(4px); }

.quick-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* FOOTER (STICKY) */
.footer {
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 36px 0;
  margin-top: 80px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
  gap: 20px;
}

/* ОРАНЖЕВЫЙ ТЕЛЕФОН В ПОДВАЛЕ */
.footer-phone {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-phone:hover {
  color: var(--orange-hover);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--orange); }

/* =========================================================
   INNER PAGES (LAYOUT & SIDEBAR)
========================================================= */

.inner-page {
  padding-top: 24px;
  padding-bottom: 60px;
}

.breadcrumbs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 12px;
  font-family: var(--mono);
  gap: 16px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  line-height: 1.4;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumbs a:hover { color: var(--orange); }
.bc-sep { color: var(--line-dark); }
.bc-current { color: var(--text); font-weight: 600; }

.back-link {
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s;
}
.back-link:hover { color: var(--orange); }

.inner-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* SIDEBAR */
.inner-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-menu {
  list-style: none;
  background: #fff;
  border: 1px solid var(--line-dark);
}

.sidebar-menu li {
  border-bottom: 1px solid var(--line);
}
.sidebar-menu li:last-child { border-bottom: none; }

.sidebar-menu a {
  display: block;
  padding: 14px 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s;
}
.sidebar-menu a:hover {
  background: var(--bg);
  color: var(--orange);
  padding-left: 24px;
}

.sidebar-banners {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s;
}

.sidebar-btn--white {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line-dark);
}
.sidebar-btn--white:hover {
  border-color: var(--navy);
  background: var(--bg);
}

.sidebar-btn--orange {
  background: var(--orange);
  color: #fff;
  border: 1px solid var(--orange);
}
.sidebar-btn--orange:hover {
  background: var(--orange-hover);
}

/* INNER BODY */
.inner-body {
  background: #fff;
  border: 1px solid var(--line-dark);
  padding: 40px;
  min-width: 0; /* Предотвращает распирание грид-контейнера */
}

.page-title {
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.content-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 32px;
}

.content-paragraph {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 36px;
}

/* PRODUCTION & DELIVERY CARD */
.about-production-card {
  background: var(--bg);
  border: 1px solid var(--line-dark);
  padding: 24px;
  margin-bottom: 32px;
}

.about-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.about-map-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mono-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.about-visual-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
}

.production-types-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prod-item-preview {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px;
  text-align: center;
}

.prod-thumb {
  max-width: 100%;
  height: 90px;
  object-fit: contain;
  margin-bottom: 6px;
}

.prod-caption {
  display: block;
  font-size: 10px;
  font-family: var(--mono);
  color: var(--muted);
  line-height: 1.3;
}

.delivery-map-wrapper {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  color: var(--orange);
  background: rgba(255, 68, 0, 0.08);
  padding: 4px 8px;
}

.map-schematic-svg {
  width: 100%;
  height: 190px;
}

/* COMPANY FEATURES */
.company-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.c-feature {
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.c-feature-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
}

.c-feature-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.c-feature-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* =========================================================
   CATALOG TREE & PRODUCTS GRID
========================================================= */

.catalog-tree-box {
  background: #fff;
  border: 1px solid var(--line-dark);
}

.catalog-tree-header {
  padding: 14px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line-dark);
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.catalog-root-menu {
  list-style: none;
}

.root-item {
  border-bottom: 1px solid var(--line);
}
.root-item:last-child { border-bottom: none; }

.root-link {
  display: block;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s;
}
.root-link:hover, .root-link.active {
  color: var(--orange);
}

.catalog-sub-menu {
  list-style: none;
  background: #FAFBFD;
  border-top: 1px solid var(--line);
  padding: 8px 0;
}

.sub-link {
  display: block;
  padding: 8px 20px 8px 32px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s;
  position: relative;
}
.sub-link::before {
  content: '—';
  position: absolute;
  left: 18px;
  color: var(--line-dark);
}
.sub-link:hover, .sub-link.active {
  color: var(--text);
  font-weight: 700;
}
.sub-link.active::before {
  color: var(--orange);
}

/* CATALOG HEAD */
.catalog-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 32px;
}

.catalog-counter-text {
  font-size: 12px;
  color: var(--muted);
}

.sort-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-right: 8px;
}
.sort-badge {
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 10px;
  background: var(--navy);
  color: #fff;
}

/* PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--navy);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.product-thumb-wrap {
  background: radial-gradient(circle at center, #FFFFFF 0%, #EEF2F6 100%);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border-bottom: 1px solid var(--line);
  position: relative;
  text-decoration: none;
}

.product-img {
  max-width: 80%;
  max-height: 150px;
  object-fit: contain;
  transition: transform 0.2s;
}
.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 68, 0, 0.1);
  color: var(--orange);
  border: 1px solid rgba(255, 68, 0, 0.3);
  font-size: 9px;
  padding: 2px 6px;
  text-transform: uppercase;
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.product-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}
.product-title a {
  color: var(--text);
  text-decoration: none;
}
.product-title a:hover { color: var(--orange); }

.product-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.btn-card-more {
  background: var(--bg);
  border: 1px solid var(--line-dark);
  color: var(--text);
  text-align: center;
  padding: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--mono);
  transition: all 0.15s;
}
.btn-card-more:hover {
  background: #fff;
  border-color: var(--text);
}

.btn-card-order {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--mono);
  transition: background 0.15s;
}
.btn-card-order:hover {
  background: var(--orange);
}

/* =========================================================
   DETAIL PRODUCT PAGE
========================================================= */

.product-detail-wrap {
  padding: 36px;
}

.detail-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-main-img-box {
  background: radial-gradient(circle at center, #FFFFFF 0%, #EEF2F6 100%);
  border: 1px solid var(--line);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.detail-main-img {
  max-width: 85%;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1));
}

.detail-thumbs {
  display: flex;
  gap: 12px;
}

.detail-thumb {
  width: 70px;
  height: 70px;
  border: 1px solid var(--line-dark);
  background: #fff;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.detail-thumb.active {
  border-color: var(--orange);
}
.detail-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.detail-order-box {
  display: flex;
  flex-direction: column;
}

.detail-short-desc {
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 24px;
}

.detail-quick-specs {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 16px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}

.dq-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line-dark);
  padding-bottom: 6px;
}
.dq-row:last-child { border-bottom: none; padding-bottom: 0; }
.dq-row span { color: var(--muted); }
.dq-row strong { color: var(--text); }

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* TABS */
.detail-tabs-section {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.tabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table td { padding: 12px 16px; }
.specs-table td:first-child { color: var(--muted); width: 40%; background: var(--bg); }
.specs-table td:last-child { color: var(--text); font-weight: 600; }

/* =========================================================
   CLIENTS GRID (BITRIX: news.list)
========================================================= */

.clients-page-wrap {
  padding: 40px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.client-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.client-card:hover {
  transform: translateY(-3px);
  border-color: var(--navy);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.client-logo-box {
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.client-logo-img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
  filter: grayscale(15%);
  transition: filter 0.2s, transform 0.2s;
}
.client-card:hover .client-logo-img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.client-title {
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
  font-weight: 600;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

/* =========================================================
   REVIEWS & LIGHTBOX MODAL (BITRIX: news.list)
========================================================= */

/* Жестко переопределяем сетку страницы отзывов: основной контент на всю ширину + сайдбар 320px */
.inner-layout.reviews-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 320px !important;
  gap: 36px;
  width: 100%;
}

.reviews-body {
  padding: 40px;
  width: 100%;
  min-width: 0;
}

/* Сетка отзывов: 3 просторные колонки с авто-заполнением */
.reviews-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px;
  width: 100%;
}

.review-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy);
  box-shadow: 0 16px 32px rgba(11, 25, 44, 0.08);
}

.review-doc-thumb {
  position: relative;
  background: #FAFBFD;
  border-bottom: 1px solid var(--line);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 270px; /* Полноценная вертикальная высота под лист А4 */
  overflow: hidden;
}

.review-thumb-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}
.review-card:hover .review-thumb-img {
  transform: scale(1.04);
}

.review-card-title {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  text-align: center;
  background: #fff;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--line);
}

.doc-hover-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 25, 44, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s;
  color: #fff;
  font-size: 11px;
  font-family: var(--mono);
  text-transform: uppercase;
}
.review-card:hover .doc-hover-overlay {
  opacity: 1;
}

/* ФОРМА ОТЗЫВА В САЙДБАРЕ */
.review-form-card {
  background: #fff;
  border: 1px solid var(--line-dark);
}

.review-form-header {
  padding: 16px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.review-form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line-dark);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--navy);
  background: #fff;
}

.captcha-block {
  gap: 6px;
}
.captcha-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
}
.captcha-box {
  background: #E4E8F0;
  padding: 8px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 6px;
  color: var(--navy);
  user-select: none;
  border: 1px dashed var(--line-dark);
}

.form-btn-submit {
  width: 100%;
  padding: 12px;
  font-size: 11px;
}

/* LIGHTBOX МОДАЛЬНОЕ ОКНО */
.doc-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.doc-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.doc-modal-backdrop {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(9, 10, 13, 0.85);
  backdrop-filter: blur(8px);
}

.doc-modal-window {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 16px;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  border: 1px solid var(--line-dark);
}

.doc-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: transform 0.2s;
}
.doc-modal-close:hover {
  transform: scale(1.15);
  color: var(--orange);
}

.doc-modal-caption {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.doc-modal-img-wrap {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-modal-img-wrap img {
  max-width: 100%;
  max-height: calc(85vh - 50px);
  object-fit: contain;
  display: block;
}

/* =========================================================
   CONTACTS PAGE LAYOUT
========================================================= */

.contacts-body {
  padding: 40px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
  align-items: stretch;
}

.contacts-info-pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card-item {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s, background 0.2s;
}
.contact-card-item:hover {
  border-color: var(--navy);
  background: #fff;
}

.contact-item-tag {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact-item-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.contact-phone-accent {
  color: var(--orange);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 20px;
  transition: color 0.15s;
}
.contact-phone-accent:hover {
  color: var(--orange-hover);
}

.contact-mail-link {
  color: var(--navy);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 15px;
  transition: color 0.15s;
}
.contact-mail-link:hover {
  color: var(--orange);
}

.contact-item-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* КАРТА */
.contacts-map-pane {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-dark);
  background: #fff;
}

.map-container-box {
  flex: 1;
  min-height: 460px;
  width: 100%;
  position: relative;
  background: var(--bg);
}

.yandex-map-iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: block;
}

.map-foot-meta {
  padding: 12px 20px;
  background: #FAFBFD;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}

/* =========================================================
   ARTICLES & CIP CALCULATION (BITRIX: news)
========================================================= */

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-list-item {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.article-list-item:hover {
  border-color: var(--navy);
  background: #fff;
}

.article-meta {
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.article-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}
.article-title a {
  color: var(--text);
  text-decoration: none;
}
.article-title a:hover {
  color: var(--orange);
}

.article-intro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.article-link-arrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.15s;
}
.article-link-arrow:hover {
  color: var(--orange);
}

/* ДЕТАЛЬНАЯ СТАТЬЯ */
.article-detail-body {
  padding: 40px;
}

.article-detail-meta {
  display: flex;
  gap: 24px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 16px;
}

/* БЛОК СРАВНЕНИЯ CIP */
.cip-calc-card {
  background: var(--bg);
  border: 1px solid var(--line-dark);
  margin-bottom: 32px;
}

.cip-calc-header {
  padding: 12px 20px;
  border-bottom: 1px solid var(--line-dark);
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
}

.cip-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-dark);
}

.cip-col {
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cip-col--solution {
  background: #FAFBFD;
  border-left: 3px solid var(--orange);
}

.cip-col-badge {
  display: inline-block;
  font-size: 9px;
  padding: 3px 8px;
  background: rgba(255, 68, 0, 0.1);
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 12px;
  align-self: flex-start;
}

.cip-title-head {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.cip-stat-main {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 16px;
}

.cip-details-list {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
  line-height: 1.5;
}
.cip-details-list strong {
  color: var(--text);
}

.cip-cost-box, .cip-economy-res {
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cip-cost-box span, .cip-economy-res span {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
}

/* CTA БЛОК В СТАТЬЕ */
.article-cta-box {
  margin-top: 40px;
  background: var(--bg);
  border: 1px solid var(--line-dark);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.article-cta-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.article-cta-desc {
  font-size: 13px;
  color: var(--muted);
}

/* =========================================================
   TEAM SECTION (BITRIX: news.list)
========================================================= */

.team-body {
  padding: 40px;
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 24px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.team-card:hover {
  background: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.team-photo-wrap {
  width: 100px;
  height: 120px;
  background: #fff;
  border: 1px solid var(--line-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
  transition: filter 0.2s, transform 0.2s;
}

.team-card:hover .team-photo {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.team-no-photo {
  width: 100%;
  height: 100%;
  background: var(--navy);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}

.team-role {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.team-email {
  font-size: 12px;
  color: var(--orange);
  text-decoration: none;
  display: inline-block;
  margin-top: 4px;
  transition: color 0.15s;
}

.team-email:hover {
  color: var(--orange-hover);
  text-decoration: underline;
}

.team-action {
  align-self: center;
}

.team-more-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line-dark);
  transition: all 0.2s;
  white-space: nowrap;
}

.team-card:hover .team-more-link {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* =========================================================
   PODBOR EQUIPMENT (WIZARD FORM)
========================================================= */

.podbor-page-body {
  padding: 40px;
}

.wizard-steps-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  margin-bottom: 32px;
}

.wizard-step {
  background: var(--bg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.step-idx {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.step-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wizard-step.active {
  background: #fff;
  border-top: 3px solid var(--orange);
}
.wizard-step.active .step-idx { color: var(--orange); }
.wizard-step.active .step-text { color: var(--navy); font-weight: 700; }

.wizard-panel {
  display: none;
}
.wizard-panel.active {
  display: block;
}

.form-section-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 24px;
  color: var(--navy);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

/* RADIO PILLS */
.radio-pill-group {
  display: flex;
  gap: 8px;
}

.radio-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--line-dark);
  padding: 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.radio-pill input { accent-color: var(--orange); }
.radio-pill:hover { border-color: var(--navy); background: #fff; }

/* ШКАЛА ВЯЗКОСТИ */
.viscosity-widget-box {
  background: var(--bg);
  border: 1px solid var(--line-dark);
  padding: 24px;
  margin-top: 24px;
}

.visc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.visc-display {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
}

.viscosity-range {
  width: 100%;
  accent-color: var(--orange);
  cursor: pointer;
}

.viscosity-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
  flex-wrap: wrap;
  gap: 4px;
}

/* ЗАГРУЗКА ТЗ */
.file-upload-block {
  background: var(--bg);
  border: 1px dashed var(--line-dark);
  padding: 20px 24px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.file-upload-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}
.file-upload-hint {
  font-size: 11px;
  color: var(--muted);
}

.wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 24px;
}

/* =========================================================
   RESPONSIVE (МЕДИАЗАПРОСЫ)
========================================================= */

@media (max-width: 1200px) {
  .hero-title { font-size: 46px; }
  .nav-menu { gap: 20px; }
  .header-right { gap: 20px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 992px) {
  .container { padding: 0 24px; }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 40px; }
  .quick-access-grid { grid-template-columns: 1fr; }
  .header-top { flex-wrap: wrap; }
  .work-meta { display: none; }
  .inner-layout, .inner-layout.reviews-layout { grid-template-columns: 1fr !important; gap: 32px; }
  .about-visual-grid { grid-template-columns: 1fr; }
  .inner-body { padding: 24px; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .contacts-grid { grid-template-columns: 1fr; gap: 24px; }
  .map-container-box, .yandex-map-iframe { min-height: 380px; }
  .cip-compare-grid { grid-template-columns: 1fr; }
  .article-cta-box { flex-direction: column; align-items: flex-start; }
  .article-cta-box button { width: 100%; }
  .team-card { grid-template-columns: 80px 1fr; gap: 16px; }
  .team-photo-wrap { width: 80px; height: 100px; }
  .team-action { grid-column: 1 / -1; width: 100%; }
  .team-more-link { display: block; text-align: center; width: 100%; }
  .wizard-steps-bar { grid-template-columns: 1fr 1fr; }
  .form-grid-3, .form-grid-2 { grid-template-columns: 1fr; }
  .file-upload-block { flex-direction: column; align-items: flex-start; }
}

/* МОБИЛЬНЫЙ РЕЖИМ (<= 768px): КОМПАКТНАЯ ШАПКА 56px С БУРГЕРОМ */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  /* Фиксированная шапка 56px без лишних этажей */
  .header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
  }

  .header-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: none;
    gap: 0;
  }

  .brand-logo-img {
    height: 48px;
    max-width: 260px;
  }

  /* Скрываем десктопный блок контактов */
  .header-right {
    display: none;
  }

  /* Блок мобильных кнопок: телефон + гамбургер */
  .mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-call-btn {
    width: 38px;
    height: 38px;
    background: var(--orange);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(255, 68, 0, 0.25);
    transition: background 0.15s;
  }
  .mobile-call-btn:hover {
    background: var(--orange-hover);
  }

  .burger-toggle {
    width: 38px;
    height: 38px;
    background: var(--bg);
    border: 1px solid var(--line-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
  }

  .burger-bar {
    width: 18px;
    height: 2px;
    background-color: var(--navy);
    transition: transform 0.25s, opacity 0.25s;
  }

  /* Анимация бургера в крестик */
  .burger-toggle.is-open .burger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .burger-toggle.is-open .burger-bar:nth-child(2) {
    opacity: 0;
  }
  .burger-toggle.is-open .burger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Выдвижное мобильное меню */
  .main-nav {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    height: calc(100vh - 56px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 24px 20px 40px;
    gap: 20px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  }

  .main-nav.is-active {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav-menu li {
    border-top: 1px solid var(--line);
  }

  .nav-menu a {
    display: flex;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    width: 100%;
  }

  .nav-search {
    width: 100%;
    margin-top: 4px;
  }
  .nav-search input {
    width: 100% !important;
    padding: 12px 16px 12px 38px;
    font-size: 13px;
    background: var(--bg);
  }
  .nav-search svg {
    left: 12px;
    width: 16px;
    height: 16px;
  }

  /* Мета-блок контактов внутри шторки */
  .mobile-menu-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
  }

  .mob-work-time {
    font-size: 11px;
    color: var(--muted);
  }

  .mob-phone {
    font-size: 20px;
    font-weight: 800;
    color: var(--orange);
    text-decoration: none;
  }

  .mob-feedback-btn {
    width: 100%;
    padding: 14px;
    font-size: 12px;
  }

  /* Внутренние секции */
  .hero { padding: 24px 0 36px; }
  .hero-title { font-size: 30px; margin-bottom: 16px; }
  .hero-lead { font-size: 15px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; gap: 12px; margin-bottom: 36px; }
  .btn-main, .btn-sub { width: 100%; padding: 15px 20px; }

  .stats-table { grid-template-columns: 1fr; gap: 16px; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 12px 0; }
  .stat-cell:last-child { border-bottom: none; }
  .stat-num { font-size: 26px; }

  .hardware-stage { min-height: 340px; padding: 20px; }
  .equipment-photo { max-width: 95%; max-height: 280px; }

  .panel-specs { grid-template-columns: 1fr 1fr; }
  .spec-block:nth-child(2) { border-right: none; }
  .spec-block:nth-child(1), .spec-block:nth-child(2) { border-bottom: 1px solid var(--line); }

  .hotspot-card { font-size: 10px; padding: 4px 8px; max-width: 140px; white-space: normal; }
  .hs-1 { top: 8%; right: 4%; }
  .hs-2 { bottom: 16%; left: 4%; }

  .breadcrumbs-row { flex-direction: column-reverse; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
  .back-link { font-size: 11px; padding: 4px 0; color: var(--navy); font-weight: 600; }
  .breadcrumbs { font-size: 11px; gap: 4px 6px; }

  .page-title { font-size: 28px; }
  .company-features-grid { grid-template-columns: 1fr; gap: 12px; }

  .products-grid, .clients-grid { grid-template-columns: 1fr; gap: 16px; }
  .reviews-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .detail-top-grid { grid-template-columns: 1fr; }
  .product-detail-wrap, .clients-page-wrap, .reviews-body, .contacts-body, .team-body, .podbor-page-body { padding: 20px; }
  .tabs-nav { flex-wrap: wrap; }
  .tab-btn { width: 100%; text-align: left; padding: 10px 0; }

  .client-logo-box { height: 140px; }
  .client-title { font-size: 12px; padding: 12px 14px; }
  .review-doc-thumb { height: 260px; }

  .contact-card-item { padding: 16px; }
  .contact-phone-accent { font-size: 18px; }
  .map-foot-meta { flex-direction: column; gap: 6px; }

  .article-detail-body { padding: 20px; }
  .article-list-item { padding: 16px; }

  .team-name { font-size: 16px; }
  .team-card { padding: 16px; }

  .wizard-steps-bar { grid-template-columns: 1fr; }
  .wizard-footer { flex-direction: column-reverse; gap: 12px; }
  .wizard-footer button { width: 100%; }

  .footer { margin-top: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 768px) {
  /* Перестраиваем шапку каталога в колонку, чтобы переключатель не вылетал вправо */
  .catalog-head-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
  }

  /* Перенос длинных слов и названий разделов */
  .page-title {
    font-size: 24px !important;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
  }

  .catalog-sort-box {
    margin-left: 0;
  }

  /* Сетка карточек строго по ширине экрана */
  .inner-body, .products-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .product-card {
    width: 100%;
    box-sizing: border-box;
  }
}


/* --- АДАПТИВ ДЕТАЛЬНОЙ КАРТОЧКИ ТОВАРА --- */

/* Галерея миниатюр */
.product-thumbs, .detail-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.js-gallery-thumb, .thumb-item {
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}
.js-gallery-thumb.active, .thumb-item.active {
  border-color: var(--orange, #f97316) !important;
}

@media (max-width: 768px) {
  /* 1. Стек колонок: фото сверху, свойства и кнопки снизу */
  .detail-layout, 
  .product-detail-top,
  .catalog-element-top {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
  }

  .detail-gallery, 
  .detail-info,
  .product-detail-gallery,
  .product-detail-info {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* 2. Главное фото карточки */
  .detail-main-img-wrap,
  .product-main-photo {
    width: 100% !important;
    height: auto !important;
    max-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
  .detail-main-img-wrap img,
  #mainProductImg {
    max-width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    object-fit: contain;
  }

  /* 3. Заголовок товара */
  .detail-title, 
  .product-detail-title,
  h1.product-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
    word-break: break-word;
    margin-bottom: 16px !important;
  }

  /* 4. Таблица характеристик (срок, материал, гарантия) */
  .product-specs-table,
  .specs-box,
  .detail-params {
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
  .product-specs-table tr,
  .specs-row {
    display: flex !important;
    flex-direction: column !important;
    padding: 8px 0 !important;
    gap: 2px !important;
  }
  .specs-row > *:first-child,
  .product-specs-table td:first-child {
    font-size: 12px !important;
    color: #64748b !important;
  }
  .specs-row > *:last-child,
  .product-specs-table td:last-child {
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: left !important;
  }

  /* 5. Кнопки действия (Заказать, Опросный лист) */
  .detail-actions,
  .product-detail-btns {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .detail-actions a,
  .detail-actions button,
  .product-detail-btns a {
    width: 100% !important;
    text-align: center;
    box-sizing: border-box;
  }

  /* 6. Табы (Описание / Характеристики / Отзывы) — горизонтальный скролл без переносов */
  .tabs-nav,
  .detail-tabs-head {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 16px !important;
    border-bottom: 2px solid var(--line, #e2e8f0);
    padding-bottom: 4px;
    margin-top: 24px !important;
  }
  .tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .tab-btn,
  .detail-tabs-head button {
    white-space: nowrap !important;
    font-size: 13px !important;
    padding: 8px 4px !important;
    flex-shrink: 0;
  }
}