/* =====================================================================
   Glow Joe Electric — site stylesheet
   Breakpoints: >=981 desktop, 768-980 tablet (columns stack, burger menu),
   <=767 phone (type and spacing step down), <=650 sticky call bar.
   ===================================================================== */

:root{
  --navy: #1a2579;
  --navy-70: rgba(26, 37, 121, .7);
  --red: #da2913;
  --red-nav: #da290a;
  --yellow: #f7e436;
  --amber: #ffb100;
  --ink: #333;
  --body: #666;
  --dots: #364d93;

  --lato: Lato, "Lato Fallback", Helvetica, Arial, sans-serif;
  --open: "Open Sans", "Open Sans Fallback", Arial, sans-serif;
  --roboto: Roboto, "Roboto Fallback", Helvetica, Arial, sans-serif;
  --condensed: "Roboto Condensed", "Roboto Condensed Fallback", Helvetica, Arial, sans-serif;
  --rocknroll: "RocknRoll One", "RocknRoll Fallback", Helvetica, Arial, sans-serif;
}

/* Metric-matched fallbacks keep text from reflowing while the web fonts load. */
@font-face{ font-family: "Lato Fallback"; src: local("Arial"); size-adjust: 97.4%; }
@font-face{ font-family: "Open Sans Fallback"; src: local("Arial"); size-adjust: 105.4%; }
@font-face{ font-family: "Roboto Fallback"; src: local("Arial"); size-adjust: 100.3%; }
@font-face{ font-family: "Roboto Condensed Fallback"; src: local("Arial"); size-adjust: 88.7%; }
@font-face{ font-family: "RocknRoll Fallback"; src: local("Arial"); size-adjust: 118%; }

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: var(--open);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, p, ul, figure{ margin: 0; }
h1, h2, h3, h4, h5, h6{
  color: var(--ink);
  padding-bottom: 10px;
  line-height: 1em;
  font-weight: 500;
}
p{ padding-bottom: 1em; }
p:last-of-type{ padding-bottom: 0; }
ul{ padding: 0; list-style: none; }
a{ color: var(--navy-70); text-decoration: none; }
img{ max-width: 100%; height: auto; }
button{ font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
/* Hand cursor on everything clickable, stated explicitly rather than left to browser defaults. */
a[href], a[href] *, button, button *, summary, label[for], [role="button"], input[type="submit"], input[type="button"], select{ cursor: pointer; }

.skip-link{
  position: absolute; left: 12px; top: -60px; z-index: 100000;
  background: #fff; color: var(--navy); padding: 10px 16px;
  font-weight: 700; border: 2px solid var(--navy);
}
.skip-link:focus{ top: 12px; }

.sr-only{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible{ outline: 2px solid var(--navy); outline-offset: 2px; }

/* Icons: SVG masks tinted by currentColor. */
.ico{
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
          mask: var(--ico) center / contain no-repeat;
}
.ico-phone, .ico-call{ --ico: url("images/icon-phone.svg"); }

/* ---------- Shared building blocks ---------- */
.btn{
  display: inline-block;
  position: relative;
  font-family: var(--lato);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7em;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  background-color: #fff;
  border: 1px solid var(--navy);
  border-radius: 6px;
  padding: 12px 30px;
  transition: all 300ms ease 0ms;
}
.btn:hover{ color: #fff; background-color: var(--navy); border-color: var(--navy); }
.btn-shadow{ box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .3); }
.btn-shadow:hover{ box-shadow: 0 2px 8px 0 rgba(255, 255, 255, .18); }

.sec-title{
  font-family: var(--lato);
  font-size: 18px;
  line-height: 2em;
  color: #898f99;
  border-radius: 8px;
  overflow: hidden;
}
.sec-title.pt{ padding-top: 1vw; }
.sec-title h2{
  font-family: var(--lato);
  font-weight: 900;
  font-size: 36px;
  text-align: center;
}

.divider{
  position: relative;
  width: 75px;
  height: 33px;
  margin: 0 auto;
  padding-top: 10px;
}
.divider::before{
  content: "";
  position: absolute;
  top: 10px; left: 0; right: 0;
  border-top: 2px solid var(--yellow);
}

.sec-head{
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
}

.cta-row{
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

/* =====================================================================
   Header
   ===================================================================== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99999;
  background: #fff;
  font-family: var(--roboto);
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, .1);
  transition: box-shadow .4s ease-in-out;
}
/* Same width as the service tile grid, so the logo and the phone link line up
   with the outer tile edges. */
.hdr-inner{
  position: relative;
  width: 80%;
  height: 115px;
  margin: 0 auto;
  transition: height .4s ease-in-out;
}
.brand{
  position: absolute;
  left: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
}
.brand img{
  display: block;
  width: 150px;
  height: 75px;
  max-width: none;
  transition: all .4s ease-in-out;
}
.menu-btn{ display: none; }
.sub-toggle{ display: none; }

.site-nav{
  position: absolute;
  top: 0; right: 0;
  padding-top: 50px;
  transition: padding .4s ease-in-out;
}
.nav-list{ display: flex; align-items: flex-start; }
.nav-list > li{
  position: relative;
  padding-right: 22px;
  line-height: 14px;
}
.nav-list > li:last-child{ padding-right: 0; }
.nav-list a{
  position: relative;
  display: block;
  font-family: var(--roboto);
  font-size: 15px;
  font-weight: 700;
  line-height: 14px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .71);
  transition: opacity .4s ease-in-out, background-color .4s ease-in-out;
}
.nav-list > li > a{
  padding-bottom: 50px;
  transition: opacity .4s ease-in-out, background-color .4s ease-in-out, padding .4s ease-in-out;
}
.nav-list > li.has-sub > a{ padding-right: 20px; }
.nav-list > li.has-sub > a::after{
  content: "";
  position: absolute;
  right: 0; top: -1px;
  width: 16px; height: 16px;
  background-color: currentColor;
  -webkit-mask: url("images/icon-chevron-down.svg") center / contain no-repeat;
          mask: url("images/icon-chevron-down.svg") center / contain no-repeat;
}
/* Red underline that grows in from the left on hover. */
.nav-list a:not([href^="tel"])::before{
  content: "";
  position: absolute;
  z-index: -2;
  left: 0; right: 100%; bottom: 50%;
  height: 2px;
  background: var(--red-nav);
  transition: right .3s ease-out;
}
.nav-list a:hover::before{ right: 0; }
.nav-phone a .ico{
  width: 15px; height: 15px;
  margin-right: 5px;
  position: relative; top: 2px;
  vertical-align: -1px;
}

/* Desktop dropdowns */
.nav-list .sub{
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  width: max-content;
  max-height: 65vh;
  padding: 20px 0;
  background: #fff;
  border-top: 3px solid var(--navy-70);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
}
.nav-list li:hover > .sub,
.nav-list li:focus-within > .sub{ opacity: 1; visibility: visible; }
.nav-list .sub li{
  position: relative;
  padding: 0 20px;
  line-height: 28px;
  white-space: nowrap;
}
.nav-list .sub a{
  padding: 6px 20px;
  line-height: 28px;
  white-space: nowrap;
}
.nav-list .sub a:hover{ background-color: rgba(0, 0, 0, .03); }
.nav-list .sub a::before{ bottom: 10%; }
.nav-list .sub .sub{
  left: 100%;
  top: -23px;
  overflow: hidden auto;
}
.nav-list .sub li.has-sub > a{ padding-right: 40px; }
.nav-list .sub li.has-sub > a::after{
  content: "";
  position: absolute;
  right: 20px; top: 6px;
  width: 16px; height: 28px;
  background-color: currentColor;
  -webkit-mask: url("images/icon-arrow-right.svg") center / 16px 16px no-repeat;
          mask: url("images/icon-arrow-right.svg") center / 16px 16px no-repeat;
}

/* Narrow desktops: the header now shares the tile grid's 80% width, so tighten
   the nav until the burger menu takes over at 980px. */
@media (min-width: 981px) and (max-width: 1149px){
  .nav-list > li{ padding-right: 12px; }
  .nav-list a{ font-size: 13.5px; }
  .nav-list > li.has-sub > a{ padding-right: 18px; }
  .nav-phone a .ico{ width: 13px; height: 13px; margin-right: 4px; }
}

/* Shrunk header once the page scrolls (desktop only). */
@media (min-width: 981px){
  .site-header.is-scrolled{ box-shadow: 0 0 7px 0 rgba(0, 0, 0, .1); }
  .is-scrolled .hdr-inner{ height: 83px; }
  .is-scrolled .brand img{ width: 108px; height: 54px; }
  .is-scrolled .site-nav{ padding-top: 34px; }
  .is-scrolled .nav-list > li > a{ padding-bottom: 34px; }
}

/* =====================================================================
   Page wrapper
   ===================================================================== */
.page{
  padding-top: 115px;
  margin-top: -1px;
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero{
  position: relative;
  height: 93vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 54px 0 0;
  background-color: #fff;
  background-image:
    linear-gradient(167deg, rgba(18, 71, 140, .08) 0%, rgba(41, 196, 169, 0) 99%),
    url("images/glow-joe-electric-van-oak-point-tx-1920.webp");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.hero-row{
  width: 100%;
  max-width: 88vw;
  margin: 0 auto 0 0;
  padding: 6vh 0 8vh 10vw;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .71) 61%, rgba(255, 255, 255, 0) 100%);
}
.hero-copy{ text-shadow: 0 0 4.2px rgba(0, 0, 0, .4); }
.hero-eyebrow{
  font-family: var(--condensed);
  font-size: clamp(18px, 2vw, 50px);
  font-weight: 700;
  line-height: 1em;
  text-transform: uppercase;
  color: #c9c9c9;
  padding-bottom: 10px;
}
.hero h1{
  font-family: var(--condensed);
  font-size: clamp(50px, 5vw, 100px);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.hero h1 strong{ font-weight: 700; }
.hero-text{
  max-width: 1080px;
  font-family: var(--lato);
  font-size: 16px;
  line-height: 1.8em;
  color: #efefef;
  text-shadow: none;
}
.hero .hero-text{ padding-bottom: 1em; }
.hero-btn-wrap{ margin-top: 10px; text-shadow: none; }

/* =====================================================================
   Values cards
   ===================================================================== */
.values{
  background-color: var(--navy);
  background-image: linear-gradient(90deg, #121a5c 0%, var(--navy) 100%);
  border-bottom: 4px solid var(--red);
}
.values-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 80%;
  margin: 0 auto;
  padding: 24px 0;
}
.value-item{
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 0 28px;
  border-left: 1px solid rgba(255, 255, 255, .18);
}
.value-item:first-child{ padding-left: 0; border-left: 0; }
.value-item:last-child{ padding-right: 0; }
/* The icon artwork is black line art; render it white on the dark band. */
.value-icon{
  flex: none;
  align-self: center;
  width: 56px;
  height: 56px;
  filter: brightness(0) invert(1);
}
.value-title{
  padding-bottom: 4px;
  font-family: var(--lato);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2em;
  letter-spacing: 1px;
  color: #fff;
}
.value-item p{
  font-size: 13.5px;
  line-height: 1.6em;
  color: rgba(255, 255, 255, .85);
}

/* =====================================================================
   Guarantees
   ===================================================================== */
.guarantees{
  padding: 90px 0;
  background-color: #fff;
}
/* Service area pages: the section sits between white content blocks, so it gets a light blue band and white cards. */
.block + .guarantees{ background-color: #eaf1fb; }
.block + .guarantees .guar-card:not(.guar-card-feature){ background-color: #fff; border-color: #d5e0f0; }
.block + .guarantees .guar-foot{ border-top-color: #cbd8ec; }
.guar-wrap{
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
}
.guar-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}
.guar-head h2{
  font-family: var(--lato);
  font-size: 44px;
  font-weight: 900;
  line-height: 1.1em;
  padding-bottom: 0;
}
.guar-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.guar-card{
  display: flex;
  gap: 18px;
  padding: 28px 30px;
  border: 1px solid #e3e8ef;
  border-radius: 12px;
  background-color: #f1f5f9;
}
.guar-icon{
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background-color: var(--navy);
  color: #fff;
}
.guar-card h3{
  font-family: var(--lato);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25em;
  padding-bottom: 6px;
}
.guar-card p{
  font-size: 15px;
  line-height: 1.7em;
  color: rgba(0, 0, 0, .78);
}
.guar-card-feature{
  background-color: #fdf6d3;
  border-color: #f2df8a;
  box-shadow: 5px 4px 0 0 var(--red);
}
.guar-card-feature .guar-icon{ background-color: var(--amber); color: #1a1a1a; }
.guar-foot{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e2e2e2;
  font-family: var(--lato);
  font-size: 16px;
}
.guar-foot p{ padding-bottom: 0; }
.guar-foot strong{ color: var(--ink); font-weight: 900; }
.guar-foot a{ color: var(--navy); font-weight: 700; }
.guar-foot a:hover{ text-decoration: underline; }
.guar-tagline{ color: var(--ink); font-weight: 700; }

@media (max-width: 980px){
  .guarantees{ padding: 70px 0; }
  .guar-head{ display: block; }
  .guar-head h2{ font-size: 40px; }
}
@media (max-width: 767px){
  .guarantees{ padding: 50px 0; }
  .guar-head h2{ font-size: 30px; }
  .guar-grid{ grid-template-columns: 1fr; gap: 18px; }
  .guar-card{ padding: 22px 20px; gap: 14px; }
  .guar-card h3{ font-size: 18px; }
  .guar-foot{ display: block; text-align: center; }
  .guar-tagline{ margin-top: 8px; }
}

/* =====================================================================
   About
   ===================================================================== */
.about{
  padding: 60px 0;
  background-color: #f1f5f9;
  background-image: linear-gradient(180deg, #f4f4f4 0%, rgba(255, 255, 255, 0) 100%);
}
.about-row{
  display: flex;
  align-items: flex-start;
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
  padding: 27px 0;
}
.about-media{ width: 47.25%; margin-right: 5.5%; line-height: 0; }
.about-text{ width: 47.25%; }
.about-img{
  display: inline-block;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .65);
}
.about-img img{ display: block; }
.about-copy{
  margin-bottom: 5.82%;
  font-family: var(--lato);
  font-size: 16px;
  line-height: 1.8em;
}
.about-btn-wrap{ margin-top: 20px; text-align: center; }

/* =====================================================================
   Services
   ===================================================================== */
.services{ padding: 60px 0 75px; background-color: #fff; }
/* One grid for all six tiles: every row takes the height of the tallest card,
   so the tiles stay the same size at every width. */
.svc-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  column-gap: 3%;
  row-gap: calc(27px + 1vw);
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
  padding: 27px 0 1vw;
}
.svc-col{
  display: flex;
  border-radius: 8px;
}
.svc-card{ flex: 1 1 auto; width: 100%; }
.svc-card{
  position: relative;
  padding: 5vw 2.5%;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .3);
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  transition: transform .4s ease-in-out, background .4s ease-in-out, background-color .4s ease-in-out;
}
.svc-card:hover,
.svc-card:focus-within{ transform: scale(1.03); }
.svc-panels{ background-image: linear-gradient(210deg, rgba(0, 1, 71, .27) 0%, rgba(0, 0, 0, .2) 100%), url("images/electrical-panel-upgrade-512.webp"); }
.svc-panels:hover, .svc-panels:focus-within{ background-image: linear-gradient(210deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 100%), url("images/electrical-panel-upgrade-512.webp"); }
.svc-ev{ background-image: linear-gradient(210deg, rgba(0, 1, 71, .27) 0%, rgba(0, 0, 0, .2) 100%), url("images/home-ev-charger-installation-512.webp"); }
.svc-ev:hover, .svc-ev:focus-within{ background-image: linear-gradient(210deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 100%), url("images/home-ev-charger-installation-512.webp"); }
.svc-installs{ background-image: linear-gradient(210deg, rgba(0, 1, 71, .27) 0%, rgba(0, 0, 0, .2) 100%), url("images/electrical-outlet-installation-512.webp"); }
.svc-installs:hover, .svc-installs:focus-within{ background-image: linear-gradient(210deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 100%), url("images/electrical-outlet-installation-512.webp"); }
.svc-repairs{ background-image: linear-gradient(210deg, rgba(0, 1, 71, .27) 0%, rgba(0, 0, 0, .2) 100%), url("images/electrical-outlet-repair-512.webp"); }
.svc-repairs:hover, .svc-repairs:focus-within{ background-image: linear-gradient(210deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 100%), url("images/electrical-outlet-repair-512.webp"); }
.svc-generators{ background-image: linear-gradient(180deg, rgba(9, 4, 61, .43) 0%, rgba(0, 0, 33, .36) 99%), url("images/duromax-portable-generator-640.webp"); }
.svc-generators:hover, .svc-generators:focus-within{ background-image: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 100%), url("images/duromax-portable-generator-640.webp"); }
.svc-commercial{ background-image: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .2) 100%), url("images/commercial-building-electrical-service-512.webp"); }
.svc-commercial:hover, .svc-commercial:focus-within{ background-image: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 100%), url("images/commercial-building-electrical-service-512.webp"); }

.svc-desc{
  position: relative;
  padding-bottom: 20px;
  font-size: clamp(14px, 1.5vw, 17px);
}
.svc-desc h3{
  font-family: var(--lato);
  font-weight: 700;
  font-size: 2vw;
  color: #fff;
  text-shadow: 0 .1em .1em rgba(0, 0, 0, .4);
}
.svc-desc div{ font-family: var(--lato); }
.svc-desc p{
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity .4s ease-in-out, transform .4s ease-in-out;
}
.svc-btn{
  display: inline-block;
  font-family: var(--lato);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7em;
  text-transform: uppercase;
  color: #fff;
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 3px;
  padding: 7px 1em;
  opacity: 0;
  transform: translateY(20px);
  transition: all .4s ease-in-out, transform .4s ease-in-out;
}
.svc-btn:hover{
  background-color: var(--navy);
  border-color: rgba(26, 37, 121, .9);
  transition: background-color .2s ease-in-out, color .2s ease-in-out, border .2s ease-in-out;
}
.svc-card:hover .svc-desc p,
.svc-card:focus-within .svc-desc p,
.svc-card:hover .svc-btn,
.svc-card:focus-within .svc-btn{ opacity: 1; transform: translateY(0); }
.svc-cta-row{ padding: 15px 0 27px; }

/* =====================================================================
   Reviews slider
   ===================================================================== */
.reviews{
  padding: 7vw 0;
  background-color: #fff;
  background-image:
    linear-gradient(180deg, rgba(10, 0, 0, .13) 0%, rgba(10, 0, 0, .13) 99%),
    url("images/electrician-tools-workbench-1440.webp");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.reviews-row{
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  background-color: #fff;
  border: 30px solid #fff;
}
.reviews-frame{ border: 2px solid var(--ink); }
.slider{
  position: relative;
  overflow: hidden;
  line-height: 1.8em;
  color: #fff;
}
.slides{ display: grid; }
.slide{
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  padding: 0 6%;
  background-color: #fff;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
}
.slide.is-active{ opacity: 1; visibility: visible; }
.slide-desc{
  width: 100%;
  padding: 100px 20px;
}
.slide-content{
  font-family: var(--lato);
  font-size: 23px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.8em;
  color: #2f2f2f;
}
.btn-review{
  display: inline-block;
  margin-top: 20px;
  font-family: var(--lato);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7em;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 3px;
  padding: .3em 1em;
  transition: color 300ms ease 0ms, background-color 300ms ease 0ms, border 300ms ease 0ms;
}
.btn-review:hover{ color: #fff; background-color: var(--navy); border-color: var(--navy); }
.slider-arrow{
  position: absolute;
  top: 50%;
  z-index: 100;
  width: 48px; height: 48px;
  margin-top: -24px;
  color: var(--dots);
  opacity: 0;
  transition: all .2s ease-in-out;
}
.slider-arrow::before{
  content: "";
  display: block;
  width: 48px; height: 48px;
  background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
          mask: var(--ico) center / contain no-repeat;
}
.slider-arrow.prev{ left: -22px; --ico: url("images/icon-arrow-left.svg"); }
.slider-arrow.next{ right: -22px; --ico: url("images/icon-arrow-right.svg"); }
.slider:hover .slider-arrow,
.slider-arrow:focus-visible{ opacity: 1; }
.slider:hover .slider-arrow.prev, .slider-arrow.prev:focus-visible{ left: 22px; }
.slider:hover .slider-arrow.next, .slider-arrow.next:focus-visible{ right: 22px; }
.slider-dots{
  position: absolute;
  left: 0; bottom: 20px;
  z-index: 10;
  width: 100%;
  text-align: center;
  line-height: 25.2px;
}
.slider-dots button{
  display: inline-block;
  /* 7px dot drawn inside a 25px tap target; negative margins keep the visual spacing. */
  width: 25px; height: 25px;
  margin: -9px -4px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--dots) 3.5px, transparent 4px);
  opacity: .5;
  vertical-align: top;
  overflow: hidden;
  text-indent: -9999px;
}
.slider-dots button.is-active{ opacity: 1; }

/* Entrance flip for the reviews panel (applied only when JS runs). */
.js .reviews-row[data-flip]{
  opacity: 0;
  transform: perspective(2000px) rotateX(14deg);
  transition: opacity .5s ease-in-out .25s, transform .5s ease-in-out .25s;
}
.js .reviews-row[data-flip].is-in{ opacity: 1; transform: none; }

/* =====================================================================
   Recent jobs
   ===================================================================== */
.jobs{
  padding: 65px 0;
  background-color: rgba(244, 244, 244, .74);
}
.jobs-row{
  display: flex;
  align-items: flex-start;
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
}
.job{
  width: 29.6667%;
  margin-right: 5.5%;
  text-align: center;
}
.job:last-child{ margin-right: 0; }
.job-media{
  max-width: 550px;
  margin: 0 auto 30px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .3);
  line-height: 0;
}
.job-media img{ display: block; width: 100%; border-radius: 2px; }
.job-title{
  max-width: 550px;
  margin: 0 auto;
  font-family: var(--lato);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2em;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.toggle{
  max-width: 400px;
  margin: 0 auto;
  padding: 11px 20px;
  background-color: rgba(0, 0, 0, .02);
  text-align: left;
  line-height: 2em;
}
.toggle-title{ padding: 0; }
.toggle-title button{
  position: relative;
  display: block;
  /* Fills the whole title bar so the tap target is the full row, not one 12px line. */
  width: calc(100% + 40px);
  margin: -11px -20px;
  padding: 11px 70px 11px 20px;
  text-align: left;
  font-family: var(--open);
  font-size: 12px;
  font-weight: 600;
  line-height: 1em;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--body);
}
.toggle.is-open .toggle-title button{ color: var(--ink); }
.toggle-title button::before,
.acc-title button::before{
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 16px; height: 16px;
  margin-top: -8px;
  background-color: currentColor;
  -webkit-mask: url("images/icon-plus-circle.svg") center / contain no-repeat;
          mask: url("images/icon-plus-circle.svg") center / contain no-repeat;
}
.toggle-title button::before{ background-color: #ccc; right: 20px; }
.toggle.is-open .toggle-title button::before{
  -webkit-mask-image: url("images/icon-minus-circle.svg");
          mask-image: url("images/icon-minus-circle.svg");
}
/* Collapsible panels animate their height via grid rows. */
.js .toggle-panel, .js .acc-panel{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .7s ease-in-out;
}
.js .toggle-inner, .js .acc-inner{ overflow: hidden; min-height: 0; }
.is-open > .toggle-panel, .is-open > .acc-panel{ grid-template-rows: 1fr; }
.js .toggle-panel:not(.is-shown), .js .acc-panel:not(.is-shown){ visibility: hidden; }
.toggle-content{ padding-top: 20px; }
.toggle-content p{ line-height: 2em; }
.jobs-cta-row{ padding: 27px 0; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq{ padding: 20px 0 60px; background-color: rgba(255, 255, 255, 0); }
.faq-row{
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
}
.faq-col{ padding: 1vw 0; }
.acc-item{
  position: relative;
  margin: 10px 0;
  padding: 20px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .3);
  overflow: hidden;
  background-color: #f1f1f1;
  transition: color 300ms ease 0ms, background-color 300ms ease 0ms;
}
.acc-item.acc-last{
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.acc-item.is-open{ background-color: #fff; z-index: 1; }
.acc-item:not(.is-open):hover{ background-color: rgba(255, 255, 255, 0); }
.acc-title{ padding: 0; }
.acc-title button{
  position: relative;
  display: block;
  width: 100%;
  padding: 0 50px 0 0;
  text-align: left;
  font-family: var(--lato);
  font-size: 19px;
  font-weight: 700;
  line-height: 1em;
  color: #000;
  transition: color 300ms ease 0ms, background-color 300ms ease 0ms;
}
.acc-last .acc-title button{ font-size: 18px; }
.acc-item:not(.is-open) .acc-title button:hover{ color: #dd0b1a; }
.acc-item.is-open .acc-title button{ font-size: 18px; color: var(--ink); }
.acc-title button::before{ background-color: var(--red); }
.acc-item.is-open .acc-title button::before{ display: none; }
.acc-content{
  padding-top: 20px;
  font-family: var(--lato);
  font-size: 16px;
  line-height: 1.8em;
}

.badges-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4%;
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 27px 100px;
}
.badge-col{
  text-align: center;
  line-height: 0;
}
.badge-dealer, .badge-chamber{ flex: 0 1 30%; }
.badge-award, .badge-best{ flex: 0 0 100px; }
.badge-img{
  display: block;
  overflow: hidden;
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .48);
  border-radius: 7px 7px 9px 8px;
}
.badge-img img{ display: block; width: 100%; }
.badge-chamber .badge-img{ border-radius: 7px 8px 8px 8px; box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .43); }
.badge-award .badge-img{ max-width: 100px; margin: 0 auto; }
.badge-best .badge-img{ max-width: 100px; margin: 0 auto; border-radius: 50%; box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .3); }

/* =====================================================================
   Contact
   ===================================================================== */
.contact{
  padding: 7vw 0 48px;
  background-color: #2c2b4c;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(22, 34, 106, .65) 62%),
    url("images/electrical-wiring-lighting-fixture-1920.webp");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.contact-row{
  display: flex;
  align-items: flex-start;
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 0 27px;
  background-color: rgba(0, 0, 0, .59);
}
.form-col{ width: 48.5%; margin-right: 3%; }
.info-col{ width: 22.75%; margin-right: 3%; }
.info-col:last-child{ margin-right: 0; }
.form-embed{
  padding: 0 15px;
  margin-bottom: 3.09%;
}
/* Pre-load height floor only; the form script sets the real height. */
.form-embed iframe{ display: block; min-height: 320px; }
.recaptcha-note{
  margin-right: 15px;
  font-size: 10px;
  line-height: 1.6em;
  color: #fff;
  text-align: right;
}
.recaptcha-note a{ color: var(--yellow); }
.info-title{
  font-family: var(--rocknroll);
  font-size: 20px;
  line-height: 1.2em;
  color: #fff;
}
.info-text{
  padding-bottom: 0;
  max-width: 97%;
  line-height: 2em;
  color: #fff;
}
.info-text a{ color: #fff; text-decoration: underline; }
.info-text + .info-title{ margin-top: 16.19px; }
.info-phone{
  margin-bottom: 16.19px;
  font-family: var(--lato);
  font-size: 24px;
  line-height: 1.2em;
  color: var(--amber);
  white-space: nowrap;
}
.info-phone a{ color: var(--yellow); }
.info-phone .ico{
  width: 24px; height: 24px;
  margin-right: 5px;
  position: relative; top: 2px;
  vertical-align: -2px;
}
.info-hours p{
  line-height: 2em;
  color: #fff;
}
.info-hours .info-emergency{ padding-bottom: 14px; margin-bottom: 28px; }
.license-row{
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 27px 0;
}
.license-row p{
  font-size: 21px;
  line-height: 2em;
  color: #fff;
  text-align: center;
  text-shadow: 0 .08em .33em #0a0000;
}

/* =====================================================================
   Map
   ===================================================================== */
.map{ background: #fff; }
.map iframe{ display: block; max-width: 100%; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer{ background-color: #222; }
.footer-bottom{
  padding: 15px 0 5px;
  background-color: rgba(0, 0, 0, .32);
}
.footer-inner{
  display: flow-root;
  width: 95%;
  max-width: 1080px;
  margin: 0 auto;
}
.social{ float: right; }
.social li{ display: inline-block; margin-left: 20px; }
.social-fb{
  display: inline-block;
  font-size: 24px;
  text-align: center;
  width: 24px; height: 25px;
  color: var(--body);
  transition: color 300ms;
}
.social-fb::before{
  content: "";
  display: block;
  width: 24px; height: 24px;
  background-color: currentColor;
  -webkit-mask: url("images/icon-facebook.svg") center / contain no-repeat;
          mask: url("images/icon-facebook.svg") center / contain no-repeat;
}
.social-fb:hover{ color: #b4d9ff; }
.footer-info{
  float: left;
  padding-bottom: 10px;
  color: #8c8c8c;
}
.footer-info a{
  font-weight: 700;
  color: #8c8c8c;
  transition: all .4s ease-in-out;
}
.footer-info a:hover{ opacity: .7; }
.credit img{ width: 120px; height: 30px; margin-bottom: -11px; }

/* =====================================================================
   Inner pages
   ===================================================================== */
.page-hero{
  position: relative;
  display: flex;
  align-items: center;
  min-height: 340px;
  padding: 60px 0;
  background-color: #1b1f25;
  background-image: linear-gradient(rgba(27, 31, 37, .81) 0%, rgba(27, 31, 37, .45) 100%), var(--hero-img);
  background-size: cover;
  background-position: 50% 50%;
}
.page-hero-inner{ width: 80%; margin: 0 auto; }
.page-hero h1{
  font-family: var(--condensed);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1.05em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 4.2px rgba(0, 0, 0, .4);
}
.page-hero-kicker{
  padding-bottom: 8px;
  font-family: var(--condensed);
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c9c9c9;
}
.page-hero-sub{
  padding: 12px 0 0;
  font-family: var(--lato);
  font-size: 18px;
  line-height: 1.6em;
  color: #efefef;
}

.block{ padding: 64px 0; background-color: #fff; }
/* Back-to-back white blocks share one gap; a white block after a tinted or photo band keeps its top padding. */
.block:not(.block-tint):not(.block-photo) + .block:not(.block-tint):not(.block-photo){ padding-top: 0; }
.block-tint{ padding: 64px 0; }
.block-photo{
  background-image: linear-gradient(rgba(27, 31, 37, .75), rgba(27, 31, 37, .75)), var(--block-img);
  background-size: cover;
  background-position: 50% 50%;
  color: #fff;
}
.block-photo .prose, .block-photo .prose h2, .block-photo .prose h3{ color: #fff; }
.block-row{ width: 80%; max-width: 1080px; margin: 0 auto; }
.block-row + .block-row{ margin-top: 40px; }
.block-row.wide{ max-width: none; }
.block-row.narrow{ max-width: 820px; }
.block-row.cols{
  display: grid;
  grid-template-columns: var(--cols);
  gap: 48px;
  align-items: center;
}
.block-row.features{ align-items: stretch; gap: 30px; }
.block-row.top{ align-items: start; }
.block-row.compact{ align-items: start; gap: 14px 30px; }
.block-row.compact + .block-row.compact{ margin-top: 14px; }
.col > * + *{ margin-top: 20px; }

.prose{
  font-family: var(--lato);
  font-size: 16px;
  line-height: 1.8em;
  color: var(--body);
}
.prose.center{ text-align: center; }
.prose h2{ font-family: var(--lato); font-size: 32px; font-weight: 900; line-height: 1.2em; color: var(--ink); }
.prose h3{ font-family: var(--lato); font-size: 22px; font-weight: 700; line-height: 1.3em; color: var(--ink); padding-top: 8px; }
.prose h4, .prose h5, .prose h6{ font-family: var(--lato); font-size: 18px; font-weight: 700; line-height: 1.35em; color: var(--ink); padding-top: 6px; }
.prose p:last-child{ padding-bottom: 0; }
.prose ul, .prose ol{ padding: 0 0 1em 1.3em; list-style: disc; }
.prose ol{ list-style: decimal; }
.prose li{ padding-bottom: .35em; }
.prose a{ color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover{ color: var(--red); }
.prose strong{ color: var(--ink); }
.prose picture, .prose img{ display: block; margin: 8px 0 24px; border-radius: 3px; }
.compact .prose{ font-weight: 700; color: var(--ink); }
.compact .prose a{ text-decoration: none; }
.compact .prose a:hover{ text-decoration: underline; }

.media{ line-height: 0; }
.media.center{ text-align: center; }
.media picture, .media > a{ display: inline-block; }
.media img{ border-radius: 3px; box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .3); }
.media-svg img{ box-shadow: none; }
.divider-left{ margin-left: 0; }
.col-photo{
  min-height: 340px;
  height: 100%;
  border-radius: 3px;
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .3);
  background-image: var(--col-img);
  background-size: cover;
  background-position: 50% 50%;
}
.btn-wrap.center{ text-align: center; }
.btn-wrap.right{ text-align: right; }
.col > .btn-wrap{ margin-top: 26px; }

.feature{
  height: 100%;
  padding: 30px 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .12);
  text-align: center;
}
.feature-icon img{ width: 64px; height: 64px; margin: 0 auto 16px; }
.feature h3{ font-family: var(--lato); font-size: 18px; font-weight: 700; line-height: 1.3em; color: var(--ink); }
.feature h3 a{ color: inherit; }
.feature h3 a:hover{ color: var(--navy); }
.feature-text{ font-size: 14px; line-height: 1.7em; color: var(--body); }
.feature-text p{ padding-bottom: 0; }

.contact-line{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--lato);
  font-size: 18px;
  color: var(--ink);
}
.contact-line .ico{ width: 22px; height: 22px; color: var(--navy); }
.contact-line svg{ color: var(--navy); flex: none; }
.contact-line a{ color: var(--navy); }

.stats-band{
  padding: 50px 0;
  background-color: var(--navy);
  background-image: linear-gradient(180deg, rgba(26, 37, 121, .75) 0%, #1a2579 100%);
  border-bottom: 4px solid var(--red);
}
.stats-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.stat-num{
  display: block;
  font-family: var(--lato);
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1em;
  color: #fff;
}
.stat-label{
  display: block;
  margin-top: 6px;
  font-family: var(--lato);
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}

.form-embed-light{ padding: 0; margin: 0; }
/* The form script briefly lifts the iframe out of the page flow while it initializes.
   Holding the wrapper at the form's rendered height keeps the content below from jumping. */
.form-embed-light, .form-embed{ min-height: 466px; }
.map-embed iframe, .frame-embed iframe{ display: block; width: 100%; border-radius: 3px; }
/* The review widget script resizes (and may briefly replace) its iframe while loading.
   Holding the wrapper at the widget's measured height keeps the button below from jumping. */
.reviews-embed{ min-height: 1195px; }
.reviews-embed iframe{ display: block; }
@media (max-width: 980px){ .reviews-embed{ min-height: 2132px; } }
.toggle-wide{ max-width: none; margin: 0; padding: 16px 20px; background-color: #f4f4f4; border-radius: 6px; }
.toggle-wide .toggle-title button{ font-size: 15px; color: var(--ink); margin: -16px -20px; padding: 16px 70px 16px 20px; }
.toggle-wide .toggle-content{ column-count: 3; column-gap: 30px; font-family: var(--lato); font-size: 15px; }

.card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}
.card{
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .14);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover{ transform: translateY(-3px); box-shadow: 0 6px 24px 0 rgba(0, 0, 0, .2); }
.card-media{ display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eee; }
.card-media picture, .card-media img{ display: block; width: 100%; height: 100%; object-fit: cover; }
.card-body{ display: block; padding: 16px 18px 20px; }
.card-title{ display: block; font-family: var(--lato); font-size: 17px; font-weight: 700; line-height: 1.35em; color: var(--ink); }
.card-meta{ display: block; margin-top: 6px; font-size: 13px; color: var(--body); }
.post picture, .post img{ width: 100%; }
.post-back{ margin-top: 40px; }
.post-date{ font-size: 14px; color: var(--body); }

@media (max-width: 980px){
  .page-hero{ min-height: 260px; }
  .block{ padding: 48px 0; }
  .block-row.cols{ grid-template-columns: 1fr; gap: 30px; }
  .col-photo{ min-height: 260px; }
  .block-row.compact{ grid-template-columns: repeat(2, 1fr); }
  .stats-row{ gap: 24px; }
  .stat-num{ font-size: 48px; }
  .toggle-wide .toggle-content{ column-count: 2; }
}
@media (max-width: 767px){
  .page-hero{ min-height: 220px; padding: 48px 0; background-image: linear-gradient(rgba(27, 31, 37, .81) 0%, rgba(27, 31, 37, .45) 100%), var(--hero-img-sm, var(--hero-img)); }
  .page-hero-inner, .block-row, .stats-row, .block + .guarantees .guar-wrap{ width: 88%; }
  .prose h2{ font-size: 26px; }
  .stats-row{ grid-template-columns: 1fr; }
  .stat-num{ font-size: 44px; }
  .toggle-wide .toggle-content{ column-count: 1; }
}

/* =====================================================================
   Sticky call bar (small phones)
   ===================================================================== */
.call-bar{ display: none; background-color: var(--navy); text-align: center; }

/* =====================================================================
   Laptop widths: Divi switches fixed spacing to percentages below 1350
   ===================================================================== */
@media (min-width: 981px) and (max-width: 1349px){
  .hero{ padding-top: 4%; }
  .about-row{ padding: 2% 0; }
  .svc-grid{ padding-top: 2%; row-gap: calc(2% + 1vw); }
  .jobs-cta-row, .badges-row, .license-row{ padding-top: 2%; padding-bottom: 2%; }
  .contact-row{ padding-bottom: 2%; }
}

/* =====================================================================
   Tablet and below (<=980): columns stack, burger menu
   ===================================================================== */
@media (max-width: 980px){
  /* Header */
  .hdr-inner{ width: 80%; height: 80px; }
  .brand img, .is-scrolled .brand img{ width: 86px; height: 43px; }
  .site-nav{ position: static; padding: 0; }
  .menu-btn{
    display: block;
    position: absolute;
    right: 0; top: 24px;
    width: 32px; height: 56px;
    padding-bottom: 24px;
    color: #000;
  }
  .menu-btn::before{
    content: "";
    display: block;
    width: 32px; height: 32px;
    background-color: currentColor;
    -webkit-mask: url("images/icon-menu.svg") center / contain no-repeat;
            mask: url("images/icon-menu.svg") center / contain no-repeat;
  }
  .menu-btn[aria-expanded="true"]::before{
    -webkit-mask-image: url("images/icon-menu-close.svg");
            mask-image: url("images/icon-menu-close.svg");
  }
  .nav-list{
    display: none;
    position: absolute;
    top: 80px; left: 0;
    width: 100%;
    max-height: 75vh;
    overflow-y: auto;
    padding: 5%;
    background: #fff;
    border-top: 3px solid var(--navy);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);
  }
  .nav-list.is-open{ display: block; }
  .nav-list > li, .nav-list > li:last-child{ padding: 0; line-height: 23px; }
  .nav-list li{ position: relative; }
  .nav-list a,
  .nav-list > li > a,
  .is-scrolled .nav-list > li > a{
    padding: 10px 5%;
    font-size: 14px;
    font-weight: 600;
    line-height: 23px;
    text-transform: none;
    border-bottom: 1px solid rgba(0, 0, 0, .03);
  }
  .nav-list > li.has-sub > a{ font-weight: 700; padding-right: 5%; }
  .nav-list > li.has-sub > a::after,
  .nav-list .sub li.has-sub > a::after,
  .nav-list a::before{ display: none; }
  .nav-phone a .ico{ width: 14px; height: 14px; }
  .sub-toggle{
    display: block;
    position: absolute;
    right: 0; top: 0;
    z-index: 999;
    width: 44px; height: 44px;
  }
  .sub-toggle::after{
    content: "";
    position: absolute;
    top: 10px; left: 12px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #f0f3f6 no-repeat center / 14px;
  }
  .sub-toggle::before{
    content: "";
    position: absolute;
    z-index: 1;
    top: 13px; left: 15px;
    width: 14px; height: 14px;
    background-color: #0053aa;
    -webkit-mask: url("images/icon-chevron-down.svg") center / contain no-repeat;
            mask: url("images/icon-chevron-down.svg") center / contain no-repeat;
  }
  .sub-toggle[aria-expanded="true"]::before{
    -webkit-mask-image: url("images/icon-chevron-up.svg");
            mask-image: url("images/icon-chevron-up.svg");
  }
  .nav-list .sub,
  .nav-list .sub .sub{
    position: static;
    display: none;
    width: auto;
    max-height: none;
    padding: 0 0 0 5%;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    overflow: visible;
  }
  .nav-list .sub.is-open{ display: block; }
  .nav-list .sub li{ padding: 0; line-height: 23px; white-space: normal; }
  .nav-list .sub li.has-sub > a{ padding-right: 5%; }

  .page{ padding-top: 79px; }

  /* Hero */
  .hero{ padding-top: 50px; background-image: linear-gradient(167deg, rgba(18, 71, 140, .08) 0%, rgba(41, 196, 169, 0) 99%), url("images/glow-joe-electric-van-oak-point-tx-1440.webp"); }
  .hero-row{ max-width: 80vw; padding: 10vh 0 15vh 10vw; }
  .hero-eyebrow{ font-size: clamp(30px, 4vw, 40px); }
  .hero h1{ font-size: clamp(40px, 6vw, 60px); }

  /* Values */
  .value-item{ padding: 0 20px; gap: 14px; flex-direction: column; align-items: flex-start; }
  .value-icon{ width: 44px; height: 44px; }
  .value-title{ font-size: 15px; }
  .value-item p{ font-size: 13px; }

  /* About */
  .about{ padding: 22px 0 40px; }
  .about-row{ display: block; padding: 30px 0; }
  .about-media{ width: 100%; margin: 0 0 30px; }
  .about-text{ width: 100%; }
  .about-copy{ margin-bottom: 30px; }
  .sec-title h2{ font-size: 50px; }

  /* Services */
  .svc-grid{ grid-template-columns: 1fr; row-gap: 30px; padding: 30px 0 1vw; }
  .svc-desc h3{ font-size: 36px; }
  .svc-cta-row{ padding: 15px 0 30px; }

  /* Reviews */
  .reviews-row{ border-width: 20px; }
  .slide-content{ font-size: 16px; }

  /* Jobs */
  .jobs-row{ display: block; }
  .job{ width: 100%; margin: 0 0 30px; }
  .job:last-child{ margin-bottom: 0; }
  .jobs-cta-row{ padding: 30px 0; }

  /* Badges */
  .badges-row{ display: block; padding: 30px 91px; }
  .badge-col{ width: 100%; margin: 0 0 30px; padding: 0 76px; }
  .badge-col:last-child{ margin-bottom: 0; }
  .badge-dealer, .badge-chamber{ padding-top: 0; }
  .badge-dealer .badge-img, .badge-chamber .badge-img{ width: max-content; max-width: 100%; margin: 0 auto; }
  .badge-dealer img, .badge-chamber img{ width: auto; }

  /* Contact */
  .contact{
    padding-top: 7vw;
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(22, 34, 106, .65) 62%),
      url("images/electrical-wiring-lighting-fixture-1024.webp");
  }
  .contact-row{ flex-wrap: wrap; padding: 20px 0 30px; }
  .form-col{ width: 100%; margin: 0 0 30px; }
  .form-embed{ margin-bottom: 30px; }
  .info-col{ width: 47.25%; margin-right: 5.5%; }
  .info-title{ font-size: 18px; margin-left: 20px; }
  .info-text{ margin-left: 20px; }
  .info-col:last-child .info-title, .info-phone{ margin-left: 10px; }
  .info-phone{ margin-bottom: 30px; }
  .info-text + .info-title{ margin-top: 30px; }
  .license-row{ padding: 30px 0; }

  /* Footer */
  .footer-inner{ width: 80%; }
  .social{ float: none; margin-bottom: 5px; text-align: center; }
  .footer-info{ float: none; text-align: center; }
}

/* =====================================================================
   Phone (<=767)
   ===================================================================== */
@media (max-width: 767px){
  .hero{
    height: 86vh;
    padding-top: 0;
    background-image:
      linear-gradient(167deg, rgba(18, 71, 140, .08) 0%, rgba(41, 196, 169, 0) 99%),
      url("images/electrician-working-on-electrical-panel-1024.webp");
  }
  .hero-row{
    max-width: 100vw;
    padding: 20vh 10vw;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, .71) 70%, rgba(255, 255, 255, 0) 100%);
  }
  .hero-eyebrow{ font-size: clamp(18px, 4vw, 28px); }
  .hero h1{ font-size: clamp(28px, 8vw, 48px); }

  .values-row{ grid-template-columns: 1fr; padding: 8px 0; }
  .value-item,
  .value-item:first-child,
  .value-item:last-child{
    flex-direction: row;
    align-items: center;
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
  }
  .value-item:first-child{ border-top: 0; }

  .about{ padding: 22px 0 0; }
  .sec-title h2{ font-size: 26px; }

  .svc-desc h3{ font-size: 24px; }

  .reviews-row{ width: 90%; border-width: 10px; }
  .slide-desc{ padding: 50px 15px 75px; }
  .slider-dots{ bottom: 5%; height: 14px; }

  .badges-row{ padding: 30px 55px; }
  .badge-col{ padding: 0 15px; }

  .info-col{ width: 100%; margin: 0 0 30px; }
  .info-col:last-child{ margin-bottom: 0; }
  .info-title{ font-size: 16px; line-height: 1.4em; }
  .info-text{ margin-right: 20px; }
  .info-col:last-child .info-title, .info-phone, .info-hours{ margin-left: 20px; }
  .license-row p{ margin-left: 20px; }
}
@media (max-width: 640px){
  .hero{
    background-image:
      linear-gradient(167deg, rgba(18, 71, 140, .08) 0%, rgba(41, 196, 169, 0) 99%),
      url("images/electrician-working-on-electrical-panel-640.webp");
  }
  .reviews{
    background-image:
      linear-gradient(180deg, rgba(10, 0, 0, .13) 0%, rgba(10, 0, 0, .13) 99%),
      url("images/electrician-tools-workbench-640.webp");
  }
  .contact{
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(22, 34, 106, .65) 62%),
      url("images/electrical-wiring-lighting-fixture-640.webp");
  }
}
@media (max-width: 650px){
  body{ padding-bottom: 60px; }
  .call-bar{
    position: fixed;
    left: 0; bottom: 0;
    z-index: 2147483647;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    background-color: var(--navy);
    text-align: center;
  }
  .call-bar a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
  }
  .call-bar .ico{
    width: 30px; height: 30px;
    margin-right: 10px;
    position: relative; top: 3px;
  }
}

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

/* Nearby-city grid under the map on service area pages: one uniform style (these are names, not headings). */
.compact .prose .city-name{ padding-bottom: 10px; }
.city-name{ font-family: var(--lato); font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--ink); text-align: center; padding-bottom: 10px; }
.city-link{ display: block; color: inherit; text-decoration: none; }
.city-link:hover, .city-link:focus-visible{ color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
