/* ==========================================================================
   Higher Power Electric — "Live Wire" theme
   Brand: logo red, volt yellow, wire black. Font: Archivo (variable width).
   ========================================================================== */

:root {
  --red: #D40000;
  --red-hot: #FF2B2B;
  --volt: #FFE100;
  --wire: #1D1F24;
  --steel: #5B6270;

  --bg: #FFFFFF;
  --bg-alt: #F2F3F5;
  --surface: #FFFFFF;
  --text: #1D1F24;
  --muted: #545B67;
  --line: #DDE0E5;
  --accent: var(--red);
  --accent-text: #B80000;
  --panel: #23262C;
  --shadow: 0 10px 30px -12px rgba(29, 31, 36, .28);

  --header-h: 106px;
  --radius: 12px;
  --fs-scale: 1;
  color-scheme: light;
}
html.dark {
  --bg: #15171B;
  --bg-alt: #1C1F24;
  --surface: #20242A;
  --text: #ECEEF1;
  --muted: #B3B9C3;
  --line: #333841;
  --accent: #FF2B2B;
  --accent-text: #FF6B6B;
  --panel: #0F1114;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
html { font-size: calc(100% * var(--fs-scale)); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 20px); }
body {
  font-family: 'Archivo', system-ui, 'Segoe UI', Roboto, Arial, sans-serif;
  font-stretch: 100%;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
main a:not(.btn):not(.svc-card):not(.deck__link):not(.call-line) { color: var(--accent-text); text-underline-offset: 3px; }
main a:not(.btn):hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; box-shadow: 0 0 0 5px #000; border-radius: 4px; }
::selection { background: var(--volt); color: #000; }
#main:focus { outline: none; }

.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 200;
  background: var(--volt); color: #000; font-weight: 800; padding: .6rem 1rem; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.h2, .h3, h1 { font-stretch: 118%; letter-spacing: -.01em; line-height: 1.15; }
.h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 800; }
.h3 { font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 800; }
.link-strong { font-weight: 800; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .95rem; line-height: 1;
  padding: .8rem 1.15rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s, background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-lg { padding: .95rem 1.35rem; font-size: 1rem; }
.btn-sm { padding: .5rem .8rem; font-size: .85rem; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 22px -10px rgba(212, 0, 0, .8); }
.btn-red:hover { background: #B00000; }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: #fff; color: var(--wire); }
.btn-outline { background: transparent; color: var(--text); border-color: currentColor; }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-dark { background: var(--wire); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--wire); }
.btn-light:hover { background: var(--volt); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: transparent; color: inherit; }
.icon-btn:hover { background: rgba(127, 127, 127, .15); }

/* ---------- Header (transparent over banner) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  color: #fff; background: transparent;
  transition: background-color .3s, box-shadow .3s, transform .3s;
}
.site-header.is-solid { background: rgba(23, 25, 29, .96); box-shadow: 0 6px 24px -10px rgba(0, 0, 0, .6); backdrop-filter: blur(8px); }
.header-strip { font-size: .8rem; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.header-strip > div { min-height: 34px; }
.header-strip p { opacity: .9; }
.strip-link { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
.strip-link:hover strong { color: var(--volt); }
.header-main { min-height: 72px; }
.site-header.is-solid .header-strip { display: none; }

.logo-plate {
  display: inline-flex; align-items: center;
  background: #fff; padding: 6px 12px; border-radius: 4px 14px 4px 14px;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5);
  transition: transform .25s;
}
.logo-plate img { height: 50px; width: auto; display: block; }
.logo-plate:hover { transform: rotate(-1.5deg) scale(1.02); }
.logo-plate--footer img { height: 58px; }

.nav-link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .55rem .7rem; font-weight: 600; font-size: .93rem; color: #fff; text-decoration: none;
  border-radius: 8px; position: relative; background: transparent;
}
.nav-link::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .3rem; height: 2px;
  background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-link:hover::after, .nav-link.is-active::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-link .chev { transition: transform .2s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; z-index: 5;
  background: var(--surface); color: var(--text); border-radius: 12px; padding: .4rem;
  box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 3px solid var(--red);
  animation: dropIn .2s ease-out;
}
.dropdown a { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .92rem; }
.dropdown a svg { color: var(--accent); }
.dropdown a:hover, .dropdown a[aria-current] { background: var(--bg-alt); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .55); }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 88vw); overflow-y: auto;
  background: var(--surface); color: var(--text); padding: 1.1rem; animation: slideIn .25s ease-out;
}
.mobile-menu__panel a:not(.btn) { display: flex; align-items: center; gap: .55rem; padding: .7rem .4rem; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.mobile-menu__panel a[aria-current] { color: var(--accent-text); }
.m-group { padding: .9rem .4rem .2rem; font-size: .8rem; font-weight: 800; color: var(--muted); }
.m-sub { padding-left: 1rem !important; font-size: .95rem; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }

/* ---------- Live wire canvas ---------- */
.wire-canvas { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; pointer-events: none; z-index: 1; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1000px;
  overflow: hidden; color: #fff; isolation: isolate; background: #111;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.hero__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); z-index: -1; }
.hero__inner {
  height: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 2.5rem;
  padding-top: var(--header-h); padding-bottom: 70px; position: relative; z-index: 2;
}
.hero__since { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; color: var(--volt); }
.hero h1 { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 850; margin-top: .6rem; max-width: 18ch; text-wrap: balance; }
.hero__lead { margin-top: .9rem; font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 56ch; color: rgba(255, 255, 255, .92); }
.hero__counties { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.2rem; font-size: .9rem; }
.hero__counties span { opacity: .8; }
.hero__counties a { color: #fff !important; font-weight: 800; text-decoration: none; }
.hero__counties a:hover { color: var(--volt) !important; }

/* 3D service deck */
.hero__deck { perspective: 1400px; }
.deck__stage { position: relative; height: min(52vh, 430px); transform-style: preserve-3d; }
.deck__card {
  position: absolute; inset: 0 8% 0 8%; border-radius: 16px; overflow: hidden;
  background: #fff; color: var(--wire); display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8);
  transform-origin: center bottom;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .8s, filter .8s;
  will-change: transform;
}
.deck__img { flex: 1; min-height: 0; background: #1D1F24; position: relative; overflow: hidden; }
.deck__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.deck__body { padding: .9rem 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; border-top: 4px solid var(--red); }
.deck__title { font-weight: 800; font-stretch: 112%; font-size: 1rem; line-height: 1.2; }
.deck__link { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .85rem; color: var(--red) !important; text-decoration: none; white-space: nowrap; }
.deck__link:hover { text-decoration: underline; }
.deck__controls { display: flex; align-items: center; gap: .5rem; justify-content: center; margin-top: 1rem; }
.deck__btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.deck__btn:hover { background: #fff; color: var(--wire); }
.deck__pause-ico { width: 12px; height: 12px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.deck__btn[aria-pressed="true"] .deck__pause-ico { border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; height: 0; width: 0; margin-left: 3px; }
.deck__count { font-size: .85rem; margin-left: .4rem; font-variant-numeric: tabular-nums; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--panel); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 34px 34px;
}
.page-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 2.5rem; align-items: center;
  padding-top: calc(var(--header-h) + 1.6rem); padding-bottom: 3.6rem; position: relative; z-index: 2;
}
.page-hero__inner:not(:has(.page-hero__media)) { grid-template-columns: 1fr; }
.page-hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 850; margin-top: .4rem; }
.page-hero__intro { margin-top: .6rem; max-width: 62ch; color: rgba(255, 255, 255, .88); }
.page-hero__intro a { color: var(--volt) !important; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem; font-size: .85rem; }
.crumbs li + li::before { content: "/"; margin-right: .3rem; opacity: .5; }
.crumbs a { color: var(--volt) !important; text-decoration: none; }
.crumbs [aria-current] { opacity: .85; }
.page-hero__media { perspective: 1000px; justify-self: end; width: 100%; max-width: 420px; }

.tilt-card {
  border-radius: 14px; overflow: hidden; background: #fff; padding: 8px;
  box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .65);
  transform: rotateY(-8deg) rotateX(3deg); transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  transform-style: preserve-3d;
}
.tilt-card img { border-radius: 9px; }
.photo-frame { perspective: 1000px; }
.photo-frame .tilt-card { transform: rotateY(6deg) rotateX(2deg); }
html.dark .tilt-card { background: #2A2E35; }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section--compact { padding: 2.5rem 0; }
.section--tight { padding: 1.6rem 0; }
.section--mist { background: var(--bg-alt); }
.section--panel { background: var(--panel); color: #E7E9ED; position: relative; }
.prose-hp p { margin-top: .8rem; }
.prose-hp p:first-child, .prose-hp .h2 + p { margin-top: .6rem; }
.text-muted { color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.facts li { display: flex; gap: .55rem; align-items: center; font-weight: 600; font-size: .95rem; padding: .6rem .75rem; background: var(--bg-alt); border-radius: 10px; border-left: 3px solid var(--red); }
.facts svg { color: var(--accent); flex: none; }

/* Breaker switches */
.breakers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; padding: 1rem; border-radius: 14px; background: #2E3239; border: 2px solid #41464F; box-shadow: inset 0 2px 14px rgba(0, 0, 0, .45); }
html.dark .breakers { background: #1A1D22; }
.breaker { display: flex; flex-direction: column; gap: .7rem; padding: 1rem; background: #393E46; border-radius: 10px; border: 1px solid #4A5059; }
html.dark .breaker { background: #23272D; }
.breaker__switch { width: 38px; height: 56px; border-radius: 6px; background: #15171A; position: relative; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .7); }
.breaker__lever { position: absolute; left: 5px; right: 5px; height: 22px; bottom: 5px; border-radius: 4px; background: #8A9099; transition: transform .45s cubic-bezier(.5, -0.4, .3, 1.5), background-color .3s; }
.breaker.is-on .breaker__lever { transform: translateY(-24px); background: var(--volt); box-shadow: 0 0 16px rgba(255, 225, 0, .6); }
.breaker__title { display: flex; align-items: center; gap: .4rem; font-weight: 800; color: #fff; font-stretch: 112%; }
.breaker__title svg { color: var(--volt); }
.breaker p { font-size: .9rem; color: #D2D6DC; }

/* Services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.svc-card {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text) !important;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s; transform-style: preserve-3d;
}
.svc-card:hover { box-shadow: var(--shadow); border-color: var(--red); }
.svc-card__img { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.svc-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.svc-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; position: relative; }
.svc-card__ico { position: absolute; top: -22px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--red); color: #fff; box-shadow: 0 8px 16px -8px rgba(212, 0, 0, .9); }
.svc-card__name { font-weight: 800; font-size: 1.08rem; font-stretch: 112%; }
.svc-card__desc { color: var(--muted); font-size: .93rem; }
.svc-card__more { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--accent-text); font-size: .9rem; }
.svc-card:hover .svc-card__more svg { transform: translateX(4px); }
.svc-card__more svg { transition: transform .2s; }

/* Coupon tickets (home) */
.ticket-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ticket {
  position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1.2rem 1.3rem;
  background: var(--surface); border: 2px dashed var(--red); border-radius: 14px;
}
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-alt); transform: translateY(-50%); }
.ticket::before { left: -12px; border-right: 2px dashed var(--red); }
.ticket::after { right: -12px; border-left: 2px dashed var(--red); }
.ticket__big { font-size: 1.6rem; font-weight: 900; font-stretch: 125%; color: var(--accent-text); line-height: 1.1; }
.ticket__name { font-weight: 800; }
.ticket__txt { font-size: .92rem; color: var(--muted); }

/* Area */
.county-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.county-list li { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .7rem; border-radius: 999px; background: var(--bg-alt); font-weight: 600; font-size: .9rem; }
.county-list svg { color: var(--accent); }
.call-line { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
.call-line strong { color: var(--accent-text); }
.zip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.zip-item { padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.zip-item--wide { grid-column: 1 / -1; }
.zip-item dt { font-weight: 800; font-size: .92rem; }
.zip-item dd { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.trust-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; }
.trust-row li, .trust-row a { display: flex; align-items: center; gap: .6rem; font-size: .95rem; text-decoration: none; color: var(--text) !important; }
.trust-row svg { color: var(--accent); }
.trust-row .award-img { width: 56px; height: 56px; flex: none; object-fit: contain; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding: 2rem 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background: var(--volt); opacity: .12; clip-path: polygon(55% 0, 15% 55%, 45% 55%, 30% 100%, 85% 40%, 55% 40%); }
.cta-band__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(0, 0, 0, .2); color: var(--volt); flex: none; }

/* Aside */
.aside-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem; }
.lg\:col-span-4 > .aside-card { position: sticky; top: 90px; }
.aside-list a { display: flex; align-items: center; gap: .55rem; padding: .55rem .6rem; border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--text) !important; }
.aside-list a:hover { background: var(--surface); text-decoration: none; }
.aside-list a[aria-current] { background: var(--red); color: #fff !important; }
.aside-list svg { color: var(--accent); }
.aside-list a[aria-current] svg { color: #fff; }
.aside-call { margin-top: .9rem; padding: .9rem; border-radius: 10px; background: var(--wire); color: #fff; }
.aside-call a { color: var(--volt) !important; text-decoration: none; }

/* Lists */
.reason-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.reason { display: flex; gap: .8rem; padding: .9rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.reason__ico, .info-ico, .commit__ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(212, 0, 0, .1); color: var(--accent); flex: none; }
.reason__t { font-weight: 800; font-size: 1rem; }
.reason p { font-size: .93rem; color: var(--muted); margin-top: .2rem; }
.q-list li, .check-list li, .ethic-list li, .coupon__lines li { display: flex; gap: .55rem; align-items: flex-start; padding: .4rem 0; }
.q-list svg, .check-list svg, .ethic-list svg, .coupon__lines svg { color: var(--accent); flex: none; margin-top: .3rem; }
.callout { padding: .8rem 1rem; border-left: 4px solid var(--volt); background: var(--bg-alt); border-radius: 0 10px 10px 0; }
.step-list { counter-reset: s; display: grid; gap: .5rem; }
.step-list li { counter-increment: s; position: relative; padding: .6rem .8rem .6rem 3rem; background: var(--bg-alt); border-radius: 10px; }
.step-list li::before { content: counter(s); position: absolute; left: .7rem; top: .55rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.dot-list { list-style: disc; padding-left: 1.2rem; }
.dot-list li { margin: .25rem 0; }

/* Before / after */
.ba { margin: 0; }
.ba__stage { position: relative; overflow: hidden; border-radius: 12px; background: #000; box-shadow: var(--shadow); }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #111; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--volt); transform: translateX(-50%); }
.ba__handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: var(--volt); color: #000; display: grid; place-items: center; font-weight: 900; }
.ba__tag { position: absolute; top: 10px; padding: .2rem .55rem; border-radius: 6px; font-size: .78rem; font-weight: 800; background: rgba(0, 0, 0, .7); color: #fff; }
.ba__tag--l { left: 10px; } .ba__tag--r { right: 10px; background: var(--red); }
.ba__range { width: 100%; margin-top: .6rem; accent-color: var(--red); }
.ba figcaption { font-size: .85rem; color: var(--muted); }

/* Lighting */
.subnav { position: sticky; top: 72px; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.subnav > div { display: flex; gap: .3rem; overflow-x: auto; padding-top: .5rem; padding-bottom: .5rem; }
.subnav a { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .8rem; border-radius: 999px; font-weight: 600; font-size: .88rem; white-space: nowrap; text-decoration: none; color: var(--text) !important; }
.subnav a:hover { background: var(--bg-alt); }
.subnav svg { color: var(--accent); }
.type-list > div { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.type-list dt { display: flex; align-items: center; gap: .4rem; font-weight: 800; }
.type-list dt svg { color: var(--accent); }
.type-list dd { color: var(--muted); font-size: .93rem; }
.fixture-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fixture-row--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fixture-row figure, .fig-card, .product figure { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fixture-row figure .zoom-btn, .product figure .zoom-btn { background: #fff; }
.fixture-row figcaption, .fig-card figcaption { padding: .55rem .75rem; font-weight: 600; font-size: .88rem; }
.fig-card figcaption { font-weight: 400; color: var(--muted); }
.stack-photos { display: grid; gap: .8rem; }
.stack-photos li { border-radius: 12px; overflow: hidden; }

.zoom-btn { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: transparent; position: relative; }
.zoom-btn img { transition: transform .5s; }
.zoom-btn:hover img { transform: scale(1.03); }

/* Masonry gallery */
.masonry { columns: 4 240px; column-gap: 1rem; }
.masonry__item { break-inside: avoid; margin-bottom: 1rem; }
.masonry figure { border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.masonry figcaption { padding: .5rem .7rem; font-size: .86rem; font-weight: 600; }

/* FAQ / details */
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: .5rem; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; color: var(--accent); transition: transform .25s; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.faq details > :not(summary) { padding: .8rem 1rem 1rem; }
.faq__a p + p, .faq__a ol { margin-top: .5rem; }
.faq__a ol { list-style: decimal; padding-left: 1.3rem; }

/* Wiring */
.chip-nav { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip-nav a { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .8rem; border-radius: 999px; background: var(--bg-alt); font-weight: 600; font-size: .88rem; text-decoration: none; color: var(--text) !important; }
.feature-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.5rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.feature-row--flip .feature-row__text { order: 2; }
.feature-row__img { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.ico-pill { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--red); color: #fff; vertical-align: middle; margin-right: .3rem; }

/* Surge */
.compare { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1rem; }
.compare__col { padding: 1rem; border-radius: 12px; border: 1px solid var(--line); }
.compare__col--weak { background: var(--bg-alt); }
.compare__col--strong { background: var(--wire); color: #fff; border-color: var(--wire); }
.compare__col--strong svg { color: var(--volt); }
.compare__h { display: flex; gap: .45rem; align-items: center; font-weight: 800; margin-bottom: .5rem; }
.compare li { display: flex; gap: .4rem; align-items: center; padding: .2rem 0; font-size: .93rem; break-inside: avoid; }
.stage-tag { display: inline-block; padding: .2rem .55rem; margin-right: .4rem; border-radius: 6px; background: var(--volt); color: #000; font-size: .85rem; vertical-align: middle; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .8rem; }
.product figure { border: 0; }
.product__t { font-weight: 800; margin-top: .6rem; }
.product p { font-size: .92rem; color: var(--muted); margin-top: .2rem; }

/* Tips */
.input {
  width: 100%; padding: .7rem .85rem; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit; font-size: .95rem;
}
.input:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(212, 0, 0, .2); }
.input[aria-invalid="true"] { border-color: var(--red); background: rgba(212, 0, 0, .05); }
.input-sm { padding: .45rem .5rem; font-size: .85rem; }
.pl-9 { padding-left: 2.25rem; }

/* Coupons */
.coupon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.coupon { display: flex; flex-direction: column; background: var(--surface); border: 2px dashed var(--red); border-radius: 16px; padding: 1.2rem; position: relative; }
.coupon__top { display: flex; align-items: center; gap: .6rem; }
.coupon__ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--red); color: #fff; }
.coupon__name { font-weight: 800; font-stretch: 115%; }
.coupon__big { font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 900; font-stretch: 125%; color: var(--accent-text); line-height: 1.1; margin: .7rem 0; }
.coupon__lines { font-size: .93rem; }
.coupon__fine { font-size: .78rem; color: var(--muted); margin-top: .7rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.coupon__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .9rem; }
.coupon__foot img { height: 40px; width: auto; background: #fff; padding: 3px 6px; border-radius: 6px; }

/* About */
.timeline { border-left: 3px solid var(--red); padding-left: 1rem; display: grid; gap: .6rem; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-1rem - 8px); top: .45rem; width: 13px; height: 13px; border-radius: 50%; background: var(--volt); border: 2px solid var(--wire); }
.timeline__y { font-weight: 900; font-stretch: 120%; margin-right: .4rem; color: var(--accent-text); }
.tabs__list { display: flex; flex-wrap: wrap; gap: .4rem; }
.tabs__tab { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-radius: 999px; font-weight: 700; font-size: .9rem; background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.tabs__tab[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.tabs__panel { margin-top: .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; animation: dropIn .25s ease-out; }
.commit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.commit { padding: 1.1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.commit__t { font-weight: 800; margin: .6rem 0 .3rem; }
.commit p { font-size: .92rem; color: var(--muted); }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1rem, 2.5vw, 1.6rem); box-shadow: var(--shadow); }
.field { margin-bottom: .8rem; }
.field > label, .field > legend { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .3rem; }
.req { color: var(--accent-text); }
.hint { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.radio { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; font-size: .93rem; }
.radio input { width: 18px; height: 18px; accent-color: var(--red); }
.yn legend { font-weight: 600 !important; }
.steps-bar { height: 8px; border-radius: 99px; background: var(--bg-alt); overflow: hidden; }
.steps-bar span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--red), var(--volt)); transition: width .4s; }
.step { margin-top: 1rem; animation: dropIn .3s ease-out; }
.sub-details { border: 1px dashed var(--line); border-radius: 10px; padding: .6rem .8rem; }
.sub-details summary { cursor: pointer; font-weight: 700; color: var(--accent-text); }
.sub-details[open] summary { margin-bottom: .7rem; }
.statement { font-size: .85rem; color: var(--muted); background: var(--bg-alt); border-radius: 10px; padding: .8rem 1rem; max-height: 220px; overflow-y: auto; }
.statement p { margin-top: .4rem; }
.statement h4 { color: var(--text); }
.form-status:empty { display: none; }
.alert, .form-status { padding: .75rem 1rem; border-radius: 10px; font-weight: 600; font-size: .93rem; }
.alert-success, .form-status.is-ok { background: #E6F6EC; color: #0F5B2E; border: 1px solid #A7DDBB; }
.alert-error, .form-status.is-err { background: #FDECEC; color: #8A0000; border: 1px solid #F3B3B3; }
html.dark .alert-success, html.dark .form-status.is-ok { background: #123222; color: #A9EBC2; border-color: #1F5B3A; }
html.dark .alert-error, html.dark .form-status.is-err { background: #3A1515; color: #FFB3B3; border-color: #6B2222; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.work-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.work-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.work-chip span { display: inline-block; padding: .4rem .8rem; border-radius: 999px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 600; cursor: pointer; }
.work-chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.work-chip input:focus-visible + span { outline: 3px solid var(--volt); outline-offset: 2px; }
.btn[disabled] { opacity: .65; pointer-events: none; }

.info-card, .emergency-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem; }
.emergency-card { background: var(--red); color: #fff; border-color: var(--red); }
.emergency-card a:not(.btn) { color: #fff !important; }
.info-list li { display: flex; gap: .75rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border: 0; }
.info-list a { color: var(--text) !important; text-decoration: none; }
.map-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); min-height: 260px; }
.map-card iframe { width: 100%; height: 300px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #17191D; color: #CDD1D7; position: relative; }
.footer-wire { display: block; width: 100%; height: 34px; color: var(--volt); background: var(--red); }
.foot-h { color: #fff; font-weight: 800; font-stretch: 112%; margin-bottom: .7rem; }
.foot-list li { display: flex; gap: .55rem; align-items: flex-start; padding: .25rem 0; font-size: .93rem; }
.foot-list svg { color: var(--volt); margin-top: .3rem; flex: none; }
.foot-list a, .foot-links a, .foot-bottom a { color: #fff; text-decoration: none; }
.foot-links li { padding: .2rem 0; }
.foot-links a { font-size: .93rem; color: #CDD1D7; }
.foot-links a:hover, .foot-list a:hover { color: var(--volt); }
.fb-link { display: inline-flex; align-items: center; gap: .4rem; color: #fff; text-decoration: none; font-weight: 600; padding: .45rem .8rem; border-radius: 999px; border: 1px solid #3A3F47; }
.fb-link:hover { background: #1877F2; border-color: #1877F2; }
.award-link { display: inline-block; }
.award-link .award-img { width: 110px; height: 110px; display: block; object-fit: contain; }
img.award-img { background: #fff; border-radius: 12px; padding: 6px; }
.foot-bottom { border-top: 1px solid #2B2F35; color: #A6ACB5; }

/* ---------- Floating tools ---------- */
.float-tools { position: fixed; left: 16px; bottom: 16px; z-index: 70; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .6); transition: transform .2s; }
.float-btn:hover { transform: scale(1.08); }
.float-btn--a11y { background: #0B57D0; color: #fff; }
.float-btn--theme { background: var(--wire); color: var(--volt); border: 2px solid var(--volt); width: 44px; height: 44px; margin-left: 3px; }
.float-btn--theme .i-moon { display: none; }
html.dark .float-btn--theme { background: #fff; color: var(--wire); border-color: var(--wire); }
html.dark .float-btn--theme .i-sun { display: none; }
html.dark .float-btn--theme .i-moon { display: block; }
.a11y-panel { position: fixed; left: 16px; bottom: 130px; z-index: 75; width: min(340px, calc(100vw - 32px)); background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 16px; padding: 1rem; box-shadow: var(--shadow); animation: dropIn .2s ease-out; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: .92rem; }
.a11y-chip, .a11y-opt { border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg-alt); color: var(--text); font-weight: 700; font-size: .85rem; }
.a11y-chip { padding: .35rem .65rem; }
.a11y-opt { display: flex; align-items: center; gap: .4rem; padding: .6rem; text-align: left; }
.a11y-opt[aria-pressed="true"] { background: #0B57D0; color: #fff; border-color: #0B57D0; }

/* ADA modes */
html.a11y-contrast { --text: #000; --muted: #000; --bg: #fff; --bg-alt: #fff; --surface: #fff; --line: #000; --accent-text: #8A0000; }
html.dark.a11y-contrast { --text: #fff; --muted: #fff; --bg: #000; --bg-alt: #000; --surface: #000; --line: #fff; --accent-text: #FFE100; }
html.a11y-contrast .hero__overlay { background: rgba(0, 0, 0, .75); }
html.a11y-links main a, html.a11y-links footer a { text-decoration: underline !important; text-decoration-thickness: 2px !important; }
html.a11y-readable body, html.a11y-readable .h2, html.a11y-readable .h3, html.a11y-readable h1 { font-family: Verdana, Tahoma, Arial, sans-serif !important; font-stretch: 100% !important; }
html.a11y-spacing body { letter-spacing: .06em; word-spacing: .14em; line-height: 1.95; }
html.a11y-grayscale body > *:not(.float-tools):not(.a11y-panel) { filter: grayscale(1); }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 10-7 1.5L9.5 21z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* ---------- Chatbot ---------- */
.bot-launch { position: fixed; right: 20px; bottom: 96px; z-index: 70; width: 54px; height: 54px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 24px -8px rgba(212, 0, 0, .8); }
.bot-launch::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--red); animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
.bot { position: fixed; right: 20px; bottom: 160px; z-index: 80; width: min(370px, calc(100vw - 32px)); height: min(520px, calc(100vh - 190px)); display: flex; flex-direction: column; background: var(--surface); color: var(--text); border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); overflow: hidden; animation: dropIn .25s ease-out; }
.bot__head { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; background: var(--wire); color: #fff; }
.bot__avatar { width: 38px; height: 38px; border-radius: 10px; background: var(--volt); color: #000; display: grid; place-items: center; }
.bot__log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .55rem; }
.msg { max-width: 86%; padding: .6rem .8rem; border-radius: 14px; font-size: .92rem; line-height: 1.45; animation: dropIn .2s ease-out; }
.msg--bot { background: var(--bg-alt); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--me { background: var(--red); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: var(--accent-text); font-weight: 700; }
.msg--typing span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .2s; } .msg--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }
.bot__quick { display: flex; gap: .35rem; overflow-x: auto; padding: 0 .8rem .6rem; }
.bot__quick button { white-space: nowrap; padding: .35rem .7rem; border-radius: 999px; border: 1.5px solid var(--red); color: var(--accent-text); font-size: .8rem; font-weight: 700; background: transparent; }
.bot__quick button:hover { background: var(--red); color: #fff; }
.bot__form { display: flex; gap: .4rem; padding: .7rem; border-top: 1px solid var(--line); }
.bot__form input { flex: 1; padding: .6rem .8rem; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: .9rem; }
.bot__send { width: 42px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox img { max-width: 94vw; max-height: 82vh; width: auto; height: auto; border-radius: 10px; display: block; margin: 0 auto; }
.lightbox figcaption { color: #fff; text-align: center; padding: .6rem; font-weight: 600; }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; }

/* ---------- Scroll reveal (one subtle effect) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .breakers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fixture-row--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  :root { --header-h: 106px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__deck { display: none; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__media { display: none; }
  .svc-grid, .ticket-row, .coupon-grid, .commit-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:col-span-4 > .aside-card { position: static; }
}
@media (max-width: 767px) {
  :root { --header-h: 100px; }
  .section { padding: 2.5rem 0; }
  .section--compact { padding: 2rem 0; }
  .logo-plate img { height: 42px; }
  .breakers { grid-template-columns: 1fr; }
  .breaker { flex-direction: row; align-items: center; }
  .breaker__switch { flex: none; }
  .svc-grid, .ticket-row, .coupon-grid, .commit-grid, .product-grid, .product-grid--2, .reason-grid, .facts, .compare { grid-template-columns: 1fr; }
  .fixture-row, .fixture-row--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row--flip .feature-row__text { order: 0; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: 1.75rem; }
  .hero__lead { font-size: .98rem; }
  .btn-lg { padding: .8rem 1rem; font-size: .93rem; }
  .bot-launch { bottom: 88px; right: 16px; }
  .bot { right: 16px; bottom: 150px; }
  .subnav { top: 72px; }
}
@media (max-height: 640px) and (min-width: 1024px) {
  .deck__stage { height: 300px; }
  .hero h1 { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Print (coupons) ---------- */
@media print {
  .site-header, .site-footer, .float-tools, .a11y-panel, .bot-launch, .bot, .cta-band, .page-hero, .no-print, #tawkchat-container, iframe { display: none !important; }
  body { background: #fff; color: #000; }
  .coupon { break-inside: avoid; border-color: #000; margin-bottom: 1rem; }
  .coupon-grid { grid-template-columns: 1fr 1fr; }
  body.print-one .coupon:not(.print-target) { display: none !important; }
}

/* ---------- Utility guards (component display rules vs Tailwind "hidden") ---------- */
.logo-plate { flex: none; }
.strip-link { white-space: nowrap; }
@media (max-width: 639px) {
  .strip-link.hidden, .header-main .btn.hidden { display: none; }
}
@media (max-width: 1023px) { .main-nav.hidden { display: none; } }
/* Keep inner heroes compact: photo never taller than ~42% of the screen (shown full, not cropped) */
.page-hero__media .tilt-card { width: fit-content; max-width: 100%; margin-left: auto; }
.page-hero__media .tilt-card img { max-height: 42vh; width: auto; max-width: 100%; }
.stack-photos { grid-template-columns: 1fr 1fr; }
.stack-photos li:first-child { grid-column: 1 / -1; }
.fixture-row, .product-grid { align-items: start; }
