/* Sharkey Pools — shared site styles */

/* Self-hosted fonts (variable, Latin subset) so text doesn't wait on Google Fonts */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("/assets/fonts/fredoka-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --navy: #0f2747;
  --navy-2: #173a66;
  --blue: #1d69c7;
  --blue-dark: #1758a8;
  --aqua: #36c3e8;
  --aqua-soft: #e6f7fc;
  --sand: #f7f3ea;
  --sun: #ffb020;
  --ink: #1b2533;
  --muted: #566274;
  --line: #dfe5ee;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(15, 39, 71, .12);
  --shadow-sm: 0 2px 10px rgba(15, 39, 71, .08);
  --wrap: 1180px;
  --font-head: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; height: auto; }
picture { display: contents; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--sand { background: var(--sand); }
.section--aqua { background: var(--aqua-soft); }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .6rem;
}
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--sun); color: var(--navy); box-shadow: 0 6px 16px rgba(255, 176, 32, .35); }
.btn--primary:hover { background: #ffbd45; }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-dark); }
.btn--ghost { border-color: currentColor; color: var(--white); background: transparent; }
.btn--ghost-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Top bar + header */
.topbar { background: var(--navy); color: #cfe0f5; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 700; }
.topbar__areas { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .wrap > span:last-child { flex: none; white-space: nowrap; }

.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 20px; height: 78px; }
.header__logo img { height: 60px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a, .nav button {
  display: block; padding: 10px 12px; border-radius: 8px; border: 0; background: none;
  font: 600 .95rem var(--font-body); color: var(--ink); text-decoration: none; cursor: pointer;
}
.nav a:hover, .nav button:hover { background: var(--aqua-soft); color: var(--navy); }
.nav .has-sub > button::after { content: ""; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav .sub {
  position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub, .nav .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { font-weight: 500; }
.header__cta { display: flex; align-items: center; gap: 12px; }
.header__phone { font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header__cta .btn { padding: 12px 20px; }
.nav__cta, .nav__mobile-only { display: none; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; color: var(--white); background: var(--navy); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 30, 58, .9) 0%, rgba(10, 30, 58, .65) 45%, rgba(10, 30, 58, .15) 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--aqua); }
.hero__lead { font-size: 1.2rem; color: #dbe8f7; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero__rating { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #dbe8f7; }
.stars { color: var(--sun); letter-spacing: 2px; font-size: 1.1rem; }

/* Quote card */
.quote-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.quote-card h2 { font-size: 1.6rem; margin-bottom: .2em; }
.quote-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--font-body); color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcfe;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 209, .15); background: var(--white); }
.field textarea { resize: vertical; min-height: 80px; }
.radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink); cursor: pointer; margin: 0; }
.radio-row input { width: auto; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.quote-card .btn { width: 100%; margin-top: 16px; }
.form-note { font-size: .8rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.form-error { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: #fdecec; color: #8a1c1c; font-size: .9rem; }
.form-error a { color: inherit; font-weight: 700; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
.form-success { display: none; text-align: center; padding: 24px 6px; }
.form-success.show { display: block; }
.form-success .check { width: 56px; height: 56px; border-radius: 50%; background: #e3f6ea; color: #1d8a4a; display: grid; place-items: center; margin: 0 auto 12px; font-size: 1.8rem; }

/* Proof strip */
.proof { background: var(--white); border-bottom: 1px solid var(--line); }
.proof ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.proof li { display: flex; align-items: center; gap: 14px; }
.proof .ico { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--aqua-soft); color: var(--blue); display: grid; place-items: center; }
.proof .ico svg { width: 26px; height: 26px; }
.proof strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); font-weight: 600; line-height: 1.2; }
.proof span { font-size: .9rem; color: var(--muted); line-height: 1.3; display: block; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; text-decoration: none; color: inherit; transition: .2s ease;
}
.service:hover { border-color: var(--aqua); box-shadow: var(--shadow); transform: translateY(-3px); }
.service .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--aqua-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.service .ico svg { width: 28px; height: 28px; }
.service p { color: var(--muted); font-size: .97rem; flex: 1; }
.service .more { font-weight: 700; color: var(--blue); font-size: .95rem; }
.service--feature { background: var(--navy); color: #d6e4f5; border-color: var(--navy); }
.service--feature h3 { color: var(--white); }
.service--feature p { color: #b9cde6; }
.service--feature .ico { background: rgba(54, 195, 232, .15); color: var(--aqua); }
.service--feature .more { color: var(--aqua); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--sun); color: var(--navy); padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; align-self: flex-start; }
.exclusions { margin-top: 28px; padding: 16px 20px; border-radius: var(--radius); background: var(--white); border: 1px dashed #b9c6d8; color: var(--muted); font-size: .95rem; }
.exclusions strong { color: var(--navy); }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__badge { position: absolute; left: -18px; bottom: -18px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 18px 12px 14px; display: flex; align-items: center; gap: 12px; max-width: 290px; }
.split__badge--right { left: auto; right: -18px; }
.split__badge img { width: 52px; flex: none; height: auto; aspect-ratio: auto; box-shadow: none; border-radius: 0; }
.split__badge strong { display: block; color: var(--navy); font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin-bottom: 2px; }
.split__badge span { display: block; font-size: .85rem; line-height: 1.35; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 15px no-repeat; }
.checklist strong { color: var(--navy); }

/* Before / after */
.ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 959 / 1194; max-height: 620px; margin: 0 auto; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 4px; margin-left: -2px; background: var(--white); pointer-events: none; }
.ba__handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; box-shadow: var(--shadow); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__label { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.ba__label--before { left: 14px; background: rgba(0, 0, 0, .55); color: var(--white); }
.ba__label--after { right: 14px; background: var(--white); color: var(--navy); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); position: relative; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--white); font: 600 1.25rem var(--font-head); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

/* Service area */
.areas { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.areas__map img { border-radius: var(--radius-lg); box-shadow: var(--shadow); max-height: 640px; width: auto; margin: 0 auto; }
.area-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 24px; }
.area-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 700; transition: .15s ease; }
.area-links a:hover { border-color: var(--blue); color: var(--blue); }
.area-links a::after { content: "\2192"; color: var(--blue); }
.also { font-size: .95rem; color: var(--muted); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; margin: 0; }
.review blockquote { margin: 10px 0 18px; font-size: 1.02rem; flex: 1; }
.review figcaption { font-weight: 700; color: var(--navy); }
.review figcaption span { display: block; font-weight: 500; font-size: .85rem; color: var(--muted); }
.reviews-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 1.12rem var(--font-head); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--aqua-soft); color: var(--blue); display: grid; place-items: center; font-size: 1.3rem; transition: .2s; }
.faq details[open] summary::after { content: "\2212"; background: var(--blue); color: var(--white); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue) 100%); color: var(--white); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.cta-band img { width: 150px; }
.cta-band h2 { color: var(--white); margin-bottom: .25em; }
.cta-band p { color: #cfe0f5; margin: 0; }
.cta-band__actions { display: flex; flex-direction: column; gap: 10px; }

/* Footer */
.footer { background: var(--navy); color: #b9cde6; padding: 64px 0 28px; margin-top: clamp(56px, 8vw, 96px); font-size: .95rem; }
.footer a { color: #dbe8f7; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__title { color: var(--white); font-size: 1.05rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__logo { width: 190px; margin-bottom: 16px; }
.footer address { font-style: normal; line-height: 1.7; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: .85rem; }

/* Pricing plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; }
.plan h3 { font-size: 1.45rem; margin-bottom: .2em; }
.plan__price { font: 600 clamp(2rem, 3vw, 2.5rem)/1 var(--font-head); color: var(--navy); margin: 8px 0 12px; white-space: nowrap; }
.plan__price span { font-size: .5em; vertical-align: top; margin-right: 1px; }
.plan__price .plan__to { font-size: .8em; vertical-align: baseline; margin: 0 4px; opacity: .6; }
.plan__price small { font: 500 1rem var(--font-body); color: var(--muted); margin-left: 2px; }
.plan__fit { color: var(--muted); font-size: .97rem; min-height: 3em; }
.plan__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; flex: 1; align-content: start; }
.plan__list li { display: flex; gap: 10px; font-size: .97rem; }
.plan__list li::before { content: "\2713"; flex: none; font-weight: 700; color: var(--blue); }
.plan--feature { background: var(--navy); border-color: var(--navy); color: #d6e4f5; box-shadow: var(--shadow); }
.plan--feature h3, .plan--feature .plan__price { color: var(--white); }
.plan--feature .plan__fit, .plan--feature .plan__price small { color: #b9cde6; }
.plan--feature .plan__list li::before { color: var(--aqua); }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.offers p { margin: 0; padding: 16px 20px; border-radius: var(--radius); background: var(--white); border: 1px dashed #b9c6d8; color: var(--muted); font-size: .95rem; }
.offers strong { color: var(--navy); }
.consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .78rem; line-height: 1.45; color: var(--muted); }
.consent input { width: auto; margin-top: 2px; accent-color: var(--blue); flex: none; }

/* Inner page hero + breadcrumbs */
.page-hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #1d5aa3 100%); color: #d6e4f5; position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 56px; }
.page-hero--plain .wrap { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p.lead { font-size: 1.15rem; color: #cfe0f5; max-width: 620px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.page-hero__media img { border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; }
.crumbs li { color: #9fb8d8; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #6f8db3; }
.crumbs a { color: #cfe0f5; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--white); font-weight: 600; }

/* Long-form text */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose > :first-child { margin-top: 0; }
.prose .checklist { padding-left: 0; }
.prose .checklist li { margin-bottom: 0; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.aside-card { position: sticky; top: 100px; background: var(--sand); border-radius: var(--radius-lg); padding: 26px; }
.aside-card h3 { margin-bottom: .4em; }
.aside-card p { color: var(--muted); font-size: .95rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: .95rem; }
.aside-card ul a { text-decoration: none; font-weight: 600; }

/* Cards + info boxes */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--aqua-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.card .ico svg { width: 24px; height: 24px; }
.notice { padding: 18px 22px; border-radius: var(--radius); background: var(--aqua-soft); border-left: 4px solid var(--blue); color: var(--ink); margin: 1.4em 0; }
.notice strong { color: var(--navy); }
.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; font-size: .97rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 600; }
.compare td:first-child { font-weight: 700; color: var(--navy); }
.table-scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* Team */
.person { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.person img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; }
.person h3 { margin-bottom: .1em; }
.person .role { color: var(--blue); font-weight: 700; font-size: .9rem; margin-bottom: .8em; display: block; }
.person p { color: var(--muted); margin: 0; }

/* Team grid */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 24px; max-width: 900px; margin: 0 auto; }
.member { margin: 0; width: calc(25% - 18px); text-align: center; }
.member img { width: 100%; max-width: 180px; aspect-ratio: 1; margin: 0 auto 12px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.member figcaption { font: 600 1.15rem var(--font-head); color: var(--navy); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact-grid .quote-card { box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--aqua-soft); color: var(--blue); display: grid; place-items: center; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-list span { color: var(--muted); font-size: .95rem; }

/* Reviews page */
.rating-summary { display: inline-flex; align-items: center; gap: 14px; background: var(--white); border-radius: 999px; padding: 12px 22px; box-shadow: var(--shadow-sm); font-weight: 700; color: var(--navy); margin-top: 8px; }
a.rating-summary { text-decoration: none; }
a.rating-summary:hover { box-shadow: var(--shadow); }
.rating-summary .big { font: 600 1.6rem var(--font-head); }

/* Pool Care articles */
.post-meta { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: var(--aqua); margin-bottom: 10px; }
.post__image { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: 32px; }
.post h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.post img:not(.post__image) { border-radius: var(--radius); margin: 1.4em 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: .2s ease; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--aqua); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .post-meta { color: var(--blue); }
.post-card h3 { font-size: 1.2rem; }
.post-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-card .more { font-weight: 700; color: var(--blue); font-size: .95rem; }

/* FAQs page */
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.faq-jump a { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: var(--white); text-decoration: none; font-size: .9rem; font-weight: 600; }
.faq-jump a:hover { background: rgba(255, 255, 255, .22); }
.faq--grouped h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 48px 0 8px; }
.faq--grouped h2:first-child { margin-top: 0; }

/* Mobile sticky action bar */
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .header__phone { display: none; }
  .nav a, .nav button { padding: 10px 9px; font-size: .9rem; }
}
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .header__cta { display: none; }
  .nav { position: fixed; inset: 78px 0 0 0; background: var(--white); padding: 12px 20px 120px; overflow-y: auto; display: none; margin: 0; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav button { padding: 16px 4px; font-size: 1.05rem; width: 100%; text-align: left; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; display: none; }
  .nav .has-sub.open > .sub { display: block; }
  .nav .has-sub:hover > .sub { display: none; }
  .nav .has-sub.open:hover > .sub { display: block; }
  .nav .sub a { padding: 10px 4px; font-size: 1rem; }
  .nav__mobile-only { display: block; }
  .nav__cta { display: block; padding-top: 20px; border: 0 !important; }
  .nav__cta .btn, .nav__cta .btn:hover { width: 100%; text-align: center; background: var(--sun); color: var(--navy); }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; gap: 32px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(10, 30, 58, .7) 0%, rgba(10, 30, 58, .92) 55%); }
  .proof ul { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .split, .areas { grid-template-columns: 1fr; gap: 40px; }
  .split--rev .split__media { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .page-hero .wrap, .with-aside, .contact-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .cards, .post-grid { grid-template-columns: 1fr 1fr; }
  .plans, .offers { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band img { margin: 0 auto; width: 120px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -4px 20px rgba(15, 39, 71, .15); }
  .mobile-bar .btn { padding: 13px 8px; font-size: .95rem; }
  body { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar__areas, .topbar__login { display: none; }
  .topbar .wrap { justify-content: center; }
  .header .wrap { height: 68px; }
  .header__logo img { height: 52px; }
  .nav { inset: 68px 0 0 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-card { padding: 22px 18px; }
  .proof ul { grid-template-columns: 1fr; gap: 16px; }
  .services, .reviews, .area-links { grid-template-columns: 1fr; }
  .split__badge, .split__badge--right { position: static; max-width: none; margin-top: 12px; box-shadow: var(--shadow-sm); }
  .footer__grid { grid-template-columns: 1fr; }
  .cards, .cards--2, .post-grid { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; text-align: center; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .compare td { padding: 2px 0; border: 0; }
  .compare td:first-child { font-size: 1.05rem; margin-bottom: 4px; }
  .compare td:last-child { color: var(--muted); font-size: .9rem; }
  .person img { margin: 0 auto; width: 150px; height: 150px; }
  .member { width: calc(50% - 12px); }
  .member img { max-width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
