/* Home electrician template. Palette: bright blue, volt gold and near-black ink. */
:root {
  --ink: #0e1318;
  --ink-2: #151c24;
  --ink-3: #1f2a36;
  --paper: #f2efe7;
  --paper-2: #e8e3d7;
  --card: #fbfaf6;
  --blue: #3a8ee6;
  --blue-deep: #1757ad;
  --blue-soft: #dbe8f7;
  --volt: #ffc629;
  --volt-deep: #e3a700;
  --text: #0e1318;
  --muted: #475261;
  --on-dark: #e8eef5;
  --on-dark-muted: #a9b7c6;
  --line: rgba(14, 19, 24, 0.14);
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 8px;
  --wrap: 1180px;
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --marker: "Permanent Marker", "Comic Sans MS", "Marker Felt", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
h2, h3 { text-wrap: balance; }
p { margin: 0 0 1em; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--volt); color: var(--ink); padding: 10px 14px; font-weight: 700;
  border-radius: 6px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Template bar */
.template-bar {
  background: #e2dccd;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  padding: 7px 16px;
  border-bottom: 1px solid var(--line);
}

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.header-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand-word {
  display: inline-flex; flex-direction: column; align-items: center; line-height: .92;
  border: 2px solid var(--blue); padding: 4px 8px 3px;
  font-family: var(--display); font-stretch: 125%; text-transform: uppercase;
}
.brand-your { color: var(--blue); font-weight: 900; font-size: 20px; letter-spacing: .2em; margin-right: -.2em; }
.brand-trade { color: var(--ink); font-weight: 800; font-size: 12.5px; letter-spacing: .14em; margin-right: -.14em; }
.nav { display: none; }
.header-call {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--ink); text-decoration: none;
  font-size: 15px; white-space: nowrap; min-height: 44px;
}
.header-call svg { color: var(--blue-deep); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 6px;
  font-family: var(--body); font-weight: 750; font-size: 17px; line-height: 1.1;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-volt { background: var(--volt); color: var(--ink); box-shadow: 0 4px 0 var(--volt-deep); }
.btn-volt:hover { background: #ffd24f; }
.btn-volt:disabled { opacity: .6; cursor: not-allowed; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-link { color: #fff; padding: 0 4px; min-height: 44px; text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.btn-block { width: 100%; }

/* Kickers and section heads */
.kicker {
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep);
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: currentColor; }
.kicker-volt { color: var(--volt); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2, .area-copy h2, .about-copy h2, .gen-copy h2, .contact-info h2 {
  font-family: var(--display); font-stretch: 118%; font-weight: 850;
  font-size: clamp(2rem, 7vw, 3.4rem); letter-spacing: -.01em; margin-bottom: 16px;
}
.section-lead { font-size: 18.5px; color: var(--muted); max-width: 60ch; }

section { position: relative; }

/* HERO */
.hero {
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
  padding: 56px 0 64px;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(58,142,230,.22), transparent 70%),
    linear-gradient(rgba(58,142,230,.08) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(58,142,230,.08) 1px, transparent 1px) 0 0 / 32px 32px;
}
.hero-circuit {
  position: absolute; z-index: -1;
  top: 10px; right: -12vw; width: 112vw; height: auto;
  opacity: .4;
}
.trace-base { fill: none; stroke: rgba(58,142,230,.55); stroke-width: 5; stroke-linejoin: round; }
.trace-pad { fill: var(--ink); stroke: rgba(58,142,230,.55); stroke-width: 4; }
.trace-pulse {
  fill: none; stroke: var(--volt); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 70 930; stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 6px rgba(255,198,41,.9));
  animation: current 4.2s linear 1.2s infinite;
}
@keyframes current { to { stroke-dashoffset: 0; } }

.hero-inner { position: relative; }
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-dark-muted); display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 4px rgba(255,198,41,.2); }
.hero-title {
  font-family: var(--display); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; font-size: clamp(2.6rem, min(11.5vw, 11vh), 6rem);
  line-height: .9; letter-spacing: -.01em; color: #fff; margin-bottom: 26px;
}
.hero-title .w { display: block; animation: switchOn 1.1s steps(1, end) both; }
.hero-title .w1 { animation-delay: .1s; }
.hero-title .w2 { animation-delay: .35s; }
.hero-title .w3 { animation-delay: .6s; }
.hero-title .w4 { animation-delay: .85s; color: var(--volt); text-shadow: 0 0 28px rgba(255,198,41,.35); }
@keyframes switchOn {
  0% { opacity: .08; }
  12% { opacity: .9; }
  18% { opacity: .15; }
  26% { opacity: 1; }
  32% { opacity: .35; }
  40%, 100% { opacity: 1; }
}
.hero-lead { font-size: 19px; line-height: 1.55; color: #cdd7e2; max-width: 34ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.hero-ctas .btn-volt { flex: 1 1 100%; }
.hero-ctas .btn-ghost { flex: 1 1 auto; }

/* Quick facts strip */
.strip { background: var(--blue-deep); color: #fff; }
.strip-row { display: grid; grid-template-columns: 1fr 1fr; }
.strip-item {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 12px;
  color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.strip-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.16); padding-left: 0; }
.strip-item:nth-child(n+3) { border-bottom: 0; }
.strip-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #bcd3f0; }
.strip-value { font-weight: 700; font-size: 15.5px; line-height: 1.3; }

/* SERVICES: the panel */
.services { padding: 80px 0 90px; }
.panel {
  position: relative;
  background: linear-gradient(160deg, #cfd4da, #b8bec6);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 20px 40px -18px rgba(14,19,24,.45);
  display: grid; grid-template-columns: 1fr;
}
.panel::before, .panel::after {
  content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #eef1f4, #8b939c);
  box-shadow: 0 1px 1px rgba(0,0,0,.3);
  top: 8px; left: 8px;
}
.panel::after { left: auto; right: 8px; }
.panel-top {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--ink); color: var(--on-dark);
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding: 12px 16px; border-radius: 6px 6px 0 0;
}
.panel-top span:last-child { color: var(--on-dark-muted); }
.circuit {
  display: grid; grid-template-columns: 38px 26px 1fr; gap: 14px; align-items: start;
  background: var(--card);
  padding: 18px 16px 16px;
  border-bottom: 1px solid #d7d2c4;
  background-image: linear-gradient(transparent 0 calc(100% - 1px), #e9e4d8 calc(100% - 1px));
}
.circuit:last-child { border-radius: 0 0 6px 6px; border-bottom: 0; }
.num {
  font-family: var(--mono); font-weight: 600; font-size: 14px;
  width: 38px; height: 30px; display: grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: 4px; background: #fff;
}
.breaker {
  width: 26px; height: 44px; border-radius: 4px; background: #1f262d; position: relative;
  box-shadow: inset 0 0 0 2px #39424c;
}
.breaker i {
  position: absolute; left: 4px; right: 4px; height: 16px; top: 5px; border-radius: 3px;
  background: linear-gradient(#f5f7f9, #b9c0c8);
  transition: top .35s cubic-bezier(.5,1.6,.4,1), box-shadow .3s ease;
  box-shadow: 0 -3px 0 var(--volt), 0 0 10px rgba(255,198,41,.45);
}
.js .panel:not(.on) .breaker i { top: 23px; box-shadow: 0 3px 0 #69737e; }
.circuit:nth-child(3) .breaker i { transition-delay: .05s; }
.circuit:nth-child(4) .breaker i { transition-delay: .12s; }
.circuit:nth-child(5) .breaker i { transition-delay: .19s; }
.circuit:nth-child(6) .breaker i { transition-delay: .26s; }
.circuit:nth-child(7) .breaker i { transition-delay: .33s; }
.circuit:nth-child(8) .breaker i { transition-delay: .40s; }
.circuit:nth-child(9) .breaker i { transition-delay: .47s; }
.circuit:nth-child(10) .breaker i { transition-delay: .54s; }
.circuit:nth-child(11) .breaker i { transition-delay: .61s; }
.circuit-text h3 {
  font-family: var(--marker); font-weight: 400; font-size: 23px; line-height: 1.15;
  color: var(--ink); margin: 1px 0 6px; letter-spacing: .01em;
}
.circuit-text p { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.5; }
.circuit-spare h3 { color: #8a8f96; }
.circuit-spare .num { border-style: dashed; }
.circuit-spare .breaker i { background: linear-gradient(#d7dbe0, #9aa2ab); }

/* GENERATOR */
.gen { background: var(--ink-2); color: var(--on-dark); padding: 80px 0; overflow: hidden; }
.gen::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(58,142,230,.06) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(58,142,230,.06) 1px, transparent 1px) 0 0 / 32px 32px;
}
.gen-grid { position: relative; display: grid; gap: 40px; }
.gen-copy h2 { color: #fff; }
.gen-copy > p:not(.kicker) { font-size: 18.5px; color: #cdd7e2; max-width: 44ch; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; font-weight: 650; font-size: 17.5px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 4px;
  background: var(--volt);
}
.checks li::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 7px; height: 11px;
  border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.gen-diagram { margin: 0; background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); border-radius: 12px; padding: 18px; }
.gd-wire path { fill: none; stroke: #4b5a6b; stroke-width: 4; stroke-linecap: round; }
.gd-flow path {
  fill: none; stroke: var(--volt); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 10 22; animation: flow 1.2s linear infinite;
  filter: drop-shadow(0 0 3px rgba(255,198,41,.8));
}
@keyframes flow { to { stroke-dashoffset: -32; } }
.gd-box rect, .gd-box circle, .gd-box path { fill: #1b2430; stroke: #c9d4e0; stroke-width: 2.5; }
.gd-box .gd-accent { fill: var(--volt); stroke: none; }
.gd-bulb circle { fill: var(--volt); filter: drop-shadow(0 0 8px rgba(255,198,41,.8)); animation: glow 2.4s ease-in-out infinite; }
.gd-label text { fill: #a9b7c6; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
@keyframes glow { 50% { opacity: .75; } }

/* WORK: job tags */
.work { background: var(--paper-2); padding: 80px 0 90px; }
.tags { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
.tag {
  position: relative; background: #f5ecd3; border-radius: 6px;
  padding: 34px 20px 58px;
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%, 0 18px);
  box-shadow: inset 0 0 0 1px rgba(120,90,30,.18);
  display: flex; flex-direction: column; gap: 8px; min-height: 172px;
}
.tag-hole {
  position: absolute; top: 12px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; background: var(--paper-2); box-shadow: inset 0 0 0 3px #d9c89c;
}
.tag-meta { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #6a5a33; }
.tag-job { font-weight: 650; font-size: 17px; line-height: 1.38; color: var(--ink); }
.stamp {
  position: absolute; right: 14px; bottom: 16px;
  font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue-deep); border: 2px solid var(--blue-deep); border-radius: 4px; padding: 3px 7px 2px;
  transform: rotate(-9deg); opacity: .85;
}

/* AREA MAP */
.area { background: var(--ink); color: var(--on-dark); padding: 80px 0; overflow: hidden; }
.area-grid { display: grid; gap: 36px; }
.area-copy h2 { color: #fff; }
.area-copy > p:not(.kicker):not(.fine) { color: #cdd7e2; font-size: 18px; max-width: 48ch; }
.area .kicker { color: var(--volt); }
.town-list { list-style: none; padding: 0; margin: 8px 0 22px; columns: 2; column-gap: 20px; }
.town-list li { padding: 5px 0 5px 18px; position: relative; break-inside: avoid; font-weight: 550; }
.town-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; border: 2px solid var(--volt); }
.town-list li.home { color: var(--volt); font-weight: 800; }
.town-list li.home::before { background: var(--volt); }
.area .fine a, .contact-info a:not(.btn):not(.big-phone) { color: var(--volt); }
.fine { font-size: 15.5px; color: var(--on-dark-muted); }
.map { margin: 0; }
.map svg { width: 100%; height: auto; }
.rings circle { fill: none; stroke: rgba(58,142,230,.4); stroke-width: 1.5; stroke-dasharray: 5 9; }
.spokes path { stroke: rgba(255,255,255,.14); stroke-width: 1.5; fill: none; }
.spokes-flow path {
  stroke: var(--volt); stroke-width: 2; fill: none; stroke-linecap: round;
  stroke-dasharray: 3 9; animation: flow2 2.4s linear infinite; opacity: .8;
}
@keyframes flow2 { to { stroke-dashoffset: -24; } }
.towns circle { fill: var(--ink); stroke: var(--volt); stroke-width: 2.5; }
.towns text { fill: #dbe4ee; font-family: var(--body); font-size: 14px; font-weight: 600; paint-order: stroke; stroke: var(--ink); stroke-width: 4px; stroke-linejoin: round; }
.hub-dot { fill: var(--volt); }
.hub-ring { fill: none; stroke: var(--volt); stroke-width: 2; transform-origin: 262px 300px; animation: ring 2.6s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.hub text { fill: var(--volt); font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 19px; text-transform: uppercase; letter-spacing: .04em; paint-order: stroke; stroke: var(--ink); stroke-width: 6px; stroke-linejoin: round; }
.map figcaption { font-size: 13.5px; color: var(--on-dark-muted); margin-top: 10px; }

/* ABOUT */
.about { padding: 84px 0; }
.about-grid { display: grid; gap: 36px; align-items: center; }
/* The text mark, large, on a dark card beside the about copy */
.about-mark {
  container-type: inline-size;
  display: grid; place-items: center;
  max-width: 360px; aspect-ratio: 1 / 1; padding: 28px;
  border-radius: 14px; background-color: var(--ink);
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(58,142,230,.22), transparent 70%),
    linear-gradient(rgba(58,142,230,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,142,230,.1) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 40px -24px rgba(14,19,24,.35);
}
.about-mark .brand-word { border-width: 3px; padding: 4.5cqi 6cqi 4cqi; }
.about-mark .brand-your { font-size: 17cqi; }
.about-mark .brand-trade { font-size: 7cqi; color: #fff; }
.about-copy > p:not(.kicker):not(.fine) { font-size: 18px; max-width: 58ch; }

/* CONTACT */
.contact { background: var(--ink); color: var(--on-dark); padding: 84px 0; }
.contact-grid { display: grid; gap: 40px; }
.contact-info h2 { color: #fff; }
.big-phone {
  display: inline-flex; align-items: center; min-height: 48px;
  font-family: var(--display); font-stretch: 118%; font-weight: 850;
  font-size: clamp(2.1rem, 9vw, 3.6rem); color: var(--volt); text-decoration: none; line-height: 1.05;
  margin: 4px 0 20px;
}
.big-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.contact-actions { display: flex; gap: 12px; margin-bottom: 34px; }
.contact-actions .btn { flex: 1; max-width: 200px; }
.facts { margin: 0; display: grid; gap: 18px; }
.facts div { border-top: 1px solid var(--line-dark); padding-top: 14px; }
.facts dt { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 17.5px; font-weight: 550; }
.facts dd a { display: inline-block; padding: 12px 0; margin: -12px 0; } /* bigger tap area, same layout */

.estimate {
  background: var(--paper); color: var(--ink); border-radius: 12px; padding: 26px 20px;
  box-shadow: 0 0 0 4px rgba(255,198,41,.25);
}
.estimate h3 { font-family: var(--display); font-stretch: 115%; font-weight: 850; font-size: 26px; margin-bottom: 8px; }
.form-intro { color: var(--muted); font-size: 16px; }
.estimate a { color: var(--blue-deep); font-weight: 650; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
.field label, .pref legend { font-weight: 650; font-size: 15.5px; }
input[type="text"], input[type="tel"], select, textarea {
  font: inherit; font-size: 17px; color: var(--ink);
  background: #fff; border: 2px solid #c6c0b1; border-radius: 6px;
  padding: 12px 12px; width: 100%; min-height: 50px;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(23,87,173,.25); }
.pref { border: 0; padding: 0; margin: 0 0 20px; flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }
.pref legend { width: 100%; margin-bottom: 6px; padding: 0; }
.pref label { display: inline-flex; align-items: center; gap: 0; font-size: 17px; min-height: 44px; cursor: pointer; }
.pref input {
  -webkit-appearance: none; appearance: none; flex: none; cursor: pointer;
  width: 44px; height: 44px; margin: 0 -4px 0 -12px; border: 0; border-radius: 50%; font-size: 16px;
  background: radial-gradient(circle, #fff 0 8px, #767e88 8.5px 10px, transparent 10.5px);
}
.pref input:checked { background: radial-gradient(circle, var(--blue-deep) 0 4.5px, #fff 5px 7.5px, var(--blue-deep) 8px 10px, transparent 10.5px); }
.pref input:focus { box-shadow: none; }
.pref input:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: -9px; border-radius: 50%; }
.form-note {
  margin-top: 16px; background: var(--blue-soft); border-left: 5px solid var(--blue-deep);
  padding: 14px 16px; border-radius: 6px; font-size: 16px; line-height: 1.5;
}
.form-note:focus { outline: 3px solid var(--blue-deep); }

/* FAQ */
.faq { padding: 84px 0; }
.faq-grid { display: grid; gap: 10px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 750; font-size: 18.5px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background:
    linear-gradient(var(--blue-deep), var(--blue-deep)) center / 14px 3px no-repeat,
    linear-gradient(var(--blue-deep), var(--blue-deep)) center / 3px 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); font-size: 17px; max-width: 62ch; }

/* FOOTER */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 48px 0 calc(104px + env(safe-area-inset-bottom)); font-size: 15.5px; border-top: 4px solid var(--blue); }
.site-footer a { color: var(--on-dark); }
.footer-grid { display: grid; gap: 22px; }
.brand-footer { color: #fff; margin-bottom: 14px; }
.brand-footer .brand-trade { color: #fff; }
.footer-credit { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-credit p { margin: 0; }

/* Phone call bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(14,19,24,.96); border-top: 1px solid var(--line-dark);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; border-radius: 6px; font-weight: 750; font-size: 16px; text-decoration: none;
}
.mb-call { background: var(--volt); color: var(--ink); }
.mb-text { background: var(--ink-3); color: #fff; }
.mb-est { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.3); }

/* Breakpoints */
@media (max-width: 559px) {
  .eyebrow { font-size: 12px; letter-spacing: .05em; gap: 9px; }
  .about-mark { max-width: min(360px, 72vw); }
}

@media (min-width: 560px) {
  .hero-ctas .btn-volt { flex: 0 0 auto; }
  .hero-ctas .btn-ghost { flex: 0 0 auto; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .tags { grid-template-columns: 1fr 1fr; }
  .town-list { columns: 3; }
}

@media (min-width: 760px) {
  .panel { grid-template-columns: 1fr 1fr; }
  .circuit:nth-child(even) { border-right: 3px solid #9aa2ab; }
  .circuit:nth-last-child(-n+2) { border-bottom: 0; }
  .circuit:nth-last-child(2) { border-radius: 0 0 0 6px; }
  .circuit:last-child { border-radius: 0 0 6px 0; }
  .strip-row { grid-template-columns: repeat(4, 1fr); }
  .strip-item { border-bottom: 0 !important; border-right: 1px solid rgba(255,255,255,.16); padding: 20px 18px; }
  .strip-item:first-child { padding-left: 0; }
  .strip-item:last-child { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: end; }
}

@media (min-width: 900px) {
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 28px; }
  .services, .work, .area, .about, .contact { scroll-margin-top: 72px; }
  .site-header { position: sticky; top: 0; background: rgba(242,239,231,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .nav { display: flex; gap: 26px; margin-left: 36px; }
  .nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 6px 0; border-bottom: 2px solid transparent; }
  .nav a:hover { border-bottom-color: var(--blue); }
  .header-call { background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
  .header-call svg { color: var(--volt); }
  .hero { padding: 96px 0 110px; min-height: 620px; display: flex; align-items: center; }
  .hero-circuit { inset: 0; top: 0; right: 0; width: 100%; height: 100%; opacity: .55; }
  .hero-lead { font-size: 20px; max-width: 40ch; }
  .hero .btn-ghost { background: var(--ink); }
  .hero .btn-ghost:hover { background: #1a222b; }
  .hero .btn-link { background: var(--ink); padding: 0 10px; }
  .gen-grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 56px; }
  .tags { grid-template-columns: repeat(4, 1fr); }
  .area-grid { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 56px; }
  .town-list { columns: 3; }
  .about-grid { grid-template-columns: 340px 1fr; gap: 64px; }
  .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
  .estimate { padding: 34px 32px; }
  .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .services { padding: 110px 0 120px; }
  .work, .area, .about, .contact, .faq, .gen { padding: 110px 0; }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .hero-title { font-size: min(5rem, 11vh); }
}

/* Laptops and short desktop windows: the call button stays on the first screen */
@media (min-width: 900px) and (max-height: 820px) {
  .hero { padding: 36px 0 72px; min-height: 0; }
  .eyebrow { margin-bottom: 16px; }
  .hero-title { margin-bottom: 20px; }
  .hero-lead { margin-bottom: 24px; }
}

@media (min-width: 1240px) {
  .hero-circuit { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .trace-pulse { stroke-dasharray: none; stroke-dashoffset: 0; opacity: .5; }
}

/* Footer copyright line: always the last line; on phones and tablets the Open·Civ link gets a 44px tap area without moving the text */
.copyline span { white-space: nowrap; }
.footer-credit .copyline { margin-top: 6px; }
@media (max-width: 959px) {
  .copyline a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; }
}
