:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #64727f;
  --line: #d8e0e6;
  --bg: #f4f7f8;
  --surface: #ffffff;
  --deep: #07111c;
  --deep-2: #0f2432;
  --green: #00a88f;
  --green-dark: #087463;
  --blue: #2f80d8;
  --amber: #b99145;
  --red: #b8463b;
  --gold: #caa761;
  --shadow: 0 24px 80px rgba(7, 17, 28, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: 160px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(47, 128, 216, 0.08), transparent 36%),
    linear-gradient(315deg, rgba(0, 168, 143, 0.1), transparent 44%);
  content: "";
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 132px;
  padding: 16px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 17, 28, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  color: #fff;
}

.logo-shell {
  display: grid;
  width: clamp(250px, 25vw, 360px);
  height: auto;
  place-items: center;
  flex: 0 0 auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 116px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  color: var(--deep);
  background: linear-gradient(135deg, #f1d88e, #b98a31);
  font-weight: 850;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand-text {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
  padding-left: clamp(16px, 2vw, 28px);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.brand strong {
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: 0;
}

.brand small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(14px, 1.15vw, 18px);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  gap: 8px;
}

nav a {
  padding: 10px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 750;
}

nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 132px);
  padding: clamp(34px, 6vw, 86px) clamp(18px, 4vw, 64px) 56px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 22%, rgba(0, 168, 143, 0.16), transparent 30%),
    radial-gradient(circle at 14% 74%, rgba(47, 128, 216, 0.16), transparent 32%),
    linear-gradient(115deg, rgba(7, 17, 28, 0.99), rgba(12, 31, 43, 0.94)),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
  color: inherit;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: 20px;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-text {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.74);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(0, 168, 143, 0.48);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #00a88f, #2f80d8);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.operations-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.panel-header,
.panel-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}

.panel-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.panel-header strong {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 168, 143, 0.86);
  font-size: 12px;
}

.service-map {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(13, 38, 52, 0.96), rgba(5, 15, 26, 0.96));
  background-size: 34px 34px;
}

.energy-flow::before,
.energy-flow::after {
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
  content: "";
}

.energy-flow::before {
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 168, 143, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 138, 127, 0.16), transparent 62%);
  animation: pulseField 4.8s ease-in-out infinite;
}

.energy-flow::after {
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(47, 128, 216, 0.22);
  border-radius: 50%;
  animation: slowRotate 26s linear infinite;
}

.flow-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 25%, rgba(215, 182, 109, 0.16), transparent 18%),
    radial-gradient(circle at 76% 28%, rgba(63, 111, 177, 0.18), transparent 18%),
    radial-gradient(circle at 24% 70%, rgba(15, 138, 127, 0.18), transparent 20%),
    radial-gradient(circle at 78% 70%, rgba(184, 70, 59, 0.16), transparent 20%);
  opacity: 0.9;
}

.flow-line {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 210px;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 143, 0.9), rgba(47, 128, 216, 0.8), transparent);
  opacity: 0.72;
}

.flow-line::after {
  position: absolute;
  left: 0;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #80fff0;
  box-shadow: 0 0 18px rgba(0, 168, 143, 0.9);
  content: "";
  animation: energyPacket 2.8s linear infinite;
}

.line-storage {
  transform: rotate(214deg);
}

.line-solar {
  transform: rotate(145deg);
}

.line-ev {
  transform: rotate(326deg);
}

.line-ai {
  transform: rotate(42deg);
}

.line-solar::after {
  animation-delay: -0.7s;
}

.line-ev::after {
  animation-delay: -1.4s;
}

.line-ai::after {
  animation-delay: -2.1s;
}

.center-node {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  width: 130px;
  height: 130px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 10px solid rgba(0, 168, 143, 0.16);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #00a88f, #0f2432);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  line-height: 1.05;
  box-shadow: 0 18px 46px rgba(11, 79, 73, 0.23);
  animation: centerGlow 3.6s ease-in-out infinite;
}

.orbit-card {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 54px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.orbit-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 168, 143, 0.52);
  background: rgba(255, 255, 255, 0.15);
}

.card-storage {
  left: 8%;
  top: 16%;
  border-top: 5px solid var(--green);
}

.card-vpp {
  right: 8%;
  top: 18%;
  border-top: 5px solid var(--blue);
}

.card-solar {
  left: 11%;
  top: 52%;
  border-top: 5px solid var(--amber);
}

.card-ev {
  right: 10%;
  top: 52%;
  border-top: 5px solid var(--red);
}

.card-home {
  left: 27%;
  bottom: 10%;
  border-top: 5px solid #6f7e48;
}

.card-ai {
  right: 24%;
  bottom: 10%;
  border-top: 5px solid #5b6fa8;
}

.panel-stats {
  border-top: 1px solid rgba(215, 182, 109, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.panel-stats span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.panel-stats strong {
  display: block;
  color: #fff;
  font-size: 18px;
}

.section {
  scroll-margin-top: 132px;
  padding: clamp(62px, 8vw, 110px) clamp(18px, 4vw, 64px);
  border-top: 1px solid rgba(22, 32, 30, 0.08);
}

.intro {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
  background:
    radial-gradient(circle at 8% 24%, rgba(215, 182, 109, 0.2), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(0, 168, 143, 0.12), transparent 30%),
    radial-gradient(circle at 70% 92%, rgba(47, 128, 216, 0.12), transparent 30%),
    linear-gradient(135deg, #fbfaf6 0%, #f4f8f7 48%, #eef6f8 100%);
}

.intro::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 42%, rgba(215, 182, 109, 0.1) 42.4%, transparent 43%),
    linear-gradient(rgba(11, 31, 41, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 41, 0.03) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  content: "";
}

.intro > * {
  position: relative;
  z-index: 1;
}

.intro p:last-child {
  margin-top: 0;
  font-size: 20px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading > div {
  min-width: 0;
}

#services {
  position: relative;
  overflow: hidden;
  color: #eef8fb;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 16% 20%, rgba(0, 188, 212, 0.24), transparent 28%),
    radial-gradient(circle at 76% 18%, rgba(109, 92, 255, 0.2), transparent 27%),
    radial-gradient(circle at 68% 92%, rgba(215, 182, 109, 0.2), transparent 30%),
    linear-gradient(135deg, #061316 0%, #0b1f29 42%, #11131e 100%);
  background-size: 38px 38px, 38px 38px, auto, auto, auto, auto;
}

#services::before,
#services::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

#services::before {
  inset: 12% -12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 220, 255, 0.72), rgba(215, 182, 109, 0.62), transparent);
  box-shadow:
    0 86px 0 rgba(118, 92, 255, 0.42),
    0 172px 0 rgba(0, 168, 143, 0.32);
  animation: serviceSectionSweep 6.2s ease-in-out infinite;
}

#services::after {
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 41%, rgba(255, 255, 255, 0.07) 41.4%, transparent 42% 100%),
    linear-gradient(62deg, transparent 0 52%, rgba(0, 220, 255, 0.09) 52.4%, transparent 53% 100%);
  opacity: 0.72;
  animation: serviceFieldDrift 8s ease-in-out infinite;
}

#services .section-heading {
  position: relative;
  z-index: 1;
}

#services h2 {
  color: #fff;
}

#services .eyebrow {
  color: #d9bc73;
}

.bess-note {
  max-width: 760px;
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(0, 220, 255, 0.24);
  border-left: 4px solid #00dcff;
  border-radius: 8px;
  color: rgba(236, 248, 255, 0.82);
  background: rgba(5, 20, 30, 0.54);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  font-size: 16px;
  line-height: 1.58;
  backdrop-filter: blur(14px);
}

.scope-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scope-grid::before {
  position: absolute;
  inset: -34px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 12%, rgba(0, 220, 255, 0.28), transparent 28%),
    radial-gradient(circle at 84% 22%, rgba(118, 92, 255, 0.28), transparent 28%),
    radial-gradient(circle at 48% 92%, rgba(215, 182, 109, 0.24), transparent 31%),
    linear-gradient(90deg, transparent 0 13%, rgba(0, 220, 255, 0.24) 13.2%, transparent 13.8% 47%, rgba(118, 92, 255, 0.22) 47.2%, transparent 47.8% 73%, rgba(215, 182, 109, 0.18) 73.2%, transparent 73.8%);
  content: "";
  opacity: 1;
  filter: blur(1px);
  animation: serviceFieldDrift 6.8s ease-in-out infinite;
}

.scope-grid article {
  position: relative;
  overflow: hidden;
  min-height: 218px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  --card-accent: var(--green);
  --card-accent-2: var(--blue);
  background:
    linear-gradient(145deg, rgba(11, 28, 40, 0.9), rgba(12, 16, 28, 0.86)) padding-box,
    linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 88%, transparent), color-mix(in srgb, var(--card-accent-2) 78%, transparent)) border-box;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 34px color-mix(in srgb, var(--card-accent) 22%, transparent);
  animation: tileFloat 5.8s ease-in-out infinite;
  backdrop-filter: blur(18px);
}

.scope-grid article::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 8%, color-mix(in srgb, var(--card-accent) 36%, transparent) 8.5%, transparent 9.4% 43%, color-mix(in srgb, var(--card-accent-2) 28%, transparent) 43.5%, transparent 44.5%),
    linear-gradient(180deg, color-mix(in srgb, var(--card-accent) 32%, transparent), transparent 42%),
    radial-gradient(circle at 84% 18%, color-mix(in srgb, var(--card-accent-2) 44%, transparent), transparent 30%),
    radial-gradient(circle at 22% 86%, color-mix(in srgb, var(--card-accent) 30%, transparent), transparent 34%);
  opacity: 1;
  content: "";
  animation: serviceCardGlow 4.8s ease-in-out infinite;
}

.scope-grid article::after {
  position: absolute;
  left: -48%;
  top: -14%;
  width: 42%;
  height: 128%;
  transform: skewX(-16deg);
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), color-mix(in srgb, var(--card-accent) 36%, transparent), transparent);
  content: "";
  opacity: 0.2;
  animation: serviceScan 5.4s ease-in-out infinite;
}

.scope-grid article:nth-child(2),
.scope-grid article:nth-child(5) {
  animation-delay: -1.8s;
}

.scope-grid article:nth-child(3),
.scope-grid article:nth-child(6) {
  animation-delay: -3.2s;
}

.scope-grid article:nth-child(1) {
  --card-accent: #00a88f;
  --card-accent-2: #2f80d8;
}

.scope-grid article:nth-child(2) {
  --card-accent: #2f80d8;
  --card-accent-2: #8f6cff;
}

.scope-grid article:nth-child(3) {
  --card-accent: #caa761;
  --card-accent-2: #00a88f;
}

.scope-grid article:nth-child(4) {
  --card-accent: #b8463b;
  --card-accent-2: #caa761;
}

.scope-grid article:nth-child(5) {
  --card-accent: #6f9f68;
  --card-accent-2: #00a88f;
}

.scope-grid article:nth-child(6) {
  --card-accent: #6e76d8;
  --card-accent-2: #2f80d8;
}

.scope-grid article:hover {
  transform: translateY(-16px) scale(1.012);
  border-color: color-mix(in srgb, var(--card-accent) 86%, transparent);
  box-shadow:
    0 30px 86px rgba(0, 0, 0, 0.32),
    0 0 48px color-mix(in srgb, var(--card-accent) 42%, transparent);
}

.scope-grid article:hover::after {
  opacity: 1;
}

.scope-grid h3,
.scope-grid p,
.scope-grid span {
  position: relative;
  z-index: 1;
}

.scope-grid span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--card-accent) 72%, transparent);
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 72%, #142330), color-mix(in srgb, var(--card-accent-2) 54%, #142330));
  box-shadow: 0 0 22px color-mix(in srgb, var(--card-accent) 38%, transparent);
  font-size: 13px;
  font-weight: 900;
}

.scope-grid h3 {
  color: #ffffff;
}

.scope-grid p {
  margin-bottom: 0;
  color: rgba(232, 244, 248, 0.76);
  font-size: 15px;
}

.motion-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(360px, 1.3fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 70% 50%, rgba(215, 182, 109, 0.16), transparent 34%),
    linear-gradient(135deg, #071412, #10211f);
}

.motion-copy h2 {
  max-width: 560px;
}

.motion-board {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(215, 182, 109, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    rgba(255, 255, 255, 0.05);
  background-size: 36px 36px;
  box-shadow: var(--shadow);
}

.motion-board::before {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(215, 182, 109, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 138, 127, 0.22), transparent 60%);
  content: "";
  animation: pulseField 4.2s ease-in-out infinite;
}

.motion-node {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 96px;
  min-height: 56px;
  place-items: center;
  border: 1px solid rgba(215, 182, 109, 0.28);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.node-grid {
  left: 8%;
  top: 16%;
}

.node-solar {
  right: 12%;
  top: 15%;
}

.node-bess {
  left: 50%;
  top: 50%;
  min-width: 118px;
  min-height: 118px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(145deg, #0f8a7f, #062e2a);
  animation: centerGlow 3.4s ease-in-out infinite;
}

.node-vpp {
  left: 12%;
  bottom: 16%;
}

.node-ai {
  right: 10%;
  bottom: 17%;
}

.motion-path {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 245px;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(215, 182, 109, 0.88), transparent);
}

.motion-path::after {
  position: absolute;
  left: 0;
  top: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f7dc8b;
  box-shadow: 0 0 22px rgba(247, 220, 139, 0.9);
  content: "";
  animation: energyPacket 2.4s linear infinite;
}

.path-a {
  transform: rotate(222deg);
}

.path-b {
  transform: rotate(320deg);
}

.path-c {
  transform: rotate(140deg);
}

.path-d {
  transform: rotate(40deg);
}

.path-b::after {
  animation-delay: -0.6s;
}

.path-c::after {
  animation-delay: -1.2s;
}

.path-d::after {
  animation-delay: -1.8s;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(7, 20, 18, 0.96), rgba(15, 38, 35, 0.92)),
    linear-gradient(rgba(215, 182, 109, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  color: #fff;
}

.split p {
  color: rgba(255, 255, 255, 0.7);
}

.flow {
  display: grid;
  gap: 10px;
}

.flow div {
  padding: 18px 20px;
  border: 1px solid rgba(215, 182, 109, 0.16);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 19px;
  font-weight: 850;
}

.vpp-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 168, 143, 0.13), transparent 30%),
    radial-gradient(circle at 92% 22%, rgba(47, 128, 216, 0.13), transparent 30%),
    radial-gradient(circle at 54% 100%, rgba(215, 182, 109, 0.16), transparent 34%),
    linear-gradient(135deg, #f8fbfa 0%, #eef6f7 48%, #f8f5eb 100%);
}

.vpp-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(11, 31, 41, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 41, 0.028) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 55%, rgba(0, 168, 143, 0.08) 55.4%, transparent 56%);
  background-size: 42px 42px, 42px 42px, auto;
  content: "";
}

.vpp-section > * {
  position: relative;
  z-index: 1;
}

.vpp-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1.25fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.vpp-copy p:first-child {
  margin-top: 0;
}

.resource-table {
  overflow: hidden;
  border: 1px solid rgba(15, 46, 58, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(238, 247, 248, 0.72)),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 22px 58px rgba(22, 32, 30, 0.1);
  backdrop-filter: blur(12px);
}

.table-row {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 18px;
  padding: 18px 20px;
  border-top: 1px solid rgba(15, 46, 58, 0.12);
  background:
    linear-gradient(90deg, rgba(0, 168, 143, 0.055), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(240, 247, 248, 0.5));
}

.table-row:first-child {
  border-top: 0;
}

.table-head {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 17, 28, 0.98), rgba(10, 76, 70, 0.94)),
    linear-gradient(90deg, rgba(215, 182, 109, 0.22), transparent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.table-row span {
  min-width: 0;
}

.table-row:not(.table-head) span:first-child {
  color: var(--ink);
  font-weight: 850;
}

.table-row:not(.table-head) span {
  color: var(--muted);
  line-height: 1.45;
}

.next {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1.22fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 20, 18, 0.98), rgba(17, 35, 32, 0.96)),
    linear-gradient(rgba(215, 182, 109, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}

.next .eyebrow,
.next h2 {
  color: #fff;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-details a,
.contact-details div {
  display: block;
  padding: 18px;
  border: 1px solid rgba(215, 182, 109, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.contact-details span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(215, 182, 109, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.form-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(215, 182, 109, 0.18);
}

.form-heading span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-heading strong {
  color: #fff;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.05;
  text-align: right;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 850;
}

.contact-form .wide,
.form-button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 13px 14px;
  border: 1px solid rgba(0, 168, 143, 0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 17, 28, 0.62);
  font: inherit;
  outline: none;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 168, 143, 0.72);
  box-shadow: 0 0 0 3px rgba(0, 168, 143, 0.14);
}

.contact-form option {
  color: var(--ink);
}

.contact-form ::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding-top: 6px;
}

.form-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.45;
}

.form-button {
  min-height: 52px;
  min-width: 170px;
  cursor: pointer;
  font-size: 15px;
}

.form-button:hover {
  filter: brightness(1.05);
}

@keyframes energyPacket {
  0% {
    left: 0;
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  88% {
    opacity: 1;
  }

  100% {
    left: calc(100% - 10px);
    opacity: 0;
  }
}

@keyframes pulseField {
  0%,
  100% {
    opacity: 0.46;
    transform: translate(-50%, -50%) scale(0.94);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes slowRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes centerGlow {
  0%,
  100% {
    box-shadow:
      0 18px 46px rgba(11, 79, 73, 0.23),
      0 0 0 rgba(215, 182, 109, 0);
  }

  50% {
    box-shadow:
      0 18px 46px rgba(11, 79, 73, 0.23),
      0 0 46px rgba(215, 182, 109, 0.34);
  }
}

@keyframes tileFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -18px, 0);
  }
}

@keyframes serviceFieldDrift {
  0%,
  100% {
    transform: translate3d(-12px, 8px, 0) scale(1);
    opacity: 0.72;
  }

  50% {
    transform: translate3d(26px, -24px, 0) scale(1.04);
    opacity: 1;
  }
}

@keyframes serviceScan {
  0%,
  48% {
    left: -54%;
    opacity: 0.04;
  }

  60% {
    opacity: 0.82;
  }

  100% {
    left: 126%;
    opacity: 0;
  }
}

@keyframes serviceCardGlow {
  0%,
  100% {
    opacity: 0.78;
    transform: translate3d(0, 0, 0);
  }

  50% {
    opacity: 1;
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes serviceSectionSweep {
  0%,
  100% {
    transform: translateX(-18%);
    opacity: 0.38;
  }

  50% {
    transform: translateX(18%);
    opacity: 0.92;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.next ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.next li {
  position: relative;
  min-height: 70px;
  padding: 20px 20px 20px 64px;
  border: 1px solid rgba(0, 168, 143, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  line-height: 1.5;
  counter-increment: steps;
}

.next li::before {
  position: absolute;
  left: 20px;
  top: 19px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  content: counter(steps);
  font-weight: 900;
}

@media (max-width: 1040px) {
  .hero,
  .intro,
  .split,
  .motion-section,
  .vpp-layout,
  .next,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section {
    padding: 54px 18px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  nav a {
    white-space: nowrap;
  }

  .brand {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .logo-shell {
    width: min(340px, 86vw);
    height: auto;
  }

  .brand-logo {
    max-height: none;
  }

  .brand-text {
    padding-left: 0;
    border-left: 0;
  }

  .brand strong {
    white-space: normal;
  }

  .hero-actions,
  .panel-stats {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-map {
    min-height: 560px;
  }

  .motion-board {
    min-height: 520px;
  }

  .motion-node {
    min-width: min(150px, 70vw);
  }

  .node-grid,
  .node-solar,
  .node-vpp,
  .node-ai {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .node-grid {
    top: 24px;
  }

  .node-solar {
    top: 94px;
  }

  .node-bess {
    top: 50%;
  }

  .node-vpp {
    bottom: 94px;
  }

  .node-ai {
    bottom: 24px;
  }

  .center-node {
    top: 48%;
    width: 116px;
    height: 116px;
    font-size: 19px;
  }

  .orbit-card {
    min-width: min(188px, 82vw);
  }

  .card-storage,
  .card-vpp,
  .card-solar,
  .card-ev,
  .card-home,
  .card-ai {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .card-storage {
    top: 22px;
  }

  .card-vpp {
    top: 92px;
  }

  .card-solar {
    top: 162px;
  }

  .card-ev {
    top: auto;
    bottom: 162px;
  }

  .card-home {
    bottom: 92px;
  }

  .card-ai {
    bottom: 22px;
  }

  .scope-grid,
  .table-row,
  .form-row,
  .form-footer {
    grid-template-columns: 1fr;
  }

  .intro,
  .vpp-section {
    background-size: auto;
  }

  .intro p:last-child {
    font-size: 18px;
  }

  .resource-table {
    border-radius: 8px;
  }

  .table-row {
    gap: 8px;
    padding: 18px;
  }

  .table-row:not(.table-head) span:first-child {
    font-size: 18px;
  }

  .form-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-heading strong {
    text-align: left;
  }

  .form-button {
    width: 100%;
  }
}

/* Final Services treatment: keep this after responsive rules so the section cannot fall back to the earlier light-card styling. */
#services.section {
  color: #eef8fb;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 15% 18%, rgba(0, 221, 255, 0.3), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(118, 92, 255, 0.26), transparent 30%),
    radial-gradient(circle at 64% 88%, rgba(215, 182, 109, 0.24), transparent 34%),
    linear-gradient(135deg, #051115 0%, #0a1f2c 46%, #11131f 100%);
  background-size: 38px 38px, 38px 38px, auto, auto, auto, auto;
}

#services.section .bess-note {
  color: rgba(236, 248, 255, 0.84);
  background: rgba(5, 20, 30, 0.66);
}

#services.section .scope-grid article {
  border-color: rgba(255, 255, 255, 0.14);
  color: #eef8fb;
  background:
    linear-gradient(145deg, rgba(11, 28, 40, 0.93), rgba(12, 16, 28, 0.9)) padding-box,
    linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 92%, transparent), color-mix(in srgb, var(--card-accent-2) 82%, transparent)) border-box;
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 42px color-mix(in srgb, var(--card-accent) 32%, transparent);
  animation: tileFloat 5.4s ease-in-out infinite;
}

#services.section .scope-grid h3 {
  color: #fff;
}

#services.section .scope-grid p {
  color: rgba(232, 244, 248, 0.76);
}

#services.section .scope-grid span {
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 78%, #142330), color-mix(in srgb, var(--card-accent-2) 58%, #142330));
  box-shadow: 0 0 24px color-mix(in srgb, var(--card-accent) 44%, transparent);
}
