/*
Theme Name: Kova Pest Control
Theme URI: https://example.com/
Author: Built for Kova Pest Control
Description: Custom classic theme for an East Valley, Arizona pest control company. Soft-blue and cream brand system, call-first conversion path, subtle motion.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.5
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

   Brand: soft blue #5CA3FF + cream #FBF6F0.

   Contrast note: #5CA3FF is 2.40:1 on cream and 2.58:1 under white text —
   both below the WCAG AA floor of 4.5:1. It is therefore used ONLY for
   accents, fills, borders and large decorative type. Anything carrying text
   uses the deeper siblings below, which stay on-brand and pass AA.
   ========================================================================== */

:root {
	/* Brand blues */
	--blue:         #5CA3FF;   /* brand soft blue — accent only, never text-on-light */
	--blue-tint:    #E8F1FF;   /* washed surface */
	--blue-tint-2:  #D3E4FF;   /* borders, dividers */
	--blue-action:  #1E6FD9;   /* CTA fill — 4.85:1 with white ✓ */
	--blue-hover:   #175FBC;
	--blue-text:    #175FBC;   /* small blue text on cream — 5.3:1 on cream-2 ✓ */
	--blue-light:   #8FC0FF;   /* blue text on navy — 6.1:1 ✓ */
	--navy:         #0E3A6B;   /* headings — 10.6:1 on cream ✓ */
	--navy-deep:    #0A2A4E;

	/* Cream / neutrals */
	--cream:        #FBF6F0;   /* brand cream — page background */
	--cream-2:      #F4EDE4;   /* alternating band */
	--cream-3:      #EBE1D4;   /* borders on cream */
	--surface:      #FFFFFF;
	--ink:          #16233A;   /* body text — 13.2:1 on cream ✓ */
	--muted:        #5A6478;   /* secondary text — 5.9:1 on cream ✓ */
	--border:       #E4DACD;

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

	/* Spacing — 8pt rhythm */
	--space-xs:   8px;
	--space-sm:   16px;
	--space-md:   24px;
	--space-lg:   40px;
	--space-xl:   64px;
	--space-2xl:  96px;
	--space-3xl:  128px;

	/* Motion — one shared rhythm sitewide */
	--ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
	--ease-in:    cubic-bezier(0.55, 0, 1, 0.45);
	--dur-fast:   160ms;
	--dur-base:   240ms;
	--dur-slow:   420ms;

	--radius:     14px;
	--radius-lg:  22px;
	--shell:      1200px;

	--shadow-sm:  0 2px 8px -2px rgba(14,58,107,0.10);
	--shadow-md:  0 12px 28px -12px rgba(14,58,107,0.18);
	--shadow-lg:  0 24px 56px -24px rgba(14,58,107,0.28);

	--z-header:   100;
	--z-callbar:  150;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@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, video, canvas { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	line-height: 1.06;
	letter-spacing: -0.022em;
	color: var(--navy);
	margin: 0;
	text-wrap: balance;
}

p { margin: 0 0 var(--space-sm); text-wrap: pretty; }
a { color: inherit; }

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

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

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

.eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue-text);   /* 13px needs the full 4.5:1, so the darker tone */
	margin-bottom: var(--space-sm);
}

.section-title {
	font-size: clamp(32px, 5vw, 54px);
	font-weight: 800;
	margin-bottom: var(--space-md);
}
.section-title em { font-style: italic; color: var(--blue-action); }
.section-title--center { text-align: center; }

.section-lede {
	font-size: clamp(17px, 2vw, 19px);
	color: var(--muted);
	max-width: 62ch;
	margin-bottom: var(--space-md);
}
.section-lede--center { margin-inline: auto; text-align: center; }

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 13px 26px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--dur-base) var(--ease-out),
	            color var(--dur-base) var(--ease-out),
	            border-color var(--dur-base) var(--ease-out),
	            box-shadow var(--dur-base) var(--ease-out),
	            transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.97); }

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

.btn--ghost {
	background: var(--surface);
	color: var(--navy);
	border-color: var(--blue-tint-2);
}
.btn--ghost:hover { border-color: var(--blue); background: var(--blue-tint); }

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

.btn--lg { min-height: 56px; padding: 16px 32px; font-size: 17px; }
.btn--block { width: 100%; }

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

.site-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	background: rgba(251,246,240,0.86);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
	transition: box-shadow var(--dur-base) var(--ease-out);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--space-md);
	min-height: 58px;
}

.brand {
	display: inline-flex;
	align-items: center;
	min-height: 48px;   /* touch-target floor; the text alone is only 33px */
	gap: 10px;
	text-decoration: none;
	color: var(--navy);
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 20px;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	flex-shrink: 0;
}
.brand__mark { color: var(--blue-action); display: flex; }
/* Logo file is pre-trimmed to its content bounds (680x404), so it needs no
   CSS cropping — height alone sizes it correctly. The !important guards
   against any plugin or stale customizer CSS re-inflating it. */
.brand__logo {
	height: 32px !important;
	width: auto !important;
	max-width: none;
}
@media (min-width: 768px) {
	.brand__logo { height: 36px !important; }
}

.site-nav { margin-left: auto; }
.site-nav__list {
	display: flex;
	align-items: center;
	gap: var(--space-md);
	list-style: none;
	margin: 0; padding: 0;
}
.site-nav__list a {
	color: var(--ink);
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	padding: 8px 2px;
	position: relative;
	transition: color var(--dur-base) var(--ease-out);
}
.site-nav__list a::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: var(--blue);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--dur-base) var(--ease-out);
}
.site-nav__list a:hover { color: var(--blue-action); }
.site-nav__list a:hover::after { transform: scaleX(1); }
.site-nav__list .current-menu-item > a { color: var(--blue-action); }
.site-nav__list .current-menu-item > a::after { transform: scaleX(1); }

.site-header__cta { display: none; align-items: center; gap: var(--space-sm); }
.site-header__licence {
	font-size: 12px;
	color: var(--muted);
	letter-spacing: 0.04em;
	white-space: nowrap;
}
@media (min-width: 1024px) { .site-header__cta { display: flex; } }

.nav-toggle {
	margin-left: auto;
	width: 48px; height: 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0;
}
.nav-toggle__bar {
	display: block;
	width: 24px; height: 2px;
	background: var(--navy);
	transition: transform var(--dur-base) var(--ease-out),
	            opacity var(--dur-fast) var(--ease-out);
}
.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 {
	background: var(--surface);
	border-top: 1px solid var(--border);
	padding: var(--space-md);
}
.mobile-nav__list { list-style: none; margin: 0 0 var(--space-md); padding: 0; display: grid; gap: 2px; }
.mobile-nav__list a {
	display: block;
	padding: 14px 4px;
	color: var(--navy);
	text-decoration: none;
	font-weight: 600;
	font-size: 17px;
	border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px) { .nav-toggle, .mobile-nav { display: none !important; } }
@media (max-width: 1023px) { .site-nav { display: none; } }

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

.hero {
	position: relative;
	background: var(--cream);
	overflow: hidden;
	isolation: isolate;
}

/* Soft brand-blue atmosphere — replaces the old photographic scrim.
   Pure CSS gradients: no image weight, renders instantly on slow connections. */
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__glow {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(52% 42% at 82% 6%, rgba(92,163,255,0.30), transparent 66%),
		radial-gradient(44% 40% at 6% 92%, rgba(92,163,255,0.16), transparent 68%);
}
.hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(14,58,107,0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(14,58,107,0.045) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(70% 60% at 70% 20%, #000, transparent 78%);
	-webkit-mask-image: radial-gradient(70% 60% at 70% 20%, #000, transparent 78%);
}

.hero__inner {
	position: relative;
	padding-block: clamp(64px, 11vh, 118px) var(--space-2xl);
}
@media (min-width: 1024px) {
	.hero__inner {
		display: grid;
		grid-template-columns: 1.06fr 0.94fr;
		gap: var(--space-xl);
		align-items: center;
	}
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: var(--navy);
	background: var(--surface);
	border: 1px solid var(--blue-tint-2);
	border-radius: 999px;
	padding: 7px 16px;
	margin-bottom: var(--space-md);
	box-shadow: var(--shadow-sm);
}

.pulse-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--blue);
	box-shadow: 0 0 0 0 rgba(92,163,255,0.7);
	animation: pulse 2.6s var(--ease-out) infinite;
}
@keyframes pulse {
	0%   { box-shadow: 0 0 0 0 rgba(92,163,255,0.6); }
	70%  { box-shadow: 0 0 0 12px rgba(92,163,255,0); }
	100% { box-shadow: 0 0 0 0 rgba(92,163,255,0); }
}

.hero__title {
	font-size: clamp(40px, 7vw, 78px);
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 0.98;
	margin-bottom: var(--space-md);
}
.hero__title-line { display: block; }
.hero__title-line--accent { color: var(--blue-action); }

.hero__lede {
	font-size: clamp(17px, 2.1vw, 20px);
	color: var(--muted);
	max-width: 54ch;
	margin-bottom: var(--space-lg);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-md); }
.hero__note { font-size: 14px; color: var(--muted); margin: 0; }

/* Hero card — stands in for the family/home photograph */
.hero__figure { position: relative; margin-top: var(--space-xl); }
@media (min-width: 1024px) { .hero__figure { margin-top: 0; } }

.hero__photo {
	width: 100%;
	aspect-ratio: 4 / 4.2;          /* reserved up front — no layout shift on load */
	object-fit: cover;
	/* Source is portrait with the technician mid-frame; bias the crop downward
	   so he stays in shot rather than the roofline dominating. */
	object-position: center 52%;
	border-radius: var(--radius-lg);
	border: 1px solid var(--blue-tint-2);
	box-shadow: var(--shadow-lg);
	background: var(--blue-tint);   /* tinted placeholder while the photo decodes */
}
@media (min-width: 1024px) {
	.hero__photo { aspect-ratio: 4 / 4.6; }   /* keep it portrait — the source is */
}

/* Floating review chip */
.hero__chip {
	position: absolute;
	left: calc(-1 * var(--space-sm));
	bottom: var(--space-lg);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 14px 18px;
	box-shadow: var(--shadow-md);
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 260px;
}
.hero__chip-stars { color: #F0A93B; display: flex; gap: 2px; flex-shrink: 0; }
.hero__chip-text { font-size: 13px; line-height: 1.4; color: var(--muted); }
.hero__chip-text strong { display: block; color: var(--navy); font-size: 15px; }

/* Proof bar */
.hero__proof { position: relative; border-top: 1px solid var(--border); background: rgba(255,255,255,0.5); }
.hero__proof-inner {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-md);
	padding-block: var(--space-lg);
}
@media (min-width: 768px) { .hero__proof-inner { grid-template-columns: repeat(4, 1fr); } }

.proof-stat__value {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(34px, 5vw, 46px);
	font-weight: 800;
	line-height: 1;
	color: var(--blue-action);
	font-variant-numeric: tabular-nums;  /* prevents width jitter while counting */
}
.proof-stat__unit { font-size: 0.5em; margin-left: 2px; }
.proof-stat__value--sm { font-size: clamp(26px, 3.6vw, 36px); }   /* licence number runs long */
.proof-stat__label { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.4; }

/* ==========================================================================
   6. LOCAL EXPERTISE SECTION
   ========================================================================== */

.local { background: var(--surface); padding-block: var(--space-2xl); }

.local__inner { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 900px) { .local__inner { grid-template-columns: 1.05fr 0.95fr; } }

.check-list { list-style: none; margin: var(--space-md) 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li {
	display: grid;
	grid-template-columns: 26px 1fr;
	gap: 12px;
	align-items: start;
	font-size: 16px;
	color: var(--ink);
}
.check-list svg { color: var(--blue-action); margin-top: 3px; }

/* Pest grid — what you actually treat */
.pest-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-sm);
}
/* 8 pests: 4×2 keeps the grid even instead of a 3/3/2 orphan row. */
@media (min-width: 560px) { .pest-grid { grid-template-columns: repeat(4, 1fr); } }

.pest-card {
	background: var(--cream);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: var(--space-md) var(--space-sm);
	text-align: center;
	transition: transform var(--dur-base) var(--ease-out),
	            border-color var(--dur-base) var(--ease-out),
	            box-shadow var(--dur-base) var(--ease-out);
}
.pest-card:hover {
	transform: translateY(-3px);
	border-color: var(--blue);
	box-shadow: var(--shadow-md);
}
.pest-card__icon {
	width: 44px; height: 44px;
	margin: 0 auto 10px;
	border-radius: 50%;
	background: var(--blue-tint);
	color: var(--blue-action);
	display: grid;
	place-items: center;
}
.pest-card__name { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--navy); }

/* ==========================================================================
   7. PROCESS
   ========================================================================== */

.process { padding-block: var(--space-2xl); background: var(--cream); }

.steps { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; gap: var(--space-lg); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); } }

.step { position: relative; padding-top: var(--space-md); border-top: 2px solid var(--blue-tint-2); }
.step__num {
	display: block;
	font-family: var(--font-display);
	font-size: 46px;
	font-weight: 800;
	line-height: 1;
	color: var(--blue-action);   /* soft blue is only 2.4:1 here — fails even large-text 3:1 */
	margin-bottom: 10px;
	font-variant-numeric: tabular-nums;
}
.step__title { font-size: 23px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }

/* ==========================================================================
   8. PRICING
   ========================================================================== */

.pricing { padding-block: var(--space-2xl); background: var(--cream-2); }

.tiers { display: grid; gap: var(--space-md); margin-top: var(--space-xl); align-items: start; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); } }

.tier {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: var(--space-lg) var(--space-md);
	display: flex;
	flex-direction: column;
	transition: transform var(--dur-base) var(--ease-out),
	            box-shadow var(--dur-base) var(--ease-out);
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.tier--featured {
	background: var(--navy);
	border-color: var(--navy);
	box-shadow: var(--shadow-lg);
}
.tier--featured .tier__for,
.tier--featured .tier__features li { color: rgba(255,255,255,0.88); }
@media (min-width: 900px) {
	.tier--featured { transform: scale(1.035); }
	.tier--featured:hover { transform: scale(1.035) translateY(-4px); }
}

.tier__badge {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	background: var(--blue);
	color: var(--navy-deep);   /* dark-on-soft-blue keeps this legible */
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: 999px;
}

.tier__name {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: var(--blue-action);
	margin-bottom: 4px;
}
.tier--featured .tier__name { color: var(--blue-light); }   /* on navy, soft blue is 4.43:1 — just short */

.tier__for { font-size: 14px; color: var(--muted); margin-bottom: var(--space-md); }

.tier__price {
	display: flex;
	align-items: baseline;
	gap: 2px;
	font-family: var(--font-display);
	color: var(--navy);
	margin-bottom: var(--space-md);
	padding-bottom: var(--space-md);
	border-bottom: 1px solid var(--border);
}
.tier--featured .tier__price { color: #fff; border-color: rgba(255,255,255,0.18); }
.tier__currency { font-size: 26px; font-weight: 700; }
.tier__amount {
	font-size: 62px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
}
.tier__period { font-size: 17px; font-weight: 600; color: var(--muted); }
.tier--featured .tier__period { color: rgba(255,255,255,0.7); }

.tier__features { list-style: none; margin: 0 0 var(--space-lg); padding: 0; display: grid; gap: 11px; flex: 1; }
.tier__features li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.5; }
.tier__features li::before {
	content: '';
	position: absolute;
	left: 0; top: 8px;
	width: 14px; height: 8px;
	border-left: 2.5px solid var(--blue-action);
	border-bottom: 2.5px solid var(--blue-action);
	transform: rotate(-45deg);
}
.tier--featured .tier__features li::before { border-color: var(--blue); }

/* Price-match strip */
.price-match {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-sm);
	align-items: center;
	max-width: 860px;
	margin: var(--space-xl) auto 0;
	background: var(--surface);
	border: 1px solid var(--blue-tint-2);
	border-radius: var(--radius-lg);
	padding: var(--space-md);
	box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
	.price-match {
		grid-template-columns: auto 1fr auto;
		gap: var(--space-md);
		padding: var(--space-md) var(--space-lg);
	}
}
.price-match__icon {
	width: 52px; height: 52px;
	border-radius: 50%;
	background: var(--blue-tint);
	color: var(--blue-action);
	display: grid;
	place-items: center;
}
.price-match__title {
	font-size: 20px;
	font-weight: 800;
	margin-bottom: 4px;
}
.price-match__text {
	margin: 0;
	font-size: 15px;
	color: var(--muted);
	max-width: 52ch;
}

.pricing__foot {
	margin: var(--space-lg) auto 0;
	text-align: center;
	font-size: 14px;
	color: var(--muted);
	max-width: 56ch;
}

/* ==========================================================================
   9. GUARANTEE
   ========================================================================== */

.guarantee { background: var(--navy); color: #fff; padding-block: var(--space-2xl); text-align: center; }
.guarantee__title {
	font-size: clamp(34px, 6vw, 62px);
	font-weight: 900;
	color: #fff;
	letter-spacing: -0.03em;
	margin-bottom: var(--space-md);
}
.guarantee__title span { color: var(--blue); }
.guarantee p { max-width: 52ch; margin: 0 auto var(--space-lg); font-size: 18px; color: rgba(255,255,255,0.86); }
.guarantee .btn--primary { background: var(--blue-action); border-color: var(--blue-action); }
.guarantee .btn--primary:hover { background: #fff; border-color: #fff; color: var(--navy); }

/* ==========================================================================
   10. SERVICE AREAS
   ========================================================================== */

.areas { padding-block: var(--space-2xl); background: var(--cream); }
.areas__list { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas__item {
	font-family: var(--font-display);
	font-size: clamp(18px, 2.6vw, 25px);
	font-weight: 700;
	color: var(--navy);
	padding: 10px 20px;
	border: 2px solid var(--blue-tint-2);
	border-radius: 999px;
	background: var(--surface);
	transition: border-color var(--dur-base) var(--ease-out),
	            color var(--dur-base) var(--ease-out),
	            background var(--dur-base) var(--ease-out);
}
.areas__item:hover { border-color: var(--blue-action); background: var(--blue-action); color: #fff; }

/* Service-area photo band */
.areas__figure {
	margin: var(--space-xl) 0 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	border: 1px solid var(--border);
}
.areas__figure img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center 55%;
}

/* ==========================================================================
   10b. REVIEWS
   ========================================================================== */

.reviews { padding-block: var(--space-2xl); background: var(--surface); }

.review-grid {
	display: grid;
	gap: var(--space-md);
	margin-top: var(--space-xl);
}
@media (min-width: 800px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }

.review {
	margin: 0;
	background: var(--cream);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: var(--space-md);
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: transform var(--dur-base) var(--ease-out),
	            box-shadow var(--dur-base) var(--ease-out);
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.review__stars { color: #E8A33D; display: flex; gap: 2px; }

.review__quote {
	margin: 0;
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--ink);
	flex: 1;
}
.review__quote::before { content: '\201C'; }
.review__quote::after  { content: '\201D'; }

.review__by {
	font-size: 14px;
	color: var(--muted);
	display: flex;
	gap: 8px;
	align-items: baseline;
}
.review__by strong { color: var(--navy); font-weight: 700; }

.reviews__link { text-align: center; margin: var(--space-lg) 0 0; }

/* ==========================================================================
   11. FOOTER
   ========================================================================== */

.site-footer { background: var(--navy); color: rgba(255,255,255,0.76); padding-block: var(--space-2xl) var(--space-lg); font-size: 15px; }
.site-footer__grid { display: grid; gap: var(--space-lg); margin-bottom: var(--space-xl); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-xl); } }
.site-footer h3 {
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: var(--space-sm);
	font-family: var(--font-body);
	font-weight: 700;
}
.site-footer a { color: rgba(255,255,255,0.76); text-decoration: none; transition: color var(--dur-base) var(--ease-out); }
.site-footer a:hover { color: var(--blue-light); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer__phone {
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 800;
	color: #fff !important;
	letter-spacing: -0.02em;
	display: inline-block;
	margin-bottom: 6px;
}
.site-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.16);
	padding-top: var(--space-md);
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	justify-content: space-between;
	font-size: 13px;
	color: rgba(255,255,255,0.55);
}

/* ==========================================================================
   12. STICKY MOBILE CALL BAR
   ========================================================================== */

.call-bar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: var(--z-callbar);
	background: rgba(255,255,255,0.96);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--border);
	padding: 10px var(--space-sm);
	padding-bottom: calc(10px + env(safe-area-inset-bottom));  /* gesture-bar clearance */
	transform: translateY(110%);
	transition: transform var(--dur-slow) var(--ease-out);
}
.call-bar.is-visible { transform: translateY(0); }
@media (min-width: 1024px) { .call-bar { display: none; } }
@media (max-width: 1023px) { .site-footer { padding-bottom: calc(var(--space-lg) + 76px); } }

/* ==========================================================================
   13. REVEAL ANIMATION
   ========================================================================== */

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity var(--dur-slow) var(--ease-out),
	            transform var(--dur-slow) var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Stagger within a group — 60ms apart, capped so long lists never stall. */
.reveal:nth-child(2) { transition-delay: 60ms; }
.reveal:nth-child(3) { transition-delay: 120ms; }
.reveal:nth-child(4) { transition-delay: 180ms; }
.reveal:nth-child(5) { transition-delay: 240ms; }
.reveal:nth-child(6) { transition-delay: 300ms; }
.reveal:nth-child(n+7) { transition-delay: 340ms; }

/* Content must never be invisible because a script failed.
   `.no-js`     — scripting off entirely.
   `.reveal-all` — failsafe from <head>; main.js did not boot in time. */
.no-js .reveal,
.reveal-all .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   14. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	.reveal { opacity: 1 !important; transform: none !important; }
	.pulse-dot { animation: none; }
	.tier--featured { transform: none; }
}

/* ==========================================================================
   15. GENERIC PAGE / POST
   ========================================================================== */

.page-hero { background: var(--blue-tint); padding-block: var(--space-2xl) var(--space-xl); }
.page-hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 900; }

.entry { padding-block: var(--space-xl) var(--space-2xl); }
.entry__content { max-width: 68ch; margin-inline: auto; }
.entry__content h2 { font-size: 32px; margin: var(--space-lg) 0 var(--space-sm); }
.entry__content h3 { font-size: 24px; margin: var(--space-md) 0 var(--space-xs); }
.entry__content img { border-radius: var(--radius); margin-block: var(--space-md); }
.entry__content a { color: var(--blue-action); text-underline-offset: 3px; }

.error-404 { text-align: center; padding-block: var(--space-3xl); }

/* ==========================================================================
   16. SUBPAGES (services / about / service-areas / contact)
   ========================================================================== */

.page-hero .eyebrow { color: var(--blue-text); }
.page-hero .section-lede { margin-bottom: 0; margin-top: var(--space-sm); }

/* Services */
.svc { padding-block: var(--space-2xl); }
.svc-grid {
	display: grid;
	gap: var(--space-md);
	margin-bottom: var(--space-2xl);
}
@media (min-width: 700px)  { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: var(--space-md);
	transition: transform var(--dur-base) var(--ease-out),
	            box-shadow var(--dur-base) var(--ease-out),
	            border-color var(--dur-base) var(--ease-out);
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.svc-card__name { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.svc-card p { color: var(--muted); font-size: 15.5px; margin: 0; }

.svc-includes { max-width: 640px; }
.svc-includes .section-title { font-size: clamp(28px, 4vw, 40px); }
.svc-includes .check-list { margin-bottom: var(--space-lg); }

/* About */
.about { padding-block: var(--space-2xl); background: var(--surface); }
.about__grid { display: grid; gap: var(--space-xl); align-items: start; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1.05fr 0.95fr; } }

.about__photos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-sm);
	align-items: start;
}
.about__photo {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-md);
	background: var(--blue-tint);
}
.about__photo--offset { margin-top: var(--space-xl); }

/* Service areas */
.cities { padding-block: var(--space-2xl); }
.cities__grid { display: grid; gap: var(--space-md); margin-bottom: var(--space-xl); }
@media (min-width: 700px)  { .cities__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cities__grid { grid-template-columns: repeat(3, 1fr); } }

.city-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: var(--space-md);
	border-top: 4px solid var(--blue);
}
.city-card__name { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.city-card p { color: var(--muted); font-size: 15.5px; margin: 0; }

.cities__note {
	text-align: center;
	color: var(--muted);
	font-size: 15px;
	margin: var(--space-lg) 0 0;
}

/* Contact */
.contact { padding-block: var(--space-2xl); }
.contact__grid { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
@media (min-width: 800px) { .contact__grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: var(--space-lg) var(--space-md);
	text-decoration: none;
	color: inherit;
	transition: transform var(--dur-base) var(--ease-out),
	            box-shadow var(--dur-base) var(--ease-out),
	            border-color var(--dur-base) var(--ease-out);
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.contact-card--static { cursor: default; }

.contact-card__icon {
	width: 52px; height: 52px;
	border-radius: 50%;
	background: var(--blue-tint);
	color: var(--blue-action);
	display: grid;
	place-items: center;
	margin-bottom: 8px;
}
.contact-card__label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: var(--blue-text);
}
.contact-card__value {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 800;
	color: var(--navy);
	letter-spacing: -0.01em;
	overflow-wrap: anywhere;
}
.contact-card__value--sm { font-size: 19px; }
.contact-card__hint { font-size: 14px; color: var(--muted); }

.contact__areas { text-align: center; }
.contact__areas .section-title { font-size: clamp(26px, 4vw, 38px); }
.contact__areas .areas__list { justify-content: center; margin-top: var(--space-md); }

/* ==========================================================================
   17. TWO-PLAN PRICING
   ========================================================================== */

.tiers--two {
	max-width: 860px;
	margin-inline: auto;
}
@media (min-width: 900px) {
	.tiers--two { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   18. QUOTE SECTION
   ========================================================================== */

.quote { padding-block: var(--space-2xl); background: var(--surface); }
.quote__inner { display: grid; gap: var(--space-xl); align-items: stretch; }
@media (min-width: 960px) { .quote__inner { grid-template-columns: 0.9fr 1.1fr; } }

.quote__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); display: none; }
@media (min-width: 960px) { .quote__photo { display: block; } }
.quote__photo img { width: 100%; height: 100%; object-fit: cover; }

.quote__panel {
	background: var(--cream);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: var(--space-lg) var(--space-md);
	box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .quote__panel { padding: var(--space-xl) var(--space-lg); } }
.quote__panel .section-title { font-size: clamp(28px, 4vw, 40px); }
.quote__panel--contact { margin-bottom: var(--space-2xl); background: var(--surface); }

.quote__rating {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--navy);
	background: var(--surface);
	border: 1px solid var(--blue-tint-2);
	border-radius: 999px;
	padding: 6px 14px;
	margin-bottom: var(--space-sm);
}
.quote__panel--contact .quote__rating { background: var(--cream); }
.quote__stars { color: #B07219; letter-spacing: 2px; font-size: 13px; }

.quote__fallback { display: grid; gap: var(--space-sm); max-width: 420px; }

/* Form plugin fields inherit the design system. Selectors cover WPForms and
   Fluent Forms default markup. */
.quote__panel input[type="text"],
.quote__panel input[type="email"],
.quote__panel input[type="tel"],
.quote__panel select,
.quote__panel textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	border: 2px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	font-family: var(--font-body);
	font-size: 16px;             /* prevents iOS zoom-on-focus */
	color: var(--ink);
	transition: border-color var(--dur-base) var(--ease-out);
}
.quote__panel textarea { min-height: 120px; }
.quote__panel input:focus,
.quote__panel select:focus,
.quote__panel textarea:focus {
	outline: none;
	border-color: var(--blue-action);
}
.quote__panel label { font-weight: 600; font-size: 14px; color: var(--navy); }
.quote__panel button[type="submit"],
.quote__panel input[type="submit"],
.quote__panel .wpforms-submit,
.quote__panel .ff-btn-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 32px;
	border: 2px solid var(--blue-action);
	border-radius: 999px;
	background: var(--blue-action);
	color: #fff;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background var(--dur-base) var(--ease-out),
	            transform var(--dur-fast) var(--ease-out);
}
.quote__panel button[type="submit"]:hover,
.quote__panel input[type="submit"]:hover { background: var(--blue-hover); }
.quote__panel button[type="submit"]:active { transform: scale(0.97); }

/* ==========================================================================
   19. AT-WORK PHOTO MARQUEE
   ========================================================================== */

.atwork { padding-block: var(--space-2xl) 0; background: var(--cream); overflow: hidden; }
.atwork .section-title { margin-bottom: var(--space-lg); }

.atwork__viewport {
	display: flex;
	gap: var(--space-sm);
	padding-block: 0 var(--space-2xl);
	width: max-content;
}
.atwork__track {
	display: flex;
	gap: var(--space-sm);
	padding-right: var(--space-sm);
	animation: kova-marquee 42s linear infinite;
}
.atwork__viewport:hover .atwork__track { animation-play-state: paused; }
.atwork__track img {
	width: clamp(200px, 26vw, 300px);
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	transition: transform var(--dur-base) var(--ease-out);
}
.atwork__track img:hover { transform: scale(1.03); }

@keyframes kova-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
	.atwork__track { animation: none; }
	.atwork__viewport { width: auto; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.atwork__track[aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   20. MAIN SERVICES TRIO (services page)
   ========================================================================== */

.main-svc { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
@media (min-width: 900px) { .main-svc { grid-template-columns: repeat(3, 1fr); } }

.main-svc__card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-top: 4px solid var(--blue);
	border-radius: var(--radius-lg);
	padding: var(--space-lg) var(--space-md);
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: transform var(--dur-base) var(--ease-out),
	            box-shadow var(--dur-base) var(--ease-out);
}
.main-svc__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.main-svc__tag {
	width: fit-content;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: var(--blue-text);
	background: var(--blue-tint);
	border-radius: 999px;
	padding: 5px 12px;
}
.main-svc__tag--addon { color: #7A4A00; background: #FBEED7; }
.main-svc__name { font-size: 26px; font-weight: 800; }
.main-svc__card p { color: var(--muted); font-size: 15.5px; flex: 1; margin: 0; }
.main-svc__link {
	font-weight: 700;
	font-size: 15px;
	color: var(--blue-action);
	text-decoration: none;
}
.main-svc__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.svc .section-title--center { margin-bottom: var(--space-lg); }

/* ==========================================================================
   21. REVIEW SLIDER
   ========================================================================== */

/* Upgraded by JS: .review-slider.is-slider shows one card at a time. */
.review-slider.is-slider .review-grid {
	display: grid;
	grid-template-columns: 1fr;
	max-width: 680px;
	margin-inline: auto;
}
.review-slider.is-slider .review {
	grid-area: 1 / 1;
	opacity: 0;
	transform: translateX(24px);
	transition: opacity var(--dur-slow) var(--ease-out),
	            transform var(--dur-slow) var(--ease-out);
	pointer-events: none;
}
.review-slider.is-slider .review.is-active {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.review-slider.is-slider .review.is-exit-left { transform: translateX(-24px); }

.review-slider__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm);
	margin-top: var(--space-md);
}
.review-slider__arrow {
	width: 48px; height: 48px;
	display: grid;
	place-items: center;
	border: 2px solid var(--border);
	border-radius: 50%;
	background: var(--surface);
	color: var(--navy);
	cursor: pointer;
	transition: border-color var(--dur-base) var(--ease-out),
	            color var(--dur-base) var(--ease-out),
	            transform var(--dur-fast) var(--ease-out);
}
.review-slider__arrow:hover { border-color: var(--blue-action); color: var(--blue-action); }
.review-slider__arrow:active { transform: scale(0.94); }

.review-slider__dots { display: flex; gap: 8px; }
.review-slider__dot {
	width: 10px; height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--blue-tint-2);
	cursor: pointer;
	transition: background var(--dur-base) var(--ease-out),
	            transform var(--dur-base) var(--ease-out);
}
.review-slider__dot.is-active { background: var(--blue-action); transform: scale(1.25); }

/* ==========================================================================
   22. FAQ ACCORDION (native <details>)
   ========================================================================== */

.faq { max-width: 760px; margin-inline: auto; margin-bottom: var(--space-2xl); }
.faq .section-title { margin-bottom: var(--space-lg); }

.faq__item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	margin-bottom: var(--space-xs);
	overflow: hidden;
	transition: border-color var(--dur-base) var(--ease-out);
}
.faq__item[open] { border-color: var(--blue); }

.faq__q {
	list-style: none;
	cursor: pointer;
	padding: 18px var(--space-md);
	padding-right: 56px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 17px;
	color: var(--navy);
	position: relative;
	transition: color var(--dur-base) var(--ease-out);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--blue-action); }
.faq__q::after {
	content: '';
	position: absolute;
	right: var(--space-md);
	top: 50%;
	width: 10px; height: 10px;
	border-right: 2.5px solid var(--blue-action);
	border-bottom: 2.5px solid var(--blue-action);
	transform: translateY(-70%) rotate(45deg);
	transition: transform var(--dur-base) var(--ease-out);
}
.faq__item[open] .faq__q::after { transform: translateY(-30%) rotate(225deg); }

.faq__a {
	padding: 0 var(--space-md) var(--space-md);
	margin: 0;
	color: var(--muted);
	font-size: 15.5px;
}

