/* ПромОпора — общая дизайн-система (завод опор освещения) */

:root {
  --blue-900: #0C2542;
  --blue-700: #123E6B;
  --blue-600: #1B5490;
  --blue-500: #256CB4;
  --orange-600: #2E90FA;
  --orange-500: #57A8FB;
  --orange-100: #E3F0FE;
  --ink: #16233A;
  --ink-soft: #4B5C73;
  --gray-50: #F5F8FB;
  --gray-100: #EBF1F7;
  --gray-200: #DCE6F0;
  --line: #DCE5EF;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow-sm: 0 2px 10px rgba(12, 37, 66, 0.07);
  --shadow-md: 0 10px 34px rgba(12, 37, 66, 0.14);
  --glow-soft: rgba(46, 144, 250, .28);
  --glow-mid: rgba(46, 144, 250, .45);
  --glow-strong: rgba(46, 144, 250, .6);
}

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section { padding: 72px 0; }
.section--gray { background: var(--gray-50); }
.section--dark { background: var(--blue-900); color: var(--white); }
.section__head { max-width: 640px; margin: 0 0 40px; }
.section__eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--orange-600); margin-bottom: 10px;
}
.section--dark .section__eyebrow { color: var(--orange-500); }
.section__title { font-size: 32px; font-weight: 800; color: var(--blue-900); line-height: 1.25; }
.section--dark .section__title { color: var(--white); }
.section__desc { font-size: 16px; color: var(--ink-soft); margin-top: 12px; line-height: 1.6; }
.section--dark .section__desc { color: #C7CFDB; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 10px; font-size: 16px; font-weight: 700;
  cursor: pointer; border: none; transition: box-shadow .2s, background .2s, color .2s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange-600); color: var(--white); box-shadow: 0 0 0 0 transparent; }
.btn-primary:hover { background: var(--orange-500); box-shadow: 0 8px 26px var(--glow-mid); }
.btn-secondary { background: var(--white); color: var(--blue-700); border: 2px solid var(--blue-600); padding: 13px 28px; }
.btn-secondary:hover { background: var(--blue-600); color: var(--white); }
.btn-secondary--blue { background: var(--blue-600); color: var(--white); }
.btn-secondary--blue:hover { background: var(--blue-700); border-color: var(--blue-700); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); padding: 13px 28px; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ── HEADER ── */
.topbar { background: var(--blue-900); color: #C7CFDB; font-size: 13px; position: relative; z-index: 60; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.topbar__hours { display: flex; align-items: center; gap: 8px; }
.topbar__hours b { color: var(--white); }
.topbar__city { display: flex; align-items: center; gap: 6px; color: #C7CFDB; }
.topbar__city select {
  background: transparent; border: none; color: #C7CFDB; font-size: 13px; font-family: inherit;
  cursor: pointer; outline: none; padding: 0;
}
.topbar__city select option { color: var(--ink); background: var(--white); }
.topbar__calc { display: flex; align-items: center; gap: 6px; color: #C7CFDB; text-decoration: none; }
.topbar__calc:hover { color: var(--white); }

.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }

.header-top { display: none; border-bottom: 1px solid var(--line); }
.header-top__inner { display: flex; align-items: center; gap: 32px; padding: 14px 0; }
.header-top .logo__sub { max-width: 220px; }
.header-top__item { display: flex; align-items: center; gap: 10px; color: var(--blue-700); }
.header-top__item svg { flex-shrink: 0; }
.header-top__item span { font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.header-top__item span b { color: var(--blue-900); font-weight: 700; }
.header-top__hours { font-size: 13px; line-height: 1.4; color: var(--ink-soft); margin-left: auto; }
.header-top__phones { display: flex; align-items: center; gap: 8px; color: var(--blue-600); }
.header-top__phones-list { display: flex; flex-direction: column; gap: 1px; }
.header-top__phone { font-size: 13px; font-weight: 800; color: var(--blue-900); white-space: nowrap; line-height: 1.3; }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo__text { font-size: 19px; font-weight: 800; color: var(--blue-900); line-height: 1.2; }
.logo__sub { font-size: 12px; color: var(--ink-soft); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 28px; flex: 1; }
.nav a { font-size: 15px; font-weight: 600; color: var(--ink); transition: color .15s; white-space: nowrap; }
.nav a:hover { color: var(--orange-600); }
.nav-dropdown__trigger { white-space: nowrap; }
.nav-dropdown { position: relative; }
.nav-dropdown__trigger { display: flex; align-items: center; }
.nav-dropdown__menu {
  position: absolute; top: 100%; left: 0; margin-top: 8px; background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow-md); min-width: 180px; max-width: 280px; padding: 6px;
  max-height: 70vh; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s;
  z-index: 50;
}
.nav-dropdown:hover .nav-dropdown__menu { opacity: 1; visibility: visible; }
.nav-dropdown__menu--catalog {
  position: fixed; left: 50%; top: 140px; transform: translateX(-50%); margin-top: 0;
  max-width: none; max-height: 80vh; overflow-y: auto; width: 1800px; padding: 22px;
}
.nav-dropdown__menu a { display: block; padding: 9px 12px; font-size: 12px; font-weight: 600; color: var(--ink); border-radius: 6px; }
.nav-dropdown__menu a:hover { background: var(--gray-50); color: var(--orange-600); }
.catalog-mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px 24px; }
.nav-dropdown__menu--cards { min-width: 340px; max-width: 460px; padding: 18px; }
.nav-dropdown__menu--cards .catalog-mega-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.catalog-mega-card { display: flex; gap: 12px; align-items: flex-start; }
.catalog-mega-card__img, .catalog-mega-card__icon {
  width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--gray-50);
}
.catalog-mega-card__icon { display: flex; align-items: center; justify-content: center; color: var(--blue-600); }
.catalog-mega-card__body { min-width: 0; }
.catalog-mega-card__title { display: block; font-size: 14px; font-weight: 800; color: var(--blue-900); margin-bottom: 6px; text-decoration: none; }
.catalog-mega-card__title:hover { color: var(--orange-600); }
.catalog-mega-card__body a { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-soft); padding: 3px 0; white-space: nowrap; }
.catalog-mega-card__body a:hover { color: var(--orange-600); }
.nav-mobile__group-title { display: block; padding: 10px 0 4px 10px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--blue-900); text-decoration: none; }
.nav-mobile__group-title:hover { color: var(--orange-600); }
.nav-mobile a.nav-mobile__sub { padding-left: 26px; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.nav .nav-search { width: 200px; margin-top: 0; margin-left: auto; }
.nav .nav-search__input { padding: 8px 34px 8px 12px; font-size: 13.5px; border-radius: 8px; }
.nav .nav-search__icon { top: 8px; }
.nav .nav-search__results { left: auto; right: 0; width: 300px; }

.header__cta { display: flex; align-items: center; gap: 18px; }
.header__phone { text-align: right; }
.header__phone a { font-size: 15px; font-weight: 800; color: var(--blue-900); }
.header__phone span { display: block; font-size: 12px; color: var(--ink-soft); }

.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); color: var(--blue-900); cursor: pointer;
}
.nav-mobile { display: none; flex-direction: column; border-top: 1px solid var(--line); padding: 8px 24px 16px; max-height: calc(100vh - 64px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.nav-mobile a { padding: 12px 0; font-size: 15px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }
.nav-mobile__item { border-bottom: 1px solid var(--line); }
.nav-mobile__row { display: flex; align-items: center; }
.nav-mobile__item .nav-mobile__link { flex: 1; border-bottom: none; }
.nav-mobile__toggle {
  border: none; background: transparent; color: var(--ink-soft); padding: 8px; margin-left: auto;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .2s;
}
.nav-mobile__item.open .nav-mobile__toggle { transform: rotate(180deg); }
.nav-mobile__submenu { display: none; flex-direction: column; padding-bottom: 4px; }
.nav-mobile__item.open .nav-mobile__submenu { display: flex; }
.nav-mobile__submenu a { border-bottom: none; }

.nav-search { position: relative; margin-top: 10px; }
.nav-search__input {
  width: 100%; padding: 12px 40px 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 14px; color: var(--ink); background: var(--gray-50); outline: none; transition: border-color .2s;
}
.nav-search__input:focus { border-color: var(--blue-600); background: var(--white); }
.nav-search__icon { position: absolute; right: 12px; top: 12px; color: var(--ink-soft); pointer-events: none; }
.nav-search__results {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--white);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-md);
  max-height: 280px; overflow-y: auto; z-index: 40; display: none;
}
.nav-search__results.open { display: block; }
.nav-search__result { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; font-size: 13.5px; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav-search__result:last-child { border-bottom: none; }
.nav-search__result:hover { background: var(--gray-50); }
.nav-search__result-name { font-weight: 600; }
.nav-search__result-price { color: var(--blue-600); font-weight: 700; white-space: nowrap; }
.nav-search__empty { padding: 14px; font-size: 13.5px; color: var(--ink-soft); text-align: center; }

/* ── HERO ── */
.hero { background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%); padding: 64px 0 56px; overflow-x: clip; }
@media (max-width: 640px) {
  .hero { padding: 24px 0 32px; }
}
.hero__inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  grid-template-areas: "text image" "actions image";
}
.hero__text { grid-area: text; }
.hero__actions { grid-area: actions; }
.hero__pole-diagram-wrap { grid-area: image; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--orange-100); color: var(--orange-600);
  font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 100px; margin-bottom: 20px;
}
.hero h1 { font-size: 42px; font-weight: 800; color: var(--blue-900); line-height: 1.2; margin-bottom: 18px; }
.hero h1 span { color: var(--orange-600); }
.hero p { font-size: 17px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 28px; max-width: 520px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__trust { display: flex; gap: 24px; flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.hero__trust-item svg { flex-shrink: 0; color: var(--orange-600); }

.hero__card {
  background: var(--blue-900); border-radius: 20px; padding: 32px; color: var(--white);
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.hero__card::before {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-mid), transparent 70%); top: -80px; right: -80px;
}
.hero__card-title { font-size: 15px; font-weight: 700; color: #C7CFDB; margin-bottom: 4px; }
.hero__card-price { font-size: 40px; font-weight: 800; margin-bottom: 4px; position: relative; }
.hero__card-price span { font-size: 18px; font-weight: 600; color: #C7CFDB; }
.hero__card-note { font-size: 13px; color: #9AA7BC; margin-bottom: 24px; }
.hero__card-list { display: flex; flex-direction: column; gap: 12px; position: relative; }
.hero__card-row { display: flex; justify-content: space-between; font-size: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.hero__card-row b { font-weight: 700; }
.hero__card--photo {
  padding: 0; min-height: 340px; border-left: 6px solid var(--orange-600);
  box-shadow: 0 0 70px 6px var(--glow-soft), var(--shadow-md);
}
.hero__card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__plain-img { width: 100%; height: auto; display: block; transform: scale(2.1668); }
.hero__pole-diagram-wrap { position: relative; }

/* ── Мини-схема опоры с выносками в hero ── */
.hero-schema { position: relative; display: grid; grid-template-columns: 92px 1fr 92px; gap: 10px; align-items: stretch; transform: scale(1.5); transform-origin: center center; }
.hero-schema__col { display: flex; flex-direction: column; justify-content: space-around; gap: 8px; position: relative; z-index: 1; }
.hero-schema__col--left { transform: translateX(15%); }
.hero-schema__col--left .hero-schema__card[data-key="stvol"] { transform: translateX(40%); }
.hero-schema__col--left .hero-schema__card[data-key="flanets"] { transform: translateX(70%); }
.hero-schema__col--right .hero-schema__card[data-key="lyuchok"] { transform: translateX(-100%); }
.hero-schema__center { position: relative; transform: scale(1.2); transform-origin: center center; }
.hero-schema__center img { width: 100%; display: block; user-select: none; }
.hero-schema__point {
  position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
  background: var(--blue-600); border: 1.5px solid var(--white); box-shadow: 0 0 0 1px var(--line);
}
.hero-schema__card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  background: var(--white); border: 1px solid #D9D9D9; border-radius: 10px; padding: 6px 4px;
  transition: opacity .15s;
}
.hero-schema__card img { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; background: var(--gray-50); }
.hero-schema__card span { font-size: 10.5px; font-weight: 700; color: var(--blue-900); line-height: 1.2; }
.hero-schema__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.hero-schema__lines line { stroke: var(--line-strong, #c7d2e0); stroke-width: 1.2; }
.hero-schema__desc-panel {
  display: none; position: absolute; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 16px 18px; width: 220px; z-index: 6; pointer-events: none;
}
.hero-schema__desc-title { font-size: 15px; font-weight: 800; color: var(--blue-900); margin-bottom: 6px; }
.hero-schema__desc-text { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; }
.hero__pole-diagram-wrap.is-hovering .hero-schema__lines { opacity: 0; }
.hero-schema__card.is-covered { opacity: 0; }
.hero__pole-diagram-wrap.is-hovering .hero-schema__desc-panel { display: block; }
@media (max-width: 480px) {
  .hero-schema { grid-template-columns: 58px 1fr 58px; gap: 6px; transform: scale(1); }
  .hero-schema__center { transform: scale(1.32); }
  .hero-schema__col { gap: 5px; }
  .hero-schema__col--left { transform: none; }
  .hero-schema__col--left .hero-schema__card[data-key="stvol"] { transform: none; }
  .hero-schema__col--left .hero-schema__card[data-key="flanets"] { transform: none; }
  .hero-schema__col--right .hero-schema__card[data-key="lyuchok"] { transform: none; }
  .hero-schema__card { padding: 4px 2px; border-radius: 8px; gap: 2px; }
  .hero-schema__card img { width: 20px; height: 20px; }
  .hero-schema__card span { font-size: 8px; line-height: 1.1; }
  .hero-schema__point { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; }
  .hero-schema__desc-panel { width: 150px; padding: 10px 12px; }
  .hero-schema__desc-title { font-size: 12px; margin-bottom: 3px; }
  .hero-schema__desc-text { font-size: 10.5px; line-height: 1.4; }
}

/* ── STRIP ── */
.strip { background: var(--blue-900); padding: 26px 0; }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip__item { display: flex; align-items: flex-start; gap: 10px; color: var(--white); }
.strip__item svg { color: var(--orange-500); flex-shrink: 0; margin-top: 2px; filter: drop-shadow(0 0 5px var(--glow-strong)); }
.strip__item-title { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.strip__item-text { font-size: 12.5px; font-weight: 400; color: #C7CFDB; line-height: 1.5; }
@media (max-width: 980px) {
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .strip__inner { grid-template-columns: 1fr; }
  .strip__item:nth-child(4) { display: none; }
}

/* ── ADVANTAGES ── */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-grid--3col { grid-template-columns: repeat(3, 1fr); }
.adv-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: box-shadow .2s, transform .2s; }
.adv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.adv-card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--orange-100); color: var(--orange-600);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  box-shadow: 0 0 0 6px rgba(46, 144, 250, .08);
  transition: box-shadow .2s;
}
.adv-card:hover .adv-card__icon { box-shadow: 0 0 0 8px var(--glow-soft); }
.adv-card h3 { font-size: 17px; font-weight: 700; color: var(--blue-900); margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ── PRICE TABLE ── */
.price-table { width: 100%; min-width: 760px; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table--catalog { table-layout: fixed; }
.price-table th {
  background: var(--blue-900); color: var(--white); text-align: left; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; padding: 16px 20px;
}
.price-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--gray-50); }
.price-table .mark { font-weight: 800; color: var(--blue-900); }
.price-table .price { font-weight: 800; color: var(--orange-600); font-size: 17px; white-space: nowrap; }
.price-table .price small { font-weight: 600; color: var(--ink-soft); font-size: 12px; }
.price-table td:last-child { text-align: right; }

.table-scroll { overflow-x: auto; border-radius: var(--radius); overscroll-behavior-x: contain; }
.table-note { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }

/* ── CATALOG: CATEGORY TABS ── */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.cat-tabs__btn {
  border: 1.5px solid var(--line); background: var(--white); padding: 11px 20px; border-radius: 100px;
  font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; transition: all .15s;
  text-decoration: none; display: inline-block;
}
.cat-tabs__btn:hover { border-color: var(--orange-500); color: var(--orange-600); }
.cat-tabs__btn--active { background: var(--blue-900); border-color: var(--blue-900); color: var(--white); box-shadow: 0 0 14px var(--glow-soft); }

/* ── CATALOG: PRODUCT CARD GRID ── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-600); }
.product-card-hover { cursor: pointer; }
.product-card__marks { display: none; flex-wrap: wrap; gap: 6px; margin-top: -2px; }
.product-card-hover:hover .product-card__specs { display: none; }
.product-card-hover:hover .product-card__marks { display: flex; }
.product-card__marks a {
  font-size: 12px; font-weight: 700; color: var(--blue-700); background: var(--gray-50); border: 1px solid var(--line);
  border-radius: 6px; padding: 4px 9px; white-space: nowrap; text-decoration: none;
}
.product-card__marks a:hover { background: var(--blue-700); color: var(--white); border-color: var(--blue-700); }
.product-card__marks-group { flex-basis: 100%; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft); margin: 4px 0 -2px; }
.product-card__marks-group:first-child { margin-top: 0; }
.product-card__img {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  color: var(--blue-600); position: relative; overflow: hidden; min-height: 0;
}
.product-card__img img { width: 100%; height: 100%; object-fit: contain; }
.product-card__gallery-bar { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: flex; gap: 4px; }
.product-card__gallery-seg { flex: 1; height: 3px; border-radius: 100px; background: rgba(15,23,32,.15); transition: background .1s; }
.product-card__gallery-seg.active { background: var(--blue-600); }
.product-card__badge {
  position: absolute; top: 10px; left: 10px; background: var(--blue-900); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 4px;
}
.product-card__badge--hit { background: var(--orange-600); }
.product-card__badge svg { flex: none; }
.product-card__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__name { font-size: 16px; font-weight: 800; color: var(--blue-900); line-height: 1.3; }
.product-card__specs { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin: 4px 0 10px; }
.product-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-card__price { font-size: 17px; font-weight: 800; color: var(--orange-600); }
.product-card__price span { font-size: 11px; font-weight: 600; color: var(--ink-soft); display: block; }
.product-card__count-btn { display: block; margin-top: 10px; padding: 9px 8px; background: var(--gray-100); color: var(--ink-soft); font-size: 11px; font-weight: 600; text-align: center; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card__link {
  font-size: 13px; font-weight: 700; color: var(--white); background: var(--blue-900); padding: 9px 16px; border-radius: 8px;
  transition: background .15s;
}
.product-card__link:hover { background: var(--blue-700); }

/* ── CALCULATOR ── */
.calc-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.calc-form__group h3 { font-size: 15px; color: var(--blue-900); margin-bottom: 12px; }
.calc-form__options { display: flex; flex-wrap: wrap; gap: 10px; }
.calc-form__option {
  display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 100px; padding: 8px 16px; cursor: pointer; transition: border-color .15s, background .15s;
}
.calc-form__option:has(input:checked) { border-color: var(--blue-700); background: var(--gray-50); color: var(--blue-900); font-weight: 700; }
.calc-form__option input { accent-color: var(--blue-900); }
.calc-form .btn { align-self: flex-start; }
.calc-form__select {
  width: 100%; max-width: 320px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 100px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: var(--white); outline: none;
}
.calc-form__select:focus { border-color: var(--blue-700); }

/* ── VACANCIES ── */
.vacancy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.vacancy-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.vacancy-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.vacancy-card__head h3 { font-size: 18px; color: var(--blue-900); }
.vacancy-card__badge { font-size: 12px; font-weight: 700; color: var(--blue-700); background: var(--gray-50); border: 1px solid var(--line); border-radius: 100px; padding: 4px 10px; white-space: nowrap; }
.vacancy-card__salary { font-size: 16px; font-weight: 800; color: var(--orange-600); }
.vacancy-card__col h4 { font-size: 13px; font-weight: 800; color: var(--blue-900); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px; }
.vacancy-card__col .check-list { margin: 0; gap: 8px; }
.vacancy-card__col .check-list li { font-size: 13.5px; }
.vacancy-card .btn { align-self: flex-start; }
@media (max-width: 760px) { .vacancy-grid { grid-template-columns: 1fr; } }

/* ── CATALOG: FILTERS ── */
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.catalog-layout > * { min-width: 0; }
.filters { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 92px; }
.filters h3 { font-size: 14px; font-weight: 800; color: var(--blue-900); margin-bottom: 12px; }
.filters__group { border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 8px; }
.filters__group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filters__group h3 {
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  margin-bottom: 0; padding: 8px 0; user-select: none; color: var(--ink-soft);
}
.filters__group h3 svg { flex-shrink: 0; color: var(--ink-soft); transition: transform .2s; }
.filters__group.open h3 svg { transform: rotate(180deg); }
.filters__body { display: none; padding-bottom: 8px; }
.filters__group.open .filters__body { display: block; }
.filters__check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); padding: 6px 0; cursor: pointer; }
.filters__check input { accent-color: var(--blue-900); width: 15px; height: 15px; flex-shrink: 0; }
.filters__scroll { max-height: 220px; overflow-y: auto; padding-right: 4px; }
.filters__reset {
  display: block; width: 100%; margin-top: 12px; padding: 10px 16px; text-align: center;
  background: var(--gray-100); color: var(--ink); border: none; border-radius: 100px;
  font-size: 13px; font-weight: 700; font-family: inherit; cursor: pointer; transition: background .15s;
}
.filters__reset:hover { background: var(--gray-200); }
.catalog-empty { text-align: center; padding: 48px 20px; color: var(--ink-soft); font-size: 14px; }

/* ── CALCULATOR TILES ── */
.calc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.calctile {
  display: flex; flex-direction: column; background: var(--gray-50); border: 1.5px solid var(--line);
  border-radius: 12px; overflow: hidden; text-align: center; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.calctile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-600); }
.calctile__label {
  padding: 12px 10px; font-size: 13px; font-weight: 700; color: var(--blue-900); background: var(--gray-100); line-height: 1.3;
}
.calctile__icon { flex: 1; min-height: 100px; display: flex; align-items: center; justify-content: center; padding: 20px 12px; color: var(--blue-700); }
.calctile__icon img { width: 100%; height: 100%; max-height: 96px; object-fit: contain; }
.calctile--active { border-color: var(--orange-600); }
.calctile--active .calctile__label { background: var(--orange-600); color: var(--white); }
.calctile--active .calctile__icon { color: var(--orange-600); }

/* ── REVIEWS ── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.review-card__stars { color: var(--orange-500); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.review-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 18px; }
.review-card__author { display: flex; align-items: center; gap: 10px; }
.review-card__avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--blue-600); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.review-card__name { font-size: 14px; font-weight: 700; color: var(--blue-900); }

/* ── ABOUT PLANT ── */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.about-grid h2 { margin-bottom: 20px; }
.about-grid p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 16px; }
.about-stats { display: flex; gap: 40px; margin-top: 12px; flex-wrap: wrap; }
.about-stat__label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }
.about-stat__val { font-size: 26px; font-weight: 800; color: var(--blue-900); }
.about-media {
  position: relative; border-radius: 20px; overflow: hidden; min-height: 320px;
  border-left: 6px solid var(--orange-600);
  background: radial-gradient(circle at 30% 25%, var(--glow-soft), var(--gray-100) 65%);
}
.about-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── PRODUCTION PLANTS ── */
.plants-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plant-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.plant-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.plant-card__img { height: 140px; background: var(--gray-100); overflow: hidden; }
.plant-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.plant-card:hover .plant-card__img img { transform: scale(1.05); }
.plant-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plant-card__body h3 { font-size: 16px; font-weight: 800; color: var(--blue-900); }
.plant-card__addr { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.plant-card__addr b { color: var(--ink); display: block; margin-bottom: 2px; }
.plant-card__link { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 700; color: var(--orange-600); text-decoration: underline; text-underline-offset: 3px; }
.plant-card__link:hover { color: var(--orange-500); }

/* ── FAQ ── */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item__q {
  display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer;
  font-size: 16px; font-weight: 700; color: var(--blue-900);
}
.faq-item__q svg { flex-shrink: 0; transition: transform .2s; color: var(--orange-600); }
.faq-item.open .faq-item__q svg { transform: rotate(45deg); }

/* ── COMPARE ACCORDION (группировка таблицы сравнения по сериям) ── */
.compare-accordion { display: flex; flex-direction: column; gap: 10px; }
.compare-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-group__head {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--blue-900); gap: 12px;
}
.compare-group__head span.compare-group__count { font-weight: 500; color: var(--ink-soft); font-size: 13px; }
.compare-group__head svg { flex-shrink: 0; transition: transform .2s; color: var(--orange-600); }
.compare-group.open .compare-group__head svg { transform: rotate(45deg); }
.compare-group__body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.compare-group.open .compare-group__body { max-height: 6000px; }
.compare-group__body .compare-wrap { border: none; border-top: 1px solid var(--line); border-radius: 0; margin-bottom: 0; }
.compare-group__body .compare-table { margin: 0; }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; padding: 0 24px; }
.faq-item.open .faq-item__a { max-height: 320px; padding: 0 24px 22px; }
.faq-item__a p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 4px 0 24px; padding: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.check-list svg { flex-shrink: 0; color: var(--blue-600); margin-top: 2px; }

/* ── CTA BAND ── */
.cta-band { background: linear-gradient(120deg, var(--blue-900), var(--blue-700)); border-radius: 20px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--white); }
.cta-band h2 { font-size: 32px; font-weight: 800; line-height: 1.25; margin-bottom: 8px; }
.cta-band p { color: #C7CFDB; font-size: 15px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer { background: var(--blue-900); color: #C7CFDB; padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer p, .footer li { font-size: 14px; line-height: 1.9; }
.footer a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 13px; color: #8391A6; flex-wrap: wrap; gap: 10px; }
.footer__legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer__legal a { color: #8391A6; }
.footer__legal a:hover { color: var(--white); }

/* ── PRODUCT PAGE ── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-600); }
.step-card__num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--blue-600); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; margin-bottom: 14px;
}
.step-card h3 { font-size: 15px; font-weight: 800; color: var(--blue-900); margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }

.breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a { color: var(--blue-700); font-weight: 600; }
.breadcrumb a:hover { color: var(--orange-600); }
.product-hero { padding: 32px 0 8px; }
.product-hero h1 { font-size: 32px; font-weight: 800; color: var(--blue-900); }
.product-layout { display: grid; grid-template-columns: 1fr 290px; gap: 28px; align-items: start; margin-top: 24px; }
.product-layout > div { min-width: 0; }
.product-sidebar { position: sticky; top: 92px; align-self: start; }

.product-tile {
  border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: var(--white); padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 200px; width: 220px; flex-shrink: 0; position: relative; border-left: 6px solid var(--orange-600);
}
.product-tile::before {
  content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-mid), transparent 70%); top: -20px; left: 50%; transform: translateX(-50%);
  filter: blur(4px); pointer-events: none;
}
.product-tile svg { position: relative; filter: drop-shadow(0 0 10px var(--glow-strong)); }
.product-tile__name { font-size: 20px; font-weight: 800; line-height: 1.2; }
.product-tile__class { align-self: flex-start; background: rgba(255,255,255,.12); font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 100px; }
.product-tile--photo {
  padding: 0; width: 280px; min-height: 0;
  background: var(--white);
}
.product-tile--photo::before { display: none; }
.product-tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; touch-action: pan-y; }
.product-tile--photo model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; }
.product-thumb__3d-badge { position: absolute; bottom: 2px; right: 2px; background: var(--blue-700); color: var(--white); font-size: 9px; font-weight: 800; line-height: 1; padding: 2px 4px; border-radius: 4px; pointer-events: none; }
.product-tile--photo .product-tile__class { position: relative; margin: 16px; background: rgba(27,38,52,.75); backdrop-filter: blur(2px); pointer-events: none; }

.img-lightbox {
  display: none; position: fixed; inset: 0; z-index: 200; background: rgba(15,23,32,.88);
  overflow: auto; padding: 60px 20px; text-align: center; cursor: zoom-out;
}
.img-lightbox.open { display: block; }
.img-lightbox img { width: 800px; max-width: none; background: var(--white); border-radius: 12px; cursor: zoom-out; touch-action: pan-y; }

.gallery-arrow {
  width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(15,23,32,.55); color: var(--white);
  font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .15s, opacity .15s; padding: 0;
}
.gallery-arrow:hover { background: rgba(15,23,32,.8); }
@media (hover: hover) and (pointer: fine) {
  .gallery-arrow { opacity: 0; }
  .product-tile--photo:hover .gallery-arrow,
  .img-lightbox:hover .gallery-arrow { opacity: .45; }
  .gallery-arrow:hover { opacity: 1; }
}
.product-tile--photo .gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 28px; height: 28px; font-size: 16px; }
.product-tile--photo .gallery-arrow--prev { left: 6px; }
.product-tile--photo .gallery-arrow--next { right: 6px; }
.img-lightbox .gallery-arrow { position: fixed; top: 50%; transform: translateY(-50%); z-index: 201; }
.img-lightbox .gallery-arrow--prev { left: 20px; }
.img-lightbox .gallery-arrow--next { right: 20px; }

.product-gallery { display: flex; gap: 6px; flex-shrink: 0; }
.product-thumbs { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.product-thumb-item { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 56px; }
.product-thumb {
  position: relative; width: 44px; height: 44px; border-radius: 8px; background: var(--white); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink-soft); overflow: hidden; flex-shrink: 0;
  cursor: pointer; transition: border-color .15s;
}
.product-thumb:hover { border-color: var(--blue-600); }
.product-thumb svg { width: 18px; height: 18px; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb__caption { font-size: 9px; line-height: 1.25; color: var(--ink-soft); text-align: center; }

.img-lightbox__caption {
  position: fixed; left: 0; right: 0; bottom: 18px; z-index: 201; text-align: center;
  color: var(--white); font-size: 14px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.6);
  pointer-events: none;
}

.buy-row { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.buy-box { flex: 1; min-width: 260px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.stock-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #1E9E4D; margin-bottom: 10px; }
.stock-badge:last-of-type { margin-bottom: 16px; }
.stock-badge--hot { color: var(--orange-600); }
.stock-badge--hot svg { color: var(--orange-600); }
.stock-badge svg { color: #1E9E4D; }
.buy-row-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.buy-box__phone-row { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
.buy-box__phone-row .btn { flex: 1; white-space: nowrap; }
.buy-box__phone-row .btn-secondary,
.buy-box__phone-row .btn-primary { font-size: 12px; padding: 10px 12px; }
.buy-box__price-label { font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.buy-box__price { font-size: 26px; font-weight: 800; color: var(--blue-900); }
.buy-box__price span { font-size: 14px; font-weight: 600; color: var(--ink-soft); }

.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.side-card h3 { font-size: 15px; font-weight: 800; color: var(--blue-900); margin-bottom: 8px; }
.side-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 14px; }
.side-card__icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--gray-50); color: var(--blue-700); display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
  box-shadow: 0 0 0 6px rgba(46, 144, 250, .08);
}
.side-card__free { display: inline-block; font-size: 11px; font-weight: 700; color: var(--white); background: var(--orange-600); padding: 4px 10px; border-radius: 100px; margin-bottom: 10px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  display: block; background: var(--gray-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px;
  color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-600); background: var(--white); }
.service-card--active { border-color: var(--blue-600); background: var(--orange-100); }
.service-card__icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--orange-100); color: var(--orange-600);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.service-card h3 { font-size: 15px; font-weight: 800; color: var(--blue-900); margin-bottom: 6px; }
.service-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

.load-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.load-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px 5px 5px;
  background: var(--white); border: 1px solid var(--line); border-radius: 100px;
  font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none;
  transition: border-color .2s, background .2s, color .2s;
}
.load-tag__icon {
  width: 28px; height: 28px; border-radius: 50%; background: var(--orange-100); color: var(--orange-600);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.load-tag:hover { border-color: var(--blue-600); color: var(--blue-700); }
.load-tag--active { border-color: var(--blue-600); background: var(--orange-100); color: var(--blue-900); }
@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
}

.tabs__nav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1.5px solid var(--line); margin-bottom: 24px; }
.tabs__btn {
  border: none; background: transparent; padding: 12px 16px; font-size: 14px; font-weight: 700; color: var(--ink-soft);
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1.5px; transition: color .15s, border-color .15s;
}
.tabs__btn:hover { color: var(--blue-900); }
.tabs__btn--active { color: var(--orange-600); border-color: var(--orange-600); }
.tabs__panel { display: none; }
.tabs__panel--active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 12px 4px; font-size: 14px; }
.spec-table td:first-child { color: var(--ink-soft); width: 55%; }
.spec-table td:last-child { font-weight: 700; color: var(--blue-900); }
.spec-table a { color: var(--blue-700); text-decoration: underline dotted; text-underline-offset: 3px; }
.about-more { display: none; }
.about-more.open { display: block; }
.about-more__toggle {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 700;
  color: var(--blue-700); cursor: pointer; user-select: none;
}
.about-more__toggle:hover { color: var(--orange-600); }
.about-more__toggle svg { flex-shrink: 0; transition: transform .2s; }
.about-more__toggle.open svg { transform: rotate(180deg); }
.about-more__toggle-text--open { display: none; }
.about-more__toggle.open .about-more__toggle-text--closed { display: none; }
.about-more__toggle.open .about-more__toggle-text--open { display: inline; }

.spec-table__toggle-row td { padding: 10px 4px 4px; border-bottom: none; }
.spec-table__toggle {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--orange-600);
  cursor: pointer; user-select: none;
}
.spec-table__toggle:hover { color: var(--blue-700); }
.spec-table__toggle svg { flex-shrink: 0; transition: transform .2s; }
.spec-table--expanded .spec-table__toggle svg { transform: rotate(180deg); }

/* ── CATEGORY HUB: COMPARISON TABLE ── */
.compare-wrap { overflow-x: auto; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--radius); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare-table th, .compare-table td { padding: 11px 14px; font-size: 13.5px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.compare-table th { color: var(--ink-soft); font-weight: 700; background: var(--gray-50); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--gray-50); }
.compare-table td:first-child { font-weight: 800; color: var(--blue-900); }
.compare-table a { color: inherit; text-decoration: none; }
.compare-table a:hover { color: var(--orange-600); }

/* ── CERTIFICATES TAB ── */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 28px 16px; background: var(--gray-50);
  transition: border-color .15s, background .15s;
}
.cert-card:hover { border-color: var(--orange-500); background: var(--orange-100); }
.cert-card--filled { border-style: solid; background: var(--white); }
.cert-card--filled:hover { background: var(--gray-50); }
.cert-card { cursor: pointer; }
.cert-card__icon { color: var(--blue-600); }
.cert-card__title { font-size: 13px; font-weight: 700; color: var(--blue-900); line-height: 1.4; }
.cert-card__hint { font-size: 11px; color: var(--ink-soft); }
.cert-card img { max-width: 100%; border-radius: 8px; }

/* ── QUICK LINKS (перелинковка на другие модели) ── */
.quicklinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 28px; }
.quicklinks__label { font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-right: 2px; }
.quicklinks a {
  font-size: 12px; font-weight: 700; color: var(--blue-700); background: var(--gray-50); border: 1px solid var(--line);
  padding: 6px 13px; border-radius: 100px; transition: all .15s;
}
.quicklinks a:hover { background: var(--blue-900); color: var(--white); border-color: var(--blue-900); }

/* ── QTY STEPPER (выбор количества опор) ── */
.qty-stepper { display: flex; align-items: center; gap: 8px; }
.qty-stepper__btn {
  width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--white);
  color: var(--blue-900); font-size: 17px; font-weight: 700; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: border-color .15s, color .15s;
}
.qty-stepper__btn:hover { border-color: var(--orange-500); color: var(--orange-600); }
.qty-stepper__input {
  width: 54px; height: 34px; text-align: center; border: 1.5px solid var(--line); border-radius: 8px;
  font-size: 14px; font-weight: 700; color: var(--ink); font-family: inherit; outline: none; -moz-appearance: textfield;
}
.qty-stepper__input:focus { border-color: var(--blue-600); }
.qty-stepper__input::-webkit-outer-spin-button, .qty-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.qty-row__total { font-size: 14px; color: var(--ink-soft); }
.qty-row__total b { color: var(--blue-900); font-size: 16px; }

.qty-stepper--sm button {
  width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid var(--line); background: var(--white);
  color: var(--blue-900); font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.qty-stepper--sm button:hover { border-color: var(--orange-500); color: var(--orange-600); }
.qty-stepper--sm span { min-width: 20px; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink); }

/* ── CART ICON (в шапке) ── */
.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: none; background: transparent; color: var(--blue-900); cursor: pointer; border-radius: 8px; transition: background .15s;
}
.cart-btn:hover { background: var(--gray-100); }
.cart-btn__badge {
  position: absolute; top: 0; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 100px;
  background: var(--orange-600); color: var(--white); font-size: 10px; font-weight: 800; align-items: center; justify-content: center; display: flex;
}

/* ── CART PANEL (корзина) ── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(12, 37, 66, .45); opacity: 0; visibility: hidden;
  transition: opacity .2s; z-index: 90;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-panel {
  position: fixed; top: 0; right: 0; height: 100%; width: 400px; max-width: 92vw; background: var(--white);
  box-shadow: -12px 0 40px rgba(12, 37, 66, .18); z-index: 91; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .25s ease;
}
.cart-panel.open { transform: translateX(0); }
.cart-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart-panel__head h3 { font-size: 18px; font-weight: 800; color: var(--blue-900); }
.cart-panel__close { border: none; background: transparent; color: var(--ink-soft); cursor: pointer; padding: 4px; }
.cart-panel__close:hover { color: var(--blue-900); }
.cart-panel__body { flex: 1; overflow-y: auto; padding: 12px 22px; }
.cart-empty { font-size: 14px; color: var(--ink-soft); padding: 24px 0; text-align: center; }
.cart-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item__name { font-size: 13px; font-weight: 700; color: var(--blue-900); margin-bottom: 10px; line-height: 1.4; }
.cart-item__name a { color: inherit; }
.cart-item__name a:hover { color: var(--orange-600); }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-item__price { font-size: 13px; font-weight: 800; color: var(--orange-600); white-space: nowrap; }
.cart-item__remove { border: none; background: transparent; color: var(--ink-soft); font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 4px; }
.cart-item__remove:hover { color: #E23E3E; }
.cart-panel__footer { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.cart-toolbar { display: flex; align-items: center; flex-wrap: nowrap; gap: 6px; margin-bottom: 12px; }
.cart-toolbar__btn {
  flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-align: center; font-size: 11.5px; font-weight: 700; padding: 8px 8px; border-radius: 8px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--blue-700); cursor: pointer;
  transition: all .15s; display: flex; align-items: center; justify-content: center;
}
.cart-toolbar__btn:hover { border-color: var(--blue-600); background: var(--gray-50); }
.cart-toolbar__btn--filled { border-color: var(--blue-600); background: var(--orange-100); color: var(--blue-700); }
.cart-toolbar__icon-btn {
  flex: 0 0 auto; margin-left: auto; width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--line);
  background: var(--white); color: #C23B3B; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.cart-toolbar__icon-btn:hover { background: #FDEDED; border-color: #E8A9A9; }
.cart-file-name { font-size: 12px; color: var(--ink-soft); margin: -4px 0 14px; word-break: break-all; }
.cart-panel__total { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink); margin-bottom: 14px; }
.cart-panel__total b { color: var(--blue-900); font-size: 20px; }
.cart-panel__actions { display: flex; flex-direction: column; gap: 10px; }
body.cart-open-lock { overflow: hidden; }

.requisites-overlay {
  position: fixed; inset: 0; background: rgba(12, 37, 66, .45); z-index: 120; display: flex;
  align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .2s; padding: 20px;
}
.requisites-overlay.open { opacity: 1; visibility: visible; }
.requisites-modal {
  background: var(--white); border-radius: var(--radius); max-width: 480px; width: 100%; max-height: 88vh;
  overflow-y: auto; box-shadow: var(--shadow-md);
}
.requisites-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.requisites-modal__head h3 { font-size: 17px; font-weight: 800; color: var(--blue-900); }
.requisites-modal__close { border: none; background: transparent; color: var(--ink-soft); cursor: pointer; padding: 4px; }
.requisites-modal__close:hover { color: var(--blue-900); }
.requisites-modal__body { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.requisites-modal__footer { padding: 0 22px 22px; }

.cart-add-btn {
  width: 46px; flex-shrink: 0; align-self: stretch; border-radius: 10px; border: 2px solid var(--blue-600); background: var(--white);
  color: var(--blue-700); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s;
}
.cart-add-btn:hover { background: var(--blue-600); color: var(--white); }

@media print {
  body * { visibility: hidden; }
  .cart-panel, .cart-panel * { visibility: visible; }
  .cart-panel {
    position: absolute; inset: 0; transform: none; box-shadow: none; width: 100%; max-width: 100%; height: auto;
  }
  .cart-panel__close, .cart-panel__actions, .cart-toolbar, .cart-file-name { display: none; }
  .cart-overlay { display: none; }
  .requisites-overlay { display: none; }
}

@media (max-width: 640px) {
  .cart-panel { width: 100%; max-width: 100%; }
  .hero__p-extra { display: none; }
  .hero__trust { display: none; }
  .hero__actions { flex-wrap: nowrap; gap: 10px; margin-top: 20px; }
  .hero__actions .btn { flex: 1; padding-left: 0; padding-right: 0; font-size: 13px; text-align: center; }
  .hero__badge { display: none; }
}

/* ── FORM ── */
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 13px; font-weight: 700; }
.form-field input, .form-field select {
  height: 46px; border-radius: 10px; border: 1.5px solid var(--line); padding: 0 14px;
  font-size: 14px; font-family: inherit; outline: none; background: var(--white); color: var(--ink);
}
.form-field input:focus, .form-field select:focus { border-color: var(--blue-600); }
.form-field__hint { font-size: 12px; color: var(--ink-soft); }
.form-check { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--ink-soft); }

.city-autocomplete { position: relative; }
.city-autocomplete__list {
  display: none; position: absolute; top: 100%; left: 0; right: 0; margin-top: 4px; background: var(--white);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-md); max-height: 220px; overflow-y: auto; z-index: 40;
}
.city-autocomplete__list.open { display: block; }
.city-autocomplete__item { padding: 9px 14px; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.city-autocomplete__item:hover { background: var(--gray-50); }
.ship-calc { background: var(--gray-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.ship-calc__row { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 12px; margin-bottom: 14px; }
.ship-calc__hint { font-size: 12px; color: var(--ink-soft); margin-top: 10px; }
.ship-calc__hint a { color: var(--blue-700); font-weight: 600; }
.ship-calc__result { margin-top: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.ship-calc__result-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink); padding: 6px 0; border-bottom: 1px solid var(--line); }
.ship-calc__result-row:last-of-type { border-bottom: none; }
.ship-calc__result-row b { color: var(--blue-900); font-size: 15px; }
.ship-calc__status { font-size: 13px; color: var(--ink-soft); }
.ship-calc__status--error { color: #C23B3B; }
@media (max-width: 640px) { .ship-calc__row { grid-template-columns: 1fr; } }

.filters-toggle { display: none; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.filters__close { display: none; background: none; border: none; padding: 4px; color: var(--ink-soft); cursor: pointer; }
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-sidebar { position: static; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; margin-bottom: 20px; }
  .filters.open { display: block; }
  .filters__close { display: flex; }
  .filters-toggle {
    display: flex; align-items: center; gap: 8px; width: 100%; margin-bottom: 16px;
    padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 14px; font-weight: 700; color: var(--blue-900); cursor: pointer;
  }
  .cert-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .cert-grid {
    display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 12px; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px;
    -webkit-overflow-scrolling: touch;
  }
  .cert-grid .cert-card { flex: 0 0 78%; scroll-snap-align: start; }
}
@media (max-width: 520px) {
  .buy-row { flex-direction: column; }
  .product-gallery { flex-direction: column; width: 100%; }
  .product-tile { width: 100%; }
  .product-tile--photo { width: 280px; height: 224px; }
  .product-thumbs { flex-direction: row; }
  .gallery-arrow { display: none; }
  .img-lightbox { padding: 16px; }
  .img-lightbox img { width: 100%; max-width: 100%; }
  .qty-row { justify-content: space-between; }
  .buy-box__phone-row { flex-wrap: wrap; }
  .buy-box__phone-row .btn-secondary,
  .buy-box__phone-row .btn-primary { flex: 1 1 100%; font-size: 14px; padding: 12px 16px; }
  .buy-box__phone-row .cart-add-btn { flex: 1 1 100%; width: 100%; height: 46px; align-self: auto; }
}

/* ── RESPONSIVE ── */
@media (min-width: 981px) {
  .header-top { display: block; }
  .header__inner .logo { display: none; }
  .header__phone { display: none; }
  .header__cta-btn { display: none; }
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; grid-template-areas: "text" "image" "actions"; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hub-intro { display: none; }
  .header__inner .logo__mark { display: none; }
  .plants-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; min-height: 220px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  .section { padding: 48px 0; }
  .adv-grid { grid-template-columns: 1fr; }
  .plants-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .header__phone { display: none; }
  #advantages { display: none; }
  .topbar { display: none; }
  .hero__card { display: none; }
  .container { padding: 0 16px; }
  .header__inner { gap: 10px; }
  .header__cta { gap: 8px; }
  .logo__text { font-size: 16px; }
  .logo__sub { font-size: 11px; }
  .header__cta-btn.btn { padding: 9px 12px; font-size: 12.5px; }
  .cart-btn { width: 34px; height: 34px; }
  .nav-toggle { width: 34px; height: 34px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .cat-tabs__btn { flex-shrink: 0; }
  .tabs__nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .tabs__btn { flex-shrink: 0; }
  .related-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  }
  .related-grid .product-card { flex: 0 0 200px; scroll-snap-align: start; }
}
@media (max-width: 460px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card__body { padding: 12px; gap: 4px; }
  .product-card__name { font-size: 13.5px; }
  .product-card__specs { font-size: 11.5px; margin: 2px 0 6px; }
  .product-card__price { font-size: 14px; }
  .product-card__footer { flex-wrap: wrap; gap: 6px; }
  .product-card__link { font-size: 12px; padding: 7px 12px; }
}

/* ── Схема опоры с выносками ── */
.pole-schema { position: relative; display: grid; grid-template-columns: 280px 1fr 280px; gap: 32px; align-items: stretch; }
.pole-schema__col { display: flex; flex-direction: column; justify-content: space-around; gap: 16px; position: relative; z-index: 1; }
.pole-schema__center { position: relative; }
.pole-schema__center img { width: 100%; display: block; user-select: none; }
.pole-schema__point {
  position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--blue-600); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line);
}
.pole-schema__card { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.pole-schema__card img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: var(--gray-50); flex: 0 0 auto; }
.pole-schema__card-title { font-size: 13.5px; font-weight: 800; color: var(--blue-900); }
.pole-schema__card-desc { font-size: 12px; color: var(--ink-soft); line-height: 1.5; margin-top: 3px; }
.pole-schema__col--right .pole-schema__card { flex-direction: row-reverse; text-align: right; }
.pole-schema__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.pole-schema__lines line { stroke: var(--line-strong, #c7d2e0); stroke-width: 1.5; }
@media (max-width: 900px) {
  .pole-schema { grid-template-columns: 1fr; }
  .pole-schema__center { order: -1; max-width: 320px; margin: 0 auto 8px; }
  .pole-schema__lines { display: none; }
  .pole-schema__col--right .pole-schema__card { flex-direction: row; text-align: left; }
}

/* Заявка с сайта (плавающая кнопка + модалка), см. FOOTER в build.py */
.lead-fab {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-600);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}
.lead-fab:hover { background: var(--blue-500); }
.lead-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 37, 66, .55);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lead-modal-overlay.open { display: flex; }
.lead-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 400px;
  padding: 28px 24px;
  position: relative;
}
.lead-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: none;
  font-size: 20px;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px;
}
.lead-modal h3 { font-size: 18px; color: var(--blue-900); margin: 0 0 6px; }
.lead-modal p.sub { font-size: 13px; color: var(--ink-soft); margin: 0 0 18px; }
.lead-modal .field { margin-bottom: 12px; }
.lead-modal .field label { display: block; font-size: 12px; color: var(--ink-soft); margin-bottom: 5px; font-weight: 700; }
.lead-modal .field input, .lead-modal .field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
}
.lead-modal .field input:focus, .lead-modal .field textarea:focus { outline: none; border-color: var(--orange-600); }
.lead-modal button[type="submit"] { width: 100%; justify-content: center; padding: 12px; font-size: 14px; }
.lead-modal__msg { font-size: 13px; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; display: none; }
.lead-modal__msg--error { background: #FDEDED; color: #D64545; }
.lead-modal__msg--ok { background: #E7F6ED; color: #1E7A44; }
.lead-modal__consent { font-size: 11px; color: var(--ink-soft); line-height: 1.5; margin-top: 10px; }
.lead-modal__consent a { color: var(--ink-soft); text-decoration: underline; }
@media (max-width: 480px) {
  .lead-fab span { display: none; }
  .lead-fab { padding: 13px 16px; }
}
