/* ---------------------------------------------------------------------------
   Voltgrove Electric — brand layer.

   Register: industrial, high-contrast, conversion-first. A trades buyer is
   usually stressed and usually on a phone. Every decision here favours
   legibility at arm's length and one obvious next action.

   Overrides tokens only. No structural CSS below except the few blocks marked
   as page-specific, which are candidates for promotion into shared/patterns.css
   once a second build wants them.
   --------------------------------------------------------------------------- */

:root {
  --bg:          #ffffff;
  --bg-alt:      #f4f4f2;
  --surface:     #ffffff;
  --ink:         #121212;
  --ink-soft:    #3f3f3d;
  --ink-mute:    #75756f;
  --line:        #e2e2dd;
  --accent:      #f2b705;
  --accent-ink:  #121212;
  --accent-soft: #fdf3d6;
  --focus:       #0b63d6;

  --deep:        #16161a;   /* dark ground for hero and stats */
  --deep-line:   #2e2e34;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --display-weight: 800;
  --display-tracking: -0.028em;
  --display-leading: 0.98;

  --btn-radius: 6px;
  --card-radius: 10px;
  --input-radius: 6px;
  --radius-l: 12px;

  --header-h: 78px;
  --container: 1180px;
}

/* Display type wants to shout a little. */
h1, h2 { text-transform: uppercase; }
h1 { letter-spacing: -0.03em; }

.eyebrow { color: var(--accent); font-weight: 700; }

/* --- Dark sections -------------------------------------------------------- */

.on-deep {
  background: var(--deep);
  color: #f2f2ef;
  --ink: #f2f2ef;
  --ink-soft: #c6c6c0;
  --ink-mute: #8c8c85;
  --line: var(--deep-line);
  --surface: #1e1e23;
  --card-line: var(--deep-line);
}

.on-deep .eyebrow { color: var(--accent); }

/* --- Header --------------------------------------------------------------- */

.site-header {
  --header-bg: var(--deep);
  --header-ink: #f2f2ef;
  --header-line: var(--deep-line);
}

.site-header .brandmark { color: #fff; }
.site-header .brandmark span { color: var(--accent); }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  /* Sized so the phone number stays above the fold on a 390x844 handset. On a
     trades site that is the whole job — a headline that pushes the call button
     under the scroll is a headline that costs money. */
  --hero-size: clamp(2.3rem, 7.4vw, 4.35rem);
  --hero-py: clamp(2.5rem, 6vw, 5rem);
  background: var(--deep);
  color: #f2f2ef;
}

.hero__grid {
  display: grid;
  gap: var(--s-xl);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr));
}

.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }

.hero .lede { color: #c6c6c0; }

/* Urgency strip. The single most-clicked element on a real trades site. */
.callout-strip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65em;
  padding: 0.55em 1.1em 0.6em 0.85em;
  border: 1px solid var(--deep-line);
  border-radius: var(--radius-l);
  background: #1e1e23;
  font-size: var(--step--1);
  line-height: 1.4;
  color: #c6c6c0;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #43d17a;
  box-shadow: 0 0 0 4px rgb(67 209 122 / 0.18);
  flex: none;
  transform: translateY(-1px);
}

/* Outline button sitting on the dark hero ground. */
.btn--outline-light { border-color: #55555e; color: #f2f2ef; }
.btn--outline-light:hover { background: #f2f2ef; color: var(--deep); border-color: #f2f2ef; }

/* The phone number is a design element, not a footnote. */
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.phone-link:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* --- Credential bar ------------------------------------------------------- */

.cred-bar {
  display: grid;
  gap: var(--s-s) var(--s-m);
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  padding-block: var(--s-m);
}

.cred-bar li {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-soft);
}

.cred-bar svg { flex: none; width: 22px; height: 22px; color: var(--accent); }

/* --- Service cards -------------------------------------------------------- */

.service-card {
  position: relative;
  padding: var(--s-m);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  border-block-start: 3px solid var(--accent);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }

.service-card h3 { font-size: var(--step-1); text-transform: uppercase; margin-block-end: var(--s-2xs); }

.service-card p { color: var(--ink-soft); font-size: var(--step--1); }

.service-card__num {
  position: absolute;
  inset-block-start: var(--s-s);
  inset-inline-end: var(--s-m);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 800;
  color: var(--line);
  line-height: 1;
}

/* --- Numbered process ----------------------------------------------------- */

.steps { counter-reset: step; display: grid; gap: var(--s-l); list-style: none; padding: 0; }

.steps > li { counter-increment: step; display: grid; gap: var(--s-xs); }

.steps > li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.steps h3 { font-size: var(--step-1); text-transform: uppercase; }
.steps p { color: var(--ink-soft); }

/* --- Stats ---------------------------------------------------------------- */

.stat { display: grid; gap: var(--s-3xs); }

.stat dt {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.stat dd {
  margin: 0;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8c8c85;
}

/* --- Reviews -------------------------------------------------------------- */

.review {
  display: grid;
  gap: var(--s-s);
  padding: var(--s-m);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}

.review blockquote { margin: 0; font-size: var(--step-1); line-height: 1.45; }

.review figcaption { font-size: var(--step--1); color: var(--ink-mute); font-weight: 600; }

.stars { display: flex; gap: 2px; color: var(--accent); }
.stars svg { width: 17px; height: 17px; }

/* --- Coverage list -------------------------------------------------------- */

.coverage {
  display: grid;
  gap: var(--s-2xs) var(--s-m);
  grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
  list-style: none;
  padding: 0;
}

.coverage li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding-block: var(--s-2xs);
  border-block-end: 1px solid var(--line);
  font-size: var(--step--1);
  font-weight: 500;
}

.coverage li::before { content: "—"; color: var(--accent); font-weight: 800; }

/* --- Quote panel ---------------------------------------------------------- */

.quote-panel {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-2);
}

.on-deep .quote-panel { border-color: var(--deep-line); }

/* --- Footer --------------------------------------------------------------- */

.site-footer { --footer-bg: var(--deep); --footer-ink: #f2f2ef; }
.site-footer .brandmark span { color: var(--accent); }
