/* ===========================================================
   VOLTLINE ELECTRICAL — shared stylesheet
   Blue + yellow contrast on deep ink · Bebas Neue + Hanken Grotesk
   =========================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:      oklch(15% 0.028 262);
  --ink-2:    oklch(19% 0.034 260);
  --ink-3:    oklch(24% 0.04 260);
  --line:     oklch(30% 0.04 260);
  --cobalt:   oklch(56% 0.18 256);
  --cobalt-b: oklch(66% 0.19 250);
  --cobalt-d: oklch(38% 0.12 258);
  --volt:     oklch(87% 0.19 101);
  --volt-d:   oklch(78% 0.17 95);
  --chalk:    oklch(97% 0.008 95);
  --mute:     oklch(70% 0.025 260);
  --mute-d:   oklch(58% 0.03 260);
  --on-volt:  oklch(22% 0.05 90);

  --ff-display: 'Bebas Neue', sans-serif;
  --ff-body:    'Hanken Grotesk', sans-serif;
  --wrap: 1200px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: min(92%, var(--wrap)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--ff-display); font-weight: 400; letter-spacing: 0.005em; line-height: 0.95; }

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

img { max-width: 100%; display: block; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-body); font-weight: 600;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--volt);
}
.eyebrow svg { width: 15px; height: 15px; }
.eyebrow.on-band { color: var(--volt); }

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-body); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 8px; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-volt { background: var(--volt); color: var(--on-volt); }
.btn-volt:hover { background: var(--volt-d); transform: translateY(-2px); }
.btn-cobalt { background: var(--cobalt); color: var(--chalk); }
.btn-cobalt:hover { background: var(--cobalt-b); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--chalk); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cobalt-b); }

/* ── RIBBON + HEADER ─────────────────────────────── */
.ribbon {
  background: var(--cobalt-d); color: var(--chalk);
  text-align: center; font-size: 13px; padding: 8px 16px; letter-spacing: 0.01em;
}
.ribbon strong { color: var(--volt); }

header.site {
  position: sticky; top: 0; z-index: 60;
  background: oklch(15% 0.028 262 / 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo .bolt {
  width: 42px; height: 42px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--volt); color: var(--on-volt); border-radius: 10px;
  box-shadow: 0 0 0 1px oklch(87% 0.19 101 / 0.35), 0 6px 18px -8px oklch(87% 0.19 101 / 0.6);
}
.logo .bolt svg { width: 23px; height: 23px; }
.logo .name { display: flex; flex-direction: column; line-height: 1; }
.logo .name b { font-family: var(--ff-display); font-size: 27px; letter-spacing: 0.05em; color: var(--chalk); white-space: nowrap; }
.logo .name small {
  font-family: var(--ff-body); font-weight: 600; font-size: 9.5px;
  letter-spacing: 0.205em; text-transform: uppercase; color: var(--cobalt-b); margin-top: 4px; white-space: nowrap;
}
nav.main { display: flex; gap: 30px; }
nav.main a { font-weight: 500; font-size: 15px; color: var(--mute); transition: color 0.15s ease; position: relative; }
nav.main a:hover { color: var(--chalk); }
nav.main a.active { color: var(--chalk); }
nav.main a.active::after {
  content: ''; position: absolute; left: 0; bottom: -27px; width: 100%; height: 2px; background: var(--volt);
}
.head-right { display: flex; align-items: center; gap: 16px; }
.head-tel { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--chalk); }
.head-tel svg { width: 17px; height: 17px; color: var(--volt); }
.menu-btn { display: none; background: none; border: none; color: var(--chalk); cursor: pointer; }

/* Mobile drawer */
.mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 10px 4% 18px; border-bottom: 1px solid var(--line); background: var(--ink-2); }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 6px; color: var(--mute); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .btn { margin-top: 10px; justify-content: center; }

/* ── HERO (homepage) ─────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('../images/hero-panel.jpg'); background-size: cover; background-position: 70% center; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, oklch(15% 0.028 262 / 0.86) 38%, oklch(15% 0.028 262 / 0.25) 64%, transparent 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 22%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 620px; padding: 112px 0 124px; }
.hero h1 { font-size: clamp(58px, 8.5vw, 104px); margin: 22px 0 0; letter-spacing: 0.01em; }
.hero h1 .y { color: var(--volt); }
.hero .lede { font-size: 19px; color: var(--mute); max-width: 510px; margin: 24px 0 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; }
.hero-ticks li { list-style: none; display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 15px; color: var(--chalk); }
.hero-ticks svg { width: 19px; height: 19px; color: var(--volt); flex-shrink: 0; }

/* ── PAGE BANNER (sub-pages) ─────────────────────────────── */
.banner { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--ink-2); }
.banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.32; }
.banner-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 12%, oklch(15% 0.028 262 / 0.55) 60%, oklch(15% 0.028 262 / 0.78) 100%); }
.banner .wrap { position: relative; z-index: 2; padding: 78px 0 70px; }
.banner h1 { font-size: clamp(46px, 6.5vw, 84px); margin: 16px 0 0; }
.banner h1 .y { color: var(--volt); }
.banner p { color: var(--mute); font-size: 18px; max-width: 560px; margin-top: 16px; }
.crumb { font-size: 13px; color: var(--mute-d); letter-spacing: 0.03em; }
.crumb a:hover { color: var(--volt); }

/* ── TRUST STRIP ─────────────────────────────── */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 30px; padding: 22px 0; }
.trust span { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--mute); }
.trust svg { width: 18px; height: 18px; color: var(--cobalt-b); }

/* ── SECTIONS ─────────────────────────────── */
section.block { padding: 96px 0; }
section.block.tight { padding-top: 0; }
.sec-head { max-width: 680px; margin-bottom: 50px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(40px, 5.5vw, 60px); margin: 14px 0 16px; }
.sec-head h2 .y { color: var(--volt); }
.sec-head p { color: var(--mute); font-size: 18px; }

/* ── SERVICES GRID ─────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 30px 28px 32px; transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  display: block;
}
.svc:hover { transform: translateY(-5px); border-color: var(--cobalt); background: var(--ink-3); }
.svc-ico {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 11px;
  background: oklch(56% 0.18 256 / 0.16); color: var(--cobalt-b); margin-bottom: 20px;
  transition: background 0.18s ease, color 0.18s ease;
}
.svc:hover .svc-ico { background: var(--volt); color: var(--on-volt); }
.svc-ico svg { width: 26px; height: 26px; }
.svc h3 { font-size: 27px; letter-spacing: 0.02em; margin-bottom: 9px; color: var(--chalk); }
.svc p { color: var(--mute); font-size: 15.5px; line-height: 1.6; }
.svc .go { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-weight: 600; font-size: 14px; color: var(--volt); }
.svc .go svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.svc:hover .go svg { transform: translateX(4px); }

/* ── CONTRAST BAND (blue) ─────────────────────────────── */
.band { background: radial-gradient(120% 140% at 88% 0%, oklch(40% 0.14 258) 0%, transparent 55%), var(--cobalt-d); border-top: 1px solid var(--cobalt); border-bottom: 1px solid var(--cobalt); }
.band .wrap { padding: 88px 0; }
.band-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 52px; }
.band h2 { font-size: clamp(40px, 5.5vw, 58px); max-width: 600px; }
.band h2 .y { color: var(--volt); }
.band-top p { color: oklch(88% 0.04 250); max-width: 360px; font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { border-left: 2px solid var(--volt); padding-left: 20px; }
.stat .n { font-family: var(--ff-display); font-size: 60px; line-height: 0.9; color: var(--volt); }
.stat .l { font-weight: 600; font-size: 15px; color: var(--chalk); margin-top: 8px; }
.stat .s { font-size: 13.5px; color: oklch(82% 0.05 252); margin-top: 3px; }

/* ── SPLIT (why / feature) ─────────────────────────────── */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.split.rev { grid-template-columns: 0.95fr 1.05fr; }
.split-img { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--ink-2); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(36px, 5vw, 54px); margin: 14px 0 10px; }
.split h2 .y { color: var(--volt); }
.split .lead { color: var(--mute); font-size: 17px; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 26px 0; }
.checks li { display: flex; gap: 12px; font-size: 16px; color: var(--chalk); }
.checks svg { width: 20px; height: 20px; color: var(--volt); flex-shrink: 0; margin-top: 3px; }
.mini-stats { display: flex; gap: 30px; flex-wrap: wrap; margin: 26px 0 30px; }
.mini-stats .n { font-family: var(--ff-display); font-size: 40px; color: var(--volt); line-height: 0.9; }
.mini-stats .l { font-size: 13.5px; color: var(--mute); }

/* ── STEPS ─────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px; }
.step .num { font-family: var(--ff-display); font-size: 44px; color: var(--cobalt-b); line-height: 0.8; margin-bottom: 14px; }
.step h3 { font-size: 24px; letter-spacing: 0.02em; margin-bottom: 8px; color: var(--chalk); }
.step p { color: var(--mute); font-size: 15px; }

/* ── REVIEWS ─────────────────────────────── */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; position: relative; }
.review .ph { position: absolute; top: 18px; right: 18px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-d); }
.review .stars { color: var(--volt); letter-spacing: 2px; font-size: 17px; margin-bottom: 14px; }
.review blockquote { color: var(--chalk); font-size: 16px; line-height: 1.55; }
.review cite { display: block; margin-top: 18px; font-style: normal; font-weight: 600; font-size: 14px; color: var(--mute); }
.review cite small { display: block; font-weight: 400; font-size: 12.5px; color: var(--mute-d); margin-top: 2px; }

/* ── AREA CHIPS ─────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 18px; border-radius: 30px; border: 1px solid var(--line); background: var(--ink-2); color: var(--mute); font-weight: 500; font-size: 14.5px; }
.chip.home { background: var(--volt); color: var(--on-volt); border-color: var(--volt); font-weight: 600; }

/* ── SERVICE DETAIL ROWS ─────────────────────────────── */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.detail:last-child { border-bottom: none; }
.detail--text-only { grid-template-columns: minmax(0, 1fr); }
.detail--text-only > div { max-width: 46rem; }
.detail.rev .detail-media { order: 2; }
.detail-media { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/11; background: var(--ink-2); }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail h2 { font-size: clamp(34px, 4.4vw, 48px); margin: 12px 0 12px; }
.detail h2 .y { color: var(--volt); }
.detail p { color: var(--mute); font-size: 16.5px; }
.detail .checks { margin-top: 20px; }

/* ── PROJECTS GALLERY ─────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.proj { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); position: relative; background: var(--ink-2); }
.proj img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.4s ease; }
.proj:hover img { transform: scale(1.04); }
.proj-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px 20px; background: linear-gradient(0deg, oklch(12% 0.03 262 / 0.92), transparent); }
.proj-cap .tag { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--volt); font-weight: 600; }
.proj-cap h3 { font-size: 24px; letter-spacing: 0.02em; color: var(--chalk); margin-top: 4px; }
.proj-cap p { font-size: 14px; color: var(--mute); margin-top: 4px; }

/* ── BLOG LIST ─────────────────────────────── */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.18s ease, border-color 0.18s ease; }
.post:hover { transform: translateY(-5px); border-color: var(--cobalt); }
.post .thumb { aspect-ratio: 16/10; overflow: hidden; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.post .meta { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt-b); font-weight: 600; }
.post h3 { font-size: 23px; letter-spacing: 0.015em; color: var(--chalk); margin: 8px 0 8px; line-height: 1; }
.post p { color: var(--mute); font-size: 14.5px; flex: 1; }
.post .go { margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--volt); }

/* ── CONTACT ─────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.form { background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 36px 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--mute); margin-bottom: 7px; letter-spacing: 0.02em; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--ink); border: 1px solid var(--line); border-radius: 9px;
  padding: 13px 15px; color: var(--chalk); font-family: var(--ff-body); font-size: 15.5px;
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cobalt-b); }
.field textarea { resize: vertical; min-height: 130px; }
.contact-aside .info-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 30px 30px; margin-bottom: 18px; }
.info-card h3 { font-size: 26px; color: var(--chalk); letter-spacing: 0.02em; margin-bottom: 16px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .ic { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: oklch(56% 0.18 256 / 0.16); color: var(--volt); }
.info-row .ic svg { width: 19px; height: 19px; }
.info-row .lab { font-size: 12.5px; color: var(--mute-d); letter-spacing: 0.04em; text-transform: uppercase; }
.info-row .val { font-size: 16px; font-weight: 600; color: var(--chalk); }
.info-row .val a:hover { color: var(--volt); }

/* ── ABOUT ─────────────────────────────── */
.about-hero { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.about-portrait { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/5; background: var(--ink-2); }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.prose p { color: var(--mute); font-size: 17px; margin-bottom: 16px; }
.prose p strong { color: var(--chalk); font-weight: 600; }

/* ── CTA ─────────────────────────────── */
.cta-final { padding: 0 0 96px; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 20px;
  background: radial-gradient(120% 160% at 12% 0%, oklch(56% 0.18 256 / 0.55) 0%, transparent 52%), var(--ink-2);
  border: 1px solid var(--line); padding: 66px 60px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px;
}
.cta-box h2 { font-size: clamp(38px, 5vw, 56px); max-width: 620px; }
.cta-box h2 .y { color: var(--volt); }
.cta-box .sub { color: var(--mute); margin-top: 12px; font-size: 17px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ── FOOTER ─────────────────────────────── */
footer.site { border-top: 1px solid var(--line); background: var(--ink-2); padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
footer.site h5 { font-family: var(--ff-body); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-d); margin-bottom: 16px; }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a { color: var(--mute); font-size: 15px; transition: color 0.15s ease; }
.foot-links a:hover { color: var(--volt); }
.foot-about { color: var(--mute); font-size: 15px; max-width: 280px; margin-top: 16px; }
.foot-bot { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--mute-d); font-size: 13.5px; }
.foot-bot .stamp { color: var(--volt); }

/* ── REVEAL ─────────────────────────────── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1000px) {
  .svc-grid, .posts, .reviews { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  nav.main, .head-tel { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev, .contact-grid, .about-hero { grid-template-columns: 1fr; gap: 34px; }
  .split-img, .about-portrait { order: -1; }
  .detail, .detail.rev { grid-template-columns: 1fr; gap: 28px; }
  .detail.rev .detail-media { order: -1; }
  .gallery { grid-template-columns: 1fr; }
  .hero-bg { background-position: 70% 24%; }
  .hero-scrim { background: linear-gradient(180deg, oklch(15% 0.028 262 / 0.3) 0%, oklch(15% 0.028 262 / 0.5) 26%, oklch(15% 0.028 262 / 0.86) 46%, var(--ink) 56%); }
}
@media (max-width: 560px) {
  .svc-grid, .posts, .reviews, .steps, .stats, .foot-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 0 76px; }
  .cta-box { padding: 44px 26px; }
  .cta-box, .band .wrap, .form { padding-left: 24px; padding-right: 24px; }
  section.block { padding: 70px 0; }
  /* keep the header to just brand + menu so the wordmark never collides */
  .head-right .btn { display: none; }
  .logo .bolt { width: 38px; height: 38px; }
  .logo .bolt svg { width: 21px; height: 21px; }
  .logo .name b { font-size: 23px; }
  .logo .name small { font-size: 9px; letter-spacing: 0.17em; }
  .ribbon { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .btn:hover, .svc:hover, .post:hover, .proj:hover img { transform: none; }
}
