
#quote{scroll-margin-top:12px}
.field textarea{min-height:96px;width:100%;box-sizing:border-box;border:1px solid #C3CBD1;border-radius:4px;padding:12px 14px;font-family:'Barlow',sans-serif;font-size:16px;color:#26323B;resize:vertical;background:#ffffff}
.field .opt{font-weight:400;color:#55626C}
@media (min-width:961px){.wrap:has(.val-grid){align-items:center !important}.rel{overflow:clip}.wrap:has(> .faq) > :not(.faq){position:sticky;top:24px;align-self:flex-start}}
/* compact footer (all sizes) */
footer.foot{padding:44px 0 22px !important;font-size:14px !important}
.foot-grid{grid-template-columns:1.5fr 1.1fr 0.9fr 0.8fr 1.4fr !important;gap:28px !important;margin-bottom:26px !important}
.foot-grid .h{margin-bottom:10px !important;font-size:15px}
.foot-grid div[style*="flex-direction:column"]{gap:5px !important}
.foot-grid > div:nth-child(1) img{height:34px !important;margin-bottom:12px !important}
.foot-grid > div:nth-child(1) p{font-size:13.5px;line-height:1.5;max-width:240px}
.foot-grid img[alt^="NAPIT"]{height:44px !important}
.foot-grid img[alt^="OZEV"]{height:28px !important}
.foot-grid div[style*="margin-top:22px"]{margin-top:14px !important;gap:14px !important}
.foot p[style*="font-size:12px"]{font-size:11px !important;margin-bottom:14px !important;line-height:1.5 !important;max-width:none !important}
.foot div[style*="padding-top:24px"]{padding-top:14px !important;font-size:13px !important}
.btn{line-height:1.2;text-align:center;justify-content:center;padding-top:11px;padding-bottom:11px}
@media (max-width:640px){
/* section spacing */
section[style*="padding:104px 0"],section[style*="padding:96px 0"],section[style*="padding:104px 0 88px"],section[style*="padding:104px 0 96px"]{padding-top:52px !important;padding-bottom:52px !important}
section[style*="padding:0 0 104px"]{padding-bottom:52px !important}
section[style*="padding:104px 0 0"]{padding-top:52px !important}
section[style*="padding:32px 0 104px"]{padding:20px 0 52px !important}
section[style*="padding:72px 0 104px"]{padding:40px 0 52px !important}
section[style*="padding:72px 0"]{padding-top:40px !important;padding-bottom:40px !important}
section[style*="padding:40px 0 96px"],section[style*="padding:40px 0 100px"],section[style*="padding:40px 0 80px"],section[style*="padding:88px 0 96px"]{padding-top:24px !important;padding-bottom:44px !important}
nav[aria-label="Breadcrumb"]{margin-bottom:18px !important}
/* headings & intro text */
h2.h[style*="font-size:42px"],h2.h[style*="font-size:40px"],h2.h[style*="font-size:38px"],h2.h[style*="font-size:36px"]{font-size:28px !important;margin-bottom:10px !important}
h2.h[style*="font-size:34px"]{font-size:25px !important}
h3.h[style*="font-size:30px"],h3.h[style*="font-size:28px"]{font-size:23px !important}
p[style*="font-size:20px"]{font-size:16.5px !important;margin-bottom:20px !important}
p[style*="font-size:18px"]{font-size:16px !important}
p[style*="margin:0 0 40px"],p[style*="margin:0 0 36px"]{margin-bottom:24px !important}
div[style*="margin:0 auto 60px"],div[style*="margin:0 auto 52px"],div[style*="margin:0 auto 48px"],div[style*="margin:0 auto 44px"],div[style*="margin-bottom:44px"],div[style*="margin-bottom:40px"],div[style*="margin-bottom:56px"]{margin-bottom:24px !important}
.wrap[style*="gap:64px"],.wrap[style*="gap:56px"],div[style*="gap:56px"]{gap:28px !important}
/* hero */
div[style*="max-width:520px;font-size:16px;margin-bottom:36px"]{gap:8px 14px !important;margin-bottom:20px !important;font-size:14px !important}
div[style*="max-width:520px;font-size:16px;margin-bottom:36px"] svg{width:15px;height:15px}
form#quote{padding:20px !important}
form#quote .field input,form#quote .field select{height:42px}
form#quote > div[style*="grid-template-columns"]{gap:10px !important}
/* big photos */
.pic[style*="height:600px"]{height:240px !important}
.pic[style*="height:520px"]{height:260px !important}
.pic[style*="min-height:420px"],.pic[style*="min-height:560px"]{min-height:220px !important}
.pic[style*="min-height:300px"]{min-height:190px !important}
.pic[style*="height:360px"]{height:220px !important}
div[style*="padding:0 32px 32px 0"],div[style*="padding:0 0 28px 28px"]{padding:0 !important}
div[style*="position:absolute;right:0;bottom:0;width:260px"]{position:relative !important;width:auto !important;margin:-36px 14px 0;padding:18px !important}
div[style*="position:absolute;left:0;bottom:0;background:#FF850A"]{position:relative !important;margin:-30px 14px 0;max-width:none !important}
/* benefit lists */
.ben-grid{gap:16px !important}
.ben{flex-direction:row !important;gap:14px !important;align-items:flex-start !important}
.ben > div{flex:1;min-width:0}
.ben-ic{width:40px !important;height:40px !important;border-radius:10px !important;box-shadow:0 4px 10px rgba(255,133,10,0.22) !important;flex:none}
.ben-ic svg{width:20px;height:20px}
.ben-t{font-size:17px !important;line-height:1.2 !important;white-space:normal !important;margin:10px 0 3px !important}
.ben-p{min-height:0 !important;font-size:14.5px !important;line-height:1.45 !important}
/* process steps -> compact list */
.st-row,.st-row[style]{grid-template-columns:1fr !important;row-gap:14px !important}
.st{display:grid !important;grid-template-columns:44px 1fr;column-gap:14px;text-align:left !important;align-items:start}
.st-n{width:44px !important;height:44px !important;margin:0 !important;grid-row:1 / span 3;box-shadow:none !important}
.st-n svg{width:20px;height:20px}
.st-k{margin:0 !important;font-size:11px !important}
.st h3{font-size:17px !important;margin:0 0 2px !important}
.st p{font-size:14px !important}
.st-line{display:none}
/* card rows -> swipeable carousels */
div[style*="minmax(280px,1fr)"],div[style*="minmax(320px,1fr)"],.rv-grid{display:flex !important;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px !important;margin-left:-16px;margin-right:-16px;padding:0 16px 10px;-webkit-overflow-scrolling:touch}
div[style*="minmax(280px,1fr)"] > *,div[style*="minmax(320px,1fr)"] > *,.rv-grid > *{flex:0 0 80%;scroll-snap-align:start;min-width:0}
div[style*="minmax(280px,1fr)"] .pic[style*="height:240px"],div[style*="minmax(320px,1fr)"] .pic[style*="height:240px"],div[style*="minmax(280px,1fr)"] .pic[style*="height:260px"]{height:180px !important}
div[style*="minmax(320px,1fr)"] div[style*="padding:32px"]{padding:20px !important}
/* homepage service tiles */
.svc{min-height:200px !important;padding:20px !important}
div[style*="minmax(260px,1fr)"]{grid-template-columns:1fr 1fr !important;gap:10px !important}
div[style*="minmax(260px,1fr)"] .svc{min-height:170px !important;padding:14px !important}
div[style*="minmax(260px,1fr)"] .svc-p{display:none}
div[style*="minmax(260px,1fr)"] .svc-t{font-size:16px !important}
/* projects page */
.pj-grid{grid-template-columns:1fr 1fr !important;gap:18px 12px !important}
.pj-img{height:130px !important}
.pj p{display:none}
.pj h3{font-size:15px !important;margin:10px 0 0 !important;line-height:1.25}
.pj-tag{font-size:9.5px !important;padding:3px 6px !important;left:8px !important;top:8px !important}
/* panels & blocks */
div[style*="padding:40px 44px"]{padding:24px 20px !important}
div[style*="padding:48px;box-sizing:border-box"]{padding:24px 20px !important}
div[style*="padding:44px"]{padding:22px !important}
div[style*="padding:34px 36px"],div[style*="padding:30px 36px 34px"]{padding:22px !important}
.pl{padding:24px 20px !important}
.pl ul{margin:14px 0 18px !important;padding-top:14px !important}
.pl-big{font-size:34px !important}
.grp ul{padding:4px 18px 10px !important}
.grp li a{padding:10px 0 !important;font-size:15px !important}
.grp-h{padding:18px !important}
.faq summary{font-size:16px !important;padding:15px 0 !important}
.sg-grid,.cd-grid,.acc-grid{gap:10px !important}
.acc-logo{height:84px !important}
.vs-list{gap:10px !important}
.vs-list li{font-size:14.5px}
.sec{min-height:120px !important}
.aud{padding-top:200px !important;background-size:100% 210px,100% 210px !important}
.spd .pic{height:180px !important}
.rp-row{padding:12px 16px !important}
/* round 2 */
.hero-slides{height:230px !important}
div[style*="minmax(300px,1fr)"],.pl-grid,.day{display:flex !important;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px !important;margin-left:-16px;margin-right:-16px;padding:0 16px 10px;border-radius:0 !important;box-shadow:none !important}
div[style*="minmax(300px,1fr)"] > *,.pl-grid > *,.day > *{flex:0 0 80%;scroll-snap-align:start;min-width:0}
div[style*="minmax(300px,1fr)"] .pic[style*="height:220px"]{height:170px !important}
.pl-hot{transform:none !important}
.day-p{min-height:0 !important;padding:22px 20px !important;border-radius:12px}
.day-arrow{display:none !important}
.day-ic{width:46px !important;height:46px !important;margin-bottom:12px !important}
.way .pic,.way img.pic{height:170px !important}
.prod-img{height:150px !important}
.prod h3,.prod .h{white-space:normal !important}
div[style*="minmax(230px,1fr)"]{grid-template-columns:1fr 1fr !important;gap:18px 14px !important}
div[style*="minmax(210px,1fr)"]{grid-template-columns:1fr 1fr !important;gap:10px !important}
.use{min-height:150px !important;padding:14px !important}
.use-t{font-size:16px !important}.use-s{display:none}
.tl{grid-template-columns:1fr !important;gap:14px !important}
.tl-line{display:none}
.tl-step{display:grid !important;grid-template-columns:64px 1fr;column-gap:14px;text-align:left !important;padding:0 !important;align-items:start}
.tl-ic{width:58px !important;height:58px !important;margin:0 !important;grid-row:1 / span 3;border-width:3px !important}
.tl-ic svg{width:24px;height:24px}
.tl-n{width:22px !important;height:22px !important;font-size:11px !important;top:-4px !important;right:-4px !important}
.foot-grid > div:nth-child(2),.foot-grid > div:nth-child(3),.foot-grid > div:nth-child(4){display:none !important}
.foot-grid > div:nth-child(5){padding-top:0 !important;border-top:0 !important}
.foot-grid > div:nth-child(5) div[style*="flex-direction:column"] > span:last-child{grid-column:1 / -1}
aside div[style*="background:#00121F"]{display:none}
.grp-grid{display:flex !important;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px !important;margin-left:-16px;margin-right:-16px;padding:0 16px 10px}
.grp-grid > *{flex:0 0 82%;scroll-snap-align:start;min-width:0}
.pic[style*="height:620px"],.pic[style*="height:460px"]{height:240px !important}
.pic[style*="min-height:420px"]{min-height:200px !important;height:200px}
.pic[style*="min-height:560px"]{min-height:220px !important;height:220px}
.sg-t{margin-top:9px !important}
.mini-ic{width:40px !important;height:40px !important}
.mini h3{margin-top:9px !important}
.mini-grid{gap:16px !important}
/*R2END*/
header .btn{white-space:nowrap !important;padding:10px 14px !important;font-size:14px !important}
div[style*="max-width:480px;font-size:16px"]{gap:8px 14px !important;margin-bottom:22px !important;font-size:14.5px !important}
div[style*="padding:88px 64px"]{padding:36px 20px !important}
.btn{white-space:normal}
a.btn,button.btn{max-width:100%}
div[style*="display:flex;gap:28px;flex-wrap:wrap"]{gap:10px 18px !important;margin-top:18px !important;font-size:14px !important}
span[style*="display:flex;gap:10px;align-items:center"],span[style*="display:flex;align-items:center;gap:8px"]{align-items:flex-start !important;line-height:1.35}
span[style*="display:flex;gap:10px;align-items:center"] > svg,span[style*="display:flex;align-items:center;gap:8px"] > svg{flex:none;margin-top:1px}
div[style*="padding:0 0 40px 40px"]{padding:0 !important}
div[style*="padding:0 0 40px 40px"] > div[style*="position:absolute"]{display:none !important}
div[style*="padding:0 0 40px 40px"] .pic[style*="height:460px"]{height:200px !important}
/* lone last item in a 2-column row -> centred */
div[style*="minmax(210px,1fr)"] > *:last-child:nth-child(odd),div[style*="minmax(230px,1fr)"] > *:last-child:nth-child(odd),div[style*="minmax(260px,1fr)"] > *:last-child:nth-child(odd),.pj-grid > *:last-child:nth-child(odd),div[style*="display:flex;gap:36px;flex-wrap:wrap"] > *:last-child:nth-child(odd){grid-column:1 / -1;justify-self:center;width:calc(50% - 7px);box-sizing:border-box}
div[style*="display:flex;gap:36px;flex-wrap:wrap"]{display:grid !important;grid-template-columns:1fr 1fr;gap:22px 14px !important}
.stat .h{font-size:34px !important}
.areas{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px !important}
.areas li{font-size:15px}
.btn{white-space:nowrap !important;font-size:15px !important;padding-left:18px !important;padding-right:18px !important}
header img[alt="PES Electrical Services"]{height:32px !important}
header .btn{padding:10px 12px !important}
header .wrap,header > div{gap:10px !important}
footer.foot{padding:30px 0 88px !important}
.foot-grid{grid-template-columns:1fr !important;gap:16px !important;margin-bottom:16px !important}
.foot-grid > div:nth-child(1) p{display:none}
.foot-grid > div:nth-child(1) img{height:30px !important;margin-bottom:0 !important}
.foot-grid > div:nth-child(5) .h{display:none}
.foot-grid > div:nth-child(5) div[style*="flex-direction:column"]{display:grid !important;grid-template-columns:1fr 1fr;gap:6px 12px !important;font-size:13.5px}
.foot-grid img[alt^="NAPIT"]{height:38px !important}
.foot-grid img[alt^="OZEV"]{height:24px !important}
.foot div[style*="padding-top:24px"]{font-size:12.5px !important}
/* conversion: mobile hero puts the quote form straight after the intro + ticks */
div:has(> form#quote){flex-direction:column !important;align-items:stretch !important;gap:0 !important}
div:has(> form#quote) > div:first-child{display:contents}
div:has(> form#quote) > form#quote{order:2;margin-top:4px;max-width:none !important}
div:has(> form#quote) > div:first-child > div:last-child{order:3;margin-top:24px !important}
h1.h{font-size:32px !important;line-height:1.1 !important;margin-bottom:16px !important}
div[style*="background:#000B14"]:has(.topbar-extra){display:none !important}
form#quote p a[href^="tel:"]{display:inline-block;padding:10px 4px;margin:-10px 0}
.foot a{display:inline-block;padding:7px 0}
nav[aria-label="Breadcrumb"] a{display:inline-block;padding:8px 0}
/*R3END*/
}

