/*
Theme Name: Kova Pest Control v2
Theme URI: https://kovapestcontrol.com/
Author: Built for Kova Pest Control
Description: Version 2. Grounded, genuine, form-first. Separate pages on desktop, one scrolling page on phones. No published pricing: every home is quoted.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kova
*/

/* ==========================================================================
   1. TOKENS — same brand as v1 (soft blue #5CA3FF + cream #FBF6F0).
   #5CA3FF fails contrast for text, so text/buttons use the deeper blues.
   ========================================================================== */

:root {
	--blue:        #5CA3FF;
	--blue-tint:   #EAF2FE;
	--blue-action: #1E6FD9;
	--blue-hover:  #175FBC;
	--blue-text:   #175FBC;
	--navy:        #0E3A6B;
	--navy-deep:   #0A2A4E;

	--cream:       #FBF6F0;
	--cream-2:     #F4EDE4;
	--surface:     #FFFFFF;
	--ink:         #16233A;
	--muted:       #56607A;
	--border:      #E6DDD1;

	--font-display: 'Outfit', system-ui, -apple-system, sans-serif;
	--font-body:    'Public Sans', system-ui, -apple-system, sans-serif;

	--radius:    12px;
	--radius-lg: 18px;
	--shell:     1160px;
	--shadow:    0 1px 2px rgba(14,58,107,.06), 0 8px 24px -12px rgba(14,58,107,.16);

	--section-y: clamp(56px, 8vw, 104px);
	--ease:      cubic-bezier(.22, 1, .36, 1);
}

/* ==========================================================================
   2. BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 16px; text-wrap: pretty; }

h1, h2, h3 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.015em;
	color: var(--navy);
	margin: 0;
	text-wrap: balance;
}

.shell {
	width: 100%;
	max-width: var(--shell);
	margin-inline: auto;
	padding-inline: 20px;
}
@media (min-width: 768px) { .shell { padding-inline: 40px; } }

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

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--navy); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Desktop / phone switches. Breakpoint 900px. */
@media (max-width: 899px) { .d-only { display: none !important; } }
@media (min-width: 900px) { .m-only { display: none !important; } }

/* Section scaffolding */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--cream-2); }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-lede { margin-inline: auto; }

.eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--blue-text);
	margin-bottom: 12px;
}
.section-title { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 16px; }
.section-title--sm { font-size: clamp(24px, 3vw, 32px); margin: 56px 0 24px; }
.section-lede { font-size: clamp(17px, 1.8vw, 19px); color: var(--muted); max-width: 60ch; margin-bottom: 0; }

.note { color: var(--muted); font-size: 15px; margin-top: 24px; }

.more-link { margin: 28px 0 0; }
.more-link--center { text-align: center; }
.more-link a {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 700; color: var(--blue-text); text-decoration: none;
	border-bottom: 2px solid var(--blue-tint);
	padding-bottom: 2px;
	transition: border-color .2s var(--ease);
}
.more-link a:hover { border-color: var(--blue-action); }

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px;
	padding: 12px 24px;
	border: 2px solid transparent;
	border-radius: 10px;
	font-family: var(--font-body);
	font-size: 16px; font-weight: 700; line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--blue-action); border-color: var(--blue-action); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }

.btn--outline { background: var(--surface); border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

.btn--ghost { background: transparent; border-color: var(--border); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.cta-note a { color: var(--blue-text); font-weight: 700; }
.cta-row--center { justify-content: center; }

@media (max-width: 559px) {
	.cta-row .btn { width: 100%; }
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(251, 246, 240, .96);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.site-header.is-stuck { border-color: var(--border); box-shadow: 0 6px 20px -16px rgba(14,58,107,.4); }

.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }

.brand { flex-shrink: 0; }
.brand__logo { height: 44px; width: auto; }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
	text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink);
	padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item > a { border-color: var(--blue); }

.site-header__cta { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.site-nav + .site-header__cta { margin-left: 12px; }
.site-header__phone {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap;
}

.nav-toggle {
	display: grid; place-content: center; gap: 5px;
	width: 44px; height: 44px; padding: 0;
	background: none; border: 1px solid var(--border); border-radius: 10px; cursor: pointer;
}
.nav-toggle__bar { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
	border-top: 1px solid var(--border);
	background: var(--cream);
	padding: 8px 20px 24px;
	max-height: calc(100vh - 72px);
	overflow-y: auto;
}
.mobile-nav__list { list-style: none; margin: 0 0 16px; padding: 0; }
.mobile-nav__list a {
	display: block; padding: 14px 0;
	font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--navy);
	text-decoration: none; border-bottom: 1px solid var(--border);
}
.mobile-nav__ctas { display: grid; gap: 10px; }

@media (max-width: 899px) {
	.site-header__inner { min-height: 64px; gap: 12px; }
	.brand__logo { height: 36px; }
	.site-header__cta { gap: 10px; }
}
@media (min-width: 900px) and (max-width: 1080px) {
	.site-nav__list { gap: 20px; }
	.site-header__phone span { display: none; }
}

/* ==========================================================================
   5. HERO
   ========================================================================== */

.hero { padding-top: clamp(24px, 5vw, 64px); }

.hero__inner {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.hero__title { font-size: clamp(36px, 5.6vw, 62px); margin-bottom: 20px; }
.hero__lede { font-size: clamp(17px, 1.9vw, 20px); color: var(--muted); max-width: 54ch; margin-bottom: 28px; }

.hero__figure { margin: 0; }
.hero__photo {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 40%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.proof { margin-top: clamp(40px, 6vw, 72px); border-block: 1px solid var(--border); background: var(--surface); }
.proof__list {
	display: grid; grid-template-columns: repeat(4, 1fr);
	list-style: none; margin-block: 0; padding-block: 20px;
}
.proof__list li {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	font-size: 15px; color: var(--ink);
}
.proof__list li + li { border-left: 1px solid var(--border); }
.proof__list .icon { color: var(--blue-action); flex-shrink: 0; }
.proof__list strong { color: var(--navy); }

@media (max-width: 899px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__figure { order: 2; }
	.hero__photo { aspect-ratio: 4 / 3; object-position: 50% 35%; }
	.proof__list { grid-template-columns: 1fr 1fr; row-gap: 14px; padding-block: 18px; }
	.proof__list li { justify-content: flex-start; font-size: 14px; }
	.proof__list li + li { border-left: 0; }
}

/* ==========================================================================
   6. WHY KOVA
   ========================================================================== */

.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px 24px;
}
.why-card__icon {
	display: grid; place-items: center;
	width: 46px; height: 46px; margin-bottom: 18px;
	border-radius: 10px; background: var(--blue-tint); color: var(--blue-action);
}
.why-card__title { font-size: 20px; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 16px; margin: 0; }

@media (max-width: 1023px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) {
	.why__grid { grid-template-columns: 1fr; gap: 12px; }
	.why-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 20px; }
	.why-card__icon { grid-row: span 2; margin: 0; }
}

/* ==========================================================================
   7. GUARANTEE BAND
   ========================================================================== */

.guarantee { background: var(--navy); color: #fff; padding-block: clamp(36px, 5vw, 56px); }
.guarantee__inner { display: flex; align-items: center; gap: 24px; }
.guarantee__icon {
	display: grid; place-items: center; flex-shrink: 0;
	width: 60px; height: 60px; border-radius: 50%;
	background: rgba(92,163,255,.18); color: #8FC0FF;
}
.guarantee__title { color: #fff; font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 6px; }
.guarantee p { margin: 0; color: #D6E4F7; }
@media (max-width: 559px) { .guarantee__inner { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* ==========================================================================
   8. PHOTO ROW
   ========================================================================== */

.photos { padding-top: var(--section-y); }
.photos__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photos__item { margin: 0; }
.photos__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 767px) {
	.photos__row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.photos__item img { aspect-ratio: 3 / 4; border-radius: 8px; }
}

/* ==========================================================================
   9. PROCESS
   ========================================================================== */

.photos + .process, .photos + .quote { margin-top: var(--section-y); }
.areas + .photos { padding-top: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.step { position: relative; padding-top: 4px; }
.step__num {
	display: grid; place-items: center;
	width: 44px; height: 44px; margin-bottom: 16px;
	border-radius: 50%;
	background: var(--surface); border: 2px solid var(--blue);
	font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy);
}
.step:not(:last-child)::after {
	content: ''; position: absolute; top: 26px; left: 56px; right: -8px;
	border-top: 2px dashed #C9D9EE;
}
.step__title { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }

@media (max-width: 899px) {
	.steps { grid-template-columns: 1fr; gap: 0; }
	.step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding-bottom: 24px; }
	.step__num { grid-row: span 2; margin: 0; }
	.step:not(:last-child)::after { top: 52px; bottom: 4px; left: 21px; right: auto; border-top: 0; border-left: 2px dashed #C9D9EE; }
}

/* ==========================================================================
   10. SERVICES
   ========================================================================== */

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 28px 24px;
}
.svc-card__tag {
	display: inline-block; margin-bottom: 14px;
	padding: 4px 10px; border-radius: 6px;
	background: var(--blue-tint); color: var(--blue-text);
	font-size: 13px; font-weight: 700;
}
.svc-card__name { font-size: 22px; margin-bottom: 8px; }
.svc-card p { color: var(--muted); margin: 0; font-size: 16px; }

.pest-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 28px; }
.pest-strip__label { font-weight: 700; color: var(--navy); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 14px; border-radius: 999px;
	background: var(--surface); border: 1px solid var(--border);
	font-size: 15px; font-weight: 600; color: var(--navy);
}
.chips--lg li { padding: 10px 16px; font-size: 16px; }
.chips .icon { color: var(--blue-action); }

.pest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pest-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.pest-card__name { font-size: 19px; margin-bottom: 6px; }
.pest-card p { font-size: 15px; color: var(--muted); margin: 0; }

.commercial {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	margin-top: 32px; padding: 24px 28px;
	border: 1px dashed #C9D9EE; border-radius: var(--radius);
}
.commercial__title { font-size: 20px; margin-bottom: 4px; }
.commercial p { margin: 0; color: var(--muted); font-size: 16px; max-width: 60ch; }
.commercial .btn { flex-shrink: 0; }

@media (max-width: 1023px) { .pest-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 899px) {
	.svc-grid { grid-template-columns: 1fr; gap: 12px; }
	.svc-card { padding: 22px 20px; }
	.commercial { flex-direction: column; align-items: flex-start; padding: 20px; }
}
@media (max-width: 559px) { .pest-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   11. PRICING APPROACH
   ========================================================================== */

.pricing { background: var(--surface); border-block: 1px solid var(--border); }
.pricing__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pricing__copy .section-lede { margin-bottom: 28px; }
.pricing__factors { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.factor {
	display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start;
	padding: 20px; border-radius: var(--radius); background: var(--cream);
}
.factor__icon {
	display: grid; place-items: center; width: 46px; height: 46px;
	border-radius: 10px; background: var(--surface); color: var(--blue-action); border: 1px solid var(--border);
}
.factor strong { display: block; font-family: var(--font-display); font-size: 18px; color: var(--navy); margin-bottom: 2px; }
.factor span { color: var(--muted); font-size: 16px; }
@media (max-width: 899px) {
	.pricing__inner { grid-template-columns: 1fr; }
	.pricing__copy .btn { width: 100%; }
	.pricing__copy > .reveal:last-child { order: 3; }
}

/* ==========================================================================
   12. REVIEWS
   ========================================================================== */

.reviews__score { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; color: var(--muted); }
.reviews__score strong { color: var(--navy); font-size: 18px; }
.stars { display: inline-flex; gap: 2px; color: #E6A817; }
.stars .icon { fill: currentColor; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
	margin: 0; display: flex; flex-direction: column;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 28px 24px;
}
.review__quote { margin: 0 0 20px; flex: 1; font-size: 16px; line-height: 1.6; }
.review__quote::before { content: '“'; display: block; font-family: var(--font-display); font-size: 44px; line-height: .8; color: var(--blue); }
.review__by { font-size: 14px; color: var(--muted); }
.review__by strong { color: var(--navy); }

@media (max-width: 899px) {
	.review-grid {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 85%;
		overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
		margin-inline: -20px; padding: 0 20px 8px;
		scrollbar-width: none;
	}
	.review-grid::-webkit-scrollbar { display: none; }
	.review { scroll-snap-align: center; }
}

/* ==========================================================================
   13. ABOUT
   ========================================================================== */

.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__photo { margin: 0; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.about__copy > p { font-size: 18px; }
.about__pull {
	font-family: var(--font-display); font-weight: 600;
	font-size: clamp(22px, 2.6vw, 28px) !important; line-height: 1.3;
	color: var(--navy);
	border-left: 4px solid var(--blue); padding-left: 20px; margin-block: 24px;
}
.about__sign { font-family: var(--font-display); font-weight: 600; color: var(--navy); }

.about--teaser .about__grid { grid-template-columns: .55fr 1.45fr; }
.about--teaser .about__photo img { aspect-ratio: 1 / 1; }

.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; }
.check-list .icon { color: var(--blue-action); margin-top: 3px; }

.safety {
	display: flex; gap: 20px; align-items: flex-start;
	margin-top: 48px; padding: 28px;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.safety__icon {
	display: grid; place-items: center; flex-shrink: 0;
	width: 52px; height: 52px; border-radius: 12px; background: var(--blue-tint); color: var(--blue-action);
}
.safety__title { font-size: 21px; margin-bottom: 8px; }
.safety p { margin: 0; color: var(--muted); }

@media (max-width: 899px) {
	.about__grid, .about--teaser .about__grid { grid-template-columns: 1fr; }
	.about__photo img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
	.check-list { grid-template-columns: 1fr; }
	.safety { flex-direction: column; padding: 22px; gap: 14px; }
}

/* ==========================================================================
   14. SERVICE AREAS
   ========================================================================== */

.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.city-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.city-card__name { display: flex; align-items: center; gap: 8px; font-size: 20px; margin-bottom: 8px; }
.city-card__name .icon { color: var(--blue-action); }
.city-card p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 899px) { .city-grid { grid-template-columns: 1fr; } }


/* ==========================================================================
   15. FAQ
   ========================================================================== */

.faq__list { max-width: 780px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__q {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 20px 0;
	font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--navy);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
	content: '+'; flex-shrink: 0;
	display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
	border: 1px solid var(--border); font-size: 20px; font-weight: 500; color: var(--blue-action);
	transition: transform .2s var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { margin: 0; padding: 0 44px 22px 0; color: var(--muted); }

/* ==========================================================================
   16. QUOTE FORM
   ========================================================================== */

.quote { background: var(--navy); color: #fff; }
.quote .eyebrow { color: #8FC0FF; }
.quote .section-title { color: #fff; }
.quote .section-lede { color: #D6E4F7; }

.quote__inner {
	display: grid; grid-template-columns: .9fr 1.1fr; column-gap: clamp(32px, 6vw, 80px); row-gap: 0; align-items: start;
	grid-template-areas: "intro card" "alt card" ". card";
}
.quote__intro { grid-area: intro; }
.quote__card { grid-area: card; }
.quote__alt { grid-area: alt; }

.quote__alt { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); }
.quote__alt-label { font-weight: 700; margin-bottom: 12px; }
.quote__alt-link {
	display: flex; align-items: center; gap: 12px;
	padding: 8px 0; color: #fff; text-decoration: none; font-size: 18px;
}
.quote__alt-link .icon { color: #8FC0FF; }
.quote__alt-link:hover span { text-decoration: underline; }
.quote__hours { margin: 12px 0 0; font-size: 15px; color: #B9CDE8; }

.quote__card {
	background: var(--surface); color: var(--ink);
	border-radius: var(--radius-lg);
	padding: clamp(24px, 4vw, 40px);
	box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
}

.quote-form { display: grid; gap: 16px; }
.field { margin: 0; display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { font-weight: 600; font-size: 15px; color: var(--navy); }
.req { color: #B42318; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
	width: 100%; min-height: 50px;
	padding: 12px 14px;
	border: 1.5px solid #D5CCBF; border-radius: 10px;
	background: #FFFDFB;
	font: inherit; font-size: 16px; color: var(--ink);
	transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-action); box-shadow: 0 0 0 3px rgba(30,111,217,.2); }

.field--choice { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.field--choice legend { width: 100%; margin-bottom: 6px; padding: 0; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
	display: inline-block; padding: 10px 18px;
	border: 1.5px solid #D5CCBF; border-radius: 10px;
	font-weight: 600; font-size: 15px; color: var(--ink);
	transition: border-color .15s, background .15s;
}
.choice input:checked + span { border-color: var(--blue-action); background: var(--blue-tint); color: var(--blue-text); }
.choice input:focus-visible + span { outline: 3px solid var(--blue-action); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); text-align: center; }
.form-error { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: #FEF3F2; color: #B42318; font-weight: 600; }

.quote__done { text-align: center; padding-block: 24px; }
.quote__done-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #E7F6EC; color: #1C7C3A; margin-bottom: 16px; }
.quote__done h3 { font-size: 24px; margin-bottom: 8px; }
.quote__done p { color: var(--muted); }

@media (max-width: 899px) {
	.quote__inner { grid-template-columns: 1fr; grid-template-areas: "intro" "card" "alt"; row-gap: 28px; }
	.quote__alt { margin-top: 0; }
}
@media (max-width: 479px) { .field-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   17. INNER PAGE HERO
   ========================================================================== */

.page-hero { padding-block: clamp(40px, 7vw, 88px) clamp(8px, 2vw, 24px); }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 16px; max-width: 18ch; }
.page-hero .section-lede { margin-bottom: 28px; }
.page-hero + .section { padding-top: clamp(24px, 4vw, 40px); }
.page-hero--center { text-align: center; padding-bottom: var(--section-y); }
.page-hero--center h1, .page-hero--center .section-lede { margin-inline: auto; }

.entry { padding-block: 24px var(--section-y); }
.entry__content { max-width: 760px; }

/* ==========================================================================
   18. FOOTER + PHONE ACTION BAR
   ========================================================================== */

.site-footer { background: var(--navy-deep); color: #C6D5EA; padding-block: 64px 28px; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__logo { height: 48px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 16px; }
.site-footer__tag { max-width: 30ch; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__bottom {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
	font-size: 14px; color: #9DB3D3;
}
@media (max-width: 899px) {
	.site-footer { padding-bottom: 100px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.site-footer__grid > div:first-child { grid-column: 1 / -1; }
}

.action-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 8px;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	background: var(--surface); border-top: 1px solid var(--border);
	box-shadow: 0 -8px 24px -16px rgba(14,58,107,.4);
	transform: translateY(110%);
	transition: transform .3s var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar a {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; border-radius: 10px;
	font-weight: 700; font-size: 16px; text-decoration: none;
}
.action-bar__main { background: var(--blue-action); color: #fff; }
.action-bar__alt { border: 1.5px solid var(--navy); color: var(--navy); }
body.menu-open .action-bar { transform: translateY(110%); }

/* ==========================================================================
   19. MOTION — one gentle fade. Content is always visible without JS.
   ========================================================================== */

.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
html:not(.no-js):not(.reveal-all) .reveal:not(.is-in) { opacity: 0; transform: translateY(14px); }
@media (prefers-reduced-motion: reduce) {
	.reveal { transition: none; opacity: 1 !important; transform: none !important; }
}
