/* Elite Electrical — individual service pages.
   Nearly everything these pages need (.page-banner, .svc-sub, .svc-list,
   .svc-sub-cta, .lead) already lives in css/site.css, so this file is only
   the few things that are new: the trail back up to the parent page, and
   the marker on a page whose copy has not arrived yet.

   These pages deliberately do NOT carry their own copy of the stylesheet.
   The older service pages each hold a 223KB inline duplicate of site.css,
   which is why a site-wide change has three times had to be repeated by
   hand and twice got missed. One shared file instead. */

/* The banner. Every other page repeats this same rule in its own
   stylesheet; it is here once for all thirteen service pages. The top
   padding is what clears the fixed header - without it the eyebrow hides
   behind the logo. background-01 is the only banner image actually in the
   images folder; the others that pages reference are missing and fall back
   to the flat navy. */
.page-banner{position:relative;overflow:hidden;color:#fff;
  padding-top:clamp(148px,19vh,188px);padding-bottom:clamp(64px,8vw,94px);
  background:#101C3A center/cover no-repeat;
  background-image:url(../images/background-01.jpg)}

/* the trail back to Services and to the parent page */
.svc-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;
  margin:0 0 14px;font-family:"Space Mono",ui-monospace,Consolas,monospace;
  font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.svc-crumb a{color:var(--muted);text-decoration:none;border-bottom:1px solid transparent;
  transition:color .18s,border-color .18s}
.svc-crumb a:hover{color:var(--accent-deep);border-bottom-color:var(--accent)}
.svc-crumb .sep{opacity:.5}
.svc-crumb .here{color:var(--blue-deep)}

/* a page waiting on its write-up. Deliberately plain and obvious: nobody
   should be able to mistake it for finished copy, and the page carries
   noindex until it is replaced. */
.svc-pending{margin:0 0 22px;padding:16px 18px;border-radius:14px;
  background:var(--soft);border:1px dashed var(--chrome);
  color:var(--muted);font-size:14.5px;line-height:1.6}
.svc-pending b{color:var(--blue-deep);font-weight:700}

/* the sibling services, so a visitor who lands here from a search can get
   to the rest without going back to the menu */
.svc-siblings{margin:30px 0 0;padding:24px 0 0;border-top:1px solid var(--hair)}
.svc-siblings h2{font-family:"Archivo",system-ui,sans-serif;font-weight:800;
  font-size:17px;letter-spacing:-.01em;color:var(--blue-deep);margin:0 0 14px}
.svc-sib-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.svc-sib-list a{display:inline-flex;align-items:center;padding:8px 14px;
  border:1px solid var(--hair);border-radius:999px;background:#fff;
  font-size:13.5px;font-weight:600;color:var(--blue-deep);text-decoration:none;
  transition:border-color .18s,color .18s,background .18s}
.svc-sib-list a:hover{border-color:var(--accent);color:var(--accent-deep)}
.svc-sib-list a[aria-current]{background:var(--blue);border-color:var(--blue);color:#fff}

/* ── the write-up ─────────────────────────────────────────────────────────
   Added when the 13 service pages got their copy. .svc-list already lives in
   site.css as a two-column ticked grid; everything below is new. */

.svc-lead{font-size:clamp(17px,1.9vw,20px);line-height:1.6;color:var(--ink);
  margin:0 0 30px;max-width:62ch}

.svc-h{font-family:"Archivo",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-weight:800;font-size:clamp(19px,2.1vw,23px);letter-spacing:-.018em;
  color:var(--blue-deep);margin:34px 0 16px}

/* the second list is a different kind of thing - symptoms rather than
   inclusions - so it gets a dash rather than a tick, and one column, because
   the lines run longer */
.svc-list-alt{grid-template-columns:1fr}
.svc-list-alt li::before{background:none}
.svc-list-alt li::after{content:"";left:2px;top:10px;width:12px;height:2px;
  background:var(--chrome);border:0;transform:none;border-radius:2px}

.svc-steps{counter-reset:s;list-style:none;margin:0;padding:0;display:grid;gap:14px}
.svc-steps li{counter-increment:s;position:relative;padding-left:40px;
  font-size:15.5px;line-height:1.62;color:var(--muted)}
.svc-steps li::before{content:counter(s);position:absolute;left:0;top:-1px;
  width:26px;height:26px;border-radius:999px;background:var(--soft);
  border:1px solid var(--hair);display:grid;place-items:center;
  font-family:"Space Mono",ui-monospace,Consolas,monospace;font-size:12px;
  font-weight:700;color:var(--blue-deep)}

.svc-faq{display:grid;gap:10px;margin-top:4px}
.svc-faq details{border:1px solid var(--hair);border-radius:14px;background:#fff;
  overflow:hidden;transition:border-color .18s}
.svc-faq details[open]{border-color:var(--chrome)}
.svc-faq summary{cursor:pointer;list-style:none;padding:15px 44px 15px 18px;
  position:relative;font-weight:700;font-size:15.5px;color:var(--blue-deep);
  line-height:1.45}
.svc-faq summary::-webkit-details-marker{display:none}
.svc-faq summary::after{content:"";position:absolute;right:18px;top:21px;
  width:9px;height:9px;border-right:2px solid var(--muted);
  border-bottom:2px solid var(--muted);transform:rotate(45deg);
  transition:transform .2s}
.svc-faq details[open] summary::after{transform:rotate(-135deg);top:24px}
.svc-faq summary:hover{color:var(--accent-deep)}
.svc-faq details p{margin:0;padding:0 18px 17px;font-size:15px;line-height:1.68;
  color:var(--muted)}

@media(max-width:760px){
  .svc-list{grid-template-columns:1fr}
  .svc-lead{font-size:16.5px}
}

/* ── category pages ───────────────────────────────────────────────────────
   Residential and Commercial used to be a bare list of names. Each service is
   now a card: heading, a line of context, link through to its own page. */
.svc-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(252px,1fr));
  gap:14px;margin:0 0 8px}
/* 7 and 8 services fall unevenly into two columns and leave a lone card with a
   hole beside it. A single trailing card spans the row instead. */
.svc-cards > a:last-child:nth-child(odd){grid-column:1/-1}
.svc-card{position:relative;display:flex;flex-direction:column;
  padding:20px 46px 20px 20px;border:1px solid var(--hair);border-radius:16px;
  background:#fff;text-decoration:none;
  transition:border-color .18s,box-shadow .18s,transform .18s}
.svc-card::before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:3px;
  border-radius:0 3px 3px 0;background:var(--accent);opacity:0;transition:opacity .18s}
.svc-card:hover,.svc-card:focus-visible{border-color:var(--accent);
  box-shadow:0 10px 26px rgba(16,28,58,.09);transform:translateY(-2px)}
.svc-card:hover::before,.svc-card:focus-visible::before{opacity:1}
.svc-card h3{font-family:"Archivo",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-weight:800;font-size:16.5px;letter-spacing:-.012em;color:var(--blue-deep);
  margin:0 0 7px;line-height:1.3}
.svc-card p{margin:0;font-size:14.5px;line-height:1.55;color:var(--muted)}
.svc-card-go{position:absolute;right:18px;top:21px;font-size:17px;line-height:1;
  color:var(--chrome);transition:color .18s,transform .18s}
.svc-card:hover .svc-card-go{color:var(--accent);transform:translateX(3px)}

/* why-us list: a soft panel in two columns rather than a plain dashed list */
.svc-why{list-style:none;margin:0;padding:22px 24px;display:grid;
  grid-template-columns:1fr 1fr;gap:13px 26px;
  background:var(--soft);border:1px solid var(--hair);border-radius:18px}
.svc-why li{position:relative;padding-left:27px;font-size:15px;line-height:1.55;
  font-weight:600;color:var(--blue-deep)}
.svc-why li::before{content:"";position:absolute;left:0;top:3px;width:17px;height:17px;
  border-radius:999px;background:rgba(11,99,224,.12)}
.svc-why li::after{content:"";position:absolute;left:5px;top:8px;width:6px;height:3px;
  border-left:2px solid var(--accent-deep);border-bottom:2px solid var(--accent-deep);
  transform:rotate(-45deg)}
/* an odd last item spans both columns so the panel does not end ragged */
.svc-why li:last-child:nth-child(odd){grid-column:1/-1}

@media(max-width:760px){
  .svc-cards{grid-template-columns:1fr}
  .svc-cards > a:last-child:nth-child(odd){grid-column:auto}
  .svc-why{grid-template-columns:1fr;padding:18px 20px}
  .svc-why li:last-child:nth-child(odd){grid-column:auto}
}

/* ── reading rhythm ───────────────────────────────────────────────────────
   The sections used to run together as one column of text. Each heading now
   opens with a hairline and more air above it, so the page reads as parts. */
.svc-crumb{margin-bottom:22px}
.svc-h{margin:46px 0 18px;padding-top:26px;border-top:1px solid var(--hair)}
.svc-sub-body > .svc-h:first-of-type{margin-top:38px}
.svc-list{gap:15px 28px}
.svc-list-alt{gap:11px}
.svc-steps{gap:16px}
.svc-faq{margin-top:2px}

/* ── the side rail ────────────────────────────────────────────────────────
   The booking card alone left most of the right column empty, so it now
   carries the service area and licence under it and the whole rail sticks. */
.svc-rail{position:sticky;top:104px;display:grid;gap:14px}
.svc-rail-note{border:1px solid var(--hair);border-radius:18px;
  background:var(--soft);padding:20px 22px}
.svc-rail-note h4{font-family:"Space Mono",ui-monospace,Consolas,monospace;
  font-size:10.5px;letter-spacing:.15em;text-transform:uppercase;
  color:var(--accent-deep);font-weight:700;margin:0 0 10px}
.svc-rail-note p{margin:0 0 12px;font-size:13.5px;line-height:1.6;color:var(--muted)}
.svc-rail-lic{font-weight:600;color:var(--blue-deep) !important}
.svc-rail-lic span{font-weight:400;color:var(--muted);
  font-family:"Space Mono",ui-monospace,Consolas,monospace;font-size:11.5px;
  letter-spacing:.05em}
.svc-rail-link{display:inline-block;font-size:13.5px;font-weight:700;
  color:var(--blue);text-decoration:none;border-bottom:1px solid transparent;
  transition:border-color .18s}
.svc-rail-link:hover{border-bottom-color:var(--blue)}

@media(max-width:860px){
  .svc-rail{position:static}
  .svc-h{margin-top:38px;padding-top:22px}
}
