:root {
  --blue: #1da1f2;
  --blue-soft: #78cdfa;
  --black: #050608;
  --graphite: #11151a;
  --graphite-2: #1b2027;
  --text: #0b1020;
  --muted: #68717e;
  --line: rgba(12, 18, 28, 0.12);
  --surface: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.12);
  --brand-font: "Reenergy Helvetica Neue Extended", "Arial Nova", Arial, sans-serif;
  --brand-font-thin: "Reenergy Helvetica Neue Extended Thin", var(--brand-font);
  --brand-font-bold: "Reenergy Helvetica Neue Extended Bold", var(--brand-font);
}

@font-face {
  font-family: "Reenergy Helvetica Neue Extended Thin";
  src: url("assets/fonts/ALOYES-HelveticaNeueLTStd-ThEx.otf") format("opentype");
  font-display: swap;
  font-weight: 300;
}

@font-face {
  font-family: "Reenergy Helvetica Neue Extended";
  src: url("assets/fonts/TLADKG-HelveticaNeueLTStd-Ex.otf") format("opentype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Reenergy Helvetica Neue Extended Bold";
  src: url("assets/fonts/BFZZSQ-HelveticaNeueLTStd-BdEx.otf") format("opentype");
  font-display: swap;
  font-weight: 700;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--brand-font);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

p {
  line-height: 1.65;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled,
.site-header.product-header {
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(4, 7, 12, 0.08);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(130px, 13vw, 172px);
  min-width: 118px;
}

.brand img {
  width: 100%;
  height: auto;
}

.brand [data-logo-dark] {
  display: none;
}

.site-header.is-scrolled .brand [data-logo-light],
.site-header.product-header .brand [data-logo-light] {
  display: none;
}

.site-header.is-scrolled .brand [data-logo-dark],
.site-header.product-header .brand [data-logo-dark] {
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 0.78rem;
  color: inherit;
}

.desktop-nav a {
  opacity: 0.84;
  transition: opacity 180ms ease, color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--blue);
  opacity: 1;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--brand-font-bold);
  font-size: 0.78rem;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-cta {
  border-color: currentColor;
  color: inherit;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #00121d;
  background: var(--blue);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
}

.button.light {
  color: var(--black);
  background: var(--white);
}

.button.dark {
  color: var(--white);
  background: var(--black);
}

.button.ghost {
  color: var(--text);
  border-color: var(--line);
  background: transparent;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  inset: 76px 14px auto;
  z-index: 60;
  display: none;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 16px;
  border-radius: 14px;
  color: var(--text);
  font-family: var(--brand-font-bold);
  font-size: 0.9rem;
}

.mobile-nav a:hover {
  background: var(--surface);
}

.cinematic,
.page-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero-video,
.page-hero img,
.page-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel-focus {
  object-position: 50% 48%;
  transform: scale(1.04);
}

.hero-profil-focus {
  object-position: 50% 58%;
  transform: scale(1.01);
}

.hero-industrial-video {
  object-position: 50% 50%;
  transform: scale(1.02);
}

.hero-overlay,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.25) 52%, rgba(0, 0, 0, 0.5)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 42%);
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  width: min(980px, calc(100% - 40px));
  min-height: 100svh;
  padding: 130px 0 86px;
  margin: 0 auto;
}

.hero-content {
  margin-left: clamp(20px, 7vw, 110px);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-family: var(--brand-font-bold);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--brand-font-bold);
  letter-spacing: 0;
}

h1 {
  max-width: 930px;
  font-size: clamp(3.2rem, 8.4vw, 8.7rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(2.2rem, 5.2vw, 5.2rem);
  line-height: 0.98;
}

h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  line-height: 1.15;
}

.hero-copy,
.page-hero-content > p {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  width: 22px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--white);
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0%,
  100% { transform: translate(-50%, 0); opacity: 0.35; }
  50% { transform: translate(-50%, 13px); opacity: 1; }
}

.section,
.impact-strip,
.bess-section,
.final-cta,
.site-footer,
.product-section {
  padding: clamp(76px, 9vw, 150px) clamp(20px, 5vw, 72px);
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin-bottom: clamp(36px, 6vw, 72px);
}

.section-head p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.impact-stat {
  min-height: 260px;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(28px, 4vw, 56px);
  background: var(--white);
}

.impact-stat strong {
  color: var(--black);
  font-family: var(--brand-font-bold);
  font-size: clamp(2.3rem, 4.8vw, 5.2rem);
  line-height: 1;
}

.impact-stat p {
  max-width: 310px;
  color: var(--blue);
}

.solutions {
  background: linear-gradient(180deg, #fff, #f7f9fc);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.solution-card,
.editorial-card,
.why-grid article,
.bess-points article,
.spec-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 60px rgba(12, 18, 28, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.solution-card:hover,
.editorial-card:hover,
.why-grid article:hover,
.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29, 161, 242, 0.35);
  box-shadow: 0 26px 80px rgba(12, 18, 28, 0.12);
}

.solution-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface);
}

.solution-card img.solar-solution-image {
  object-fit: cover;
  object-position: center;
}

.solution-card img.energy-backup-image {
  object-position: 50% 44%;
}

.solution-card div,
.editorial-card div {
  padding: 24px;
}

.solution-card span,
.bess-points span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--blue);
  font-family: var(--brand-font-bold);
  font-size: 0.76rem;
}

.solution-card p,
.editorial-card span,
.why-grid p,
.bess-points p,
.spec-card p {
  margin-top: 12px;
  color: var(--muted);
}

.bess-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(260px, 0.38fr);
  gap: clamp(34px, 5vw, 78px);
  min-height: 760px;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.calculator-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(29, 161, 242, 0.13), transparent 32%),
    linear-gradient(135deg, #050608, #11151a 58%, #050608);
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.8fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
  color: var(--white);
}

.calculator-copy {
  max-width: 780px;
}

.calculator-copy p:not(.eyebrow) {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
}

.solar-calculator {
  position: relative;
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.calculator-logo {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 64px;
  max-width: 64px;
  max-height: 22px;
  object-fit: contain;
  opacity: 0.78;
  pointer-events: none;
}

.calculator-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-right: 78px;
}

.calculator-control label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.calculator-control strong {
  color: var(--blue);
  font-family: var(--brand-font-bold);
  font-size: 1.05rem;
}

.invoice-scanner {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.invoice-scan-button {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  border: 1px solid rgba(29, 161, 242, 0.45);
  border-radius: 50%;
  background: rgba(29, 161, 242, 0.16);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.invoice-scan-button:hover,
.invoice-scan-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(29, 161, 242, 0.9);
  background: rgba(29, 161, 242, 0.28);
}

.invoice-scan-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.invoice-scanner-copy strong {
  display: block;
  color: var(--white);
  font-family: var(--brand-font-bold);
  font-size: 0.9rem;
  line-height: 1.35;
}

.invoice-scanner-copy p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  line-height: 1.5;
}

.invoice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.invoice-link-button,
.invoice-secondary-action {
  min-height: 34px;
  color: var(--blue-soft);
  border: 1px solid rgba(29, 161, 242, 0.3);
  border-radius: 999px;
  background: rgba(29, 161, 242, 0.08);
  font: inherit;
  font-size: 0.72rem;
  cursor: pointer;
}

.invoice-link-button {
  padding: 7px 12px;
}

.invoice-secondary-action {
  width: 100%;
  margin-top: 10px;
  padding: 9px 12px;
}

.invoice-status {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.82rem;
}

.invoice-status[data-type="loading"]::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: invoice-spin 900ms linear infinite;
  vertical-align: -1px;
}

.invoice-status[data-type="error"] {
  color: #ffd9d9;
  border-color: rgba(255, 117, 117, 0.32);
  background: rgba(255, 73, 73, 0.1);
}

.invoice-status[data-type="success"] {
  color: #d9fff0;
  border-color: rgba(87, 219, 168, 0.32);
  background: rgba(87, 219, 168, 0.1);
}

.invoice-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(29, 161, 242, 0.26);
  border-radius: 16px;
  background: rgba(4, 11, 18, 0.52);
}

.invoice-card h3 {
  color: var(--white);
  font-family: var(--brand-font-bold);
  font-size: 1rem;
}

.invoice-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.invoice-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.invoice-card dt,
.invoice-card dd {
  margin: 0;
}

.invoice-card dt {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
}

.invoice-card dd {
  color: var(--white);
  font-family: var(--brand-font-bold);
  font-size: 0.82rem;
  text-align: right;
}

.invoice-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: #fff3cf;
  font-size: 0.74rem;
  line-height: 1.5;
}

.invoice-card > p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
}

.invoice-manual-field {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
}

.invoice-manual-field input {
  width: 100%;
  min-height: 42px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  padding: 10px 12px;
}

.invoice-confirm-button {
  width: 100%;
}

.invoice-city-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.invoice-city-options button {
  min-height: 34px;
  padding: 8px 12px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 0.72rem;
  cursor: pointer;
}

.invoice-city-options button.is-active,
.invoice-city-options button:hover,
.invoice-city-options button:focus-visible {
  border-color: rgba(29, 161, 242, 0.7);
  background: rgba(29, 161, 242, 0.22);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@keyframes invoice-spin {
  to {
    transform: rotate(360deg);
  }
}

.solar-calculator input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.calculator-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.calculator-results div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.calculator-results span {
  display: block;
  color: var(--blue);
  font-family: var(--brand-font-bold);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
}

.calculator-results p,
.calculator-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.bess-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.35)),
    url("assets/bess-industrial.png") center / contain no-repeat;
  background-color: #071019;
  transform: none;
}

.bess-copy,
.bess-points {
  position: relative;
  z-index: 2;
}

.bess-copy {
  max-width: 840px;
}

.bess-copy p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
}

.bess-points {
  display: grid;
  gap: 14px;
  justify-self: end;
  width: min(100%, 360px);
}

.bess-points article {
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.bess-points p {
  color: rgba(255, 255, 255, 0.68);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 20px;
}

.editorial-card {
  min-height: 520px;
  display: grid;
  align-content: end;
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--black);
}

.editorial-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.editorial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 62%);
}

.editorial-card:hover img {
  transform: scale(1.04);
}

.editorial-card p {
  margin-bottom: 12px;
  color: var(--blue-soft);
  font-family: var(--brand-font-bold);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.editorial-card span {
  color: rgba(255, 255, 255, 0.72);
}

.carport-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--surface);
}

.carport-visual img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.carport-copy {
  max-width: 660px;
}

.carport-copy p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
}

.carport-copy .button {
  margin-top: 30px;
}

.why {
  background: var(--white);
}

.why-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.why-grid article,
.spec-card,
.contact-card {
  padding: 28px;
}

.partners {
  background: #fbfcfe;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.partner-grid img {
  width: 100%;
  height: 96px;
  padding: 24px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.clients {
  overflow: hidden;
  background:
    linear-gradient(180deg, #fbfcfe 0%, var(--white) 72%);
}

.client-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.client-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: client-slide 34s linear infinite;
}

.client-marquee:hover .client-track {
  animation-play-state: paused;
}

.client-logo {
  display: grid;
  place-items: center;
  flex: 0 0 clamp(180px, 17vw, 250px);
  height: 118px;
  padding: 22px;
  border: 1px solid rgba(5, 6, 8, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 45px rgba(10, 18, 32, 0.07);
}

.client-logo img {
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
}

.client-logo-wide img {
  width: 100%;
  max-height: 92px;
}

@keyframes client-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.final-cta {
  min-height: 560px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.48)),
    url("assets/carport-sunset.jpeg") center / cover;
}

.final-cta div {
  max-width: 900px;
}

.final-cta .button {
  margin-top: 28px;
}

.site-footer {
  display: grid;
  grid-template-columns: 150px minmax(190px, 1fr) minmax(230px, auto) minmax(260px, 360px);
  gap: 28px;
  align-items: center;
  color: var(--text);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-brand {
  width: 150px;
}

.site-footer p {
  font-family: var(--brand-font-bold);
}

.site-footer address,
.footer-links {
  color: var(--muted);
  font-style: normal;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-location {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(12, 20, 36, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(10, 18, 32, 0.09);
}

.footer-location img {
  width: 100%;
  height: clamp(150px, 12vw, 210px);
  object-fit: cover;
  object-position: 50% 52%;
  transform: scale(1.01);
}

.page-hero {
  min-height: 78svh;
}

.page-hero-content {
  min-height: 78svh;
  width: min(1100px, calc(100% - 40px));
}

.bess-page-hero {
  background: #071019;
}

.bess-page-hero img {
  object-fit: contain;
}

.product-section {
  background: var(--white);
}

.product-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.split-section img,
.split-section video {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.split-section p {
  color: var(--muted);
}

.spec-list {
  display: grid;
  gap: 14px;
}

.spec-list p {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list strong {
  font-family: var(--brand-font-bold);
  color: var(--text);
}

.battery-viewer {
  display: grid;
  place-items: center;
  padding: 34px;
  border-radius: 22px;
  background: linear-gradient(145deg, #f7f9fc, #e9eef4);
}

.battery-viewer img {
  max-height: 500px;
  object-fit: contain;
  transition: opacity 160ms ease;
}

.battery-viewer img.is-changing {
  opacity: 0.35;
}

.battery-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.battery-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid var(--blue);
  border-radius: 50%;
  background: transparent;
}

.battery-dots button.is-active {
  background: var(--blue);
}

.charger-stage {
  overflow: hidden;
  border-radius: 22px;
  background: var(--black);
  box-shadow: var(--shadow);
}

.charger-stage video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 18px;
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-card span {
  color: var(--blue);
  font-family: var(--brand-font-bold);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.contact-card a,
.contact-card p {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .solution-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand {
    width: 140px;
  }

  .hero-content,
  .page-hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding-bottom: 72px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10.4vw, 3.4rem);
    line-height: 1.02;
    overflow-wrap: normal;
  }

  h2 {
    font-size: clamp(2.05rem, 10vw, 3.9rem);
  }

  .hero-actions,
  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy,
  .page-hero-content > p {
    font-size: 0.96rem;
  }

  .button {
    width: 100%;
  }

  .impact-strip,
  .calculator-shell,
  .solution-grid,
  .editorial-grid,
  .carport-feature,
  .bess-section,
  .why-grid,
  .product-grid,
  .product-grid.three,
  .split-section,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .impact-stat {
    min-height: 190px;
  }

  .bess-section {
    min-height: auto;
    padding-top: clamp(250px, 78vw, 360px);
    background: #071019;
  }

  .bess-bg {
    bottom: auto;
    height: clamp(250px, 78vw, 360px);
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(7, 16, 25, 0.88)),
      url("assets/bess-industrial.png") center / cover no-repeat;
  }

  .editorial-card {
    min-height: 430px;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calculator-control {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 66px;
  }

  .invoice-scanner {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .invoice-scan-button {
    width: 42px;
    height: 42px;
  }

  .invoice-card dl div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .invoice-card dd {
    text-align: left;
  }

  .calculator-results {
    grid-template-columns: 1fr;
  }

  .partner-grid img {
    height: 82px;
    padding: 20px;
  }

  .client-marquee {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    scrollbar-width: none;
    touch-action: pan-x;
  }

  .client-marquee::-webkit-scrollbar {
    display: none;
  }

  .client-track {
    gap: 12px;
    animation: none;
    will-change: scroll-position;
  }

  .client-logo {
    flex-basis: 168px;
    height: 104px;
    padding: 18px;
  }

  .client-logo-wide img {
    max-height: 80px;
  }

  .site-footer {
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-location {
    width: 100%;
  }

  .footer-location img {
    height: clamp(210px, 64vw, 300px);
    object-position: 50% 48%;
  }

  .spec-list p {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .section,
  .impact-strip,
  .bess-section,
  .final-cta,
  .site-footer,
  .product-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mobile-nav {
    inset: 72px 10px auto;
  }

  .calculator-logo {
    top: 16px;
    right: 16px;
    width: 54px;
    max-width: 54px;
    max-height: 19px;
  }

  .hero-content,
  .page-hero-content {
    width: calc(100% - 34px);
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(2.05rem, 9.4vw, 2.7rem);
  }

  .solution-card div,
  .editorial-card div,
  .why-grid article,
  .spec-card,
  .contact-card {
    padding: 20px;
  }

  .impact-stat {
    padding: 26px 20px;
  }
}
