/* ============================================================
   Spotlight Electric — Design Tokens
   Palette: Ink Navy #0F2340, Circuit Blue #1E5FA8, Spark Amber #F5A623,
            Cloud White #F7F9FC, Slate #4B5768, Line Gray #DDE3EC
   Type: Space Grotesk (display) / Inter (body) / IBM Plex Mono (specs)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
  --ink: #121417;
  --ink-2: #1C1F24;
  --amber: #2F80FF;
  --amber-dark: #1F63D1;
  --cloud: #F4F3F0;
  --white: #FFFFFF;
  --slate: #4A4F56;
  --slate-light: #7C828A;
  --line: #E1DFDA;
  --line-dark: #2C2F35;
  --radius: 6px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.015em;
}

p { color: var(--slate); margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

.mono {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.02em;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------- Skip link / focus -------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white);
  padding: 12px 20px; z-index: 200; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* -------------------- Header -------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 19px; color: var(--white);
}
.brand .bolt { color: var(--amber); }
.brand-sub {
  display: block; font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px; font-weight: 500; color: #8B92A0;
  letter-spacing: 0.06em; margin-top: 1px;
}
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 14.5px; font-weight: 500; color: #B7BCC5;
  padding: 6px 2px; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); border-color: var(--amber); }
.header-cta {
  display: flex; align-items: center; gap: 14px;
}
.phone-link {
  font-family: 'IBM Plex Mono', monospace; font-size: 14px; font-weight: 500;
  color: var(--white); display: none;
}
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; }

@media (min-width: 861px) { .phone-link { display: inline; } }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: var(--white); }
.btn-amber:hover { background: var(--amber-dark); }
.btn-navy { background: var(--ink); color: var(--white); }
.btn-navy:hover { background: #081729; }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--amber-dark); color: var(--amber-dark); }
.btn-block { width: 100%; }

/* -------------------- Conduit signature line -------------------- */
.conduit {
  position: relative;
}
.conduit::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px);
  transform: translateX(-50%);
  z-index: 0;
}
@media (max-width: 700px) { .conduit::before { display: none; } }

.spark-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 4px rgba(245,166,35,.18);
  position: relative; z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .spark-dot { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(245,166,35,.18); }
  50% { box-shadow: 0 0 0 8px rgba(245,166,35,.08); }
}

/* -------------------- Hero -------------------- */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 75% 30%, black, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; font-weight: 500;
  color: var(--amber); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(32px, 4.4vw, 48px); color: var(--white); max-width: 15ch; }
.hero .lede { color: #C3CEE0; font-size: 17px; max-width: 46ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 22px 30px;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14);
}
.trust-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: #C3CEE0;
}
.trust-item .ico { color: var(--amber); flex-shrink: 0; }

/* -------------------- Quote card (form) -------------------- */
.quote-card {
  background: var(--white); color: var(--ink);
  border-radius: 10px; padding: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.quote-card h2 { font-size: 20px; margin-bottom: 4px; }
.quote-card .sub { font-size: 13.5px; color: var(--slate); margin-bottom: 20px; }

.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 12.5px; font-weight: 600; color: var(--ink);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: var(--cloud);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink); background: var(--white);
}
.field textarea { resize: vertical; min-height: 80px; }
.form-note { font-size: 12px; color: var(--slate-light); margin-top: 10px; text-align: center; }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .check {
  width: 46px; height: 46px; border-radius: 50%; background: #EAF6EF; color: #2E7D5B;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}

/* -------------------- Section basics -------------------- */
section { padding: 76px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 700;
  color: var(--amber-dark); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 10px; display: block;
}
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.section-alt { background: var(--cloud); }

/* -------------------- Service cards -------------------- */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--white); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 26px; transition: border-color .15s, transform .15s;
}
.svc-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.svc-card .ico {
  width: 42px; height: 42px; border-radius: 8px; background: var(--ink);
  color: var(--amber); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.svc-card h3 { font-size: 17px; margin-bottom: 8px; }
.svc-card p { font-size: 14px; margin-bottom: 0; }
.svc-card .link { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--ink); }

/* -------------------- Process (real sequence — numbered) -------------------- */
.process-list { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 700;
  color: var(--ink); border: 1.5px solid var(--ink); border-radius: 50%;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
}
.process-step h3 { font-size: 16.5px; margin-bottom: 6px; }
.process-step p { font-size: 14px; margin-bottom: 0; }

/* -------------------- Trust badges strip -------------------- */
.badge-strip {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.badge {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
  font-size: 13px; font-weight: 500; color: var(--ink); background: var(--white);
}
.badge .ico { color: var(--ink); }

/* -------------------- CTA banner -------------------- */
.cta-banner {
  background: var(--ink);
  background-image: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--white); text-align: center; padding: 64px 0;
}
.cta-banner h2 { color: var(--white); font-size: clamp(22px, 3vw, 30px); }
.cta-banner p { color: #B7BCC5; max-width: 46ch; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* -------------------- Footer -------------------- */
.site-footer { background: var(--ink); color: #A9B6CB; padding: 54px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.footer-grid h4 { color: var(--white); font-size: 14px; margin-bottom: 14px; }
.footer-grid p, .footer-grid a { font-size: 13.5px; color: #A9B6CB; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 22px; font-size: 12.5px; color: #7688A3;
}

/* -------------------- Page hero (interior pages) -------------------- */
.page-hero {
  background: var(--ink); color: var(--white); padding: 52px 0 44px;
}
.page-hero h1 { color: var(--white); font-size: clamp(28px, 4vw, 38px); max-width: 22ch; }
.page-hero p { color: #C3CEE0; max-width: 52ch; margin-bottom: 0; }
.breadcrumb {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #8CA3C6;
  margin-bottom: 14px;
}
.breadcrumb a:hover { color: var(--amber); }

/* -------------------- Detail rows (services page) -------------------- */
.detail-row {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center;
  padding: 46px 0; border-bottom: 1px solid var(--line);
}
.detail-row:last-child { border-bottom: none; }
.detail-row:nth-child(even) { direction: rtl; }
.detail-row:nth-child(even) > * { direction: ltr; }
@media (max-width: 800px) { .detail-row, .detail-row:nth-child(even) { direction: ltr; grid-template-columns: 1fr; gap: 18px; } }
.detail-visual {
  background: var(--ink); border: 1px solid var(--line-dark); border-radius: 10px;
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  color: var(--amber);
}
.detail-copy .tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; font-weight: 700; color: var(--amber-dark);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; display: block;
}
.detail-copy h3 { font-size: 21px; }
.detail-copy ul { margin-top: 14px; }
.detail-copy li {
  font-size: 14px; color: var(--slate); padding-left: 20px; position: relative; margin-bottom: 8px;
}
.detail-copy li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--amber);
}

/* -------------------- About page -------------------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 30px; }
.stat { border: 1.5px solid var(--ink); border-radius: 10px; padding: 20px; text-align: center; }
.stat .num { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; color: var(--ink); }
.stat .lbl { font-size: 12.5px; color: var(--slate); margin-top: 4px; }

.value-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
@media (max-width: 620px) { .value-list { grid-template-columns: 1fr; } }
.value-item { padding: 22px; border-left: 3px solid var(--amber); background: var(--cloud); border-radius: 0 8px 8px 0; }
.value-item h4 { font-size: 15.5px; margin-bottom: 6px; }
.value-item p { font-size: 13.5px; margin-bottom: 0; }

/* -------------------- Contact page -------------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info-list { margin-top: 26px; }
.contact-info-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .ico {
  width: 38px; height: 38px; border-radius: 8px; background: var(--ink);
  color: var(--amber); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item h4 { font-size: 14.5px; margin-bottom: 3px; }
.contact-info-item p { font-size: 13.5px; margin-bottom: 0; }
.service-area-box {
  border: 1px solid var(--line); border-radius: 10px; padding: 22px; margin-top: 24px; background: var(--cloud);
}
.service-area-box h4 { font-size: 14.5px; margin-bottom: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); color: var(--slate);
}

/* -------------------- Photo band / gallery -------------------- */
.photo-band {
  width: 100%; height: 340px; object-fit: cover; display: block;
}
@media (max-width: 700px) { .photo-band { height: 220px; } }

.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid img {
  width: 100%; height: 200px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--line);
}

.strip-scroll {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px;
  scroll-snap-type: x proximity;
}
.strip-scroll img {
  flex: 0 0 260px; height: 180px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--line); scroll-snap-align: start;
}

/* -------------------- Safety callout -------------------- */
.safety-box {
  border: 1.5px solid var(--amber-dark); background: #FFF7EC; border-radius: 10px;
  padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start;
}
.safety-box .ico {
  width: 34px; height: 34px; border-radius: 50%; background: var(--amber-dark); color: var(--white);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.safety-box h4 { font-size: 15px; margin-bottom: 6px; }
.safety-box p { font-size: 13.5px; margin-bottom: 0; color: var(--ink); }

.check-list li {
  font-size: 14.5px; color: var(--slate); padding-left: 24px; position: relative; margin-bottom: 10px;
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0; color: var(--amber-dark); font-weight: 700;
}
.x-list li {
  font-size: 14.5px; color: var(--slate); padding-left: 24px; position: relative; margin-bottom: 10px;
}
.x-list li::before {
  content: '✕'; position: absolute; left: 0; top: 0; color: #C0392B; font-weight: 700;
}
@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 0 0 0 26%; top: 65px; background: var(--ink);
    flex-direction: column; align-items: flex-start; padding: 26px; gap: 4px;
    transform: translateX(100%); transition: transform .25s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,.35); border-left: 1px solid var(--line-dark);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 12px 4px; border-bottom: 1px solid var(--line-dark); }
  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  section { padding: 54px 0; }
  .hero { padding: 44px 0 56px; }
}
