/* ============================================================
   ENEKTRI — Redesign system
   Brand colors sampled from the logo:
   deep navy (leaf top), teal/cyan (ENEKTRI wordmark),
   lighter aqua (leaf gradient). GoodWe-inspired: light,
   airy, big imagery, calm blues, generous whitespace.
   ============================================================ */

:root {
  /* Brand */
  --navy:        #143b6b;   /* deep blue from leaf */
  --navy-deep:   #0e2c52;
  --navy-700:    #1c4f8a;
  --teal:        #0e96ae;   /* primary — ENEKTRI wordmark */
  --teal-bright: #16b1c9;
  --teal-700:    #0a7e93;
  --aqua:        #45bcc8;   /* light leaf accent */
  --aqua-soft:   #d7eef2;

  /* Ink + neutrals (cool-toned) */
  --ink:      #102333;
  --ink-soft: #2c4150;
  --muted:    #5d6f7c;
  --muted-2:  #8597a3;
  --line:     #e3eaee;
  --line-2:   #eef3f5;

  /* Surfaces */
  --bg:       #ffffff;
  --bg-soft:  #f4f8fa;   /* cool light gray */
  --bg-cool:  #eef4f7;
  --bg-navy:  #0f2c4f;

  /* Effects */
  --radius:   14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(16,35,51,.06), 0 2px 8px rgba(16,35,51,.05);
  --shadow:    0 6px 24px rgba(16,35,51,.08), 0 2px 6px rgba(16,35,51,.04);
  --shadow-lg: 0 24px 60px rgba(15,44,79,.16), 0 6px 18px rgba(15,44,79,.08);
  --shadow-teal: 0 14px 30px rgba(14,150,174,.28);

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22,.61,.36,1);

  --ff: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }

body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -.02em; margin: 0; font-weight: 800; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal); border-radius: 2px; }

.section { padding: clamp(64px, 8vw, 116px) 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 50px); color: var(--ink); margin-top: 16px;
  text-wrap: balance;
}
.section-head p { margin-top: 18px; color: var(--muted); font-size: clamp(16px,1.4vw,19px); text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15.5px; letter-spacing: -.01em;
  padding: 14px 26px; border-radius: 100px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-teal); }
.btn-primary:hover { background: var(--teal-700); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(14,150,174,.36); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-700); background: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 17px 34px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-deep); color: #cfe0ec;
  font-size: 13.5px; font-weight: 600;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 18px; }
.topbar a { color: #cfe0ec; transition: color .2s; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 22px; align-items: center; }
.topbar .tb-right { display: flex; gap: 16px; align-items: center; }
.topbar .tb-tag { color: var(--aqua); }
.topbar svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 6px 28px rgba(16,35,51,.09); border-color: var(--line); background: rgba(255,255,255,.94); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 16px; flex-wrap: nowrap; }
.brand img { height: 50px; width: auto; }
.brand { flex: none; }
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-links a {
  position: relative; padding: 10px 13px; font-weight: 700; font-size: 15px;
  color: var(--ink-soft); border-radius: 8px; transition: color .2s, background .2s;
  letter-spacing: .01em; white-space: nowrap;
}
.nav-links a:hover { color: var(--teal-700); background: var(--bg-soft); }
.nav-links a.active { color: var(--teal-700); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2.5px;
  background: var(--teal); border-radius: 3px;
}
/* Dropdown menus (GoodWe-style) */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-trigger { display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px; font-weight: 700; font-size: 15px; color: var(--ink-soft); background: none; border: none; cursor: pointer; border-radius: 8px; font-family: inherit; letter-spacing: .01em; white-space: nowrap; transition: color .2s, background .2s; }
.nav-trigger svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.nav-item:hover .nav-trigger, .nav-trigger:hover { color: var(--teal-700); background: var(--bg-soft); }
.nav-item:hover .nav-trigger svg { transform: rotate(180deg); }
.nav-dropdown { position: absolute; top: calc(100% + 7px); left: 0; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 44px rgba(16,35,51,.16); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; z-index: 70; }
.nav-dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.nav-dropdown a small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; margin-top: 2px; letter-spacing: 0; }
.nav-dropdown a:hover { background: var(--aqua-soft); color: var(--teal-700); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; color: var(--navy); font-size: 15px; white-space: nowrap; }
.nav-phone svg { width: 17px; height: 17px; color: var(--teal); }
/* keep the menu on one line on narrower desktops by dropping the phone first */
@media (max-width: 1180px){ .nav-phone { display: none; } .nav-links a, .nav-trigger { padding: 10px 10px; font-size: 14px; } }
.hamburger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; align-items: center; justify-content: center; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); }
.hamburger span::before { top: -6px; } .hamburger span::after { top: 6px; }

/* Mobile menu */
.mobile-menu { display: none; }


/* ---------- Sub nav (anchors) ---------- */
.subnav {
  position: sticky; top: 68px; z-index: 50;   /* flush under the scrolled mega-header (68px) */
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(16,35,51,.05);
}
.subnav .wrap { display: flex; align-items: center; gap: 6px; min-height: 56px; overflow-x: auto; }
.subnav a {
  font-size: 14px; font-weight: 700; color: var(--muted);
  padding: 8px 16px; border-radius: 100px; white-space: nowrap; transition: .2s;
}
.subnav a:hover { color: var(--teal-700); background: var(--bg-soft); }
.subnav .sn-spacer { margin-left: auto; }
.subnav .sn-cta { color: var(--teal-700); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 540px at 88% -10%, rgba(69,188,200,.16), transparent 60%),
    radial-gradient(900px 500px at -5% 110%, rgba(20,59,107,.10), transparent 55%),
    linear-gradient(180deg, #f6fafb 0%, #ffffff 80%);
  border-bottom: 1px solid var(--line-2);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 6vw, 92px);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 11px;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  font-size: 13px; font-weight: 700; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(14,150,174,.16); }
.hero h1 {
  font-size: clamp(34px, 5.3vw, 62px); color: var(--ink); margin-top: 22px;
  letter-spacing: -.03em; text-wrap: balance;
}
.hero h1 .accent { color: var(--teal); }
.hero-lead { margin-top: 22px; font-size: clamp(16.5px, 1.5vw, 19.5px); color: var(--muted); max-width: 560px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; margin-top: 38px; max-width: 540px; }
.hero-point { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 15px; color: var(--ink-soft); }
.hero-point .chk { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--aqua-soft); color: var(--teal-700); display: grid; place-items: center; }
.hero-point .chk svg { width: 12px; height: 12px; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-stage {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #ffffff, #eaf3f6);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 26px; overflow: hidden;
}
.hero-stage::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(420px 320px at 78% 12%, rgba(22,177,201,.10), transparent 70%);
  pointer-events: none;
}
.hero-slides { position: relative; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.hero-slide.active { opacity: 1; }
.hero-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line); padding: 0; transition: .25s; }
.hero-dots button.active { background: var(--teal); width: 26px; border-radius: 6px; }
.hero-cap {
  position: absolute; left: 26px; bottom: 26px; z-index: 3;
  background: rgba(15,44,79,.78); color: #fff; backdrop-filter: blur(6px);
  padding: 9px 16px; border-radius: 100px; font-size: 13.5px; font-weight: 700;
}
.hero-float {
  position: absolute; right: -14px; top: 36px; z-index: 4;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 15px 18px; border: 1px solid var(--line); min-width: 150px;
}
.hero-float .lbl { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.hero-float .val { font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin-top: 2px; white-space: nowrap; }
.hero-float .val span { color: var(--teal); }

/* ---------- Placeholder imagery ---------- */
.ph {
  position: relative; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, #e7eff3 0 11px, #f1f6f8 11px 22px);
  color: var(--muted-2); display: grid; place-items: center; overflow: hidden;
}
.ph::after {
  content: attr(data-label); position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12.5px; font-weight: 600;
  color: #6f8694; background: rgba(255,255,255,.78); padding: 7px 13px; border-radius: 100px;
  border: 1px solid #d6e2e8; letter-spacing: .02em; white-space: nowrap; text-align: center;
}
.ph.ph-navy { background: repeating-linear-gradient(135deg, #16335a 0 11px, #1b3d68 11px 22px); }
.ph.ph-navy::after { color: #bcd2e4; background: rgba(15,30,54,.55); border-color: rgba(255,255,255,.18); }

/* ---------- Stat band ---------- */
.statband { background: var(--bg-navy); color: #fff; position: relative; overflow: hidden; }
.statband::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 85% 120%, rgba(22,177,201,.22), transparent 65%);
}
.statband .wrap { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; padding: 46px 0; }
.stat { text-align: left; }
.stat .num { font-size: clamp(30px,3.4vw,46px); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.stat .num span { color: var(--aqua); }
.stat .lbl { margin-top: 6px; color: #9fb8cc; font-size: 14.5px; font-weight: 600; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); padding-left: 28px; }

/* ---------- Trust / feature strip ---------- */
.features { background: var(--bg-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.bms .feature-grid { margin-bottom: clamp(48px, 5.5vw, 72px); }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe6eb; }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--aqua-soft); color: var(--teal-700); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ico svg { width: 23px; height: 23px; }
.feature h3 { font-size: 16.5px; color: var(--ink); }
.feature p { margin-top: 7px; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   MODELS + PRICING (tabs)
   ============================================================ */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; background: var(--bg-soft); padding: 7px; border-radius: 100px; width: fit-content; border: 1px solid var(--line); }
.tab {
  border: none; background: transparent; color: var(--muted); font-weight: 700; font-size: 15px;
  padding: 12px 24px; border-radius: 100px; transition: .25s var(--ease); white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.tab .cnt { color: var(--teal); font-weight: 800; margin-left: 5px; }

.tab-note { margin: 26px 0 8px; color: var(--muted); max-width: 760px; font-size: 15.5px; }
.tab-note strong { color: var(--ink); }
@media (max-width: 640px) {
  .tabs { width: 100%; flex-direction: column; align-items: stretch; border-radius: 16px; gap: 6px; padding: 8px; }
  .tab { width: 100%; text-align: center; border-radius: 10px; padding: 14px 18px; }
}

.panel { display: none; }
.panel.active { display: block; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }

.pcard {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cfe6eb; }
.pcard-media { position: relative; aspect-ratio: 4/3; background: var(--bg-cool); }
.pcard-media .ph { height: 100%; }
.pcard-flags { position: absolute; left: 14px; top: 14px; display: flex; gap: 7px; flex-wrap: wrap; z-index: 2; }
.flag { font-size: 11.5px; font-weight: 800; letter-spacing: .03em; padding: 5px 11px; border-radius: 100px; text-transform: uppercase; }
.flag-teal { background: var(--teal); color: #fff; }
.flag-navy { background: var(--navy); color: #fff; }
.flag-amber { background: #fff4dc; color: #9a6b06; border: 1px solid #f0dca6; }
.flag-soft { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.pcard-sku { position: absolute; right: 14px; top: 14px; z-index: 2; font-family: ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.9); padding: 4px 9px; border-radius: 7px; border: 1px solid var(--line); }

.pcard-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard-kind { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); }
.pcard-title { font-size: 22px; color: var(--ink); margin-top: 5px; }
.pcard-title b { font-weight: 800; }

.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 18px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec { background: #fff; padding: 11px 13px; }
.spec .k { font-size: 11.5px; color: var(--muted-2); font-weight: 600; }
.spec .v { font-size: 15px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; margin-top: 1px; }

.pcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ptag { font-size: 12px; font-weight: 600; color: var(--ink-soft); background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 10px; border-radius: 7px; }

.pcard-foot { margin-top: auto; padding-top: 20px; }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-main { font-size: 14px; color: var(--muted); }
.price-main b { display: block; font-size: 25px; color: var(--navy); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.price-main .eur { color: var(--teal-700); font-weight: 700; font-size: 14px; }
.price-vat { font-size: 12.5px; color: var(--muted-2); margin-top: 4px; }
.price-soon { font-size: 15px; font-weight: 800; color: var(--navy); }
.price-soon.muted { color: var(--muted); }
.pcard-actions { display: flex; gap: 10px; margin-top: 18px; }
.pcard-actions .btn { flex: 1; padding: 12px 18px; font-size: 14.5px; }

.dev-ribbon { position: absolute; inset: 0; background: rgba(255,255,255,.0); }
.pcard.dev .pcard-media::after { content: "В разработка"; position: absolute; right: 14px; bottom: 14px; background: #fff4dc; color: #9a6b06; border: 1px solid #f0dca6; font-size: 11.5px; font-weight: 800; padding: 5px 11px; border-radius: 100px; }

/* ============================================================
   BMS feature blocks
   ============================================================ */
.bms { background: var(--bg-soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.split + .split { margin-top: 40px; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16/11; background: var(--bg-cool); }
.split-media .ph { height: 100%; }
.split-body h3 { font-size: clamp(24px, 2.6vw, 32px); color: var(--ink); }
.split-body p { margin-top: 16px; color: var(--muted); font-size: 16.5px; text-wrap: pretty; }
.split-list { margin-top: 22px; display: grid; gap: 12px; }
.split-list li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); font-weight: 600; }
.split-list .chk { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--aqua-soft); color: var(--teal-700); display: grid; place-items: center; margin-top: 1px; }
.split-list .chk svg { width: 14px; height: 14px; }
.split-body ul { padding: 0; margin: 0; }

/* ---------- Compatibility ---------- */
.compat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.compat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 12px;
  text-align: center; transition: .3s var(--ease);
}
.compat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe6eb; }
.compat .logo { height: 44px; display: grid; place-items: center; margin-bottom: 9px; }
.compat .logo img { max-height: 42px; max-width: 116px; width: auto; object-fit: contain; }
.compat .name { font-weight: 800; font-size: 14px; color: var(--ink); }
.compat .proto { font-size: 12px; color: var(--muted); margin-top: 2px; }
.compat .ph { aspect-ratio: 3/1; border-radius: 8px; }

/* ---------- Deye CTA block ---------- */
.deye {
  margin-top: 44px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; box-shadow: var(--shadow-lg);
}
.deye-media { position: relative; min-height: 300px; }
.deye-media .ph { height: 100%; }
.deye-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.deye-body .eyebrow { color: var(--aqua); }
.deye-body .eyebrow::before { background: var(--aqua); }
.deye-body h3 { font-size: clamp(24px, 2.8vw, 34px); margin-top: 14px; color: #fff; }
.deye-body p { margin-top: 16px; color: #bcd2e4; font-size: 16px; }
.deye-body p b { color: #fff; }
.deye-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.deye-pills span { font-size: 13px; font-weight: 700; padding: 6px 13px; border-radius: 100px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.deye-body .btn { margin-top: 26px; align-self: flex-start; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--bg-navy); color: #fff; position: relative; overflow: hidden; }
.process::before { content: ""; position: absolute; inset: 0; background: radial-gradient(820px 420px at 12% -10%, rgba(22,177,201,.20), transparent 60%); }
.process .wrap { position: relative; }
.process .section-head h2 { color: #fff; }
.process .section-head p { color: #a8c2d6; }
.process .eyebrow { color: var(--aqua); } .process .eyebrow::before { background: var(--aqua); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step-num {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 22px; font-weight: 800; color: var(--navy-deep);
  background: linear-gradient(135deg, var(--aqua), var(--teal-bright)); margin-bottom: 18px;
}
.step h3 { font-size: 19px; color: #fff; }
.step p { margin-top: 9px; color: #a8c2d6; font-size: 15px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 39px; left: 66px; right: -11px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 7px, transparent 7px 14px); }

/* ============================================================
   PROJECTS
   ============================================================ */
.proj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.proj {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: .3s var(--ease);
}
.proj:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #cfe6eb; }
.proj-media { aspect-ratio: 16/10; position: relative; background: var(--bg-cool); }
.proj-media .ph { height: 100%; }
.proj-meta { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.proj-meta span { background: rgba(15,44,79,.82); backdrop-filter: blur(6px); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 13px; border-radius: 100px; }
.proj-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.proj-body h3 { font-size: 20px; color: var(--ink); line-height: 1.25; }
.proj-specs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.proj-specs span { font-size: 12.5px; font-weight: 700; color: var(--teal-700); background: var(--aqua-soft); padding: 5px 11px; border-radius: 7px; }
.proj-body p { margin-top: 16px; color: var(--muted); font-size: 15px; }
.proj-body .btn { margin-top: 22px; align-self: flex-start; }

/* ============================================================
   CTA BAND (lead strip)
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(115deg, #0a1f3a 0%, #0f2c4f 58%, #10405d 100%); color: #fff; }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--teal) 60%, transparent), transparent); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; padding-top: clamp(44px, 5.5vw, 68px); padding-bottom: clamp(44px, 5.5vw, 68px); }
.cta-band-copy { flex: 1 1 520px; min-width: 0; }
.cta-band-actions { flex: none; }
.cta-band h2 { font-family: "Archivo", var(--ff); font-weight: 800; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.cta-band p { margin-top: 12px; color: #bcd2e4; font-size: clamp(15px, 1.3vw, 17.5px); max-width: 56ch; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* Featured product card */
.pcard.featured { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shadow); }
.pcard.featured:hover { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shadow-lg); }

/* ============================================================
   DOCUMENTS
   ============================================================ */
.docs { background: var(--bg-soft); }
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc {
  display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; transition: .3s var(--ease);
}
.doc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe6eb; }
.doc .dico { flex: none; width: 50px; height: 50px; border-radius: 12px; background: var(--aqua-soft); color: var(--teal-700); display: grid; place-items: center; }
.doc .dico svg { width: 24px; height: 24px; }
.doc-info { flex: 1; }
.doc-info h4 { font-size: 15.5px; color: var(--ink); }
.doc-info span { font-size: 13px; color: var(--muted); }
.doc .dl { font-weight: 800; font-size: 14px; color: var(--teal-700); display: inline-flex; align-items: center; gap: 6px; }
.doc .dl.soon { color: var(--muted-2); }
.doc .dl svg { width: 16px; height: 16px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 920px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 14px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item.open { border-color: #cfe6eb; box-shadow: var(--shadow); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-weight: 800; font-size: clamp(16px,1.5vw,18.5px); color: var(--ink); }
.faq-ico { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; transition: .3s var(--ease); }
.faq-ico svg { width: 16px; height: 16px; color: var(--teal-700); }
.faq-item.open .faq-ico { background: var(--teal); transform: rotate(180deg); }
.faq-item.open .faq-ico svg { color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 26px 26px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.faq-a-inner strong { color: var(--ink); }
.faq-a-inner ul { margin: 12px 0 0; padding-left: 20px; }
.faq-a-inner li { margin-bottom: 7px; }
.faq-a-inner p + p { margin-top: 12px; }
.faq-formula { background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: 10px; padding: 14px 18px; margin: 14px 0; font-size: 15px; }

/* ============================================================
   QUOTE + CONTACT
   ============================================================ */
.quote { background: linear-gradient(180deg, #ffffff, var(--bg-soft)); }
.quote-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14,150,174,.12); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 6px 0 18px; }
.consent input { margin-top: 3px; accent-color: var(--teal); width: 16px; height: 16px; }
.consent a { color: var(--teal-700); font-weight: 700; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--aqua-soft); color: var(--teal-700); display: grid; place-items: center; margin: 0 auto 16px; }
.form-success .ok svg { width: 30px; height: 30px; }

.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.contact-box { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; border-radius: var(--radius-lg); padding: clamp(26px,3vw,38px); box-shadow: var(--shadow-lg); flex: 1; }
.contact-box h3 { font-size: 23px; color: #fff; }
.contact-box p { margin-top: 10px; color: #bcd2e4; font-size: 15px; }
.contact-list { margin-top: 24px; display: grid; gap: 16px; }
.contact-list a { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 700; font-size: 16px; }
.contact-list .cico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
.contact-list .cico svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: #9fb8cc; font-weight: 600; font-size: 12.5px; }
.contact-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.contact-actions .btn { flex: 1; }

/* ============================================================
   FINAL CTA + FOOTER
   ============================================================ */
.final-cta { background: var(--bg-navy); color: #fff; position: relative; overflow: hidden; text-align: center; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 50% -20%, rgba(22,177,201,.24), transparent 60%); }
.final-cta .wrap { position: relative; padding: clamp(56px,7vw,92px) 0; }
.final-cta h2 { font-size: clamp(28px,4vw,46px); max-width: 880px; margin-inline: auto; text-wrap: balance; }
.final-cta p { margin: 18px auto 0; max-width: 680px; color: #bcd2e4; font-size: 17px; }
.final-cta .actions { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

.footer { background: #0a1f3a; color: #9fb8cc; padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 38px; filter: brightness(0) invert(1); opacity: .96; }
.footer-brand p { margin-top: 18px; font-size: 14.5px; max-width: 320px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: .25s; }
.footer-social a:hover { background: var(--teal); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14.5px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 13.5px; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   HERO v2 — light, split, scroll-driven product gallery
   (from hero-standalone.html, adapted to the page tokens)
   ============================================================ */
.hero2 { position: relative; width: 100%; background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.hero2.scrollable { height: 230vh; }
.hero2-sticky { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 104px 0 70px; }
.hero2-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(125% 105% at 72% 0%, #000 38%, transparent 82%);
  mask-image: radial-gradient(125% 105% at 72% 0%, #000 38%, transparent 82%);
}
.hero2-glow { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 1; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--teal) 55%, transparent), transparent); }
.hero2-inner { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.chip-accent { display: inline-flex; align-items: center; gap: 8px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12.5px; padding: 7px 13px; border-radius: 100px; background: var(--aqua-soft); color: var(--teal-700); font-weight: 500; }
.chip-accent .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 3px rgba(22,177,201,.22); }

.hero2 h1 { font-family: "Archivo", var(--ff); font-weight: 800; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.0; letter-spacing: -.035em; margin-top: 22px; color: var(--ink); text-wrap: balance; }
.hero2 h1 .grad { color: var(--teal); }
.hero2-lead { font-family: "IBM Plex Sans", var(--ff); margin-top: 22px; max-width: 56ch; font-size: clamp(16.5px, 1.4vw, 19.5px); color: var(--ink-soft); line-height: 1.55; }
.hero2-lead strong { color: var(--ink); font-weight: 600; }
.hero2-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero2-badges { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; max-width: 480px; }
.hero2-badges li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.hero2-badges svg { color: var(--teal-700); flex: none; }

.hero2-visual { position: relative; }
.hero2-card { position: relative; z-index: 2; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero2-cardtop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.hero2-tag { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11.5px; letter-spacing: .04em; padding: 5px 10px; border-radius: 6px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line-2); }

.hero2-gal { position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-cool); border: 1px solid var(--line); }
.hero2-frame { position: absolute; inset: 0; opacity: 0; transition: opacity .55s var(--ease); }
.hero2-frame.active { opacity: 1; }
.hero2-frame .ph { position: absolute; inset: 0; height: 100%; }
.hero2-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.hero2-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(14,42,71,.14); background: rgba(255,255,255,.85); color: #0b1f2a; font-size: 20px; line-height: 1; display: grid; place-items: center; padding: 0 0 3px; z-index: 3; backdrop-filter: blur(4px); transition: background .2s; }
.hero2-nav:hover { background: #fff; }
.hero2-nav.prev { left: 8px; } .hero2-nav.next { right: 8px; }
.hero2-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; z-index: 3; }
.hero2-dots button { width: 7px; height: 7px; border-radius: 50%; border: none; padding: 0; background: rgba(14,42,71,.25); transition: background .2s, transform .2s; }
.hero2-dots button.on { background: var(--teal); transform: scale(1.3); }
.hero2-bar-wrap, .hero2-bar { position: absolute; }
.hero2-bar { left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: rgba(14,42,71,.08); }
.hero2-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--aqua)); transition: width .12s linear; }
.hero2-spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.hero2-spec div { background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px 8px; text-align: center; }
.hero2-spec b { display: block; font-family: "Archivo", var(--ff); font-size: 21px; color: var(--ink); line-height: 1; font-weight: 700; }
.hero2-spec span { display: block; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; color: var(--muted-2); margin-top: 5px; }
.hero2-scrollhint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 8px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .15em; color: var(--muted); }
.hero2-scrollhint svg { color: var(--teal); animation: hintBob 1.8s var(--ease) infinite; }
@media (prefers-reduced-motion: reduce) { .hero2-scrollhint svg { animation: none; } }

@media (max-width: 880px) {
  .hero2.scrollable { height: auto; }
  .hero2-sticky { position: relative; min-height: 0; padding: 44px 0 60px; }
  .hero2-inner { grid-template-columns: 1fr; }
  .hero2-visual { max-width: 440px; order: -1; }
  .hero2-scrollhint { display: none; }
  .hero2-badges { max-width: none; }
}

/* ============================================================
   SCROLL-ANIMATION HERO (sticky split, frame sequence on right)
   ============================================================ */
.hero-scroll { position: relative; width: 100%; height: 280vh; background: var(--navy-deep); }
.hero-scroll-sticky {
  position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden;
  display: flex; align-items: center;
}
.hero-scroll-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 600px at 80% 8%, rgba(22,177,201,.18), transparent 60%),
    radial-gradient(700px 520px at -5% 100%, rgba(20,59,107,.5), transparent 60%),
    linear-gradient(135deg, #10325c 0%, var(--navy-deep) 45%, #0a1f3a 100%);
  background-color: var(--navy-deep);
}
.hero-scroll-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(circle at 78% 40%, #000, transparent 70%); opacity: .5;
}
.hero-scroll-grid {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw);
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(30px, 5vw, 70px); align-items: center;
  padding-top: 92px; padding-bottom: 40px;
}
.hero-scroll-copy .eyebrow { color: var(--aqua); }
.hero-scroll-copy .eyebrow::before { background: var(--aqua); }
.hero-scroll-copy h1 {
  color: #fff; font-size: clamp(34px, 4.6vw, 62px); margin-top: 20px; letter-spacing: -.03em;
  max-width: 14ch; text-wrap: balance;
}
.hero-scroll-copy h1 .accent { color: var(--aqua); }
.hero-scroll-lead { color: #cfe0ec; font-size: clamp(16px, 1.4vw, 19px); margin-top: 20px; max-width: 540px; text-wrap: pretty; }
.hero-scroll .hero-actions { margin-top: 30px; }
.hero-scroll .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff; }
.hero-scroll .btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero-scroll-stats { display: flex; gap: 34px; margin-top: 38px; flex-wrap: wrap; }
.hero-scroll-stats .v { font-size: clamp(18px, 1.7vw, 23px); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hero-scroll-stats .v span { color: var(--aqua); }
.hero-scroll-stats .k { font-size: 13px; font-weight: 600; color: #9fb8cc; margin-top: 2px; }

/* right stage with frame sequence */
.hero-scroll-stage {
  position: relative; width: 100%; aspect-ratio: 5/6; max-height: 76vh; margin-left: auto;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, #14335a, #0c2748 80%); background-color: #0e2c52;
}
.hsr-frames { position: absolute; inset: 0; }
.hsr-frame { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity .55s var(--ease), transform .9s var(--ease); }
.hsr-frame.active { opacity: 1; transform: scale(1); }
.hsr-frame .ph { height: 100%; }
.hsr-badge {
  position: absolute; left: 18px; top: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10,28,48,.66); backdrop-filter: blur(6px); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 8px 14px; border-radius: 100px; border: 1px solid rgba(255,255,255,.16);
}
.hsr-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px rgba(69,188,200,.25); }
.hsr-count {
  position: absolute; right: 18px; top: 18px; z-index: 3; color: #fff; font-weight: 800; font-size: 17px;
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
  background: rgba(10,28,48,.5); padding: 6px 12px; border-radius: 100px; border: 1px solid rgba(255,255,255,.14);
}
.hsr-count i { color: #9fb8cc; font-style: normal; font-weight: 600; font-size: 13px; }
.hsr-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 4px; background: rgba(255,255,255,.12); }
.hsr-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--aqua)); transition: width .15s linear; }
.hero-scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 4;
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  color: #9fb8cc; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hero-scroll-hint svg { width: 20px; height: 20px; color: var(--aqua); animation: hintBob 1.8s var(--ease) infinite; }
@keyframes hintBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-hint svg { animation: none; } }

@media (max-width: 920px) {
  .hero-scroll { height: auto; }
  .hero-scroll-sticky { position: relative; height: auto; min-height: 0; padding: 40px 0 64px; }
  .hero-scroll-grid { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-scroll-stage { order: -1; max-height: none; aspect-ratio: 4/3; max-width: 520px; }
  .hero-scroll-hint { display: none; }
}

/* ============================================================
   CINEMATIC HERO (GoodWe-style full-bleed banner slider)
   ============================================================ */
.hero-cine {
  position: relative; width: 100%; overflow: hidden;
  height: clamp(640px, 88vh, 860px); background: var(--navy-deep);
}
.hero-cine-slides { position: absolute; inset: 0; }
.hcs { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); transform: scale(1.06); }
.hcs.active { opacity: 1; transform: scale(1); transition: opacity 1s var(--ease), transform 7s linear; }
.hcs .ph { height: 100%; }
.hero-cine-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(100deg, rgba(10,28,48,.92) 0%, rgba(12,38,66,.74) 42%, rgba(12,38,66,.30) 72%, rgba(12,38,66,.12) 100%),
    linear-gradient(0deg, rgba(8,22,40,.65) 0%, transparent 38%);
}
.hero-cine-inner {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 30px; padding-bottom: 188px; max-width: var(--maxw);
}
.hero-cine .eyebrow { color: var(--aqua); }
.hero-cine .eyebrow::before { background: var(--aqua); }
.hero-cine h1 {
  color: #fff; font-size: clamp(36px, 5.6vw, 70px); margin-top: 20px;
  letter-spacing: -.03em; max-width: 16ch; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero-cine h1 .accent { color: var(--aqua); }
.hero-cine-lead { color: #cfe0ec; font-size: clamp(16.5px, 1.5vw, 20px); margin-top: 22px; max-width: 600px; text-wrap: pretty; }
.hero-cine .hero-actions { margin-top: 34px; }
.hero-cine .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(4px); }
.hero-cine .btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* spec ticker bar at bottom of hero */
.hero-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  background: linear-gradient(0deg, rgba(8,22,40,.85), rgba(8,22,40,.4));
  border-top: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px);
}
.hero-bar-inner { display: flex; align-items: stretch; max-width: var(--maxw); margin-inline: auto; }
.hero-bar-item { flex: 1; padding: 20px var(--gutter); display: flex; flex-direction: column; gap: 2px; }
.hero-bar-item + .hero-bar-item { border-left: 1px solid rgba(255,255,255,.12); }
.hero-bar-item .v { font-size: clamp(18px,1.8vw,24px); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hero-bar-item .v span { color: var(--aqua); }
.hero-bar-item .k { font-size: 12.5px; font-weight: 600; color: #9fb8cc; }

/* hero controls — grouped cluster, lifted clear of the spec bar (right side) */
.hero-cine-controls {
  position: absolute; z-index: 5; right: var(--gutter); bottom: 172px;
  display: flex; align-items: center; gap: 16px;
}
.hero-cine-dots { display: flex; align-items: center; gap: 9px; }
.hero-cine-dots button { width: 30px; height: 4px; border-radius: 4px; border: none; padding: 0; background: rgba(255,255,255,.32); transition: .3s; cursor: pointer; }
.hero-cine-dots button.active { background: var(--aqua); width: 40px; }
.hero-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: .25s; backdrop-filter: blur(4px); cursor: pointer; }
.hero-arrow:hover { background: #fff; color: var(--navy); }
.hero-arrow svg { width: 18px; height: 18px; }

/* ============================================================
   SIGNATURE EXPANDING PANELS (GoodWe solutions accordion)
   ============================================================ */
.panels-sec { background: radial-gradient(1100px 520px at 80% -12%, rgba(22,177,201,.16), transparent 60%), #0a1f3a; }
.panels-sec .section-head h2 { color: #fff; }
.panels-sec .section-head p { color: #a8c2d6; }
.panels-sec .eyebrow { color: var(--aqua); } .panels-sec .eyebrow::before { background: var(--aqua); }
.panels { display: flex; gap: 14px; height: clamp(440px, 56vh, 560px); }
.panel-card {
  position: relative; flex: 1; min-width: 0; border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; transition: flex-grow .6s var(--ease); flex-grow: 1;
}
.panel-card.active { flex-grow: 3.4; }
.panel-card .ph { height: 100%; transition: transform .8s var(--ease); }
.panel-card.active .ph { transform: scale(1.04); }
.panel-ov {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(0deg, rgba(8,22,40,.92) 0%, rgba(8,22,40,.45) 45%, rgba(8,22,40,.15) 100%);
  transition: background .5s;
}
.panel-card.active .panel-ov { background: linear-gradient(0deg, rgba(8,22,40,.94) 0%, rgba(10,28,48,.55) 55%, rgba(10,28,48,.2) 100%); }
.panel-content { position: absolute; inset: 0; z-index: 3; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; }
.panel-ico { width: 50px; height: 50px; border-radius: 13px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; margin-bottom: auto; backdrop-filter: blur(4px); }
.panel-ico svg { width: 25px; height: 25px; color: #fff; }
.panel-tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); }
.panel-content h3 { color: #fff; font-size: clamp(20px, 2vw, 27px); margin-top: 8px; letter-spacing: -.02em; white-space: nowrap; }
.panel-reveal { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .5s; }
.panel-card.active .panel-reveal { max-height: 220px; opacity: 1; margin-top: 14px; }
.panel-reveal p { color: #cfe0ec; font-size: 15.5px; max-width: 420px; text-wrap: pretty; }
.panel-more { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; font-weight: 800; font-size: 14.5px; color: #fff; }
.panel-more .arr { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; transition: .25s; }
.panel-more:hover .arr { background: var(--aqua); transform: translateX(3px); }
.panel-more svg { width: 15px; height: 15px; }

/* About band with animated counters */
.about-band { position: relative; overflow: hidden; background: #0a1f3a; color: #fff; }
.about-band .about-bg { position: absolute; inset: 0; z-index: 0; }
.about-band .about-bg .ph { height: 100%; }
.about-band .about-ov { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(8,22,40,.95) 0%, rgba(10,28,48,.82) 55%, rgba(10,28,48,.6) 100%); }
.about-band .wrap { position: relative; z-index: 2; padding: clamp(64px,8vw,108px) var(--gutter); }
.about-head { max-width: 720px; }
.about-band .eyebrow { color: var(--aqua); } .about-band .eyebrow::before { background: var(--aqua); }
.about-band h2 { font-size: clamp(28px,3.6vw,44px); color: #fff; margin-top: 16px; text-wrap: balance; }
.about-band .about-lead { margin-top: 18px; color: #bcd2e4; font-size: clamp(16px,1.5vw,19px); max-width: 640px; text-wrap: pretty; }
.about-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; margin-top: 54px; }
.about-stat .num { font-size: clamp(32px,3.8vw,50px); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.about-stat .num span { color: var(--aqua); }
.about-stat .lbl { margin-top: 8px; color: #9fb8cc; font-size: 14.5px; font-weight: 600; }
.about-stat { padding-left: 22px; border-left: 2px solid rgba(255,255,255,.14); }
@media (max-width: 920px) { .about-stats { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 480px) { .about-stats { grid-template-columns: 1fr 1fr; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .compat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 920px) {
  html { scroll-padding-top: 80px; }
  .nav-links, .nav-phone, .subnav { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev .split-media { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .quote-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .deye { grid-template-columns: 1fr; }
  .deye-media { min-height: 220px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .statband .wrap { grid-template-columns: 1fr 1fr; gap: 26px; }
  .stat + .stat { border-left: none; padding-left: 0; }
  .site-header.menu-open + .mobile-menu { display: flex; }
  .mobile-menu {
    position: fixed; inset: 88px 0 0; background: #fff; z-index: 55;
    padding: 14px var(--gutter) calc(26px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line); overflow-y: auto;
    flex-direction: column; gap: 2px;
  }
  .mobile-menu a:not(.btn) {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 16px; font-weight: 700; font-size: 16.5px; color: var(--ink);
    border-radius: 14px; letter-spacing: .01em;
    transition: background .15s ease, color .15s ease;
  }
  .mobile-menu a:not(.btn)::after {
    content: ""; flex: none; width: 9px; height: 9px; margin-right: 3px;
    border-right: 2.5px solid #bcccd6; border-top: 2.5px solid #bcccd6;
    transform: rotate(45deg); transition: border-color .15s ease;
  }
  .mobile-menu a:not(.btn):hover,
  .mobile-menu a:not(.btn):active,
  .mobile-menu a:not(.btn).active { background: var(--aqua-soft); color: var(--teal-700); }
  .mobile-menu a:not(.btn):hover::after,
  .mobile-menu a:not(.btn):active::after,
  .mobile-menu a:not(.btn).active::after { border-color: var(--teal-700); }
  .mobile-menu .mm-cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
  .mobile-menu .mm-cta .btn { width: 100%; }
  .mobile-menu .mm-cta .btn-primary { box-shadow: 0 10px 24px rgba(14,150,174,.22); }

  /* Mobile accordion (Products / ENEKTRI Cloud) */
  .mm-group { display: flex; flex-direction: column; }
  .mm-acc {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 15px 16px; font-family: inherit; font-weight: 700;
    font-size: 16.5px; color: var(--ink); background: none; border: none;
    border-radius: 14px; letter-spacing: .01em; cursor: pointer; text-align: left;
    transition: background .15s ease, color .15s ease;
  }
  .mm-acc svg { width: 16px; height: 16px; margin-right: 3px; transition: transform .25s var(--ease); }
  .mm-group.open > .mm-acc { background: var(--aqua-soft); color: var(--teal-700); }
  .mm-group.open > .mm-acc svg { transform: rotate(180deg); }
  .mm-sub { overflow: hidden; max-height: 0; transition: max-height .28s var(--ease); }
  .mm-group.open > .mm-sub { max-height: 220px; }
  .mobile-menu .mm-sub a:not(.btn) {
    padding: 12px 16px 12px 30px; font-size: 15px; font-weight: 600; color: var(--ink-soft);
  }
  .mobile-menu .mm-sub a:not(.btn)::after { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .compat-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-points { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .topbar .tb-left .hide-sm { display: none; }
  .hero-float { display: none; }
}

/* Cinematic hero + panels responsive */
@media (max-width: 920px) {
  .hero-cine { height: auto; min-height: 0; }
  .hero-cine-inner { padding-top: 56px; padding-bottom: 52px; }
  .hero-cine-controls { display: none; }
  .hero-bar { position: relative; z-index: 4; background: var(--navy-deep); backdrop-filter: none; border-top: 1px solid rgba(255,255,255,.14); }
  .hero-bar-inner { flex-wrap: wrap; }
  .hero-bar-item { flex: 1 1 50%; }
  .hero-bar-item:nth-child(2) { border-left: none; }
  .hero-bar-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .panels { flex-direction: column; height: auto; gap: 12px; }
  .panel-card { flex: none; height: 230px; }
  .panel-card.active { flex: none; }
  .panel-card .panel-reveal { max-height: 0; }
  .panel-card.active .panel-reveal { max-height: 220px; }
  .panel-content h3 { white-space: normal; }
}
@media (max-width: 560px) {
  .hero-bar-item { flex: 1 1 100%; border-left: none !important; }
  .hero-bar-item:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,.12); }
}
