/*
Theme Name: Hope's Loving Pet Care
Theme URI: https://www.hopeslovingpetcare.com
Author: Bernard Clay SEO
Description: Custom theme for Hope's Loving Pet Care. Design DNA: Corporate Trust. Mobile-first responsive foundation; every page composes these utilities.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: hope
*/

/* Self-hosted fonts (latin subset, variable): no third-party requests, no render-blocking CSS */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('assets/fonts/inter-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: 'Inter'; font-style: italic; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-italic-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: 'Manrope'; font-style: normal; font-weight: 700 800; font-display: swap; src: url('assets/fonts/manrope-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; }

/* ==========================================================================
   1. Tokens (STYLE-GUIDE.md)
   ========================================================================== */
:root {
	--navy: #123c6d;
	--sky: #1d70d0;
	--amber: #f59e0b;
	--amber-deep: #d97706;
	--white: #ffffff;
	--mist: #f3f6fa;
	--line: #dce3ec;
	--slate: #4a5a6e;
	--ink: #0e1b2c;
	--muted: #5b6a7c;
	--success: #15803d;
	--danger: #b91c1c;

	--font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 8px;
	--shadow: 0 1px 2px rgba(14, 27, 44, .06), 0 4px 12px rgba(14, 27, 44, .06);
	--section-y: clamp(56px, 8vw, 112px);
	--gap: clamp(16px, 3vw, 32px);
	--header-h: 80px;
	--mobile-bar-h: 64px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: clamp(1rem, 1.1vw, 1.125rem);
	line-height: 1.65;
	color: var(--slate);
	background: var(--white);
	padding-bottom: var(--mobile-bar-h);
	overflow-x: hidden;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

img, video, iframe, svg { max-width: 100%; height: auto; }
img { display: block; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 800; line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
h4 { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
strong { color: var(--ink); font-weight: 600; }
ul, ol { padding-left: 1.25em; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: var(--white); }

/* ==========================================================================
   3. Responsive foundation (built once; pages compose, never re-derive)
   Breakpoints (min-width only): sm 640 · md 768 · lg 1024 · xl 1280
   ========================================================================== */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 5vw, 48px); }
.container--narrow { max-width: 820px; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
	.grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.split { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1024px) {
	.split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
	.split--reverse > :first-child { order: 2; }
	.split--wide-right { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
	.split--top { align-items: start; }
}

.stack > * + * { margin-top: var(--stack, 1rem); }

.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #d6e2f1; }
.section--navy h2, .section--navy h3, .section--navy strong { color: var(--white); }
.section--navy a:not(.btn) { color: var(--white); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.section-head p { font-size: 1.0625rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

.kicker {
	display: block; font-family: var(--font-body); font-size: .8125rem; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: .75rem;
}
.section--navy .kicker { color: #9cc3f0; }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; }
.muted { color: var(--muted); font-size: .875rem; }
.h2--sm { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.mt { margin-top: 1.25rem; }

/* ==========================================================================
   4. Components
   ========================================================================== */
/* Icons (Phosphor Regular, inlined) */
.icon { display: inline-block; width: 24px; height: 24px; flex: none; vertical-align: middle; color: var(--sky); }
.icon svg { width: 100%; height: 100%; display: block; }
.icon--18 { width: 18px; height: 18px; }
.icon--32 { width: 32px; height: 32px; }
.icon-badge { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--mist); }
.icon-badge .icon { width: 28px; height: 28px; }
.section--mist .icon-badge { background: var(--white); }
.section--mist .service-row .icon-badge, .section--mist .card .icon-badge { background: var(--mist); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; padding: 12px 22px; border-radius: var(--radius); border: 2px solid transparent;
	font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
	white-space: normal; text-align: center;
}
@media (min-width: 640px) { .btn { white-space: nowrap; } }
.btn .icon { width: 18px; height: 18px; color: currentColor; }
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--amber-deep); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.section--navy .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.section--navy .btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--navy); text-decoration: none; min-height: 44px; }
.text-link:hover { color: var(--sky); }
.text-link .icon { width: 18px; height: 18px; }

/* Cards */
.card {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: clamp(20px, 2.5vw, 28px); box-shadow: var(--shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}
.section--mist .card { border-color: transparent; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(14, 27, 44, .08), 0 10px 24px rgba(14, 27, 44, .08); }
.card h3 { margin-top: .75rem; }

/* Check list */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; }
.checks .icon { color: var(--success); margin-top: 2px; }

/* Photos */
.photo { margin: 0; }
.photo img { width: 100%; border-radius: var(--radius); object-fit: cover; background: var(--mist); }
.photo--4x5 img { aspect-ratio: 4 / 5; }
.photo--4x3 img { aspect-ratio: 4 / 3; }
.photo--1x1 img { aspect-ratio: 1 / 1; }
.photo--16x9 img { aspect-ratio: 16 / 9; }
.photo figcaption { margin-top: .5rem; font-size: .875rem; color: var(--muted); }

/* ==========================================================================
   5. Header + navigation
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.wordmark { display: inline-flex; flex-direction: column; justify-content: center; min-height: 48px; text-decoration: none; line-height: 1.05; }
.wordmark__name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: -.02em; }
.wordmark__tag { display: none; font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
@media (min-width: 400px) { .wordmark__tag { display: block; } }

.nav-toggle {
	display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line);
	border-radius: var(--radius); background: var(--white); color: var(--navy); cursor: pointer;
}
.nav-toggle .icon { color: var(--navy); }
.primary-nav { display: none; }
.primary-nav.is-open {
	display: block; position: absolute; left: 0; right: 0; top: 100%;
	background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
	padding: 8px clamp(16px, 5vw, 48px) 20px;
}
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: flex; align-items: center; min-height: 48px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--sky); }
.header-actions { display: none; }

/* lg (1024+): phone + walkthrough button join the header; menu stays behind the toggle */
@media (min-width: 1024px) {
	.site-header__inner { gap: clamp(20px, 2.5vw, 40px); min-height: 80px; }
	.site-header__inner .wordmark { margin-right: auto; }
	.header-actions { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); flex: none; }
	.header-phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; }
	.header-phone .icon { width: 20px; height: 20px; }
	.nav-toggle { order: 4; }
}
/* xl (1280+): full menu inline, centered between the wordmark and the actions */
@media (min-width: 1280px) {
	.site-header__inner .wordmark { margin-right: 0; flex: none; }
	.wordmark__tag { white-space: nowrap; }
	.nav-toggle { display: none; }
	.primary-nav, .primary-nav.is-open { display: flex; justify-content: center; flex: 1 1 auto; position: static; padding: 0; border: 0; box-shadow: none; }
	.primary-nav ul { display: flex; gap: clamp(24px, 2.4vw, 40px); }
	.primary-nav a { font-size: .9375rem; min-height: 44px; white-space: nowrap; }
	.header-actions { order: 3; }
}
.header-phone__num { display: none; }
@media (min-width: 1280px) { .header-phone__num { display: inline; } }

/* ==========================================================================
   6. Hero (split + trust bar)
   ========================================================================== */
.hero { padding-block: clamp(32px, 6vw, 80px) clamp(40px, 6vw, 88px); }
.hero h1 { max-width: 18ch; }
body:not(.home) .hero h1 { font-size: clamp(1.9rem, 3.8vw, 2.75rem); max-width: 22ch; }
.hero .lead { max-width: 44ch; margin-bottom: 1.75rem; }
.hero__media { position: relative; }
.hero__media .photo--4x5 img { max-height: 620px; }
.hero__inset {
	position: absolute; left: 8px; bottom: -20px; width: min(46%, 240px);
	background: var(--white); padding: 8px 8px 10px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero__inset img { border-radius: 6px; aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.hero__inset figcaption { font-size: .8125rem; color: var(--slate); margin-top: 6px; line-height: 1.35; }
.hero__inset strong { display: block; color: var(--ink); }
@media (min-width: 1024px) { .hero__inset { left: -36px; bottom: -28px; } }

.trust-bar { background: var(--navy); color: var(--white); padding-block: 18px; }
.trust-bar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.trust-bar li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.trust-bar .icon { color: #9cc3f0; }
@media (min-width: 1024px) { .trust-bar ul { grid-template-columns: repeat(4, auto); justify-content: space-between; } }

/* ==========================================================================
   7. Section patterns
   ========================================================================== */
/* Worries: heading column + 2x2 */
.worries { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .worries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.worry { border-left: 3px solid var(--line); padding: 4px 0 4px 18px; }
.worry h3 { font-size: 1.0625rem; margin: .5rem 0 .35rem; }
.worry p { font-size: .9375rem; margin: 0; }
.worry__answer { display: block; margin-top: .5rem; color: var(--navy); font-weight: 600; font-size: .9375rem; }

/* Testimonials: featured + stack */
.proof { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .proof { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; } }
.quote { margin: 0; }
.quote blockquote { margin: 0; font-style: italic; color: var(--ink); }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: var(--navy); font-size: .9375rem; }
.quote cite span { display: block; font-weight: 400; color: var(--muted); font-size: .875rem; }
.quote--featured { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); border-top: 4px solid var(--amber); }
.quote--featured blockquote { font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.55; }
.quote-stack { display: grid; gap: 16px; }
.quote--small { background: var(--white); border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line); }
.quote--small blockquote { font-size: .9375rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: .8125rem; font-weight: 600; }
.tag .icon { width: 16px; height: 16px; }

/* Timeline (the Standard) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.timeline li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding-bottom: 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
	counter-increment: step; content: counter(step);
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	background: var(--navy); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 1.125rem;
}
.timeline li::after { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 1.125rem; margin: .6rem 0 .3rem; }
.timeline p { margin: 0; font-size: .9375rem; }

/* Services: one feature card + list */
.services { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .services { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.service-feature { display: grid; grid-template-rows: auto 1fr; overflow: hidden; padding: 0; }
.service-feature .photo img { border-radius: 0; aspect-ratio: 16 / 10; }
.service-feature__body { padding: clamp(22px, 3vw, 32px); }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin: .25rem 0 1rem; color: var(--ink); }
.price strong { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; }
.service-list { display: grid; gap: 16px; }
.service-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }
.service-row h3 { font-size: 1.125rem; margin: .25rem 0 .25rem; }
.service-row p { font-size: .9375rem; margin: 0; }
a.service-row { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); text-decoration: none; color: inherit; transition: border-color .15s ease, transform .2s ease; }
a.service-row:hover { border-color: var(--sky); transform: translateY(-2px); }

/* Special-needs: photo mosaic + needs list */
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 1 / 1; }
.mosaic .photo { min-height: 0; }
.mosaic .photo:first-child { grid-row: span 2; }
.mosaic .photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.needs { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.needs li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; color: var(--ink); font-size: .9375rem; }

/* About Hope */
.about-photo { max-width: 520px; }
.about-photo img { aspect-ratio: 700 / 567; }
.fact-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 10px; }
.fact-list li { display: flex; gap: 12px; align-items: flex-start; }

/* Areas */
.areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.areas a { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 12px; overflow-wrap: anywhere; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 600; text-decoration: none; transition: border-color .15s ease; }
.areas a:hover { border-color: var(--sky); color: var(--navy); }
.areas .icon { width: 20px; height: 20px; }
.areas .is-home { border-color: var(--navy); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.0625rem; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s ease; color: var(--navy); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .faq__body { padding: 0 20px 20px; }

/* Byline + author box (guides, special-needs) */
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: -0.75rem 0 1.5rem; font-size: .875rem; color: var(--muted); }
.byline a { color: var(--navy); font-weight: 600; }
.byline .icon { color: var(--success); }
.author-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.author-box p { font-size: .9375rem; margin-bottom: .5rem; }
.author-box__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.0625rem !important; }
@media (min-width: 640px) { .author-box { grid-template-columns: 96px minmax(0, 1fr); } }

/* ==========================================================================
   8. Contact band + multi-step form
   ========================================================================== */
.contact-band { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .contact-band { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.contact-ways { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 12px; }
.contact-ways a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .22); color: var(--white); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact-ways a:hover { border-color: var(--white); }
.contact-ways .icon { color: #9cc3f0; }
.contact-ways small { display: block; font-weight: 400; color: #b9cbe2; font-size: .8125rem; }

.inquiry { background: var(--white); color: var(--slate); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 36px); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.inquiry h3, .section--navy .inquiry h3 { margin-bottom: .25rem; color: var(--ink); }
.section--navy .inquiry strong { color: var(--ink); }
.section--navy .inquiry a:not(.btn) { color: var(--sky); }
.progress { display: flex; gap: 6px; margin: 1rem 0 1.25rem; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.progress span.is-done { background: var(--navy); }
.progress-label { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.step[hidden] { display: none; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field legend { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
	background: var(--white); border: 1px solid #b8c4d3; border-radius: var(--radius);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(29, 112, 208, .35); border-color: var(--sky); }
.field-row { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
fieldset.field { border: 0; padding: 0; margin: 0 0 14px; }
.choices { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .choices { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid #b8c4d3; border-radius: var(--radius); cursor: pointer; font-size: .9375rem; color: var(--ink); }
.choice input:checked + span { border-color: var(--navy); background: #eaf1fa; box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.form-error { color: var(--danger); font-size: .875rem; font-weight: 600; min-height: 1.2em; margin: 0 0 8px; }
.form-done { text-align: left; }
.form-done .icon { width: 40px; height: 40px; color: var(--success); }
.hp-field { position: absolute; left: -9999px; }

/* Cost calculators */
.calc { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .calc { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } .calc__result { position: sticky; top: calc(var(--header-h) + 16px); } }
.calc__form { box-shadow: var(--shadow); }
.calc__form h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.stepper { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; border: 1px solid #b8c4d3; border-radius: var(--radius); overflow: hidden; }
.stepper button { min-height: 48px; border: 0; background: var(--mist); color: var(--navy); font-size: 1.375rem; font-weight: 700; cursor: pointer; }
.stepper button:hover { background: #e3eaf3; }
.field .stepper input { border: 0; border-radius: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__label { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: .5rem; }
.calc__total { margin: 0 0 1rem; }
.calc__total strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.75rem); color: var(--ink); line-height: 1.1; }
.calc__total span { color: var(--slate); font-size: .9375rem; }
.calc__regular { display: block; margin-top: .35rem; color: var(--success); font-weight: 600; font-size: .875rem; }
.calc__total--quote strong { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
.calc__lines { margin: 0 0 1rem; padding: 0; border-top: 1px solid var(--line); }
.calc__lines div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.calc__lines dt { color: var(--slate); }
.calc__lines dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; white-space: nowrap; }
.calc__result .btn { width: 100%; margin-top: .5rem; }

/* ==========================================================================
   9. Footer + mobile action bar
   ========================================================================== */
.site-footer { background: var(--ink); color: #b7c3d3; padding-block: clamp(48px, 6vw, 72px) 24px; font-size: .9375rem; }
.site-footer a { color: #dfe7f1; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer p a, .site-footer .footer-bottom a { text-decoration: underline; text-underline-offset: 3px; } /* WCAG 1.4.1: links in text are not color-only */
.site-footer h2 { color: var(--white); font-size: 1rem; letter-spacing: 0; margin-bottom: .9rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-grid li a { display: inline-flex; min-height: 32px; align-items: center; }
.site-footer .wordmark__name { color: var(--white); }
.site-footer .wordmark__tag { color: #b7c3d3; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .8125rem; }

.mobile-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px;
	padding: 8px clamp(12px, 4vw, 20px) calc(8px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line);
	box-shadow: 0 -4px 16px rgba(14, 27, 44, .08);
}
.mobile-bar .btn { min-height: 48px; padding-inline: 10px; font-size: .9375rem; }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ==========================================================================
   10. Page content (inner pages, posts)
   ========================================================================== */
.page-hero { padding-block: clamp(32px, 5vw, 64px); background: var(--mist); }
.page-hero h1 { max-width: 22ch; }
.breadcrumbs { font-size: .875rem; color: var(--muted); margin: -12px 0 .25rem; }
.breadcrumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; padding-inline: 2px; }
.entry-content > .wp-block-html:first-child { margin-top: 0; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { margin: 0 0 1em; }
.prose li { margin-bottom: .35rem; }

/* ==========================================================================
   11. Motion (calm; reduced-motion safe)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   12. Print (checklists, guides)
   ========================================================================== */
@media print {
	.site-header, .site-footer, .mobile-bar, .skip-link, .trust-bar, .hero__media, [data-sonic-section="action"], [data-sonic-section="faq"], .btn, .btn-row, #wpadminbar { display: none !important; }
	body { padding: 0; color: #000; background: #fff; font-size: 11pt; }
	.section, .hero, .page-hero { padding-block: 12pt; background: #fff !important; }
	.reveal { opacity: 1 !important; transform: none !important; }
	a { color: #000; text-decoration: none; }
	h1 { font-size: 20pt; } h2 { font-size: 15pt; break-after: avoid; }
	ul, li { break-inside: avoid; }
}
