:root{--ink:#0d2028;--muted:#48606a;--navy:#102934;--paper:#f6faf9;--line:#cadae0;--lime:#d5fb53;--blue:#245471;--sea:#d7e9ec;--white:#fff}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.64 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit}a:hover{text-decoration-thickness:2px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #1c76ab;outline-offset:5px}h1,h2,h3,p,ul{margin:0}h1,h2,h3{letter-spacing:-.045em;line-height:1.06}h2{font-size:clamp(2rem,4.6vw,3.4rem);margin-bottom:1.2rem}h3{font-size:1.5rem;margin:.25rem 0 .65rem}p+p{margin-top:.85rem}.wrap{width:min(1180px,100% - 3.25rem);margin-inline:auto}.narrow{width:min(820px,100% - 3.25rem);margin-inline:auto}.skip{position:absolute;left:8px;top:-100px;background:white;padding:.6rem;z-index:100}.skip:focus{top:8px}
header{position:fixed;inset:0 0 auto;z-index:10;color:#fff;transition:background .2s,color .2s;background:linear-gradient(#0718219c,transparent)}header.scrolled{background:#fff;color:var(--ink);box-shadow:0 1px 10px #092e3917}.nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:1rem}.brand{font-weight:820;font-size:1.08rem;text-decoration:none;display:inline-flex;align-items:center;line-height:1.15;gap:.65rem;letter-spacing:-.035em}.brand svg{width:29px;flex:none;color:#aee028}.navlinks{display:flex;gap:1.6rem}.navlinks a{text-decoration:none;font-weight:650;font-size:.94rem}.navlinks a:hover{text-decoration:underline}.status{background:var(--lime);color:#142416;padding:.72em 1.05em;border-radius:5px;font-weight:800;display:inline-flex;text-align:center;align-items:center;gap:.55em;line-height:1.22}.status svg{width:18px;height:18px}.nav .status{visibility:hidden;white-space:nowrap;font-size:.86rem}.scrolled .status{visibility:visible}
.hero{min-height:100svh;display:grid;align-items:center;position:relative;isolation:isolate;background:#112c37;color:#fff}.hero:before{content:"";position:absolute;inset:0;z-index:-2;background:url('/assets/cascais-hero.webp') center 52%/cover}.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#04131bee 0%,#0b222ccc 28%,#09242e4f 70%,#0a223021 100%)}.hero-content{padding:7rem 0 6.2rem}.hero h1{max-width:900px;font-size:clamp(3.25rem,7vw,6.4rem);font-weight:820;line-height:.98;margin-bottom:1.35rem;text-wrap:balance}.hero p{max-width:610px;font-size:clamp(1.05rem,2vw,1.35rem);color:#f5fcff;margin-bottom:1.5rem;text-wrap:pretty}.hero .preview{display:block;font-size:.9rem;color:#e1eef3;margin-top:.75rem}.hero.sub{min-height:74svh}.hero.sub h1{font-size:clamp(2.65rem,6.5vw,5.2rem)}
.section{padding:clamp(3.4rem,8vw,6.3rem) 0}.lead{max-width:690px;color:var(--muted);font-size:1.13rem}.eyebrow{font-weight:800;text-transform:uppercase;letter-spacing:.115em;color:var(--blue);font-size:.86rem;margin-bottom:.75rem}.cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem;margin-top:2rem}.card{display:block;background:white;border:1px solid var(--line);padding:clamp(1.25rem,3vw,2.15rem);border-radius:9px;text-decoration:none}.card strong{display:inline-block;color:var(--blue);font-size:.92rem;margin-top:1rem;text-decoration:underline;text-underline-offset:.23em}.card:hover{border-color:var(--blue)}.card p,.copy p,.copy li{color:var(--muted)}.card svg{width:51px;height:51px;margin-bottom:.6rem;display:block}.card.compact h3{font-size:1.35rem}.tint{background:#e5f0f2}.split{display:grid;grid-template-columns:1fr 1.15fr;gap:3rem;align-items:start}.area{border-top:1px solid #a8bec5;padding:.9rem 0}.area b{display:block}.area span{color:var(--muted)}.crumb{padding:1rem 0;background:#edf5f5}.crumb ol{margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem .65rem;list-style:none;font-size:.87rem}.crumb li+li:before{content:"/";margin-right:.65rem;color:#57727f}.copy{border-top:1px solid var(--line);padding:1.45rem 0}.copy h2,.faq h2{font-size:clamp(1.7rem,4vw,2.5rem)}.copy a{text-underline-offset:.23em;font-weight:670}.faq{margin-top:2rem}.faq details{border-top:1px solid var(--line);padding:1rem 0}.faq summary{cursor:pointer;font-weight:760}.faq details p{padding-top:.5rem;color:var(--muted)}.last{background:var(--navy);color:#fff}.last p{color:#d7e9ed;max-width:55rem;margin-bottom:1.2rem}footer{background:#0a1d25;color:#d7e9ed;padding:1.5rem 0;font-size:.9rem}footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.7rem 1.8rem}.source{font-size:.9rem;margin-top:1.35rem}.source a{text-underline-offset:3px}
@media(max-width:730px){.wrap,.narrow{width:calc(100% - 2rem)}.nav{min-height:66px;gap:.5rem}.navlinks{display:none}.nav .status{font-size:.78rem}.hero:before{background-position:63% center}.hero:after{background:linear-gradient(90deg,#051b23ee,#05212ab8 58%,#0a24316b),linear-gradient(0deg,#081e24ad,transparent 64%)}.hero h1{max-width:11ch;text-wrap:initial}.hero.sub h1{max-width:17ch}.hero-content{padding:5.5rem 0 4.9rem}.hero.sub{min-height:68svh}.cols,.split{grid-template-columns:minmax(0,1fr);gap:1rem}.split>div+div{margin-top:.75rem}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Measured conversion layout: Algarve reference, adapted to Cascais imagery. */
:root{--ink:#14121a;--muted:#504e56;--navy:#14121a;--paper:#fbfaf7;--line:#dad7cf;--lime:#c2e619;--blue:#3b5104;--sea:#ecede2}
body{font-family:"DM Sans",system-ui,sans-serif}
header{background:transparent}
.nav{width:min(1400px,100%);padding:0 60px;min-height:81px;justify-content:flex-start}
.brand{color:inherit;font-size:1.11rem;letter-spacing:-.01em;text-transform:uppercase;white-space:nowrap;display:block;font-weight:400}
.brand b{font-weight:750}.brand .slash{font-style:italic;font-weight:900;color:var(--lime);margin-left:.25rem}.brand .slash i{color:#a8a8ab}
.navlinks{margin-left:auto;gap:clamp(1.2rem,4.4vw,4rem);align-items:center}.navlinks a{font-size:.91rem;font-weight:500}
.nav .status{margin-left:clamp(.5rem,3.3vw,3rem);visibility:visible;background:none;color:inherit;font-size:.9rem;padding:0;min-height:32px;gap:0}
.nav .status svg{display:none}.scrolled .nav .status{background:var(--lime);color:var(--ink);padding:.55rem .9rem;border-radius:0}.scrolled .brand .slash{color:#5e7000}
.hero{min-height:100svh;align-items:center;background:#1c1917}
.hero:before{background-image:url('/assets/cascais-street-desktop.webp');background-position:center}
.hero:after{background:linear-gradient(90deg,#0b0910b0 0%,#0a090c57 44%,#0e0b0b0d 100%)}
.hero-content{width:min(1400px,100%);margin:30px auto 0;padding:0 60px 0 120px}
.hero h1{font-size:clamp(3.15rem,4.45vw,4.25rem);font-weight:700;line-height:1.1;letter-spacing:-.02em;margin:0 0 28px;max-width:780px;text-wrap:initial}
.hero h1 em{color:var(--lime);font-size:1.12em;font-weight:750;line-height:1.05}
.hero p{font-size:clamp(1.16rem,1.56vw,1.35rem);line-height:1.55;margin:0 0 17px;color:white}
.hero .status{padding:19px 46px;min-height:62px;border-radius:0;position:relative;isolation:isolate;background:none;font-size:1.15rem;color:var(--ink);font-weight:650}
.hero .status:before{content:"";position:absolute;inset:0;background:var(--lime);transform:skewX(-10deg);z-index:-1;box-shadow:0 4px 13px #b3d21669}
.hero .status svg{display:none}.hero.sub{min-height:100svh}.hero.sub h1{font-size:clamp(2.95rem,4.45vw,4.25rem);max-width:900px}
.service-directory{background:#f8f7f2}.service-directory .cols{grid-template-columns:repeat(3,minmax(0,1fr))}
.service-directory .feature{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;}
.feature .card{background:#1d1b1f;color:white;min-height:240px;padding:1.7rem 1.9rem;border:0}.feature .card p{color:#e2dfe3}.feature .card strong{color:#d9ef70}.feature .card:hover{background:#312f31}
.card{border-radius:2px}.service-directory .card.compact{min-height:210px}.card svg{width:62px;height:62px}.eyebrow{color:#536701}
.talent{padding:0}.problem-band{background:#14121a;color:#fff}.problem-band .lead{color:#e1dfe4}.problem-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem 2.25rem;margin-top:1.55rem}.problem-grid article{border-top:1px solid #636264;padding-top:1.15rem}.problem-grid article a{color:#e3f789;text-underline-offset:3px}.problem-grid article p{color:#e1dfe4}
.copy a,.faq a{color:#3b5104}.quick-links{margin-top:1.5rem;display:flex;flex-wrap:wrap;gap:.6rem}.quick-links a{background:#fff;border:1px solid var(--line);text-decoration:none;padding:.58rem .85rem;font-weight:650}.quick-links a:hover{border-color:#586b2e}.crumb{background:#eeeecf}footer{background:#14121a}
@media(max-width:1000px){.nav{padding:0 32px}.navlinks{gap:1.25rem}.hero-content{padding-inline:70px 36px}}
@media(max-width:730px){.nav{padding-inline:1.1rem;min-height:66px;justify-content:space-between}.nav .status{margin:0;font-size:.78rem}.brand{font-size:.9rem}.hero,.hero.sub{align-items:center}.hero-content{width:100%;margin-top:-12px;padding-inline:1.55rem}.hero h1,.hero.sub h1{font-size:clamp(2.15rem,8.55vw,3.5rem);max-width:none;letter-spacing:-.04em;margin-bottom:1.2rem}.hero p{font-size:1.02rem;line-height:1.52}.hero .status{padding:14px 27px;min-height:51px;font-size:1rem}.hero:before{background-position:58% center}.hero:after{background:linear-gradient(90deg,#08080be0,#08080b5d 80%),linear-gradient(0deg,#08080b6e,transparent 70%)}.service-directory .cols,.service-directory .feature,.problem-grid{grid-template-columns:minmax(0,1fr)}.service-directory .card.compact,.feature .card{min-height:0}}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:400;font-display:swap;src:url('/assets/dm-sans-400.woff2') format('woff2')}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:500;font-display:swap;src:url('/assets/dm-sans-500.woff2') format('woff2')}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:600;font-display:swap;src:url('/assets/dm-sans-600.woff2') format('woff2')}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:700 900;font-display:swap;src:url('/assets/dm-sans-700.woff2') format('woff2')}
.mobile-menu{display:none}
@media(min-width:1025px){.hero h1,.hero.sub h1{font-size:3.8rem}.hero p{font-size:1.3rem}.hero-content{padding-left:120px}.hero h1 em{font-weight:800}}
@media(max-width:1024px){.navlinks{display:none}.nav{justify-content:space-between}.nav .status{margin-left:auto}.mobile-menu{display:block}.mobile-menu summary{cursor:pointer;list-style:none;display:grid;place-items:center;min-width:42px;min-height:44px;font-size:1.45rem}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu nav{position:absolute;left:0;right:0;top:100%;background:white;color:var(--ink);padding:.7rem 1.2rem;box-shadow:0 10px 20px #14121a28}.mobile-menu nav a{display:block;padding:.8rem .3rem;border-bottom:1px solid var(--line);font-weight:650;text-decoration:none}}
@media(max-width:767px){.hero,.hero.sub{align-items:end}.hero-content{margin:0 auto;padding:5rem 1.2rem 27vh;text-align:center}.hero h1,.hero.sub h1{font-size:clamp(2.05rem,9vw,2.5rem);font-weight:600;line-height:1.18;letter-spacing:-.025em;margin:0 auto 12px}.hero h1 em{font-weight:700}.hero p{margin:0 auto 14px;font-size:1rem;line-height:1.65;text-shadow:0 1px 6px #0008}.hero .status{font-size:1.05rem;min-height:56px;padding:16px 44px}.hero:after{background:linear-gradient(to top,#0a0a0ee6 0%,#0a0a0eb3 32%,#0a0a0e50 61%,#0a0a0e1b 100%)}.hero:before{background-position:57% center}.hero.sub .hero-content{padding-bottom:20vh}}
@media(max-width:767px) and (max-height:700px){.hero-content,.hero.sub .hero-content{padding-bottom:17vh}}
#services,#why-us,#coverage{scroll-margin-top:85px}
@media(max-width:360px){.nav{padding-inline:.65rem;gap:.3rem}.brand{font-size:.72rem}.nav .status{font-size:.68rem}.scrolled .nav .status{padding:.4rem .3rem}.mobile-menu summary{min-width:36px}}

.hero:before{background-position:center 62%}.hero:after{background:linear-gradient(90deg,#0b0910e0 0%,#0a090cb8 39%,#0a090c42 74%,#0e0b0b17 100%)}
@media(max-width:767px){.hero:before{background-image:url("/assets/cascais-street-mobile.webp");background-position:50% center}.hero:after{background:linear-gradient(to top,#0a0a0ef1 0%,#0a0a0ed9 34%,#0a0a0e77 62%,#0a0a0e42 100%)}}
.carousel{margin-top:.8rem}.rail-controls{display:none;gap:.55rem;justify-content:flex-end;align-items:center;margin:0 0 .9rem}.carousel[data-ready] .rail-controls{display:flex}.rail-note{margin-right:auto;color:var(--muted);font-size:.88rem;font-weight:660}.rail-controls button{border:1px solid var(--ink);border-radius:0;min-width:46px;min-height:46px;background:var(--ink);color:var(--lime);font:700 1.22rem/1 inherit;cursor:pointer}.rail-controls button:disabled{opacity:.32;cursor:default}.service-rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 2rem)/3);gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;padding:2px 2px .9rem;scrollbar-color:#61720d #e6e7d5;scrollbar-width:thin}.service-rail>.card{scroll-snap-align:start;padding:1rem 1rem 1.2rem;height:100%;display:flex;flex-direction:column}.service-rail .card .service-art{display:block;width:100%;height:auto;max-height:202px;margin:0 0 .85rem;object-fit:contain;flex:none}.service-rail .card strong{margin-top:auto;padding-top:.95rem}.service-rail .card h3{font-size:1.5rem;margin-bottom:.55rem}.service-rail .card p{font-size:.94rem}.service-rail .card:hover,.service-rail .card:focus-visible{border-color:#607607;outline-offset:-3px}
@media(max-width:930px){.service-rail{grid-auto-columns:calc((100% - 1.05rem)/2)}}
@media(max-width:620px){.service-rail{grid-auto-columns:min(86%,336px);gap:.72rem}.service-rail .card{padding:.8rem}.service-rail .card h3{font-size:1.34rem}}
.rail-controls button{font-family:inherit;font-size:1.25rem;font-weight:700;line-height:1}.service-rail .card{background:#fffefa;border-color:#d8d3c8}.service-rail .card .service-art{border-radius:5px}.service-rail .card:hover{background:#fff}
.service-rail .card .render-art{width:100%;height:auto;aspect-ratio:4/3;max-height:none;object-fit:cover;display:block;background:#e9e5de;border-radius:3px;border:1px solid #dedad2;margin:0 0 1rem;pointer-events:none}.service-rail .card{padding:1rem 1rem 1.35rem}.service-rail .card strong{color:#415500}
@media(max-width:620px){.service-rail .card{padding:.75rem .75rem 1rem}}
.service-rail .card .render-art{aspect-ratio:1;object-fit:contain}
@media(max-width:620px){.service-directory{padding-top:2rem}.service-directory .quick-links{gap:.4rem;margin-top:1rem}.service-directory .quick-links a{font-size:.87rem;padding:.43rem .55rem}.service-directory h2{margin-bottom:.8rem}.service-directory .rail-controls{margin-bottom:.65rem}}
.service-rail .card .render-art{aspect-ratio:7/5;object-fit:contain;background:#eeefe5;border-color:#d7dccb}
/* Exact colour values and roles from Algarve Electric's live design. */
:root{--periwinkle:#525C9C;--periwinkle-soft:#8B93C6;--periwinkle-2:#7C8CE0;--lime:#C2E619;--lime-dim:#a3c214;--paper:#EEF0FB;--paper-2:#F4F4FA;--ink:#14121A;--ink-soft:#55525E;--quiet:#86828E;--line:rgba(20,18,26,.10);--dark:#0B0A10;--navy:var(--dark);--muted:var(--ink-soft);--blue:var(--periwinkle);--sea:var(--paper-2)}
body,.service-directory,#why-us{background:var(--paper);color:var(--ink)}
.tint,#coverage,.crumb{background:var(--paper-2)}
::selection{background:var(--periwinkle);color:white}
a:focus-visible,button:focus-visible,summary:focus-visible,.service-rail:focus-visible{outline-color:var(--periwinkle)}
.brand .slash i,.scrolled .brand .slash i{color:var(--periwinkle-2)}.scrolled .brand .slash{color:var(--lime-dim)}
.eyebrow,.copy a,.faq a,.source a,.quick-links a{color:var(--periwinkle)}
.area{border-color:var(--line)}.quick-links a:hover{border-color:var(--periwinkle)}
.service-rail .card{background:var(--dark);color:var(--paper);border-color:var(--dark)}
.service-rail .card:hover{background:var(--dark);border-color:var(--periwinkle-2)}
.service-rail .card p{color:var(--paper-2)}.service-rail .card strong{color:var(--lime)}
.service-rail .card .render-art{background:var(--paper);border-color:var(--periwinkle-soft)}
.service-rail{scrollbar-color:var(--periwinkle) var(--paper-2)}
.rail-controls button{background:var(--paper);border-color:var(--line);color:var(--periwinkle)}
.rail-controls button:hover:not(:disabled){background:var(--periwinkle-soft);border-color:var(--periwinkle);color:var(--ink)}
.problem-band,.last{background:var(--dark);color:var(--paper)}.problem-band .lead,.problem-grid article p,.last p{color:var(--paper-2)}
.problem-grid article{border-color:var(--periwinkle)}.problem-grid article a{color:var(--periwinkle-soft)}
.crumb li+li:before{color:var(--periwinkle)}
footer{background:var(--paper);color:var(--ink);border-top:1px solid var(--line)}footer a{color:var(--periwinkle)}
.hero:before{background-image:url('/assets/electrical-hero-desktop.webp');background-position:59% center}
.hero:after{background:linear-gradient(90deg,#0b0a10ed 0%,#0b0a10d9 27%,#0b0a106b 57%,#0b0a100d 100%)}
.coverage-photo{margin:1.25rem 0 0}.coverage-photo img{display:block;width:100%;height:clamp(11rem,22vw,15rem);object-fit:cover;object-position:50% 65%}.coverage-photo figcaption{font-size:.9rem;color:var(--ink-soft);padding-top:.45rem}
@media(max-width:767px){.hero:before{background-image:url('/assets/electrical-hero-mobile.webp');background-position:center center}.hero:after{background:linear-gradient(to top,#0b0a10f0 0%,#0b0a10ce 40%,#0b0a106d 66%,#0b0a1024 100%)}}
.hero:after{background:linear-gradient(180deg,#0b0a10b3 0%,#0b0a1000 148px),linear-gradient(90deg,#0b0a10ed 0%,#0b0a10d9 27%,#0b0a106b 57%,#0b0a100d 100%)}
@media(max-width:767px){.hero:after{background:linear-gradient(180deg,#0b0a10bf 0%,#0b0a1000 135px),linear-gradient(to top,#0b0a10f0 0%,#0b0a10ce 40%,#0b0a106d 66%,#0b0a1024 100%)}}
/* Keep the conversion block comfortably above the fold on every route. */
.hero .hero-content,.hero.sub .hero-content{margin-top:0;position:relative;top:clamp(-74px,-6svh,-26px)}
.hero p span{display:block}.hero p{line-height:1.48}
@media(max-width:767px){.hero,.hero.sub{align-items:center}.hero .hero-content,.hero.sub .hero-content{padding:4.5rem 1.2rem 0;top:clamp(-92px,-10svh,-44px)}.hero p{line-height:1.48}}
@media(max-width:360px){.hero .hero-content,.hero.sub .hero-content{padding-inline:.85rem}.hero p{font-size:1rem}}
@media(max-height:510px) and (orientation:landscape){.hero .hero-content,.hero.sub .hero-content{top:0;padding-top:5rem;padding-bottom:1.1rem}.hero h1,.hero.sub h1{font-size:2.2rem}}
/* Let the panel read as the setting, not compete with the conversions. */
.hero:before{filter:saturate(.62) brightness(.88);background-position:61% center}
.hero:after{background:
 linear-gradient(180deg,#0b0a10b8 0%,#0b0a1045 17%,#0b0a1000 37%),
 linear-gradient(90deg,#0b0a10ed 0%,#0b0a10dc 24%,#0b0a10a8 46%,#0b0a1045 69%,#0b0a100a 100%)}
.hero h1,.hero p{text-shadow:0 2px 14px #0b0a1066}
@media(max-width:767px){
 .hero:before{background-position:54% center}
 .hero:after{background:
  linear-gradient(180deg,#0b0a10ad 0%,#0b0a1057 15%,#0b0a1000 33%),
  radial-gradient(ellipse 90% 42% at 50% 44%,#0b0a10a6 14%,#0b0a106b 52%,#0b0a1000 100%),
  linear-gradient(0deg,#0b0a10f0 0%,#0b0a10c9 28%,#0b0a108a 53%,#0b0a1034 83%,#0b0a1024 100%)}
}
/* A modest size increase without lowering the conversion block. */
.hero h1,.hero.sub h1{font-size:clamp(3.15rem,4.65vw,4.5rem)}
.hero .status{font-size:1.22rem;min-height:67px;padding-inline:50px}
@media(min-width:1025px){.hero h1,.hero.sub h1{font-size:4.06rem}}
@media(max-width:767px){.hero h1,.hero.sub h1{font-size:clamp(2.17rem,9.65vw,2.68rem)}.hero .status{font-size:1.12rem;min-height:60px;padding:16px 47px}}
@media(max-height:510px) and (orientation:landscape){.hero h1,.hero.sub h1{font-size:2.3rem}}
.service-groups{display:grid;gap:clamp(2.1rem,5vw,3.7rem);margin-top:clamp(1.4rem,3vw,2.2rem)}
.service-group + .service-group{border-top:1px solid var(--line);padding-top:clamp(1.5rem,4vw,2.65rem)}
.service-group-header{display:flex;gap:.5rem 1rem;flex-wrap:wrap;align-items:baseline;justify-content:space-between}
.service-group-header h3{font-size:clamp(1.45rem,3.1vw,2.15rem);margin:0}
.service-group-header a{color:var(--periwinkle);font-weight:700;text-underline-offset:.2em;font-size:.92rem}
.intent-brief{border-top:0;padding-top:0}
.fault-patterns{margin-block:.3rem .55rem}.fault-pattern{padding:.9rem 0}.fault-pattern+.fault-pattern{border-top:1px solid var(--line)}.fault-pattern h3{line-height:1.22;font-size:clamp(1.16rem,2.2vw,1.42rem);letter-spacing:-.025em}
.service-group .service-rail .card h4{margin:.25rem 0 .55rem;font-size:1.5rem;letter-spacing:-.045em;line-height:1.06}
@media(max-width:620px){.service-group .service-rail .card h4{font-size:1.34rem}}

/* Editorial links in the homepage fault-report guidance. */
#why-us .area a{color:var(--periwinkle);font-weight:670;text-decoration:underline;text-underline-offset:.23em}

/* Tap-to-call and pinned WhatsApp contact. */
.status{text-decoration:none;white-space:nowrap;font-variant-numeric:tabular-nums}
.status:hover{text-decoration:underline;text-underline-offset:.23em}
.contact-float{position:fixed;z-index:20;right:calc(clamp(12px,3vw,28px) + env(safe-area-inset-right,0px));bottom:calc(clamp(12px,3vw,28px) + env(safe-area-inset-bottom,0px));min-width:52px;min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;padding:.7rem 1rem;border:1px solid #b9c89e;border-radius:999px;background:#1d3026;color:#f3f8e8;box-shadow:0 5px 18px #171b2340;font-size:.87rem;font-weight:720;letter-spacing:.01em;text-decoration:none}
.contact-float svg{width:25px;height:25px;flex:none;color:var(--lime)}
.contact-float:hover{background:#2a4033}
.contact-float:focus-visible{outline:3px solid var(--periwinkle);outline-offset:4px}
html:has(.contact-float){scroll-padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
body:has(.contact-float) footer{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}
@media(max-width:767px){
 .nav .status{min-height:44px;font-size:clamp(.64rem,2.65vw,.78rem)}
 .scrolled .nav .status{padding-inline:.3rem}
 .contact-float{width:52px;height:52px;padding:0}
 .contact-float span{position:absolute;width:1px;height:1px;clip-path:inset(50%);white-space:nowrap;overflow:hidden}
}

/* Keep the swipe tracks inside the viewport even at narrow phone widths. */
.service-groups{grid-template-columns:minmax(0,1fr)}
.service-group,.carousel,.service-rail{min-width:0}

/* The reference uses a round WhatsApp icon at both sizes. */
.contact-float{--wa-offset:clamp(20px,2vw,28px);width:52px;height:52px;padding:0;right:calc(var(--wa-offset) + env(safe-area-inset-right,0px));bottom:calc(var(--wa-offset) + env(safe-area-inset-bottom,0px));background:#206b48;border-color:#edf8e9;color:#fff}
.contact-float svg{color:#fff}
.contact-float span{position:absolute;width:1px;height:1px;clip-path:inset(50%);white-space:nowrap;overflow:hidden}
.contact-float:hover{background:#175a3b}
@media(max-width:767px){
 .contact-float{--wa-offset:clamp(18px,5.5vw,26px);background:#148746;border-color:#e6f9ed;box-shadow:0 5px 20px #083c2760}
 .contact-float:hover{background:#116c39}
}

/* Double-slash mark at the end of the hero wordmark. */
.brand .brand-mark{display:inline-block;width:.9em;height:1em;margin-left:.19em;vertical-align:-.1em}
.scrolled .brand-mark .mark-lime{fill:var(--lime-dim)}
.scrolled .brand-mark .mark-periwinkle{fill:var(--periwinkle)}

.hero .hero-contact-text { display:grid; justify-items:center; gap:.15rem; white-space:nowrap; }
.hero .hero-contact-text small { display:block; font-size:.78rem; line-height:1.1; font-weight:650; }
