:root {
  --ink: #f7f4ec;
  --paper: #141414;
  --paper-2: #0e0e0e;
  --dark: #080808;
  --gold: #c8a14a;
  --gold-2: #f0d38a;
  --muted: #aaa59a;
  --line: #383226;
  --teal: #68c4b8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #090909;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.topbar {
  background: var(--gold);
  color: #080808;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  padding: 9px 14px;
  text-align: center;
  text-transform: uppercase;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid #2f2a22;
  background: rgba(9, 9, 9, .94);
  backdrop-filter: blur(12px);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 270px;
  height: 58px;
  font-weight: 900;
  letter-spacing: .04em;
  white-space: nowrap;
}
.brand-battery {
  width: 70px;
  height: 30px;
  flex: 0 0 auto;
  position: relative;
  display: inline-block;
  border: 2px solid var(--gold);
  border-radius: 4px;
  background: #080808;
  box-shadow: 0 0 18px #000, 0 0 18px rgba(200, 161, 74, .14);
}
.brand-battery::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f0d38a, #c8a14a 48%, #8c6924);
}
.brand-battery::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 9px;
  width: 6px;
  height: 10px;
  border-radius: 0 2px 2px 0;
  background: var(--gold);
}
.brand-text {
  color: var(--ink);
  font-size: 15px;
}
.brand-text b {
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
}
.nav-item { position: relative; }
.nav-item > a, .nav-links > a {
  color: #d8d1c4;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}
.nav-item > a::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #6f6759;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-2); }
.submenu {
  position: absolute;
  left: 50%;
  top: 100%;
  width: max-content;
  min-width: 174px;
  max-width: 220px;
  display: none;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 8, 8, .98);
  box-shadow: 0 22px 38px #000;
  transform: translateX(-50%);
}
.submenu a {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 4px;
  color: #d8d1c4;
  line-height: 1.15;
  white-space: nowrap;
}
.submenu a:hover, .submenu a.active { background: #15120c; }
.nav-item:hover .submenu,
.nav-item:focus-within .submenu { display: grid; }
.nav-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 900;
}
.nav-contact .btn {
  min-height: 42px;
  padding: 0 14px;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #111;
  color: var(--ink);
}
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid #70644b;
  border-radius: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}
.btn.primary {
  border-color: var(--gold);
  background: linear-gradient(135deg, #b98b2e, #e0bd68);
  color: #090909;
}
.btn.ghost { color: var(--gold-2); }
.btn.full { width: 100%; }
.hero {
  background: linear-gradient(135deg, #080808 0%, #15130e 100%);
  border-bottom: 1px solid #241f17;
  padding: 72px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .78fr);
  gap: 44px;
  align-items: center;
}
.kicker {
  color: var(--gold);
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
h1 {
  margin: 16px 0 22px;
  max-width: 850px;
  font-size: 64px;
  line-height: .98;
  letter-spacing: 0;
}
.lead {
  max-width: 740px;
  color: #c7c1b6;
  font-size: 18px;
}
.hero-actions, .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  color: #ded7c9;
  font-size: 12px;
  font-weight: 800;
}
.hero-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  border: 1px solid #4b3e27;
  border-radius: 8px;
  background: linear-gradient(145deg, #17130a, #0b0b0b);
  overflow: hidden;
  position: relative;
}
.hero-visual img {
  width: min(92%, 520px);
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 28px 24px #000);
}
.hero-visual.hero-photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  filter: none;
  opacity: .78;
}
.hero-visual .visual-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid #5b4926;
  border-radius: 4px;
  background: rgba(9, 9, 9, .9);
  color: #cfc7ba;
  font-size: 11px;
  font-weight: 800;
}
.hero-visual.ere-hero-visual {
  padding: 28px;
  background:
    radial-gradient(circle at 18% 12%, rgba(200, 161, 74, .14), transparent 34%),
    linear-gradient(145deg, #14110b, #080808);
}
.ere-hero-card,
.ere-process-panel {
  width: 100%;
  border: 1px solid #4b3e27;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(23, 19, 10, .92), rgba(8, 8, 8, .96));
  box-shadow: 0 24px 55px #000;
}
.ere-hero-card { padding: 28px; }
.ere-process-panel { padding: 30px; }
.ere-module-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 22px 0;
}
.ere-device,
.ere-certificate {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 10px;
  border: 1px solid #5a4928;
  border-radius: 8px;
  padding: 20px;
  background: #0b0b0b;
}
.ere-device-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 8px;
  color: var(--gold-2);
  font-size: 16px;
  font-weight: 900;
}
.ere-device strong,
.ere-certificate strong {
  color: var(--ink);
  font-size: 17px;
}
.ere-device span,
.ere-certificate span,
.ere-panel-note {
  color: var(--muted);
  font-size: 12px;
}
.ere-arrow {
  color: var(--gold);
  font-size: 30px;
  font-weight: 900;
}
.ere-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ere-flow span {
  border: 1px solid #3f3422;
  border-radius: 4px;
  padding: 10px;
  color: #d8d1c4;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}
.ere-process-panel h3 { margin: 0 0 8px; font-size: 24px; }
.ere-process-steps {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.ere-process-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  border-top: 1px solid #2b2419;
  padding-top: 12px;
}
.ere-process-step b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #090909;
  font-size: 12px;
}
.ere-process-step strong { display: block; color: var(--ink); }
.ere-process-step span { color: var(--muted); font-size: 12px; }
.cert-panel {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  border: 1px solid #4b3e27;
  border-radius: 8px;
  background: linear-gradient(145deg, #111, #080808);
  padding: 24px;
  box-shadow: 0 22px 60px #000;
}
.cert-logo-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.cert-logo-stack img {
  width: 100%;
  max-height: 170px;
  object-fit: contain;
  filter: contrast(1.08) brightness(1.06) drop-shadow(0 18px 26px #000);
}
.cert-logo-stack .sigenergy-cert { width: min(360px, 100%); mix-blend-mode: screen; }
.cert-panel h2 { margin-top: 0; }
.alphaess-cert-panel {
  background: radial-gradient(circle at 12% 20%, #2b2110 0, transparent 34%), linear-gradient(145deg, #111, #080808);
}
.alphaess-cert-panel .cert-logo-stack img {
  width: min(260px, 100%);
  max-height: 310px;
  border-radius: 8px;
  background: #f7f4ed;
  filter: drop-shadow(0 22px 34px #000);
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.cert-grid span {
  border: 1px solid #3f3422;
  border-radius: 4px;
  padding: 10px;
  color: #d8d1c4;
  font-size: 11px;
  font-weight: 900;
}
.brand-strip-section {
  padding: 54px 0;
  border-top: 1px solid #211d17;
  border-bottom: 1px solid #211d17;
  background: #0b0b0b;
}
.brand-strip-inner {
  display: grid;
  gap: 22px;
}
.brand-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-strip-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.brand-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #29251e;
  border-radius: 8px;
  background: linear-gradient(145deg, #101010, #080808);
  overflow: hidden;
}
.brand-logo {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 34px;
  color: #8f8b82;
  transition: background .18s ease, color .18s ease;
}
.brand-logo + .brand-logo {
  border-left: 1px solid #211d17;
}
.brand-logo:hover {
  background: #12100b;
  color: var(--gold-2);
}
.brand-logo-img {
  display: block;
  width: min(250px, 88%);
  max-height: 58px;
  object-fit: contain;
  opacity: .58;
  filter: brightness(0) invert(1);
  transition: opacity .18s ease, filter .18s ease;
}
.brand-logo:hover .brand-logo-img {
  opacity: .92;
  filter: brightness(0) saturate(100%) invert(77%) sepia(35%) saturate(654%) hue-rotate(359deg) brightness(94%) contrast(91%);
}
.sigenergy-logo-img { width: min(300px, 90%); max-height: 62px; }
.alphaess-logo-img { width: min(230px, 78%); max-height: 66px; }
.zaptec-wordmark {
  gap: 13px;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  filter: grayscale(1);
}
.zaptec-wordmark::before {
  content: "Z";
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 3px solid currentColor;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}
.inline-brand-logo {
  display: block;
  width: 170px;
  max-width: 48%;
  height: auto;
  margin: 0 0 18px;
  opacity: .9;
}
.reviews-shell {
  border: 1px solid #4b3e27;
  border-radius: 8px;
  background: linear-gradient(145deg, #111, #080808);
  padding: 24px;
  box-shadow: 0 22px 60px #000;
}
.reviews-shell .elfsight-app-0e42a640-ba80-4731-b735-833edaf40bc1 {
  min-height: 260px;
}
.reviews-fallback {
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0 0;
}
button.reviews-fallback {
  margin-top: 14px;
  color: var(--ink);
}
.reviews-shell.blocked .elfsight-app-0e42a640-ba80-4731-b735-833edaf40bc1 {
  display: none;
}
.reviews-shell.ready .reviews-fallback {
  display: none;
}
.cookie-consent[hidden],
.cookie-options[hidden] {
  display: none !important;
}
.cookie-consent {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.cookie-panel {
  width: min(760px, 100%);
  border: 1px solid #5a4928;
  border-radius: 8px;
  background: linear-gradient(145deg, #15120c, #080808);
  box-shadow: 0 24px 80px rgba(0,0,0,.82);
  padding: 20px;
  pointer-events: auto;
}
.cookie-panel strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 6px;
}
.cookie-panel p {
  color: #bdb7ac;
  font-size: 13px;
  margin: 0;
}
.cookie-panel a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.cookie-actions .btn {
  min-height: 42px;
}
.cookie-options {
  margin-top: 16px;
  border-top: 1px solid #2f2a22;
  padding-top: 14px;
}
.cookie-choice {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  color: #d8d1c4;
  font-size: 13px;
}
.cookie-choice input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: var(--gold);
}
.cookie-choice span {
  display: block;
  color: #8f8a80;
  font-size: 11px;
  margin-top: 2px;
}
.cookie-choice b {
  color: #d8d1c4;
  font-size: 13px;
}
.cookie-settings-link {
  margin-top: 14px;
}
.band { padding: 86px 0; }
.band.alt { background: var(--paper); }
.band.tight { padding: 56px 0; }
.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2, h2 {
  margin: 10px 0 14px;
  font-size: 44px;
  line-height: 1.06;
  letter-spacing: 0;
}
.section-head p, .muted { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card, .price-card, .form-panel, .media-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c0c0c;
}
.card { padding: 28px; }
.card b, .metric b, .eyebrow { color: var(--gold); }
.card h3, .price-card h3 { margin: 18px 0 8px; font-size: 20px; }
.card p, .price-card p, .small { color: var(--muted); font-size: 13px; }
.card .num, .price-card .num {
  color: var(--gold);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  gap: 58px;
  align-items: center;
}
.media-panel {
  overflow: hidden;
  background: #111;
}
.media-panel img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.media-panel.contain img { object-fit: contain; padding: 24px; background: #090909; }
.case-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 16px;
  align-items: stretch;
}
.case-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c0c0c;
}
.case-gallery .case-feature { min-height: 640px; }
.case-gallery .case-side {
  display: grid;
  gap: 16px;
}
.case-gallery .case-side figure { min-height: 312px; }
.case-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.case-gallery figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #5b4926;
  border-radius: 4px;
  background: rgba(5, 5, 5, .88);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}
.case-gallery figcaption span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.metric { padding: 22px; background: #0d0d0d; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong {
  display: block;
  color: var(--gold-2);
  font-size: 34px;
  line-height: 1;
}
.metric span { color: var(--muted); font-size: 11px; }
.checklist, .plain-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.checklist li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 900;
  margin-right: 9px;
}
.plain-list li { color: #c8c1b7; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price-card {
  padding: 26px;
  background: linear-gradient(145deg, #17130a, #0b0b0b);
}
.price {
  margin: 16px 0;
  padding: 14px 0;
  border-top: 1px solid #ffffff20;
  border-bottom: 1px solid #ffffff20;
}
.price strong {
  color: var(--gold-2);
  display: block;
  font-size: 30px;
}
.price small { color: var(--muted); }
.flatpower-visual {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0/56px 56px,
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0/56px 56px,
    radial-gradient(circle at 78% 16%, rgba(200,161,74,.18), transparent 28%),
    linear-gradient(145deg, #1b1812, #080808);
  box-shadow: inset 0 0 80px #000;
}
.flatpower-cable {
  position: absolute;
  left: 11%;
  right: 11%;
  top: 48%;
  height: 52px;
  transform: translateY(-50%);
  border: 1px solid #383226;
  border-radius: 5px;
  background: linear-gradient(180deg, #1d1d1b, #080808);
  box-shadow: 0 18px 35px rgba(0,0,0,.55);
}
.flatpower-cable::before,
.flatpower-cable::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 96px;
  height: 8px;
  transform: translateY(-50%);
  background: #161616;
  border: 1px solid #443820;
  border-radius: 999px;
}
.flatpower-cable::before { left: -88px; }
.flatpower-cable::after { right: -88px; }
.flatpower-cable span {
  position: absolute;
  inset: 11px 16px;
  display: grid;
  place-items: center;
  border: 1px solid #5f4d2d;
  border-radius: 3px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.flatpower-house,
.flatpower-car {
  position: absolute;
  top: calc(48% - 42px);
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid #5a4928;
  border-radius: 8px;
  background: #0b0b0b;
  color: #d8d1c4;
  font-size: 12px;
  font-weight: 900;
}
.flatpower-house { left: 4%; }
.flatpower-car { right: 4%; }
.flatpower-house::before {
  content: "";
  position: absolute;
  top: -16px;
  width: 54px;
  height: 28px;
  background: #15120c;
  border: 1px solid #5a4928;
  transform: rotate(45deg);
  z-index: -1;
}
.flatpower-car::before {
  content: "";
  position: absolute;
  bottom: -16px;
  width: 66px;
  height: 10px;
  border-radius: 999px;
  background: rgba(200,161,74,.35);
}
.flatpower-config {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #17130a, #0b0b0b);
  padding: 28px;
  box-shadow: 0 20px 55px #000;
}
.flatpower-config-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 18px;
}
.flatpower-config-head h3 {
  margin: 4px 0;
  font-size: 24px;
}
.flatpower-config-head strong {
  color: var(--gold-2);
  font-size: 46px;
  line-height: 1;
  white-space: nowrap;
}
.flatpower-quick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.choice-button {
  min-height: 46px;
  border: 1px solid #5a4928;
  border-radius: 4px;
  background: #090909;
  color: var(--gold-2);
  font-weight: 900;
  cursor: pointer;
}
.choice-button.active {
  background: linear-gradient(135deg, #b98b2e, #e0bd68);
  color: #090909;
  border-color: var(--gold);
}
.flatpower-config.is-invalid .flatpower-summary-grid div {
  border-color: #8f6d2c;
}
.flatpower-config-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.flatpower-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.flatpower-summary-grid div {
  border: 1px solid #342b1c;
  border-radius: 6px;
  padding: 14px;
  background: #090909;
}
.flatpower-summary-grid span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.flatpower-summary-grid b {
  display: block;
  color: var(--ink);
  margin-top: 6px;
  font-size: 18px;
}
.flatpower-source { margin-top: 16px; }
.cta {
  border-top: 1px solid #5a4928;
  border-bottom: 1px solid #5a4928;
  background: linear-gradient(135deg, #080808, #211a0c);
}
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta h2 { margin-top: 0; }
.form-panel { padding: 28px; background: #151515; box-shadow: 0 20px 55px #000; }
.form-panel h3 { margin: 0 0 8px; font-size: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label {
  display: block;
  margin-top: 12px;
  color: #d9d2c4;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
input, select, textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #0c0c0c;
  color: var(--ink);
}
input[type="file"] {
  padding: 10px;
  border-style: dashed;
  color: #aaa59a;
}
input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 8px 10px;
  border: 1px solid #6b572f;
  border-radius: 4px;
  background: #19160f;
  color: var(--gold-2);
  font-weight: 900;
  cursor: pointer;
}
textarea { min-height: 124px; resize: vertical; }
.file-note {
  display: block;
  margin-top: 7px;
  color: #8f8a80;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.success, .error {
  margin-top: 12px;
  display: none;
  font-size: 12px;
  font-weight: 900;
}
.success { color: var(--teal); }
.error { color: var(--gold-2); }
.success.show { display: block; }
.error.show { display: block; }
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}
.faq-list p { color: var(--muted); font-size: 13px; }
.link-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.link-cloud a {
  border: 1px solid #473e2a;
  border-radius: 4px;
  padding: 9px 12px;
  color: #d8d1c4;
  font-size: 12px;
  font-weight: 800;
}
.link-cloud a:hover { border-color: var(--gold); color: var(--gold-2); }
.calculator {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr);
  gap: 28px;
}
.result-panel {
  border: 1px solid #5a4928;
  border-radius: 8px;
  padding: 30px;
  background: linear-gradient(145deg, #17130a, #0b0b0b);
}
.result-number {
  color: var(--gold-2);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.gallery figure {
  margin: 0;
  height: 340px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  position: relative;
}
.gallery figure:not(:first-child) { height: 340px; align-self: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #5a4928;
  border-radius: 4px;
  background: rgba(5,5,5,.84);
  color: #f7f4ec;
  font-size: 11px;
  font-weight: 800;
}
.zaptec-offer-card .price strong { font-size: 44px; }
.zaptec-offer-card .price small { display: block; margin-top: 4px; }
.zaptec-offer-card .small { margin-top: 14px; }
.zaptec-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.zaptec-proof-item {
  border: 1px solid #4b3e27;
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(22,18,10,.96), rgba(8,8,8,.96));
  min-height: 132px;
}
.zaptec-proof-item strong {
  display: block;
  color: var(--gold-2);
  font-size: 22px;
  line-height: 1.05;
  margin-bottom: 8px;
}
.zaptec-proof-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}
.zaptec-mini-form {
  border: 1px solid #5a4928;
  border-radius: 8px;
  padding: 24px;
  background: #131313;
}
.zaptec-mini-form .actions { margin-top: 18px; }
.brand-photo {
  min-height: 540px;
  position: relative;
  border: 1px solid #4b3e27;
  border-radius: 8px;
  overflow: hidden;
  background: #0b0b0b;
  box-shadow: 0 24px 64px #000;
}
.brand-photo img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}
.brand-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.74), rgba(0,0,0,.16) 58%, rgba(0,0,0,.05));
  pointer-events: none;
}
.brand-photo-caption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 1;
  width: min(520px, calc(100% - 56px));
}
.brand-photo-caption h2 { margin-top: 8px; }
.brand-photo-caption p { color: #d7d1c6; }
.source-note {
  color: #827b70;
  font-size: 11px;
  margin-top: 18px;
}
.source-note a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(145deg, #15120c, #0b0b0b);
}
.legal-toc strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 12px;
}
.legal-toc a {
  display: block;
  padding: 8px 0;
  border-top: 1px solid #211d17;
  color: #aaa59a;
  font-size: 12px;
  font-weight: 800;
}
.legal-toc a:hover { color: var(--gold-2); }
.legal-doc {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f0f0f;
  box-shadow: 0 24px 58px rgba(0,0,0,.36);
  overflow: hidden;
}
.legal-intro,
.legal-section {
  padding: 30px;
  border-bottom: 1px solid #211d17;
}
.legal-section:last-child { border-bottom: 0; }
.legal-intro {
  background: radial-gradient(circle at 0 0, rgba(200,161,74,.16), transparent 34%), #111;
}
.legal-meta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 14px;
  padding: 0 10px;
  border: 1px solid #4b3e27;
  border-radius: 4px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal-doc h2 {
  margin: 0 0 12px;
  font-size: 28px;
}
.legal-doc h3 {
  margin: 20px 0 8px;
  color: var(--ink);
  font-size: 18px;
}
.legal-doc p,
.legal-doc li {
  color: #bdb7ac;
  font-size: 14px;
}
.legal-doc ul,
.legal-doc ol {
  margin: 12px 0 0;
  padding-left: 20px;
}
.legal-doc li + li { margin-top: 7px; }
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.legal-note {
  border: 1px solid #4b3e27;
  border-radius: 8px;
  padding: 18px;
  background: #15120c;
}
.legal-note b {
  display: block;
  color: var(--gold-2);
  margin-bottom: 6px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  color: #bdb7ac;
  font-size: 13px;
}
.legal-table th,
.legal-table td {
  border-bottom: 1px solid #211d17;
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  color: var(--gold-2);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal-contact {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.legal-contact a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.site-footer {
  padding: 58px 0 32px;
  border-top: 1px solid #241f17;
  background: #000;
  color: #9d988e;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(540px, 1.45fr) .72fr .72fr .72fr;
  gap: 28px;
}
.footer-grid h3 {
  color: var(--ink);
  margin: 0 0 14px;
  font-size: 14px;
}
.footer-grid a, .footer-grid p { color: #aaa59a; font-size: 12px; }
.footer-links { display: grid; gap: 8px; }
.footer-certifications {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-top: 18px;
  max-width: 100%;
}
.footer-certifications > * {
  flex: 0 0 70px;
}
.footer-mentions {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}
.footer-mentions span {
  color: var(--gold-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-mentions a {
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-badge {
  display: block;
  width: 70px;
  height: 62px;
  max-width: 70px;
  max-height: 62px;
  object-fit: contain;
  opacity: .92;
}
.footer-badge.alphaess-premium {
  border: 1px solid #332917;
  border-radius: 6px;
  background: #f7f4ec;
  padding: 4px;
  box-sizing: border-box;
}
.footer-badge.sigenergy-certified {
  padding: 5px 2px;
  box-sizing: border-box;
}
.footer-badge.vca-certified {
  border: 1px solid #332917;
  border-radius: 6px;
  background: #f7f4ec;
  padding: 4px;
  box-sizing: border-box;
}
.footer-cert-pill {
  display: grid;
  place-items: center;
  width: 70px;
  height: 62px;
  min-width: 0;
  min-height: 0;
  padding: 7px 8px;
  border: 1px solid #3f3422;
  border-radius: 6px;
  background: linear-gradient(145deg, #14110c, #050505);
  box-shadow: inset 0 0 0 1px #110d06;
  color: var(--gold-2);
  box-sizing: border-box;
}
.footer-cert-pill span {
  color: var(--gold-2);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-cert-pill strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
}
.footer-phone {
  width: fit-content;
  display: inline-flex;
  margin-top: 8px;
  padding: 7px 9px;
  border: 1px solid #3f3422;
  border-radius: 4px;
  color: var(--gold-2) !important;
  font-weight: 900;
}
.office-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}
.office-card {
  border: 1px solid #3f3422;
  border-radius: 8px;
  background: linear-gradient(145deg, #12100c, #080808);
  padding: 18px 20px;
}
.office-card span {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.office-card strong {
  display: block;
  color: var(--ink);
  margin-top: 8px;
  font-size: 16px;
}
.office-card small {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.office-card a {
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid #5a4928;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 900;
  margin-top: 10px;
}
.office-card a:hover {
  border-color: var(--gold);
  background: #15120c;
}
.copyright {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #1f1b16;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #7f7a70;
  font-size: 11px;
}
.mobile-bar { display: none; }
@media (max-width: 1040px) {
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0b0b0b;
    max-height: calc(100vh - 98px);
    overflow-y: auto;
    z-index: 40;
    box-shadow: 0 24px 70px rgba(0,0,0,.72);
  }
  .nav-links.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-item > a, .nav-links > a { width: 100%; min-height: auto; padding: 12px; border-bottom: 1px solid #211d17; }
  .nav-item > a::after { margin-left: auto; }
  .submenu {
    position: static;
    display: grid;
    width: 100%;
    min-width: 0;
    max-width: none;
    transform: none;
    padding: 0 0 8px 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .submenu a { width: 100%; padding: 8px 12px; border-bottom: 0; color: #aaa59a; white-space: normal; }
  .menu-toggle { display: inline-grid; place-items: center; margin-left: auto; }
  .nav-contact { margin-left: 0; }
  .hero-grid, .split, .calculator, .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .wrap { width: min(100% - 28px, 600px); }
  .topbar { font-size: 10px; }
  .brand { min-width: auto; height: 54px; }
  .brand-battery { width: 52px; height: 24px; }
  .brand-battery::before { inset: 5px; }
  .brand-battery::after { top: 7px; }
  .brand-text { font-size: 12px; }
  .nav { min-height: 72px; }
  .nav-links { top: 72px; }
  .nav-contact a:first-child { display: none; }
  .hero { padding: 52px 0; }
  h1 { font-size: 42px; }
  .section-head h2, h2 { font-size: 32px; }
  .hero-visual { min-height: 330px; }
  .hero-visual img { max-height: 280px; }
  .hero-visual .visual-caption { display: grid; }
  .band { padding: 62px 0; }
  .grid-2, .grid-3, .grid-4, .price-grid, .metrics, .field-row, .footer-grid, .gallery, .office-strip, .cert-panel, .cert-grid, .brand-logos, .case-gallery, .legal-grid, .zaptec-proof-strip, .flatpower-config-grid, .flatpower-quick, .flatpower-summary-grid { grid-template-columns: 1fr; }
  .flatpower-config-head { display: block; }
  .flatpower-config-head strong {
    display: block;
    margin-top: 10px;
    font-size: 36px;
  }
  .flatpower-visual { min-height: 340px; }
  .flatpower-cable {
    left: 7%;
    right: 7%;
    height: 42px;
  }
  .flatpower-house,
  .flatpower-car {
    width: 66px;
    height: 66px;
    font-size: 10px;
  }
  .footer-certifications { gap: 6px; }
  .footer-certifications > * { flex-basis: 52px; }
  .footer-badge, .footer-cert-pill {
    width: 52px;
    height: 48px;
    max-width: 52px;
    max-height: 48px;
  }
  .footer-cert-pill span { font-size: 7px; letter-spacing: .08em; }
  .footer-cert-pill strong { font-size: 13px; }
  .legal-intro, .legal-section { padding: 22px; }
  .legal-doc h2 { font-size: 24px; }
  .legal-table { display: block; overflow-x: auto; }
  .brand-strip-head { display: block; }
  .brand-strip-head p { margin-top: 8px; }
  .brand-logo { min-height: 92px; }
  .brand-logo + .brand-logo { border-left: 0; border-top: 1px solid #211d17; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .media-panel img { height: 320px; }
  .case-gallery .case-feature { min-height: 520px; }
  .case-gallery .case-side figure { min-height: 420px; }
  .cta-box { display: block; }
  .cta-box .actions { margin-top: 18px; }
  .gallery figure, .gallery figure:not(:first-child) { height: 300px; align-self: auto; }
  .brand-photo, .brand-photo img { min-height: 390px; }
  .brand-photo-caption { left: 18px; bottom: 18px; width: calc(100% - 36px); }
  .hero-visual.ere-hero-visual { min-height: auto; padding: 16px; }
  .ere-hero-card, .ere-process-panel { padding: 20px; }
  .ere-module-row { grid-template-columns: 1fr; }
  .ere-arrow { transform: rotate(90deg); justify-self: center; }
  .ere-flow { grid-template-columns: 1fr; }
  .ere-process-step { grid-template-columns: 36px 1fr; }
  .cookie-consent { bottom: 66px; left: 14px; right: 14px; }
  .cookie-panel { padding: 16px; }
  .cookie-actions .btn { width: 100%; }
  .copyright { display: block; padding-bottom: 66px; }
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    border-top: 1px solid #5a4928;
    background: #090909;
    box-shadow: 0 -5px 20px #000;
  }
  .mobile-bar a {
    padding: 14px;
    text-align: center;
    font-size: 11px;
    font-weight: 900;
  }
  .mobile-bar a:last-child {
    background: linear-gradient(135deg, #b98b2e, #e0bd68);
    color: #090909;
  }
}
