/* Palm Beach Pool Service — site stylesheet */
:root{
  --deep:#053a5b;
  --deep-2:#0a5480;
  --water:#3697cd;
  --shallow:#8fd0ee;
  --foam:#d9eefa;
  --deck:#eff4f7;
  --white:#fff;
  --sun:#f6ca43;
  --palm:#2e86be;
  --sand:#f2811b;
  --dark:#032b44;
  --ink:#053a5b;
  --muted:#55788c;
  --gold:#f6ca43;
  --rule:#cddfe9;
  --maxw:1180px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--deck);
  color:var(--ink);
  font-family:"Public Sans",system-ui,sans-serif;
  font-size:17px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.display{
  font-family:Archivo,system-ui,sans-serif;
  font-variation-settings:"wdth" 112,"wght" 680;
  line-height:1.04;
  letter-spacing:-.022em;
  text-wrap:balance;
}
a{color:inherit}
img{max-width:100%;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}

:focus-visible{outline:3px solid var(--sun);outline-offset:3px;border-radius:2px}

/* placeholder token so the client can see what still needs filling */
.ph{
  font-family:"JetBrains Mono",monospace;font-size:.82em;
  background:rgba(197,111,55,.16);
  border-bottom:1px dashed rgba(197,111,55,.75);
  padding:0 .25em;border-radius:2px;
}

/* ============ waterline tile band ============ */
.tileband{
  height:20px;
  background:
    repeating-linear-gradient(90deg,
      var(--sun) 0 16px,
      transparent 16px 19px);
  background-color:var(--foam);
}

/* ============ header ============ */
.hdr{
  position:sticky;top:0;z-index:60;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--rule);
}
.hdr .wrap{display:flex;align-items:center;gap:30px;height:92px}
.brand{flex-shrink:0;display:block}
.brand img{height:64px;width:auto}
.nav{display:flex;gap:26px;margin-left:auto;font-size:15px}
.nav a{text-decoration:none;color:var(--muted);padding:4px 0;border-bottom:2px solid transparent}
.nav a:hover{color:var(--deep);border-bottom-color:var(--sun)}
.telbtn{
  font-family:Archivo,sans-serif;font-variation-settings:"wdth" 100,"wght" 660;
  background:var(--sun);color:var(--deep);text-decoration:none;
  padding:11px 18px;border-radius:3px;font-size:15px;white-space:nowrap;
}
.telbtn:hover{background:#ffda36}


/* ---------- services dropdown ---------- */
.has-menu{position:relative;display:flex;align-items:center}
.has-menu>a::after{
  content:"";display:inline-block;width:5px;height:5px;margin-left:7px;
  border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;
  transform:translateY(-2px) rotate(45deg);transition:transform .18s ease;
}
.has-menu:hover>a::after,.has-menu:focus-within>a::after{transform:translateY(0) rotate(225deg)}
.submenu{
  position:absolute;top:100%;left:-16px;min-width:196px;padding-top:19px;
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s;
}
.submenu-inner{
  background:var(--white);border:1px solid var(--rule);border-top:3px solid var(--sun);
  border-radius:0 0 4px 4px;box-shadow:0 16px 36px rgba(2,28,45,.16);padding:7px 0;
}
.nav .submenu a{
  display:block;padding:10px 18px;white-space:nowrap;
  border-bottom:0;color:var(--muted);
}
.nav .submenu a:hover,.nav .submenu a:focus-visible{background:var(--foam);color:var(--deep);border-bottom:0}
.nav .submenu a[aria-current]{color:var(--deep);font-weight:600;box-shadow:inset 3px 0 0 var(--sun)}
.has-menu:hover .submenu,.has-menu:focus-within .submenu{opacity:1;visibility:visible;transform:translateY(0)}
@media (prefers-reduced-motion:reduce){.submenu,.has-menu>a::after{transition:none}}


/* ---------- burger ---------- */
.burger{
  display:none;width:46px;height:46px;flex-shrink:0;margin-left:10px;
  background:none;border:0;padding:0;cursor:pointer;border-radius:4px;
  align-items:center;justify-content:center;
}
.burger span{display:block;width:24px;height:2px;background:var(--deep);border-radius:2px}
.burger span+span{margin-top:6px}
@media (max-width:980px){.burger{display:flex}}

/* ---------- full-screen mobile panel ---------- */
.mnav{
  position:fixed;inset:0;z-index:90;background:var(--deep);
  display:flex;flex-direction:column;overflow-y:auto;
  animation:mnavIn .2s ease both;
}
.mnav[hidden]{display:none}
@keyframes mnavIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}

.mnav-top{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:13px 18px;border-bottom:1px solid rgba(255,255,255,.14);flex-shrink:0;
}
.mnav-logo{background:var(--white);border-radius:4px;padding:8px 12px;display:block;line-height:0}
.mnav-logo img{width:148px;display:block}
.mnav-close{
  width:46px;height:46px;flex-shrink:0;background:none;border:0;
  cursor:pointer;position:relative;border-radius:4px;
}
.mnav-close::before,.mnav-close::after{
  content:"";position:absolute;left:12px;top:22px;width:22px;height:2px;
  background:var(--white);border-radius:2px;
}
.mnav-close::before{transform:rotate(45deg)}
.mnav-close::after{transform:rotate(-45deg)}
.mnav-close:focus-visible,.burger:focus-visible{outline:3px solid var(--sun);outline-offset:2px}

.mnav-body{flex:1;padding:6px 20px 0}
.mnav a{text-decoration:none;display:block}
.mnav-lnk{
  font-family:Archivo,sans-serif;font-variation-settings:"wdth" 104,"wght" 660;
  font-size:1.38rem;letter-spacing:-.015em;color:var(--white);
  padding:17px 2px;border-bottom:1px solid rgba(255,255,255,.13);
}
.mnav-lnk:active{color:var(--sun)}
.mnav-sub{
  border-left:3px solid var(--sun);padding-left:17px;
  margin:10px 0 16px;
}
.mnav-sub a{
  font-family:"Public Sans",sans-serif;font-weight:500;font-size:1.02rem;
  color:#a9dcf5;padding:10px 2px;
}
.mnav-sub a[aria-current]{color:var(--sun);font-weight:600}
.mnav-sub a:active{color:var(--white)}

.mnav-foot{padding:26px 20px 36px;flex-shrink:0}
.mnav-foot .btn{display:block;text-align:center}
.mnav-foot .btn+.btn{margin-top:11px}

@media (min-width:981px){.mnav{display:none!important}}
@media (prefers-reduced-motion:reduce){.mnav{animation:none}}

/* ============ hero ============ */
.hero{position:relative;overflow:hidden;background:var(--deep);isolation:isolate}
.stripes{
  position:absolute;inset:-12%;z-index:-1;pointer-events:none;
  transform:rotate(-2.2deg);
  background:repeating-linear-gradient(179deg,
    transparent 0 54px,
    rgba(255,255,255,.04) 54px 61px,
    transparent 61px 148px,
    rgba(255,255,255,.028) 148px 153px,
    transparent 153px 236px);
}
.hero-photo{
  position:absolute;inset:0;z-index:-3;pointer-events:none;
  background-image:url("/assets/img/hero-pool-service-palm-beach-county.jpg");
  background-size:cover;
  background-position:58% 52%;
  filter:saturate(.82);
}
.hero-veil{
  position:absolute;inset:0;z-index:-2;pointer-events:none;
  background:
    linear-gradient(101deg,
      rgba(5,58,91,.89)  0%,
      rgba(5,58,91,.81)  34%,
      rgba(4,50,79,.66)  64%,
      rgba(3,43,68,.56) 100%),
    linear-gradient(180deg,
      rgba(3,43,68,.44) 0%,
      rgba(3,43,68,.06) 34%,
      rgba(3,43,68,.40) 100%);
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.hero .wrap{
  display:grid;grid-template-columns:1.05fr .95fr;gap:64px;
  align-items:center;padding-top:84px;padding-bottom:92px;
}
.hero h1{font-size:clamp(2.6rem,5.2vw,4.1rem);color:var(--white)}
.hero .sub{
  color:var(--foam);font-size:1.18rem;margin-top:24px;max-width:36ch;
}
.actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:34px}
.btn{
  font-family:Archivo,sans-serif;font-variation-settings:"wdth" 100,"wght" 660;
  font-size:1.03rem;text-decoration:none;padding:15px 26px;border-radius:3px;
  display:inline-block;border:2px solid transparent;
}
.btn-sun{background:var(--sun);color:var(--deep)}
.btn-sun:hover{background:#ffd75e}
.btn-ghost{border-color:rgba(217,238,250,.55);color:var(--white)}
.btn-ghost:hover{border-color:var(--white);background:rgba(255,255,255,.09)}
.btn-deep{background:var(--deep);color:var(--white)}
.btn-deep:hover{background:var(--deep-2)}
.creds{
  margin-top:30px;color:#b3e0f7;font-size:.95rem;max-width:48ch;
}
.creds b{color:#fff;font-weight:600}

/* ---- service report card: the hero's real subject ---- */
.report{
  background:var(--white);border-radius:5px;
  box-shadow:0 30px 70px rgba(2,24,40,.58);
  overflow:hidden;
}
.rep-top{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:15px 20px;background:var(--dark);color:var(--foam);
}
.rep-top .t{
  font-family:Archivo,sans-serif;font-variation-settings:"wdth" 92,"wght" 640;
  font-size:.94rem;letter-spacing:.005em;
}
.rep-top .d{font-family:"JetBrains Mono",monospace;font-size:.74rem;color:var(--shallow)}
.rep-photo{
  margin:20px 20px 0;height:150px;border:1.5px dashed var(--rule);border-radius:4px;
  display:flex;align-items:center;justify-content:center;text-align:center;
  background:linear-gradient(160deg,#e8f4fb,#d3e9f6);
  color:var(--muted);font-size:.83rem;padding:12px;
}
.readings{
  display:grid;grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--rule);margin-top:20px;
}
.rd{padding:15px 12px 16px;border-right:1px solid var(--rule)}
.rd:nth-child(3n){border-right:0}
.rd:nth-child(n+4){border-top:1px solid var(--rule)}
.rd .k{font-size:.7rem;color:var(--muted);display:flex;align-items:center;gap:6px}
.rd .k::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--palm);flex-shrink:0}
.rd.warn .k::before{background:var(--sand)}
.rd .v{
  font-family:"JetBrains Mono",monospace;font-weight:500;
  font-size:1.16rem;color:var(--deep);margin-top:3px;
}
.rd .v small{font-size:.62em;color:var(--muted);font-weight:400}
.rd.warn .v{color:var(--sand)}
.checks{padding:16px 20px 20px;border-top:1px solid var(--rule)}
.checks li{
  list-style:none;font-size:.88rem;color:var(--muted);
  padding-left:22px;position:relative;margin-bottom:5px;
}
.checks li::before{
  content:"";position:absolute;left:2px;top:.52em;
  width:9px;height:5px;border-left:2.2px solid var(--palm);border-bottom:2.2px solid var(--palm);
  transform:rotate(-45deg);
}

/* ============ generic section ============ */
.sec{padding:96px 0}
.sec[id]{scroll-margin-top:96px}
.sec-alt{background:var(--white)}
.eyebrow{
  font-size:.95rem;color:var(--water);font-weight:600;margin-bottom:14px;
}
h2{font-size:clamp(1.95rem,3.5vw,2.85rem)}
.lede{font-size:1.16rem;color:var(--muted);margin-top:20px;max-width:62ch}
.sec p+p{margin-top:16px}

/* ============ proof ============ */
.proof{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:start}
.proof p{color:var(--muted);max-width:56ch}
.proof p strong{color:var(--ink);font-weight:600}
.pillars{border-top:3px solid var(--sun)}
.pillar{padding:22px 0;border-bottom:1px solid var(--rule)}
.pillar h3{font-size:1.14rem;font-variation-settings:"wdth" 100,"wght" 660}
.pillar p{margin-top:6px;font-size:.96rem;color:var(--muted)}

/* ============ services ============ */
.svc{border-top:3px solid var(--sun);margin-top:46px}
.svc-row{
  display:grid;grid-template-columns:minmax(220px,1fr) 2fr auto;
  gap:26px;align-items:baseline;
  padding:26px 0;border-bottom:1px solid var(--rule);
  text-decoration:none;
}
.svc-row:hover{background:var(--foam)}
.svc-row h3{font-size:1.4rem;font-variation-settings:"wdth" 104,"wght" 660}
.svc-row p{color:var(--muted);font-size:.99rem}

/* ============ areas ============ */
.citylist{
  columns:4;column-gap:40px;list-style:none;margin-top:36px;
  border-top:3px solid var(--sun);padding-top:4px;
}
.citylist li{
  break-inside:avoid;padding:9px 2px;border-bottom:1px solid var(--rule);
  font-size:.97rem;font-weight:500;color:var(--ink);
}

/* ============ reviews ============ */
.revs{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:48px}
.rev{border-top:3px solid var(--water);padding-top:20px}
.rev .stars{color:var(--gold);letter-spacing:2px;font-size:.9rem}
.rev blockquote{
  font-family:Archivo,sans-serif;font-variation-settings:"wdth" 98,"wght" 480;
  font-size:1.09rem;line-height:1.42;margin:12px 0 16px;letter-spacing:-.01em;
}
.rev cite{font-style:normal;font-size:.85rem;color:var(--muted)}
.rev cite b{display:block;color:var(--ink);font-weight:600;font-size:.94rem;font-style:normal}

/* ============ cta band ============ */
.band{background:var(--deep);color:var(--white);padding:76px 0;position:relative;overflow:hidden}
.band .wrap{display:grid;grid-template-columns:1.2fr auto;gap:50px;align-items:center;position:relative;z-index:2}
.band h2{color:var(--white)}
.band p{color:var(--shallow);margin-top:16px;max-width:46ch}

/* ============ faq ============ */
.faq{max-width:780px;margin:44px auto 0;border-top:3px solid var(--sun)}
.faq details{border-bottom:1px solid var(--rule)}
.faq summary{
  font-family:Archivo,sans-serif;font-variation-settings:"wdth" 100,"wght" 620;
  font-size:1.12rem;padding:20px 40px 20px 0;cursor:pointer;position:relative;
  list-style:none;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";position:absolute;right:8px;top:50%;
  width:11px;height:11px;margin-top:-7px;
  border-right:2px solid var(--water);border-bottom:2px solid var(--water);
  transform:rotate(45deg);transition:transform .22s ease;
}
.faq details[open] summary::after{transform:rotate(225deg);margin-top:-2px}
.faq .ans{padding:0 20px 22px 0;color:var(--muted)}
.faq .ans a{color:var(--water)}

/* ============ footer ============ */
.ftr{background:var(--dark);color:var(--shallow);padding:70px 0 34px;font-size:.93rem}
.ftr .grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:50px}
.ftr-logo{background:var(--white);border-radius:5px;padding:13px 17px;display:inline-block;margin-bottom:22px}
.ftr-logo img{width:186px}
.ftr h4{
  font-family:Archivo,sans-serif;font-variation-settings:"wdth" 96,"wght" 640;
  color:var(--white);font-size:.98rem;margin-bottom:14px;
}
.ftr a{color:var(--shallow);text-decoration:none}
.ftr a:hover{color:var(--sun)}
.ftr ul{list-style:none}
.ftr li{margin-bottom:8px}
.nap{color:var(--foam);line-height:1.85}
.nap strong{color:var(--white);font-weight:600}
.legal{
  margin-top:46px;padding-top:22px;border-top:1px solid rgba(143,208,238,.22);
  display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:.84rem;
}

@media (max-width:980px){
  .hero .wrap,.proof,.areas,.band .wrap,.ftr .grid{grid-template-columns:1fr;gap:44px}
  .hero .wrap{padding-top:58px;padding-bottom:66px}
  .revs{grid-template-columns:1fr}
  .nav{display:none}
  .telbtn{margin-left:auto}
  .svc-row{grid-template-columns:1fr;gap:6px}
  .hero-photo{background-position:64% 54%}
  .brand img{height:52px}
  .hdr .wrap{height:78px}
  .sec{padding:70px 0}
  .citylist{columns:2}
}
@media (max-width:520px){
  .wrap{padding:0 20px}
  .citylist{columns:1}
  .readings{grid-template-columns:repeat(2,1fr)}
  .rd:nth-child(3n){border-right:1px solid var(--rule)}
  .rd:nth-child(2n){border-right:0}
  .rd:nth-child(n+3){border-top:1px solid var(--rule)}
  .brand img{height:46px}
}

/* ---------- sub-page shell ---------- */
.phero{position:relative;overflow:hidden;background:var(--deep)}
.phero .wrap{
  position:relative;z-index:2;max-width:900px;margin:0 auto;
  padding-top:62px;padding-bottom:70px;
}
.phero h1{font-size:clamp(2.2rem,4.4vw,3.4rem);color:var(--white);max-width:20ch}
.phero .lede{color:#cbe8f8;font-size:1.19rem;margin-top:22px;max-width:60ch}
.crumb{font-size:.88rem;color:#8fd0ee;margin-bottom:20px}
.crumb a{text-decoration:none}
.crumb a:hover{color:var(--sun)}
.crumb span{opacity:.55;padding:0 7px}
.nav a[aria-current]{color:var(--deep);border-bottom-color:var(--sun)}

.sec[id]{scroll-margin-top:96px}
.narrow{max-width:900px;margin:0 auto}
.sec h2+.lede{margin-top:18px}
.body p{color:var(--muted);max-width:68ch}
.body p+p{margin-top:16px}
.body p strong{color:var(--ink);font-weight:600}
.body a{color:var(--blue)}

/* numbered process: only used where the content really is a sequence */
.steps{counter-reset:s;margin-top:42px;border-top:3px solid var(--sun)}
.step{display:grid;grid-template-columns:52px 1fr;gap:0 22px;padding:24px 0;border-bottom:1px solid var(--rule)}
.step:last-child{border-bottom:0}
.step::before{
  grid-column:1;counter-increment:s;content:counter(s);
  font-family:"JetBrains Mono",monospace;font-size:1.05rem;color:var(--blue);padding-top:3px;
}
/* ::before occupies column 1, so pin all real content to column 2 */
.step>*{grid-column:2}
.step h3{font-size:1.2rem;font-variation-settings:"wdth" 100,"wght" 660}
.step p{margin-top:8px;color:var(--muted);font-size:.99rem;max-width:64ch;line-height:1.6}

/* feature blocks, alternating rule colour by group */
.feats{margin-top:40px;border-top:3px solid var(--sun)}
.feat{padding:26px 0;border-bottom:1px solid var(--rule);display:grid;grid-template-columns:minmax(210px,.85fr) 2fr;gap:34px}
.feat h3{font-size:1.24rem;font-variation-settings:"wdth" 102,"wght" 660}
.feat p{color:var(--muted);font-size:.99rem}
.feat p+p{margin-top:12px}
.feat .tags{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}
.feat .tags a,.feat .tags span{
  font-size:.78rem;border:1px solid var(--rule);border-radius:99px;
  padding:4px 12px;color:var(--muted);text-decoration:none;background:var(--white);
}
.feat .tags a:hover{border-color:var(--blue);color:var(--blue)}

.inc{display:grid;grid-template-columns:repeat(2,1fr);gap:0 46px;margin-top:38px}
.inc-g{border-top:3px solid var(--sun);padding-top:18px;margin-bottom:30px}
.inc-g h3{font-size:1.1rem;font-variation-settings:"wdth" 100,"wght" 660;margin-bottom:12px}
.inc-g li{
  list-style:none;font-size:.96rem;color:var(--muted);
  padding-left:23px;position:relative;margin-bottom:8px;
}
.inc-g li::before{
  content:"";position:absolute;left:2px;top:.52em;width:10px;height:5px;
  border-left:2.2px solid var(--palm);border-bottom:2.2px solid var(--palm);transform:rotate(-45deg);
}

.callout{
  background:var(--foam);border-left:4px solid var(--blue);
  padding:26px 30px;margin-top:38px;border-radius:0 4px 4px 0;
}
.callout h3{font-size:1.16rem;margin-bottom:10px}
.callout p{color:#3d6478;max-width:64ch}
.callout p+p{margin-top:12px}

.related{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:38px}
.rel{
  border-top:3px solid var(--blue);padding:18px 0 0;text-decoration:none;display:block;
}
.rel:hover h3{color:var(--blue)}
.rel h3{font-size:1.14rem;font-variation-settings:"wdth" 100,"wght" 660}
.rel p{color:var(--muted);font-size:.93rem;margin-top:6px}

@media (max-width:980px){
  .inc,.related{grid-template-columns:1fr}
  .feat{grid-template-columns:1fr;gap:8px}
  .phero .wrap{padding-top:46px;padding-bottom:54px}
}
@media (max-width:520px){
  .step{grid-template-columns:32px 1fr;gap:14px}
}



/* ---------- about: horizontal header band ---------- */
.banner{width:100%;border-bottom:1px solid var(--rule);background:var(--deep)}
.banner img{
  display:block;width:100%;
  height:clamp(230px,40vw,540px);
  object-fit:cover;object-position:38% 50%;
}
.banner figcaption{
  max-width:var(--maxw);margin:0 auto;padding:14px 28px 0;
  font-size:.86rem;color:var(--muted);
}

.bio{display:grid;grid-template-columns:1.1fr .9fr;gap:76px;align-items:start}
.bio .body p{font-size:1.02rem}
.vals-head{
  font-family:Archivo,sans-serif;font-variation-settings:"wdth" 100,"wght" 660;
  font-size:1.02rem;color:var(--deep);margin-bottom:14px;
}
.vals{border-top:3px solid var(--sun);padding-top:4px}
.val{padding:24px 0;border-bottom:1px solid var(--rule)}
.val:last-child{border-bottom:0}
.val h3{font-size:1.12rem;font-variation-settings:"wdth" 100,"wght" 660}
.val p{margin-top:8px;font-size:.97rem;color:var(--muted);line-height:1.58}
.cred{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:40px;border-top:3px solid var(--sun)}
.cred div{padding:22px 20px 22px 0;border-right:1px solid var(--rule)}
.cred div:last-child{border-right:0}
.cred b{
  display:block;font-family:Archivo,sans-serif;font-variation-settings:"wdth" 104,"wght" 700;
  font-size:1.5rem;color:var(--deep);line-height:1.1;
}
.cred span{display:block;margin-top:6px;font-size:.88rem;color:var(--muted)}
@media (max-width:980px){.bio{grid-template-columns:1fr;gap:44px}.cred{grid-template-columns:repeat(2,1fr)}
  .cred div:nth-child(2n){border-right:0}.cred div:nth-child(n+3){border-top:1px solid var(--rule)}}
