/* Honest Pool Service — coastal identity
   Palette matched to the owner's logo (2026-09-14): pale cool-white surface,
   logo blue #005098 (dominant), mid blue (accent), warm gold (CTA). Fraunces (display serif) + Mulish (humanist sans). */

:root {
	--surface:  #F4F7FA;
	--surface-2:#FFFFFF;
	--deep:     #005098;
	--deep-2:   #003B73;
	--water:    #3D84C0;
	--water-lt: #9CC4E4;
	--sun:      #E4A426;
	--sun-deep: #C8871A;
	--ink:      #12304A;
	--ink-soft: #4A6378;
	--mist:     #DCE7F1;
	--line:     #C5D6E6;

	--wrap: 1140px;
	--r: 14px;
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Mulish", "Segoe UI", Helvetica, sans-serif;
	--shadow: 0 18px 40px -22px rgba(0, 59, 115, 0.45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--surface);
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation: none !important; transition: none !important; }
}

img { max-width: 100%; display: block; }
a { color: var(--water); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; max-width: 64ch; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }

/* ---- Header ---- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(244,247,250,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
/* The header gets a wider, tighter wrap than page content so the six menu items and the call pill sit on one line. */
.site-head .wrap { max-width: 1360px; padding-inline: clamp(12px, 1.6vw, 24px); }
.head-inner { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; border-radius: 50%;
	background: radial-gradient(circle at 32% 30%, var(--water-lt), var(--water) 45%, var(--deep) 100%);
	box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), 0 4px 10px -3px rgba(0,59,115,.6); flex: none; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.01em; }
.brand-name em { font-style: normal; font-size: .62em; color: var(--water); font-weight: 700; vertical-align: super; margin-left: 3px; }
.nav { display: flex; gap: clamp(12px, 1.5vw, 22px); margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .94rem; padding: 6px 2px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--deep); }
.nav a[aria-current="page"] { color: var(--deep); border-bottom-color: var(--sun); }
.call-pill { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; background: var(--deep); color: #fff; padding: 9px 18px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; flex: none; }
.call-pill:hover { background: var(--deep-2); }
.call-label { font-size: .66rem; letter-spacing: .04em; color: var(--water-lt); }
.call-num { font-weight: 700; font-size: 1rem; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: 1rem; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-sun { background: var(--sun); color: #29200a; box-shadow: 0 12px 26px -12px rgba(200,135,26,.8); }
.btn-sun:hover { background: var(--sun-deep); }
.btn-ghost { background: transparent; color: var(--deep); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--deep); background: #fff; }

/* ---- Hero: sunlit pool water as atmosphere (one orchestrated moment) ---- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #005098 0%, #0B5CA6 40%, #2F7FBF 100%); color: #fff; }
.hero::before { /* caustic shimmer */ content: ""; position: absolute; inset: -40% -10% auto -10%; height: 140%;
	background:
		radial-gradient(40% 30% at 20% 15%, rgba(255,255,255,.18), transparent 60%),
		radial-gradient(30% 22% at 78% 30%, rgba(156,196,228,.35), transparent 60%),
		radial-gradient(50% 30% at 60% 90%, rgba(0,59,115,.55), transparent 70%);
	filter: blur(6px); animation: drift 18s ease-in-out infinite alternate; }
.hero::after { /* waterline at the bottom edge */ content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
	background: linear-gradient(to top, rgba(244,247,250,.9), transparent); }
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1.02); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(64px, 11vw, 116px); display: grid; gap: 30px; max-width: 760px; }
.hero .rating { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: #eef5fc; }
.hero .stars { color: var(--sun); letter-spacing: 2px; font-size: 1.05rem; }
.hero h1 { color: #fff; }
.hero .lede { font-size: clamp(1.1rem, 2vw, 1.28rem); color: #dbe9f7; max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 6px; font-size: .92rem; color: #cbdff3; }
.trust-row b { color: #fff; font-weight: 700; }

/* ---- Generic section ---- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tint { background: var(--surface-2); border-block: 1px solid var(--mist); }
.section-deep { background: var(--deep); color: #fff; }
.section-deep h2, .section-deep h3 { color: #fff; }
.lead-line { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.section-deep .lead-line { color: #cfe0f2; }
.eyebrow { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--water); margin: 0 0 .4em; }
.section-deep .eyebrow { color: var(--water-lt); }

/* ---- Standards: trust pillars, not identical cards ---- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2px; margin-top: 34px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pillar { background: var(--surface-2); padding: 28px 26px; }
.pillar h3 { color: var(--deep); margin-bottom: .35em; }
.pillar p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* ---- Weekly checklist ---- */
.checklist { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px 34px; }
.checklist li { position: relative; padding-left: 40px; font-weight: 500; align-self: start; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--water); }
.checklist li::after { content: ""; position: absolute; left: 9px; top: 6px; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(42deg); }

/* ---- Service area ---- */
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.areas span { background: var(--surface); border: 1px solid var(--line); color: var(--deep); font-weight: 600; padding: 8px 16px; border-radius: 999px; }
.section-deep .areas span { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }

/* ---- Testimonials ---- */
.quotes { columns: 2; column-gap: 26px; margin-top: 34px; }
.quote { break-inside: avoid; margin: 0 0 26px; background: var(--surface-2); border: 1px solid var(--mist); border-left: 4px solid var(--sun); border-radius: 0 var(--r) var(--r) 0; padding: 24px 26px; }
.quote p { margin: 0 0 12px; font-size: 1.04rem; }
.quote .who { font-weight: 700; color: var(--deep); font-size: .92rem; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(120deg, var(--deep) 0%, #2270B3 100%); color: #fff; text-align: center; }
.cta-band .inner { padding-block: clamp(48px, 7vw, 78px); display: grid; gap: 20px; justify-items: center; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: #d6e6f5; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---- Article / inner pages ---- */
.page-head { background: linear-gradient(160deg, var(--deep), #2F7FBF); color: #fff; }
.page-head .inner { padding-block: clamp(52px, 8vw, 84px); }
.page-head h1 { color: #fff; max-width: 20ch; }
.page-head p { color: #d6e6f5; font-size: 1.15rem; max-width: 60ch; margin: 0; }
.prose { max-width: 68ch; }
.prose p { font-size: 1.06rem; }
.prose h2 { margin-top: 1.6em; }
.split { display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: start; }
.aside-card { background: var(--surface-2); border: 1px solid var(--mist); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); position: sticky; top: 96px; }
.aside-card h3 { color: var(--deep); }
.aside-card .stat { font-family: var(--serif); font-size: 2.4rem; color: var(--water); line-height: 1; }

/* ---- Contact form ---- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 20px; margin-top: 8px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .92rem; color: var(--deep); }
input, textarea, select { font-family: var(--sans); font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 3px solid var(--sun); outline-offset: 1px; border-color: var(--water); }
textarea { min-height: 130px; resize: vertical; }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.notice.ok { background: #e4f4ef; border: 1px solid #9fd6c3; color: #10604a; }
.notice.err { background: #fbe9e6; border: 1px solid #e6a99f; color: #8a2b1c; }

/* ---- Footer ---- */
.site-foot { background: var(--deep-2); color: #cfe0f2; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; padding-block: 56px 34px; }
.site-foot .brand-name { color: #fff; display: inline-block; margin-bottom: 10px; }
.site-foot p { color: #b3cde6; font-size: .96rem; }
.site-foot h3 { color: #fff; font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: none; margin-bottom: 12px; }
.site-foot a { color: #eef5fc; }
.foot-cta { display: inline-block; margin-top: 6px; background: var(--sun); color: #29200a !important; font-weight: 700; padding: 9px 18px; border-radius: 999px; text-decoration: none; }
.foot-base { display: flex; justify-content: space-between; gap: 12px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; color: #93b5d6; }

/* ---- Mobile ---- */
@media (max-width: 860px) {
	.nav { display: none; }
	.call-pill { margin-left: auto; }
	.split { grid-template-columns: 1fr; }
	.aside-card { position: static; }
	.quotes { columns: 1; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
	.foot-grid { grid-template-columns: 1fr; }
	.foot-base { flex-direction: column; }
}

/* ---- Utilities (replace one-off inline styles) ---- */
.mt-md { margin-top: 20px; }
.mt-lg { margin-top: 28px; }
.mt-xl { margin-top: 40px; }
.m0 { margin: 0; }
.big { font-size: 1.15rem; }
.opt { font-weight: 400; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; }
.link-lt { color: var(--water-lt); font-weight: 700; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }

/* ---- Area chips as links ---- */
.areas a { background: var(--surface); border: 1px solid var(--line); color: var(--deep); font-weight: 600; padding: 8px 16px; border-radius: 999px; text-decoration: none; }
.areas a:hover { border-color: var(--water); background: #fff; }
.section-deep .areas a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.section-deep .areas a:hover { background: rgba(255,255,255,.18); }
.foot-areas a { text-decoration: none; }
.foot-areas a:hover { text-decoration: underline; }

/* ---- Mobile menu (CSS-only) ---- */
.nav-toggle, .nav-burger { display: none; }
@media (max-width: 1024px) {
	.head-inner { flex-wrap: wrap; }
	.nav-burger { display: grid; gap: 5px; width: 40px; height: 40px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; order: 3; }
	.nav-burger span { display: block; height: 2px; background: var(--deep); border-radius: 2px; }
	.call-pill { order: 2; }
	.nav { display: none; order: 4; flex-basis: 100%; flex-direction: column; gap: 0; margin: 0 0 12px; border-top: 1px solid var(--line); }
	.nav a { padding: 12px 4px; border-bottom: 1px solid var(--mist); }
	.nav a[aria-current="page"] { border-bottom-color: var(--sun); }
	.nav-toggle:checked ~ .nav { display: flex; }
	.nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--sun); }
}

/* ---- Area pages: direct answer + FAQ ---- */
.quick-answer { font-size: 1.12rem; font-weight: 500; color: var(--deep); background: var(--surface-2); border-left: 4px solid var(--water); border-radius: 0 var(--r) var(--r) 0; padding: 18px 22px; margin: 0 0 1.4rem; }
.faq { display: grid; gap: 10px; margin-top: 18px; }
.faq details { background: var(--surface-2); border: 1px solid var(--mist); border-radius: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--deep); padding: 16px 0; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 12px; font-size: 1.4rem; color: var(--water); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink); }

.foot-social a { font-weight: 600; }

.map-frame { margin-top: 26px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 7; max-width: 100%; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
@media (max-width: 640px) { .map-frame { aspect-ratio: 4 / 3; } }

/* ---- Logo ---- */
.brand-logo { height: 52px; width: auto; display: block; }
.foot-tagline { font-family: var(--serif); font-style: italic; color: #fff; font-size: 1.05rem; margin: 0 0 8px; }
@media (max-width: 860px) { .brand-logo { height: 42px; } }
@media (max-width: 420px) { .brand-logo { height: 34px; } }
.foot-mark { width: 72px; height: 72px; background: #fff; border-radius: 50%; padding: 8px; margin-bottom: 12px; }

/* ---- Real photos (Chris's 2018 pool shots) ---- */
.hero-photo { background: var(--deep); }
.hero-bg { position: absolute; inset: 0; z-index: 0; margin: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.hero-photo::before { z-index: 1; background:
	linear-gradient(100deg, rgba(0,59,115,.88) 0%, rgba(0,80,152,.72) 45%, rgba(0,80,152,.35) 100%);
	inset: 0; height: auto; filter: none; animation: none; }
.hero-photo .hero-inner { z-index: 2; }
.photo { margin: 30px 0 10px; }
.photo img { width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--shadow); }
.photo figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 10px; font-style: italic; }
.cta-band { position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/water-texture-1600.jpg") center / cover no-repeat; opacity: .28; mix-blend-mode: luminosity; }
.cta-band .inner { position: relative; z-index: 1; }

/* ---- Pricing (public "starting at" sheet) ---- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 30px; align-items: start; }
.plan { position: relative; background: var(--surface-2); border: 1px solid var(--mist); border-radius: var(--r); padding: 30px 28px; display: grid; gap: 12px; }
.plan-featured { border-color: var(--water); box-shadow: var(--shadow); }
.plan-tag { position: absolute; top: -13px; left: 26px; background: var(--sun); color: #29200a; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan h3 { color: var(--deep); font-size: 1.25rem; margin: 0; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price b { font-family: var(--serif); font-size: 2rem; color: var(--water); font-weight: 600; line-height: 1; }
.plan-price span { color: var(--ink-soft); font-size: .92rem; }
.plan-blurb { color: var(--ink-soft); margin: 0; }
.plan .btn { justify-self: start; margin-top: 6px; }

/* ---- Hero: two photos, slow crossfade (the old site had a slider) ---- */
.hero-bg-2 { opacity: 0; animation: heroFade 16s ease-in-out infinite; }
@keyframes heroFade { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-bg-2 { display: none; } }
.areas a[aria-current="page"] { background: var(--deep); color: #fff; border-color: var(--deep); }
.portrait { display: block; margin: -26px -26px 18px; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--r) var(--r) 0 0; display: block; }

/* ---- Topic grid: full-width prose blocks, two up on desktop ---- */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px 48px; margin-top: 30px; }
.topic h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--deep); margin: 0 0 .4em; }
.topic p { font-size: 1.04rem; max-width: none; margin: 0 0 .8rem; }
.topic p:last-child { margin-bottom: 0; }

/* ---- Google reviews feed ---- */
.review-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.review-score { font-family: var(--serif); font-size: 2rem; color: var(--deep); line-height: 1; }
.review-summary .stars { color: var(--sun); letter-spacing: 2px; font-size: 1.2rem; }
.review-count { color: var(--ink-soft); font-weight: 600; }
.review-cta { margin-left: auto; font-weight: 700; color: var(--deep); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.review-cta:hover { border-color: var(--deep); }
.quote-stars { color: var(--sun); letter-spacing: 2px; margin-bottom: 8px; font-size: .95rem; }
.quote .when, .quote .via { font-weight: 500; color: var(--ink-soft); }
@media (max-width: 640px) { .review-cta { margin-left: 0; } }
.area-photo { margin: 0 0 1.5rem; }
.area-photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.area-photo figcaption { margin-top: .5rem; font-size: .86rem; color: var(--muted, #5b6b7a); }
