/* ═══════════════════════════════════════════════════════════
   ЭКОХИМПРОГРЕСС — style.css
   Современный B2B-дизайн для производителя хим. средств
═══════════════════════════════════════════════════════════ */

/* ─── CSS Variables ──────────────────────────────────────── */
:root {
  --primary:       #0b3f6e;
  --primary-light: #1466a8;
  --primary-dark:  #072d50;
  --accent:        #1e90d4;
  --accent-hover:  #1778b8;
  --green:         #1aab68;
  --green-light:   #e6f7ef;
  --blue-light:    #e8f4fd;
  --bg:            #f5f7fa;
  --bg-dark:       #e8ecf1;
  --text:          #1a2332;
  --text-mid:      #3d4f6a;
  --muted:         #64748b;
  --border:        #dde3eb;
  --white:         #ffffff;
  --shadow-sm:     0 1px 4px rgba(11,63,110,.08);
  --shadow-md:     0 4px 16px rgba(11,63,110,.12);
  --shadow-lg:     0 8px 32px rgba(11,63,110,.16);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --transition:    .22s ease;
  --font:          system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ─── Scroll Reveal ──────────────────────────────────────── */
.rev { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.rev.vis { opacity: 1; transform: none; }

/* ─── Progress bar ───────────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--green));
  z-index: 9999;
  transition: width .1s linear;
}

/* ─── Container ──────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  text-decoration: none !important;
}
.btn-primary  { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-light); color: var(--white); }
.btn-outline  { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-ghost    { background: transparent; color: var(--primary); border: 2px solid transparent; }
.btn-ghost:hover { background: var(--blue-light); }
.btn-white    { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--bg); }
.btn-outline-white { background: rgba(255,255,255,.18); color: #fff; border: 2px solid #fff; font-weight: 600; }
.btn-outline-white:hover { background: rgba(255,255,255,.32); }
.btn-sm { padding: 7px 16px; font-size: .875rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ─── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.badge-green { background: var(--green-light); color: var(--green); }
.badge-blue  { background: var(--blue-light);  color: var(--primary); }

/* ─── Section helpers ────────────────────────────────────── */
.section-head { text-align: center; margin-bottom: 48px; }
.section-title { font-size: 2rem; font-weight: 700; color: var(--text); line-height: 1.25; }
.section-sub   { font-size: 1.05rem; color: var(--muted); margin-top: 10px; }

/* ─── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb-nav { background: var(--white); border-bottom: 1px solid var(--border); }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0;
  padding: 10px 0;
  font-size: .875rem; color: var(--muted);
}
.breadcrumb li + li::before { content: ' / '; margin: 0 6px; color: var(--border); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); text-decoration: none; }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.solid { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

/* Logo */
.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo-img { height: 48px; width: auto; object-fit: contain; }

/* Desktop nav */
.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  text-decoration: none !important;
}
.nav-link:hover, .nav-link.active { background: var(--blue-light); color: var(--primary); }
.nav-arrow { font-size: .7rem; opacity: .6; }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown::after {
  /* Невидимый мост, который закрывает зазор между пунктом и подменю —
     курсор не успевает "выпасть" в пустоту при переходе */
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 10px;
  background: transparent;
  pointer-events: none;
}
.has-dropdown:hover::after { pointer-events: auto; }

.dropdown {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  position: absolute;
  top: calc(100% + 8px); left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 200;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.dropdown-link {
  display: block; padding: 9px 18px;
  font-size: .875rem; color: var(--text-mid);
  transition: background var(--transition), color var(--transition);
  text-decoration: none !important;
}
.dropdown-link:hover, .dropdown-link.active { background: var(--blue-light); color: var(--primary); }

/* Header contacts */
.header-contacts { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone { font-weight: 700; font-size: .95rem; color: var(--primary); white-space: nowrap; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile Nav ─────────────────────────────────────────── */
.mob-nav {
  position: fixed; top: 0; right: -320px; bottom: 0;
  width: 300px; background: var(--white);
  z-index: 300; transition: right .3s ease;
  overflow-y: auto;
}
.mob-nav.open { right: 0; }
.mob-nav-inner { padding: 20px; }
.mob-nav-close {
  position: absolute; top: 12px; right: 16px;
  font-size: 1.25rem; color: var(--muted); cursor: pointer;
}
.mob-nav-list { margin-top: 40px; }
.mob-nav-item { border-bottom: 1px solid var(--border); }
.mob-nav-item a, .mob-nav-toggle {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 12px 4px;
  font-size: .95rem; color: var(--text);
  text-decoration: none;
}
.mob-sub { display: none; padding: 0 0 8px 12px; }
.mob-sub.open { display: block; }
.mob-sub a { display: block; padding: 8px 4px; font-size: .875rem; color: var(--muted); }
.mob-nav-contacts {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.mob-nav-contacts a { color: var(--primary); font-size: .875rem; }

.mob-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 299;
}
.mob-overlay.show { display: block; }

/* ═══════════════════════════════════════════════════════════
   HERO (Home)
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a2d52 0%, #0b3f6e 50%, #0d5290 100%);
  color: var(--white);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 70% 50%, rgba(30,144,212,.25) 0%, transparent 65%),
              repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.04) 40px),
              repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.04) 40px);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: center;
  padding-top: 60px; padding-bottom: 60px;
}
.hero-label {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.hero-h1 {
  font-size: 2.6rem; font-weight: 800; line-height: 1.15;
  color: var(--white); margin-bottom: 16px;
}
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.8); margin-bottom: 32px; max-width: 500px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero card */
.hero-visual { flex-shrink: 0; }
.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  min-width: 260px;
}
.hero-card-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.15);
}
.hero-card-line:last-of-type { border-bottom: none; }
.hero-brand { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.hero-price { font-size: .9rem; color: rgba(255,255,255,.75); white-space: nowrap; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-eco { font-size: .75rem; color: rgba(255,255,255,.55); margin-top: 12px; }

/* ─── Ticker ─────────────────────────────────────────────── */
.ticker {
  background: var(--primary-dark);
  color: rgba(255,255,255,.7);
  padding: 10px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker-run 40s linear infinite;
  white-space: nowrap;
}
.ticker-item { padding: 0 8px; font-size: .8rem; font-weight: 500; letter-spacing: .04em; }
@keyframes ticker-run {
  from { transform: translateX(0) }
  to   { transform: translateX(-50%) }
}

/* ─── Stats ──────────────────────────────────────────────── */
.stats-section { padding: 56px 0; background: var(--white); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}
.stat-card { padding: 24px 16px; }
.stat-value {
  display: block; font-size: 2.5rem; font-weight: 800;
  color: var(--primary); line-height: 1;
}
.stat-label { display: block; font-size: .875rem; color: var(--muted); margin-top: 6px; }

/* ─── Catalog ────────────────────────────────────────────── */
.catalog-section { padding: 80px 0; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

/* Product card */
.product-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none !important;
  color: var(--text);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: #e63946; color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  z-index: 1;
}
.product-img-wrap { position: relative; height: 180px; overflow: hidden; background: var(--bg); }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.product-img-wrap.no-img .product-img-placeholder { display: flex; }
.product-img-wrap:not(.no-img) .product-img-placeholder { display: none; }

.product-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: .95rem; font-weight: 600; line-height: 1.35; flex: 1; margin-bottom: 12px; }
.product-price-row { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 1rem; font-weight: 700; color: var(--primary); }
.product-price small { font-size: .75rem; font-weight: 400; color: var(--muted); }
.product-arrow { font-size: 1rem; color: var(--accent); }

/* ─── Advantages ─────────────────────────────────────────── */
.advantages-section { padding: 80px 0; background: var(--white); }
.advantages-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.advantage-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.advantage-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.advantage-icon {
  width: 56px; height: 56px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); margin-bottom: 16px;
}
.advantage-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.advantage-text { font-size: .875rem; color: var(--muted); line-height: 1.5; }

/* ─── About section ──────────────────────────────────────── */
.about-section { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text .section-title { text-align: left; margin-bottom: 16px; }
.about-text p { color: var(--text-mid); margin-bottom: 24px; line-height: 1.7; }
.about-text p a { color: var(--accent); border-bottom: 1px dashed var(--accent); text-decoration: none; transition: color .2s, border-color .2s; }
.about-text p a:hover { color: var(--primary); border-bottom-color: var(--primary); text-decoration: none; }
.about-text p a strong { font-weight: 700; }
.about-links { display: flex; gap: 12px; flex-wrap: wrap; }
.about-img-wrap { border-radius: var(--radius-lg); overflow: hidden; }
.about-img { width: 100%; border-radius: var(--radius-lg); }
.about-img-placeholder {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  height: 320px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.9); text-align: center; padding: 40px;
}
.about-img-text { font-size: 1.1rem; line-height: 1.7; }

/* ─── CTA section ────────────────────────────────────────── */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.cta-inner p { font-size: 1.05rem; color: rgba(255,255,255,.8); margin-bottom: 32px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ═══════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white); padding: 48px 0;
}
.page-h1 { font-size: 2.2rem; font-weight: 700; }
.page-sub { font-size: 1rem; color: rgba(255,255,255,.8); margin-top: 10px; }

/* ═══════════════════════════════════════════════════════════
   PRODUCT PAGE
═══════════════════════════════════════════════════════════ */
.product-hero { padding: 48px 0 40px; background: var(--white); }
.product-layout { display: grid; grid-template-columns: 420px 1fr; gap: 60px; align-items: start; }

/* Gallery */
.product-gallery {}
.product-main-img-wrap {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 360px;
}
.product-main-img { width: 100%; height: 100%; object-fit: contain; }
.product-img-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.product-main-img-wrap.no-img .product-img-ph { display: flex; }
.product-main-img-wrap:not(.no-img) .product-img-ph { display: none; }

.product-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product-thumb {
  width: 72px; height: 72px; object-fit: cover;
  border-radius: var(--radius-sm); border: 2px solid var(--border); cursor: pointer;
}
.product-thumb:hover { border-color: var(--accent); }

/* Product info block */
.product-info-block { padding-top: 4px; }
.product-badge-lg {
  display: inline-block;
  background: #e63946; color: #fff;
  font-size: .75rem; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 12px;
}
.product-h1 { font-size: 1.85rem; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.product-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.product-price-block { display: flex; align-items: baseline; gap: 6px; }
.product-price-big { font-size: 2.2rem; font-weight: 800; color: var(--primary); }
.product-price-unit { font-size: 1rem; color: var(--muted); }
.product-packaging { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.product-badges-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.product-intro { font-size: .95rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 24px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Product details */
.product-details { padding: 48px 0; }
.product-details-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; }
.detail-block { margin-bottom: 36px; }
.detail-title { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.detail-block p, .detail-block ul, .detail-block ol { font-size: .95rem; color: var(--text-mid); line-height: 1.7; }
.detail-block ul, .detail-block ol { padding-left: 20px; }
.detail-block li { margin-bottom: 4px; }
.detail-block strong { color: var(--text); }

/* Characteristics table */
.product-chars-col { position: sticky; top: 90px; height: fit-content; }
.chars-table { width: 100%; border-collapse: collapse; }
.chars-table tr { border-bottom: 1px solid var(--border); }
.chars-table tr:last-child { border-bottom: none; }
.chars-label { padding: 12px 8px 12px 0; font-size: .875rem; color: var(--muted); width: 45%; vertical-align: top; }
.chars-value { padding: 12px 0; font-size: .875rem; color: var(--text); font-weight: 500; }

/* Related */
.related-section { padding: 48px 0; background: var(--white); }
.related-section .section-title { margin-bottom: 32px; }
.related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}

/* ═══════════════════════════════════════════════════════════
   PRICE PAGE
═══════════════════════════════════════════════════════════ */
.price-section { padding: 56px 0; }
.price-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.price-date { font-size: .95rem; color: var(--muted); }
.price-table-wrap { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 20px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th {
  background: var(--primary); color: var(--white);
  padding: 14px 16px; text-align: left; font-weight: 600; font-size: .875rem;
}
.price-table tbody tr:nth-child(even) { background: var(--bg); }
.price-table tbody tr:hover { background: var(--blue-light); }
.price-table td { padding: 14px 16px; font-size: .9rem; vertical-align: middle; }
.price-product-link { color: var(--primary); font-weight: 500; }
.price-product-link:hover { text-decoration: underline; }
.price-cell { white-space: nowrap; }
.price-cell strong { font-size: 1rem; color: var(--primary); }
.price-cell small { color: var(--muted); }
.price-note { font-size: .875rem; color: var(--muted); background: var(--bg); padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 40px; }
.price-pdf-wrap { margin-bottom: 40px; }
.price-pdf-wrap h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; }
.price-iframe { width: 100%; height: 600px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.price-cta { background: var(--bg); border-radius: var(--radius-md); padding: 40px; text-align: center; }
.price-cta h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.price-cta p { color: var(--muted); margin-bottom: 20px; }
.price-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.price-email { font-size: .9rem; color: var(--muted); }
.price-email a { color: var(--primary); }

/* ═══════════════════════════════════════════════════════════
   ABOUT / CONTENT PAGES
═══════════════════════════════════════════════════════════ */
.content-section { padding: 56px 0; }
.about-content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.content-col h2, .content-col h3 { margin-top: 28px; margin-bottom: 10px; font-weight: 700; }
.content-col h2 { font-size: 1.4rem; }
.content-col h3 { font-size: 1.1rem; }
.content-col p { color: var(--text-mid); margin-bottom: 14px; line-height: 1.7; }
.content-col ul, .content-col ol { padding-left: 20px; color: var(--text-mid); margin-bottom: 14px; }
.content-col li { margin-bottom: 6px; line-height: 1.6; }
.content-col strong { color: var(--text); }
.content-aside {}
.content-img { width: 100%; border-radius: var(--radius-md); margin-bottom: 20px; }
.contact-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px;
}
.contact-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.contact-card p { font-size: .875rem; margin-bottom: 6px; }
.contact-card a { color: var(--primary); }
.sub-pages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.sub-page-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
  text-decoration: none !important; color: var(--text);
  display: flex; flex-direction: column; gap: 8px;
}
.sub-page-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.sub-page-card h3 { font-size: 1rem; font-weight: 700; }
.sub-page-card p { font-size: .875rem; color: var(--muted); flex: 1; }
.sub-page-arrow { color: var(--accent); font-size: 1rem; }
.content-intro { font-size: 1.1rem; color: var(--text-mid); margin-bottom: 32px; }
.content-body h2, .content-body h3 { margin-top: 28px; margin-bottom: 10px; font-weight: 700; }
.content-body h2 { font-size: 1.4rem; }
.content-body h3 { font-size: 1.1rem; }
.content-body p { color: var(--text-mid); margin-bottom: 14px; line-height: 1.7; }
.content-body ul, .content-body ol { padding-left: 20px; color: var(--text-mid); margin-bottom: 14px; }
.content-body li { margin-bottom: 6px; }
.content-body strong { color: var(--text); }

/* Reviews — uniform square cards */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 40px;
  grid-auto-rows: 1fr;
}
.review-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px;
  position: relative; display: flex; flex-direction: column;
  min-height: 360px;
  box-shadow: 0 2px 8px rgba(20, 40, 80, 0.04);
  transition: box-shadow var(--transition), transform var(--transition);
}
.review-card:hover { box-shadow: 0 8px 20px rgba(20, 40, 80, 0.08); transform: translateY(-2px); }
.review-card.has-media { padding-top: 0; }
.review-card.has-media::before { display: none; }
.review-card:not(.has-media)::before {
  content: '\201C'; font-family: Georgia, serif;
  font-size: 4rem; color: var(--blue-light);
  position: absolute; top: 4px; left: 18px; line-height: 1;
}
.review-media {
  margin: -1px -1px 16px; overflow: hidden;
  border-top-left-radius: var(--radius-md); border-top-right-radius: var(--radius-md);
  background: #0a1422; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.review-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-media video { width: 100%; height: 100%; object-fit: contain; display: block; background: #0a1422; }
.review-text {
  font-size: .9rem; color: var(--text-mid); line-height: 1.6;
  padding-top: 20px; margin-bottom: 16px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card.has-media .review-text { padding-top: 4px; -webkit-line-clamp: 4; }
.review-author { font-size: .9rem; font-weight: 600; color: var(--text); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.review-city { font-weight: 400; color: var(--muted); font-size: .82rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.gallery-item { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--white); display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.gallery-item > .gallery-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s; display: block; }
.gallery-item:hover .gallery-img { transform: scale(1.05); }
.gallery-caption { padding: 10px 12px; font-size: .82rem; color: var(--muted); line-height: 1.4; background: var(--white); }

/* ═══════════════════════════════════════════════════════════
   CONTACTS PAGE
═══════════════════════════════════════════════════════════ */
.contacts-section { padding: 56px 0; }
.contacts-grid { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
.contacts-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--blue-light); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.contact-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.contact-value { font-size: .95rem; color: var(--text); font-weight: 500; }
.contact-value a { color: var(--primary); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }
.contacts-map { }
.map-iframe { width: 100%; height: 480px; border: none; border-radius: var(--radius-md); }
.map-placeholder {
  background: var(--bg); height: 480px;
  border-radius: var(--radius-md); border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; text-align: center; padding: 40px;
}
.contact-map-link {
  display: inline-block; margin-top: 6px;
  font-size: .8rem; color: var(--accent);
  text-decoration: none;
}
.contact-map-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   ARTICLES
═══════════════════════════════════════════════════════════ */
.articles-section { padding: 56px 0; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none !important; color: var(--text);
  box-shadow: 0 2px 8px rgba(20, 40, 80, 0.04);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 40, 80, 0.12);
  border-color: var(--accent);
}
.article-img-wrap {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg);
}
.article-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.article-card:hover .article-img-wrap img { transform: scale(1.06); }
.article-img-wrap.is-placeholder { background: linear-gradient(135deg, #e8f0fb 0%, #f5f8fc 100%); }
.article-placeholder { width: 100%; height: 100%; display: block; }
.article-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.95); color: var(--accent);
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px; letter-spacing: .5px;
}
.article-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.article-date { font-size: .78rem; color: var(--muted); margin-bottom: 10px; letter-spacing: .3px; }
.article-title { font-size: 1.1rem; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.article-excerpt {
  font-size: .88rem; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.article-more { font-size: .85rem; font-weight: 600; color: var(--accent); margin-top: auto; }

/* Single article */
.article-page { padding: 56px 0; }
.article-header { margin-bottom: 32px; }
.article-h1 { font-size: 2rem; font-weight: 700; line-height: 1.2; margin-top: 8px; }
.article-cover { margin-bottom: 32px; border-radius: var(--radius-md); overflow: hidden; }
.article-cover img { width: 100%; max-height: 400px; object-fit: cover; }
.article-content { max-width: 760px; }
.article-content h2 { font-size: 1.4rem; font-weight: 700; margin: 28px 0 12px; }
.article-content h3 { font-size: 1.15rem; font-weight: 700; margin: 22px 0 10px; }
.article-content p { color: var(--text-mid); margin-bottom: 16px; line-height: 1.75; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 16px; }
.article-content li { margin-bottom: 6px; color: var(--text-mid); line-height: 1.6; }
.article-content strong { color: var(--text); }
.article-cta { background: var(--bg); border-radius: var(--radius-md); padding: 32px; margin-top: 40px; max-width: 760px; }
.article-cta p { margin-bottom: 16px; font-weight: 600; }
.article-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.empty-state { color: var(--muted); font-size: 1rem; text-align: center; padding: 40px; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
  padding: 56px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 220px 1fr 150px 240px; gap: 40px; padding-bottom: 48px; }
.footer-brand { }
.footer-logo { display: block; margin-bottom: 14px; }
.footer-logo img { height: 48px; width: auto; opacity: .9; }
.footer-tagline { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 16px; line-height: 1.5; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); transition: background var(--transition), color var(--transition), transform var(--transition); }
.social-link:hover { color: var(--white); background: rgba(255,255,255,.14); text-decoration: none; transform: translateY(-2px); }
.social-link-max { font-weight: 700; }
.footer-col h4 { font-size: .875rem; font-weight: 700; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.65); text-decoration: none; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-contact-col address p { font-size: .875rem; margin-bottom: 6px; }
.footer-contact-col address a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-contact-col address a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* ─── Floating CTA ───────────────────────────────────────── */
.floating-cta {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: var(--green); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(26,171,104,.5);
  opacity: 0; pointer-events: none;
  transform: scale(0.8);
  transition: opacity .3s, transform .3s;
  z-index: 200;
  text-decoration: none !important;
}
.floating-cta.show { opacity: 1; pointer-events: auto; transform: scale(1); }
.floating-cta:hover { background: #14914f; transform: scale(1.1); }

/* ─── Error page ─────────────────────────────────────────── */
.error-page { padding: 100px 0; text-align: center; }
.error-code { font-size: 8rem; font-weight: 800; color: var(--border); line-height: 1; margin-bottom: 16px; }
.error-page h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 12px; }
.error-page p { color: var(--muted); max-width: 440px; margin: 0 auto 32px; }
.error-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .product-layout { grid-template-columns: 1fr; }
  .product-main-img-wrap { height: 280px; }
  .product-details-grid { grid-template-columns: 1fr; }
  .product-chars-col { position: static; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: 1fr; }
  .about-content-grid { grid-template-columns: 1fr; }
  .sub-pages-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav, .header-contacts .btn-outline { display: none; }
  .burger { display: flex; }
  .header-contacts { gap: 8px; }
  .header-phone { font-size: .875rem; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-h1 { font-size: 1.9rem; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .article-title { font-size: 1.05rem; }
  .advantages-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .section-title { font-size: 1.6rem; }
  .page-h1 { font-size: 1.6rem; }
  .cta-inner h2 { font-size: 1.5rem; }

  .price-table { display: block; overflow-x: auto; }
  .price-iframe { height: 400px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 1.55rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }
  .product-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .related-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   HOME PAGE — VISUAL ENHANCEMENTS
═══════════════════════════════════════════════════════════ */

/* ─── Section title — декоративная линия ────────────────── */
.section-head .section-title {
  position: relative;
  padding-bottom: 18px;
}
.section-head .section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* ─── Ticker — fade по краям ─────────────────────────────── */
.ticker { position: relative; }
.ticker::before,
.ticker::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 1; pointer-events: none;
}
.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--primary-dark) 0%, transparent 100%);
}
.ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--primary-dark) 0%, transparent 100%);
}

/* ─── Stats — градиентный фон + цифры + разделители ─────── */
.stats-section {
  background: linear-gradient(180deg, #fff 0%, #eef4ff 100%);
  border-top: 3px solid var(--accent);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,144,212,.07) 0%, transparent 70%);
  pointer-events: none;
}
.stat-card {
  position: relative;
}
.stat-card + .stat-card::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}
.stat-value {
  background: linear-gradient(135deg, var(--primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Catalog — точечный паттерн + линия на карточке ────── */
.catalog-section {
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(11,63,110,.055) 1px, transparent 1px);
  background-size: 24px 24px;
}
.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.product-card:hover::after {
  transform: scaleX(1);
}

/* ─── Advantages — фон + круглые иконки + топ-бордер hover ─ */
.advantages-section {
  background: linear-gradient(180deg, var(--bg) 0%, #fff 60%);
  position: relative;
}
.advantages-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 24px,
    rgba(11,63,110,.018) 24px, rgba(11,63,110,.018) 25px
  );
  pointer-events: none;
}
.advantage-card {
  background: var(--white);
  border-top: 3px solid transparent;
  position: relative;
  z-index: 1;
}
.advantage-card:hover {
  border-top-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  transition: border-top-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.advantage-icon {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light) 0%, rgba(30,144,212,.18) 100%);
  box-shadow: 0 4px 14px rgba(30,144,212,.18);
}

/* ─── About — декоративный placeholder ──────────────────── */
.about-img-placeholder {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(30,144,212,.35) 0%, transparent 45%),
    radial-gradient(ellipse at 15% 75%, rgba(26,171,104,.2) 0%, transparent 40%),
    linear-gradient(140deg, #072d50 0%, #0b3f6e 55%, #0d5290 100%);
  position: relative;
  overflow: hidden;
}
.about-img-placeholder::before {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  top: -70px; right: -70px;
  pointer-events: none;
}
.about-img-placeholder::after {
  content: '';
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  bottom: -45px; left: -45px;
  pointer-events: none;
}
.about-img-text {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ─── CTA — глубина, свечения, текстура ─────────────────── */
.cta-section {
  background: linear-gradient(140deg, #072d50 0%, #0b3f6e 50%, #1466a8 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 12% 50%, rgba(30,144,212,.4) 0%, transparent 55%),
    radial-gradient(ellipse at 88% 30%, rgba(26,171,104,.22) 0%, transparent 45%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 16px,
    rgba(255,255,255,.025) 16px, rgba(255,255,255,.025) 17px
  );
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
}

/* ─── Floating CTA — пульсирующее кольцо ────────────────── */
.floating-cta {
  overflow: visible;
}
.floating-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  z-index: -1;
  animation-name: cta-pulse;
  animation-duration: 2.4s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
  animation-play-state: paused;
  pointer-events: none;
}
.floating-cta.show::before {
  animation-play-state: running;
}
@keyframes cta-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* ─── Stat dividers responsive fix ──────────────────────── */
@media (max-width: 900px) {
  .stat-card + .stat-card::before { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT PAGE — VISUAL ENHANCEMENTS
═══════════════════════════════════════════════════════════ */

/* ─── Product hero — лёгкий градиентный фон ────────────── */
.product-hero {
  background: linear-gradient(160deg, #f4f8ff 0%, #eef4ff 60%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.product-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,144,212,.09) 0%, transparent 65%);
  pointer-events: none;
}
.product-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,171,104,.07) 0%, transparent 65%);
  pointer-events: none;
}

/* ─── Product image wrap — inner shadow + glow on hover ── */
.product-main-img-wrap {
  background: linear-gradient(145deg, #f8faff 0%, #edf3fc 100%);
  box-shadow: inset 0 1px 4px rgba(11,63,110,.06), 0 2px 12px rgba(11,63,110,.07);
  transition: box-shadow .3s ease;
}
.product-main-img-wrap:hover {
  box-shadow: inset 0 1px 4px rgba(11,63,110,.06), 0 6px 28px rgba(30,144,212,.18);
}

/* ─── Цена — градиентный текст ──────────────────────────── */
.product-price-big {
  background: linear-gradient(135deg, var(--primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Product details — разделитель + accent-underline ── */
.product-details {
  background: linear-gradient(180deg, #fff 0%, #f4f8ff 100%);
  position: relative;
}
.product-details::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.detail-title {
  position: relative;
  padding-bottom: 10px;
}
.detail-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* ─── Characteristics table — hover row highlight ────────── */
.chars-table tr {
  transition: background .2s;
}
.chars-table tr:hover {
  background: var(--blue-light);
}
.chars-table tr:hover .chars-label,
.chars-table tr:hover .chars-value {
  color: var(--primary);
}

/* ─── Chars sidebar card ─────────────────────────────────── */
.product-chars-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--accent);
}

/* ─── Related — точечный паттерн ─────────────────────────── */
.related-section {
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(11,63,110,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════
   CONTACTS PAGE — VISUAL ENHANCEMENTS
═══════════════════════════════════════════════════════════ */

/* ─── Contacts section — лёгкий паттерн ─────────────────── */
.contacts-section {
  background-color: #f4f8ff;
  background-image:
    radial-gradient(circle, rgba(11,63,110,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  position: relative;
}
.contacts-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--green));
}

/* ─── Contact icon — круглый с градиентом и свечением ────── */
.contact-icon {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light) 0%, rgba(30,144,212,.25) 100%);
  box-shadow: 0 4px 14px rgba(30,144,212,.18);
  transition: box-shadow .25s, transform .25s;
}

/* ─── Contact item — hover подсветка ─────────────────────── */
.contact-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: border-left-color .25s, box-shadow .25s, transform .25s;
}
.contact-item:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.contact-item:hover .contact-icon {
  box-shadow: 0 6px 20px rgba(30,144,212,.3);
  transform: scale(1.1);
}

/* ─── Map — рамка с тенью и top-accent ───────────────────── */
.contacts-map {
  position: relative;
}
.contacts-map::before {
  content: '';
  position: absolute;
  top: -3px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px 2px 0 0;
  z-index: 1;
}
.map-iframe {
  box-shadow: 0 8px 32px rgba(11,63,110,.14);
  border: 1px solid var(--border);
}
.map-placeholder {
  border-top: 3px solid var(--accent);
  box-shadow: 0 4px 20px rgba(11,63,110,.08);
}

/* ─── Page hero — radial glow (contacts, about, etc.) ────── */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(30,144,212,.3) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 30%, rgba(26,171,104,.15) 0%, transparent 45%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER — компактная карточка в углу
═══════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  left: 24px; bottom: 24px;
  z-index: 300;
  max-width: 420px;
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(7,45,80,.25), 0 0 0 1px rgba(11,63,110,.06);
  padding: 22px 22px 20px;
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .35s;
  overflow: hidden;
}
.cookie-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--green));
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-banner-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light) 0%, rgba(30,144,212,.25) 100%);
  box-shadow: 0 4px 14px rgba(30,144,212,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.cookie-banner-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary);
}
.cookie-banner-text {
  font-size: .85rem;
  line-height: 1.55;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
}
.cookie-banner-text a:hover {
  color: var(--primary);
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cookie-banner-btn {
  flex: 1;
  background: linear-gradient(135deg, var(--green) 0%, #14914f 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 16px rgba(26,171,104,.3);
  font-family: inherit;
}
.cookie-banner-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(26,171,104,.38);
}
.cookie-banner-btn:active { transform: translateY(0); }
.cookie-banner-link {
  font-size: .82rem;
  color: var(--muted);
  text-decoration: none;
  padding: 12px 6px;
  transition: color .2s;
}
.cookie-banner-link:hover {
  color: var(--primary);
  text-decoration: underline;
}
@media (max-width: 640px) {
  .cookie-banner {
    left: 12px; right: 12px; bottom: 12px;
    max-width: none;
    padding: 18px;
    border-radius: 14px;
  }
  .cookie-banner-icon { width: 36px; height: 36px; font-size: 1.15rem; }
  .cookie-banner-title { font-size: .95rem; }
  .cookie-banner-text { font-size: .8rem; }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER LEGAL (под копирайтом)
═══════════════════════════════════════════════════════════ */
.footer-legal {
  margin-top: 10px;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
}
.footer-legal a {
  color: #7ec3ee;
  text-decoration: underline;
  font-weight: 500;
  transition: color .2s;
}
.footer-legal a:hover { color: #fff; }
.footer-legal-sep { margin: 0 8px; color: rgba(255,255,255,.35); }

/* ═══════════════════════════════════════════════════════════
   POLICY PAGE
═══════════════════════════════════════════════════════════ */
.policy-body {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px 48px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.policy-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue-light);
}
.policy-body h2:first-child { margin-top: 0; }
.policy-body p { margin-bottom: 12px; line-height: 1.75; color: var(--text-mid); }
.policy-body ul { padding-left: 22px; margin-bottom: 14px; }
.policy-body ul li { margin-bottom: 6px; line-height: 1.65; color: var(--text-mid); }
.policy-body strong { color: var(--text); }
@media (max-width: 640px) {
  .policy-body { padding: 24px 18px; }
}

/* ═══════════════════════════════════════════════════════════
   Product Video Button
═══════════════════════════════════════════════════════════ */
.btn-video {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--accent) 0%, #0a6fc2 100%);
  color: #fff !important;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(12, 126, 213, 0.28);
  text-decoration: none;
}
.btn-video:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(12, 126, 213, 0.4);
  background: linear-gradient(135deg, #0a6fc2 0%, var(--primary) 100%);
}
.btn-video svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   Product Video Section
═══════════════════════════════════════════════════════════ */
.product-video-section {
  padding: 40px 0 10px;
  position: relative;
}
.product-video-wrap {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(10, 45, 90, 0.08);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.product-video-wrap::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--blue-light) 50%, var(--primary) 100%);
  z-index: 2;
}
.product-video-head {
  padding: 28px 32px 20px;
  text-align: center;
}
.product-video-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #0a6fc2 100%);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(12, 126, 213, 0.25);
}
.product-video-pill svg { flex-shrink: 0; }
.product-video-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
  line-height: 1.3;
}
.product-video-desc {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}
.product-video-player {
  padding: 0 20px 24px;
}
.product-video-player video {
  display: block;
  width: 100%;
  max-height: 560px;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 6px 24px rgba(10, 45, 90, 0.14);
}
@media (max-width: 768px) {
  .product-video-section { padding: 28px 0 4px; }
  .product-video-head { padding: 22px 18px 14px; }
  .product-video-title { font-size: 1.2rem; }
  .product-video-desc { font-size: 0.92rem; }
  .product-video-player { padding: 0 12px 18px; }
}

/* Product: external video cross-link */
.product-video-ext-section { padding: 40px 0 10px; }
.product-video-ext {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none !important;
  color: var(--text);
  box-shadow: 0 8px 30px rgba(10, 45, 90, 0.08);
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-video-ext:hover {
  box-shadow: 0 14px 36px rgba(10, 45, 90, 0.14);
  transform: translateY(-2px);
}
.product-video-ext-poster {
  position: relative;
  background: #0a1422 center / cover no-repeat;
  min-height: 240px;
  display: flex; align-items: center; justify-content: center;
}
.product-video-ext-poster::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,30,60,.25), rgba(10,30,60,.55));
}
.product-video-ext-play {
  position: relative; z-index: 1;
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,.96); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  padding-left: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform var(--transition);
}
.product-video-ext:hover .product-video-ext-play { transform: scale(1.08); }
.product-video-ext-body { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
.product-video-ext-title {
  font-size: 1.35rem; font-weight: 700; color: var(--primary);
  line-height: 1.3; margin: 0 0 10px;
}
.product-video-ext-desc {
  font-size: .95rem; color: var(--text-mid); line-height: 1.6; margin: 0 0 14px;
}
.product-video-ext-cta {
  font-size: .9rem; font-weight: 700; color: var(--accent);
  margin-top: auto; letter-spacing: .2px;
}
@media (max-width: 768px) {
  .product-video-ext-section { padding: 28px 0 4px; }
  .product-video-ext { grid-template-columns: 1fr; }
  .product-video-ext-poster { min-height: 200px; aspect-ratio: 16/9; }
  .product-video-ext-body { padding: 22px 18px; }
  .product-video-ext-title { font-size: 1.15rem; }
}
