/* Public website (SW-030). Colors from the brand guidelines draft (BRD-004, PRELIMINARY until exact values arrive):
   navy for text, green fills with navy text for actions, blue for links, splash blue for bands. Font: Nunito (proposed). */
:root {
  --s-navy: #001030; --s-ink: #1D2733; --s-muted: #4A5868;
  --s-green: #8CC63F; --s-green-dark: #4E9A2E; --s-green-soft: #EEF7E2;
  --s-blue: #0A7FC4; --s-blue-bright: #0A9BEF; --s-splash: #C2EAF7; --s-sky: #EAF7FD;
  --s-white: #FFFFFF; --s-line: #CFE6F2; --s-todo-bg: #FFF1CC; --s-todo: #9A6700;
  --s-radius: 14px; --s-font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.site { background: var(--s-white); color: var(--s-ink); font-family: var(--s-font); font-size: 17px; line-height: 1.6; margin: 0; }
.site a { color: var(--s-blue); }
.site h1, .site h2, .site h3 { color: var(--s-navy); font-weight: 900; line-height: 1.2; margin: 0 0 .5em; text-transform: none; letter-spacing: normal; font-family: var(--s-font); }
.site h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
.site h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.site h3 { font-size: 1.2rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.todo { background: var(--s-todo-bg); color: var(--s-todo); font-weight: 700; padding: 0 4px; border-radius: 4px; }

/* header */
.site-head { background: var(--s-white); border-bottom: 4px solid var(--s-green); position: sticky; top: 0; z-index: 20; }
.head-row { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.site-nav { display: flex; gap: 4px; flex: 1; justify-content: center; flex-wrap: wrap; }
.site-nav a, .site-menu nav a { color: var(--s-navy); font-weight: 800; text-decoration: none; padding: 6px 10px; border-radius: 999px; }
.site-nav a:hover { background: var(--s-sky); }
.site-nav a.on { background: var(--s-navy); color: var(--s-white); }
.btn-cta { display: inline-block; background: var(--s-green); color: var(--s-navy) !important; font-weight: 900; text-decoration: none; padding: 11px 20px; border-radius: 999px; box-shadow: 0 3px 0 var(--s-green-dark); white-space: nowrap; }
.btn-cta:hover { filter: brightness(1.05); }
.btn-cta.big { font-size: 1.15rem; padding: 14px 26px; }
.btn-ghost { display: inline-block; color: var(--s-navy) !important; font-weight: 800; text-decoration: none; padding: 11px 20px; border-radius: 999px; border: 2px solid var(--s-navy); }
.site-menu { display: none; margin-left: auto; }
.site-menu summary { list-style: none; cursor: pointer; font-weight: 800; color: var(--s-navy); border: 2px solid var(--s-navy); border-radius: 999px; padding: 6px 14px; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu nav { position: absolute; right: 16px; top: 74px; background: var(--s-white); border: 1px solid var(--s-line); border-radius: var(--s-radius); box-shadow: 0 10px 30px rgba(0,16,48,.18); display: grid; padding: 8px; min-width: 200px; }
.site-menu nav a.on { background: var(--s-sky); }
@media (max-width: 980px) { .site-nav { display: none; } .site-menu { display: block; } .head-row .btn-cta { margin-left: auto; } .site-menu { margin-left: 0; } }
.site-menu nav a.menu-cta { background: var(--s-green); margin-bottom: 4px; text-align: center; }
@media (max-width: 560px) { .head-row { gap: 10px; min-height: 64px; } .head-row > .btn-cta { display: none; } .site-menu { margin-left: auto; } .site-menu nav { top: 62px; } }
body.site { overflow-x: hidden; }


/* sections */
.band { padding: 56px 0; }
.band.sky { background: var(--s-splash); }
.band.splash { background: linear-gradient(180deg, var(--s-splash), var(--s-sky)); }
.band.navy { background: var(--s-navy); color: #E6F3FA; }
.band.navy h2 { color: var(--s-white); }
.lead { font-size: 1.15rem; color: var(--s-muted); max-width: 720px; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.actions-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.center .actions-row { justify-content: center; }


.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 24px; }
.card { background: var(--s-white); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 20px; box-shadow: 0 2px 0 var(--s-line); }
.card p { margin: .3em 0 0; color: var(--s-muted); }
.card .from { margin-top: 10px; font-weight: 800; color: var(--s-green-dark); }
.step-no { width: 40px; height: 40px; border-radius: 50%; background: var(--s-green); color: var(--s-navy); font-weight: 900; display: grid; place-items: center; margin-bottom: 10px; font-size: 1.2rem; }

.svc-group { margin-top: 34px; }
.svc { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--s-line); }
.svc h3 { margin: 0; }
.svc p { grid-column: 1 / -1; margin: 0; color: var(--s-muted); }
.svc .from { font-weight: 800; color: var(--s-green-dark); white-space: nowrap; }
.note { background: var(--s-green-soft); border-left: 5px solid var(--s-green); border-radius: 8px; padding: 14px 16px; margin: 22px 0; }

.faq details { border-bottom: 1px solid var(--s-line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--s-navy); font-size: 1.08rem; }
.faq details p, .faq details ul, .faq details table { margin: 10px 0 0; }
.price-table { border-collapse: collapse; width: 100%; max-width: 640px; }
.price-table td { padding: 8px 6px; border-bottom: 1px solid var(--s-line); }
.price-table td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 20px; }
.gallery figure { margin: 0; background: var(--s-white); border: 1px solid var(--s-line); border-radius: var(--s-radius); overflow: hidden; }
.gallery img { width: 100%; display: block; }
.gallery figcaption { padding: 10px 14px; font-weight: 700; color: var(--s-navy); }
.gallery .ba-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.gallery .ba-imgs span { display: block; text-align: center; font-size: .8rem; color: var(--s-navy); padding: 4px 0; font-weight: 700; }

.towns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 18px; }
.town { background: var(--s-white); border: 1px solid var(--s-line); border-radius: 10px; padding: 12px 16px; }
.town b { color: var(--s-navy); } .town span { color: var(--s-muted); font-size: .9rem; display: block; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.chip-town { background: var(--s-white); border: 1px solid var(--s-line); border-radius: 999px; padding: 5px 14px; font-weight: 700; color: var(--s-navy); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.site .panel { border-radius: var(--s-radius); }
.site .form .inp { font-family: var(--s-font); font-size: 1rem; }
.site .btn.pri { background: var(--s-green); color: var(--s-navy); border-color: var(--s-green-dark); font-weight: 900; }

/* footer */
.site-foot { background: var(--s-navy); color: #C9DDEA; padding: 40px 0 18px; margin-top: 0; }
.site-foot a { color: #FFFFFF; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot-name { color: #FFFFFF; font-weight: 900; font-size: 1.2rem; }
.foot-h { color: #FFFFFF; font-weight: 800; margin-bottom: 6px; }
.foot-tag { color: var(--s-green); font-weight: 900; }
.foot-links a { display: inline-block; margin: 0 12px 6px 0; text-decoration: none; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding-top: 14px; font-size: .85rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* the instant quote pages inside the site layout */
.site .quote-wrap { max-width: 760px; margin: 0 auto; padding: 32px 20px 56px; }

/* shared top section: the logo on its own background color (#FEFEFE) so it doesn't sit in a box */
.page-top { background: #FEFEFE; padding: 26px 0 34px; border-bottom: 1px solid var(--s-line); }
.page-top-row { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; }
.page-logo img { width: 100%; max-width: 340px; display: block; }
.page-intro h1 { margin-bottom: .3em; }
.page-intro .lead { margin: 0; }
@media (max-width: 820px) {
  .page-top { padding: 14px 0 26px; }
  .page-top-row { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .page-logo img { max-width: 250px; margin: 0 auto; }
  .page-intro .lead { margin: 0 auto; }
  .page-intro .actions-row { justify-content: center; }
}
/* header without the small logo: menu on the left on phones, the quote button stays */
.head-row { justify-content: center; }
@media (max-width: 980px) { .head-row { justify-content: space-between; } .site-menu { margin-left: 0; order: -1; } }
@media (max-width: 560px) { .head-row > .btn-cta { display: inline-block; padding: 8px 14px; font-size: .9rem; } .site-menu nav { left: 16px; right: auto; } }
.page-top .kicker { display: inline-block; background: var(--s-sky); color: var(--s-navy); font-weight: 800; border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; font-size: .9rem; }

/* inverted scheme (John, 2026-10-18): white behind the logo at the top, the brand's splash blue for everything below it */
.site-main { background: #DFF3FB; }
.site .page-top + .band { border-top: 0; }
.site .card, .site .town, .site .chip-town, .site .gallery figure { background: var(--s-white); }
.site .faq details { border-bottom-color: #BFE3F2; }

/* color from the logo palette (John, 2026-10-18): cards, panels and rows rotate frog green, water blue and outline navy */
.site .card { border: 0; border-top: 7px solid var(--s-green); box-shadow: 0 6px 18px rgba(0,16,48,.10); border-radius: var(--s-radius); }
.site .cards .card:nth-child(3n+1) { border-top-color: var(--s-green); background: linear-gradient(180deg, #EFF8E0 0%, #FFFFFF 55%); }
.site .cards .card:nth-child(3n+2) { border-top-color: var(--s-blue-bright); background: linear-gradient(180deg, #E1F3FD 0%, #FFFFFF 55%); }
.site .cards .card:nth-child(3n)   { border-top-color: var(--s-navy); background: linear-gradient(180deg, #E8EDF6 0%, #FFFFFF 55%); }
.site .cards .card:nth-child(3n+1) h3 { color: var(--s-green-dark); }
.site .cards .card:nth-child(3n+2) h3 { color: var(--s-blue); }
.site .cards .card:nth-child(3n+2) .step-no { background: var(--s-blue-bright); color: var(--s-white); }
.site .cards .card:nth-child(3n) .step-no { background: var(--s-navy); color: var(--s-white); }

.site .svc-group { background: var(--s-white); border-radius: var(--s-radius); padding: 18px 22px 6px; border-left: 8px solid var(--s-green); box-shadow: 0 6px 18px rgba(0,16,48,.08); }
.site .svc-group:nth-of-type(3n+2) { border-left-color: var(--s-blue-bright); }
.site .svc-group:nth-of-type(3n) { border-left-color: var(--s-navy); }
.site .svc:last-child { border-bottom: 0; }

.site .town { border: 0; border-left: 6px solid var(--s-green); box-shadow: 0 3px 10px rgba(0,16,48,.08); }
.site .towns .town:nth-child(3n+2) { border-left-color: var(--s-blue-bright); }
.site .towns .town:nth-child(3n) { border-left-color: var(--s-navy); }
.site .chip-town:nth-child(3n+1) { background: var(--s-green); border-color: var(--s-green); }
.site .chip-town:nth-child(3n+2) { background: var(--s-blue-bright); border-color: var(--s-blue-bright); color: var(--s-white); }
.site .chip-town:nth-child(3n) { background: var(--s-navy); border-color: var(--s-navy); color: var(--s-white); }

.site .faq details { background: var(--s-white); border: 0; border-left: 6px solid var(--s-blue-bright); border-radius: 10px; padding: 14px 18px; margin-bottom: 12px; box-shadow: 0 3px 10px rgba(0,16,48,.07); }
.site .faq details:nth-of-type(odd) { border-left-color: var(--s-green); }
.site .faq details[open] summary { color: var(--s-blue); }
.site .note { background: var(--s-white); border-left-color: var(--s-green); box-shadow: 0 3px 10px rgba(0,16,48,.07); }

/* colored menu bar (John, 2026-10-18): water blue from the logo, deep enough for white text */
.site-head { background: linear-gradient(90deg, #06578C 0%, #0A7FC4 55%, #0A9BEF 100%); border-bottom: 4px solid var(--s-green); box-shadow: 0 2px 10px rgba(0,16,48,.18); }
.site-nav a { color: #FFFFFF; }
.site-nav a:hover { background: rgba(255,255,255,.18); }
.site-nav a.on { background: #FFFFFF; color: var(--s-navy); }
.site-head .btn-cta { box-shadow: 0 3px 0 var(--s-green-dark), 0 0 0 2px rgba(255,255,255,.35); }
.site-menu summary { color: #FFFFFF; border-color: #FFFFFF; }
.site-menu nav a { color: var(--s-navy); }


/* ---- water, second pass (2026-10-18): a taller layered wave and real pool light ---- */
.page-top { position: relative; border-bottom: 0; padding-bottom: 96px; }
.page-top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 96px; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath d='M0 58 C 180 92 330 92 520 62 C 700 34 860 30 1040 52 C 1210 72 1330 70 1440 48 L1440 96 L0 96 Z' fill='%23DFF3FB'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 200 10 360 14 560 40 C 760 66 900 72 1080 50 C 1250 30 1360 26 1440 36 L1440 96 L0 96 Z' fill='%23A9DCEF' fill-opacity='0.75'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath d='M0 26 C 240 0 420 6 640 30 C 860 54 1040 60 1240 40 C 1340 30 1400 24 1440 22 L1440 96 L0 96 Z' fill='%23C2EAF7' fill-opacity='0.9'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}
@media (max-width: 820px) { .page-top { padding-bottom: 70px; } .page-top::after { height: 60px; } }
.site-main { background-color: #DFF3FB; background-image: url("../img/pool-light.png"); background-size: 760px 760px; background-position: center top; }
.site .band.sky { background-color: #C2EAF7; background-image: url("../img/pool-light.png"); background-size: 900px 900px; }
.page-top + .band { padding-top: 28px; }

/* icons */
.wi { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.card-icon { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--s-sky); color: var(--s-blue); margin-bottom: 12px; box-sizing: border-box; }
.site .cards .card:nth-child(3n+1) .card-icon { background: var(--s-green-soft); color: var(--s-green-dark); }
.site .cards .card:nth-child(3n) .card-icon { background: #E8EDF6; color: var(--s-navy); }

/* trust strip under the wave on Home */
.trust { position: relative; z-index: 2; margin: -34px auto 0; background: var(--s-white); border-radius: var(--s-radius); box-shadow: 0 10px 28px rgba(0,16,48,.14); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; overflow: hidden; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-right: 1px solid var(--s-line); }
.trust-item:last-child { border-right: 0; }
.trust-item .wi { width: 34px; height: 34px; color: var(--s-green-dark); }
.trust-item:nth-child(2) .wi { color: var(--s-blue); } .trust-item:nth-child(3) .wi { color: var(--s-navy); } .trust-item:nth-child(4) .wi { color: var(--s-blue-bright); }
.trust-item b { display: block; color: var(--s-navy); line-height: 1.2; }
.trust-item span { display: block; font-size: .85rem; color: var(--s-muted); }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } .trust-item:nth-child(2) { border-right: 0; } .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--s-line); } }
@media (max-width: 480px) { .trust { grid-template-columns: 1fr; margin-top: -20px; } .trust-item { border-right: 0; border-bottom: 1px solid var(--s-line); } .trust-item:last-child { border-bottom: 0; } }

/* callouts: a selling point, not small print */
.callout { display: flex; gap: 14px; align-items: flex-start; text-align: left; background: var(--s-white); border-radius: var(--s-radius); padding: 16px 18px; margin: 22px 0 0; box-shadow: 0 6px 18px rgba(0,16,48,.10); border-left: 7px solid var(--s-green); font-size: 1rem; line-height: 1.55; }
.callout + .callout { margin-top: 12px; }
.callout .wi { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--s-green-soft); color: var(--s-green-dark); box-sizing: border-box; margin-top: 1px; }
.callout b { color: var(--s-navy); }

/* five service groups in one row on wide screens, no orphan */
@media (min-width: 1000px) { .cards.five { grid-template-columns: repeat(5, 1fr); } .cards.five .card { padding: 18px 16px; } .cards.five h3 { font-size: 1.05rem; } .cards.five p { font-size: .9rem; } }
@media (max-width: 999px) and (min-width: 640px) { .cards.five { grid-template-columns: repeat(2, 1fr); } .cards.five .card:last-child { grid-column: 1 / -1; } }

/* calmer town chips with readable text */
.site .chip-town, .site .chip-town:nth-child(3n+1), .site .chip-town:nth-child(3n+2), .site .chip-town:nth-child(3n) { background: var(--s-white); border: 2px solid var(--s-green); color: var(--s-navy); }
.site .chip-town:nth-child(even) { border-color: var(--s-blue-bright); }

/* instant quote, area by area (D-027) */
.q-step { font-weight: 900; color: var(--s-navy); margin-top: 6px; }
.svc-picks { display: grid; gap: 8px; }
.svc-pick { background: var(--s-sky); border-radius: 10px; padding: 8px 10px; display: grid; gap: 6px; }
.svc-pick[hidden], .svc-picks[hidden], .svc-hint[hidden], .surface-note[hidden], .svc-extra[hidden] { display: none; }
.svc-pick > .pick { background: var(--s-white); font-weight: 800; }
.svc-extra { padding-left: 6px; }

/* What We Clean by location: four across, never a lonely card */
@media (min-width: 1000px) { .cards.areas { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 999px) and (min-width: 640px) { .cards.areas { grid-template-columns: repeat(2, 1fr); } }
.cards.areas .card { padding: 18px 16px; } .cards.areas h3 { font-size: 1.05rem; } .cards.areas p { font-size: .92rem; }
.quote-wrap .field[hidden] { display: none; }
.expect-table { border-collapse: collapse; width: 100%; margin: 6px 0 10px; font-size: .95rem; }
.expect-table th, .expect-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--s-line); vertical-align: top; }
.expect-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--s-muted, #5b6b78); }
@media (max-width: 640px) { .expect-table { font-size: .85rem; } .expect-table th, .expect-table td { padding: 6px 4px; } }

.form [hidden] { display: none !important; }  /* the billing block is a grid; without this its display:grid beats the hidden attribute */
.form .check { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }  /* the billing-address box on the quote form */
.form .check input { width: 18px; height: 18px; margin: 0; }
