:root {
  --ink: #0b1117;
  --panel: #101923;
  --line: rgba(255, 255, 255, 0.16);
  --text: #edf6ff;
  --muted: #a8b5c2;
  --cyan: #35c7ff;
  --amber: #ffb33c;
  --orange: #ff5a00;
  --green: #6ce0a0;
  --red: #ff5f57;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  user-select: none;
  -webkit-user-select: none;
}

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

img,
video,
canvas {
  -webkit-user-drag: none;
  user-select: none;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 48%, rgba(255, 180, 84, 0.12), transparent 24%),
    radial-gradient(circle at 28% 36%, rgba(42, 116, 166, 0.18), transparent 30%),
    linear-gradient(145deg, #020406 0%, #081018 48%, #100d09 100%);
  transition: opacity 700ms ease, visibility 700ms ease;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black, transparent 74%);
}

.loader::after {
  content: "";
  position: absolute;
  inset: auto 8vw 9vh;
  height: 18vh;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.58), transparent 68%);
  filter: blur(8px);
}

.loader-scene {
  position: relative;
  z-index: 1;
  width: min(92vw, 1120px);
  padding: 14px 28px 18px;
}

.loader-head,
.loader-readouts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.loader-head {
  margin-bottom: 10px;
  color: #9eb0bd;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.loader-logo {
  width: min(30vw, 250px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 12px rgba(255, 90, 0, 0.12));
  opacity: 0.9;
}

.real-loader {
  position: relative;
  height: clamp(300px, 45vh, 470px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 28%),
    radial-gradient(circle at 78% 50%, rgba(255, 180, 84, 0.11), transparent 28%),
    radial-gradient(circle at 38% 52%, rgba(53, 199, 255, 0.08), transparent 34%),
    #05080b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -60px 80px rgba(0, 0, 0, 0.38),
    0 28px 70px rgba(0, 0, 0, 0.42);
}

.real-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.025)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
  opacity: 0.42;
}

.real-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.44) 100%);
}

#loaderCanvas {
  display: block;
  width: 100%;
  height: 100%;
}

.charge-track {
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
  perspective: 900px;
}

.cable-core,
.cable-glow {
  position: absolute;
  left: 22px;
  right: 132px;
  top: 66px;
  height: 18px;
  border-radius: 999px;
}

.cable-shadow {
  position: absolute;
  left: 4px;
  right: 118px;
  top: 88px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.48);
  filter: blur(9px);
}

.cable-jacket {
  position: absolute;
  left: 0;
  right: 120px;
  top: 58px;
  height: 34px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 28%, rgba(0, 0, 0, 0.38) 72%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 18px),
    linear-gradient(90deg, #161b20, #313b43 18%, #11171d 72%, #05080b);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.34),
    inset 0 -10px 14px rgba(0, 0, 0, 0.42),
    0 20px 34px rgba(0, 0, 0, 0.36);
}

.cable-cut {
  position: absolute;
  left: 9px;
  top: 55px;
  z-index: 2;
  width: 28px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 45%, #ffcf84 0 18%, #b56224 19% 38%, #272f35 39% 58%, #080b0e 59%);
  box-shadow: inset -5px 0 8px rgba(0, 0, 0, 0.5);
}

.copper-bundle {
  position: absolute;
  left: 30px;
  right: 150px;
  top: 63px;
  z-index: 3;
  height: 24px;
  overflow: hidden;
}

.copper-bundle i {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8f4218, #ffd08b 12%, #c66a24 42%, #ffdc9d);
  box-shadow: 0 0 8px rgba(255, 179, 60, 0.45);
}

.copper-bundle i:nth-child(1) { top: 1px; transform: rotate(-1deg); }
.copper-bundle i:nth-child(2) { top: 5px; transform: rotate(0.8deg); }
.copper-bundle i:nth-child(3) { top: 9px; transform: rotate(-0.6deg); }
.copper-bundle i:nth-child(4) { top: 13px; transform: rotate(1.1deg); }
.copper-bundle i:nth-child(5) { top: 17px; transform: rotate(-0.8deg); }
.copper-bundle i:nth-child(6) { top: 21px; transform: rotate(0.6deg); }

.cable-core {
  z-index: 4;
  height: 12px;
  top: 69px;
  background:
    linear-gradient(90deg, #2f1708, #b86220 18%, #ffd088 50%, #b86220 82%, #2f1708),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.26) 18px 20px);
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.55);
}

.cable-glow {
  z-index: 5;
  height: 6px;
  top: 72px;
  width: min(var(--charge, 0%), calc(100% - 154px));
  right: auto;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  box-shadow: 0 0 22px var(--cyan), 0 0 34px rgba(255, 179, 60, 0.75);
  transition: width 100ms linear;
}

.charge-wave {
  position: absolute;
  z-index: 6;
  left: 22px;
  top: 61px;
  left: min(calc(22px + var(--charge, 0%)), calc(100% - 220px));
  width: 88px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 238, 185, 0.9), rgba(53, 199, 255, 0.45) 34%, transparent 68%);
  filter: blur(3px);
  opacity: 0.86;
}

.spark {
  position: absolute;
  z-index: 7;
  width: 42px;
  height: 2px;
  border-radius: 99px;
  background: #fff7cf;
  box-shadow: 0 0 16px rgba(255, 213, 96, 0.9);
  opacity: 0;
  animation: sparkFlash 1.15s linear infinite;
}

.s1 { left: 24%; top: 44px; transform: rotate(-24deg); }
.s2 { left: 48%; top: 96px; transform: rotate(18deg); animation-delay: -0.36s; }
.s3 { left: 72%; top: 47px; transform: rotate(-14deg); animation-delay: -0.72s; }

@keyframes sparkFlash {
  0%, 70%, 100% { opacity: 0; scale: 0.4; }
  74% { opacity: 1; scale: 1; }
  80% { opacity: 0; scale: 1.5; }
}

.particle {
  position: absolute;
  z-index: 8;
  top: 50px;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(53, 199, 255, 0.24);
  color: #fff7cc;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(53, 199, 255, 0.75);
  animation: proton 1.55s linear infinite;
}

.p2 { animation-delay: -0.32s; transform: translateY(20px); }
.p3 { animation-delay: -0.64s; transform: translateY(-18px); }
.p4 { animation-delay: -0.96s; transform: translateY(14px); }
.p5 { animation-delay: -1.28s; transform: translateY(-10px); }

@keyframes proton {
  from { left: 0; opacity: 0; }
  12% { opacity: 1; }
  84% { opacity: 1; }
  to { left: calc(100% - 158px); opacity: 0; }
}

.electric-panel {
  position: absolute;
  z-index: 10;
  right: 0;
  width: 132px;
  height: 138px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 32%),
    repeating-linear-gradient(90deg, transparent 0 15px, rgba(255, 255, 255, 0.03) 15px 16px),
    #111b24;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -20px 30px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(53, 199, 255, 0.32),
    0 20px 34px rgba(0, 0, 0, 0.4);
}

.electric-panel::before {
  content: "";
  position: absolute;
  inset: 14px 20px auto;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(180deg, #334b5e, #172530);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 8px 14px rgba(0, 0, 0, 0.24);
}

.panel-screen {
  position: absolute;
  inset: 16px 24px auto;
  z-index: 1;
  height: 20px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: #071116;
  color: #93f7c0;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: inset 0 0 10px rgba(108, 224, 160, 0.2);
}

.panel-screen span::after {
  content: "%";
}

.led {
  position: absolute;
  left: 19px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #31404b;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.65);
}

.led-a { top: 58px; }
.led-b { top: 82px; }
.led-c { top: 106px; }

.loader[data-stage="1"] .led-a,
.loader[data-stage="2"] .led-a,
.loader[data-stage="3"] .led-a {
  background: var(--green);
  box-shadow: 0 0 16px rgba(108, 224, 160, 0.75);
}

.loader[data-stage="2"] .led-b,
.loader[data-stage="3"] .led-b {
  background: var(--amber);
  box-shadow: 0 0 16px rgba(255, 179, 60, 0.8);
}

.loader[data-stage="3"] .led-c {
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(53, 199, 255, 0.85);
}

.breaker-bank {
  position: absolute;
  right: 18px;
  bottom: 17px;
  display: grid;
  grid-template-columns: repeat(4, 13px);
  gap: 7px;
}

.breaker-bank b {
  height: 43px;
  border-radius: 3px;
  background: linear-gradient(180deg, #e5eef3 0 42%, #4b6476 43% 100%);
  box-shadow: inset 0 -8px 10px rgba(0, 0, 0, 0.26);
}

.arc {
  position: absolute;
  z-index: 9;
  right: 112px;
  top: 54px;
  width: 70px;
  height: 46px;
  border-top: 3px solid rgba(255, 244, 190, 0.9);
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(255, 218, 105, 0.9));
  opacity: 0;
  transform: rotate(10deg);
}

.loader[data-stage="3"] .arc {
  opacity: 1;
  animation: arcPulse 520ms ease-in-out infinite alternate;
}

@keyframes arcPulse {
  from { filter: drop-shadow(0 0 8px rgba(255, 218, 105, 0.75)); }
  to { filter: drop-shadow(0 0 18px rgba(255, 218, 105, 1)); }
}

.loader-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  color: #9eacb8;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.loader-copy p {
  margin: 0;
}

.loader-copy strong {
  color: var(--text);
  font-size: clamp(1.6rem, 4.2vw, 2.8rem);
  line-height: 1;
}

.loader-readouts {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 2;
  min-height: 38px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: rgba(3, 7, 10, 0.58);
  color: #8e9ca7;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(0.72rem, 1.6vw, 0.86rem);
  backdrop-filter: blur(8px);
}

.loader-readouts b {
  color: #dce7f2;
  font-weight: 800;
}

.site-shell {
  min-height: 100vh;
  opacity: 0;
  transition: opacity 900ms ease;
}

.site-shell.is-visible {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92svh;
  padding-top: 98px;
  overflow: hidden;
  isolation: isolate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 10, 16, 0.94), rgba(5, 10, 16, 0.56) 46%, rgba(5, 10, 16, 0.2)),
    radial-gradient(circle at 78% 38%, rgba(255, 179, 60, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(5, 10, 16, 0.12), #0b1117 100%);
}

.topbar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 300;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(5, 10, 16, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(255, 90, 0, 0.08);
  backdrop-filter: blur(18px);
  overflow: hidden;
  isolation: isolate;
}

.logo,
.nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.logo {
  width: min(154px, 36vw);
  display: block;
}

.nav-logo-full {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 90, 0, 0.22));
}

.nav {
  gap: clamp(14px, 3vw, 32px);
  color: #d6e2ee;
  font-size: 0.95rem;
}

.electric-scroll {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 90;
  width: 116px;
  height: 58px;
  border: 1px solid rgba(255, 190, 60, 0.55);
  border-radius: 999px;
  background: linear-gradient(145deg, #ff5a00, #ff8a32 52%, #ffbd3c);
  box-shadow:
    0 0 0 6px rgba(255, 90, 0, 0.1),
    0 0 28px rgba(255, 90, 0, 0.45),
    0 18px 36px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.92);
  transition: opacity 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.electric-scroll.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  animation: electricScrollPulse 2.6s ease-in-out infinite;
}

.scroll-bolt {
  position: absolute;
  left: 28px;
  top: 50%;
  width: 18px;
  height: 30px;
  transform: translate(-50%, -50%) skewX(-10deg);
  background: #111820;
  clip-path: polygon(48% 0, 100% 0, 62% 39%, 94% 39%, 26% 100%, 42% 55%, 0 55%);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.36));
}

.scroll-cue {
  position: absolute;
  left: 52px;
  top: 50%;
  transform: translateY(-50%);
  color: #101923;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1;
}

@keyframes electricScrollPulse {
  0%, 100% {
    box-shadow:
      0 0 0 6px rgba(255, 90, 0, 0.1),
      0 0 24px rgba(255, 90, 0, 0.36),
      0 18px 36px rgba(0, 0, 0, 0.32);
  }
  50% {
    box-shadow:
      0 0 0 11px rgba(255, 90, 0, 0.03),
      0 0 42px rgba(255, 126, 36, 0.62),
      0 20px 42px rgba(0, 0, 0, 0.36);
  }
}

.electric-scroll:hover {
  box-shadow:
    0 0 0 8px rgba(255, 90, 0, 0.14),
    0 0 38px rgba(255, 120, 30, 0.58),
    0 20px 40px rgba(0, 0, 0, 0.38);
}

.hero-content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: min(6vh, 54px) 0 64px;
}

.hero-kicker,
.hero-layout,
.hero-data,
.panel-topline,
.hero-panel dl div {
  display: flex;
}

.hero-kicker {
  align-items: center;
  gap: 12px;
}

.hero-kicker span {
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  box-shadow: 0 0 16px rgba(53, 199, 255, 0.65);
}

.hero-layout {
  align-items: start;
  justify-content: space-between;
  gap: 38px;
}

.hero-main {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(4rem, 15vw, 10rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-logo-full {
  display: block;
  width: min(430px, 76vw);
  height: auto;
  filter:
    drop-shadow(0 18px 34px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 18px rgba(255, 90, 0, 0.14));
}

.hero-text {
  max-width: 620px;
  margin: 28px 0 0;
  color: #dce7f2;
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-panel {
  width: min(100%, 330px);
  margin-top: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(8, 14, 20, 0.66);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.panel-topline {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.84rem;
  color: #cbd9e6;
}

.panel-topline b {
  color: var(--green);
}

.meter {
  height: 8px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.meter span {
  display: block;
  width: var(--level);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--amber));
  box-shadow: 0 0 18px rgba(53, 199, 255, 0.48);
}

.hero-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.hero-panel dl div {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel dl div:last-child {
  border-bottom: 0;
}

.hero-panel dt {
  color: var(--muted);
}

.hero-panel dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.hero-emergency-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  margin-inline: -8px;
  min-height: 48px;
  border: 1px solid rgba(255, 90, 0, 0.46);
  border-radius: 7px;
  padding: 12px 14px;
  background:
    linear-gradient(135deg, rgba(255, 90, 0, 0.28), rgba(255, 179, 60, 0.12)),
    rgba(12, 7, 4, 0.42);
  color: #ffd8bf;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 14px 30px rgba(255, 90, 0, 0.1);
}

.hero-emergency-badge strong {
  font-size: 0.96rem;
  text-align: center;
}

.badge-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 90, 0, 0.14), 0 0 18px rgba(255, 90, 0, 0.7);
}

.hero-data {
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 76px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-data div {
  flex: 1;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #dce7f2;
  font-weight: 800;
}

.hero-data span {
  color: var(--amber);
}

.btn,
.contact-form button {
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary,
.contact-form button {
  background: linear-gradient(135deg, var(--orange), #ff8a32 54%, var(--amber));
  color: #130703;
}

.btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.btn.emergency-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 8px 22px;
  background: linear-gradient(135deg, #17c964, #25d366);
  border: 1px solid rgba(117, 255, 177, 0.58);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 28px rgba(37, 211, 102, 0.24);
  animation: heartbeatPulse 1.65s ease-in-out infinite;
}

.whatsapp-icon {
  width: 27px;
  height: 30px;
  flex: 0 0 27px;
  fill: #ffffff;
  stroke: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.whatsapp-copy {
  display: grid;
  gap: 2px;
  line-height: 1.05;
  text-align: left;
}

.whatsapp-copy strong,
.whatsapp-copy small {
  display: block;
}

.whatsapp-copy small {
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.88);
}

@keyframes heartbeatPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 18px rgba(37, 211, 102, 0.18);
  }
  18% {
    transform: scale(1.035);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 0 34px rgba(37, 211, 102, 0.36);
  }
  32% {
    transform: scale(1);
  }
  46% {
    transform: scale(1.025);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 28px rgba(37, 211, 102, 0.3);
  }
  62% {
    transform: scale(1);
  }
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.emergency-strip {
  scroll-margin-top: 104px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 90, 0, 0.16), transparent 38%),
    linear-gradient(180deg, #101923, #0b1117);
}

#servicios {
  scroll-margin-top: 112px;
}

.emergency-inner {
  width: min(1180px, calc(100% - 36px));
  min-height: 260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(400px, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: 34px 0;
}

.emergency-inner h2 {
  max-width: 430px;
  font-size: clamp(1.65rem, 2.35vw, 2.25rem);
  line-height: 1.14;
}

.emergency-inner h2 span {
  display: block;
}

.emergency-copy p {
  margin: 0;
  color: #c7d3dd;
  line-height: 1.6;
}

.emergency-copy ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.emergency-copy li {
  position: relative;
  padding-left: 22px;
  color: #edf6ff;
  font-weight: 750;
  line-height: 1.35;
}

.emergency-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(255, 90, 0, 0.55);
}

.section-heading {
  max-width: 620px;
}

.services-heading {
  display: grid;
  grid-template-columns: minmax(320px, 0.48fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 90, 0, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.services-heading-mark {
  min-height: 154px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #ff5a00;
  color: #0b1117;
  text-align: center;
  text-transform: uppercase;
}

.services-heading-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px 20px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.services-heading h2 {
  align-self: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 26px 34px;
  color: #edf6ff;
  font-size: clamp(1.35rem, 2.45vw, 2.35rem);
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.service-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
}

.featured-service {
  border-color: rgba(255, 90, 0, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 90, 0, 0.18), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.03);
}

.service-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 30px;
  border-radius: 8px;
  background: rgba(53, 199, 255, 0.12);
  position: relative;
}

.switch-icon::before,
.bolt-icon::before,
.wave-icon::before,
.urgent-icon::before,
.home-icon::before,
.doc-icon::before,
.maintenance-icon::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid var(--cyan);
  border-radius: 5px;
}

.bolt-icon::before {
  clip-path: polygon(55% 0, 18% 54%, 47% 54%, 36% 100%, 82% 39%, 54% 39%);
  border: 0;
  background: var(--amber);
}

.urgent-icon::before {
  border: 0;
  background: var(--orange);
  clip-path: polygon(58% 0, 20% 52%, 48% 52%, 37% 100%, 83% 38%, 56% 38%);
  box-shadow: 0 0 18px rgba(255, 90, 0, 0.6);
}

.home-icon::before {
  border-color: var(--orange);
  clip-path: polygon(50% 0, 100% 42%, 88% 42%, 88% 100%, 16% 100%, 16% 42%, 0 42%);
}

.doc-icon::before {
  border-color: var(--green);
  border-radius: 3px;
  box-shadow: inset 8px -8px 0 rgba(108, 224, 160, 0.16);
}

.maintenance-icon::before {
  border-color: var(--amber);
  border-radius: 50%;
}

.maintenance-icon::after {
  content: "";
  position: absolute;
  inset: 18px 9px;
  height: 3px;
  background: var(--amber);
  transform: rotate(-35deg);
  transform-origin: center;
}

.wave-icon::before {
  border-width: 3px 0 0;
  border-radius: 50%;
  transform: rotate(-20deg);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.service-card p,
.process,
.contact-form,
.hero-text {
  color: var(--muted);
}

.service-card p {
  margin: 0;
  line-height: 1.6;
}

.project-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 46px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.process div {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.process span {
  color: var(--amber);
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: start;
}

.contact-copy h2 {
  max-width: 520px;
  font-size: clamp(2rem, 3.4vw, 3.05rem);
  line-height: 1.05;
}

.contact-copy p:not(.eyebrow) {
  max-width: 560px;
  color: #c7d3dd;
  font-size: 1.03rem;
  line-height: 1.65;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-lines a {
  position: relative;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  display: flex;
  align-items: center;
  padding: 12px 14px 12px 42px;
  background: rgba(255, 255, 255, 0.045);
  color: #edf6ff;
  font-weight: 800;
}

.contact-lines a::before,
.form-note::before {
  content: "";
  position: absolute;
  left: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(255, 90, 0, 0.58);
}

.form-note {
  position: relative;
  padding-left: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.form-note::before {
  display: none;
}

.coverage {
  border-bottom: 1px solid var(--line);
}

.coverage .section-heading {
  max-width: none;
  width: 100%;
}

.coverage h2 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
  text-align: center;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.coverage-grid div {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.035);
  color: #dce7f2;
  font-weight: 800;
  text-align: center;
}

.coverage-grid span {
  color: var(--orange);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  padding: 14px;
  outline: 0;
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #ff7a1a 50%),
    linear-gradient(135deg, #ff7a1a 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 54%,
    calc(100% - 14px) 54%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.contact-form select option {
  color: #101923;
  background: #edf6ff;
}

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

#formModal[hidden] {
  display: none !important;
}

#formModal.form-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 120 !important;
  display: grid !important;
  place-items: center !important;
  padding: 24px !important;
  background: rgba(5, 10, 16, 0.78) !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  backdrop-filter: blur(14px);
}

#formModal.form-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

#formModal .form-modal-card {
  width: min(480px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 30px 28px;
  background:
    linear-gradient(140deg, rgba(255, 90, 0, 0.14), transparent 46%),
    #101923;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.5);
  text-align: center;
  transform: translateY(14px) scale(0.98);
  transition: transform 220ms ease;
}

#formModal.is-open .form-modal-card {
  transform: translateY(0) scale(1);
}

#formModal .form-modal-card img {
  width: min(230px, 72vw);
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 18px rgba(255, 90, 0, 0.18));
}

#formModal .form-modal-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  line-height: 1.1;
}

#formModal .form-modal-card p {
  margin: 14px 0 22px;
  color: #c7d3dd;
  line-height: 1.55;
}

#formModal .modal-close-btn {
  position: relative;
  width: 118px;
  height: 52px;
  border: 1px solid rgba(255, 190, 60, 0.55);
  border-radius: 999px;
  background: linear-gradient(145deg, #ff5a00, #ff8a32 52%, #ffbd3c);
  box-shadow:
    0 0 0 6px rgba(255, 90, 0, 0.1),
    0 0 28px rgba(255, 90, 0, 0.34),
    0 16px 30px rgba(0, 0, 0, 0.28);
  color: #101923;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.site-footer {
  width: min(1180px, calc(100% - 36px));
  min-height: 86px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #9eacb8;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.site-footer img {
  width: 104px;
  height: auto;
  opacity: 0.86;
  filter: drop-shadow(0 0 10px rgba(255, 90, 0, 0.12));
}

@media (max-width: 780px) {
  .hero {
    background:
      radial-gradient(circle at 72% 18%, rgba(255, 90, 0, 0.16), transparent 34%),
      linear-gradient(135deg, #050a10 0%, #0b1117 58%, #17130f 100%);
  }

  .topbar,
  .hero-layout,
  .hero-data,
  .emergency-inner,
  .project-band,
  .contact {
    display: block;
  }

  .topbar {
    width: min(100% - 28px, 1180px);
    top: 10px;
    padding: 12px;
  }

  .logo {
    width: min(138px, 44vw);
  }

  .hero-logo-full {
    width: min(330px, 82vw);
  }

  .nav {
    margin-top: 18px;
    justify-content: space-between;
  }

  .hero-content,
  .section {
    width: min(100% - 28px, 1180px);
  }

  .hero-content {
    padding-top: 34px;
  }

  .hero {
    padding-top: 142px;
  }

  .electric-scroll {
    width: 104px;
    height: 52px;
  }

  .emergency-strip {
    scroll-margin-top: 176px;
  }

  .btn.emergency-btn {
    width: 100%;
    justify-content: center;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .services-heading {
    grid-template-columns: 1fr;
    scroll-margin-top: 156px;
  }

  .services-heading-mark {
    min-height: 126px;
  }

  .services-heading h2 {
    padding: 24px 18px;
  }

  .emergency-inner {
    padding: 44px 0;
  }

  .emergency-copy {
    margin-top: 22px;
    padding-bottom: 18px;
  }

  .emergency-copy ul {
    gap: 14px;
    margin: 22px 0 34px;
  }

  .emergency-copy li:last-child {
    margin-bottom: 12px;
  }

  .emergency-inner .btn {
    display: flex;
    width: 100%;
    margin-top: 14px;
    position: relative;
    z-index: 1;
    clear: both;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    margin-top: 34px;
  }

  .hero-data {
    margin-top: 42px;
  }

  .hero-data div {
    min-height: 54px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .project-band > .process,
  .contact-form {
    margin-top: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 22px 0;
  }

  .loader-scene {
    width: min(96vw, 620px);
    padding: 8px 8px 12px;
  }

  .loader-head {
    align-items: flex-start;
    display: grid;
    gap: 8px;
  }

  .real-loader {
    height: clamp(300px, 50vh, 420px);
  }

  .loader-readouts {
    left: 10px;
    right: 10px;
    bottom: 10px;
    align-items: flex-start;
    display: grid;
    gap: 8px;
    min-height: 0;
    padding: 9px 10px;
  }

  .charge-track {
    height: 132px;
  }

  .cable-core,
  .cable-glow,
  .cable-jacket {
    right: 90px;
  }

  .electric-panel {
    width: 98px;
    height: 112px;
  }

  .breaker-bank {
    right: 12px;
    grid-template-columns: repeat(4, 10px);
    gap: 5px;
  }

  .breaker-bank b {
    height: 32px;
  }

  @keyframes proton {
    from { left: 0; opacity: 0; }
    12% { opacity: 1; }
    84% { opacity: 1; }
    to { left: calc(100% - 122px); opacity: 0; }
  }
}
