/* ===== Design tokens ===== */
:root{
  --ink:#12151A;
  --ink-2:#1B2029;
  --ink-3:#242A35;
  --paper:#F6F4EE;
  --paper-2:#FFFFFF;
  --text:#1B1E23;
  --text-soft:#5B6068;
  --line:#E4E0D6;
  --volt:#F4C21A;
  --volt-dark:#B98A00;
  --copper:#C9713F;
  --ok:#3E7A50;

  --font-display:'Space Grotesk', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'IBM Plex Mono', monospace;

  --radius:14px;
  --wrap:1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
h1,h2,h3{font-family:var(--font-display);font-weight:600;margin:0 0 .6em;letter-spacing:-0.01em;color:var(--text);}
p{margin:0 0 1em;}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 28px;}

/* thin top voltage line */
.volt-line{height:4px;width:100%;background:linear-gradient(90deg,var(--volt) 0 25%,var(--ink) 25% 50%,var(--volt) 50% 75%,var(--ink) 75% 100%);background-size:64px 4px;}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 22px;border-radius:10px;font-weight:600;font-size:15px;
  border:1.5px solid transparent;cursor:pointer;transition:transform .15s ease, background .2s ease, border-color .2s ease;
  white-space:nowrap;
}
.btn .i{width:16px;height:16px;fill:currentColor;}
.btn-accent{background:var(--volt);color:#241C00;}
.btn-accent:hover{background:#ffd230;transform:translateY(-1px);}
.btn-ghost{background:transparent;color:var(--paper);border-color:rgba(246,244,238,.35);}
.btn-ghost:hover{border-color:var(--paper);}
.btn-lg{padding:15px 26px;font-size:16px;}
.btn-block{width:100%;}

/* ===== Header ===== */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(18,21,26,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{display:flex;align-items:center;gap:24px;height:76px;}
.brand-logo{height:44px;width:auto;filter:invert(1) brightness(1.6);}
.main-nav{display:flex;gap:26px;margin-left:12px;flex:1;}
.main-nav a{color:#D9DCE1;font-size:14.5px;font-weight:500;padding:8px 0;position:relative;}
.main-nav a:hover{color:#fff;}
.header-actions{display:flex;align-items:center;gap:14px;}
.phone-pill{display:flex;align-items:center;gap:8px;color:#fff;font-family:var(--font-mono);font-size:14px;font-weight:500;}
.phone-pill .i{width:15px;height:15px;fill:var(--volt);}
.nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:38px;height:38px;background:transparent;border:1px solid rgba(255,255,255,.25);border-radius:8px;cursor:pointer;}
.nav-toggle span{display:block;height:2px;background:#fff;margin:0 8px;}

/* ===== Hero ===== */
.hero{background:var(--ink);color:var(--paper);position:relative;overflow:hidden;}
.hero-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding-top:76px;padding-bottom:64px;}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-mono);font-size:13px;letter-spacing:.04em;color:#C7CBD1;margin-bottom:22px;}
.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--volt);box-shadow:0 0 0 4px rgba(244,194,26,.18);}
.hero h1{font-size:clamp(32px,4.2vw,52px);line-height:1.08;color:#fff;max-width:640px;}
.hero h1 .hl{color:var(--volt);}
.hero-lead{font-size:17.5px;color:#C7CBD1;max-width:520px;margin-bottom:28px;}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:34px;}
.hero-trust{display:flex;flex-direction:column;gap:8px;}
.hero-trust li{position:relative;padding-left:22px;font-size:14.5px;color:#B7BCC3;}
.hero-trust li::before{content:"";position:absolute;left:0;top:7px;width:10px;height:2px;background:var(--volt);}

.hero-visual{position:relative;display:flex;align-items:center;justify-content:center;height:100%;min-height:320px;}
.hero-bolt{width:min(280px,80%);height:auto;overflow:visible;}
.bolt-shape{fill:none;stroke:var(--volt);stroke-width:9;stroke-linejoin:round;stroke-linecap:round;
  stroke-dasharray:1400;stroke-dashoffset:1400;animation:draw 2.4s ease forwards .3s;
}
@keyframes draw{to{stroke-dashoffset:0;}}
.volt-tag{position:absolute;bottom:8%;right:6%;font-family:var(--font-mono);font-size:12.5px;color:var(--ink);
  background:var(--volt);padding:6px 12px;border-radius:6px;font-weight:600;letter-spacing:.03em;}

/* breaker panel strip */
.panel-strip{background:var(--ink-2);border-top:1px solid rgba(255,255,255,.08);}
.panel-strip-inner{padding:22px 28px 26px;}
.panel-label{font-family:var(--font-mono);font-size:11.5px;letter-spacing:.14em;color:#8A9099;margin:0 0 14px;}
.breakers{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;}
.breaker{
  display:flex;flex-direction:column;align-items:flex-start;gap:10px;
  background:var(--ink-3);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:14px 14px 16px;
  cursor:pointer;text-align:left;font-family:inherit;
}
.breaker:hover{border-color:rgba(244,194,26,.5);}
.breaker-label{font-size:12.5px;color:#D9DCE1;font-weight:500;line-height:1.3;}
.switch{width:34px;height:18px;border-radius:20px;background:#3A4150;position:relative;display:inline-block;}
.switch-toggle{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#9AA1AB;transition:all .2s ease;}
.breaker.is-on .switch,.step.is-on .switch{background:var(--volt);}
.breaker.is-on .switch-toggle,.step.is-on .switch-toggle{left:18px;background:#241C00;}
.switch.big{width:44px;height:24px;}
.switch.big .switch-toggle{width:18px;height:18px;}
.switch.big .switch-toggle{left:2px;}
.step.is-on .switch.big .switch-toggle{left:22px;}

/* ===== Section basics ===== */
section{padding:96px 0;}
.section-eyebrow{font-family:var(--font-mono);font-size:13px;letter-spacing:.1em;color:var(--copper);text-transform:uppercase;margin-bottom:12px;}
.section-eyebrow.light{color:var(--volt);}
.section-title{font-size:clamp(26px,3vw,36px);max-width:760px;}
.section-title.light{color:#fff;}
.section-lead{color:var(--text-soft);max-width:640px;font-size:16.5px;}
.section-lead.light{color:#B7BCC3;}

/* ===== Services ===== */
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:44px;}
.service-card{background:var(--paper-2);border:1px solid var(--line);border-radius:var(--radius);padding:30px 26px;transition:transform .18s ease, box-shadow .18s ease;}
.service-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px -18px rgba(20,20,20,.28);}
.service-icon{width:46px;height:46px;border-radius:10px;background:#FBF0D2;display:flex;align-items:center;justify-content:center;margin-bottom:18px;}
.service-icon svg{width:24px;height:24px;fill:none;stroke:var(--volt-dark);stroke-width:1.8;}
.service-card h3{font-size:19px;margin-bottom:8px;}
.service-card p{color:var(--text-soft);font-size:14.8px;margin:0;}

/* ===== About ===== */
.about{background:var(--paper-2);}
.about-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:start;}
.value-list{margin-top:26px;display:flex;flex-direction:column;gap:16px;}
.value-list li{display:flex;gap:12px;align-items:flex-start;}
.i-check{width:20px;height:20px;flex:none;margin-top:2px;fill:none;stroke:var(--ok);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;}
.value-list strong{display:block;font-size:15.5px;}
.value-list span{color:var(--text-soft);font-size:14.5px;}

.about-panel{display:flex;justify-content:center;}
.datasheet{background:var(--ink);color:#fff;border-radius:var(--radius);padding:30px 28px;width:100%;max-width:360px;border:1px solid rgba(255,255,255,.08);}
.datasheet-title{font-family:var(--font-mono);font-size:11.5px;letter-spacing:.14em;color:var(--volt);margin:0 0 18px;}
.datasheet dl{margin:0;display:flex;flex-direction:column;gap:14px;}
.datasheet dl > div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px dashed rgba(255,255,255,.14);padding-bottom:12px;}
.datasheet dt{color:#9299A2;font-size:13px;}
.datasheet dd{margin:0;font-size:13.5px;text-align:right;font-weight:500;}

/* ===== Process ===== */
.process{background:var(--ink);}
.steps{margin-top:48px;display:grid;grid-template-columns:repeat(4,1fr);gap:26px;}
.step{display:flex;flex-direction:column;gap:18px;padding:26px 22px;border:1px solid rgba(255,255,255,.1);border-radius:var(--radius);background:var(--ink-2);}
.step-no{font-family:var(--font-mono);color:var(--volt);font-size:13px;letter-spacing:.06em;}
.step-copy h3{color:#fff;font-size:18px;margin:6px 0 8px;}
.step-copy p{color:#B7BCC3;font-size:14.3px;margin:0;}

/* ===== Zone ===== */
.zone-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center;}
.towns{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;}
.towns span{font-family:var(--font-mono);font-size:13px;background:#EFEADA;border:1px solid var(--line);padding:8px 14px;border-radius:8px;color:var(--text);}
.zone-visual{display:flex;justify-content:center;}
.zone-visual svg{width:280px;height:280px;}
.ring{fill:none;stroke:var(--copper);opacity:.28;}
.ring-2{opacity:.45;}
.ring-3{opacity:.7;}
.pin{fill:var(--volt-dark);}

/* ===== Contact ===== */
.contact{background:var(--paper-2);}
.contact-inner{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;}
.contact-card{margin-top:30px;background:var(--ink);color:#fff;border-radius:var(--radius);padding:28px;border:1px solid rgba(255,255,255,.08);}
.contact-row{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px dashed rgba(255,255,255,.14);font-size:14.5px;}
.contact-row:last-child{border-bottom:none;}
.contact-row .i{width:19px;height:19px;fill:none;stroke:var(--volt);stroke-width:1.7;flex:none;}
.contact-row em{color:#9299A2;font-style:normal;font-size:12.5px;}

.contact-form{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:30px;}
.contact-form label{display:flex;flex-direction:column;gap:6px;font-size:13.5px;font-weight:500;color:var(--text-soft);margin-bottom:16px;}
.contact-form input,.contact-form select,.contact-form textarea{
  font-family:var(--font-body);font-size:15px;padding:11px 13px;border-radius:8px;border:1px solid var(--line);
  background:#fff;color:var(--text);outline:none;
}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:var(--volt-dark);}
.form-note{font-size:12.5px;color:var(--text-soft);margin-top:12px;}

/* ===== Footer ===== */
.site-footer{background:var(--ink);color:#B7BCC3;padding-top:56px;}
.footer-inner{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.08);}
.footer-logo{height:34px;filter:invert(1) brightness(1.6);margin-bottom:14px;}
.footer-brand p{font-size:13.5px;color:#8A9099;margin:0;}
.footer-links,.footer-contact{display:flex;flex-direction:column;gap:10px;font-size:14px;}
.footer-links a:hover,.footer-contact a:hover{color:#fff;}
.footer-bottom{padding:20px 28px;font-size:12.5px;color:#7B818A;}

/* mobile call fab */
.mobile-call-fab{
  display:none;position:fixed;bottom:20px;right:20px;width:54px;height:54px;border-radius:50%;
  background:var(--volt);align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(0,0,0,.28);z-index:60;
}
.mobile-call-fab .i{width:22px;height:22px;fill:#241C00;}

/* scroll reveal (progressive enhancement: JS adds .reveal before observing,
   so content stays visible if JS fails) */
.service-card.reveal,.step.reveal,.value-list li.reveal{opacity:0;transform:translateY(16px);transition:opacity .5s ease, transform .5s ease;}
.service-card.reveal.in,.step.reveal.in,.value-list li.reveal.in{opacity:1;transform:none;}

/* ===== Responsive ===== */
@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr;padding-top:40px;}
  .hero-visual{order:-1;min-height:220px;}
  .about-inner,.zone-inner,.contact-inner{grid-template-columns:1fr;}
  .service-grid{grid-template-columns:repeat(2,1fr);}
  .steps{grid-template-columns:repeat(2,1fr);}
  .breakers{grid-template-columns:repeat(3,1fr);}
  .footer-inner{grid-template-columns:1fr 1fr;}
}
@media (max-width:720px){
  .main-nav,.header-actions{display:none;}
  .nav-toggle{display:flex;}
  .site-header.open .main-nav{
    display:flex;flex-direction:column;position:absolute;top:76px;left:0;right:0;background:var(--ink);
    padding:18px 28px 26px;gap:4px;border-bottom:1px solid rgba(255,255,255,.08);
  }
  .site-header.open .header-actions{
    display:flex;position:absolute;top:calc(76px + 210px);left:0;right:0;background:var(--ink);padding:0 28px 24px;
  }
  .service-grid{grid-template-columns:1fr;}
  .steps{grid-template-columns:1fr;}
  .breakers{grid-template-columns:repeat(2,1fr);}
  section{padding:64px 0;}
  .footer-inner{grid-template-columns:1fr;}
  .mobile-call-fab{display:flex;}
}
