/*
Theme Name: San Diego Pure Water
Theme URI: https://www.sandiegopurewater.com/
Template: ascendly-base
Author: Misnomer Marketing
Author URI: https://misnomer.co/
Description: San Diego Pure Water child theme on the Ascendly Base engine. Tokens: teal, navy, sky, Barlow/Inter. All page content lives in the block editor, per-client values in Settings > Business Details.
Version: 0.2.3
Requires PHP: 7.4
Text Domain: sdpw-2026
*/

/* Tokens live in theme.json. This file carries only what theme.json cannot
   express for this client: the dark header chrome and its phone button. */

/* Phone CTA rendered by [phone_link], styled as the classic teal button.
   The 46px CTA height is the single source of truth for every button. */
.sdpw-phone-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 46px;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent-ink);
	border-radius: 8px;
	padding: 0 20px;
	font-family: var(--wp--preset--font-family--display, 'Barlow', sans-serif);
	font-weight: 800;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}
.sdpw-phone-btn:hover,
.sdpw-header .wp-block-button__link:hover {
	background: #08678A; /* brand teal-dark, the classic hover */
	color: var(--wp--preset--color--accent-ink);
}
.sdpw-btn-build .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent-bright);
	filter: brightness(1.06);
	color: var(--wp--preset--color--ink);
}

/* Utility bar stays one quiet line. */
.sdpw-utilbar p { margin: 0; }

/* Footer link lists: no bullets, calm color, breathing room. */
.sdpw-footer .sdpw-footer-links { list-style: none; padding-left: 0; }
.sdpw-footer .sdpw-footer-links li { margin-bottom: .55em; }
.sdpw-footer a { color: var(--wp--preset--color--dark-body); text-decoration: none; }
.sdpw-footer a:hover { color: var(--wp--preset--color--dark-ink); }
.sdpw-footer .sdpw-footer-phone {
	color: var(--wp--preset--color--accent-bright);
	font-weight: 700;
	text-decoration: none;
}
.sdpw-footer .wp-block-site-logo { margin-bottom: 12px; }

/* Header nav dropdowns inherit the navy ground. */
.sdpw-header .wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--muted);
	border-radius: 10px;
}

/* ==========================================================================
   SDPW component library, ported from the classic theme's stylesheet.
   Selectors are keyed to classNames the block content carries, and colors
   map to the theme.json presets so a token change updates everything.
   ========================================================================== */

:root {
	--teal: var(--wp--preset--color--accent);
	--teal-dark: #08678A;
	--sky: var(--wp--preset--color--accent-bright);
	--ink: var(--wp--preset--color--dark);
	--body: var(--wp--preset--color--body);
	--muted: var(--wp--preset--color--muted);
	--mist: var(--wp--preset--color--surface);
	--line: var(--wp--preset--color--line);
	--star: #F0A500;
}

/* section rhythm */
.sdpw-section { padding-top: 56px; padding-bottom: 56px; }
.sdpw-section-tight { padding-top: 40px; padding-bottom: 40px; }

/* section heads */
.sec-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-top: 0; }
.sec-head .lede, .lede { color: var(--muted); max-width: 58ch; margin-top: 8px; }
.sec-link { font-weight: 700; color: var(--teal); white-space: nowrap; font-size: 15px; text-decoration: none; }
.sec-link:hover { text-decoration: underline; }

/* hero */
.sdpw-hero { background: var(--mist); border-bottom: 1px solid var(--line); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); margin-bottom: 0; }
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--sky); display: inline-block; }
.sdpw-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.sdpw-hero h1 .hl { box-shadow: inset 0 -0.35em 0 rgba(94,200,232,.55); }
.sdpw-hero .sub { font-size: 17px; max-width: 52ch; }
.hero-callout { display: inline-flex; align-items: center; gap: 10px; background: rgba(94,200,232,.22); border: 1.5px solid var(--sky); border-radius: 10px; padding: 10px 16px; font-size: 14.5px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.hero-callout:hover { border-color: var(--teal); transform: translateY(-1px); }
.hero-callout .hc-new { background: var(--teal); color: #fff; font-weight: 800; font-size: 11px; letter-spacing: .06em; padding: 3px 8px; border-radius: 20px; flex-shrink: 0; }
.hero-callout .hc-arrow { color: var(--teal); font-weight: 800; }
.proof-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 14px; color: var(--muted); margin: 0; }
.proof-row .stars, .stars { color: var(--star); letter-spacing: 2px; }
.proof-row b { color: var(--ink); }
.sdpw-hero-photo img, .page-hero-photo img { border-radius: 12px; border: 4px solid #fff; box-shadow: 0 14px 34px rgba(10,37,64,.16); }
.sdpw-hero-photo { position: relative; }
.badge-float { position: absolute; top: -14px; left: 24px; z-index: 3; background: var(--sky); color: var(--ink); font-family: var(--wp--preset--font-family--display, 'Barlow', sans-serif); font-weight: 800; font-size: 13.5px; line-height: 1.3; padding: 10px 14px; border-radius: 8px; box-shadow: 0 8px 18px rgba(10,37,64,.18); max-width: 230px; margin: 0; }

/* buttons in content: teal solid, sky, outline */
.sdpw-btn-teal .wp-block-button__link { background: var(--teal); color: #fff; border-radius: 8px; font-weight: 800; }
.sdpw-btn-teal .wp-block-button__link:hover { background: var(--teal-dark); }
.sdpw-btn-sky .wp-block-button__link { background: var(--sky); color: var(--ink); border-radius: 8px; font-weight: 800; }
.sdpw-btn-sky .wp-block-button__link:hover { filter: brightness(.95); }
.sdpw-btn-outline .wp-block-button__link { background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; font-weight: 800; }
.sdpw-btn-outline .wp-block-button__link:hover { border-color: var(--teal); color: var(--teal); }

/* solutions cards */
.svc-wide { display: grid; grid-template-columns: 200px 1fr; background: var(--mist); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.svc-wide:hover { box-shadow: 0 10px 26px rgba(10,37,64,.10); transform: translateY(-2px); }
.svc-wide .wp-block-image { margin: 0; height: 100%; }
.svc-wide .wp-block-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; border: 0; box-shadow: none; }
.svc-wide .txt { padding: 22px 24px; }
.svc-wide h3 { font-size: 21px; font-weight: 800; margin: 8px 0; }
.svc-wide h3 a { color: var(--ink); text-decoration: none; }
.svc-wide p { font-size: 14.5px; color: var(--muted); margin: 0 0 8px; }
.svc-wide .go { font-weight: 700; color: var(--teal); font-size: 14.5px; }
.svc-wide .go a { color: var(--teal); text-decoration: none; }
.tag { display: inline-flex; align-items: center; height: 26px; background: var(--sky); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 0 14px; border-radius: 20px; margin: 0; }
.tag.teal { background: var(--teal); color: #fff; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .15s, transform .15s; height: 100%; }
.svc-card:hover { box-shadow: 0 10px 26px rgba(10,37,64,.10); transform: translateY(-2px); }
.svc-card .wp-block-image { margin: 0; }
.svc-card .wp-block-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0; border: 0; box-shadow: none; }
.svc-card .txt { padding: 16px 18px 18px; }
.svc-card h3 { font-size: 17px; font-weight: 800; margin: 0 0 5px; }
.svc-card h3 a { color: var(--teal); text-decoration: none; }
.svc-card h3 a::after { content: "→"; margin-left: 8px; color: var(--sky); font-weight: 800; }
.svc-card:hover h3 a { text-decoration: underline; text-underline-offset: 3px; }
.svc-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* facts band */
.facts { background: rgba(94,200,232,.14); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; height: 100%; transition: transform .15s, box-shadow .15s; }
.fact:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(10,37,64,.08); }
.fact .num { font-family: var(--wp--preset--font-family--display, 'Barlow', sans-serif); font-weight: 800; font-size: 32px; color: var(--teal); margin: 0 0 6px; }
.fact h3 { color: var(--ink); font-size: 16px; margin: 0 0 6px; }
.fact p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* price band */
.price-band { background: var(--ink); color: #DCE7EF; }
.price-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.price-band h2 .hl-sky { color: var(--sky); box-shadow: none; }
.price-band p { color: #A8BACB; max-width: 56ch; }
.price-band .pts { list-style: none; padding-left: 0; display: grid; gap: 10px; }
.price-band .pts li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #C9D6E2; }
.price-band .pts li::before { content: "✓"; color: var(--sky); font-weight: 700; }
.price-card { background: #12314F; border: 1px solid #1E4066; border-radius: 14px; padding: 28px; }
.price-card .from { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #8CA0B3; margin: 0; }
.price-card .amt { font-family: var(--wp--preset--font-family--display, 'Barlow', sans-serif); font-size: 44px; font-weight: 800; color: #fff; margin: 2px 0 4px; }
.price-card .amt small { font-size: 16px; font-weight: 600; color: #A8BACB; }
.price-card .desc { font-size: 14px; color: #A8BACB; margin: 0 0 18px; }
.price-card .wp-block-button, .price-card .wp-block-button__link { width: 100%; text-align: center; }

/* why cards */
.why-card { border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 12px; padding: 26px 24px; background: #fff; height: 100%; transition: transform .15s, box-shadow .15s; }
.why-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(10,37,64,.10); }
.why-card .ic { width: 46px; height: 46px; border-radius: 10px; background: var(--mist); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.why-card h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.why-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* review cards */
.rev-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; height: 100%; transition: box-shadow .15s; }
.rev-card:hover { box-shadow: 0 10px 24px rgba(10,37,64,.08); }
.rev-card .who { font-size: 15px; color: var(--ink); margin: 0 0 2px; }
.rev-card .who b { display: block; }
.rev-card .who span { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.rev-card .stars { margin: 0 0 10px; font-size: 14px; }
.rev-card p { font-size: 14.5px; margin: 0; }
.rev-sum { background: var(--teal); color: #fff; border-radius: 14px; padding: 28px; height: 100%; }
.rev-sum .big { font-family: var(--wp--preset--font-family--display, 'Barlow', sans-serif); font-size: 42px; font-weight: 800; line-height: 1; margin: 0; color: #fff; }
.rev-sum .stars { color: #FFD98A; font-size: 20px; letter-spacing: 3px; }
.rev-sum p { font-size: 14.5px; color: #CFEAF4; }
.rev-sum a { font-weight: 700; color: #fff; text-decoration: underline; }

/* area pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills span, .pills a { border: 1.5px solid var(--line); border-radius: 30px; padding: 9px 18px; font-size: 14.5px; font-weight: 600; color: var(--ink); background: #fff; transition: all .15s; text-decoration: none; }
.pills span:hover, .pills a:hover { border-color: var(--teal); color: var(--teal); background: var(--mist); }

/* checklist, steps, compare, tiers, faq, table: shared inner-page components */
ul.checklist { list-style: none; padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; max-width: 820px; margin-left: auto; margin-right: auto; }
ul.checklist li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; }
ul.checklist li::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; font-size: 12px; }
ol.steps { list-style: none; padding-left: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
ol.steps.three { grid-template-columns: repeat(3, 1fr); }
ol.steps li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; counter-increment: step; font-size: 14px; color: var(--muted); }
ol.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; margin-bottom: 12px; }
ol.steps li strong { display: block; font-size: 16.5px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.cmp { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 12px; padding: 24px; height: 100%; }
.cmp.sky { border-top-color: var(--sky); }
.cmp h3 { font-size: 19px; font-weight: 800; margin: 0 0 10px; }
.cmp .cmp-sub { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
.cmp ul { list-style: none; padding-left: 0; display: grid; gap: 8px; font-size: 14.5px; }
.cmp ul li { display: flex; gap: 10px; }
.cmp ul li::before { content: "·"; color: var(--teal); font-weight: 800; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; position: relative; height: 100%; }
.tier.popular { border: 2px solid var(--sky); }
.tier .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--sky); color: var(--ink); font-weight: 800; font-size: 12px; padding: 4px 14px; border-radius: 20px; white-space: nowrap; margin: 0; }
.tier .flag.teal { background: var(--teal); color: #fff; }
.tier h3 { font-size: 18px; font-weight: 800; margin: 0; }
.tier .tier-sub { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.tier .amt { font-family: var(--wp--preset--font-family--display, 'Barlow', sans-serif); font-size: 34px; font-weight: 800; color: var(--ink); margin: 0; }
.tier .amt small { font-size: 13px; font-weight: 600; color: var(--muted); }
.tier ul { list-style: none; padding-left: 0; display: grid; gap: 8px; font-size: 14px; margin: 14px 0 18px; }
.tier ul li { display: flex; gap: 9px; align-items: flex-start; }
.tier ul li::before { content: "✓"; color: var(--teal); font-weight: 800; }
.sdpw-faq { max-width: 820px; margin-left: auto; margin-right: auto; }
.sdpw-faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 0 20px; }
.sdpw-faq details:hover { border-color: var(--sky); }
.sdpw-faq summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 16px; padding: 16px 0; }
.sdpw-faq details p { padding-bottom: 16px; font-size: 15px; }
.sdpw-table table { border-collapse: collapse; width: 100%; font-size: 14.5px; background: #fff; }
.sdpw-table th, .sdpw-table td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
.sdpw-table th { background: var(--ink); color: #fff; font-weight: 700; }
.sdpw-table tr:nth-child(even) td { background: var(--mist); }

/* callouts */
.callout2 { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; box-shadow: 0 8px 22px rgba(10,37,64,.07); padding: 20px 24px; max-width: 820px; margin-left: auto; margin-right: auto; font-size: 15px; }
.callout2 p { margin: 0 0 6px; }
.callout2 b { color: var(--ink); }

/* mid-page CTA band */
.cta-band { background: var(--teal); color: #fff; }
.cta-band h3, .cta-band h2 { color: #fff; font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.cta-band p { color: #CFEAF4; font-size: 14.5px; max-width: 58ch; margin: 0; }

/* book section */
.book { background: #fff; border-top: 1px solid var(--line); }
.book h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.book .phone-big a, .book .phone-big { font-family: var(--wp--preset--font-family--display, 'Barlow', sans-serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--teal); text-decoration: none; }
.book .hrs { background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; font-size: 14.5px; }
.book .hrs b { color: var(--ink); }
.book .fine { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.book .ascendly-form { background: var(--mist); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.book .ascendly-form label { font-size: 13px; font-weight: 600; color: var(--ink); }
.book .ascendly-form input, .book .ascendly-form select, .book .ascendly-form textarea { width: 100%; border: 1.5px solid #C7D7E4; border-radius: 8px; padding: 11px 13px; font-size: 14.5px; background: #fff; color: var(--body); }
.book .ascendly-form .wp-element-button { width: 100%; background: var(--teal); color: #fff; border-radius: 8px; font-weight: 800; padding: 13px 22px; border: 0; cursor: pointer; }
.book .ascendly-form .wp-element-button:hover { background: var(--teal-dark); }
.book .ascendly-form__row--check label { font-weight: 400; font-size: 12.5px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.book .ascendly-form__row--check input { width: 15px; height: 15px; margin-top: 3px; accent-color: var(--teal); }

/* builder slot */
.builder-wrap { padding: 8px 0 56px; }

/* block-structure adaptations */
.hero-callout a { color: var(--ink); text-decoration: none; }
.hero-callout a:hover { color: var(--teal); }
.rev-card .who { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.rev-card .who .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--mist); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--teal); font-size: 17px; flex-shrink: 0; }
.rev-card .who b { display: block; font-size: 15px; color: var(--ink); }
.rev-card .who .posted { font-size: 12.5px; color: var(--muted); }
.book .form-panel { background: var(--mist); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.book .form-panel h3 { font-size: 19px; font-weight: 800; margin: 0 0 4px; }
.book .form-panel .note { font-size: 13.5px; color: var(--muted); margin: 0 0 8px; }
.book .form-panel .ascendly-form { background: none; border: 0; padding: 0; }
.book .fine a { color: var(--teal); text-decoration: underline; }

/* engine's standalone-call sizing does not apply to phone buttons */
p > .sdpw-phone-btn:only-child { font-size: 16px; min-height: 46px; }

/* inner page hero + shared pieces */
.breadcrumb { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.breadcrumb a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb a:hover { color: var(--teal); }
.page-hero-photo { max-width: 340px; margin-left: auto; }
.sdpw-btn-white .wp-block-button__link { background: #fff; color: var(--teal); border-radius: 8px; font-weight: 800; }
.sdpw-btn-white .wp-block-button__link:hover { background: var(--mist); }
.callout2 .co-ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.callout2 .co-ic svg { width: 22px; height: 22px; }
.callout2.info .co-ic { background: var(--ink); }
.callout2.accent .co-ic { background: var(--sky); }
.callout2.alert .co-ic { background: var(--teal); }
.cta-band .wp-block-buttons { flex-wrap: wrap; }
.sdpw-faq .wp-block-details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 0 20px; }
.sdpw-faq .wp-block-details:hover { border-color: var(--sky); }
.sdpw-faq .wp-block-details summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 16px; padding: 16px 0; }
.sdpw-faq .wp-block-details p { padding-bottom: 16px; font-size: 15px; margin: 0; }
.tier .wp-block-button__link { width: 100%; text-align: center; }

/* responsive header, matching the classic breakpoints */
@media (max-width: 1120px) {
	.sdpw-header .sdpw-btn-build { display: none; }
}
@media (max-width: 700px) {
	.sdpw-utilbar .sdpw-lic { display: none; }
}

/* ==========================================================================
   2026-08-21 polish pass (Jeff's review): classic sizing and alignment.
   ========================================================================== */

/* The classic .wrap: sections are plain flow layout and this container does
   the centering, exactly like the original stylesheet. No constrained-layout
   auto-centering of inner text. */
.sdpw-2026 .wrap,
.wp-block-group.wrap {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* Header CTAs: identical pair, 15px labels, same 46px height as everything. */
.sdpw-header .wp-block-button__link,
.sdpw-header .sdpw-phone-btn,
.sdpw-header p > .sdpw-phone-btn:only-child {
	font-family: var(--wp--preset--font-family--display, 'Barlow', sans-serif);
	font-weight: 800;
	font-size: 15px;
	line-height: 1.2;
	padding: 0 18px;
	border-radius: 8px;
	min-height: 46px;
}

/* Hero phone button keeps the classic hero emphasis. */
.sdpw-hero .sdpw-phone-btn,
.sdpw-hero p > .sdpw-phone-btn:only-child {
	font-family: var(--wp--preset--font-family--display, 'Barlow', sans-serif);
	font-weight: 800;
	font-size: 18px;
	padding: 15px 26px;
}

/* Wide solution cards: the image link must fill the card column. */
.svc-wide .wp-block-image a,
.svc-card .wp-block-image a {
	display: block;
	height: 100%;
}
.svc-card .wp-block-image a img { width: 100%; }

/* ==========================================================================
   2026-08-21 QA pass 2 (Jeff's review): sticky nav, uniform CTA heights,
   equal card heights, footer phone size.
   ========================================================================== */

/* Sticky header, like the classic site-head. The utility bar scrolls away. */
.sdpw-header { position: sticky; top: 0; z-index: 50; }

/* Breathing room between the nav items and the CTA pair. */
.sdpw-header .wp-block-group.is-layout-flex { gap: 20px; }
.sdpw-header .wp-block-navigation { margin-right: 6px; }

/* One CTA height everywhere. Every button-shaped element renders as a
   46px-tall centered flex box; font sizes may differ, height may not. */
.wp-block-button__link,
.sdpw-phone-btn,
p > .sdpw-phone-btn:only-child,
.book .ascendly-form .wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 46px;
	line-height: 1.2;
	padding-top: 0;
	padding-bottom: 0;
}
.wp-block-button__link { padding-left: 22px; padding-right: 22px; }
.sdpw-phone-btn, p > .sdpw-phone-btn:only-child { padding: 0 20px; }
.sdpw-hero .sdpw-phone-btn, .sdpw-hero p > .sdpw-phone-btn:only-child { font-size: 18px; padding: 0 26px; }
.book .ascendly-form .wp-element-button { width: 100%; }

/* Equal-height cards when side by side: the taller card sets both. */
.svc-wide { height: 100%; }
.wp-block-column > .svc-wide,
.wp-block-column > .svc-card,
.wp-block-column > .tier,
.wp-block-column > .cmp,
.wp-block-column > .why-card,
.wp-block-column > .fact,
.wp-block-column > .rev-card { height: 100%; }

/* Footer phone: list-scale text, not the engine's standalone-call size. */
p > .sdpw-footer-phone:only-child,
.sdpw-footer .sdpw-footer-phone {
	font-size: 15px;
	min-height: 0;
	display: inline-block;
	padding: 0;
}

/* Every section h2 uses the classic scale, sec-head or not. */
.wrap > h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }

/* Sticky needs the page, not the template-part wrapper, as its containing
   block; the wrapper is exactly as tall as the header, so there is nothing
   to stick within. display:contents dissolves the wrapper box. */
header.wp-block-template-part { display: contents; }

/* phone_link variants: white CTA-band button, inline card link */
.sdpw-phone-btn-white { background: #fff; color: var(--teal); }
.sdpw-phone-btn-white:hover { background: var(--mist); color: var(--teal); }
.sdpw-card-phone { color: var(--teal); font-weight: 700; text-decoration: none; }
