/* Gulfstar Electric homepage styles.
   Loaded after site.css on the homepage only. Carried over from the review homepage.html,
   scoped under body.home where a class name is shared with site.css. */

/* Sections common (homepage scale) */
.home main > section{padding:128px 0}
.home .sec-label{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--teal);margin-bottom:16px}
.home .sec-h{font-family:'Poppins',system-ui,sans-serif;font-weight:500;font-size:clamp(28px,3.5vw,40px);line-height:1.15;letter-spacing:-.01em;margin-bottom:24px;max-width:min(40ch,100%)}
.home .sec-lead{font-size:20px;line-height:1.55;color:var(--slate);max-width:640px;margin-bottom:48px}
.home .text-link{font-size:16px;font-weight:500;color:var(--ink);border-bottom:2px solid var(--teal);padding-bottom:2px}
.home .text-link:hover{color:var(--teal)}
html[data-theme="dark"] .home .text-link{color:var(--chalk)}

/* Hero: muted video loads after first paint; poster until ready */
.hero{position:relative;min-height:640px;height:min(88vh,820px);display:flex;align-items:flex-start;color:var(--chalk);overflow:hidden}
.home main > .hero{padding:0}
.hero-frame{
  position:absolute;inset:0;overflow:hidden;
  background:
    linear-gradient(rgba(25,28,26,0.08), rgba(25,28,26,0.08)),
    linear-gradient(90deg, rgba(25,28,26,0.72) 0%, rgba(25,28,26,0.45) 45%, rgba(25,28,26,0.15) 100%),
    linear-gradient(160deg, #1a1e24 0%, #1e2834 40%, #1a1e24 70%, #151a17 100%);
}
.hero-frame::before{
  content:"";position:absolute;inset:0;opacity:.7;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(27,58,92,0.04) 47px, rgba(27,58,92,0.04) 48px),
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(232,230,223,0.03) 47px, rgba(232,230,223,0.03) 48px);
}
.hero-video{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none;container-type:size}
.hero-poster{position:absolute;inset:0;background:linear-gradient(160deg, #1a1e24 0%, #243040 40%, #1a1e24 70%, #151a17 100%);transition:opacity .45s ease}
.hero-video.is-playing .hero-poster{opacity:0;pointer-events:none}
/* Desktop/tablet: size the 16:9 YouTube iframe to cover the hero (object-fit:cover equivalent).
   Scale(1.12) left side/top bars on wide viewports; cqw/cqh fills edge to edge. Phones hide the iframe. */
.hero-video iframe{
  position:absolute;inset:auto;left:50%;top:50%;
  width:max(100cqw, 177.78cqh);height:max(100cqh, 56.25cqw);
  border:0;max-width:none;
  transform:translate(-50%,-50%);
}
.hero-video video{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:72% 42%;
  border:0;z-index:1;pointer-events:none;
}
html.hero-reduced-motion .hero-video video{display:none!important}
@media (min-width:701px){
  .home .hero-video video{display:none!important}
}
.hero-unmute{
  pointer-events:auto;position:absolute;bottom:20px;left:24px;z-index:4;
  font-family:'Red Hat Display',sans-serif;font-size:12px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;
  color:var(--chalk);background:rgba(25,28,26,0.55);border:1px solid rgba(214,210,200,0.35);border-radius:8px;
  padding:8px 12px;cursor:pointer;opacity:0;visibility:hidden;
  transition:opacity .25s ease, background .2s ease, border-color .2s ease;
}
.hero-video.is-playing .hero-unmute{opacity:.9;visibility:visible}
.hero-unmute:hover{background:rgba(27,58,92,0.85);border-color:#6A9AA3}
.hero-unmute:focus-visible{outline:2px solid #6A9AA3;outline-offset:2px}
html.hero-reduced-motion .hero-unmute{display:none !important}
.hero-scrim{
  position:absolute;inset:0;z-index:2;pointer-events:none;
  background:
    linear-gradient(rgba(25,28,26,0.08), rgba(25,28,26,0.08)),
    linear-gradient(90deg, rgba(25,28,26,0.72) 0%, rgba(25,28,26,0.55) 28%, rgba(25,28,26,0.32) 52%, rgba(25,28,26,0.15) 78%, rgba(25,28,26,0.08) 100%);
}
.hero .wrap{
  position:absolute;left:0;right:0;top:0;bottom:0;z-index:3;
  width:100%;max-width:var(--max);margin:0 auto;
  display:flex;align-items:flex-start;
  padding-top:clamp(88px, 10vh, 108px);padding-bottom:clamp(160px, 22vh, 240px);
  padding-left:var(--gutter);padding-right:var(--gutter);
}
.hero .content{position:relative;z-index:3;max-width:min(720px,92%);width:100%;text-align:left;margin:clamp(4px, 1.5vh, 20px) auto 0 0}
.eyebrow{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#F6F3EC;opacity:.95;margin-bottom:12px}
html[data-theme="dark"] .eyebrow{color:var(--foam)}
.hero h1{font-family:'Poppins',system-ui,sans-serif;font-weight:500;font-size:clamp(36px,5vw,56px);line-height:1.08;letter-spacing:-.02em;color:var(--chalk);margin-bottom:12px;max-width:20ch}
.hero-tag-br{display:none}
@media(min-width:769px){.hero-tag-br{display:inline}}
.hero-tagline{font-family:'Poppins',system-ui,sans-serif;font-weight:500;font-size:clamp(22px,3vw,32px);line-height:1.2;letter-spacing:-.01em;color:var(--chalk);opacity:.92;margin:8px 0 14px;max-width:18ch}
.hero-ctas{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.hero-link{font-size:16px;font-weight:600;color:var(--chalk);border-bottom:2px solid var(--teal-soft);padding-bottom:2px}
.hero-link:hover{color:#FFFFFF}
.hero-link:focus-visible{outline:2px solid var(--teal-soft);outline-offset:3px}

/* Assurance */
.assurance{background:var(--paper);border-top:4px solid var(--teal);border-bottom:1px solid var(--concrete)}
.assurance-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.assurance-item{padding:48px 40px;border-right:1px solid var(--concrete)}
.assurance-item:last-child{border-right:none}
.assurance-item h2{font-family:'Poppins',system-ui,sans-serif;font-weight:500;font-size:22px;line-height:1.3;margin-bottom:10px;color:var(--ink)}
.assurance-item p{font-size:14px;color:var(--slate);line-height:1.45}

/* Partners: centered certified-installer callouts, then a logo marquee */
.home main > .partners{background:var(--paper);border-bottom:1px solid var(--concrete);box-shadow:inset 0 4px 0 var(--teal);padding:56px 0 48px}
.partners .wrap{text-align:center}
.partners .sec-label{margin-bottom:10px}
.partners-lead{font-size:16px;line-height:1.5;color:var(--slate);max-width:52ch;margin:0 auto 32px}
.partners .cert-row{justify-content:center;margin-bottom:8px}
.partners .cert-callout,
html[data-theme="dark"] .partners .cert-callout{
  justify-content:center;text-align:center;
  background:#FFFFFF;color:#1A1D21;
  border:none;
  box-shadow:0 1px 2px rgba(11,31,51,.05), 0 10px 28px rgba(11,31,51,.08);
}
.partners a.cert-callout:hover,
.partners a.cert-callout:focus-visible,
html[data-theme="dark"] .partners a.cert-callout:hover,
html[data-theme="dark"] .partners a.cert-callout:focus-visible{
  border:none;background:#FFFFFF;
  box-shadow:0 1px 2px rgba(11,31,51,.08), 0 14px 32px rgba(11,31,51,.12);
}
.partners .cert-callout-copy{align-items:center}
.partners .cert-callout-title,
html[data-theme="dark"] .partners .cert-callout-title{color:#1A1D21}
.partners .cert-callout-kicker,
html[data-theme="dark"] .partners .cert-callout-kicker{color:#0E7A86}
html[data-theme="dark"] .partners .cert-callout-mark{filter:none}
.logo-marquee{overflow:hidden;width:100%;margin-top:28px}
.logo-track{display:flex;width:max-content;animation:logo-marquee 42s linear infinite}
.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track{animation-play-state:paused}
.partners-row{display:flex;flex-wrap:nowrap;align-items:center;gap:44px;list-style:none;margin:0;padding:8px 44px 8px 0}
.partner-logo{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:4px 8px;flex:0 0 auto}
.partner-logo a{display:inline-flex;align-items:center;justify-content:center;height:100%;color:inherit;text-decoration:none;transition:transform .2s ease,opacity .2s ease}
.partner-logo a:hover,.partner-logo a:focus-visible{transform:translateY(-2px);opacity:.82}
.partner-logo a:focus-visible{outline:2px solid var(--teal);outline-offset:4px}
.partner-logo img{display:block;height:28px;width:auto;max-width:132px;object-fit:contain}
.partner-logo--bmw img,.partner-logo--mercedes img{height:34px;max-width:44px}
.partner-logo--rivian img{max-width:150px}
.partner-logo--siemens img,.partner-logo--porsche img,.partner-logo--honda img{max-width:140px}
@keyframes logo-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
html[data-theme="dark"] .partners{background:var(--paper-raised)}
html[data-theme="dark"] .partner-logo img{filter:brightness(0) invert(1);opacity:1}
/* Ford and BMW are opaque color badges. Invert turns them into blank white ovals. */
html[data-theme="dark"] .partner-logo--ford img,
html[data-theme="dark"] .partner-logo--bmw img{filter:none;opacity:1}

/* Standout band over a crew photo */
.home main > .standout{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;overflow:hidden;border-top:3px solid var(--teal);padding:0;min-height:36vw}
.standout-media{position:absolute;inset:0;z-index:0}
.standout-media img{width:100%;height:100%;object-fit:cover;object-position:32% 4%}
.standout-scrim{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(180deg, rgba(11,31,51,0.58) 0%, rgba(11,31,51,0.74) 45%, rgba(11,31,51,0.80) 100%),
    radial-gradient(ellipse at center, rgba(11,31,51,0.30) 0%, rgba(11,31,51,0.55) 70%);
}
html[data-theme="dark"] .standout-scrim{
  background:
    linear-gradient(180deg, rgba(7,16,24,0.55) 0%, rgba(7,16,24,0.72) 45%, rgba(7,16,24,0.78) 100%),
    radial-gradient(ellipse at center, rgba(7,16,24,0.35) 0%, rgba(7,16,24,0.55) 70%);
}
.standout .wrap{width:100%;display:flex;justify-content:center}
.standout-copy{position:relative;z-index:2;max-width:min(540px,92%);padding:72px 24px;text-align:center;margin:0 auto}
.standout-eye{font-family:'Poppins',system-ui,sans-serif;font-weight:500;font-size:clamp(22px,2.8vw,28px);letter-spacing:-.015em;color:#F6F3EC;margin:0 0 12px;line-height:1.2}
.standout-pull{font-size:clamp(15px,1.6vw,17px);line-height:1.5;color:rgba(255,255,255,0.92);margin:0 auto;max-width:38ch}

/* Services */
.services{background:var(--paper);border-top:4px solid var(--teal)}
.svc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.svc-card{background:var(--paper-raised);border:1px solid var(--concrete);border-radius:var(--radius);overflow:hidden}
html[data-theme="dark"] .svc-card{border-color:var(--concrete)}
.svc-photo{aspect-ratio:16/9;background:#1a1e24;position:relative;overflow:hidden}
.svc-photo img{width:100%;height:100%;object-fit:cover;object-position:center}
.svc-photo--face img{object-position:center 18%}
.svc-photo--face-safe img{object-position:center 28%}
.svc-body{padding:28px}
.svc-body h3{font-family:'Poppins',system-ui,sans-serif;font-weight:500;font-size:22px;margin-bottom:10px;color:var(--ink)}
.svc-body p{font-size:16px;color:var(--slate);line-height:1.55;margin-bottom:18px;max-width:42ch}
.svc-link{font-size:15px;font-weight:600;color:var(--teal);border-bottom:1px solid transparent;padding-bottom:2px}
.svc-link:hover{border-bottom-color:var(--teal)}

/* Home power stack */
.home main > .systems{background:var(--paper);padding:96px 0 112px;border-top:4px solid var(--teal)}
.systems-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.systems h2{font-family:'Poppins',system-ui,sans-serif;font-weight:500;font-size:clamp(28px,3.6vw,40px);line-height:1.15;letter-spacing:-.015em;color:var(--ink);margin-bottom:16px;max-width:min(36ch,100%)}
.systems .lead{font-size:17px;line-height:1.55;color:var(--slate);max-width:42ch;margin-bottom:20px}
.systems-links{list-style:none;display:grid;gap:8px;margin-bottom:28px}
.systems-wave{font-size:15px;line-height:1.5;color:var(--slate);max-width:44ch;padding:16px 18px;border-left:4px solid var(--teal);background:var(--paper-raised);border-radius:0 var(--radius) var(--radius) 0}
.systems-cta{margin-top:24px}
.stack .d .text-link{font-size:14px}
.stack{list-style:none;display:grid;border:1px solid var(--concrete);border-radius:var(--radius);background:var(--paper-raised);overflow:hidden}
.stack li{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start;padding:18px 20px;border-bottom:1px solid var(--concrete)}
.stack li:last-child{border-bottom:none}
.stack .ix{font-family:'Poppins',system-ui,sans-serif;font-size:22px;line-height:1;color:var(--teal)}
.stack .t{font-weight:600;font-size:15px;color:var(--ink);margin-bottom:2px}
.stack .d{font-size:14px;color:var(--slate);line-height:1.4}

/* Proof: awards and reviews (always a dark band) */
.proof{background:var(--navy-black);color:#F6F3EC}
.proof-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.proof .sec-label{color:#3AA0A8}
.proof-copy h2{font-family:'Poppins',system-ui,sans-serif;font-weight:500;font-size:clamp(28px,4vw,40px);line-height:1.15;letter-spacing:-.015em;color:#F6F3EC;margin-bottom:16px;max-width:min(36ch,100%)}
.proof-copy .lead{font-size:17px;line-height:1.55;color:#8A96A1;max-width:42ch;margin-bottom:28px}
.proof-points{list-style:none;display:grid;gap:18px}
.proof-points li{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start}
.proof-points .num{font-family:'Poppins',system-ui,sans-serif;font-weight:400;font-size:36px;line-height:1;letter-spacing:-.02em;color:#F6F3EC;min-width:2.5ch}
.proof-points .lbl{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#F6F3EC;margin-bottom:4px}
.proof-points .sub{font-size:15px;color:#8A96A1;line-height:1.45;max-width:36ch}
.proof-awards{margin:0;border-radius:var(--radius);overflow:hidden;border:1px solid rgba(232,230,223,0.12);background:#0d0f12}
.proof-awards img{width:100%;height:auto}
.proof-below{margin-top:64px;padding-top:48px;border-top:1px solid rgba(214,210,200,0.15)}
.reviews-head{font-size:14px;font-weight:600;letter-spacing:.04em;color:#F6F3EC;margin-bottom:28px}
.reviews-head span{color:#8A96A1;font-weight:500}
.reviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.review{display:flex;flex-direction:column;gap:16px}
.review-photo{margin:0;border-radius:var(--radius);overflow:hidden;border:1px solid rgba(232,230,223,0.12);aspect-ratio:4/3;background:#0d0f12}
.review-photo img{width:100%;height:100%;object-fit:cover}
.review-stars{color:#F6F3EC;letter-spacing:.08em;font-size:13px}
.review-quote{font-family:'Poppins',system-ui,sans-serif;font-weight:400;font-size:clamp(18px,1.8vw,22px);line-height:1.4;letter-spacing:-.01em;color:#F6F3EC}
.review-attr{font-size:14px;color:#8A96A1}

/* Crew */
.home main > .crew{background:var(--paper);padding:0 0 96px}
.crew .crew-intro{padding-top:72px;margin-bottom:28px;text-align:center}
.crew .crew-intro .sec-h,.crew .crew-intro .sec-lead{margin-left:auto;margin-right:auto}
.crew .crew-intro .sec-lead{max-width:42ch}
.crew-bleed{position:relative;width:min(var(--max),calc(100% - 2 * var(--gutter)));margin:0 auto 28px;background:#1a1e24;overflow:hidden;border-radius:12px}
.home .crew-bleed img{display:block;width:100%;height:auto;aspect-ratio:1600/558;max-height:none;object-fit:contain;object-position:center center}
.crew-bleed .cap{position:absolute;left:0;right:0;bottom:0;padding:48px 24px 18px;background:linear-gradient(transparent,rgba(7,16,24,0.72));font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#F6F3EC}
.crew .crew-after{text-align:center}

/* Training band */
.home main > .train-band{background:var(--paper);padding:96px 0;border-top:1px solid var(--concrete)}
.train-grid{display:grid;grid-template-columns:minmax(280px,1.05fr) minmax(240px,0.95fr);gap:40px 48px;align-items:center}
.train-copy .sec-h{max-width:min(36ch,100%)}
.train-copy .sec-lead{margin-bottom:20px}
.train-copy .text-link{display:inline-block;margin-bottom:32px}
.train-points{list-style:none;display:grid}
.train-points li{padding:18px 0;border-bottom:1px solid var(--concrete)}
.train-points li:first-child{border-top:1px solid var(--concrete)}
.train-points strong{display:block;font-weight:600;font-size:16px;margin-bottom:4px;color:var(--ink)}
.train-points span{font-size:14px;color:var(--slate);line-height:1.45}
.train-media{margin:0;max-height:520px}
.train-media img{width:100%;height:100%;max-height:520px;aspect-ratio:4/5;object-fit:cover;object-position:center 30%;border-radius:var(--radius)}

/* Tools teaser */
.tools-teaser{background:var(--paper-raised);border-top:1px solid var(--concrete);border-bottom:1px solid var(--concrete);padding:80px 0}
.tools-layout{display:grid;grid-template-columns:minmax(220px,0.85fr) minmax(280px,1.15fr);gap:40px 48px;align-items:stretch}
.tools-photo{margin:0;border-radius:12px;overflow:hidden;min-height:100%}
.tools-photo img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/5}
.tools-copy h2{font-family:'Poppins',system-ui,sans-serif;font-weight:500;font-size:clamp(24px,3vw,32px);letter-spacing:-.01em;margin-bottom:12px;max-width:min(36ch,100%);color:var(--ink)}
.tools-copy > p{color:var(--slate);font-size:16px;max-width:48ch;margin-bottom:20px}
.tools-path{margin-top:28px;padding:22px 24px;background:var(--paper);border:1px solid var(--concrete);border-radius:var(--radius)}
.tools-path-label{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--slate);margin-bottom:12px}
.tools-path ol{list-style:disc inside;display:grid;gap:8px;font-size:15px;color:var(--ink)}
.tools-path-note{font-size:13px;color:var(--slate);margin-top:12px}

/* Process */
.home main > .process{background:var(--paper);padding:128px 0;border-top:1px solid var(--concrete)}
.process-head{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:end;margin-bottom:48px}
.process-head .sec-h{margin-bottom:0}
.process-photo{margin:0;border-radius:var(--radius);overflow:hidden}
.process-photo img{width:100%;height:100%;object-fit:cover;aspect-ratio:16/11}
.home .steps{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;list-style:none}
.home .step h3{font-family:'Red Hat Display',system-ui,sans-serif;font-weight:600;font-size:18px;margin-bottom:8px;color:var(--ink)}
.home .step p{font-size:15px;color:var(--slate);line-height:1.5;max-width:28ch}
.home .step-num{display:block;width:auto;font-family:'Poppins',system-ui,sans-serif;font-weight:400;font-size:48px;line-height:1;color:var(--ink);margin-bottom:16px;letter-spacing:-.02em}

/* Service area: Night Gulf band */
.home main > .area{background:var(--navy-black);color:#F6F3EC;padding:88px 0}
.area-split{display:grid;grid-template-columns:.9fr 1.1fr;gap:40px;align-items:stretch}
.area-photo{margin:0;border-radius:12px;overflow:hidden;min-height:100%}
.area-photo img{width:100%;height:100%;object-fit:cover;min-height:320px}
.area-panel{background:var(--navy);border:1px solid rgba(232,228,218,.14);border-radius:12px;padding:48px 40px;color:#F6F3EC}
.area-panel .sec-label{color:var(--teal-soft)}
.area-panel .sec-h{margin-bottom:8px;color:#F6F3EC}
.area-panel .sec-lead{margin-bottom:24px;color:#C5D0D4}
.area-panel .area-note{color:#C5D0D4}
.home .area-panel .text-link{color:#F6F3EC;border-bottom-color:var(--teal-soft)}
.home .area-panel .text-link:hover{color:var(--teal-soft)}
.city-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 32px;list-style:none;margin:24px 0 28px;font-size:17px;color:#F6F3EC}

/* Close: request form */
.close{background:var(--navy-black);color:#F6F3EC}
.close-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.close h2{font-family:'Poppins',system-ui,sans-serif;font-weight:500;font-size:clamp(28px,3.5vw,40px);line-height:1.15;letter-spacing:-.01em;margin-bottom:16px;color:#F6F3EC}
.close .reassure{font-size:17px;color:#8A96A1;max-width:42ch;margin-bottom:28px}
.close .phone-aside{font-size:16px;color:#F6F3EC}
.close .phone-aside a{color:#F6F3EC;border-bottom:1px solid #3AA0A8}
.close .phone-aside .dot{display:inline-block;vertical-align:middle;margin-right:8px}
.close-mail{margin-top:28px;padding-top:24px;border-top:1px solid rgba(232,230,223,0.14);max-width:36ch}
.close-mail h3{font-family:'Red Hat Display',sans-serif;font-weight:600;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:#F6F3EC;margin-bottom:8px}
.close-mail p{font-size:15px;color:#8A96A1;line-height:1.5}
.close-mail .addr{color:#F6F3EC;margin-top:6px;font-style:normal}
.form{display:grid;gap:18px;max-width:440px}
.form label{display:block;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#8A96A1;margin-bottom:8px}
.form input,.form textarea{
  width:100%;padding:14px 16px;border:1px solid rgba(246,243,236,0.18);border-radius:8px;
  background:rgba(246,243,236,0.06);color:#F6F3EC;font-family:inherit;font-size:16px;line-height:1.4;
  transition:border-color .15s ease, background .15s ease;
}
.form input::placeholder,.form textarea::placeholder{color:rgba(246,243,236,0.42)}
.form input:hover,.form textarea:hover{border-color:rgba(246,243,236,0.28);background:rgba(246,243,236,0.08)}
.form input:focus,.form textarea:focus{outline:2px solid #3AA0A8;outline-offset:1px;border-color:#3AA0A8;background:rgba(246,243,236,0.09)}
.form textarea{min-height:120px;resize:vertical}
.form .btn{margin-top:4px;width:fit-content}
.form .hp{position:absolute;left:-9999px}
.captcha-words{font-family:'Poppins',system-ui,sans-serif;font-size:18px;line-height:1.35;letter-spacing:.02em;color:#F6F3EC;margin:0 0 4px;min-height:1.35em}
.form .captcha-error{font-size:14px;font-weight:500;letter-spacing:0;text-transform:none;color:#E3A008;margin:8px 0 0}

/* Responsive: homepage */
@media (max-width:1024px){
  .home main > .proof,.home main > .crew,.home main > .close{padding:72px 0}
  .home main > .process{padding:72px 0}
  .svc-grid,.proof-grid,.close-grid,.tools-layout,.train-grid,.process-head,.area-split{grid-template-columns:1fr}
  .reviews{grid-template-columns:1fr}
  .home .steps{grid-template-columns:repeat(2,1fr)}
  .city-list{grid-template-columns:repeat(2,1fr)}
  .assurance-grid{grid-template-columns:1fr}
  .assurance-item{border-right:none;border-bottom:1px solid var(--concrete)}
  .assurance-item:last-child{border-bottom:none}
  .tools-photo img{aspect-ratio:16/10;max-height:360px}
  .process-photo{order:-1}
  .train-media img{aspect-ratio:16/11;max-height:320px}
}
@media (max-width:860px){.systems-inner{grid-template-columns:1fr;gap:36px}}
@media (max-width:640px){
  .home main > section{padding:64px 0}
  .home main > .hero{padding:0}
  .home main > .partners{padding:40px 0 48px}
  .home main > .area{padding:0 0 64px}
  .hero{min-height:560px;height:auto}
  .hero .wrap{position:relative;padding-top:116px;padding-bottom:96px}
  .hero h1{font-size:clamp(28px,9vw,40px)}
  .partners-row{gap:20px 28px}
  .home .crew-bleed{width:calc(100% - 2 * var(--gutter));margin:0 auto 20px;border-radius:12px}
  .home .crew-bleed img{display:block;width:100%;height:auto;aspect-ratio:1600/558;max-height:none;object-fit:contain;object-position:center center}
  .home .crew-bleed .cap{padding:16px 12px 8px}
  .home .steps{grid-template-columns:1fr}
  .city-list{grid-template-columns:1fr}
  .area-panel{padding:32px 24px}
  .standout-copy{padding:48px 16px}
  .form .btn{width:100%}
}
.area-note{color:var(--slate);font-size:17px}

/* Design pass: photo hero, overlapping reviews, job rail, mosaic.
   Radius 12px is only on these photo and review cards. */

body.home{overflow-x:clip}

.home .hero{overflow:visible;width:100%;max-width:none}
.hero-frame,.hero-video{overflow:hidden}
.hero-video picture{position:absolute;inset:0;display:block;width:100%;height:100%}
.hero-still{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center 42%;
  z-index:2;transition:opacity .45s ease;
}
.hero-video.is-playing .hero-still{opacity:0}
html.hero-reduced-motion .hero-video iframe,
html.hero-reduced-motion .hero-video video{display:none}
.hero .wrap{padding-bottom:clamp(200px, 28vh, 280px)}

.hero-deck{
  position:absolute;z-index:4;
  right:max(20px, calc((100% - var(--max)) / 2 + 8px));
  bottom:-36px;
  display:flex;align-items:flex-end;gap:14px;
  width:min(520px, 46vw);
  pointer-events:none;
}
.float-card{
  pointer-events:auto;
  margin:0;background:var(--paper);color:var(--ink);
  border-radius:12px;overflow:hidden;
  box-shadow:0 22px 48px rgba(7,16,24,.35);
  width:240px;flex:0 0 240px;
}
.float-card--joao{transform:rotate(-3.5deg);margin-bottom:28px}
.float-card--stew{transform:rotate(2.4deg)}
.float-card img{display:block;width:100%;height:148px;object-fit:cover}
.float-stars{
  margin:0;padding:10px 14px 0;
  color:#C98C07;font-size:13px;letter-spacing:.16em;line-height:1;
}
html.js .float-stars{opacity:0;animation:float-stars-in .55s ease .5s forwards}
@keyframes float-stars-in{to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  html.js .float-stars{animation:none;opacity:1}
}
.float-card blockquote{
  font-family:'Poppins',system-ui,sans-serif;font-weight:400;
  font-size:14px;line-height:1.35;letter-spacing:-.01em;
  color:var(--ink);padding:8px 14px 0;margin:0;
}
.float-card figcaption{
  padding:8px 14px 14px;font-size:13px;font-weight:600;color:var(--slate);
}
html[data-theme="dark"] .float-card{background:var(--paper-raised);color:var(--ink)}

.home main > .job-rail-band{
  background:var(--navy);color:var(--on-navy);
  padding:108px 0 64px;border-top:none;
}
.job-rail-band .wrap{text-align:center}
.job-rail-band .sec-label{color:var(--teal-soft)}
.job-rail-band .sec-h{color:var(--on-navy);max-width:22ch;margin-left:auto;margin-right:auto}
.job-rail-band .sec-lead{color:#C5D0D4;margin-left:auto;margin-right:auto}
.job-scroller{
  display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  justify-content:safe center;
  padding:8px var(--gutter) 28px;
  scroll-padding-inline:var(--gutter); /* snap-align:start was pulling card 1 to x=0 */
  -webkit-overflow-scrolling:touch;
}
.job-scroller:focus-visible{outline:2px solid var(--teal-soft);outline-offset:4px}
.job-card{
  flex:0 0 min(300px, 78vw);scroll-snap-align:start;
  background:var(--navy-raised);color:var(--on-navy);
  border-radius:12px;overflow:hidden;text-decoration:none;
  display:flex;flex-direction:column;min-height:100%;
  border:1px solid rgba(232,228,218,.12);
}
.job-card img{display:block;width:100%;height:180px;object-fit:cover}
.job-card p,.job-card blockquote{
  font-family:'Poppins',system-ui,sans-serif;font-weight:400;
  font-size:16px;line-height:1.4;letter-spacing:-.01em;
  color:#F6F3EC;margin:0;padding:16px 16px 6px;
}
.job-card span,.job-card figcaption{
  display:block;padding:0 16px 16px;font-size:13px;font-weight:600;color:var(--teal-soft);
}
.job-card--quote{justify-content:flex-end;padding-bottom:8px;background:#12283F}
.job-card--quote .review-stars{padding:18px 16px 0;color:#F6F3EC;letter-spacing:.08em}
.job-card:focus-visible{outline:2px solid var(--teal-soft);outline-offset:3px}

.home main > .mosaic-proof{
  background:var(--navy-black);color:#F6F3EC;
  padding:88px 0 72px;border-top:none;
}
.awards-split{
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(220px,.72fr);
  gap:36px 56px;align-items:center;
}
.mosaic-proof .sec-label{color:var(--teal-soft)}
.mosaic-proof h2{
  font-family:'Poppins',system-ui,sans-serif;font-weight:500;
  font-size:clamp(28px,4vw,44px);line-height:1.12;letter-spacing:-.02em;
  color:#F6F3EC;max-width:18ch;margin-bottom:12px;
}
.mosaic-proof .lead{font-size:17px;line-height:1.5;color:#8A96A1;max-width:46ch;margin:0}
.awards-copy .lead + .lead{margin-top:12px}
.reviews-count{
  margin:28px 0 0;font-size:15px;color:#8A96A1;
}
html.js-motion .reviews-count{
  transform:translateX(-72px);opacity:0;
  transition:transform .7s ease, opacity .7s ease;
}
html.js-motion .reviews-count.is-in{transform:none;opacity:1}
.reviews-count span{
  display:block;font-family:'Poppins',system-ui,sans-serif;font-weight:500;
  font-size:clamp(56px,7vw,84px);line-height:.9;letter-spacing:-.03em;color:#F6F3EC;
}
.awards-badge{
  margin:0;border-radius:12px;overflow:hidden;background:#000;
  border:1px solid rgba(232,230,223,0.12);
}
.awards-badge img{display:block;width:100%;height:auto}

.home main > .assurance{position:relative;z-index:1}
.home main > .standout{min-height:70vh}
.home main > .partners{padding:48px 0 56px}
.home main > .systems{padding:72px 0 80px}
.home main > .process{padding:72px 0}

@media (max-width:1024px){
  .hero-deck{width:min(460px, 54vw)}
  .float-card,.float-card--joao,.float-card--stew{width:200px;flex-basis:200px}
  .float-card img{height:120px}
  .awards-split{gap:28px}
}
@media (max-width:980px){
  .home .hero{min-height:0;height:auto}
  .hero .wrap{position:relative;padding-top:112px;padding-bottom:48px}
  .hero-deck{
    position:relative;right:auto;bottom:auto;width:auto;
    max-width:none;flex-direction:column;align-items:stretch;
    margin:0 var(--gutter) 8px;gap:12px;
  }
  .float-card,.float-card--joao,.float-card--stew{
    transform:none;width:100%;flex:none;margin:0;
  }
  .home main > .job-rail-band{padding:36px 0 28px}
  .awards-split{grid-template-columns:1fr}
  .awards-badge{max-width:360px}
}

/* Sticky scroll sections and full-bleed fact bands */
.home main > .stick-band{padding:72px 0 88px;background:var(--paper)}
.home main > .stick-band.stick-band--install{padding:48px 0 56px}
.stick-split{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(280px,1.1fr);gap:48px;align-items:start}
.stick-col{position:sticky;top:calc(var(--header-h) + 20px)}
.stick-photo{margin:16px 0 0;border-radius:12px;overflow:hidden}
.stick-photo img{display:block;width:100%;height:min(68vh,640px);object-fit:cover}
.stick-band .scroll-col .sec-lead{margin-bottom:8px}
.home .stick-band .steps{display:flex;flex-direction:column;gap:0}
.home .stick-band .step{min-height:34vh;padding:12px 0 28px;border-top:1px solid var(--concrete)}
.home .stick-band .step:last-child{border-bottom:1px solid var(--concrete)}
.home .stick-band.stick-band--install .steps{gap:0}
.home .stick-band.stick-band--install .step{
  min-height:0;
  margin:0;
  padding:0 0 22px;
}
.home .stick-band.stick-band--install .step:last-child{padding-bottom:0}
.home .stick-band.stick-band--install .step p{margin:0}
.home .stick-band.stick-band--install .step-num{margin-bottom:4px}
.stick-band .train-points{margin:12px 0 20px}

@media (min-width:901px){
  .home .stick-band.stick-band--install .stick-split{gap:96px}
  .home .stick-band.stick-band--install .stick-col{
    position:sticky;
    top:calc(var(--header-h) + 20px);
    align-self:start;
  }
  .home .stick-band.stick-band--install .stick-photo img{height:min(40vh,360px)}
}
@media (max-width:900px){
  .stick-split,.stick-split--flip{grid-template-columns:1fr}
  .stick-col{position:static}
  .home .stick-band .step{min-height:0}
  .home .stick-band.stick-band--install .stick-col{position:static}
}
@media (min-width:1025px){
  .home .faq-aside{
    position:sticky;
    top:calc(var(--header-h) + 20px);
    align-self:start;
  }
}
@media (prefers-reduced-motion:reduce){
  html.js-motion .reviews-count{transform:none;opacity:1;transition:none}
}

/* Install photo band: Powerwall and charging, no captions */
.home main > .install-band{padding:0;background:var(--navy-black)}
.install-band-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.install-band-grid figure{margin:0;min-height:0;overflow:hidden}
.install-band-grid img{width:100%;height:min(42vh,420px);object-fit:cover;display:block}
@media (max-width:860px){
  .install-band-grid{grid-template-columns:1fr}
  .install-band-grid img{height:240px}
}
@media (prefers-reduced-motion:reduce){
  .logo-track{animation:none;width:auto;max-width:var(--max);margin:0 auto;flex-wrap:wrap;justify-content:center}
  .logo-marquee .partners-row{flex-wrap:wrap;justify-content:center;width:100%;padding:8px 24px 16px;gap:16px 28px}
  .logo-marquee .partners-row[aria-hidden="true"]{display:none}
  .partner-logo a,.partner-logo a:hover,.partner-logo a:focus-visible{transition:none;transform:none}
}

/* Homepage photographs use a 12px corner. Logos, the wordmark, and full-bleed hero or standout fills stay square. */
.home .float-card,
.home .job-card,
.home .stick-photo,
.home .tools-photo,
.home .area-photo,
.home .crew-bleed,
.home .awards-badge,
.home .install-band-grid figure{
  border-radius:12px;
  overflow:hidden;
}
.home .partner-logo img,
.home .cert-callout-mark,
.home .hero-still,
.home .standout-media img{
  border-radius:0;
}


/* Tablet pass (Oct 4): copy full width, review cards under hero.
   Video cover sizing lives on .hero-video iframe (all desktop/tablet widths). */
@media (max-width:980px){
  .home .hero{flex-direction:column;align-items:stretch}
  .home .hero .wrap{padding-top:calc(var(--header-h) + 28px);padding-bottom:28px}
  .home .hero .content{max-width:100%}
  .home .hero-deck{
    display:grid;grid-template-columns:1fr 1fr;align-items:start;
    margin:0 var(--gutter) 32px;gap:12px;z-index:3;
  }
}
@media (max-width:560px){
  .home .hero-deck{grid-template-columns:1fr}
  .home .float-card img{height:150px}
}

/* Mobile declutter (2026-10-05, Deana): phone hero = H1 + tagline + one button.
   Desktop / tablet-wide layouts above stay unchanged. */
@media (max-width:700px){
  /* Header: drop Request service (hero already has it). Keep phone + theme + menu. */
  body.home .site-header .header-actions > a.btn{display:none}

  /* Hero: headline, short line, button only */
  .home .hero{overflow:hidden;min-height:0;height:auto}
  .home .hero .eyebrow{display:none}
  .home .hero .wrap{
    padding-top:calc(var(--header-h) + 20px);
    padding-bottom:28px;
  }
  .home .hero .content{margin-top:0}
  .home .hero h1{
    font-size:clamp(24px,6.2vw,30px);
    line-height:1.18;
    letter-spacing:-.015em;
    margin-bottom:10px;
    max-width:18ch;
  }
  .home .hero-tagline{
    font-size:clamp(18px,4.6vw,22px);
    line-height:1.25;
    margin:0 0 16px;
    max-width:16ch;
  }
  .home .hero-ctas{gap:0}
  .home .hero-ctas .hero-link{display:none}
  .home .hero-ctas .btn{width:100%;justify-content:center}
  /* Review float cards leave the hero on phones (still on desktop / wide tablet) */
  .home .hero-deck{display:none}

  /* Job rail starts cleanly below hero (no overlap peek) */
  .home main > .job-rail-band{padding:36px 0 28px}
  .home .job-rail-band .sec-lead{font-size:16px;line-height:1.45;margin-bottom:20px}
  .home .job-card p,
  .home .job-card blockquote{
    font-size:15px;
    line-height:1.35;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
  }
  .home .job-card img{height:150px}

  /* Other obvious mobile density */
  .home .sec-lead{font-size:17px;line-height:1.45;margin-bottom:28px}
  .home main > section{padding:48px 0}
  .home main > .job-rail-band,
  .home main > .mosaic-proof,
  .home main > .hero{/* keep overrides above */}
  .home main > .mosaic-proof{padding:48px 0 40px}
  .home main > .stick-band{padding:48px 0 56px}
  .home .crew .crew-intro{padding-top:48px}
}


/* Mobile: never show YouTube chrome; keep van poster + scrim only. */
@media (max-width:700px){
  .home .hero-video iframe{display:none!important}
  .home .hero-video video{display:block;z-index:2}
  .home .hero-still{z-index:2}
  .home .hero-video.is-playing .hero-still{opacity:0}
  html.hero-reduced-motion .home .hero-video.is-playing .hero-still,
  html.hero-reduced-motion .home .hero-still{opacity:1}
}


/* Mobile hero still (Oct 5): Powerwall photo on phones only. The dark wall is on the
   left of the crop, so the headline sits on it and the Powerwall and cabinet stay right.
   Left-to-right scrim keeps white text and the teal button readable; light top fade
   for the header icons. */
@media (max-width:700px){
  .home .hero-still{object-position:62% 50%}
  .home .hero-scrim{
    background:
      linear-gradient(180deg, rgba(5,15,25,.45) 0%, rgba(5,15,25,0) 22%),
      linear-gradient(90deg, rgba(5,15,25,.85) 0%, rgba(5,15,25,.55) 45%, rgba(5,15,25,.1) 100%);
  }
}

/* Google review links under the reviews count (2026-10-09). */
.mosaic-proof .reviews-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:16px 0 0;color:#8A96A1;font-size:16px}
.home .mosaic-proof .reviews-links .text-link{color:#F6F3EC;border-bottom-color:var(--teal-soft)}
.home .mosaic-proof .reviews-links .text-link:hover{color:var(--teal-soft)}
/* 2026-10-29: Tell us about your setup on dark (matches .proof band) */
.tools-teaser{background:var(--navy-black);border-color:transparent;color:#F6F3EC}
.tools-teaser .tools-copy h2,.tools-teaser .tools-path ol,.tools-teaser p{color:#F6F3EC}
.tools-teaser .tools-path-label,.tools-teaser .tools-path-note{color:rgba(246,243,236,.72)}
.tools-teaser .btn-navy{background:#F6F3EC;color:var(--navy-black);border-color:#F6F3EC}
.tools-teaser .btn-navy:hover{background:#fff;color:var(--navy-black)}
.reviews-attrib{margin:6px 0 0;font-size:.8rem;text-align:right}
.float-card figcaption a{color:inherit;text-decoration:underline}
.tools-teaser .tools-path{background:rgba(246,243,236,.06);border-color:rgba(246,243,236,.18)}
/* 2026-10-29: center assurance copy + keep 4 cert badges on one row (desktop) */
.assurance-item{text-align:center}
.assurance-item p{max-width:34ch;margin-left:auto;margin-right:auto}
@media (min-width:1100px){.partners .cert-row{flex-wrap:nowrap;gap:10px}.partners .cert-callout{padding:10px 14px 10px 12px;gap:10px}.partners .cert-callout-mark{width:84px}}
.partners .sec-h{margin-left:auto;margin-right:auto}

/* Card labels sit on one line at the bottom of every card (Deana, 2026-10-29) */
.job-card p,.job-card blockquote{flex:1 1 auto;padding-bottom:12px}
.job-card span,.job-card figcaption{margin-top:auto}

/* Gulfstar Way process steps (2026-10-30) */
.home .process .steps li.step{display:block;padding:22px 0 0;border-bottom:0}
.home .process .step p{max-width:none}
/* Gulfstar Way dark band (Deana 2026-10-30) */
.home main > .process{background:var(--navy-black);color:#F6F3EC;border-top-color:transparent}
.home main > .process .sec-h,.home main > .process h3,.home main > .process .sec-label{color:#F6F3EC}
.home main > .process p{color:rgba(246,243,236,.82)}
/* Gulfstar Way scroll-stacking cards (2026-10-30): pure CSS position:sticky */
.home main > .process .steps{display:flex;flex-direction:column;gap:28px;max-width:820px;margin:0 auto;padding-bottom:24px}
.home main > .process .steps li.step{
  position:sticky;top:calc(var(--header-h) + 24px + var(--i,0) * 22px);
  display:grid;grid-template-columns:auto 1fr;column-gap:28px;align-items:start;align-content:start;grid-template-rows:auto 1fr;
  min-height:220px;padding:36px 40px;
  background:var(--navy);border:1px solid rgba(232,228,218,.14);border-radius:14px;
  box-shadow:0 -10px 30px rgba(0,0,0,.35),0 18px 40px rgba(0,0,0,.28)
}
.home main > .process .steps li.step:nth-child(1){--i:0}
.home main > .process .steps li.step:nth-child(2){--i:1;background:#0E2439}
.home main > .process .steps li.step:nth-child(3){--i:2;background:var(--navy-raised)}
.home main > .process .steps li.step:nth-child(4){--i:3;background:#16304A}
.home main > .process .step-num{grid-row:span 2;margin:0;font-size:56px;color:#7CC6CE}
.home main > .process .step h3{font-size:22px;margin:4px 0 10px}
.home main > .process .step p{font-size:16px;margin:0;max-width:60ch}
@media (max-width:900px){
  .home main > .process .steps{gap:18px}
  .home main > .process .steps li.step{top:calc(var(--header-h) + 12px + var(--i,0) * 14px);min-height:0;padding:24px 22px;column-gap:16px}
  .home main > .process .step-num{font-size:40px}
  .home main > .process .step h3{font-size:19px}
}
@media (prefers-reduced-motion:reduce){
  .home main > .process .steps li.step{position:relative;top:auto}
}

/* Hero slogan + SEO H1 + trust line (2026-10-30, Corina approved) */
.hero .hero-slogan,.hero h2.hero-slogan{font-family:'Poppins',system-ui,sans-serif;font-weight:600;font-size:clamp(40px,5.6vw,68px);line-height:1.04;letter-spacing:-.025em;color:var(--chalk);margin:0 0 14px;max-width:16ch}
.hero h1#page-h1{font-size:clamp(20px,1.9vw,26px);font-weight:500;line-height:1.3;letter-spacing:-.01em;max-width:44ch;opacity:.95;margin-bottom:12px}
.hero .hero-trust{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:14px;font-weight:600;letter-spacing:.04em;color:#F6F3EC;opacity:.9;margin:0 0 20px}
.hero .hero-trust .sep{opacity:.45;font-weight:400}
@media (max-width:700px){
  .home .hero .eyebrow{display:block;font-size:11px;letter-spacing:.08em;line-height:1.5;margin-bottom:10px}
  .home .hero .hero-slogan,.home .hero h2.hero-slogan{font-size:clamp(32px,9.4vw,42px);max-width:none;margin-bottom:10px}
  .home .hero h1#page-h1{font-size:clamp(17px,4.4vw,20px);max-width:none}
  .home .hero .hero-trust{font-size:12.5px;gap:4px 8px;margin-bottom:16px}
}

/* 2026-10-30: homepage uses the same Airtable contact form as /contact-us/, in a light card */
.home-lead-card{max-width:640px;color:var(--ink)}

/* 2026-10-30: homepage request section, left heading+lede column stays in view while the
   (stepped) form scrolls on the right. Desktop only, same pattern as .split in site.css. */
@media (min-width:1025px){
  .close-grid{align-items:start}
  .close-grid > :first-child{position:sticky;top:calc(var(--header-h) + 16px);align-self:start}
}

/* Backup plan CTA (Corina, Nov 16, 2026): stronger amber button. #071018 on #E3A008 = 9.6:1 contrast. */
.systems-cta .btn-backup{background:var(--amber);color:#071018;border:1px solid var(--amber);font-weight:700}
.systems-cta .btn-backup:hover{background:var(--amber-hover);border-color:var(--amber-hover);color:#071018}
.systems-cta .btn-backup:focus-visible{outline:2px solid #071018;outline-offset:2px;box-shadow:0 0 0 5px var(--amber)}
.systems-cta .btn-backup span{margin-left:8px}

/* Nov 13 call layout changes (Corina + Davan), approved 2026-11-20 */
/* H3: two-line hero. Big "Tampa Bay Electricians", smaller specialty line, both inside the one H1 */
.hero h1#page-h1{font-family:'Poppins',system-ui,sans-serif;font-weight:600;font-size:clamp(40px,5.6vw,68px);line-height:1.04;letter-spacing:-.025em;max-width:16ch;opacity:1;margin:0 0 16px}
.hero h1#page-h1 .hero-sub{display:block;margin-top:14px;font-size:clamp(20px,1.9vw,26px);font-weight:500;line-height:1.3;letter-spacing:-.01em;max-width:44ch;opacity:.95}
@media (max-width:700px){
  .home .hero h1#page-h1{font-size:clamp(32px,9.4vw,42px);max-width:none;margin-bottom:12px}
  .home .hero h1#page-h1 .hero-sub{font-size:clamp(17px,4.4vw,20px);margin-top:10px}
}
/* H7: card title on top as a bold label */
.job-card .job-title{order:-1;margin-top:0;padding:14px 16px 12px;font-family:'Poppins',system-ui,sans-serif;font-size:17px;font-weight:700;line-height:1.25;letter-spacing:-.005em;color:#F6F3EC;border-bottom:3px solid var(--teal-soft)}
.job-card p{padding-top:14px}
@media (max-width:700px){.home .job-card .job-title{font-size:16px;padding:12px 14px 10px}}
/* 2026-11-23: restore large slogan + smaller single-line H1 (D approved). Wins over the Nov 13 two-line H1 sizes above. Unused .hero-sub rules left in place. */
.hero h2.hero-slogan,.hero .hero-slogan{font-family:'Poppins',system-ui,sans-serif;font-weight:600;font-size:clamp(40px,5.6vw,68px);line-height:1.04;letter-spacing:-.025em;color:var(--chalk);margin:0 0 14px;max-width:16ch}
.hero h1#page-h1{font-family:'Poppins',system-ui,sans-serif;font-weight:500;font-size:clamp(20px,2vw,28px);line-height:1.3;letter-spacing:-.01em;max-width:44ch;opacity:.95;margin:0 0 12px;color:var(--chalk)}
@media (max-width:700px){
  .home .hero h2.hero-slogan,.home .hero .hero-slogan{font-size:clamp(32px,9.4vw,42px);max-width:none;margin-bottom:10px}
  .home .hero h1#page-h1{font-size:clamp(17px,4.4vw,20px);font-weight:500;max-width:none;margin-bottom:12px}
}
/* H11: bigger, bolder backup option titles */
.stack .t{font-family:'Poppins',system-ui,sans-serif;font-weight:600;font-size:20px;line-height:1.25;letter-spacing:-.01em;margin-bottom:6px}
@media (max-width:700px){.stack .t{font-size:18px}}
/* H14: five stars by the review count */
.reviews-stars{margin:28px 0 0;font-size:clamp(28px,3vw,36px);line-height:1;letter-spacing:.06em;color:#E3A008}
.reviews-stars + .reviews-count{margin-top:10px}
html.js-motion .reviews-stars{transform:translateX(-72px);opacity:0;transition:transform .7s ease,opacity .7s ease}
html.js-motion .awards-copy:has(.reviews-count.is-in) .reviews-stars{transform:none;opacity:1}
@media (prefers-reduced-motion:reduce){html.js-motion .reviews-stars{transform:none;opacity:1;transition:none}}
@supports not selector(:has(*)){html.js-motion .reviews-stars{transform:none;opacity:1}}

/* 2026-11-23: explicit line break after "Car." — keep the second line on one line. */
.hero h2.hero-slogan,.hero .hero-slogan{max-width:22ch}

/* 2026-11-23: mobile hero declutter (D voice). Hide via CSS only; H1 wording/title/meta unchanged. */
@media (max-width:700px){
  .home .hero .eyebrow{display:none}
  .home .hero .hero-trust{display:none}
  .home .hero-ctas .hero-link{display:none}
  .home .hero-deck{display:none}
  .home .hero h2.hero-slogan,.home .hero .hero-slogan{
    font-size:clamp(30px,8.2vw,38px);
    max-width:none;
    margin-bottom:10px;
    line-height:1.08;
  }
  .home .hero h1#page-h1{
    font-size:clamp(15px,3.9vw,17px);
    font-weight:500;
    line-height:1.35;
    opacity:.9;
    margin:0 0 16px;
    max-width:none;
  }
}


/* 2026-11-24 Corina: H1 “Tampa Bay Electricians” + specialty line; slogan removed */
.hero h1#page-h1{
  font-family:'Poppins',system-ui,sans-serif;
  font-weight:600;
  font-size:clamp(40px,5.6vw,68px);
  line-height:1.04;
  letter-spacing:-.025em;
  max-width:12ch;
  opacity:1;
  margin:0 0 16px;
  color:var(--chalk);
}
.hero h1#page-h1 .hero-sub{
  display:block;
  margin-top:14px;
  font-size:clamp(20px,1.9vw,26px);
  font-weight:500;
  line-height:1.3;
  letter-spacing:-.01em;
  max-width:44ch;
  opacity:.95;
}
@media (max-width:700px){
  .home .hero h1#page-h1{
    font-size:clamp(32px,9.4vw,42px);
    max-width:none;
    margin-bottom:12px;
    line-height:1.08;
    font-weight:600;
    opacity:1;
  }
  .home .hero h1#page-h1 .hero-sub{
    font-size:clamp(17px,4.4vw,20px);
    margin-top:10px;
    font-weight:500;
    opacity:.95;
    line-height:1.35;
    max-width:none;
  }
}


/* 2026-11-24 Corina: shift YouTube playlist controls off the hero specialty line.
   The prev/pause/next trio is YouTube's own (playlist loop), centered in the iframe
   and not clickable (hero-video is pointer-events:none). On desktop, enlarge the
   cover iframe and nudge it right so those buttons sit to the right of the
   headline without exposing a left edge. Mobile hides the iframe at <=700px. */
@media (min-width:701px){
  .home .hero-video iframe{
    width:max(190cqw, 177.78cqh);
    height:max(100cqh, calc(190cqw * 9 / 16));
    transform:translate(-28%,-50%);
  }
}


/* 2026-11-24 D: slogan is the H1 again (two lines, big). Corina's line is the subline under it.
   Video stays clipped and behind the copy so an oversized YouTube iframe cannot cover bands. */
.hero h1#page-h1,
.hero h1#page-h1.hero-slogan{
  font-family:'Poppins',system-ui,sans-serif;
  font-weight:600;
  font-size:clamp(40px,5.6vw,68px);
  line-height:1.04;
  letter-spacing:-.025em;
  max-width:22ch;
  opacity:1;
  margin:0 0 14px;
  color:var(--chalk);
}
.hero .hero-sub,
.hero h1#page-h1 .hero-sub{
  display:block;
  margin:0 0 12px;
  font-family:'Poppins',system-ui,sans-serif;
  font-weight:500;
  font-size:clamp(20px,2vw,28px);
  line-height:1.3;
  letter-spacing:-.01em;
  max-width:44ch;
  opacity:.95;
  color:var(--chalk);
}
@media (max-width:700px){
  .home .hero h1#page-h1,
  .home .hero h1#page-h1.hero-slogan{
    font-size:clamp(30px,8.2vw,38px);
    max-width:none;
    margin-bottom:10px;
    line-height:1.08;
    font-weight:600;
    opacity:1;
  }
  .home .hero .hero-sub{
    font-size:clamp(15px,3.9vw,17px);
    margin:0 0 16px;
    max-width:none;
  }
}
.home .hero-video{
  overflow:hidden !important;
  isolation:isolate;
  contain:paint;
  z-index:1;
}
.home .hero .wrap,
.home .hero .content{position:relative;z-index:3}
.home .hero-deck{z-index:4}
.home main > section:not(.hero){position:relative;z-index:2}


/* 2026-11-25 D voice: H1 is “Tampa Bay Electricians”; slogan moved to .slogan-banner. */
.hero h1#page-h1{
  max-width:12ch;
}
@media (max-width:700px){
  .home .hero h1#page-h1{max-width:none}
}

/* Full-width navy tagline band. Homepage only, after the service-area section
   and before the FAQ / request form so it does not compete with the hero. */
.slogan-banner{
  background:var(--navy);
  color:#F6F3EC;
  padding:28px 0;
  text-align:center;
}
.slogan-banner-line{
  font-family:'Poppins',system-ui,sans-serif;
  font-weight:600;
  font-size:clamp(22px,5vw,36px);
  line-height:1.2;
  letter-spacing:-.02em;
  color:#F6F3EC;
  margin:0;
  max-width:20ch;
  margin-left:auto;
  margin-right:auto;
}
html[data-theme="dark"] .slogan-banner{
  background:var(--navy);
  border-top:1px solid rgba(232,228,218,.14);
  border-bottom:1px solid rgba(232,228,218,.14);
}
@media (max-width:390px){
  .slogan-banner{padding:22px 0}
  .slogan-banner-line{font-size:clamp(20px,7vw,24px);line-height:1.25}
}

/* 2026-11-25: Corina — service-card wordmark was covering the title on hover.
   Keep the chip, pin it to the photo (top-left) so title and blurb stay legible. */
.job-card:not(.job-card--quote){
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto 1fr;
}
.job-card:not(.job-card--quote) > .job-title{grid-area:1 / 1}
.job-card:not(.job-card--quote) > img{grid-area:2 / 1;z-index:0}
.job-card:not(.job-card--quote) > p{grid-area:3 / 1}
.job-card:not(.job-card--quote)::after{
  position:relative;
  top:auto;
  left:auto;
  grid-area:2 / 1;
  justify-self:start;
  align-self:start;
  margin:12px 0 0 12px;
  width:max-content;
  z-index:2;
}
