/* =================================================
   АВАС ГРУПП — Bitrix template stylesheet
   Template: rds-avasgroup
   ================================================= */


/* =========================================================
   DESIGN SYSTEM — АВАС ГРУПП × B2B TECH (LIGHT THEME)
   ========================================================= */
:root {
  /* Brand AVAS — official #224A98 */
  --brand: #224A98;
  --brand-bright: #2d5cb8;
  --brand-deep: #1a3a7a;
  --brand-glow: rgba(34, 74, 152, 0.18);

  /* Surfaces — light B2B tech */
  --bg-base: #ffffff;
  --bg-elevated: #f6f8fc;
  --bg-card: #ffffff;
  --bg-card-hover: #f3f6fa;
  --bg-overlay: rgba(255, 255, 255, 0.92);

  /* Borders */
  --border: #e2e8f0;
  --border-bright: #cbd5e1;
  --border-glow: rgba(34, 74, 152, 0.25);

  /* Text */
  --text: #0f172a;
  --text-soft: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  /* Semantic */
  --ok: #10b981;
  --ok-bg: rgba(16, 185, 129, 0.1);
  --warn: #d97706;
  --warn-bg: rgba(217, 119, 6, 0.1);
  --hot: #dc2626;
  --hot-bg: rgba(220, 38, 38, 0.1);

  /* Type */
  --font: 'Onest', -apple-system, sans-serif;
  --mono: 'Montserrat', -apple-system, sans-serif;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;

  /* Shadows — soft elevation for light theme */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 4px 20px var(--brand-glow);

  /* Spacing 4px grid */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px;
  --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px;
  --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px;
  --s32: 128px;

  /* Layout */
  --max: 1320px;
}
/* Универсальное правило: где используется --mono шрифт, числа табулярные (выравниваются в столбик) */
.cpp-num, .bp-number, .header-phone-btn, .util-coop .uc-phone,
.qs-value, .price-row, .adv-value, .spec-key, .spec-val,
.gallery-counter, .section-tag, .feature-tag,
[style*="var(--mono)"] {
  font-variant-numeric: tabular-nums;
}


*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
*::selection { background: var(--brand); color: white; }

html { scroll-behavior: smooth; overflow-x: clip; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  margin: 0;
  padding: 0;
}

/* Background atmosphere */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(circle at 15% -5%, rgba(34, 74, 152, 0.045), transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(34, 74, 152, 0.03), transparent 50%);
  pointer-events: none; z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; color: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--s6); position: relative; z-index: 1; }

/* =========================================================
   TOP UTILITY BAR — Row 1: nav + contacts
   ========================================================= */
.utility-bar {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 13px;
  position: relative; z-index: 1000;
}
.utility-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s5);
}
.top-nav {
  grid-column: 2;
  display: flex; align-items: center; gap: var(--s5);
  font-size: 13px; font-weight: 500;
}
.top-nav .top-item {
  position: relative;
}
.top-nav a {
  color: var(--text);
  transition: color .2s;
  display: inline-flex; align-items: center; gap: 4px;
  text-decoration: none;
}
.top-nav a:hover { color: var(--brand); }
.top-nav a.has-dropdown .td-chev,
.top-nav a.has-dropdown svg {
  color: var(--text-muted);
  transition: transform .2s, color .2s;
}
.top-nav a.has-dropdown:hover .td-chev,
.top-nav .top-item-dropdown:hover .td-chev {
  color: var(--brand);
  transform: rotate(180deg);
}

/* --- Выпадашка верхнего меню (.td-menu) --- */
.top-nav .td-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  padding: 8px 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .12), 0 2px 6px rgba(15, 23, 42, .08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.top-nav .td-menu::before {
  /* невидимый мост между триггером и выпадашкой, чтобы курсор не выпадал */
  content: '';
  position: absolute;
  top: -10px;
  left: 0; right: 0;
  height: 10px;
}
.top-nav .td-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.top-nav .td-menu a:hover,
.top-nav .td-menu a:focus {
  background: var(--bg-elevated, #f8fafc);
  color: var(--brand);
}
.top-nav .top-item-dropdown:hover .td-menu,
.top-nav .top-item-dropdown:focus-within .td-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.util-contacts {
  grid-column: 3;
  justify-self: end;
  display: flex; align-items: center; gap: var(--s5);
}
.util-email {
  color: var(--text);
  font-weight: 500;
  transition: color .2s;
}
.util-email:hover { color: var(--brand); }
.util-coop {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text);
}
.util-coop .uc-label { color: var(--text-muted); }
.util-coop .uc-phone {
  color: var(--text); font-weight: 600;
  font-family: var(--mono); font-size: 13px;
  letter-spacing: -0.04em;
  transition: color .2s;
}
.util-coop .uc-phone:hover { color: var(--brand); }

/* =========================================================
   HEADER — Row 2: logo, search, messengers, phone CTA
   Row 3: sub-navigation
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s5);
  padding: var(--s4) 0;
}
.logo { display: inline-flex; align-items: center; transition: opacity .2s; grid-column: 1; justify-self: start; }
.logo:hover { opacity: 0.85; }
.logo-img {
  height: 42px; width: auto;
  display: block;
}
.logo-img-footer {
  height: 48px; width: auto;
  display: block;
  margin-bottom: var(--s4);
}

/* Search box — pill-shaped grey input, CENTERED */
.search-box {
  grid-column: 2;
  width: 480px;
  max-width: 100%;
  position: relative;
}
.search-input {
  width: 100%;
  padding: 11px 48px 11px 20px;
  background: #eef2f7;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all .2s;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus {
  background: white;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(34, 74, 152, 0.1);
}
.search-btn {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: grid; place-items: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
}
.search-btn:hover {
  color: var(--brand);
  background: rgba(34, 74, 152, 0.06);
}
.search-btn svg { width: 16px; height: 16px; }

/* Header actions: messengers + phone button */
.header-actions {
  display: flex; align-items: center;
  gap: var(--s4);
  grid-column: 3;
  justify-self: end;
}

/* Messenger block */
.messenger-block {
  display: flex; align-items: center; gap: var(--s3);
}
.messenger-text {
  font-size: 12px;
  line-height: 1.3;
  text-align: right;
  display: flex; flex-direction: column;
  flex-shrink: 0;
}
.messenger-text span {
  white-space: nowrap;
}
.messenger-text span:first-child { color: var(--text); }
.messenger-text span:last-child { color: var(--text-muted); }
.messenger-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
  transition: all .2s;
  flex-shrink: 0;
}
.messenger-icon svg { width: 20px; height: 20px; }
.messenger-wa { background: #25D366; }
.messenger-wa:hover {
  background: #1FA851;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.35);
}
.messenger-tg { background: #229ED9; }
.messenger-tg:hover {
  background: #1A85B5;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(34, 158, 217, 0.35);
}
/* Max messenger — gradient brand identity */
.messenger-max {
  background: linear-gradient(135deg, #5BB1FF 0%, #7C3AED 100%);
}
.messenger-max:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.4);
}

/* Phone CTA button — RED for high-conversion contrast (per screenshot) */
.header-phone-btn {
  display: inline-flex; align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #e63946;
  color: white;
  border-radius: var(--r-md);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.05em;
  transition: all .2s;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(230, 57, 70, 0.25);
}
.header-phone-btn svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.header-phone-btn:hover {
  background: #d62836;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
}

/* =========================================================
   SUB-NAV — Row 3: main service categories
   ========================================================= */
.sub-nav {
  display: flex;
  gap: var(--s8);
  justify-content: center;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sub-nav::-webkit-scrollbar { display: none; }
.sub-nav a {
  color: var(--text);
  position: relative;
  padding: 16px 0;
  transition: color .2s;
  white-space: nowrap;
}
.sub-nav a:hover { color: var(--brand); }
.sub-nav a.active { color: var(--brand); }
.sub-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--brand);
}

/* Shared keyframes — used in many places */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes phonePulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.25); opacity: 0; }
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  padding: 10px 18px; border-radius: var(--r-md);
  font-weight: 600; font-size: 14px; line-height: 1;
  transition: all .2s; white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--brand); color: white;
  box-shadow: 0 4px 14px var(--brand-glow);
}
.btn-primary:hover {
  background: var(--brand-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--brand-glow);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-bright);
}
.btn-ghost:hover {
  border-color: var(--brand-bright); color: var(--brand-bright);
  background: rgba(34, 74, 152, 0.06);
}
.btn-lg { padding: 14px 24px; font-size: 15px; }

/* Mobile menu */
.burger { display: none; width: 40px; height: 40px; }

/* =========================================================
   BREADCRUMBS
   ========================================================= */
.breadcrumbs {
  padding: var(--s6) 0 var(--s4);
  font-family: var(--mono); font-size: 12px;
  color: var(--text-muted);
}
.breadcrumbs span { color: var(--text-dim); margin: 0 var(--s2); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs strong { color: var(--text-soft); font-weight: 500; }

/* =========================================================
   HERO — Product Showcase
   ========================================================= */
.hero { padding: var(--s4) 0 var(--s16); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--s10);
  align-items: start;
}

/* Gallery */
.gallery { position: sticky; top: 100px; }
.gallery-main {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.gallery-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .25s;
}
.gallery-img.swapping { opacity: 0.5; }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--s6) var(--s5) var(--s4);
  background: linear-gradient(to top, rgba(6,9,15,.85), transparent);
  color: #ffffff;
  font-size: 13px; font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  z-index: 2;
  pointer-events: none;
}
.gallery-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(6, 9, 15, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .2s;
  opacity: 0;
  z-index: 3;
}
.gallery-main:hover .gallery-nav { opacity: 1; }
.gallery-nav:hover {
  background: var(--brand);
  border-color: var(--brand-bright);
  transform: translateY(-50%) scale(1.05);
}
.gallery-nav svg { width: 18px; height: 18px; }
.gallery-prev { left: var(--s4); }
.gallery-next { right: var(--s4); }

/* Photo counter overlay */
.gallery-counter {
  position: absolute; bottom: var(--s4); right: var(--s4);
  background: rgba(6, 9, 15, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px;
  color: #ffffff;
  display: flex; align-items: center; gap: 6px;
  z-index: 3;
}

/* Status badges on photo */
.gallery-badges {
  position: absolute; top: var(--s4); left: var(--s4);
  display: flex; gap: var(--s2); z-index: 2;
}
.badge {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  padding: 6px 11px; border-radius: 999px;
  letter-spacing: 1.2px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.badge-ok {
  background: var(--ok);
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
}
.badge-ok::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: white; box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  animation: pulse 2s infinite;
}
.badge-new {
  background: var(--brand);
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
}
.badge-hot {
  background: var(--hot);
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Thumbnails */
.gallery-thumbs {
  margin-top: var(--s3);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s2);
}
.thumb {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  padding: 0;
  transition: all .2s;
}
.thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity .2s;
}
.thumb:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}
.thumb:hover img { opacity: 1; }
.thumb.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 4px 16px var(--brand-glow);
}
.thumb.active img { opacity: 1; }

/* Product Info Side */
.product-info { padding-top: var(--s2); }
.product-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--s4);
}
.product-title .accent {
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.product-subtitle {
  color: var(--text-soft); font-size: 16px; line-height: 1.6;
  margin-bottom: var(--s6);
  max-width: 480px;
}

/* Quick Spec Pills — visual KPIs */
.quick-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
  margin-bottom: var(--s6);
}
.qs-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s4) var(--s5);
  position: relative;
  overflow: hidden;
  transition: all .25s;
}
.qs-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0; transition: opacity .25s;
}
.qs-item:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.qs-item:hover::before { opacity: 1; }
.qs-label {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  color: var(--text-muted); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: var(--s2);
}
.qs-label svg { width: 12px; height: 12px; color: var(--brand); }
.qs-value {
  font-size: 24px; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.1; color: var(--text);
}
.qs-value small {
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  margin-left: 4px; letter-spacing: 0;
}

/* ============================================
   AVAILABILITY BLOCK — live inventory by field
   ============================================ */
.availability-block {
  margin-bottom: var(--s6);
  padding: var(--s5);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.04), rgba(34, 74, 152, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.availability-block::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ok), transparent);
  opacity: 0.4;
}
.ab-header {
  display: flex; align-items: center; gap: var(--s2);
  margin-bottom: var(--s4);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.ab-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 8px var(--ok);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.ab-title {
  color: var(--text); font-weight: 600;
}
.ab-update {
  margin-left: auto; color: var(--text-muted);
  font-size: 10px; letter-spacing: 1px;
}
.ab-pills {
  display: flex; flex-wrap: wrap; gap: var(--s2);
  align-items: center;
}
.ab-pill {
  display: inline-flex; align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  transition: all .2s;
  white-space: nowrap;
}
.ab-pill:hover {
  border-color: var(--ok);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}
.ab-pin {
  width: 14px; height: 14px;
  color: var(--ok);
  flex-shrink: 0;
}
.ab-pill strong {
  font-weight: 600; color: var(--text);
}
.ab-region {
  color: var(--text-muted); font-size: 12px;
  font-weight: 400;
}

/* Hidden pills (revealed on click) */
.ab-pill-hidden { display: none; }
.ab-pills.expanded .ab-pill-hidden { display: inline-flex; }

/* Expand button — looks like a pill but with chevron */
.ab-more {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px;
  background: transparent;
  border: 1px dashed var(--border-bright);
  border-radius: 999px;
  font-family: var(--font);
  font-size: 12px; font-weight: 500;
  color: var(--brand);
  cursor: pointer;
  transition: all .2s;
}
.ab-more:hover {
  background: rgba(34, 74, 152, 0.06);
  border-color: var(--brand);
  border-style: solid;
}
.ab-more svg {
  width: 12px; height: 12px;
  transition: transform .25s;
}
.ab-pills.expanded .ab-more svg { transform: rotate(180deg); }
.ab-more-expanded { display: none; }
.ab-pills.expanded .ab-more-collapsed { display: none; }
.ab-pills.expanded .ab-more-expanded { display: inline; }

/* CTA Block */
.cta-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cta-block::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(34, 74, 152, 0.08), transparent 70%);
  pointer-events: none;
}
.cta-price {
  display: flex; align-items: baseline; gap: var(--s3);
  margin-bottom: var(--s3);
  position: relative; z-index: 1;
}
.cta-price .label {
  font-family: var(--mono); font-size: 11px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.cta-price .value {
  font-size: 32px; font-weight: 800; letter-spacing: -0.025em;
  color: var(--text); line-height: 1;
}
.cta-price .period { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* Discount strip */
.cta-discount {
  display: flex; align-items: center; gap: var(--s2);
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--r-md);
  font-size: 13px; color: var(--text-soft);
  margin-bottom: var(--s5);
  position: relative; z-index: 1;
}
.cta-discount svg { color: var(--ok); flex-shrink: 0; }
.cta-discount strong { color: var(--ok); font-weight: 600; }

/* PRIMARY PHONE CTA — главный конверсионный элемент (70% звонков) */
.cta-phone-primary {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); padding: var(--s4) var(--s5);
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border: 1px solid var(--brand-bright);
  border-radius: var(--r-lg);
  margin-bottom: var(--s3);
  position: relative; z-index: 1;
  transition: all .25s;
  box-shadow: 0 8px 24px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.15);
  overflow: hidden;
}
.cta-phone-primary::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left .6s;
}
.cta-phone-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.cta-phone-primary:hover::before { left: 100%; }
.cpp-left { display: flex; align-items: center; gap: var(--s3); }
.cpp-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  display: grid; place-items: center;
  color: white;
  position: relative;
  flex-shrink: 0;
}
.cpp-icon::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: calc(var(--r-md) + 4px);
  border: 2px solid rgba(255,255,255,0.4);
  animation: phonePulse 2.5s infinite;
}
.cpp-icon svg { width: 22px; height: 22px; }
.cpp-label {
  font-size: 11px; color: rgba(255,255,255,0.75);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 2px; font-weight: 600;
}
.cpp-num {
  font-family: var(--mono); font-weight: 700; font-size: 20px;
  color: white; letter-spacing: -0.01em; line-height: 1;
}
.cpp-right { text-align: right; }
.cpp-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: white; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.cpp-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s infinite;
}
.cpp-hours {
  font-family: var(--mono); font-size: 10px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* Secondary CTA row */
.cta-secondary {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s2); margin-bottom: var(--s5);
  position: relative; z-index: 1;
}
.cta-secondary .btn { width: 100%; }

.cta-manager {
  display: flex; align-items: center; gap: var(--s3);
  padding-top: var(--s5);
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.cta-manager-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
  display: grid; place-items: center;
  font-weight: 700; color: white;
  position: relative;
  flex-shrink: 0;
}
.cta-manager-avatar::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ok); border: 2px solid var(--bg-card);
}
.cta-manager-info { flex: 1; min-width: 0; }
.cta-manager-info .name {
  font-weight: 600; font-size: 14px; color: var(--text);
}
.cta-manager-info .role {
  font-size: 12px; color: var(--text-muted);
}
.cta-manager-actions { display: flex; gap: var(--s2); }
.icon-btn {
  width: 36px; height: 36px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: rgba(34, 74, 152, 0.08);
  border: 1px solid rgba(34, 74, 152, 0.18);
  color: var(--brand);
  transition: all .2s;
}
.icon-btn:hover { background: var(--brand); color: white; }
.icon-btn svg { width: 16px; height: 16px; }

/* Delivery times row */
.delivery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  margin-top: var(--s5);
}
.delivery-item {
  text-align: center;
  padding: var(--s3);
  background: rgba(6, 9, 15, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.delivery-item .time {
  font-family: var(--mono); font-weight: 700;
  font-size: 18px; color: var(--brand);
  letter-spacing: -0.02em;
}
.delivery-item .place {
  font-size: 11px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
  margin-top: 2px;
}

/* =========================================================
   SECTION GENERIC
   ========================================================= */
.section { padding: var(--s20) 0; position: relative; }
.section-tight { padding: var(--s16) 0; }
.section-header {
  margin-bottom: var(--s12);
  max-width: 720px;
}
.section-tag {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--brand); letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--s3);
}
.section-tag::before {
  content: ''; width: 24px; height: 1px;
  background: var(--brand);
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: var(--s4);
}
.section-subtitle {
  color: var(--text-soft); font-size: 17px; line-height: 1.55;
  max-width: 600px;
}

/* =========================================================
   SPECS TABS
   ========================================================= */
.specs { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tabs-nav {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s10);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: var(--s4) var(--s6);
  font-weight: 500; font-size: 14px;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  display: flex; align-items: center; gap: var(--s2);
  transition: all .2s;
}
.tab-btn .num {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-dim);
}
.tab-btn:hover { color: var(--text-soft); }
.tab-btn.active {
  color: var(--text); border-bottom-color: var(--brand);
}
.tab-btn.active .num { color: var(--brand); }

.tab-panel { display: none; animation: fadeIn .3s; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================
   FEATURED TAB — Service / Complex offering
   "Special" background to highlight one-stop service value prop
   ============================================ */
#tab-service {
  position: relative;
  padding: var(--s10);
  margin: var(--s4) 0;
  border-radius: var(--r-2xl);
  background:
    radial-gradient(ellipse 800px 600px at 0% 0%, rgba(34, 74, 152, 0.10), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 100%, rgba(34, 74, 152, 0.07), transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% 50%, rgba(34, 74, 152, 0.03), transparent 70%),
    linear-gradient(135deg, #f8fbff, #eef4fc);
  border: 1px solid rgba(34, 74, 152, 0.18);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 12px 32px rgba(34, 74, 152, 0.08);
  isolation: isolate;
}

/* Dot grid pattern — subtle technical / "blueprint" feel */
/* Dot pattern removed per request — tab content kept on clean gradient bg */

/* Glowing top accent line — premium signal */
#tab-service::after {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand) 50%, transparent);
  opacity: 0.7;
  z-index: 1;
}

/* All children above the decorative layers */
#tab-service > * {
  position: relative;
  z-index: 2;
}

/* Tab button for service — pulse indicator hints "featured" content */
.tab-btn[data-tab="service"] {
  position: relative;
}
.tab-btn[data-tab="service"]::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand-glow);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

/* Spec grid */
.spec-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s2);
}
.spec-row {
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--s4); padding: var(--s4) var(--s5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  align-items: center;
  transition: all .2s;
}
.spec-row:hover { border-color: var(--border-bright); }
.spec-key {
  color: var(--text-muted); font-size: 13px;
  display: flex; align-items: center; gap: var(--s2);
}
.spec-key svg { width: 14px; height: 14px; color: var(--brand); flex-shrink: 0; }
.spec-val {
  font-family: var(--mono); font-weight: 600; font-size: 13px;
  color: var(--text); text-align: right;
}

/* Description panel */
.desc-content {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: var(--s10); align-items: start;
}

/* Service grid — Tab 06 */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  margin-bottom: var(--s8);
}
.service-card {
  position: relative;
  padding: var(--s6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: all .25s;
}
.service-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}
.service-card-main {
  background: linear-gradient(135deg, rgba(34, 74, 152, 0.08), rgba(34, 74, 152, 0.03));
  border-color: rgba(34, 74, 152, 0.3);
}
.service-card-main:hover {
  border-color: var(--brand-bright);
}
.service-badge {
  position: absolute; top: var(--s4); right: var(--s4);
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  background: var(--brand);
  color: white;
}
.service-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: rgba(34, 74, 152, 0.08);
  border: 1px solid rgba(34, 74, 152, 0.18);
  border-radius: var(--r-md);
  color: var(--brand);
  margin-bottom: var(--s4);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: var(--s2);
  color: var(--text);
}
.service-card p {
  color: var(--text-soft); font-size: 14px;
  line-height: 1.55;
  margin-bottom: var(--s3);
}
.service-tag {
  display: inline-block;
  font-family: var(--mono); font-size: 11px;
  font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-bright);
}
.service-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600;
  color: var(--brand);
  transition: gap .2s;
}
.service-link:hover { gap: 8px; }

/* Service CTA bar */
.service-cta {
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--s6); align-items: center;
  padding: var(--s6) var(--s8);
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.service-cta::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(34, 74, 152, 0.10), transparent 70%);
  pointer-events: none;
}
.service-cta-text { position: relative; z-index: 1; }
.service-cta-text h4 {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: var(--s2);
  color: var(--text);
}
.service-cta-text p {
  color: var(--text-soft); font-size: 14px;
  margin: 0; max-width: 540px;
}
.service-cta .btn { position: relative; z-index: 1; }
.desc-text p { color: var(--text-soft); margin-bottom: var(--s4); font-size: 15px; line-height: 1.7; }
.desc-text p strong { color: var(--text); font-weight: 600; }
.desc-text ul { list-style: none; }
.desc-text li {
  display: flex; gap: var(--s3); padding: var(--s3) 0;
  color: var(--text-soft); font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.desc-text li::before {
  content: ''; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  background-color: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.desc-text li:last-child { border: 0; }

/* Climate widget */
.climate-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  position: sticky; top: 100px;
}
.climate-widget h4 {
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: var(--s5); font-family: var(--mono);
}
.temp-scale {
  position: relative; height: 200px;
  margin: var(--s4) 0 var(--s8);
}
.temp-bar {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 8px; height: 100%;
  background: linear-gradient(to top,
    #1e3a8a 0%,
    #3b82f6 30%,
    #06b6d4 50%,
    #fbbf24 75%,
    #ef4444 100%);
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(34, 74, 152, 0.2);
}
.temp-tick {
  position: absolute; left: 50%; transform: translate(-50%, 50%);
  width: 80px; text-align: center;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--text-soft);
}
.temp-tick::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 24px; height: 2px; background: rgba(15, 23, 42, 0.3);
}
.temp-tick.hot { bottom: 0%; color: #fbbf24; }
.temp-tick.warm { bottom: 50%; color: var(--text-muted); }
.temp-tick.cold { bottom: 100%; color: #3b82f6; }
.climate-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s3); padding-top: var(--s5);
  border-top: 1px solid var(--border);
}
.cs-item {
  text-align: center;
}
.cs-value { font-size: 22px; font-weight: 700; color: var(--brand); font-family: var(--mono); }
.cs-label { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* =========================================================
   FEATURES — Equipment showcase
   ========================================================= */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.feature-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08), 0 0 0 1px var(--border-glow);
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-bright), transparent);
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(34, 74, 152, 0.10), rgba(34, 74, 152, 0.03));
  border: 1px solid rgba(34, 74, 152, 0.18);
  border-radius: var(--r-md);
  color: var(--brand);
  margin-bottom: var(--s4);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 {
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: var(--s2); color: var(--text);
}
.feature-card p {
  color: var(--text-soft); font-size: 14px; line-height: 1.55;
}
.feature-card .feature-tag {
  display: inline-block; margin-top: var(--s3);
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  color: var(--brand); letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* =========================================================
   FLOOR PLAN
   ========================================================= */
.floorplan-section { background: var(--bg-elevated); }
.floorplan-wrap {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: var(--s10); align-items: center;
}
.floorplan-visual {
  background: linear-gradient(135deg, #f8fbff, #f0f6fc);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-2xl);
  padding: var(--s8);
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(34, 74, 152, 0.05);
}
.floorplan-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: none;
}
.fp-svg {
  position: relative; z-index: 1; width: 100%; height: 100%;
}
.floorplan-info h3 {
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: var(--s3);
}
.floorplan-info p {
  color: var(--text-soft); margin-bottom: var(--s5);
  font-size: 15px; line-height: 1.6;
}
.fp-dimensions {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s3); margin-bottom: var(--s5);
}
.fp-dim {
  text-align: center; padding: var(--s4);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.fp-dim .val { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--brand-bright); }
.fp-dim .lab { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* =========================================================
   ADVANTAGES — Why us
   ========================================================= */
.adv-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
}
.adv-card {
  padding: var(--s6);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.adv-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--brand-bright);
  transform: translateY(-4px);
}
.adv-num {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--brand); letter-spacing: 2px;
  margin-bottom: var(--s4);
}
.adv-value {
  font-size: 36px; font-weight: 800; line-height: 1;
  letter-spacing: -0.03em; margin-bottom: var(--s2);
  color: var(--text);
}
.adv-value sup { font-size: 18px; font-weight: 600; }
.adv-label {
  font-size: 14px; color: var(--text-soft); line-height: 1.4;
}

/* Bonus differentiator row */
.adv-extras {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  margin-top: var(--s6);
}
.adv-extra {
  display: flex; gap: var(--s3);
  padding: var(--s5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-bright);
  border-radius: var(--r-md);
  font-size: 13px; color: var(--text-soft); line-height: 1.55;
  transition: all .25s;
}
.adv-extra:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  border-left-color: var(--brand-bright);
  transform: translateY(-2px);
}
.adv-extra strong { color: var(--text); font-weight: 600; }
.adv-extra-icon {
  width: 36px; height: 36px;
  background: rgba(34, 74, 152, 0.08);
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}
.adv-extra-icon svg { width: 18px; height: 18px; }

/* =========================================================
   MANAGERS
   ========================================================= */
.managers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.manager-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s5);
  text-align: center;
  position: relative;
  transition: all .3s;
}
.manager-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}
.mgr-avatar {
  width: 140px; height: 140px; border-radius: 50%;
  margin: 0 auto var(--s4);
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
  display: grid; place-items: center;
  font-size: 44px; font-weight: 700; color: white;
  position: relative;
  font-family: var(--font);
}
.mgr-avatar::after {
  content: ''; position: absolute; bottom: 8px; right: 8px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ok); border: 3px solid var(--bg-card);
  box-shadow: 0 0 8px var(--ok);
}
.mgr-card:hover .mgr-avatar::after { border-color: var(--bg-card-hover); }
.mgr-name {
  font-size: 16px; font-weight: 600; margin-bottom: 2px;
}
.mgr-role {
  font-size: 12px; color: var(--text-muted);
  margin-bottom: var(--s4); line-height: 1.4;
}
.mgr-contacts {
  display: flex; gap: var(--s2); justify-content: center;
}

/* =========================================================
   SIMILAR PRODUCTS
   ========================================================= */
.similar { background: var(--bg-elevated); }
.similar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
}
.sim-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all .3s;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.sim-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
}
.sim-img {
  aspect-ratio: 4/3;
  background:
    radial-gradient(circle at 30% 30%, rgba(34, 74, 152, 0.10), transparent 50%),
    linear-gradient(135deg, #f8fbff, #eef4fc);
  display: grid; place-items: center;
  color: var(--text-dim);
  position: relative;
  border-bottom: 1px solid var(--border);
}
.sim-img svg { width: 56px; height: 56px; opacity: 0.4; }
.sim-img .sim-badge {
  position: absolute; top: var(--s3); right: var(--s3);
}
.sim-content {
  padding: var(--s4) var(--s5);
  flex: 1; display: flex; flex-direction: column;
}
.sim-cat {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  color: var(--brand); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: var(--s2);
}
.sim-title {
  font-size: 15px; font-weight: 600; line-height: 1.3;
  margin-bottom: var(--s3); color: var(--text);
}
.sim-meta {
  display: flex; gap: var(--s3); flex-wrap: wrap;
  font-size: 12px; color: var(--text-muted);
  margin-top: auto; padding-top: var(--s3);
  border-top: 1px solid var(--border);
}
.sim-meta span { display: flex; align-items: center; gap: 4px; }
.sim-meta svg { width: 12px; height: 12px; color: var(--brand); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s5);
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all .3s;
}
.testimonial-card:hover { border-color: var(--border-bright); }
.testimonial-video {
  aspect-ratio: 16/9;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 74, 152, 0.12), transparent 55%),
    linear-gradient(135deg, #eef4fc, #dde7f3);
  display: grid; place-items: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.play-btn {
  width: 72px; height: 72px;
  background: var(--bg-card);
  border: 2px solid var(--brand);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: all .25s;
  position: relative; z-index: 1;
}
.play-btn::before {
  content: ''; position: absolute; inset: -8px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.25; z-index: -1;
  animation: ringPulse 2s infinite;
}
@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}
.play-btn svg { width: 28px; height: 28px; color: var(--brand); margin-left: 4px; }
.testimonial-video:hover .play-btn { background: var(--brand); border-color: var(--brand-bright); }
.testimonial-video:hover .play-btn svg { color: white; }
.testimonial-content { padding: var(--s5) var(--s6); }
.testimonial-quote {
  font-size: 15px; line-height: 1.6; color: var(--text-soft);
  margin-bottom: var(--s4); position: relative;
  padding-left: var(--s4); border-left: 2px solid var(--brand);
}
.testimonial-author { display: flex; align-items: center; gap: var(--s3); }
.ta-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
  display: grid; place-items: center; color: white;
  font-weight: 700; font-size: 14px;
}
.ta-info .name { font-weight: 600; font-size: 14px; }
.ta-info .role { font-size: 12px; color: var(--text-muted); }

/* =========================================================
   CERTIFICATES
   ========================================================= */
.certs-section { background: var(--bg-elevated); }
.certs-strip {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: var(--s3);
}
.cert-card {
  aspect-ratio: 3/4;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  color: var(--text-dim);
  position: relative;
  overflow: hidden;
  transition: all .3s;
  cursor: pointer;
}
.cert-card:hover {
  border-color: var(--brand-bright);
  transform: translateY(-4px);
  color: var(--brand-bright);
}
.cert-card svg { width: 32px; height: 32px; opacity: 0.5; }
.cert-card::after {
  content: '№' attr(data-num);
  position: absolute; bottom: var(--s2); right: var(--s2);
  font-family: var(--mono); font-size: 10px;
  color: var(--text-muted);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
  display: flex; flex-direction: column; gap: var(--s2);
  max-width: 880px; margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all .25s;
}
.faq-item.open {
  border-color: var(--brand-bright);
  background: var(--bg-card-hover);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); padding: var(--s5) var(--s6);
  cursor: pointer; user-select: none;
  font-weight: 600; font-size: 16px; color: var(--text);
}
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(34, 74, 152, 0.08);
  border: 1px solid rgba(34, 74, 152, 0.2);
  display: grid; place-items: center;
  color: var(--brand);
  transition: all .25s; flex-shrink: 0;
}
.faq-item.open .faq-toggle {
  background: var(--brand);
  color: white;
  transform: rotate(45deg);
}
.faq-toggle svg { width: 14px; height: 14px; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: var(--text-soft); font-size: 14px; line-height: 1.65;
  padding: 0 var(--s6);
}
.faq-item.open .faq-a {
  max-height: 500px; padding: 0 var(--s6) var(--s5);
}

/* =========================================================
   PARTNERS
   ========================================================= */
.partners-bar {
  padding: var(--s10) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-base);
}
.partners-label {
  text-align: center; font-family: var(--mono);
  font-size: 11px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 3px;
  margin-bottom: var(--s6);
}
.partners-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: var(--s8);
  align-items: center;
}
.partner-logo {
  height: 32px;
  display: grid; place-items: center;
  color: var(--text-muted);
  font-weight: 700; font-size: 15px;
  letter-spacing: 2px;
  opacity: 0.6;
  transition: opacity .25s, color .25s;
  font-family: var(--mono);
}
.partner-logo:hover { opacity: 1; color: var(--brand); }

/* =========================================================
   FINAL CTA — Form
   ========================================================= */
.final-cta {
  position: relative;
  padding: var(--s24) 0;
  overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(34, 74, 152, 0.06), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(34, 74, 152, 0.04), transparent 50%);
}
.fc-wrap {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: var(--s10); align-items: start;
  position: relative; z-index: 1;
}
.fc-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.1; margin-bottom: var(--s4);
}
.fc-content h2 .accent { color: var(--brand); }
.fc-content p {
  color: var(--text-soft); font-size: 17px; line-height: 1.6;
  margin-bottom: var(--s6);
  max-width: 540px;
}

/* BIG PHONE — главный конверсионный элемент финального блока */
.big-phone {
  display: flex; align-items: center; gap: var(--s5);
  padding: var(--s5) var(--s6);
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border: 1px solid var(--brand-bright);
  border-radius: var(--r-xl);
  margin-bottom: var(--s3);
  transition: all .25s;
  box-shadow: 0 12px 32px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.big-phone::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left .8s;
}
.big-phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.big-phone:hover::before { left: 100%; }
.big-phone-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.big-phone-secondary:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(34, 74, 152, 0.15);
  background: var(--bg-card-hover);
}
.big-phone-secondary .bp-label { color: var(--text-muted); }
.big-phone-secondary .bp-number { color: var(--brand); }

.bp-icon {
  width: 64px; height: 64px; border-radius: var(--r-lg);
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  display: grid; place-items: center;
  color: white;
  flex-shrink: 0;
  position: relative;
}
.bp-icon::after {
  content: ''; position: absolute; inset: -5px;
  border-radius: calc(var(--r-lg) + 5px);
  border: 2px solid rgba(255,255,255,0.4);
  animation: phonePulse 2.5s infinite;
}
.big-phone-secondary .bp-icon::after {
  border-color: var(--brand);
}
.bp-icon svg { width: 28px; height: 28px; }
.bp-content { flex: 1; min-width: 0; }
.bp-label {
  font-size: 12px; color: rgba(255,255,255,0.8);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 4px; font-weight: 600;
}
.bp-number {
  font-family: var(--mono); font-weight: 700; font-size: 32px;
  color: white; letter-spacing: -0.02em; line-height: 1;
  margin-bottom: var(--s2);
}
.bp-meta {
  display: flex; gap: var(--s4); flex-wrap: wrap;
  font-size: 11px; color: rgba(255,255,255,0.75);
  text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 500;
}
.bp-meta span { display: inline-flex; align-items: center; gap: 6px; }
.big-phone-secondary .bp-meta { color: var(--text-muted); }

.fc-manager {
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s4);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-top: var(--s4);
}
.fc-manager-info { flex: 1; min-width: 0; }
.fc-manager-info .name { font-weight: 600; }
.fc-manager-info .role { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.fc-manager-info .email { font-family: var(--mono); font-size: 12px; color: var(--brand-bright); margin-top: 4px; }
.fc-mgr-actions { display: flex; gap: var(--s2); }

.fc-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--s8);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.fc-form::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(34, 74, 152, 0.06), transparent 70%);
  pointer-events: none;
}
.fc-form-eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--text-muted); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: var(--s3);
  position: relative; z-index: 1;
}
.fc-form-title {
  font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: var(--s2);
  position: relative; z-index: 1;
}

/* ============================================
   FLOATING STICKY PHONE — bottom-right
   ============================================ */
.floating-phone {
  position: fixed;
  bottom: var(--s5); right: var(--s5);
  z-index: 99;
  display: flex; align-items: center; gap: var(--s3);
  padding: 10px 18px 10px 10px;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand));
  border-radius: 100px;
  box-shadow: 0 12px 32px rgba(34, 74, 152, 0.5), 0 0 0 1px rgba(255,255,255,0.1) inset;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
}
.floating-phone.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.floating-phone:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px rgba(34, 74, 152, 0.6);
}
.fp-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: white;
  display: grid; place-items: center;
  color: var(--brand);
  position: relative;
  flex-shrink: 0;
}
.fp-icon::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid white;
  opacity: 0.5;
  animation: phonePulse 2s infinite;
}
.fp-icon svg { width: 18px; height: 18px; }
.fp-text { display: flex; flex-direction: column; line-height: 1.1; }
.fp-lbl {
  font-size: 11px; color: rgba(255,255,255,0.85);
  text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 600;
}
.fp-num {
  font-family: var(--mono); font-weight: 700;
  font-size: 14px; color: white;
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.fc-form-sub {
  font-size: 14px; color: var(--text-muted);
  margin-bottom: var(--s6);
  position: relative; z-index: 1;
}
.form-group { margin-bottom: var(--s4); position: relative; z-index: 1; }
.form-label {
  display: block; font-size: 12px; font-weight: 500;
  color: var(--text-muted); margin-bottom: 6px;
  font-family: var(--mono); letter-spacing: 1px; text-transform: uppercase;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 14px; color: var(--text);
  transition: all .2s;
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(34, 74, 152, 0.12);
}
.form-textarea { resize: vertical; min-height: 80px; font-family: var(--font); }
.form-submit { width: 100%; margin-top: var(--s2); }
.form-consent {
  font-size: 11px; color: var(--text-muted);
  margin-top: var(--s3); line-height: 1.5;
  position: relative; z-index: 1;
}
.form-consent a { color: var(--brand); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: var(--s12) 0 var(--s6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s8);
  margin-bottom: var(--s10);
}
.footer-col h5 {
  font-size: 11px; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: var(--s4);
  font-family: var(--mono);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s2); }
.footer-col a { color: var(--text-soft); font-size: 14px; }
.footer-col a:hover { color: var(--brand); }

/* Footer social media row */
.footer-social {
  border-top: 1px solid var(--border);
  padding: var(--s5) 0;
  margin-top: var(--s8);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); flex-wrap: wrap;
}
.footer-social-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.footer-social-icons {
  display: flex; gap: var(--s2); align-items: center;
}
.footer-social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
  transition: all .2s;
  flex-shrink: 0;
}
.footer-social-icon svg { width: 18px; height: 18px; }
.footer-social-icon:hover { transform: translateY(-2px); }
.fsi-vk { background: #0077FF; }
.fsi-vk:hover { box-shadow: 0 6px 14px rgba(0, 119, 255, 0.4); }
.fsi-rutube { background: #000000; }
.fsi-rutube:hover { box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3); }
.fsi-tg { background: #229ED9; }
.fsi-tg:hover { box-shadow: 0 6px 14px rgba(34, 158, 217, 0.4); }
.fsi-max { background: linear-gradient(135deg, #5BB1FF 0%, #7C3AED 100%); }
.fsi-max:hover { box-shadow: 0 6px 14px rgba(124, 58, 237, 0.4); }
.fsi-dzen { background: #000000; }
.fsi-dzen:hover { box-shadow: 0 6px 14px rgba(255, 102, 51, 0.5); filter: brightness(1.1); }
.footer-brand-text {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.6; margin: var(--s4) 0;
}
.footer-bottom {
  padding-top: var(--s5);
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s4);
  font-size: 12px; color: var(--text-muted);
  font-family: var(--mono);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s8); }
  .gallery { position: static; }
  .desc-content { grid-template-columns: 1fr; }
  .climate-widget { position: static; }
  .floorplan-wrap { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-cta { grid-template-columns: 1fr; text-align: center; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-extras { grid-template-columns: 1fr; }
  .managers-grid { grid-template-columns: repeat(2, 1fr); }
  .similar-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-strip { grid-template-columns: repeat(4, 1fr); }
  .fc-wrap { grid-template-columns: 1fr; gap: var(--s8); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }

  /* Header tablet adaptation */
  .messenger-text { display: none; }
  .search-box { max-width: 320px; }
  .header-phone-btn { padding: 10px 16px; font-size: 14px; }
}

@media (max-width: 900px) {
  /* Hide top utility bar nav on smaller tablets */
  .top-nav { display: none; }
  .utility-inner { justify-content: flex-end; }
}

@media (max-width: 720px) {
  .container { padding: 0 var(--s4); }
  .utility-bar { padding: 8px 0; font-size: 11px; }
  .util-contacts { gap: var(--s3); font-size: 11px; }
  .util-coop .uc-label { display: none; }

  /* Mobile header: stack messengers below row */
  .header-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s3);
    padding: var(--s3) 0;
  }
  .logo-img { height: 36px; }
  .search-box {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    max-width: none;
  }
  .header-actions { gap: var(--s2); margin-left: auto; }
  .messenger-text { display: none; }
  .messenger-icon { width: 36px; height: 36px; }
  .header-phone-btn { padding: 9px 14px; font-size: 13px; }

  /* Sub-nav: horizontal scroll on mobile */
  .sub-nav {
    gap: var(--s5);
    padding-left: 0;
    -webkit-overflow-scrolling: touch;
  }
  .sub-nav a { padding: 12px 0; font-size: 12px; }

  .product-title { font-size: 28px; }
  .quick-specs { grid-template-columns: 1fr 1fr; gap: var(--s2); }
  .qs-value { font-size: 20px; }
  .cta-secondary { grid-template-columns: 1fr; }
  .cta-phone-primary { flex-direction: column; align-items: flex-start; gap: var(--s3); }
  .cpp-right { width: 100%; text-align: left; }
  .cpp-num { font-size: 18px; }
  .ab-update { display: none; }
  .ab-region { display: none; }
  .delivery-row { grid-template-columns: 1fr; }
  .section, .section-tight { padding: var(--s12) 0; }
  .features-grid, .adv-grid, .managers-grid, .similar-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  #tab-service { padding: var(--s5); margin: var(--s2) 0; }
  .certs-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
  .spec-grid { grid-template-columns: 1fr; }
  .fp-dimensions { grid-template-columns: 1fr; }
  .fc-form { padding: var(--s5); }
  .big-phone { flex-direction: column; align-items: flex-start; padding: var(--s4); }
  .bp-number { font-size: 24px; }
  .bp-icon { width: 48px; height: 48px; }
  .bp-icon svg { width: 22px; height: 22px; }

  /* Floating phone — на мобильной полная ширина внизу */
  .floating-phone {
    bottom: var(--s3); right: var(--s3); left: var(--s3);
    border-radius: var(--r-lg);
    justify-content: center;
  }
}

/* Animation utility */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   CATALOG PAGE STYLES — projects
   ========================================================= */

/* Breadcrumbs reuse существующий */

/* PAGE HERO */
.page-hero {
  padding: var(--s12) 0 var(--s8);
  position: relative;
}
.page-hero-content {
  width: 100%;
}
.page-hero-title {
  font-size: 56px; font-weight: 800; line-height: 1.05;
  letter-spacing: -0.025em; color: var(--text);
  margin: var(--s3) 0 var(--s5);
}
.page-hero-sub {
  font-size: 18px; color: var(--text-soft);
  line-height: 1.6; max-width: 720px;
}
.page-hero-sub strong { color: var(--text); font-weight: 600; }

/* STATS STRIP */
.stats-strip {
  padding: var(--s5) 0 var(--s10);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  padding: var(--s6);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.stats-grid::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}
.stat-card {
  padding: var(--s2);
  position: relative;
}
.stat-card:not(:last-child)::after {
  content: ''; position: absolute; right: calc(-1 * var(--s2));
  top: 20%; bottom: 20%;
  width: 1px; background: var(--border);
}
.stat-value {
  font-family: var(--mono); font-size: 42px; font-weight: 700;
  color: var(--brand); letter-spacing: -0.03em;
  line-height: 1; margin-bottom: var(--s2);
  font-variant-numeric: tabular-nums;
}
.stat-value sup {
  font-size: 24px; font-weight: 600;
  vertical-align: super;
}
.stat-label {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.4;
}

/* FILTER SECTION */
.filter-section {
  padding: var(--s5) 0 var(--s6);
  background: transparent;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s8);
}
.filter-bar {
  display: flex; flex-direction: column;
  gap: var(--s4);
  margin-bottom: var(--s4);
}
.filter-row {
  display: flex; gap: var(--s3); align-items: center;
}
.filter-row-pills {
  flex-wrap: wrap;
}
.filter-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.filter-pill:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: white;
}
.filter-pill.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.filter-pill.active:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: white;
}
.filter-pill svg { flex-shrink: 0; }

.filter-row-controls {
  flex-wrap: wrap;
}
.filter-search-wrap {
  position: relative;
  flex: 1; min-width: 280px;
}
.filter-search-wrap svg {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.filter-search {
  width: 100%;
  padding: 11px 16px 11px 42px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font); font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all .2s;
}
.filter-search:focus {
  background: white;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(34, 74, 152, 0.12);
}
.filter-select {
  padding: 11px 36px 11px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font); font-size: 14px; font-weight: 500;
  color: var(--text);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 14px;
  min-width: 180px;
  transition: all .15s;
}
.filter-select:hover { border-color: var(--brand); }
.filter-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(34, 74, 152, 0.12);
}

.filter-results {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s3) 0;
  font-size: 14px; color: var(--text-muted);
}
.filter-results strong {
  color: var(--text); font-weight: 700;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.filter-reset {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
}
.filter-reset:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* PROJECTS GRID */
.projects-section {
  padding-bottom: var(--s16);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s6);
}

.project-card {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: all .25s;
  position: relative;
}
.project-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.10);
}

.project-card-img {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.project-bg-icon {
  width: 70%; max-width: 200px;
  height: auto;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Industry-themed backgrounds */
.bg-oil-gas {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(135deg, #224A98 0%, #1a3a7a 100%);
}
.bg-coal {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(135deg, #1f2937 0%, #111827 100%);
}
.bg-metals {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(135deg, #475569 0%, #334155 100%);
}
.bg-gold {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.15), transparent 60%),
    linear-gradient(135deg, #b8862a 0%, #8a6519 100%);
}
.bg-infrastructure {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(135deg, #14532d 0%, #166534 100%);
}

/* Status & industry pills over image */
.project-status, .project-industry {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 2;
  white-space: nowrap;
}
.project-status {
  top: 12px; left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 5px;
}
.project-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
}
.status-active { color: var(--ok); }
.status-active::before { background: var(--ok); box-shadow: 0 0 6px var(--ok); animation: pulse 2s infinite; }
.status-progress { color: var(--warn); }
.status-progress::before { background: var(--warn); }
.status-done { color: var(--text-muted); }
.status-done::before { background: var(--text-muted); }

.project-industry {
  top: 12px; right: 12px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Card body */
.project-card-body {
  padding: var(--s5);
  display: flex; flex-direction: column;
  gap: var(--s2);
  flex: 1;
}
.project-name {
  font-size: 18px; font-weight: 700;
  line-height: 1.3; color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.project-meta {
  font-size: 13px; color: var(--text-muted);
  font-weight: 500;
}
.project-stats {
  display: flex; align-items: center; gap: var(--s2);
  margin-top: var(--s2);
  padding: var(--s3) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.project-stats strong {
  font-family: var(--mono); font-weight: 700; font-size: 16px;
  color: var(--brand);
  letter-spacing: -0.02em;
  margin-right: 4px;
}
.ps-item { color: var(--text-soft); }
.ps-sep { color: var(--text-dim); }
.project-client {
  font-size: 12px; color: var(--text-muted);
  margin-top: 2px;
}
.project-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--brand);
  margin-top: auto;
  padding-top: var(--s3);
  transition: gap .2s;
}
.project-card:hover .project-link { gap: 10px; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: var(--s16) var(--s4);
  display: flex; flex-direction: column; align-items: center;
  gap: var(--s4);
}
.empty-state[hidden] { display: none; }
.empty-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: grid; place-items: center;
  color: var(--text-muted);
}
.empty-state h3 {
  font-size: 22px; font-weight: 700;
  margin: 0;
}
.empty-state p {
  font-size: 14px; color: var(--text-muted);
  max-width: 360px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .page-hero-title { font-size: 44px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2n)::after { display: none; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .page-hero { padding: var(--s8) 0 var(--s5); }
  .page-hero-title { font-size: 32px; }
  .page-hero-sub { font-size: 15px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--s3); padding: var(--s4); }
  .stat-card::after { display: none !important; }
  .stat-value { font-size: 32px; }
  .filter-pill { font-size: 12px; padding: 8px 12px; }
  .filter-search-wrap { min-width: 100%; }
  .filter-select { min-width: 100%; width: 100%; }
  .projects-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .project-name { font-size: 16px; }
}


.top-nav a.active-nav { color: var(--brand); font-weight: 700; }
.top-nav a.active-nav::after {
  content: ''; display: block; height: 2px; background: var(--brand);
  margin-top: 2px;
}

/* =========================================================
   MEGA-MENU — заменяет sub-nav
   ========================================================= */

.mega-nav {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: white;
  position: relative;
  z-index: 100;
}

.mega-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s4);
  display: flex;
  justify-content: center;
  gap: 0;
  position: relative;
}

.mn-item {
  position: static; /* для абсолютного позиционирования панели */
}

.mn-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  margin: 0 var(--s5);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
  text-decoration: none;
  position: relative;
  transition: color .15s;
  cursor: pointer;
}

.mn-trigger:hover {
  color: var(--brand);
}

.mn-trigger::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%; height: 2px;
  background: var(--brand);
  transition: transform .2s;
}

.mn-item.is-open .mn-trigger,
.mn-trigger:hover {
  color: var(--brand);
}

.mn-item.is-open .mn-trigger::after {
  transform: translateX(-50%) scaleX(1);
}


.mn-trigger::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 8px;
  /* Невидимая зона-мост чтобы курсор не выпадал из item */
}

.mn-chev {
  transition: transform .2s;
}

.mn-item.is-open .mn-chev {
  transform: rotate(180deg);
}

/* Панель — выпадает под навигацией.
   visibility разделяется от opacity: visibility переключается мгновенно,
   opacity и transform — плавно через transition.
   Важно: visibility НЕ включать в transition (баг с зависанием в Chrome
   при сочетании opacity + visibility в одном transition). */
.mn-panel {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
  z-index: 999;
}

.mn-item.is-open .mn-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mn-panel-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--s6) var(--s5);
}

/* Колонки в панели */
.mn-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr; /* 3 колонки: 2 списка + feature карточка */
  gap: var(--s6);
}

.mn-cols-4 {
  grid-template-columns: 1fr 1.2fr 1fr 1.2fr; /* 4 колонки для логистики */
}

.mn-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mn-col-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0 12px;
  margin-bottom: var(--s2);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
  transition: gap .15s;
}

.mn-col-title:hover {
  gap: 14px;
}

.mn-col-title svg {
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: all .15s;
}

.mn-col-title:hover svg {
  opacity: 1;
  transform: translateX(0);
}

.mn-link {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  transition: color .15s, padding .15s;
  border-radius: 4px;
}

.mn-link:hover {
  color: var(--brand);
  padding-left: 6px;
}

/* "Одиночные" пункты без подменю (Клининг, Прачечная и т.д.) */
.mn-col-single {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s3) var(--s4);
  margin-bottom: var(--s2);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  text-decoration: none;
  transition: all .15s;
}

.mn-col-single:hover {
  border-color: var(--brand);
  background: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.mn-col-single-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.mn-col-single-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Feature-карточка (правая колонка с акцентом) */
.mn-col-feature {
  display: flex;
  align-items: stretch;
}

.mn-feature-card {
  display: flex;
  flex-direction: column;
  padding: var(--s5);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  border-radius: var(--r-lg);
  color: white;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  width: 100%;
}

.mn-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(34, 74, 152, 0.30);
}

.mn-feature-card-alt {
  background: linear-gradient(135deg, #1f6b3e 0%, #164a2c 100%);
}

.mn-feature-card-alt:hover {
  box-shadow: 0 12px 24px rgba(31, 107, 62, 0.30);
}

.mn-feature-card-dark {
  background: linear-gradient(135deg, #1f2937 0%, #0f172a 100%);
}

.mn-feature-card-dark:hover {
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.30);
}

.mn-feature-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--s3);
}

.mn-feature-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s3);
  color: white;
}

.mn-feature-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 var(--s4);
  flex: 1;
}

.mn-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: white;
  transition: gap .15s;
}

.mn-feature-card:hover .mn-feature-link {
  gap: 12px;
}

/* Backdrop удален — для мегаменю не нужен,
   панель и так выделена тенью + бордером */

/* Burger — скрыт на десктопе */
.mn-burger {
  display: none;
  position: absolute;
  right: var(--s4);
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 44px; height: 44px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mn-burger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .2s;
}

.mn-burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mn-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.mn-burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   MOBILE (до 1024px — мегаменю становится drawer)
   ========================================================= */
@media (max-width: 1024px) {
  .mega-nav-inner {
    display: none;
    flex-direction: column;
    padding: 0;
    position: fixed;
    top: 0; right: 0;
    width: 100%; max-width: 420px;
    height: 100vh;
    background: white;
    z-index: 100;
    overflow-y: auto;
    box-shadow: -12px 0 32px rgba(15, 23, 42, 0.15);
  }

  .mega-nav.is-mobile-open .mega-nav-inner {
    display: flex;
  }

  .mn-burger {
    display: flex;
    position: static;
    transform: none;
    margin: 12px 16px;
  }

  .mega-nav {
    padding: 0;
    text-align: right;
  }

  .mn-item {
    position: static;
    border-bottom: 1px solid var(--border);
  }

  .mn-trigger {
    width: 100%;
    padding: 18px 24px;
    justify-content: space-between;
    text-align: left;
    font-size: 15px;
    border-radius: 0;
  }

  .mn-trigger::after {
    display: none;
  }

  .mn-panel {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--bg-elevated);
    opacity: 1;
    visibility: hidden;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    pointer-events: auto;
  }

  .mn-item.is-open .mn-panel {
    visibility: visible;
    max-height: 2000px;
  }

  .mn-panel-inner {
    padding: var(--s4) var(--s5);
  }

  .mn-cols,
  .mn-cols-4 {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }

  .mn-col-feature {
    margin-top: var(--s2);
  }

  .mn-feature-card {
    padding: var(--s4);
  }

  .mn-feature-title {
    font-size: 18px;
  }
}

@media (max-width: 720px) {
  .mn-feature-card {
    padding: var(--s4);
  }
}


/* Простой пункт меню без dropdown */
.mn-item-simple .mn-trigger {
  cursor: pointer;
}
.mn-item-simple .mn-trigger::before {
  display: none; /* без bridge т.к. нет панели */
}

/* === HOME PAGE HOTFIX === */

body.has-hero-overlay header {
  position: absolute;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 200;
  background: transparent;
  border-bottom: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
body.has-hero-overlay .utility-bar {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
body.has-hero-overlay .top-nav > .top-item > a,
body.has-hero-overlay .util-contacts a,
body.has-hero-overlay .util-contacts span,
body.has-hero-overlay .ub-city {
  color: rgba(255, 255, 255, 0.92);
}
body.has-hero-overlay .top-nav > .top-item > a:hover,
body.has-hero-overlay .util-contacts a:hover { color: white; }
/* Выпадашка td-menu всегда на светлом фоне → тёмный текст даже в hero-overlay */
body.has-hero-overlay .top-nav .td-menu a {
  color: var(--text);
}
body.has-hero-overlay .top-nav .td-menu a:hover {
  color: var(--brand);
}
body.has-hero-overlay .main-header { background: transparent; }
body.has-hero-overlay .search-wrap input {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.20);
  color: white;
  backdrop-filter: blur(8px);
}
body.has-hero-overlay .search-wrap input::placeholder { color: rgba(255, 255, 255, 0.65); }
body.has-hero-overlay .search-wrap input:focus {
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.40);
}
body.has-hero-overlay .search-wrap svg { color: rgba(255, 255, 255, 0.7); }
body.has-hero-overlay .messenger-label { color: white; }

body.has-hero-overlay .mega-nav {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
body.has-hero-overlay .mn-trigger { color: rgba(255, 255, 255, 0.95); }
body.has-hero-overlay .mn-trigger:hover,
body.has-hero-overlay .mn-item.is-open .mn-trigger { color: white; }

/* SCROLLED state */
body.has-hero-overlay header.is-scrolled {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: white !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
  /* Анимация убрана — давала визуальные артефакты */
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
body.has-hero-overlay header.is-scrolled .utility-bar {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
body.has-hero-overlay header.is-scrolled .top-nav a,
body.has-hero-overlay header.is-scrolled .util-contacts a,
body.has-hero-overlay header.is-scrolled .util-contacts span,
body.has-hero-overlay header.is-scrolled .ub-city { color: var(--text-soft); }
body.has-hero-overlay header.is-scrolled .main-header { background: white; }
body.has-hero-overlay header.is-scrolled .search-wrap input {
  background: var(--bg-elevated);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: none;
}
body.has-hero-overlay header.is-scrolled .search-wrap input::placeholder { color: var(--text-muted); }
body.has-hero-overlay header.is-scrolled .search-wrap svg { color: var(--text-muted); }
body.has-hero-overlay header.is-scrolled .messenger-label { color: var(--text); }
body.has-hero-overlay header.is-scrolled .mega-nav {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
body.has-hero-overlay header.is-scrolled .mn-trigger { color: var(--text); }
body.has-hero-overlay header.is-scrolled .mn-trigger:hover,
body.has-hero-overlay header.is-scrolled .mn-item.is-open .mn-trigger { color: var(--brand); }

/* HERO */
.home-hero {
  position: relative;
  min-height: 100vh;
  margin-top: 0;
  overflow: hidden;
  display: flex;
  color: white;
}
.hh-bg { position: absolute; inset: 0; z-index: 1; }
.hh-bg-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hh-bg-fallback {
  background:
    radial-gradient(ellipse at top right, rgba(91, 177, 255, 0.20), transparent 60%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #224A98 100%);
}
.hh-bg-fallback::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hh-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to bottom,
      transparent 0%,
      transparent 30%,
      rgba(15, 23, 42, 0.25) 45%,
      rgba(15, 23, 42, 0.55) 75%,
      rgba(15, 23, 42, 0.75) 100%),
    linear-gradient(to right,
      rgba(15, 23, 42, 0.45) 0%,
      rgba(15, 23, 42, 0.10) 60%,
      transparent 100%);
}
.hh-content {
  position: relative; z-index: 3; width: 100%;
  display: flex; align-items: center;
  padding-top: 260px; padding-bottom: 80px;
}
.hh-inner { max-width: 760px; }
.hh-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  margin-bottom: var(--s5);
}
.hh-title {
  font-size: 56px; font-weight: 800; line-height: 1.05;
  letter-spacing: -0.025em; color: white;
  margin: 0 0 var(--s5);
}
.hh-title-accent {
  background: linear-gradient(135deg, #93c5fd, #ffffff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hh-bullets {
  list-style: none; padding: 0; margin: 0 0 var(--s6);
  display: flex; flex-direction: column; gap: var(--s2);
}
.hh-bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}
.hh-bullets svg { flex-shrink: 0; color: #5BB1FF; margin-top: 2px; }
.hh-bullets strong { font-weight: 700; color: white; }

.hh-cta-group { display: flex; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s10); }
.hh-cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  background: var(--hot); color: white;
  border-radius: var(--r-md); text-decoration: none;
  font-weight: 700; font-size: 15px;
  transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.30);
}
.hh-cta-primary:hover {
  background: #d32635; transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(230, 57, 70, 0.40); color: white;
}
.hh-cta-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: white; border-radius: var(--r-md);
  text-decoration: none; font-weight: 700; font-size: 15px;
  backdrop-filter: blur(8px);
}
.hh-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.20); border-color: white;
  color: white; gap: 14px;
}
.hh-proof {
  display: flex; align-items: center; gap: var(--s5);
  padding-top: var(--s6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
}
.hh-proof-item { display: flex; align-items: baseline; gap: 10px; }
.hh-proof-num {
  font-family: var(--mono);
  font-size: 32px; font-weight: 800;
  letter-spacing: -0.03em; color: white;
  font-variant-numeric: tabular-nums; line-height: 1;
}
.hh-proof-num sup { font-size: 18px; vertical-align: top; }
.hh-proof-label { font-size: 12px; color: rgba(255, 255, 255, 0.70); line-height: 1.3; font-weight: 500; }
.hh-proof-divider { width: 1px; height: 32px; background: rgba(255, 255, 255, 0.20); }

.hh-scroll {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255, 255, 255, 0.80); text-decoration: none;
  font-size: 11px; font-family: var(--mono);
  text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600;
  animation: bounce 2.5s infinite;
}
.hh-scroll:hover { color: white; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* SERVICES */
.home-services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5);
}
.home-service-card {
  display: flex; gap: var(--s5); padding: var(--s8);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-xl);
  text-decoration: none; color: var(--text);
  transition: all 0.25s;
}
.home-service-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  color: var(--text);
}
.hsc-icon {
  flex-shrink: 0; width: 64px; height: 64px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: white; display: grid; place-items: center;
}
.hsc-icon svg { width: 32px; height: 32px; }
.hsc-body { flex: 1; min-width: 0; }
.hsc-tag {
  font-family: var(--mono);
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--brand); margin-bottom: var(--s2); display: inline-block;
}
.hsc-title {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 var(--s3); line-height: 1.2;
}
.hsc-desc { font-size: 14px; color: var(--text-soft); line-height: 1.6; margin: 0 0 var(--s4); }
.hsc-sublist { list-style: none; padding: 0; margin: 0 0 var(--s4); }
.hsc-sublist li {
  position: relative; padding: 6px 0 6px 18px;
  font-size: 13px; color: var(--text-soft);
  border-top: 1px solid var(--border);
}
.hsc-sublist li:first-child { border-top: none; }
.hsc-sublist li::before {
  content: ''; position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.hsc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--brand);
  transition: gap 0.15s;
}
.home-service-card:hover .hsc-link { gap: 12px; }

/* CATALOG PREVIEW */
.catalog-preview-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin-bottom: var(--s8);
}
.cp-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; color: var(--text);
  transition: all 0.25s;
}
.cp-card:hover {
  border-color: var(--brand); transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08); color: var(--text);
}
.cp-img-wrap {
  position: relative; aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  display: grid; place-items: center; overflow: hidden;
}
.cp-img-placeholder { color: rgba(255, 255, 255, 0.40); }
.cp-status {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 10px; background: var(--ok); color: white; border-radius: 999px;
}
.cp-status-soon { background: var(--text-muted); }
.cp-body { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.cp-name { font-size: 15px; font-weight: 700; line-height: 1.3; margin: 0; min-height: 38px; }
.cp-meta {
  font-size: 12px; color: var(--text-muted); font-family: var(--mono);
  text-transform: uppercase; letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 6px;
}
.cp-sep { color: var(--text-dim); }
.cp-bottom {
  margin-top: auto; padding-top: var(--s3);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cp-price { font-family: var(--mono); font-size: 14px; font-weight: 800; color: var(--brand); }
.cp-arrow { color: var(--brand); transition: transform 0.15s; }
.cp-card:hover .cp-arrow { transform: translateX(4px); }
.catalog-preview-cta { text-align: center; margin-top: var(--s6); }

/* PROJECTS, PRINCIPLES, etc. */
.home-projects-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: var(--s8); }
.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.principle-card {
  padding: var(--s6); background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: all 0.2s;
}
.principle-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06); }
.pc-num {
  font-family: var(--mono); font-size: 32px; font-weight: 800;
  color: var(--brand); letter-spacing: -0.03em; line-height: 1;
  margin-bottom: var(--s4); opacity: 0.50;
}
.pc-title { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 0 0 var(--s3); }
.pc-desc { font-size: 13px; color: var(--text-soft); line-height: 1.6; margin: 0; }

.partners-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.partner-item {
  padding: var(--s5) var(--s4); background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r-md);
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  letter-spacing: 1px; color: var(--text-muted);
  transition: all 0.15s;
}
.partner-item:hover { border-color: var(--brand); color: var(--text); }

.home-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-bottom: var(--s5); }
.hn-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; color: var(--text); transition: all 0.25s;
}
.hn-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08); color: var(--text); }
.hn-image { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, #224A98 0%, #1a3a7a 100%); }
.hn-cat {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.95); color: var(--text); border-radius: 999px;
}
.hn-body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.hn-meta {
  font-family: var(--mono); font-size: 11px; color: var(--text-muted);
  letter-spacing: 0.5px; text-transform: uppercase; font-variant-numeric: tabular-nums;
}
.hn-title { font-size: 16px; font-weight: 700; line-height: 1.35; margin: 0; }
.hn-excerpt { font-size: 13px; color: var(--text-soft); line-height: 1.55; margin: 0; }

.project-card-img.bg-oil-gas { background: linear-gradient(135deg, #224A98 0%, #1a3a7a 100%); position: relative; display: flex; align-items: center; justify-content: center; }
.project-card-img.bg-coal { background: linear-gradient(135deg, #1f2937 0%, #0f172a 100%); position: relative; display: flex; align-items: center; justify-content: center; }
.project-card-img.bg-gold { background: linear-gradient(135deg, #c2410c 0%, #9a3412 100%); position: relative; display: flex; align-items: center; justify-content: center; }
.project-bg-icon { width: 60%; max-width: 140px; }

.section-header-left { text-align: left; }

@media (max-width: 1200px) {
  .hh-title { font-size: 44px; }
  .catalog-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .home-services-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-projects-grid { grid-template-columns: 1fr; }
  .home-news-grid { grid-template-columns: 1fr; }
  .partners-strip { grid-template-columns: repeat(2, 1fr); }
  .hh-content { padding-top: 240px; }
}
@media (max-width: 720px) {
  .hh-title { font-size: 32px; }
  .hh-content { padding-top: 200px; padding-bottom: 60px; }
  .hh-proof-divider { display: none; }
}


/* =========================================================
   ABOUT SECTION (NEW)
   ========================================================= */
.about-section {
  padding: var(--s16) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s10);
  align-items: start;
}

.about-content .section-tag {
  margin-bottom: var(--s4);
  display: inline-block;
}

.about-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s5);
}

.about-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
  margin-bottom: var(--s6);
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  margin-bottom: var(--s6);
}

.about-paragraphs p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0;
}

.about-paragraphs strong {
  color: var(--text);
  font-weight: 700;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}

.about-link:hover {
  background: var(--brand);
  color: white;
  gap: 12px;
}

/* About numbers — 2x3 grid */
.about-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
  position: sticky;
  top: 120px;
}

.an-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s5);
  transition: all 0.2s;
}

.an-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.an-num {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1;
  margin-bottom: var(--s2);
  font-variant-numeric: tabular-nums;
}

.an-num sup {
  font-size: 22px;
  vertical-align: top;
}

.an-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s2);
  letter-spacing: -0.01em;
}

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

/* =========================================================
   GEO SECTION — Interactive map
   ========================================================= */
.geo-section {
  padding: var(--s12) 0 var(--s16);
}

.geo-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: var(--s6);
  align-items: start;
}

.geo-map-wrap {
  background: linear-gradient(135deg, #f6f8fc 0%, #eef2f7 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s5);
  overflow: hidden;
}

.geo-map {
  width: 100%;
  height: auto;
  display: block;
}

/* Точки регионов */
.geo-point {
  cursor: pointer;
  transition: transform 0.2s;
  outline: none;
}

.geo-point circle {
  transition: r 0.2s, opacity 0.2s;
}

.geo-point text {
  font-family: 'Onest', sans-serif;
  pointer-events: none;
  transition: font-size 0.2s, fill 0.2s;
}

.geo-point:hover circle:not(:first-child),
.geo-point.is-active circle:not(:first-child),
.geo-point:focus circle:not(:first-child) {
  r: 12;
}

.geo-point:hover circle:nth-child(3),
.geo-point.is-active circle:nth-child(3),
.geo-point:focus circle:nth-child(3) {
  r: 6;
}

.geo-point:hover text,
.geo-point.is-active text,
.geo-point:focus text {
  font-size: 12px;
  fill: #224A98;
  font-weight: 700;
}

.geo-point-hub circle:nth-child(2) {
  fill: #e63946 !important;
}

.geo-point-hub:hover circle:nth-child(2),
.geo-point-hub.is-active circle:nth-child(2) {
  fill: #e63946 !important;
}

/* Side panel */
.geo-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  position: sticky;
  top: 120px;
  min-height: 380px;
}

.gi-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--brand);
  margin-bottom: var(--s3);
}

.gi-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 var(--s3);
  min-height: 56px;
}

.gi-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 var(--s5);
  min-height: 80px;
}

.gi-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  padding: var(--s4) 0;
  border-top: 1px solid var(--border);
  margin-bottom: var(--s4);
}

.gi-stat {
  text-align: center;
}

.gi-stat-num {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.gi-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.gi-clients {
  border-top: 1px solid var(--border);
  padding-top: var(--s4);
}

.gi-clients-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: var(--s2);
}

.gi-clients-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gi-client-chip {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
}

@media (max-width: 1100px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--s8);
  }
  .about-numbers {
    position: static;
  }
  .geo-grid {
    grid-template-columns: 1fr;
  }
  .geo-info {
    position: static;
    min-height: auto;
  }
  .about-title {
    font-size: 32px;
  }
  .an-num {
    font-size: 28px;
  }
}

@media (max-width: 720px) {
  .about-section {
    padding: var(--s8) 0;
  }
  .about-numbers {
    grid-template-columns: 1fr;
  }
  .geo-section {
    padding: var(--s8) 0;
  }
}


/* === HERO OVERLAY FIXES === */

/* 1. Utility-bar полностью прозрачная без полосы */
body.has-hero-overlay .utility-bar {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* 3. Mega-nav без полос сверху и снизу */
body.has-hero-overlay .mega-nav {
  background: transparent !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* 2. Messenger text - белый */
body.has-hero-overlay .messenger-text,
body.has-hero-overlay .messenger-label {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* 6. Логотип белый (CSS filter инвертирует цвета) */
body.has-hero-overlay .logo-img {
  filter: none;
  transition: filter 0.3s ease;
}

/* SCROLLED — возвращаем все */
body.has-hero-overlay header.is-scrolled .utility-bar {
  background: var(--bg-elevated) !important;
  border-bottom: 1px solid var(--border) !important;
}
body.has-hero-overlay header.is-scrolled .mega-nav {
  background: white !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
}
body.has-hero-overlay header.is-scrolled .messenger-text,
body.has-hero-overlay header.is-scrolled .messenger-label {
  color: var(--text) !important;
}
/* logo-img: filter всегда none — оригинальные цвета */

/* LEAD parameter under title */
.hh-lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  margin: 0 0 var(--s6);
  max-width: 620px;
}


/* ============================================
   ULTIMATE TRANSPARENT HEADER FIX
   Эти правила перекрывают все что было до них
   ============================================ */

html body.has-hero-overlay header,
html body.has-hero-overlay header .utility-bar,
html body.has-hero-overlay header .main-header,
html body.has-hero-overlay header .mega-nav,
html body.has-hero-overlay header .header-main {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Возврат к нормальному виду при скролле */
html body.has-hero-overlay header.is-scrolled {
  background: white !important;
  background-color: white !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08) !important;
}
html body.has-hero-overlay header.is-scrolled .utility-bar {
  background: var(--bg-elevated) !important;
  background-color: var(--bg-elevated) !important;
  border-bottom: 1px solid var(--border) !important;
}
/* Менеджеры — карточка Вариант 2 (глобально, на всех страницах) */
.mgr-grid2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--s5);}
@media(max-width:1024px){.mgr-grid2{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.mgr-grid2{grid-template-columns:1fr;}}
.mc{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--r-xl);overflow:hidden;display:flex;flex-direction:column;}
.mc-photo{aspect-ratio:4/5;background:var(--bg-elevated) center/cover no-repeat;display:flex;align-items:center;justify-content:center;font-size:36px;font-weight:800;color:var(--text-dim);}
.mc-body{padding:var(--s4);display:flex;flex-direction:column;flex:1;}
.mc-name{font-size:16px;font-weight:700;color:var(--text);text-align:center;}
.mc-role{font-size:13px;color:var(--text-muted);text-align:center;margin-top:2px;margin-bottom:var(--s4);}
.mc-call{display:flex;align-items:center;justify-content:center;gap:7px;background:var(--brand);color:#fff;font-weight:600;font-size:14px;padding:10px;border-radius:var(--r-md);text-decoration:none;margin-top:auto;transition:.15s;}
.mc-call:hover{background:var(--brand-deep);}
.mc-call svg{width:16px;height:16px;}
.mc-msgrs{display:flex;gap:8px;margin-top:8px;}
.mc-ic{flex:1;display:flex;align-items:center;justify-content:center;height:38px;border:1px solid var(--border);border-radius:var(--r-md);color:var(--text-soft);text-decoration:none;font-size:13px;font-weight:700;letter-spacing:.02em;transition:.15s;}
.mc-ic:hover{border-color:var(--brand);color:var(--brand);}
.mc-ic svg{width:18px;height:18px;}

/* Направления home_services восстановленные стили */
.services-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--s5);}
.services-grid .service-card{display:flex;flex-direction:column;text-decoration:none;height:100%;}
.sc-icon-wrap{width:54px;height:54px;display:flex;align-items:center;justify-content:center;border-radius:var(--r-lg);background:rgba(34,74,152,0.10);color:var(--brand);margin-bottom:var(--s4);}
.sc-title{font-size:18px;font-weight:700;color:var(--text);margin-bottom:var(--s2);line-height:1.25;}
.sc-desc{font-size:14px;color:var(--text-soft);line-height:1.55;margin-bottom:var(--s4);}
.sc-features{list-style:none;padding:0;margin:0 0 var(--s5);display:flex;flex-direction:column;gap:var(--s2);}
.sc-features li{position:relative;padding-left:18px;font-size:13px;color:var(--text-soft);line-height:1.4;}
.sc-features li::before{content:"";position:absolute;left:2px;top:6px;width:6px;height:6px;border-radius:50%;background:var(--brand);}
.sc-link{margin-top:auto;display:inline-flex;align-items:center;gap:6px;color:var(--brand);font-weight:600;font-size:14px;transition:gap .15s;}
.services-grid .service-card:hover .sc-link{gap:10px;}
@media(max-width:1024px){.services-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.services-grid{grid-template-columns:1fr;}}

/* направления 2 колонки фото */
.services-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.services-grid .service-card{padding:0;overflow:hidden;}
.sc-image{aspect-ratio:16/9;background:var(--bg-elevated);display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--border);background-size:cover;background-position:center;}
.sc-ph{color:var(--text-dim);opacity:.55;}
.sc-image.has-img .sc-ph{display:none;}
.sc-body{padding:var(--s6);display:flex;flex-direction:column;flex:1;}
@media(max-width:700px){.services-grid{grid-template-columns:1fr;}}

/* === Leaflet гео-карта главной (раздел «Работаем от Иркутска до Камчатки») === */
.geo-map-wrap--leaflet{padding:0;background:none;}
#geo-leaflet{width:100%;height:480px;border-radius:var(--r-xl);overflow:hidden;z-index:0;}
.geo-map-wrap--leaflet .leaflet-container{font-family:'Onest',sans-serif;border-radius:var(--r-xl);}
.leaflet-container .leaflet-tooltip{font-family:'Onest',sans-serif;font-weight:700;font-size:12px;color:var(--text);border:1px solid var(--border);border-radius:6px;padding:3px 8px;box-shadow:0 4px 12px rgba(0,0,0,.08);}
@media(max-width:1100px){#geo-leaflet{height:380px;}}
@media(max-width:720px){#geo-leaflet{height:320px;}}

/* Leaflet: фон + подписи регионов (русская карта) */
#geo-leaflet, .geo-map-wrap--leaflet .leaflet-container{background:#eaf1f8;}
.leaflet-container .region-label{background:transparent;border:none;box-shadow:none;color:#1d3a6e;font-weight:700;font-size:12px;text-shadow:0 1px 2px #fff,0 0 3px #fff,0 0 6px #fff;padding:0;white-space:nowrap;}

/* Каталог на главной — 3 модели в ряд, планировки вписаны целиком */
.home-catalog-grid{grid-template-columns:repeat(3,1fr);}
.home-catalog-grid .project-card-img{background-color:#fff;background-size:contain;background-repeat:no-repeat;background-position:center;background-origin:content-box;padding:16px;aspect-ratio:16/10;}
@media(max-width:1024px){.home-catalog-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.home-catalog-grid{grid-template-columns:1fr;}}

/* Каталог на главной — карточки .vd-card (как в разделе каталога) */
.home-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s5);}
.vd-card{display:flex;flex-direction:column;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--r-xl);overflow:hidden;transition:.2s;}
.vd-card:hover{border-color:var(--brand);transform:translateY(-3px);box-shadow:var(--shadow-lg);}
.vd-img{display:block;position:relative;aspect-ratio:4/3;background:var(--bg-elevated) center/cover no-repeat;}
.vd-body{display:flex;flex-direction:column;gap:var(--s3);padding:var(--s4);flex:1;}
.vd-name{font-size:17px;font-weight:700;line-height:1.3;color:var(--text);text-decoration:none;}
.vd-name:hover{color:var(--brand);}
.vd-chips{display:flex;flex-wrap:wrap;gap:6px;}
.vd-chip{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--text-soft);background:var(--bg-elevated);border:1px solid var(--border);padding:4px 9px;border-radius:var(--r-md);}
.vd-chip svg{opacity:.7;flex-shrink:0;}
.vd-foot{margin-top:auto;display:flex;flex-direction:column;gap:var(--s3);padding-top:var(--s3);}
.vd-price{display:flex;flex-direction:column;line-height:1.2;}
.vd-price-lbl{font-size:11px;color:var(--text-muted);}
.vd-price-val{display:flex;align-items:baseline;gap:3px;}
.vd-price-val b{font-size:19px;font-weight:800;color:var(--text);}
.vd-price-val small{font-size:12px;color:var(--text-muted);font-weight:400;}
.vd-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.vd-btn{display:flex;align-items:center;justify-content:center;background:var(--brand);color:#fff;font-size:14px;font-weight:600;padding:10px 12px;border-radius:var(--r-md);text-decoration:none;transition:.15s;cursor:pointer;border:1px solid var(--brand);}
.vd-btn:hover{background:var(--brand-deep);border-color:var(--brand-deep);}
.vd-btn-ghost{background:transparent;color:var(--text);border:1px solid var(--border);}
.vd-btn-ghost:hover{background:transparent;border-color:var(--brand);color:var(--brand);}
@media(max-width:1024px){.home-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.home-catalog-grid{grid-template-columns:1fr;}}

/* === Модалка «Арендовать» (продукт + форма) === */
.rent-modal{position:fixed;inset:0;z-index:9999;display:none;}
.rent-modal.is-open{display:block;}
.rent-modal__overlay{position:absolute;inset:0;background:rgba(15,23,42,.6);}
.rent-modal__dialog{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(900px,calc(100vw - 28px));max-height:calc(100vh - 40px);overflow:auto;background:var(--bg-card);border-radius:var(--r-xl);box-shadow:0 30px 80px rgba(0,0,0,.35);}
.rent-modal__x{position:absolute;top:12px;right:14px;z-index:2;width:36px;height:36px;border:none;background:rgba(0,0,0,.06);border-radius:50%;font-size:24px;line-height:1;color:var(--text-soft);cursor:pointer;}
.rent-modal__x:hover{background:rgba(0,0,0,.12);color:var(--text);}
.rent-modal__cols{display:grid;grid-template-columns:1fr 1fr;}
.rm-product{background:var(--bg-elevated);padding:var(--s6);display:flex;flex-direction:column;gap:var(--s3);border-right:1px solid var(--border);}
.rm-img{width:100%;aspect-ratio:4/3;border-radius:var(--r-lg);background:#fff center/cover no-repeat;border:1px solid var(--border);}
.rm-name{font-size:19px;font-weight:700;line-height:1.25;color:var(--text);}
.rm-chips{display:flex;flex-wrap:wrap;gap:6px;}
.rm-chip{font-size:12px;color:var(--text-soft);background:var(--bg-card);border:1px solid var(--border);padding:4px 9px;border-radius:var(--r-md);}
.rm-price{margin-top:auto;font-size:13px;color:var(--text-muted);}
.rm-price b{font-size:20px;font-weight:800;color:var(--text);margin-left:4px;}
.rm-form{padding:var(--s6);display:flex;flex-direction:column;gap:var(--s3);}
.rm-form-tag{font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:1.5px;color:var(--brand);}
.rm-form-title{font-size:22px;font-weight:800;margin:0 0 var(--s2);letter-spacing:-.02em;}
.rm-field{display:flex;flex-direction:column;gap:5px;font-size:13px;color:var(--text-soft);}
.rm-field i{color:#e63946;font-style:normal;}
.rm-field input,.rm-field textarea{font:inherit;font-size:15px;color:var(--text);padding:11px 14px;border:1px solid var(--border);border-radius:var(--r-md);background:#fff;outline:none;transition:border-color .15s;}
.rm-field input:focus,.rm-field textarea:focus{border-color:var(--brand);}
.rm-field textarea{resize:vertical;min-height:64px;}
.rm-submit{margin-top:var(--s2);}
.rm-msg{font-size:13px;padding:10px 12px;border-radius:var(--r-md);}
.rm-msg.is-ok{background:rgba(16,185,129,.12);color:#0f766e;}
.rm-msg.is-err{background:rgba(230,57,70,.10);color:#b91c1c;}
.rm-consent{display:flex;gap:8px;align-items:flex-start;font-size:11px;color:var(--text-muted);line-height:1.4;}
.rm-consent input{margin-top:2px;flex-shrink:0;}
.rm-consent a{color:var(--brand);}
@media(max-width:680px){.rent-modal__cols{grid-template-columns:1fr;}.rm-product{border-right:none;border-bottom:1px solid var(--border);}.rm-img{aspect-ratio:16/9;}}

/* Inline callback-форма (страница товара) — сообщение */
.callback-msg{font-size:13px;padding:10px 12px;border-radius:var(--r-md);margin-top:8px;}
.callback-msg.is-ok{background:rgba(16,185,129,.12);color:#0f766e;}
.callback-msg.is-err{background:rgba(230,57,70,.10);color:#b91c1c;}

/* about-link margin fix */
.about-link{margin-top:var(--s6);}

/* fix Онлайн статус на тёмных блоках */
.bp-sub{color:rgba(255,255,255,0.85);}
.big-phone-secondary .bp-sub{color:var(--text-muted);}
body.has-hero-overlay .messenger-text span{color:rgba(255,255,255,0.92)!important;}
body.has-hero-overlay .messenger-text span:last-child{color:rgba(255,255,255,0.72)!important;}
body.has-hero-overlay header.is-scrolled .messenger-text span:first-child{color:var(--text)!important;}
body.has-hero-overlay header.is-scrolled .messenger-text span:last-child{color:var(--text-muted)!important;}

/* брендовые иконки мессенджеров (свои SVG) */
.messenger-brand{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .2s;}
.messenger-brand img{width:38px;height:38px;display:block;}
.messenger-brand:hover{transform:translateY(-2px);}
@media(max-width:768px){.messenger-brand,.messenger-brand img{width:34px;height:34px;}}

/* видео-фон hero */
.hh-bg-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:1}
@media(prefers-reduced-motion:reduce){.hh-bg-video{display:none}}

/* плавная петля видео-фона hero (кроссфейд двух копий) */
.hh-bg-video{transition:opacity .9s ease}
.hh-v-b{opacity:0}

/* убрать размытие видео под шапкой на hero (backdrop-filter blur) */
body.has-hero-overlay header:not(.is-scrolled),
body.has-hero-overlay header:not(.is-scrolled) .utility-bar,
body.has-hero-overlay header:not(.is-scrolled) .mega-nav,
body.has-hero-overlay header:not(.is-scrolled) .main-header{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* ============================================================
   МЕГАМЕНЮ — расширение для логистики (плоские метки, ссылка
   "Все …", промо-календарь транспортных окон, подвал с номером)
   Добавлено: макет avas-menu-logistics
   ============================================================ */

/* Заголовок-метка колонки без ссылки (как .mn-col-title, но не кликабельный) */
.mn-col-label {
  display: block;
  padding: 8px 0 12px;
  margin-bottom: var(--s2);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand);
}

/* Нижняя ссылка "Все услуги/типы/месторождения →" */
.mn-col-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  transition: gap .15s;
}
.mn-col-all:hover { gap: 12px; }
.mn-col-all svg { flex-shrink: 0; }

/* Промо-карточка с календарём (наследует .mn-feature-card) */
.mn-cal {
  display: grid;
  gap: 7px;
  margin: 4px 0 var(--s4);
}
.mn-cal-row {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  gap: 10px;
}
.mn-cal-name {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.mn-cal-track {
  position: relative;
  height: 9px;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 3px;
  overflow: hidden;
}
.mn-cal-seg {
  position: absolute;
  top: 0;
  height: 9px;
  border-radius: 3px;
}
.mn-cal-seg--ice  { background: #7FB3FF; }
.mn-cal-seg--weak { background: repeating-linear-gradient(45deg, #7FB3FF 0 4px, rgba(127, 179, 255, 0.4) 4px 8px); }
.mn-cal-seg--riv  { background: #43C3B3; }
.mn-cal-months {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 10px;
  margin-top: 2px;
}
.mn-cal-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .4px;
  color: rgba(255, 255, 255, 0.45);
}

/* Подвал панели — прямой номер отдела */
.mn-panel-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--border);
}
.mn-panel-foot-lbl {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-dim, var(--text-muted));
}
.mn-panel-foot-tel {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}
.mn-panel-foot-tel:hover { color: var(--brand-bright, var(--brand)); }
.mn-panel-foot-note {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .mn-cal-row, .mn-cal-months { grid-template-columns: 58px 1fr; }
  .mn-panel-foot-note { margin-left: 0; width: 100%; }
}

/* MOBILE-STATIC-HEADER-FIX */
/* ============================================================
   МОБИЛЬНАЯ ШАПКА: не прилипает + компактная, без наложения на hero.
   Тизеры hero (статистика) — ровная сетка. (Андрей, 2026-11-05)
   ============================================================ */
@media (max-width: 768px) {
  /* --- не sticky: relative (уезжает при прокрутке) + контекст для бургера --- */
  .header,
  body.has-hero-overlay header,
  body.has-hero-overlay header.is-scrolled {
    position: relative !important;
    top: auto !important;
    box-shadow: none !important;
  }

  /* --- компактность: убираем дублирующую верхнюю строку (email/тел есть в кнопке и футере) --- */
  .utility-bar { display: none !important; }

  /* --- на главной (hero-overlay) шапка сплошная, тёмный читаемый текст --- */
  body.has-hero-overlay header { background: #fff !important; border-bottom: 1px solid var(--border) !important; }
  body.has-hero-overlay .search-wrap input {
    background: var(--bg-elevated) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  body.has-hero-overlay .search-wrap input::placeholder { color: var(--text-muted) !important; }
  body.has-hero-overlay .search-wrap svg { color: var(--text-muted) !important; }
  body.has-hero-overlay .mn-trigger { color: var(--text) !important; }

  /* --- header-main компактно: лого (ряд1, бургер справа) / поиск / мессенджеры+тел --- */
  .header-main { padding: 12px 0 !important; row-gap: 12px !important; }
  .header-main .logo { padding-right: 52px; }
  .search-box { order: 2 !important; flex: 1 0 100% !important; width: 100% !important; max-width: none !important; }
  .header-actions { order: 3 !important; width: 100% !important; justify-content: flex-start !important; margin: 0 !important; }

  /* --- бургер в правый верхний угол, в одну строку с логотипом --- */
  .mega-nav { position: static !important; border: none !important; background: transparent !important; padding: 0 !important; }
  body.has-hero-overlay .mega-nav { border: none !important; background: transparent !important; }
  .mn-burger {
    position: absolute !important;
    top: 12px !important; right: 16px !important;
    margin: 0 !important; z-index: 210 !important;
    background: #fff !important;
    border: 1px solid var(--border) !important;
  }

  /* --- hero: без резерва под шапку --- */
  .home-hero { min-height: auto !important; }
  .hh-content { padding-top: 24px !important; padding-bottom: 48px !important; }

  /* --- тизеры (статистика) в hero: ровная сетка 2x2, без наезда на индикатор --- */
  .hh-proof {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 18px 16px !important;
    align-items: start !important;
  }
  .hh-proof-num { font-size: 28px !important; }
  .hh-scroll { display: none !important; }

  /* --- мобильное меню (drawer): список сверху, без центрирования и гориз. прокрутки --- */
  .mega-nav.is-mobile-open .mn-burger { position: fixed !important; top: 12px !important; right: 16px !important; }
  .mega-nav-inner {
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 70px 0 32px !important;
    width: 100% !important; max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    gap: 0 !important;
  }
  .mega-nav-inner::before {
    content: "Меню";
    display: block; padding: 0 20px 14px;
    font-family: var(--mono); font-size: 12px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted);
  }
  .mega-nav-inner .mn-item { width: 100% !important; box-sizing: border-box !important; margin: 0 !important; }
  .mega-nav-inner .mn-trigger { width: 100% !important; box-sizing: border-box !important; padding: 15px 20px !important; margin: 0 !important; }
  .mega-nav-inner .mn-panel,
  .mega-nav-inner .mn-panel-inner,
  .mega-nav-inner .mn-cols,
  .mega-nav-inner .mn-col,
  .mega-nav-inner .mn-feature-card,
  .mega-nav-inner .mn-col-single,
  .mega-nav-inner .mn-link,
  .mega-nav-inner .mn-col-title,
  .mega-nav-inner .mn-col-all { max-width: 100% !important; box-sizing: border-box !important; }
  .mega-nav-inner .mn-panel-inner { padding: 6px 20px 14px !important; }

  /* подменю: выравнивание по левому краю, аккуратные отступы */
  .mega-nav { text-align: left !important; }
  .mega-nav-inner .mn-col { align-items: flex-start !important; text-align: left !important; }
  .mega-nav-inner .mn-link { display: block !important; width: 100% !important; text-align: left !important; padding: 9px 0 !important; margin: 0 !important; }
  .mega-nav-inner .mn-col-single { text-align: left !important; padding: 8px 0 !important; }
  .mega-nav-inner .mn-col-title,
  .mega-nav-inner .mn-col-label,
  .mega-nav-inner .mn-col-all { text-align: left !important; }
  .mega-nav-inner .mn-feature-card { margin-top: 8px !important; }

  /* принципы: одна колонка на телефонах, без вылета за экран */
  .principles-grid { grid-template-columns: 1fr !important; }
  .pc-title, .pc-desc { overflow-wrap: anywhere; word-break: break-word; }
}
