body.electric{background:#fff;color:#071e3b}.electric-header{max-width:1150px;padding:30px 30px 22px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e4e8ed}.electric-brand{display:block;width:640px;max-width:70%}.electric-brand img{display:block;width:100%;aspect-ratio:3.7;object-fit:cover}.electric-contact{display:grid;gap:12px;font-size:14px;white-space:nowrap;color:#34465c}.electric-contact a:hover{color:#ee6b1b}.electric-main{max-width:1150px;padding:28px 30px 50px;margin:auto}.breadcrumb{font-size:13px;color:#6b7888;display:flex;gap:10px;flex-wrap:wrap}.breadcrumb a:hover{text-decoration:underline}.electric-heading{margin:34px 0 30px}.electric-heading .eyebrow{font-size:11px;letter-spacing:2px;color:#c95611;font-weight:bold}.electric-heading h1{font-size:39px;font-weight:600;letter-spacing:-1px;margin:12px 0}.electric-heading p{color:#637285;font-size:15px;line-height:1.7;margin:0}.electric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.electric-card{display:flex;align-items:center;gap:18px;border:1px solid #dde3ea;border-radius:9px;padding:23px 22px;background:#fbfcfd;transition:background .18s,border-color .18s,transform .18s}.electric-card:hover{background:#fff8f2;border-color:#ee6b1b;transform:translateY(-2px)}.electric-icon{color:#ed6b1b;font-size:28px;width:34px;flex-shrink:0;text-align:center}.electric-card h2{font-size:17px;font-weight:600;margin:0 0 7px}.electric-card p{font-size:12px;color:#647488;line-height:1.5;margin:0}.electric-arrow{margin-left:auto;font-size:20px;color:#e86c22}.electric-footer{margin-top:32px;font-size:13px;color:#647488;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.electric-footer a:hover{color:#e86c22}.electric .soon-main{margin-top:30px}.electric .back{background:#092b4b}.electric .soon-image{width:min(100%,620px)}@media(max-width:700px){.electric-header{padding:18px 20px 22px;flex-direction:column;gap:18px;align-items:flex-start}.electric-brand{width:125%;max-width:none}.electric-contact{font-size:13px;gap:9px}.electric-main{padding:24px 20px 40px}.electric-heading{margin:27px 0 24px}.electric-heading h1{font-size:30px}.electric-heading p{font-size:14px}.electric-grid{grid-template-columns:1fr;gap:11px}.electric-card{padding:20px 16px;gap:13px}.electric-card h2{font-size:16px}.electric-card p{font-size:12px}.electric-icon{width:29px}.electric-footer{line-height:1.7}.electric .soon-main{padding:0 20px 35px}}
.electric-icon-image{display:block;width:54px;height:54px;flex:0 0 54px;object-fit:contain}.electric-card{gap:16px}@media(max-width:700px){.electric-icon-image{width:46px;height:46px;flex-basis:46px}.electric-card{gap:13px}}

/* Individual electrical service page navigation and information sections */
.electric-section-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:26px 0 20px}
.electric-section-nav a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 12px;border:1px solid #e8a332;border-radius:8px;background:linear-gradient(135deg,#fffaf0 25%,#fff 25%,#fff 50%,#fffaf0 50%,#fffaf0 75%,#fff 75%);background-size:12px 12px;color:#092b4b;font-size:14px;font-weight:700;text-align:center;transition:background-color .2s,color .2s,transform .2s}
.electric-section-nav a:hover{background:#e8a332;color:#092b4b;transform:translateY(-2px)}
.electric-service-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0 8px}
.electric-detail-card{scroll-margin-top:24px;padding:22px 24px;border:1px solid #dce3ea;border-radius:12px;background:#fff}
.panel-upgrade-description{grid-column:1/-1}
.subpanel-description{grid-column:1/-1}
.subpanel-description h3{margin:20px 0 8px;color:#092b4b;font-size:18px}
.rewiring-description{grid-column:1/-1}
.rewiring-description h3{margin:20px 0 8px;color:#092b4b;font-size:18px}
.rewiring-description a{color:#b85f16;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.panel-upgrade-description h3{margin:20px 0 8px;color:#092b4b;font-size:18px}
.panel-upgrade-description a{color:#b85f16;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.electric-detail-card .team-eyebrow{margin:0 0 8px;color:#bf6b1a;font-size:10px;font-weight:700;letter-spacing:2px}
.electric-detail-card h2{margin:0 0 12px;color:#092b4b;font-size:22px}
.electric-detail-card p,.electric-detail-card li{color:#5d6c7d;font-size:15px;line-height:1.7}
.electric-detail-card p:last-child{margin-bottom:0}
.electric-detail-card ol{margin:0;padding-left:22px}
.electric-detail-card details{padding:12px 0;border-top:1px solid #e4e8ed;color:#092b4b}
.electric-detail-card summary{font-weight:700;cursor:pointer}
.electric-detail-card details p{margin:9px 0 0}
.electric-gallery-placeholder{background:linear-gradient(135deg,#f8fafc,#fff)}
.electric-header .service-quick-nav{flex-direction:column;align-items:stretch;width:220px;max-width:220px;flex-wrap:nowrap;gap:8px}
.electric-header .service-quick-nav .about-link{display:flex;align-items:center;justify-content:space-between;width:100%;margin:0;padding:10px 12px}
@media(max-width:900px){.electric-header .service-quick-nav{flex-direction:row;width:100%;max-width:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.electric-header .service-quick-nav .about-link{justify-content:space-between;white-space:nowrap}}
@media(max-width:700px){.electric-section-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:20px 0 16px}.electric-section-nav a{min-height:44px;padding:9px;font-size:13px}.electric-service-details{grid-template-columns:1fr;gap:11px;margin-top:18px}.electric-detail-card{padding:19px 18px}.electric-detail-card h2{font-size:20px}.electric-detail-card p,.electric-detail-card li{font-size:14px}.electric-header .service-quick-nav{grid-template-columns:1fr;max-width:none}.electric-header .service-quick-nav .about-link{font-size:13px!important}}

/* Soft photographic tool backdrop, arranged from the tester down to breakers, outlets, bender, screwdrivers, and diagonal cutters. */
body.electrical-overview{background-color:#fff;background-image:url('/assets/electrical-tools-background.jpg');background-size:min(300vw, 2700px) auto;background-position:center top;background-repeat:repeat-y;background-attachment:scroll}

/* Let the Electrical overview photo background show through the service list. */
.electrical-overview .electric-card{padding:14px 0;background:transparent;border:0;border-radius:0;box-shadow:none;gap:16px}
.electrical-overview .electric-card:hover{background:transparent;border-color:transparent;transform:translateX(7px)}
.electrical-overview .electric-card h2{margin:0;color:#092b4b;font-size:25px;font-weight:600;line-height:1.2}
.electrical-overview .electric-card p,.electrical-overview .electric-card .electric-arrow{display:none}
@media(max-width:700px){.electrical-overview .electric-card{padding:12px 0;gap:13px}.electrical-overview .electric-card h2{font-size:22px}}
@media(max-width:720px){body.electrical-overview{background-size:300vw auto}}

/* Faint real subpanel photo starts at the very top of the Main Panel page. */
body.main-panel-page{background-color:#fff;background-image:url('/assets/subpanel-real-background.jpg');background-size:auto 140vh;background-position:center top;background-repeat:no-repeat;background-attachment:scroll}
@media(max-width:720px){body.main-panel-page{background-size:auto 150vh}}
body.sub-panel-page{position:relative;isolation:isolate;background:#fff}
body.sub-panel-page::before,body.sub-panel-page::after{content:"";position:absolute;left:0;right:0;z-index:-1;pointer-events:none;background-repeat:no-repeat}
body.sub-panel-page::before{top:0;height:112vh;background-image:linear-gradient(rgba(255,255,255,.72),rgba(255,255,255,.72)),url('/assets/subpanel-open-photo.jpg');background-size:cover,cover;background-position:center,center 34%;filter:blur(1.5px);transform:scale(1.01)}
body.sub-panel-page::after{top:104vh;bottom:0;background-image:linear-gradient(rgba(255,255,255,.70),rgba(255,255,255,.70)),url('/assets/subpanel-breakers-wires.jpg');background-size:cover,cover;background-position:center,center top}

.electrical-home-breadcrumb{font-size:16px;font-weight:600;color:#34465c;gap:14px}.electrical-home-breadcrumb a{color:#092b4b}.electrical-home-breadcrumb>[aria-current="page"]{color:#092b4b;font-weight:700}.electrical-home-breadcrumb>span:not([aria-current]){color:#c78125}

/* Consistent, more visible breadcrumbs throughout Electrical pages. */
.electric .breadcrumb{font-size:16px;font-weight:600;color:#34465c;gap:14px}.electric .breadcrumb a{color:#092b4b}.electric .breadcrumb>[aria-current="page"]{color:#092b4b;font-weight:700}.electric .breadcrumb>span:not([aria-current]){color:#c78125}
@media(max-width:720px){.electric .breadcrumb{font-size:clamp(10.5px,3.6vw,14px);gap:clamp(3px,1vw,6px);flex-wrap:nowrap;white-space:nowrap}.electric .breadcrumb>*{white-space:nowrap}}
.subpanel-description .subpanel-upgrade-link{display:inline-flex;align-items:center;gap:9px;color:#b85712;font-size:16px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.subpanel-description .subpanel-upgrade-link:hover{color:#092b4b}

.electric-detail-card .panel-upgrade-link{display:inline-flex;align-items:center;gap:10px;padding:11px 16px;border:1px solid #df9c28;border-radius:8px;background:#fff5df;color:#073057;font-weight:700;text-decoration:underline;text-decoration-color:#d98712;text-underline-offset:3px;box-shadow:0 3px 10px #092b4b12;transition:background .18s,transform .18s}
.electric-detail-card .panel-upgrade-link:hover{background:#ffebc2;transform:translateY(-1px)}

body.ev-charging-page{position:relative;isolation:isolate;background:transparent}
body.ev-charging-page::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.66),rgba(255,255,255,.66)),url('/assets/ev-charging-background.png');background-size:cover,cover;background-position:center,center;background-repeat:no-repeat}
body.ev-charging-page .electric-detail-card{background:rgba(255,255,255,.78);backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}
body.ev-charging-page .request-section{background:rgba(255,255,255,.84)}

.electric-detail-card .main-panel-cross-link{color:#b85712;font-size:inherit;font-weight:700;text-decoration:underline;text-decoration-color:#b85712;text-underline-offset:3px}
.electric-detail-card .main-panel-cross-link:hover{color:#092b4b;text-decoration-color:#092b4b}

.electric-contact a[href^="mailto:"]{font-size:16px}
@media(max-width:720px){.electric-contact a[href^="mailto:"]{font-size:15px}}


/* Soft photographic smoke-alarm and fire-siren backdrop for the smoke detector service page. */
body.smoke-alarm-page{position:relative;isolation:isolate;background:transparent}
body.smoke-alarm-page::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.76),rgba(255,255,255,.76)),url('/assets/smoke-alarm-background.png');background-size:cover,cover;background-position:center,center;background-repeat:no-repeat}
body.smoke-alarm-page .electric-detail-card{background:rgba(255,255,255,.78);backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}
body.smoke-alarm-page .request-section{background:rgba(255,255,255,.84)}
@media(max-width:700px){body.smoke-alarm-page::before{background-image:linear-gradient(rgba(255,255,255,.76),rgba(255,255,255,.76)),url('/assets/smoke-alarm-background-mobile.png');background-position:center,center top}}


/* Full-width sales description for ceiling and bathroom exhaust fan installations. */
.fan-installation-description{grid-column:1/-1}
.fan-installation-description h3{margin:22px 0 8px;color:#092b4b;font-size:18px}
.fan-installation-description a{color:#b85f16;font-weight:700;text-decoration:underline;text-underline-offset:3px}


/* Educational overview placed directly below the Electrical services list. */
.electrical-education{margin:24px 0 20px;padding:26px 28px;border:1px solid rgba(9,43,75,.14);border-radius:14px;background:rgba(255,255,255,.84);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);box-shadow:0 8px 24px rgba(9,43,75,.06)}
.electrical-education>.eyebrow{margin:0 0 8px;color:#b85f16;font-size:11px;font-weight:700;letter-spacing:2px}
.electrical-education h2{margin:0 0 12px;color:#092b4b;font-size:27px;line-height:1.2}
.electrical-education-intro,.electrical-education-grid p{color:#5d6c7d;font-size:15px;line-height:1.7}
.electrical-education-intro{margin:0 0 18px}
.electrical-education-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 28px}
.electrical-education-grid article{padding:13px 0;border-top:1px solid rgba(9,43,75,.12)}
.electrical-education-grid h3{margin:0 0 7px;color:#092b4b;font-size:18px}
.electrical-education-grid p{margin:0}
.electrical-education-cta{margin:18px 0 0;color:#092b4b;font-size:16px;line-height:1.6}
.electrical-education-cta a{color:#b85f16;font-weight:700;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){.electrical-education{margin:18px 0;padding:20px 18px}.electrical-education h2{font-size:23px}.electrical-education-grid{grid-template-columns:1fr;gap:8px}.electrical-education-grid h3{font-size:17px}.electrical-education-intro,.electrical-education-grid p{font-size:14px}.electrical-education-cta{font-size:15px}}

/* Whole House Fan page: subtle attic-fan photo background */
body.electric.whole-house-fan-page{
  background-color:#fff;
  background-image:linear-gradient(rgba(255,255,255,.76),rgba(255,255,255,.76)),url('/assets/whole-house-fan-background.webp');
  background-position:center top;
  background-size:cover;
  background-attachment:fixed;
}
@media(max-width:700px){body.electric.whole-house-fan-page{background-attachment:scroll}}

/* Mobile hero block with the fan photo as a soft background */
@media(max-width:700px){
  .whole-house-fan-page .whole-house-fan-lead{position:relative;isolation:isolate;overflow:hidden;padding:18px 16px;border-radius:14px;background-image:linear-gradient(rgba(255,255,255,.66),rgba(255,255,255,.66)),url('/assets/whole-house-fan-background.webp');background-position:center 36%;background-size:cover}
  .whole-house-fan-page .whole-house-fan-lead h1{font-size:30px;line-height:1.18;margin:0 0 14px;letter-spacing:-.5px}
}


/* Subtle attic-fan photo background for the Attic Fan service page */
body.electric.attic-fan-page{
  background-color:#fff;
  background-image:linear-gradient(rgba(255,255,255,.76),rgba(255,255,255,.76)),url('/assets/whole-house-fan-background.webp');
  background-position:center top;
  background-size:cover;
  background-attachment:fixed;
}
@media(max-width:700px){body.electric.attic-fan-page{background-attachment:scroll}}


/* Service-specific, softly washed photographic backgrounds */
body.electric.outlets-switches-page{background-color:#fff;background-image:linear-gradient(rgba(255,255,255,.76),rgba(255,255,255,.76)),url('/assets/outlets-switches-background.png');background-position:center top;background-size:cover;background-attachment:fixed}
body.electric.troubleshooting-page{background-color:#fff;background-image:linear-gradient(rgba(255,255,255,.76),rgba(255,255,255,.76)),url('/assets/electrical-troubleshooting-background.png');background-position:center top;background-size:cover;background-attachment:fixed}
body.electric.outlets-switches-page .electric-detail-card,body.electric.troubleshooting-page .electric-detail-card{background:rgba(255,255,255,.82);backdrop-filter:blur(2px)}
@media(max-width:700px){body.electric.outlets-switches-page,body.electric.troubleshooting-page{background-attachment:scroll}}


/* Responsive project gallery for Lighting Installation. */
.lighting-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.lighting-gallery-item{display:block;overflow:hidden;border-radius:11px;background:#eef1f4;aspect-ratio:4/3}
.lighting-gallery-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.lighting-gallery-item:hover img{transform:scale(1.035)}
@media(max-width:720px){.lighting-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.lighting-gallery-item{border-radius:9px}}


/* Eight Lighting project photos per frame, with native page scrolling and full-screen viewing. */
.lighting-gallery-shell{position:relative;margin-top:18px}
.lighting-gallery-viewport{height:min(58vh,540px);min-height:360px;overflow:hidden;border-radius:12px;touch-action:pan-y;outline:none}
.lighting-gallery-track{height:100%;will-change:transform}
.lighting-gallery-page{height:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;padding:2px}
.lighting-gallery-item{position:relative;display:block;width:100%;height:100%;padding:0;overflow:hidden;border:1px solid #dce3ea;border-radius:10px;background:#eef1f4;cursor:zoom-in}
.lighting-gallery-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.lighting-gallery-item:hover img{transform:scale(1.035)}
.lighting-gallery-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:12px;color:#53697d;font-size:13px}
.lighting-gallery-controls button{display:none;width:38px;height:38px;border:1px solid #e0a02c;border-radius:50%;background:#eda72b;color:#092b4b;font-size:21px;cursor:pointer}
.lighting-gallery-hint{margin:8px 0 0!important;text-align:center;font-size:12px!important;color:#637285}
.lighting-lightbox{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(5,14,24,.96);cursor:zoom-out}
.lighting-lightbox.is-open{display:flex}
.lighting-lightbox-image{display:block;max-width:100%;max-height:100%;object-fit:contain;cursor:zoom-out}
.lighting-lightbox button{position:absolute;z-index:1;display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:#092b4b;font-size:30px;cursor:pointer}
.lighting-lightbox-close{top:18px;right:18px}.lighting-lightbox-prev{left:18px;top:50%;transform:translateY(-50%)}.lighting-lightbox-next{right:18px;top:50%;transform:translateY(-50%)}
body.lighting-lightbox-open{overflow:hidden}
@media(max-width:720px){.lighting-gallery-viewport{height:min(67vh,650px);min-height:430px}.lighting-gallery-page{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));gap:8px}.lighting-gallery-item{border-radius:8px}.lighting-gallery-hint{font-size:11px!important}}
.lighting-gallery-shell.has-multiple-pages .lighting-gallery-controls button{display:grid;place-items:center}

/* Keep iOS from automatically inflating electrical-page text after anchor navigation. */
body.electric,
body.electric .electric-detail-card,
body.electric .electric-detail-card p,
body.electric .electric-detail-card li,
body.electric .electric-detail-card h2,
body.electric .electric-detail-card h3 {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Continuous fade-in/fade-out motion for the Lighting photo feed. */
.lighting-gallery-viewport{position:relative;mask-image:linear-gradient(to bottom,transparent 0%,#000 11%,#000 89%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 11%,#000 89%,transparent 100%);touch-action:pan-y;cursor:grab}
.lighting-gallery-viewport:active{cursor:grabbing}
.lighting-gallery-track{display:flex;flex-direction:column;height:300%;will-change:transform}
.lighting-gallery-page{box-sizing:border-box;display:grid;flex:0 0 calc(100% / var(--lighting-page-count,3));height:calc(100% / var(--lighting-page-count,3));grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;padding:2px}
@keyframes lighting-gallery-flow{to{transform:translateY(var(--lighting-distance,-100%))}}
.lighting-gallery-controls{position:relative;z-index:2}
@media(max-width:720px){.lighting-gallery-viewport{height:min(48vh,440px);min-height:300px}.lighting-gallery-page{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:8px}}
@media(prefers-reduced-motion:reduce){.lighting-gallery-track{animation:none!important}}

/* Main panel project photo and video gallery */
.panel-project-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.panel-project-photo,.panel-project-video{display:block;overflow:hidden;min-width:0;aspect-ratio:4/3;border:1px solid #dce3ea;border-radius:10px;background:#eef1f4}
.panel-project-photo img,.panel-project-video video{display:block;width:100%;height:100%;object-fit:cover}
.panel-project-photo:hover img{transform:scale(1.035);transition:transform .25s ease}
.panel-project-video p{margin:0;padding:7px 10px;color:#53697d;font-size:12px;background:#fff}
.panel-project-video video{height:calc(100% - 32px)}
@media(max-width:720px){.panel-project-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.panel-project-photo,.panel-project-video{border-radius:8px}}

/* Native video tile inside the shared Lighting-style electrical gallery. */
.lighting-gallery-video{cursor:default;display:flex;flex-direction:column;align-items:stretch;justify-content:center}
.lighting-gallery-video video{display:block;width:100%;height:calc(100% - 30px);min-height:0;object-fit:contain;background:#101820}
.lighting-gallery-video-label{display:block;flex:0 0 30px;padding:7px 10px;background:#fff;color:#53697d;font-size:12px;line-height:16px;text-align:center}

.lighting-lightbox-video{display:none;max-width:min(92vw,1200px);max-height:88vh;width:auto;height:auto;object-fit:contain;background:#000;cursor:default}.lighting-lightbox.video-open .lighting-lightbox-image,.lighting-lightbox.video-open .lighting-lightbox-prev,.lighting-lightbox.video-open .lighting-lightbox-next{display:none}.lighting-lightbox.video-open .lighting-lightbox-video{display:block}
