@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Caveat:wght@700&family=Barlow+Condensed:wght@800&family=Manrope:wght@400;800&display=swap');

body.electrical-inner-page{padding-top:0!important}
.eh-wrap{width:min(1240px,calc(100% - 96px));margin-inline:auto;box-sizing:border-box}
.eh-utility{background:#ffcf18;color:#082b46;font:800 10px/1.6 'DM Sans',Arial,sans-serif;letter-spacing:.7px}
.eh-utility .eh-wrap{display:flex;justify-content:space-between;align-items:center;min-height:39px}
.eh-utility a{background:#fff;padding:7px 17px;border-radius:30px;color:#082b46;font-size:12px;letter-spacing:.1px;text-decoration:none}
.eh-utility a span{margin-left:14px}
body.electrical-inner-page header.eh-header{position:sticky!important;top:0!important;left:auto;right:auto;z-index:1200;display:block;margin:0;padding:0;width:100%;background:#082b46;color:white;border-bottom:1px solid #ffffff1f;box-shadow:none;font:700 13px/1.6 'DM Sans',Arial,sans-serif;transition:none}
.eh-header .eh-inner{min-height:94px;display:grid;grid-template-columns:190px minmax(0,1fr) 190px;align-items:center;gap:30px}
.eh-header .eh-brand{display:flex;align-items:center;flex-shrink:0;text-decoration:none}
.eh-header .eh-brand img{display:block;width:184px;max-width:100%;height:auto}
body.electrical-inner-page .eh-header .eh-nav{display:flex;position:static;align-items:center;justify-self:center;gap:28px;width:auto;max-width:none;margin:0;padding:0;background:transparent;border:0;box-shadow:none;text-transform:none;font:700 13px/22px 'DM Sans',Arial,sans-serif}
.eh-header .eh-nav>a,.eh-header .eh-services summary{position:relative;display:flex;align-items:center;min-height:46px;margin:0;padding:12px 0;border:0;color:#fff;text-decoration:none;white-space:nowrap;font:inherit;line-height:22px;transition:color .2s}
.eh-header .eh-nav>a:hover,.eh-header .eh-services summary:hover,.eh-header .eh-services[open] summary{color:#ffcf18}
.eh-header .eh-nav>a[aria-current]::after,.eh-header .eh-services[data-current] summary::after{content:'';position:absolute;left:0;right:0;bottom:3px;height:2px;border-radius:2px;background:#ffcf18}
.eh-header .eh-services{position:relative;margin:0;padding:0;border:0;background:none;color:white}
.eh-header .eh-services summary{list-style:none;cursor:pointer;gap:8px}
.eh-header .eh-services summary::-webkit-details-marker{display:none}
.eh-header .eh-services summary>span{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);margin-left:4px}
.eh-header .eh-services[open] summary>span{transform:translateY(2px) rotate(225deg)}
.eh-header .eh-dropdown{position:absolute;z-index:1300;top:calc(100% + 10px);left:-20px;width:265px;padding:9px;border:1px solid #dce7ee;border-radius:10px;background:#fff;color:#102e3a;box-shadow:0 16px 36px #031e3530;font-size:14px;font-weight:600}
.eh-header .eh-dropdown a{display:flex;align-items:center;justify-content:space-between;min-height:48px;gap:12px;padding:13px 14px;border-radius:4px;color:#102e3a;text-decoration:none;font:inherit;white-space:normal}
.eh-header .eh-dropdown a+a{border-top:1px solid #edf1f4}
.eh-header .eh-dropdown a:hover,.eh-header .eh-dropdown a[aria-current]{background:#edf6fb}
.eh-header .eh-quote{display:flex;align-items:center;justify-content:space-between;justify-self:end;gap:22px;padding:14px 20px;border:0;border-radius:5px;background:#ffcf18;color:#102e3a;text-decoration:none;white-space:nowrap;font:700 14px/22px 'DM Sans',Arial,sans-serif;transition:background .2s}
.eh-header .eh-quote:hover{background:#ffe270}
.eh-header .eh-quote span{font-size:21px;line-height:1}
.eh-header .eh-menu-toggle{display:none}
.eh-header a:focus-visible,.eh-header button:focus-visible,.eh-header summary:focus-visible{outline:3px solid #ffcf18;outline-offset:5px}
body.electrical-inner-page.suburb-page .hero-premium{margin-top:0;padding-top:60px}
@media(max-width:1100px){.eh-wrap{width:calc(100% - 56px)}.eh-header .eh-inner{grid-template-columns:190px minmax(0,1fr);gap:24px}.eh-header .eh-quote{display:none}body.electrical-inner-page .eh-header .eh-nav{justify-self:end;gap:22px;font-size:14px}}
@media(max-width:900px) and (min-width:761px){.eh-header .eh-brand img{width:165px}body.electrical-inner-page .eh-header .eh-nav{gap:18px;font-size:13px}}
@media(max-width:760px){
  .eh-wrap{width:calc(100% - 40px)}
  .eh-utility .eh-wrap{justify-content:center;min-height:38px}
  .eh-utility .eh-wrap>span{display:none}
  .eh-utility a{background:none;padding:6px;font-size:12px}
  .eh-header .eh-inner{display:flex;justify-content:space-between;min-height:80px;gap:20px}
  .eh-header .eh-brand img{width:165px}
  .eh-header .eh-menu-toggle{display:flex;align-items:center;gap:14px;padding:10px 12px;border:1px solid #ffffff50;border-radius:4px;background:transparent;color:white;font:600 12px/1.6 'DM Sans',Arial,sans-serif;cursor:pointer}
  body.electrical-inner-page .eh-header .eh-nav{display:none;position:absolute;top:100%;left:0;right:0;z-index:1250;flex-direction:column;align-items:stretch;gap:4px;width:100%;max-height:calc(100vh - 118px);max-height:calc(100dvh - 118px);overflow-y:auto;overscroll-behavior:contain;padding:18px 24px 28px;background:#082b46;color:white;border-bottom:1px solid #ffffff30;box-shadow:0 20px 30px #102e3a30;font-size:15px}
  body.electrical-inner-page .eh-header .eh-nav.is-open{display:flex}
  .eh-header .eh-nav>a,.eh-header .eh-services summary{padding:13px 0}
  .eh-header .eh-services summary{justify-content:space-between}
  .eh-header .eh-nav>a[aria-current]::after,.eh-header .eh-services[data-current] summary::after{display:none}
  .eh-header .eh-nav>a[aria-current],.eh-header .eh-services[data-current] summary{color:#ffcf18}
  .eh-header .eh-dropdown{position:static;width:100%;margin:4px 0 10px;background:#123d5a;color:white;border-color:#ffffff24;box-shadow:none}
  .eh-header .eh-dropdown a{color:white}
  .eh-header .eh-dropdown a+a{border-color:#ffffff18}
  .eh-header .eh-dropdown a:hover,.eh-header .eh-dropdown a[aria-current]{background:#ffffff12}
}
@media(prefers-reduced-motion:reduce){.eh-header *{transition:none}}

/* Menu in capitals at roughly the Electrical homepage size (dropdown items stay in sentence case). */
@media(min-width:761px){
  body.electrical-inner-page .eh-header .eh-nav{gap:24px;font-size:16.5px;letter-spacing:.03em;text-transform:uppercase}
  .eh-header .eh-dropdown a{text-transform:none;letter-spacing:0;font-size:14px}
}
@media(max-width:1250px) and (min-width:761px){body.electrical-inner-page .eh-header .eh-nav{gap:18px;font-size:15px}}
@media(max-width:1100px) and (min-width:761px){body.electrical-inner-page .eh-header .eh-nav{gap:16px;font-size:14.5px}}
@media(max-width:900px) and (min-width:761px){body.electrical-inner-page .eh-header .eh-nav{gap:11px;font-size:12.5px;letter-spacing:.01em}}
@media(max-width:760px){body.electrical-inner-page .eh-header .eh-nav>a,body.electrical-inner-page .eh-header .eh-services summary{text-transform:uppercase;letter-spacing:.03em}}

/* Orange banner with the folded "Go to Hometown Services" corner, matching the Electrical homepage. */
.eh-utility{position:relative;overflow:hidden;background:linear-gradient(90deg,#ff6b35,#f7931e);color:#fff;font-size:11px;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.eh-utility .eh-wrap{justify-content:center;gap:18px;padding-right:300px}
.eh-utility .eh-wrap>a{color:#0d2e4c;text-shadow:none}
.eh-utility .eh-services-corner{--fold:58px;position:absolute;background:none;border-radius:0;letter-spacing:0;font-size:inherit;top:0;right:0;bottom:0;z-index:2;display:flex;align-items:center;gap:9px;padding:0 calc(var(--fold) + 12px) 0 14px;color:#0d2e4c;text-decoration:none;text-shadow:none}
.eh-services-corner::after{content:'';position:absolute;top:0;right:0;bottom:0;width:calc(var(--fold) + 7px);background:url('images/services-corner-fold.svg') right top/100% 100% no-repeat;pointer-events:none}
.eh-utility .eh-services-corner-label{margin:0;font:700 clamp(21px,1.7vw,25px)/1 Caveat,'Segoe Print',cursive;letter-spacing:0;white-space:nowrap;transform:rotate(-2deg)}
.eh-services-corner:hover .eh-services-corner-label,.eh-services-corner:focus-visible .eh-services-corner-label{text-decoration:underline;text-underline-offset:3px}
.eh-services-corner:focus-visible{outline:2px solid #0d2e4c;outline-offset:-4px}
@media(max-width:1000px) and (min-width:761px){.eh-utility .eh-wrap>span{display:none}}
@media(max-width:760px){
  .eh-utility{display:flex;flex-direction:column}
  .eh-utility .eh-services-corner{--fold:38px;position:relative;justify-content:flex-end;height:38px}
  .eh-utility .eh-services-corner-label{font-size:22px}
  .eh-utility .eh-wrap{padding-right:0;min-height:34px}
  .eh-utility .eh-wrap>a{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.25)}
}

/* Services menu: two columns with a line icon per item, like the Hometown Plumbing menu. */
@media(min-width:761px){
  .eh-header .eh-dropdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,auto);grid-auto-flow:column;gap:2px 8px;width:min(540px,calc(100vw - 40px));padding:12px}
  .eh-header .eh-dropdown a{justify-content:flex-start;min-height:44px;padding:8px 12px;border-radius:8px;font-weight:700;line-height:1.25}
  .eh-header .eh-dropdown a+a{border-top:0}
}
.eh-header .eh-dropdown a{justify-content:flex-start}
.eh-menu-icon{flex:0 0 24px;width:24px;height:24px;color:#c48f00;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.eh-header .eh-dropdown a:hover .eh-menu-icon,.eh-header .eh-dropdown a[aria-current] .eh-menu-icon{color:#082b46}
@media(max-width:760px){.eh-menu-icon{color:#ffcf18}.eh-header .eh-dropdown a:hover .eh-menu-icon,.eh-header .eh-dropdown a[aria-current] .eh-menu-icon{color:#ffcf18}}

/* Phones: one banner row, with "Call now" on the left and the Hometown Services corner on the right. */
@media(max-width:760px){
  .eh-utility{flex-direction:row;align-items:stretch}
  .eh-utility .eh-wrap{order:-1;flex:1 1 auto;width:auto;min-width:0;min-height:38px;margin:0;padding:0 0 0 12px;justify-content:flex-start}
  .eh-utility .eh-wrap>a{padding:6px 0;font-size:12px;letter-spacing:0;white-space:nowrap}
  .eh-utility .eh-wrap>a span{margin-left:6px}
  .eh-utility .eh-services-corner{flex:0 0 auto;gap:6px;padding:0 calc(var(--fold) + 6px) 0 8px}
  .eh-utility .eh-services-corner-label{font-size:clamp(15px,4.6vw,20px)}
  .eh-utility .eh-services-corner svg{width:24px;height:18px}
}
/* Narrow phones: drop the two small arrows so the call link and corner fit side by side. */
@media(max-width:440px){
  .eh-utility .eh-wrap{padding-left:10px}
  .eh-utility .eh-wrap>a{font-size:11.5px}
  .eh-utility .eh-wrap>a span,.eh-utility .eh-services-corner svg{display:none}
  .eh-utility .eh-services-corner{padding-left:6px}
  .eh-utility .eh-services-corner-label{font-size:clamp(14px,4.5vw,18px)}
}
@media(max-width:340px){.eh-utility .eh-wrap{padding-left:8px}.eh-utility .eh-wrap>a{font-size:10.5px}.eh-utility .eh-services-corner-label{font-size:13.5px}}

/* Logo lockup like Hometown Plumbing's: bolt mark, HOMETOWN, then ELECTRICAL (yellow) · PLUMBING
   (white, smaller) and AIR CONDITIONING (red) underneath. Used on every Electrical page. */
.eh-header:has(.eh-lockup) .eh-inner{grid-template-columns:350px minmax(0,1fr) 170px;min-height:124px}
.eh-header .eh-lockup{gap:5px;color:#fff}
.eh-header .eh-lockup img{width:92px;height:auto}
.eh-header .eh-lockup>span{display:block;font:800 clamp(44px,3.7vw,53px)/1 'Barlow Condensed','Arial Narrow',sans-serif;letter-spacing:.01em;color:#fff}
.eh-header .eh-lockup small{display:block;margin-top:3px;font:400 12px/1.35 Manrope,Arial,sans-serif;letter-spacing:.07em;text-align:center;white-space:nowrap;color:#fff}
.eh-header .eh-lockup-primary{color:#ffcf18;font-size:1.3em;font-weight:800}
.eh-header .eh-lockup-air{display:block;color:#ff6a5c;font-size:1.3em;font-weight:800}
@media(max-width:1250px){.eh-header:has(.eh-lockup) .eh-inner{grid-template-columns:310px minmax(0,1fr) 160px}.eh-header .eh-lockup img{width:78px}.eh-header .eh-lockup>span{font-size:43px}.eh-header .eh-lockup small{font-size:10.5px}}
@media(max-width:1100px){.eh-header:has(.eh-lockup) .eh-inner{grid-template-columns:290px minmax(0,1fr)}.eh-header .eh-lockup img{width:70px}.eh-header .eh-lockup>span{font-size:39px}.eh-header .eh-lockup small{font-size:9.5px}}
@media(max-width:900px) and (min-width:761px){.eh-header .eh-lockup img{width:62px}.eh-header .eh-lockup>span{font-size:35px}.eh-header .eh-lockup small{font-size:8.5px}.eh-header:has(.eh-lockup) .eh-inner{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:760px){.eh-header:has(.eh-lockup) .eh-inner{min-height:100px}.eh-header .eh-lockup{gap:4px}.eh-header .eh-lockup img{width:clamp(58px,17vw,70px)}.eh-header .eh-lockup>span{font-size:clamp(31px,9.2vw,39px)}.eh-header .eh-lockup small{font-size:clamp(8.5px,2.45vw,10px);letter-spacing:.05em}}

/* The same logo lockup in the footer (older footers force their logo image, so override that). */
.eh-lockup-footer{display:inline-flex;align-items:center;gap:5px;color:#fff;text-decoration:none}
.eh-lockup-footer img,.footer-logo .eh-lockup-footer img{content:normal;width:72px;max-width:none;height:auto}
.eh-lockup-footer>span{display:block;color:#fff;font:800 42px/1 'Barlow Condensed','Arial Narrow',sans-serif;letter-spacing:.01em}
.eh-lockup-footer small{display:block;margin-top:3px;color:#fff;font:400 10px/1.35 Manrope,Arial,sans-serif;letter-spacing:.07em;text-align:center;white-space:nowrap}
.eh-lockup-footer .eh-lockup-primary{color:#ffcf18;font-size:1.3em;font-weight:800}
.eh-lockup-footer .eh-lockup-air{display:block;color:#ff6a5c;font-size:1.3em;font-weight:800}
/* Service Areas footer: keep the shared areas styles from resizing the lockup. */
.ha-footer-lockup .eh-lockup-footer img{width:64px;height:auto;object-fit:contain}
.ha-footer-lockup .eh-lockup-footer small{color:#fff;margin-top:3px;font:400 10px/1.35 Manrope,Arial,sans-serif;letter-spacing:.07em}
.ha-footer-lockup .eh-lockup-footer>span{font:800 38px/1 'Barlow Condensed','Arial Narrow',sans-serif;letter-spacing:.01em}

/* Menu says "Air Conditioning" in full, so the quote button is a little smaller to make room. */
@media(min-width:1101px){
  .eh-header:has(.eh-lockup) .eh-inner{grid-template-columns:350px minmax(0,1fr) auto;gap:24px}
  .eh-header .eh-quote{gap:10px;padding:10px 14px;font-size:13px;line-height:20px}
  .eh-header .eh-quote span{font-size:17px}
}
@media(min-width:1101px) and (max-width:1250px){.eh-header:has(.eh-lockup) .eh-inner{grid-template-columns:310px minmax(0,1fr) auto;gap:18px}}
@media(min-width:1101px) and (max-width:1200px){
  .eh-header:has(.eh-lockup) .eh-inner{grid-template-columns:300px minmax(0,1fr)}
  .eh-header .eh-quote{display:none}
  body.electrical-inner-page .eh-header .eh-nav{justify-self:end}
}
