/* ========================================================================
   WEEKLY POOL SERVICE — page-specific styles only.
   Shared shapes (.cred-bar, .cta-section/.cta-creds, buttons, nav, footer,
   sticky bar) live in style.css and are NOT redeclared here.
   ======================================================================== */

/* =====================
   HERO (full-bleed photo)
   ===================== */
.wps-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
	padding: calc(84px + 7vw) clamp(24px,3.33vw,80px) 7vw;
	text-align: left;
	color: #fff;
	background: linear-gradient(155deg,#050d24 0%,#091e52 40%,#0f2868 70%,#07183e 100%);
}
.wps-hero-photo { position: absolute; inset: 0; z-index: 0; }
.wps-hero-photo img,
.wps-hero-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wps-hero-overlay-left {
	position: absolute; inset: 0; z-index: 2;
	background: linear-gradient(108deg,rgba(2,52,143,0.97) 0%,rgba(2,52,143,0.88) 25%,rgba(2,52,143,0.55) 50%,rgba(2,52,143,0.15) 70%,transparent 85%);
}
.wps-hero-overlay-bottom {
	position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; height: 60%;
	background: linear-gradient(to top,rgba(1,15,55,0.78) 0%,transparent 100%);
}
.wps-hero-content {
	position: relative; z-index: 10;
	max-width: clamp(620px,52vw,1050px); margin: 0 auto 0 0; width: 100%;
	opacity: 0; transform: translateY(24px);
	animation: tpb-hero-fade-up 1.1s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
}
@keyframes tpb-hero-fade-up { to { opacity: 1; transform: translateY(0); } }
.wps-hero-eyebrow {
	font-family: var(--font-body); font-weight: 700;
	font-size: clamp(11px,0.73vw,16px); letter-spacing: 0.28em; text-transform: uppercase;
	color: #fff; margin: 0 0 1.45vw 0;
}
.wps-hero-h1 {
	font-family: var(--font-display); font-weight: 700;
	font-size: clamp(38px,4.58vw,100px); letter-spacing: 0.04em; line-height: 1.0;
	color: #fff; text-transform: uppercase; margin: 0 0 1.65vw 0;
}
.wps-hero-sub {
	font-size: clamp(15px,0.89vw,20px); line-height: 1.85; color: rgba(255,255,255,0.85);
	max-width: clamp(480px,34vw,660px); margin: 0 0 2vw 0;
}
.wps-hero-cta-pair { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-hero-primary {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--font-body); font-weight: 800;
	font-size: 14px; letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none;
	padding: 18px 32px; border-radius: 3px;
	background: #fff; color: var(--navy);
	transition: transform 0.2s ease, background 0.2s ease;
}
.btn-hero-primary:hover { background: var(--off); transform: translateY(-1px); }

/* =====================
   STEP SECTIONS (shared shell for steps 1-3)
   ===================== */
.step-section { padding: 104px 48px; }
.step-section-inner { max-width: clamp(680px,75vw,1100px); margin: 0 auto; }
.step-section-light { background: #fff; }
.step-section-alt { background: var(--alt); }

.step-band { margin: 0 0 56px 0; }
.step-band-stepnum {
	font-family: var(--font-display); font-weight: 500;
	font-size: 13px; letter-spacing: 0.28em; color: var(--muted); text-transform: uppercase;
	margin: 0 0 8px 0;
}
.step-band-label-row { display: flex; align-items: center; gap: 24px; }
.step-band-label {
	font-family: var(--font-display); font-weight: 700;
	font-size: clamp(18px,1.15vw,24px); letter-spacing: 0.22em; color: var(--navy); text-transform: uppercase;
	white-space: nowrap; flex-shrink: 0;
}
.step-band-rule { flex: 1; height: 1px; background: var(--line); }

.step-h2 {
	font-family: var(--font-display); font-weight: 700;
	font-size: var(--text-section-headline); letter-spacing: 0.04em; line-height: 1;
	color: var(--navy); text-transform: uppercase; margin: 0 0 20px 0;
}
.step-rule { width: 48px; height: 3px; background: var(--arctic); margin: 0 0 40px 0; }
.step-lead {
	font-size: clamp(18px,1.1vw,22px); line-height: 1.75; color: var(--charcoal);
	margin: 0 0 56px 0;
}

/* =====================
   STEP 1 — New Pool Service Inspection (alt bg)
   ===================== */
.npsi-section { padding: 104px 48px; background: var(--alt); }
.npsi-inner { max-width: clamp(680px,75vw,1100px); margin: 0 auto; }
.npsi-prose {
	font-size: clamp(18px,1.1vw,22px); line-height: 1.75; color: var(--charcoal);
	margin: 0 0 32px 0;
}
.npsi-prose strong { color: var(--navy); font-weight: 700; }
.section-cta {
	display: inline-block; background: var(--navy); color: #fff;
	font-family: var(--font-body); font-weight: 700; font-size: 14px;
	padding: 18px 36px; text-decoration: none;
	letter-spacing: 0.08em; text-transform: uppercase; border-radius: 3px;
	transition: background 0.2s; margin-top: 32px;
}
.section-cta:hover { background: #011F6B; }

/* =====================
   STEP 2 — Choose Your Program (twin cards)
   ===================== */
#choose-program .step-section-inner { max-width: clamp(680px,80vw,1200px); }
.var-a-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.var-a-wrap {
	display: flex; flex-direction: column; text-decoration: none; cursor: pointer;
	transition: transform 0.3s ease;
}
.var-a-wrap:hover .var-a-card {
	box-shadow: 0 24px 64px rgba(2,52,143,0.25);
	border-color: rgba(2,52,143,0.25); border-top-color: #011F6B;
}
.var-a-wrap:hover .prev-rule { width: 56px; background: var(--arctic); }
.var-a-wrap:hover .prev-cta { background: #011F6B; }
.var-a-card {
	background: var(--white); border: 1px solid var(--line);
	border-top: 3px solid var(--navy); border-radius: 4px 4px 0 0;
	padding: 40px 36px 36px; display: flex; flex-direction: column; flex: 1;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.prev-name {
	font-family: var(--font-display); font-weight: 700;
	font-size: clamp(20px,2vw,26px); letter-spacing: 0.04em; line-height: 1.05;
	color: var(--navy); text-transform: uppercase; margin: 0;
	min-height: 60px; display: flex; align-items: flex-start;
}
.prev-fit {
	font-family: var(--font-body); font-weight: 500; font-style: italic;
	font-size: 14px; color: var(--muted); line-height: 1.5; letter-spacing: 0.01em;
	margin: 10px 0 8px 0;
}
.prev-rule {
	width: 36px; height: 3px; background: var(--arctic); margin: 20px 0; flex-shrink: 0;
	transition: width 0.4s cubic-bezier(0.16,1,0.3,1), background 0.2s ease;
}
.prev-mini-label {
	font-family: var(--font-body); font-weight: 700;
	font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--muted); margin: 0 0 10px 0;
}
.prev-mini-list { margin: 0 0 20px 0; padding: 0; list-style: none; }
.prev-mini-list li {
	position: relative; padding-left: 14px;
	font-size: 15px; color: var(--charcoal); line-height: 1.3; margin-bottom: 8px; font-weight: 500;
}
.prev-mini-list li::before {
	content: ""; position: absolute; left: 0; top: 8px;
	width: 4px; height: 4px; background: var(--arctic); border-radius: 50%;
}
.prev-algae-badge {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-body); font-weight: 600; font-style: italic;
	font-size: 13px; color: var(--algae); margin-bottom: 18px;
}
.prev-algae-badge svg { width: 14px; height: 14px; }
.prev-no-algae {
	font-family: var(--font-body); font-weight: 500; font-style: italic;
	font-size: 13px; color: var(--muted); margin-bottom: 18px;
}
.prev-price-line {
	font-size: 14px; color: var(--muted); font-weight: 500;
	padding: 20px 0 0; margin-top: auto;
	border-top: 1px solid var(--line); line-height: 1.5;
}
.prev-price-line strong { color: var(--navy); font-weight: 900; font-size: 15px; letter-spacing: -0.01em; }
.prev-cta {
	display: flex; align-items: center; justify-content: center;
	background: var(--navy); color: #fff;
	font-family: var(--font-body); font-size: 14px; font-weight: 700;
	letter-spacing: 0.08em; text-transform: uppercase;
	padding: 18px 20px; min-height: 72px;
	border-top: 1px solid rgba(255,255,255,0.12); border-radius: 0 0 4px 4px;
	text-decoration: none; text-align: center; line-height: 1.5;
	transition: background 0.15s;
}

/* =====================
   STEP 3 — Startup Service (L/R split)
   ===================== */
.startup-split { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 48px; margin-top: 48px; }
.startup-divider { background: var(--line); width: 1px; align-self: stretch; }
.startup-col-label {
	font-family: var(--font-display); font-weight: 700;
	font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy);
	margin: 0 0 20px 0;
}
.startup-col-prose { font-size: 16px; line-height: 1.7; color: var(--charcoal); margin: 0 0 18px 0; }
.startup-col-list { margin: 0 0 18px 0; padding: 0; list-style: none; }
.startup-col-list li {
	position: relative; padding-left: 20px;
	font-size: 16px; color: var(--charcoal); line-height: 1.55; margin-bottom: 12px;
}
.startup-col-list li::before {
	content: ""; position: absolute; left: 0; top: 8px;
	width: 4px; height: 4px; background: var(--arctic); border-radius: 50%;
}
.startup-pricing { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; }
.startup-pricing-label {
	font-family: var(--font-body); font-weight: 700;
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
	margin: 0 0 14px 0;
}
.startup-pricing-line { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.startup-pricing-amount { font-family: var(--font-body); font-weight: 700; font-size: 24px; color: var(--navy); letter-spacing: -0.01em; }
.startup-pricing-meta { font-family: var(--font-body); font-weight: 500; font-style: italic; font-size: 14px; color: var(--muted); }

/* =====================
   FAQ SECTION (accordion — vanilla JS in theme.js)
   ===================== */
.wps-faq-section { padding: 80px 48px 120px; background: var(--white); }
.wps-faq-inner { max-width: clamp(680px,72vw,1000px); margin: 0 auto; }
.wps-faq-header { margin-bottom: 48px; }
.wps-faq-eyebrow {
	font-family: var(--font-body); font-weight: 700;
	font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--arctic);
	margin: 0 0 16px 0;
}
.wps-faq-headline {
	font-family: var(--font-display); font-weight: 700;
	font-size: clamp(28px,3.2vw,42px); letter-spacing: 0.04em; line-height: 1;
	color: var(--navy); text-transform: uppercase; margin: 0;
}
.wps-faq-card { background: var(--alt); padding: 48px; border-radius: 4px; border: 1px solid rgba(0,0,0,0.06); }
.wps-faq-card .faq-list { border-top: 1px solid rgba(0,0,0,0.1); }
.wps-faq-card .faq-item { border-bottom: 1px solid rgba(0,0,0,0.1); }
.wps-faq-card .faq-trigger {
	width: 100%; background: transparent; border: none;
	padding: 22px 0; display: flex; align-items: center; justify-content: space-between;
	cursor: pointer; font-family: var(--font-body);
	font-size: clamp(17px, calc(0.2vw + 16px), 19px); font-weight: 600; color: var(--charcoal);
	text-align: left; letter-spacing: -0.005em;
	-webkit-appearance: none; appearance: none;
}
.wps-faq-card .faq-trigger:hover { color: var(--navy); }
.wps-faq-card .faq-icon {
	width: 18px; height: 18px; flex-shrink: 0; margin-left: 24px;
	position: relative; display: flex; align-items: center; justify-content: center;
}
.wps-faq-card .faq-icon::before,
.wps-faq-card .faq-icon::after {
	content: ""; position: absolute; background: var(--arctic);
	transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.wps-faq-card .faq-icon::before { width: 14px; height: 2px; }
.wps-faq-card .faq-icon::after { width: 2px; height: 14px; }
.wps-faq-card .faq-item.open .faq-icon::after { transform: rotate(90deg); }
.wps-faq-card .faq-body { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1); }
.wps-faq-card .faq-body-inner { padding: 0 0 26px; font-size: clamp(15.5px, calc(0.18vw + 14.7px), 17px); line-height: 1.7; color: var(--muted); }
.wps-faq-card .faq-body-inner p + ul { margin-top: 4px; }

/* Program card names: the global .tpb-mark offset sits too high on Oswald caps
   and crowds the next word, so lower it to cap height and add breathing room. */
.prev-name .tpb-mark { vertical-align: 0.6em; margin-right: 0.18em; }
.wps-faq-card .faq-body-inner p { margin-bottom: 14px; }
.wps-faq-card .faq-body-inner p:last-child { margin-bottom: 0; }
.wps-faq-card .faq-body-inner ul { list-style: none; padding: 0; margin: 14px 0; }
.wps-faq-card .faq-body-inner ul li { position: relative; padding-left: 20px; margin-bottom: 10px; line-height: 1.65; }
.wps-faq-card .faq-body-inner ul li::before {
	content: ""; position: absolute; left: 0; top: 8px;
	width: 4px; height: 4px; background: var(--arctic); border-radius: 50%;
}
.wps-faq-card .faq-body-inner strong { color: var(--charcoal); font-weight: 700; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 760px) {
	.wps-hero { padding: 120px 24px 64px; }
	.wps-hero-content { max-width: 100%; }
	.wps-hero-sub { margin: 0 0 24px 0; max-width: 100%; }
	.wps-hero-cta-pair { flex-direction: column; align-items: stretch; }
	.wps-hero-h1 { font-size: clamp(32px,6.5vw,44px); }
	.wps-hero-h1 br { display: none; }
	.step-section, .npsi-section, .wps-faq-section { padding: 64px 24px; }
	.wps-faq-card { padding: 32px 24px; }
	.step-h2 { font-size: 32px; }
	.step-lead { font-size: 17px; }
	.var-a-grid { grid-template-columns: 1fr; gap: 16px; }
	.var-a-card { padding: 36px 28px 28px; }
	.prev-cta { font-size: 13px; min-height: 60px; }
	.startup-split { grid-template-columns: 1fr; gap: 40px; }
	.startup-divider { display: none; }
	.section-cta { display: block; text-align: center; width: 100%; }
}
@media (max-width: 480px) {
	.wps-hero-eyebrow { margin-bottom: 18px; letter-spacing: 0.22em; }
	.wps-hero-h1 { font-size: 30px; line-height: 1.1; }
	.wps-hero-sub { font-size: 15px; }
}


/* Closing CTA on a light #EEF1F6 band: the section above it is white, so the CTA
   ends in colour to separate cleanly from it (matches the mockup rhythm rule). */
.cta-section { background: var(--alt); border-top: none; border-bottom: none; }
