/* ============================================================
   VIA SOLAR — style.css
   ============================================================ */

/* 1. DESIGN TOKENS */
:root {
  --c-gold:         #D8B568;
  --c-gold-dark:    #B58E32;
  --c-gold-hover:   #cda74e;
  --c-dark:         #1C1C1C;
  --c-dark-2:       #161616;
  --c-white:        #fff;
  --c-bg-light:     #F7F5EF;
  --c-bg-section:   #F4F1E8;
  --c-border:       #ECE9E0;
  --c-border-light: #EEEADF;
  --c-text-muted:   #6b6860;
  --c-text-dim:     #9b978c;
  --c-text-dark:    #2b2926;

  --f-head: 'Montserrat', sans-serif;
  --f-body: 'Inter', sans-serif;
  --f-mono: 'Inter', sans-serif;

  --r-card: 20px;
  --r-cta:  26px;
  --r-btn:  12px;
  --r-sm:   8px;

  --max-w:   1240px;
  --pad-x:   32px;
  --sec-y:   96px;
}

/* 2. RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  color: var(--c-dark);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
::selection { background: var(--c-gold); color: var(--c-dark); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-thumb { background: #d8d4c8; border-radius: 6px; border: 3px solid #fff; }

/* 3. LAYOUT */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

/* 4. TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
}
h1 { font-size: 62px; line-height: 1.04; }
h2 { font-size: 42px; }
h3 { font-size: 23px; font-weight: 700; line-height: 1.15; }

.kicker {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-gold-dark);
  margin-bottom: 14px;
  display: block;
}

/* 5. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--r-btn);
  font-family: var(--f-head);
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s, transform .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
  text-decoration: none;
  border: 1.5px solid transparent;
}
.btn--gold  { background: var(--c-gold);  color: var(--c-dark);  border-color: var(--c-gold); }
.btn--gold:hover  { background: var(--c-gold-hover); border-color: var(--c-gold-hover); transform: translateY(-1px); }
.btn--dark  { background: var(--c-dark);  color: var(--c-white); border-color: var(--c-dark); }
.btn--dark:hover  { transform: translateY(-2px); box-shadow: 0 8px 20px -8px rgba(28,28,28,.4); }
.btn--outline { background: var(--c-white); color: var(--c-dark); border-color: var(--c-dark); }
.btn--outline:hover { background: var(--c-dark); color: var(--c-white); }
.btn--outline-light { background: rgba(255,255,255,.06); color: var(--c-white); border-color: rgba(255,255,255,.28); }
.btn--outline-light:hover { background: rgba(255,255,255,.13); border-color: var(--c-white); }
.btn--lg  { height: 56px; padding: 0 30px; font-size: 16px; }
.btn--md  { height: 50px; padding: 0 24px; font-size: 14.5px; }
.btn--sm  { height: 46px; padding: 0 22px; font-size: 14.5px; }
.btn--cta { height: 58px; padding: 0 34px; font-size: 17px; }

/* 6. HEADER */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

/* 7. NAVIGATION */
.main-nav { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.nav-link {
  background: none; border: none;
  padding: 9px 14px; border-radius: 9px;
  font-family: var(--f-head); font-weight: 600; font-size: 14.5px;
  color: #56544d;
  transition: background .15s, color .15s;
  white-space: nowrap; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-link:hover, .nav-link.active { color: var(--c-dark); background: var(--c-bg-section); }
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; width: 320px;
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: 16px; box-shadow: 0 24px 60px -18px rgba(28,28,28,.28);
  padding: 8px; display: none; animation: drop .16s ease; z-index: 100;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown .dropdown-menu.open { display: block; }
.dropdown-item {
  display: flex; align-items: center; gap: 13px;
  padding: 12px; border-radius: 11px;
  text-decoration: none; transition: background .12s;
}
.dropdown-item:hover { background: var(--c-bg-light); }
.dropdown-tag {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 9px; background: var(--c-bg-section);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-weight: 700; font-size: 11px; color: var(--c-gold-dark);
}
.dropdown-tag svg {
  width: 20px;
  height: 20px;
  color: var(--c-gold-dark);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), color 0.22s ease;
}
.dropdown-item:hover .dropdown-tag svg {
  color: var(--c-gold);
  transform: scale(1.08);
}
.dropdown-content { display: flex; flex-direction: column; gap: 2px; }
.dropdown-title { font-weight: 600; font-size: 14.5px; color: var(--c-dark); }
.dropdown-sub { font-size: 12px; color: #8a877d; }
.header-cta { margin-left: auto; box-shadow: 0 6px 18px -6px rgba(216,181,104,.7); }

/* 8. BURGER */
.burger {
  display: none; margin-left: auto;
  width: 48px; height: 48px;
  border: 1px solid var(--c-border); border-radius: 12px;
  background: var(--c-white);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--c-dark); border-radius: 2px; transition: all .22s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 9. MOBILE MENU */
.mobile-menu {
  display: none; position: fixed;
  top: 78px; left: 0; right: 0; bottom: 0; z-index: 55;
  background: var(--c-white); padding: 22px 20px;
  flex-direction: column; gap: 4px; overflow-y: auto;
  animation: drop .18s ease;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  display: block; padding: 16px 6px;
  border-bottom: 1px solid #F0ECE2;
  font-family: var(--f-head); font-weight: 600; font-size: 18px;
  color: var(--c-dark); text-decoration: none;
}
.mobile-section-label {
  font-family: var(--f-head); font-weight: 700; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--c-gold-dark); padding: 18px 6px 8px;
}
.mobile-submenu-link {
  display: block; background: var(--c-bg-light); border-radius: 11px;
  padding: 14px 16px; font-family: var(--f-body); font-weight: 500;
  font-size: 15px; color: var(--c-dark); text-decoration: none; margin-bottom: 6px;
}
.mobile-cta { margin-top: 18px; height: 54px; font-size: 16px; border-radius: 12px; width: 100%; }

/* 10. HERO (HOME) */
.hero {
  position: relative; min-height: 680px;
  display: flex; align-items: center;
  overflow: hidden; background: var(--c-dark-2);
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg,#1d1d1d 0 17px,#171717 17px 34px);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg,rgba(15,15,15,.96) 0%,rgba(15,15,15,.82) 42%,rgba(15,15,15,.35) 100%);
}
.hero-inner {
  position: relative;
  padding: 90px var(--pad-x);
  width: 100%;
}
@media (min-width: 1025px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 110px;
  }
}
.hero-content {
  position: relative;
  z-index: 10;
}
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero-eyebrow-line { width: 30px; height: 1.5px; background: var(--c-gold); }
.hero-eyebrow-text {
  font-family: var(--f-head); font-weight: 600; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--c-gold);
}
.hero h1 { color: var(--c-white); max-width: 780px; margin-bottom: 0; }
.hero-sub { font-size: 18px; line-height: 1.55; color: #c8c5bd; margin-top: 24px; max-width: 540px; }
.hero-btns { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

/* ---- HERO SCENE SYSTEM (COMPETITOR STYLE) ---- */
.hero-scene-wrapper {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 48px;
  /* Используем только opacity и border-color — не вызывают layout reflow */
  transition: border-color 0.35s ease, opacity 0.35s ease;
  will-change: transform;
}
@media (min-width: 1025px) {
  .hero-scene-wrapper {
    margin-top: 0;
  }
}
.hero-scene-wrapper:hover {
  border-color: rgba(216, 181, 104, 0.28);
}

.scene-modes {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.scene-mode-btn {
  flex: 1;
  height: 40px;
  border-radius: 8px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.scene-mode-btn:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.04);
}

.scene-mode-btn.active {
  background: var(--c-gold);
  color: var(--c-dark);
  box-shadow: 0 4px 14px rgba(216, 181, 104, 0.25);
}

.hero-scene-container {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 16px;
  overflow: hidden;
  /* Фиксируем высоту блока через aspect-ratio SVG viewBox 600x400 → 3/2 */
  aspect-ratio: 600 / 400;
}

.hero-scene-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* SVG INTERACTIVE STYLES */
.node-bg {
  fill: rgba(22, 22, 22, 0.85);
  /* Фиксированная толщина — никогда не меняется, только цвет */
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 2px;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.scene-node {
  cursor: pointer;
}

.scene-node:hover .node-bg,
.scene-node.active .node-bg {
  /* Только цвет — без изменения размера или толщины */
  stroke: rgba(216, 181, 104, 0.7);
  fill: rgba(32, 32, 32, 0.95);
}

.node-label {
  fill: rgba(255, 255, 255, 0.65);
  font-family: var(--f-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-anchor: middle;
  transition: fill 0.3s;
}

.scene-node:hover .node-label,
.scene-node.active .node-label {
  fill: var(--c-white);
}

.node-icon-bg {
  fill: rgba(216, 181, 104, 0.05);
  stroke: rgba(216, 181, 104, 0.12);
  stroke-width: 1;
  transition: fill 0.3s, stroke 0.3s;
}

.scene-node:hover .node-icon-bg,
.scene-node.active .node-icon-bg {
  fill: rgba(216, 181, 104, 0.1);
  stroke: rgba(216, 181, 104, 0.3);
}

/* Sun Icon — только fill без transform, чтобы не вызывать SVG reflow */
.sun-body {
  fill: var(--c-gold);
  transition: fill 0.35s ease;
}
.sun-rays {
  stroke: var(--c-gold);
  stroke-width: 2px;
  stroke-linecap: round;
  transition: stroke 0.35s ease;
}
.scene-node:hover .sun-body {
  fill: #f5d080; /* чуть ярче при наведении — без layout shift */
}

/* BESS Shelves & Levels */
.bess-shelf {
  fill: rgba(255, 255, 255, 0.02);
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1px;
}

#bess-level-1, #bess-level-2, #bess-level-3 {
  transition: fill 0.3s, opacity 0.3s;
}

/* Inverter Details */
.inverter-display {
  fill: rgba(0, 0, 0, 0.5);
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1px;
}

#inverter-wave {
  stroke: var(--c-gold);
  stroke-width: 1.5px;
  fill: none;
  stroke-dasharray: 60;
  stroke-dashoffset: 0;
  animation: waveAnim 2.5s linear infinite;
  transition: stroke 0.3s;
}
@keyframes waveAnim {
  0% { stroke-dashoffset: 120; }
  100% { stroke-dashoffset: 0; }
}

.led-active {
  fill: #10B981;
  filter: drop-shadow(0 0 5px #10B981);
  transition: fill 0.3s, filter 0.3s;
}

.led-warning {
  fill: #F59E0B;
  filter: drop-shadow(0 0 5px #F59E0B);
  transition: fill 0.3s, filter 0.3s;
}

/* ═══════════════════════════════════════════════
   FLOW PATHS — движение энергии через dashoffset
═══════════════════════════════════════════════ */

.flow-path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 2.5px;
  stroke-linecap: round;
  stroke-dasharray: none;
  transition: stroke 0.45s ease, stroke-width 0.45s ease, stroke-dasharray 0.45s ease;
}

/* Активный путь — анимированные бегущие штрихи */
.flow-path.active {
  stroke: rgba(216, 181, 104, 0.7);
  stroke-width: 3px;
  stroke-dasharray: 8 14;           /* штрих 8px, пробел 14px → период 22px */
  animation: flowDash 0.9s linear infinite;
}

/* Обратное направление (напр. Инвертор→BESS при зарядке) */
.flow-path.active.reverse {
  animation: flowDashReverse 0.9s linear infinite;
}

/* Путь сети — холодный синий */
.flow-path.active.grid-active {
  stroke: rgba(130, 207, 255, 0.75);
}

/* Предупреждение (авария) — янтарный мигающий */
.flow-path.active.warning {
  stroke: rgba(253, 203, 110, 0.85);
  animation: flowDash 0.6s linear infinite, pathWarningBlink 0.8s ease-in-out infinite;
}

@keyframes flowDash {
  from { stroke-dashoffset: 22; }
  to   { stroke-dashoffset: 0;  }
}

@keyframes flowDashReverse {
  from { stroke-dashoffset: 0;  }
  to   { stroke-dashoffset: 22; }
}

@keyframes pathWarningBlink {
  0%, 100% { stroke-opacity: 0.85; }
  50%       { stroke-opacity: 0.35; }
}



/* ═══════════════════════════════════════════════
   ENERGY PARTICLES — ядро + ореол
═══════════════════════════════════════════════ */

/* Базовые стили */
.energy-particle {
  opacity: 0;
  pointer-events: none;
}
.energy-particle-halo {
  opacity: 0;
  pointer-events: none;
}

/* ── Цвет: Solar (тёплое золото) ── */
.particle-solar {
  fill: #FFE066;
  filter: drop-shadow(0 0 4px rgba(255,224,102,0.95))
          drop-shadow(0 0 9px rgba(255,180,50,0.6));
}
.particle-solar-halo { fill: #FFD166; }

/* ── Цвет: BESS (янтарный оранжевый) ── */
.particle-bess {
  fill: #FFA040;
  filter: drop-shadow(0 0 4px rgba(255,160,64,0.95))
          drop-shadow(0 0 9px rgba(255,120,0,0.55));
}
.particle-bess-halo { fill: #FF9A3C; }

/* ── Цвет: Grid (холодный синий) ── */
.particle-grid {
  fill: #82CFFF;
  filter: drop-shadow(0 0 4px rgba(130,207,255,0.95))
          drop-shadow(0 0 9px rgba(80,160,255,0.55));
}
.particle-grid-halo { fill: #74B9FF; }

/* ── Цвет: Building (зелёно-белый потребление) ── */
.particle-building {
  fill: #A8F5D4;
  filter: drop-shadow(0 0 4px rgba(168,245,212,0.9))
          drop-shadow(0 0 9px rgba(50,205,130,0.5));
}
.particle-building-halo { fill: #55EFC4; }

/* ── Цвет: Warning/Outage (мигающий янтарь) ── */
.particle-warning {
  fill: #FDCB6E !important;
  filter: drop-shadow(0 0 5px rgba(253,203,110,0.95))
          drop-shadow(0 0 10px rgba(245,158,11,0.65)) !important;
  animation-name: flowParticle, warningFlicker !important;
}
.particle-warning-halo {
  fill: #FDCB6E !important;
  animation-name: flowParticleHalo, warningFlicker !important;
}

@keyframes warningFlicker {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

/* ── offset-path маршруты ── */
.particle-path-solar    { offset-path: path('M 150 80 L 195 80 L 195 180 L 240 180'); }
.particle-path-bess-out { offset-path: path('M 150 310 L 195 310 L 195 220 L 240 220'); }
.particle-path-bess-in  { offset-path: path('M 240 220 L 195 220 L 195 310 L 150 310'); }
.particle-path-grid-out { offset-path: path('M 360 180 L 405 180 L 405 85 L 450 85'); }
.particle-path-grid-in  { offset-path: path('M 450 85 L 405 85 L 405 180 L 360 180'); }
.particle-path-building { offset-path: path('M 360 220 L 405 220 L 405 310 L 450 310'); }

/* ── Keyframes частицы ── */

/* Ядро: фейд in/out по краям, полная яркость в центре пути */
@keyframes flowParticle {
  0%   { offset-distance: 0%;   opacity: 0; }
  7%   { offset-distance: 7%;   opacity: 1; }
  50%  { offset-distance: 50%;  opacity: 1; }
  93%  { offset-distance: 93%;  opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* Ореол: мягче, чуть запаздывает */
@keyframes flowParticleHalo {
  0%   { offset-distance: 0%;   opacity: 0;    }
  7%   { offset-distance: 7%;   opacity: 0.25; }
  50%  { offset-distance: 50%;  opacity: 0.32; }
  93%  { offset-distance: 93%;  opacity: 0.25; }
  100% { offset-distance: 100%; opacity: 0;    }
}





/* Status Panel — фиксированная высота, текст меняется внутри без layout shift */
.scene-status-panel {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 18px;
  border-radius: 12px;
  /* Фиксируем высоту на максимально возможный размер текста */
  height: 82px;
  overflow: hidden;
  position: relative;
}
@media (max-width: 640px) {
  .scene-status-panel {
    height: 116px;
  }
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  flex-shrink: 0;
  margin-top: 5px;
  animation: ledBlink 1.5s ease-in-out infinite alternate;
  transition: background 0.3s, box-shadow 0.3s;
}

.status-indicator.warning {
  background: #F59E0B;
  box-shadow: 0 0 10px #F59E0B;
}

#scene-status-text {
  font-family: var(--f-body);
  font-size: 13.5px;
  line-height: 1.45;
  color: #c8c5bd;
  /* Плавный переход без изменения высоты контейнера */
  transition: opacity 0.15s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes ledBlink {
  0% { opacity: 0.45; }
  100% { opacity: 1; }
}

/* Mode toggled state styling overrides */
/* NIGHT MODE */
.hero-scene-wrapper.night #node-solar {
  opacity: 0.25;
}
.hero-scene-wrapper.night #node-solar .sun-body {
  fill: #555;
}
.hero-scene-wrapper.night #node-solar .sun-rays {
  stroke: #555;
}

/* OUTAGE MODE */
.hero-scene-wrapper.outage #node-grid {
  opacity: 0.2;
}


/* 11. HERO (INNER PAGES) — Двухколоночный премиум-макет */
.hero--inner {
  min-height: 620px;
}
.hero--inner .hero-overlay {
  background: linear-gradient(100deg,rgba(15,15,15,.96) 0%,rgba(15,15,15,.82) 42%,rgba(15,15,15,.35) 100%);
}
.hero--inner h1 {
  font-size: 54px;
  color: var(--c-white);
  max-width: 760px;
}
.hero--inner .hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: #c8c5bd;
  margin-top: 20px;
  max-width: 520px;
}


/* 12. SECTION */
.section { padding: var(--sec-y) var(--pad-x); }
.section--light { background: var(--c-bg-light); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.section-header { margin-bottom: 44px; }
.section-header--flex { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }

/* 13. DIRECTION CARDS */
.directions-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.direction-card {
  display: flex; flex-direction: column;
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--r-card); overflow: hidden; text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.direction-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(28,28,28,0.06); border-color: var(--c-gold); }
.card-photo {
  position: relative; aspect-ratio: 16/11;
  background: #ECEAE3 repeating-linear-gradient(135deg,#ECEAE3 0 13px,#E4E1D7 13px 26px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.direction-card:hover .card-photo-img {
  transform: scale(1.05);
}
.card-photo-num { position: absolute; top: 14px; left: 14px; font-family: var(--f-mono); font-size: 11px; color: #fff; background: var(--c-dark); padding: 5px 10px; border-radius: 7px; z-index: 2; }
.card-photo-label { font-family: var(--f-mono); font-size: 12px; color: #9b978c; background: var(--c-white); padding: 6px 12px; border-radius: 999px; border: 1px solid #E6E3DB; }
.card-body { padding: 26px 26px 28px; }
.card-body h3 { margin-bottom: 9px; }
.card-body p { font-size: 15px; line-height: 1.55; color: var(--c-text-muted); margin-bottom: 18px; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-weight: 700; font-size: 14px;
  color: var(--c-gold-dark); transition: color .2s ease;
}
.direction-card:hover .card-link {
  color: var(--c-gold);
}
.direction-card:hover .card-link .btn-arrow {
  transform: translateX(4px);
}

/* 14. ADVANTAGES STRIP */
.advantages-grid {
  display: grid; grid-template-columns: repeat(5,1fr);
  border: 1px solid #E6E2D6; border-radius: var(--r-card); overflow: hidden; background: var(--c-white);
}
.adv-cell { padding: 30px 24px; border-right: 1px solid var(--c-border-light); display: flex; flex-direction: column; gap: 16px; min-height: 210px; }
.adv-cell:last-child { border-right: none; }
.adv-num { font-family: var(--f-mono); font-size: 13px; color: var(--c-gold-dark); }
.adv-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--c-bg-section); display: flex; align-items: center; justify-content: center; color: var(--c-gold-dark); font-size: 20px; }
.adv-title { font-family: var(--f-head); font-weight: 600; font-size: 16px; line-height: 1.3; margin-top: auto; }

/* 15. PREVIEW GRID */
.preview-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 20px; }
.preview-photo {
  position: relative; background: #ECEAE3 repeating-linear-gradient(135deg,#ECEAE3 0 13px,#E4E1D7 13px 26px); border-radius: 18px; display: flex; align-items: flex-end; padding: 22px;
  overflow: hidden;
}
.preview-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.preview-photo:hover .preview-photo-img {
  transform: scale(1.05);
}
.preview-photo--main { aspect-ratio: 1/1; }
.preview-photo--sm { padding: 18px; }
.preview-photo-col { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.preview-photo-tag { position: relative; font-family: var(--f-mono); font-size: 11px; color: #9b978c; background: var(--c-white); padding: 6px 12px; border-radius: 999px; border: 1px solid #E6E3DB; z-index: 2; }
.preview-stat { background: var(--c-dark); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.preview-stat-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold); }
.preview-stat-value { font-family: var(--f-head); font-weight: 800; font-size: 38px; color: var(--c-white); line-height: 1; }
.preview-stat-value span { font-size: 18px; font-weight: 600; color: var(--c-gold); }
.preview-stat-desc { font-size: 13px; color: #9c998f; margin-top: 6px; }

/* 16. CTA BLOCK */
.cta-block {
  position: relative; overflow: hidden;
  background: var(--c-gold); border-radius: var(--r-cta);
  padding: 64px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap;
}
.cta-circle { position: absolute; border-radius: 50%; border: 2px solid rgba(28,28,28,.12); pointer-events: none; }
.cta-circle--1 { right: -40px; top: -40px; width: 240px; height: 240px; }
.cta-circle--2 { right: 30px; bottom: -70px; width: 180px; height: 180px; }
.cta-content { position: relative; max-width: 600px; }
.cta-content h2 { color: var(--c-dark); }
.cta-content p { font-size: 17px; color: #3d3522; margin-top: 16px; }

/* 17. INTRO */
.intro-lead { font-family: var(--f-head); font-weight: 500; font-size: 24px; line-height: 1.5; letter-spacing: -.01em; color: #2b2926; }
.intro-lead strong { color: var(--c-dark); font-weight: 700; }
.intro-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.intro-text { font-size: 16px; line-height: 1.65; color: var(--c-text-muted); }
.solar-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.solar-photo { position: relative; aspect-ratio: 4/3; background: #ECEAE3 repeating-linear-gradient(135deg,#ECEAE3 0 14px,#E4E1D7 14px 28px); border-radius: var(--r-card); display: flex; align-items: center; justify-content: center; }
.solar-photo-label { font-family: var(--f-mono); font-size: 12px; color: #9b978c; background: var(--c-white); padding: 7px 14px; border-radius: 999px; border: 1px solid #E6E3DB; }

/* 18. COMPONENT CARDS */
.components-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.comp-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: 16px; padding: 22px; min-height: 130px; display: flex; flex-direction: column; gap: 16px; transition: border-color .2s, box-shadow .2s; }
.comp-card:hover { border-color: var(--c-gold); box-shadow: 0 10px 24px rgba(28,28,28,0.05); }
.comp-card-num { font-family: var(--f-mono); font-size: 13px; color: #c2bcab; }
.comp-card-title { font-family: var(--f-head); font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--c-dark); margin-top: auto; }

/* 19. ADVANTAGE CARDS 2-col */
.adv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.adv-card { background: var(--c-bg-light); border: 1px solid var(--c-border-light); border-radius: 18px; padding: 30px 32px; display: flex; gap: 22px; }
.adv-card-num { font-family: var(--f-head); font-weight: 800; font-size: 30px; color: var(--c-gold); line-height: 1; flex-shrink: 0; }
.adv-card h3 { font-size: 21px; margin-bottom: 8px; }
.adv-card p { font-size: 15px; line-height: 1.6; color: var(--c-text-muted); }

/* 20. APPLICATION TAGS */
.app-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.app-tag { display: inline-flex; align-items: center; gap: 11px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 999px; padding: 13px 22px; font-family: var(--f-head); font-weight: 600; font-size: 15px; color: #2b2926; transition: border-color .15s; }
.app-tag:hover { border-color: var(--c-gold); }
.app-tag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-gold); flex-shrink: 0; }

/* 21. PRODUCT CARD */
.product-card { background: var(--c-dark-2); border-radius: 28px; overflow: hidden; padding: 56px; position: relative; }
.product-card-pattern { position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg,#1c1c1c 0 18px,#191919 18px 36px); opacity: .6; }
.product-card-inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.product-card-kicker { font-family: var(--f-head); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--c-gold); margin-bottom: 16px; }
.product-card h2 { font-size: 46px; color: var(--c-white); }
.product-card-capacity { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 22px; }
.product-card-mwh { font-family: var(--f-head); font-weight: 800; font-size: 40px; color: var(--c-gold); }
.product-card-mwh-sub { font-size: 14px; color: #9c998f; }
.product-card-desc  { font-size: 16px; line-height: 1.65; color: #c8c5bd; margin-bottom: 16px; }
.product-card-desc2 { font-size: 15px; line-height: 1.65; color: #928f86; margin-bottom: 30px; }
.product-card-photo { position: relative; aspect-ratio: 4/3; background: #232323 repeating-linear-gradient(135deg,#262626 0 15px,#202020 15px 30px); border-radius: 18px; border: 1px solid #2f2f2f; display: flex; align-items: center; justify-content: center; }
.product-card-photo-label { font-family: var(--f-mono); font-size: 12px; color: #6f6c64; background: var(--c-dark-2); padding: 7px 14px; border-radius: 999px; border: 1px solid #333; }

/* 22. SPECS TABLE */
.specs-table { border: 1px solid #E6E2D6; border-radius: var(--r-card); overflow: hidden; }
.specs-head { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; padding: 13px 26px; background: var(--c-bg-light); border-bottom: 2px solid #E6E2D6; }
.specs-head-num { font-family: var(--f-mono); font-size: 11px; color: var(--c-gold-dark); letter-spacing: .1em; }
.specs-head-lbl { font-family: var(--f-head); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-dim); }
.specs-row { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; padding: 20px 26px; border-bottom: 1px solid var(--c-border-light); background: var(--c-white); }
.specs-row:last-child { border-bottom: none; }
.specs-n { font-family: var(--f-mono); font-size: 12px; color: #c2bcab; }
.specs-param { font-family: var(--f-body); font-size: 15px; color: var(--c-text-muted); padding-right: 12px; }
.specs-value { font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--c-dark); background: var(--c-bg-section); padding: 6px 14px; border-radius: var(--r-sm); white-space: nowrap; }

/* 23. TASK CARDS */
.tasks-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.task-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: 16px; padding: 24px 20px; min-height: 200px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s, box-shadow .2s; }
.task-card:hover { border-color: var(--c-gold); box-shadow: 0 10px 24px rgba(28,28,28,0.05); }
.task-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--c-bg-section); display: flex; align-items: center; justify-content: center; color: var(--c-gold-dark); font-size: 20px; }
.task-card h3 { font-size: 17px; line-height: 1.2; }
.task-card p { font-size: 13px; line-height: 1.55; color: var(--c-text-muted); }

/* 24. GRID ADVANTAGES */
.grid-adv-list { display: flex; flex-direction: column; gap: 16px; }
.grid-adv-item { display: grid; grid-template-columns: 64px 1fr; gap: 26px; align-items: center; background: var(--c-bg-light); border: 1px solid var(--c-border-light); border-radius: 18px; padding: 26px 30px; }
.grid-adv-num { font-family: var(--f-head); font-weight: 800; font-size: 26px; color: var(--c-gold); width: 64px; height: 64px; border-radius: 14px; background: var(--c-white); border: 1px solid #EEE7D6; display: flex; align-items: center; justify-content: center; }
.grid-adv-content { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: center; }
.grid-adv-content h3 { font-size: 20px; }
.grid-adv-content p { font-size: 15px; line-height: 1.6; color: var(--c-text-muted); }

/* 25. PROJECTS */
.proj-tabs { display: flex; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.proj-tab { padding: 13px 22px; border-radius: 999px; font-family: var(--f-head); font-weight: 700; font-size: 14.5px; cursor: pointer; transition: all .15s; background: var(--c-white); color: var(--c-dark); border: 1.5px solid #E6E2D6; }
.proj-tab.active { background: var(--c-dark); color: var(--c-white); border-color: var(--c-dark); }
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.project-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-card); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(28,28,28,0.06); }
.project-photo { position: relative; aspect-ratio: 3/2; background: #ECEAE3 repeating-linear-gradient(135deg,#ECEAE3 0 13px,#E4E1D7 13px 26px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; overflow: hidden; }
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-img {
  transform: scale(1.04);
}
.project-photo-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--c-white); border: 1.5px dashed #c5c0b5; display: flex; align-items: center; justify-content: center; font-size: 22px; opacity: .6; }
.project-photo-label { font-family: var(--f-mono); font-size: 11px; color: #9b978c; background: var(--c-white); padding: 5px 11px; border-radius: 999px; border: 1px solid #E6E3DB; }
.project-body { padding: 22px 24px 26px; }
.project-body h3 { font-size: 19px; margin-bottom: 7px; }
.project-body p { font-size: 14px; line-height: 1.5; color: var(--c-text-muted); }
.show-more-wrap { display: flex; justify-content: center; margin-top: 48px; }

/* 26. USE CASE CARDS */
.use-cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.use-case-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-card); padding: 32px; min-height: 220px; display: flex; flex-direction: column; gap: 18px; transition: border-color .2s, box-shadow .2s; }
.use-case-card:hover { border-color: var(--c-gold); box-shadow: 0 10px 24px rgba(28,28,28,0.05); }
.use-case-icon { width: 50px; height: 50px; border-radius: 13px; background: var(--c-bg-section); display: flex; align-items: center; justify-content: center; color: var(--c-gold-dark); font-size: 24px; }
.use-case-card h3 { font-size: 22px; }
.use-case-card p { font-size: 15px; line-height: 1.6; color: var(--c-text-muted); }

/* 27. CONTACTS */
.contacts-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; }
.contacts-info-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-card); padding: 30px 32px; display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--c-bg-section); display: flex; align-items: center; justify-content: center; color: var(--c-gold-dark); font-size: 20px; flex-shrink: 0; }
.contact-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-dim); margin-bottom: 3px; }
.contact-value { font-family: var(--f-head); font-weight: 700; font-size: 18px; }
.contact-divider { height: 1px; background: #F0ECE2; }


/* 28. FORM */
.form-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-card); padding: 34px 36px; box-shadow: 0 24px 60px -36px rgba(28,28,28,.3); }
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-sub { font-size: 14px; color: #8a877d; margin-bottom: 26px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-dim); }
.form-input, .form-select, .form-textarea { font-family: var(--f-body); font-size: 15px; background: transparent; border: none; border-bottom: 1.5px solid #E6E2D6; border-radius: 0; outline: none; transition: border-color .15s; color: var(--c-dark); width: 100%; }
.form-input  { height: 46px; padding: 0; }
.form-select { height: 46px; padding: 0; }
.form-textarea { padding: 8px 0; min-height: 72px; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-bottom-color: var(--c-gold); }
.form-input.error, .form-select.error, .form-textarea.error { border-bottom-color: #e05555; }
.form-error { font-size: 12px; color: #e05555; display: none; }
.form-error.show { display: block; }
.form-btn { width: 100%; height: 54px; margin-top: 4px; border-radius: 12px; font-size: 16px; }
.form-consent { font-size: 12px; color: #a8a59c; text-align: center; margin-top: 8px; }
.form-success { display: none; text-align: center; padding: 32px 16px; }
.form-success.show { display: block; }
.form-success-icon { font-size: 48px; margin-bottom: 12px; }
.form-success h3 { font-size: 20px; color: var(--c-dark); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--c-text-muted); }

/* 29. MAP */
.map-wrap { position: relative; height: 360px; background: #ECEAE3 repeating-linear-gradient(135deg,#ECEAE3 0 15px,#E4E1D7 15px 30px); border: 1px solid #E6E2D6; border-radius: var(--r-card); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.map-placeholder-label { font-family: var(--f-mono); font-size: 13px; color: #9b978c; background: var(--c-white); padding: 9px 18px; border-radius: 999px; border: 1px solid #E6E3DB; position: relative; }



/* 31. NOTICE */
.notice { display: flex; align-items: center; gap: 14px; background: #FBF6EA; border: 1px solid #EBDFC0; border-radius: 14px; padding: 16px 22px; }
.notice-badge { font-family: var(--f-mono); font-size: 11px; color: #9b7d2c; background: #fff; border: 1px solid #EBDFC0; padding: 5px 9px; border-radius: 7px; white-space: nowrap; }
.notice-text { font-size: 14px; color: #8a722c; }

/* 32. FOOTER */
.site-footer { background: var(--c-dark-2); color: var(--c-white); }
.footer-main { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 40px; padding: 64px var(--pad-x) 40px; }
.footer-logo { display: flex; align-items: center; text-decoration: none; margin-bottom: 18px; }
.footer-about { font-size: 14px; line-height: 1.6; color: #928f86; max-width: 280px; }
.footer-col-label { font-family: var(--f-head); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 13px; }
.footer-link { color: #c8c5bd; font-size: 14.5px; text-decoration: none; transition: color .15s; }
.footer-link:hover { color: var(--c-white); }
.footer-contacts { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; color: #c8c5bd; }
.footer-contact-link { color: #c8c5bd; text-decoration: none; transition: color .15s; }
.footer-contact-link:hover { color: var(--c-white); }


.footer-bottom { border-top: 1px solid #262626; }
.footer-bottom-inner { padding: 22px var(--pad-x); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #6f6c64; }
.footer-copy-mono { font-family: var(--f-body); }

/* 33. REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* 34. RESPONSIVE */
/* ---- SVG ICONS ---- */
.icon-svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.adv-icon svg,
.contact-icon svg,
.task-icon svg,
.use-case-icon svg {
  width: 22px;
  height: 22px;
}
/* ---- ARROW ANIMATION ---- */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  transition: transform .25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-arrow svg {
  width: 1.1em;
  height: 1.1em;
  stroke-width: 2.5;
}
.btn:hover .btn-arrow,
.mobile-submenu-link:hover .btn-arrow,
.mobile-link:hover .btn-arrow {
  transform: translateX(4px);
}

.nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-left: 4px;
  transition: transform 0.22s ease;
}
.nav-link--dropdown[aria-expanded="true"] .nav-caret {
  transform: rotate(180deg);
}
.nav-caret svg {
  width: 10px;
  height: 10px;
  stroke-width: 3;
}
@media (max-width: 1024px) {
  h1          { font-size: 46px; }
  h2          { font-size: 33px; }
  .hero h1    { font-size: 46px; }
  .hero--inner h1 { font-size: 42px; }
  .directions-grid   { grid-template-columns: repeat(2,1fr); }
  .components-grid   { grid-template-columns: repeat(2,1fr); }
  .advantages-grid   { grid-template-columns: repeat(3,1fr); }
  .tasks-grid        { grid-template-columns: repeat(3,1fr); }
  .preview-grid      { grid-template-columns: 1fr; }
  .preview-photo--main { aspect-ratio: 16/7; }
  .preview-photo-col { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .product-card-inner { grid-template-columns: 1fr; }
  .contacts-grid     { grid-template-columns: 1fr; }
  .footer-main       { grid-template-columns: repeat(2,1fr); }
  .grid-adv-content  { grid-template-columns: 1fr; gap: 6px; }
  .solar-intro       { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav   { display: none; }
  .header-cta { display: none; }
  .burger     { display: flex; }
  .intro-2col { grid-template-columns: 1fr; }
  .adv-cards  { grid-template-columns: 1fr; }
  .cta-block  { padding: 40px 32px; }
  .cta-content h2 { font-size: 28px; }
  
  /* Specs Table Stacking */
  .specs-head { display: none; }
  .specs-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 20px; align-items: flex-start; }
  .specs-n { display: none; }
  .specs-row .specs-param { font-size: 13.5px; color: var(--c-text-dim); }
  .specs-value { font-size: 14px; align-self: flex-start; margin-top: 2px; padding: 4px 10px; }
}


@media (max-width: 640px) {
  :root { --pad-x: 20px; --sec-y: 64px; }
  h1, .hero h1        { font-size: 32px; }
  h2, .hero--inner h1 { font-size: 24px; }
  .hero-inner  { padding: 60px var(--pad-x); }
  .hero-sub    { font-size: 16px; }
  .hero-btns   { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .directions-grid, .components-grid, .advantages-grid,
  .tasks-grid, .projects-grid, .use-cases-grid { grid-template-columns: 1fr; }
  .adv-cell { min-height: auto; border-right: none !important; border-bottom: 1px solid var(--c-border-light); }
  .adv-cell:last-child { border-bottom: none; }
  .adv-card { flex-direction: column; gap: 12px; }
  .footer-main { grid-template-columns: 1fr; }
  .cta-block { padding: 32px 24px; flex-direction: column; }
  .cta-block .btn { width: 100%; }
  .product-card { padding: 28px 24px; }
  .form-card { padding: 24px 20px; }

  .preview-photo-col { grid-template-columns: 1fr; grid-template-rows: auto; }
  .grid-adv-item { grid-template-columns: 1fr; }
  .grid-adv-content { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .section-header--flex { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════
   SUBPAGE PRODUCT SVG ANIMATIONS & UTILITIES
   ═══════════════════════════════════════════════ */

/* Coolant Flow Animation (Cyan liquid piping) */
.coolant-flow {
  stroke-dasharray: 6 12;
  animation: coolantFlowAnim 1.6s linear infinite;
}
.coolant-flow-rev {
  stroke-dasharray: 6 12;
  animation: coolantFlowAnimRev 1.6s linear infinite;
}

@keyframes coolantFlowAnim {
  from { stroke-dashoffset: 18; }
  to   { stroke-dashoffset: 0; }
}

@keyframes coolantFlowAnimRev {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: 18; }
}

/* BESS Battery Cell Glow Pulse */
.bess-cell-pulse {
  animation: cellPulseAnim 2.2s ease-in-out infinite alternate;
}

@keyframes cellPulseAnim {
  0%, 100% {
    opacity: 0.95;
    fill: #10B981;
    filter: drop-shadow(0 0 1px rgba(16, 185, 129, 0.4));
  }
  50% {
    opacity: 0.55;
    fill: #059669;
    filter: none;
  }
}

/* BESS Control LED Glow */
.bess-led-active {
  animation: ledGlowAnim 1.2s ease-in-out infinite alternate;
}

@keyframes ledGlowAnim {
  0% {
    opacity: 0.65;
    filter: drop-shadow(0 0 1px #10B981);
  }
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 6px #10B981);
  }
}

/* General Led Glow fallback */
.led-glow {
  animation: ledGlowAnim 1.4s ease-in-out infinite alternate;
}

/* Container fan rotation */
.fan-blades {
  transform-origin: 0px 0px;
  animation: fanRotationAnim 2.5s linear infinite;
}

@keyframes fanRotationAnim {
  from { transform: translate(75px, 125px) rotate(0deg); }
  to   { transform: translate(75px, 125px) rotate(360deg); }
}

/* Wave motion inside digital displays */
.container-wave {
  stroke-dasharray: 60;
  stroke-dashoffset: 0;
  animation: waveAnim 2.5s linear infinite;
}

/* Energy Flows on Subpages */
.container-energy-flow {
  animation: coolantFlowAnim 1.1s linear infinite;
}

.container-energy-flow-rev {
  animation: coolantFlowAnimRev 1.1s linear infinite;
}

.solar-energy-flow {
  animation: coolantFlowAnim 1.2s linear infinite;
}

.solar-energy-flow-rev {
  animation: coolantFlowAnimRev 1.2s linear infinite;
}

/* Sun Pulsing Glow */
.sun-pulse {
  animation: sunGlowPulseAnim 3s ease-in-out infinite alternate;
}

@keyframes sunGlowPulseAnim {
  0% {
    r: 32px;
    opacity: 0.55;
  }
  100% {
    r: 45px;
    opacity: 0.9;
  }
}

/* Solar rays flow */
.solar-ray {
  animation: solarRayFlowAnim 1.8s linear infinite;
}

@keyframes solarRayFlowAnim {
  from { stroke-dashoffset: 15; }
  to   { stroke-dashoffset: 0; }
}

/* 35. PAGE PRELOADER */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #161616;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.5s;
  opacity: 1;
  visibility: visible;
}
.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.loader-logo {
  height: 52px;
  width: auto;
  animation: loaderPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(216, 181, 104, 0.15));
}
.loader-thematic {
  width: 160px;
  height: 64px;
  margin-top: 8px;
}
.loader-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.loader-sun {
  animation: loaderSunRotate 8s linear infinite;
  transform-origin: 0px 0px;
}
.loader-flow {
  stroke-dasharray: 6 12;
  animation: loaderFlowAnim 1.2s linear infinite;
}
.battery-cell {
  opacity: 0;
}
.cell-1 { animation: cellPulse1 1.8s infinite; }
.cell-2 { animation: cellPulse2 1.8s infinite; }
.cell-3 { animation: cellPulse3 1.8s infinite; }

body {
  overflow-x: hidden;
}
body.locked {
  overflow: hidden;
}

@keyframes loaderPulse {
  0%, 100% {
    transform: scale(0.97);
    opacity: 0.85;
    filter: drop-shadow(0 0 10px rgba(216, 181, 104, 0.08));
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
    filter: drop-shadow(0 0 25px rgba(216, 181, 104, 0.35));
  }
}
@keyframes loaderSunRotate {
  from { transform: translate(30px, 40px) rotate(0deg); }
  to   { transform: translate(30px, 40px) rotate(360deg); }
}
@keyframes loaderFlowAnim {
  from { stroke-dashoffset: 18; }
  to   { stroke-dashoffset: 0; }
}
@keyframes cellPulse1 {
  0%, 20% { opacity: 0; }
  25%, 100% { opacity: 1; }
}
@keyframes cellPulse2 {
  0%, 50% { opacity: 0; }
  55%, 100% { opacity: 1; }
}
@keyframes cellPulse3 {
  0%, 80% { opacity: 0; }
  85%, 100% { opacity: 1; }
}

/* 36. FAQ SECTION */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 991px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.faq-info {
  position: sticky;
  top: 120px;
}

@media (max-width: 991px) {
  .faq-info {
    position: static;
  }
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.faq-item:hover {
  border-color: var(--c-gold);
  box-shadow: 0 10px 30px -15px rgba(216, 181, 104, 0.2);
}

.faq-item.active {
  border-color: var(--c-gold);
  box-shadow: 0 15px 40px -20px rgba(216, 181, 104, 0.25);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  text-align: left;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-dark);
  transition: color 0.2s ease;
  background: none;
  border: none;
}

.faq-trigger:hover {
  color: var(--c-gold-dark);
}

.faq-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-bg-light);
  color: var(--c-gold-dark);
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.faq-item.active .faq-icon-wrapper {
  background: var(--c-gold);
  color: var(--c-dark);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-content {
  opacity: 1;
}

.faq-answer {
  padding: 0 28px 28px 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text-muted);
}

/* 37. CONTACTS PARTNERS & CLIENTS */
/* Unified contacts info card styling */
.contacts-info-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(28, 28, 28, 0.02);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.contacts-info-card:hover {
  border-color: var(--c-gold);
  box-shadow: 0 16px 40px rgba(28, 28, 28, 0.06);
  transform: translateY(-2px);
}

.contacts-info-card .card-logo-wrap {
  height: 42px;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.contacts-info-card .card-logo-img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.contacts-info-card .card-subtitle {
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--c-text-muted);
  font-weight: 500;
  margin-top: -12px;
  margin-bottom: 4px;
}

.contacts-info-card .contact-card-label {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--c-gold-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contacts-info-card .contact-card-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.contacts-info-card .contact-card-item:last-child {
  margin-bottom: 0;
}

.contacts-info-card .contact-card-item .label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-dim);
}

.contacts-info-card .contact-card-item .val {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--c-dark);
  text-decoration: none;
  transition: color 0.15s ease;
  line-height: 1.4;
}

.contacts-info-card .contact-card-item a.val:hover {
  color: var(--c-gold-dark);
}

.partner-intro {
  margin-bottom: 28px;
}

.partner-intro--center {
  text-align: center;
  margin-bottom: 32px;
}

.partner-headline {
  font-size: 26px;
  font-family: var(--f-head);
  font-weight: 800;
  color: var(--c-dark);
  line-height: 1.25;
  margin-bottom: 6px;
}

.partner-link-url {
  font-size: 15px;
  color: var(--c-gold-dark);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s ease;
  word-break: break-all;
}

.partner-link-url:hover {
  color: var(--c-gold-hover);
}

.clients-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.client-gallery-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease, border-color 0.3s ease;
}

.client-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -12px rgba(28,28,28,0.08);
  border-color: var(--c-gold);
}

.client-img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--c-bg-section);
}

.client-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.client-gallery-card:hover .client-gallery-img {
  transform: scale(1.04);
}

.client-gallery-body {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  text-align: center;
  min-height: 68px;
}

.client-gallery-body h3 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-dark);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 991px) {
  .contacts-info-card {
    padding: 30px;
  }
  .clients-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .clients-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Partners Grid Layout */
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.partner-column {
  display: flex;
  flex-direction: column;
}

.partner-column .contacts-info-card {
  flex-grow: 1;
}

@media (max-width: 991px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
