/* =====================================================================
   BLACK SPUR ENERGY — BKSG HOLDINGS, LLC
   DARK theme: dusk-switchyard #1B2637 / tower-white #EFF2F6
   Arc-cobalt #5586E8 / insulator-glaze #D7DCE3 / rail-grey #9299A6
   bus-slate #243043 panels / trench-black #10161F deep wells
   ===================================================================== */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.site-body {
  margin: 0;
  background-color: #1B2637;
  color: #EFF2F6;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

body.page-highlight-body { background-color: #1B2637; color: #EFF2F6; font-family: "Segoe UI", Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; margin: 0; }

.shared-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5 {
  color: #EFF2F6;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p { color: #9299A6; margin: 0 0 1.1em; }
a { color: #9299A6; text-decoration: none; transition: color 0.18s ease; }
a:hover { color: #5586E8; }

/* ---------- shared page hero for secondary pages ---------- */
.page-hero {
  background-color: #10161F;
  border-bottom: 1px solid #243043;
  padding: 64px 0 58px;
  text-align: center;
}
.page-hero h1 { font-size: 38px; margin-top: 10px; }
.page-hero .eyebrow-chip { margin-bottom: 16px; }
.page-hero .page-lead { max-width: 780px; margin: 0 auto; }

/* =====================================================================
   INSULATOR-STRING NAV
   ===================================================================== */
.insulator-string-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #243043;
  width: 100%;
  transition: box-shadow 0.25s ease;
}
.insulator-string-nav.is-scrolled { box-shadow: 0 6px 14px 0 #10161F; }

.conductor-band {
  position: relative;
  height: 20px;
  background-color: #10161F;
}
.conductor-line {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 3px;
  height: 3px;
  background-color: #10161F;
  border-top: 2px solid #9299A6;
}

.insulator-string {
  position: absolute;
  top: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.insulator-string-a { left: 24%; }
.insulator-string-b { right: 24%; }
.insulator-string i {
  display: block;
  width: 12px;
  height: 4px;
  margin: 1px 0;
  border-radius: 3px;
  background-color: #D7DCE3;
}
.spark-spot {
  position: absolute;
  bottom: -5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #5586E8;
}
.insulator-string .spark-spot { right: 0px; }

.nav-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lock { display: flex; align-items: center; gap: 14px; }
.tower-glyph { display: inline-flex; align-items: center; }
.tower-glyph.small svg { display: block; }
.wordstack { display: flex; flex-direction: column; line-height: 1.1; }
.wordmark {
  color: #EFF2F6;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wordmark.small { font-size: 18px; letter-spacing: 0.14em; margin-top: 10px; }
.sub-label {
  color: #9299A6;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 3px;
}

.site-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}
.site-links a {
  color: #9299A6;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-links a:hover { color: #5586E8; }
.site-links a.active { color: #5586E8; }
.insulator-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #5586E8;
  flex: 0 0 auto;
}

.mobile-nav-toggle {
  display: none;
  background: #10161F;
  border: 1px solid #5586E8;
  border-radius: 6px;
  padding: 8px 6px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  min-width: 44px;
}
.mobile-nav-toggle span { display: block; height: 2px; width: 18px; background: #EFF2F6; }

/* =====================================================================
   SUBSTATION-YARD HERO
   ===================================================================== */
.substation-yard-hero {
  background-color: #1B2637;
}

.hero-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 76px 24px 60px;
  text-align: center;
}

.eyebrow-chip {
  display: inline-block;
  background-color: #5586E8;
  color: #10161F;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 3px;
}

.hero-title {
  color: #EFF2F6;
  font-size: 52px;
  line-height: 1.12;
  max-width: 1000px;
  margin: 26px auto 22px;
}
.arc-word { color: #5586E8; }

.hero-subcopy {
  color: #9299A6;
  font-size: 19px;
  max-width: 760px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

.hero-cta-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  padding: 15px 30px;
  border-radius: 4px;
}
.btn-primary {
  background-color: #5586E8;
  color: #10161F;
}
.btn-primary:hover { background-color: #6a97f0; color: #10161F; }
.btn-ghost {
  background: transparent;
  color: #EFF2F6;
  border: 2px solid #EFF2F6;
}
.btn-ghost:hover { border-color: #5586E8; color: #5586E8; }
.btn-small { padding: 11px 20px; font-size: 14px; }

/* ---------- switchyard graphic band ---------- */
.switchyard-band {
  background-color: #243043;
  border-top: 1px solid #5586E8;
  border-bottom: 1px solid #5586E8;
  padding: 18px 0 0;
  position: relative;
  overflow: hidden;
}
.sw-content {
  max-width: 1240px;
  margin: 0 auto;
  height: 148px;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}

/* transmission tower */
.transmission-tower {
  position: relative;
  width: 190px;
  flex: 0 0 190px;
}
.tw-leg { position: absolute; width: 3px; height: 140px; bottom: 0; background: #10161F; transform-origin: bottom; }
.tw-leg.a { left: 52px; transform: rotate(-10deg); }
.tw-leg.b { right: 52px; transform: rotate(10deg); }
.tw-cross { position: absolute; background: #10161F; height: 2px; left: 38px; right: 38px; }
.tw-cross.a { top: 34px; }
.tw-cross.b { top: 74px; }
.tw-peak { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 2px; height: 24px; background: #10161F; }
.tw-arm { position: absolute; height: 3px; width: 120px; background: #10161F; left: 50%; transform: translateX(-50%); }
.tw-arm.a { top: 36px; }
.tw-arm.b { top: 76px; }
.arm-ins-glaze {
  position: absolute;
  width: 8px;
  height: 3px;
  border-radius: 2px;
  background: #D7DCE3;
  top: 39px;
  transform: translateX(-50%);
}
.arm-ins-glaze.a1 { left: 40px; }
.arm-ins-glaze.a2 { left: 150px; }
.arm-ins-glaze.a3 { left: 95px; }
.arm-ins-glaze.a4 { top: 79px; left: 80px; }
.arm-ins-glaze.b1 { top: 79px; left: 120px; }

/* bus bar run + disconnect switch */
.bus-run {
  position: relative;
  flex: 1 1 auto;
  min-height: 100%;
}
.bus-rail {
  position: absolute;
  left: 0; right: 0; top: 54px;
  height: 6px;
  background: #9299A6;
}
.bus-post {
  position: absolute;
  width: 12px;
  height: 42px;
  top: 14px;
  background: #D7DCE3;
}
.bus-post.p1 { left: 10%; }
.bus-post.p2 { left: 50%; transform: translateX(-50%); }
.bus-post.p3 { right: 10%; }
.bus-glaze { position: absolute; }
.bus-glaze.g1 { left: 10%; }
.bus-glaze.g2 { left: 50%; transform: translateX(-50%); }
.bus-glaze.g3 { right: 10%; }

.disc-switch {
  position: absolute;
  left: 38%;
  top: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5586E8;
  box-shadow: 0 0 0 0 #5586E8;
}

/* transformer, arrester, nameplate */
.yard-transform {
  position: relative;
  flex: 0 0 320px;
}
.tr-bush {
  position: absolute;
  top: 8px;
  width: 22px;
  height: 40px;
  background: #D7DCE3;
  border-radius: 6px 6px 2px 2px;
}
.tr-bush.a { left: 120px; }
.tr-bush.b { left: 185px; }
.tr-tank {
  position: absolute;
  top: 46px;
  left: 110px;
  width: 118px;
  height: 88px;
  border-radius: 10px;
  background: #10161F;
}
.tr-fin { position: absolute; top: 18px; width: 7px; height: 56px; background: #45809b; border-radius: 2px; }
.tr-fin.f1 { left: 26px; }
.tr-fin.f2 { left: 48px; }
.tr-fin.f3 { left: 70px; }
.tr-fin.f4 { left: 92px; }
.arrester {
  position: absolute;
  top: 60px; right: 38px; left: auto;
}
.arrester .arr { display: block; width: 18px; height: 66px; background: #9299A6; border-radius: 9px; }
.arrester .arr-rib { display: block; position: absolute; left: -2px; width: 22px; height: 5px; background: #D7DCE3; border-radius: 2px; }
.arr-rib.r1 { top: 12px; }
.arr-rib.r2 { top: 32px; }
.arr-rib.r3 { top: 52px; }
.arr-rib.r4 { top: 72px; }
.nameplate {
  position: absolute;
  top: 30px; right: 4px;
  width: 64px;
  background: #10161F;
  border: 1px solid #5586E8;
  border-radius: 3px;
  text-align: center;
  padding: 4px 2px;
  font-family: "Courier New", monospace;
}
.nameplate em { display: block; font-size: 10px; color: #EFF2F6; font-style: normal; letter-spacing: 0.06em; }
.nameplate i { display: block; font-size: 9px; color: #5586E8; font-style: normal; letter-spacing: 0.06em; }

.switchyard-ground {
  display: block;
  height: 10px;
  width: 100%;
  border-top: 4px solid #9299A6;
  margin-top: 10px;
  background: #10161F;
}

/* =====================================================================
   FEEDER-CIRCUIT ROWS
   ===================================================================== */
.feeder-circuit-rows {
  background-color: #1B2637;
  padding: 74px 0 60px;
}
.rows-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.rows-heading { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.rows-heading h2 { font-size: 34px; }
.rows-heading p { font-size: 17px; }

.feeder-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  background-color: #243043;
  border: 1px solid #5586E8;
  border-radius: 6px;
  margin-bottom: 11px;
  overflow: hidden;
}
.relay-cabinet {
  flex: 0 0 92px;
  background-color: #10161F;
  display: flex;
  justify-content: center;
  align-items: center;
}
.relay-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #243043;
  border: 1px solid #5586E8;
  border-radius: 4px;
  padding: 14px 10px;
}
.relay-panel .lamp { width: 8px; height: 8px; border-radius: 50%; display: block; }
.relay-panel .lamp.on { background: #5586E8; }
.relay-panel .lamp:not(.on) { background: #243043; border: 1px solid #5586E8; }
.relay-panel .toggle {
  width: 20px; height: 8px;
  border: 1px solid #5586E8;
  border-radius: 4px;
  display: block;
  position: relative;
}
.relay-panel .toggle::after { content: ""; position: absolute; top: 2px; left: 11px; width: 3px; height: 2px; background: #5586E8; }

.feeder-body { flex: 1 1 auto; padding: 26px 28px; }
.feeder-body h3 { font-size: 22px; margin-bottom: 10px; }
.feeder-body p { margin: 0; font-size: 16px; }

.feeder-tag {
  flex: 0 0 130px;
  margin: 22px 22px 22px 0;
  background: #10161F;
  border: 1px solid #243043;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: "Courier New", monospace;
}
.lamp-dot { width: 8px; height: 8px; border-radius: 50%; background: #5586E8; display: block; }
.feeder-tag em { color: #EFF2F6; font-style: normal; font-size: 14px; letter-spacing: 0.06em; }
.kv-chip {
  background: #243043;
  color: #9299A6;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.06em;
}

/* =====================================================================
   METRIC BAND
   ===================================================================== */
.metric-band {
  background-color: #10161F;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid #243043;
  border-bottom: 1px solid #243043;
  padding: 0;
}
.metric-zone {
  flex: 1 1 220px;
  max-width: 300px;
  text-align: center;
  padding: 44px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.metric-zone strong {
  color: #EFF2F6;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
}
.metric-label {
  color: #5586E8;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-variant: small-caps;
}

/* =====================================================================
   STATEMENT BAND
   ===================================================================== */
.statement-band { background-color: #243043; padding: 64px 0; }
.manifesto {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 0 64px;
  border-left: 4px solid #5586E8;
  color: #EFF2F6;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 400;
  font-style: normal;
}
.manifesto cite {
  display: block;
  margin-top: 20px;
  color: #9299A6;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
}

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band {
  background-color: #1B2637;
  text-align: center;
  padding: 78px 24px;
}
.cta-band h2 { color: #5586E8; font-size: 34px; }
.cta-band p { color: #9299A6; font-size: 17px; max-width: 720px; margin: 0 auto 30px; }

/* =====================================================================
   GROUND-GRID FOOTER
   ===================================================================== */
.ground-grid-footer {
  background-color: #10161F;
  border-top: 1px solid #5586E8;
  position: relative;
  z-index: 1;
}
.earth-bus {
  position: relative;
  height: 26px;
  background: #10161F;
  border-bottom: 1px solid #243043;
}
.eb-line {
  position: absolute;
  left: 8%; right: 8%; top: 4px;
  height: 4px;
  background: #9299A6;
}
.eb-rod {
  position: absolute;
  top: 2px;
  width: 3px;
  height: 18px;
  background: #9299A6;
}
.eb-rod.a { left: 30%; }
.eb-rod.b { left: 50%; }
.eb-rod.c { right: 30%; }
.eb-weld {
  position: absolute;
  top: 17px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #5586E8;
}
.eb-weld.w1 { left: 30%; }
.eb-weld.w2 { left: 50%; }
.eb-weld.w3 { right: 30%; }

.footer-well {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 24px 30px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.footer-zone { flex: 1 1 260px; }
.foot-descriptor { color: #9299A6; font-size: 15px; max-width: 300px; margin-top: 8px; }
.zone-b { display: flex; gap: 44px; }
.linkgroup { display: flex; flex-direction: column; gap: 10px; }
.fg-label { color: #5586E8; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 4px; }
.linkgroup a, .zone-c .contact-line { color: #9299A6; font-size: 15px; }
.linkgroup a:hover, .contact-line:hover { color: #5586E8; }
.zone-c { display: flex; flex-direction: column; gap: 8px; }
.contact-addr { color: #9299A6; font-size: 15px; }
.footer-legal {
  text-align: center;
  border-top: 1px solid #243043;
  padding: 20px 24px;
  color: #9299A6;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

/* =====================================================================
   SERVICES PAGE
   ===================================================================== */
.service-block-section { background-color: #1B2637; padding: 66px 0 40px; }
.service-lead { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.service-lead h2 { font-size: 32px; }
.service-lead p { font-size: 17px; }

.service-body-section {
  display: flex;
  align-items: flex-start;
  gap: 0;
  background-color: #243043;
  border: 1px solid #5586E8;
  border-radius: 6px;
  margin-bottom: 20px;
  overflow: hidden;
}
.service-index-col {
  flex: 0 0 74px;
  background-color: #10161F;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}
.service-index-col b {
  font-family: "Courier New", monospace;
  color: #5586E8;
  font-size: 20px;
}
.service-body { flex: 1 1 auto; padding: 26px 30px; }
.service-body h3 { font-size: 21px; }
.service-body p { margin-bottom: 0; font-size: 16px; }
.delivery-section { background-color: #1B2637; padding: 20px 0 60px; }
.process-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.process-step {
  flex: 1 1 200px;
  background-color: #243043;
  border: 1px solid #243043;
  border-top: 3px solid #5586E8;
  border-radius: 6px;
  padding: 22px;
}
.process-step .step-no { font-family: "Courier New", monospace; color: #5586E8; font-size: 13px; letter-spacing: 0.1em; }
.process-step h4 { font-size: 17px; margin-top: 12px; }
.process-step p { font-size: 15px; margin: 0; }
.step-port { border: 1px solid #3a4b68; }

/* =====================================================================
   CONTACT PAGE
   ===================================================================== */
.contact-layout { display: flex; gap: 34px; align-items: flex-start; flex-wrap: wrap; }
.contact-form-panel { flex: 1 1 460px; background-color: #243043; border: 1px solid #5586E8; border-radius: 8px; padding: 30px; }
.contact-form-panel h2 { font-size: 24px; }
.contact-form-panel label { display: block; color: #EFF2F6; font-size: 14px; font-weight: 600; margin: 18px 0 6px; }
.contact-form-panel input[type="text"],
.contact-form-panel input[type="email"],
.contact-form-panel textarea {
  width: 100%;
  background-color: #10161F;
  border: 1px solid #3a4b68;
  color: #EFF2F6;
  font-size: 16px;
  border-radius: 5px;
  padding: 12px 14px;
  font-family: inherit;
}
.contact-form-panel input:focus, .contact-form-panel textarea:focus { outline: none; border-color: #5586E8; }
.form-note { color: #9299A6; font-size: 14px; }
.form-status { margin-top: 16px; font-weight: 600; min-height: 24px; }
.form-status.ok { color: #D7DCE3; }
.form-status.err { color: #E85A5A; }

.contact-info-col { flex: 1 1 300px; }
.info-block { background-color: #243043; border: 1px solid #243043; border-radius: 8px; padding: 24px; margin-bottom: 20px; }
.info-block .fg-label { display: block; }
.info-block address { font-style: normal; color: #9299A6; font-size: 16px; line-height: 1.7; margin-top: 10px; }
.info-block .contact-line { display: block; margin-top: 6px; }
.hours-row { display: flex; justify-content: space-between; color: #9299A6; font-size: 15px; padding: 5px 0; border-bottom: 1px solid #2c3b54; }
.hours-row:last-child { border-bottom: none; }
.hours-row b { color: #EFF2F6; font-weight: 600; }

/* FAQ accordion */
.faq-list { margin-top: 26px; }
.faq-item { background-color: #10161F; border: 1px solid #243043; border-radius: 6px; margin-bottom: 10px; overflow: hidden; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 18px;
  background: #10161F;
  border: none;
  color: #EFF2F6;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.faq-q .plus { color: #5586E8; font-size: 22px; line-height: 1; }
.faq-a { display: none; padding: 0 18px 16px; color: #9299A6; font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 940px) {
  .site-links {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background-color: #10161F;
    border-bottom: 1px solid #5586E8;
    padding: 12px 22px 16px;
    gap: 4px;
  }
  .nav-shell { position: relative; }
  .site-links.open { display: flex; }
  .site-links a { padding: 10px 0; border-bottom: 1px solid #243043; }
  .insulator-dot { display: none; }
  .mobile-nav-toggle { display: inline-flex; }
  .hero-title { font-size: 38px; }
  .sw-content { position: relative; height: 120px; overflow: hidden; }
  .bus-run { display: none; }
  .yard-transform { flex: 0 0 260px; }
  .feeder-tag { flex: 0 0 96px; }
  .footer-well { gap: 26px; }
  .manifesto { font-size: 20px; }
}

@media (max-width: 620px) {
  .hero-title { font-size: 30px; }
  .wordmark { font-size: 15px; }
  .sub-label { font-size: 8px; }
  .brand-lock { gap: 8px; }
  .tower-glyph svg[width="34"] { width: 26px; height: 36px; }
  .relay-cabinet { flex: 0 0 62px; }
  .feeder-body { padding: 20px 16px; }
  .feeder-body h3 { font-size: 19px; }
  .feeder-tag { flex: 0 0 76px; margin: 14px 10px 14px 0; }
  .metric-zone strong { font-size: 34px; }
  .page-hero h1 { font-size: 30px; }
  .contact-layout { flex-direction: column; }
}
