/* =========================================================
   VOLTWREN ELECTRIC — shared stylesheet
   Mobile-first. Everything outside the media query is the phone view.
   ========================================================= */

/* Self-hosted fonts, latin subset only, taken from the exact files Google was
   serving. Archivo ships as a real variable font (fvar/gvar/avar/HVAR), so one
   file covers 400-700 with true weight instances rather than faux bold. Barlow
   Condensed has no variable build on Google Fonts, so 600/700/800 stay as three
   static instances. font-display:swap keeps the old paint behaviour: text shows
   immediately in the fallback and reflows once, rather than blocking on FOIT.

   The site also uses U+2192, U+2605 and U+2713. Those are outside the latin
   subset and were never in Google's latin file either, so they render from the
   system fallback exactly as they did before. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/archivo-var-latin.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/barlow-condensed-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlow-condensed-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/barlow-condensed-800-latin.woff2') format('woff2');
}

html, body { margin: 0; padding: 0; background: #0D0E10; }
body { font-family: 'Archivo', sans-serif; -webkit-font-smoothing: antialiased; color: #F7F6F2; }
* { box-sizing: border-box; }
a { color: #FFD100; text-decoration: none; }
a:hover { color: #FFE45C; }
/* Placeholder grey clears 4.5:1 on the white field; the external audit
   measured the old #9A968C at 2.95:1. */
input::placeholder, textarea::placeholder { color: #6B6860; }
img { display: block; max-width: 100%; }

.head-font { font-family: 'Barlow Condensed', sans-serif; }
.wrap { max-width: 640px; margin: 0 auto; }
.diag { background-image: repeating-linear-gradient(-52deg, transparent 0 34px, rgba(255,209,0,0.05) 34px 35px); }

/* Accent tick label */
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.kicker .bar { width: 34px; height: 2px; background: #FFD100; transform: skewY(-14deg); }
.kicker .txt { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: #C9CBCF; }

.btn-solid { display: block; text-align: center; padding: 16px; background: #FFD100; color: #0D0E10;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: 0.06em;
  text-transform: uppercase; border: 0; cursor: pointer; }
.btn-solid:hover { background: #FFDD3D; color: #0D0E10; }
.header-cta { display: none; }
.btn-ghost { display: block; text-align: center; padding: 16px; border: 2px solid #FFD100; color: #FFD100;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: 0.06em;
  text-transform: uppercase; background: none; cursor: pointer; }
.btn-ghost:hover { background: #FFD100; color: #0D0E10; }

/* FAQ */
.faq-item { background: #0D0E10; border: 1px solid #26282D; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: 'Archivo', sans-serif; font-size: 15px; font-weight: 600; color: #F7F6F2; }
.faq-q .icon { color: #FFD100; font-size: 18px; flex: none; }
.faq-a { padding: 0 18px 16px; font-size: 14px; line-height: 1.6; color: #9DA1A8; }
.faq-item:not(.open) .faq-a { display: none; }

/* =========================================================
   NAVIGATION
   ========================================================= */

/* The hamburger is the mobile control; the link row is the desktop one.
   Each is hidden at the other's breakpoint rather than sharing a element. */
.nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0 8px; background: none; border: 0; cursor: pointer; flex: none; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: #F7F6F2; transition: transform .18s ease, opacity .18s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links { display: none; }
/* The open panel clears the fixed action bar itself, so its last item is
   never parked underneath one on a short page. */
.nav-panel { display: none; background: #0D0E10; border-top: 1px solid #26282D;
  padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.nav-panel.open { display: block; }
/* The list owns its own reset via a class, so a future blanket reset
   (which deliberately spares bare <ul>s) cannot leave stray markers here. */
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-panel a { display: block; padding: 15px 20px; border-bottom: 1px solid #1D1F23;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 19px;
  letter-spacing: 0.05em; text-transform: uppercase; color: #F7F6F2; }
.nav-panel a:hover, .nav-panel a[aria-current="page"] { color: #FFD100; }
.nav-panel .sub a { padding-left: 38px; font-size: 16px; letter-spacing: 0.03em;
  font-family: 'Archivo', sans-serif; font-weight: 500; text-transform: none; color: #9DA1A8; }
.nav-panel .sub a:hover { color: #FFD100; }

/* =========================================================
   PAGE FURNITURE (interior pages)
   ========================================================= */

/* Text-first interior hero. No hero images on service pages, by mandate. */
.page-hero { background: #0D0E10; border-bottom: 1px solid #26282D; }
.page-hero h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 40px;
  line-height: 0.98; letter-spacing: 0.005em; margin: 0 0 14px; text-transform: uppercase; text-wrap: pretty; }
.page-hero p { margin: 0; font-size: 16px; line-height: 1.55; color: #C9CBCF; max-width: 52ch; text-wrap: pretty; }

/* Breadcrumbs own their own list reset — a blanket ul rule would strip
   bullets off genuine content lists elsewhere on the page. */
.crumbs { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap;
  align-items: center; gap: 8px; font-size: 12px; color: #6E7178; }
.crumbs a { color: #9DA1A8; }
.crumbs a:hover { color: #FFD100; }
.crumbs .sep { color: #3A3D43; }

.card { background: #17181B; border: 1px solid #26282D; padding: 20px;
  display: flex; flex-direction: column; gap: 8px; }
.card--dark { background: #0D0E10; }
.card h2, .card h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 24px;
  text-transform: uppercase; line-height: 1; margin: 0; }
.card p { margin: 0; font-size: 14px; line-height: 1.55; color: #9DA1A8; }
.card .num { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px;
  color: #FFD100; letter-spacing: 0.1em; }
a.card:hover { border-color: #FFD100; }
a.card h2, a.card h3 { color: #F7F6F2; }
a.card:hover h2, a.card:hover h3 { color: #FFD100; }
.card .more { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px;
  letter-spacing: 0.08em; text-transform: uppercase; color: #FFD100; margin-top: auto; padding-top: 4px; }

.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

/* Checklist rows, reused on service pages and the inspection block */
.checks { display: flex; flex-direction: column; gap: 12px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; }
.check-row .tick { width: 16px; height: 16px; border: 2px solid #FFD100; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
  color: #FFD100; margin-top: 2px; }
.check-row .txt { font-size: 14px; line-height: 1.5; color: #E7E8EA; }

/* Numbered process steps */
.steps { display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step .n { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 26px;
  line-height: 1; color: #FFD100; flex: none; width: 34px; }
.step h3 { margin: 0 0 4px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 20px; text-transform: uppercase; line-height: 1.05; }
.step p { margin: 0; font-size: 14px; line-height: 1.55; color: #9DA1A8; }

/* Chip rows. padding-inline-end so flex wraps a hair early and no chip
   ever sits flush to the container edge at an exact-fit width. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-inline-end: 12px; }
.chip { padding: 9px 14px; border: 1px solid #3A3D43; font-size: 14px; font-weight: 600;
  color: #E7E8EA; background: #17181B; white-space: normal; max-width: 100%; }
a.chip:hover { border-color: #FFD100; color: #FFD100; }

/* Prose blocks for privacy / long copy */
.prose { max-width: 68ch; }
.prose h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 26px;
  text-transform: uppercase; line-height: 1.05; margin: 32px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 15px; line-height: 1.65; color: #C9CBCF; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* Contact / NAP card */
.nap { background: #17181B; border: 1px solid #26282D; border-left: 3px solid #FFD100; padding: 22px; }
.nap dt { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: #FFD100; margin-bottom: 5px; }
.nap dd { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: #E7E8EA; }
.nap dd:last-child { margin-bottom: 0; }

/* Form field shared shape */
.field { width: 100%; padding: 14px; border: 1px solid #CFCCC2; background: #FFFFFF;
  font-family: 'Archivo', sans-serif; font-size: 16px; color: #17181B; border-radius: 0; }
/* The form card is the one light surface, so the yellow ring used
   everywhere else reads at 1.4:1 there. Ink instead. */
.field:focus-visible { outline: 3px solid #0D0E10; outline-offset: -1px; }
.hero-form :focus-visible { outline-color: #0D0E10; }
.field[aria-invalid="true"] { border-color: #B3261E; }
/* Error text carries a marker glyph so it never relies on colour alone. */
.field-error { font-size: 12px; line-height: 1.4; color: #B3261E; margin-top: -4px; }
.field-error::before { content: "▲ "; }
/* #8A8678 measured 3.37:1 against the #F7F6F2 form panel at 11px, under the 4.5:1
   floor. This is the carrier-mandated A2P consent copy, so it was the least
   readable text on the page. #6B6860 is the secondary-text colour already used
   elsewhere in this form and measures 5.14:1. */
.consent { display: flex; gap: 9px; align-items: flex-start; font-size: 11px; line-height: 1.5;
  color: #6B6860; cursor: pointer; }
.consent input { margin-top: 2px; accent-color: #FFD100; flex-shrink: 0; }
/* An unticked required box needs a visible marker of its own — the error text
   below it sits at 12px and is easy to miss next to two paragraphs of fine
   print. Outline rather than a layout-affecting border, so nothing shifts. */
.consent input[aria-invalid="true"] { outline: 2px solid #B3261E; outline-offset: 2px; }
/* Marks the marketing box as a real opt-in. Sits OUTSIDE the carrier-mandated
   sentence, which stays verbatim. */
.consent-tag { display: inline-block; margin-right: 6px; padding: 1px 7px;
  background: #26282D; color: #FFD100; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 1px; }
/* Honeypot: display:none so password managers will not autofill it. An
   off-screen but visible box gets filled by 1Password and silently killed
   every real submission. Some bots skip hidden fields, which is why a filled
   box now only flags the lead instead of dropping it. */
.hp { display: none; }

/* The footer, not the body, reserves room for the fixed mobile action bar —
   so the space behind and above the bar is always footer-coloured. */
.site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

:focus-visible { outline: 3px solid #FFD100; outline-offset: 2px; }

/* Skip link — visible only once focused */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; }
.skip:focus { left: 0; padding: 12px 18px; background: #FFD100; color: #0D0E10; font-weight: 700; }

/* =========================================================
   DESKTOP
   ========================================================= */
@media (min-width: 900px) {
  .wrap { max-width: 1120px; }
  .page { padding-bottom: 0 !important; }
  .sticky-bar { display: none !important; }
  .site-footer { padding-bottom: 0; }

  .header-inner { max-width: 1120px; margin: 0 auto; width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .site-header { padding: 16px 40px !important; }
  .site-header .brand { font-size: 24px !important; }
  .site-header .phone { font-size: 22px !important; }

  /* Nav swaps: hamburger and its panel out, inline links in */
  .nav-toggle { display: none; }
  .nav-panel { display: none !important; }
  .nav-links { display: flex; align-items: center; gap: 26px; }
  .nav-links a { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 17px;
    letter-spacing: 0.06em; text-transform: uppercase; color: #E7E8EA; white-space: nowrap; }
  .nav-links a:hover { color: #FFD100; }
  .nav-links a[aria-current="page"] { color: #FFD100; }
  .header-right { display: flex; align-items: center; gap: 28px; }
  .header-cta { display: inline-block; padding: 10px 16px; font-size: 15px; letter-spacing: 0.05em; }

  .section-pad { padding: 84px 40px !important; }
  .band-pad { padding: 24px 40px !important; }
  .hero-pad { padding: 84px 40px 76px !important; }
  .page-hero-pad { padding: 60px 40px 56px !important; }

  /* Hero: copy | quote form */
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px 56px; align-items: center; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .hero-photo { grid-column: 1; grid-row: 2; margin-top: 0 !important; }
  .hero-photo img { height: 260px !important; }
  .hero-form { grid-column: 2; grid-row: 1 / span 2; }
  .hero-copy { margin: 0; }
  .hero-copy h1 { font-size: 58px !important; margin-bottom: 20px !important; }
  .hero-copy p { font-size: 18px !important; margin-bottom: 0 !important; }
  .hero-form { margin: 0; }

  .trust-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 20px !important; }
  .services-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; }

  .section-pad h2 { font-size: 44px !important; }
  .ev-content h2 { font-size: 52px !important; }
  .page-hero h1 { font-size: 54px; }
  .page-hero p { font-size: 18px; }

  /* EV spotlight: content | image */
  .ev-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
  .ev-row .ev-media { margin-bottom: 0 !important; order: 2; align-self: stretch; }
  .ev-row .ev-media img { height: 100% !important; min-height: 420px; }
  .ev-row .ev-bullets { order: 1; margin-bottom: 0 !important; }
  .ev-content .ev-cta { max-width: 340px; }

  /* Safety: checklist | image */
  .safety-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
  .safety-row .safety-check { margin-bottom: 0 !important; }
  .safety-row .safety-media img { height: 100% !important; min-height: 360px; }

  .reviews-grid { grid-template-columns: repeat(3, 1fr) !important; align-items: start; }
  .reviews-cta { max-width: 360px; margin-left: auto; margin-right: auto; }

  .faq-list { max-width: 820px; }
  .measure { max-width: 60ch; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr !important; }

  /* Interior page grids */
  .grid--2 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
  .split--wide-left { grid-template-columns: 1.25fr 0.75fr; }
  .steps { gap: 20px; }
  .contact-split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: start; }
}
