/*
Theme Name: emergencyairfix
Theme URI: https://emergencyairfix.com
Author: Chris
Description: Child theme for the programmatic HVAC lead network. Hosts tracking, conversion hooks, local SEO, and landing templates without modifying Twenty Twenty-Five.
Template: twentytwentyfive
Version: 1.6.3
Requires at least: 6.7
Requires PHP: 7.2
Text Domain: hvac-lead-child
*/

:root {
	--luxury-navy: #0f172a;
	--crisis-red: #dc2626;
	--slate-text: #334155;
	--clean-bg: #f8fafc;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	color: #222;
	line-height: 1.6;
	background: #fff;
	padding-bottom: 0;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: #b91c1c;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	z-index: 100;
	padding: 0.6rem 1rem;
	background: #dc2626;
	color: #fff;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

header#masthead,
.site-header {
	background-color: var(--luxury-navy);
	border-bottom: 3px solid var(--crisis-red);
	padding: 15px 0;
}

.hvac-header-bar,
.hvac-footer-bar {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.hvac-brand,
.hvac-footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.04em;
}

.hvac-logo {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}

.hvac-header-phone,
.hvac-footer-phone {
	background: var(--crisis-red);
	color: #fff;
	padding: 10px 18px;
	border-radius: 6px;
	text-decoration: none;
	white-space: nowrap;
	font-weight: 700;
}

.hvac-header-phone:hover,
.hvac-footer-phone:hover {
	background: #b91c1c;
	color: #fff;
}

.hvac-container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
}

.hvac-container-narrow {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
}

.hvac-header-nav {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-left: auto;
	margin-right: 16px;
}

.hvac-header-nav a {
	color: #e2e8f0;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
}

.hvac-header-nav a:hover,
.hvac-header-nav a[aria-current="page"] {
	color: #fff;
}

.hero-triage-section,
.universal-hero,
.commercial-hero {
	background: #0f172a;
	color: #fff;
	padding: 80px 20px;
	text-align: center;
}

.hero-triage-section h1,
.universal-hero h1,
.commercial-hero h1 {
	font-size: 2.6rem;
	font-weight: 800;
	color: #fff;
	margin: 0 0 20px;
	line-height: 1.2;
}

.hero-triage-section p,
.universal-hero p,
.commercial-hero p {
	font-size: 1.25rem;
	color: #94a3b8;
	max-width: 750px;
	margin: 0 auto 28px;
}

.cta-phone-btn,
.hvac-form-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 18px 40px;
	background: #dc2626;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
	border: 0;
	border-radius: 6px;
	font-size: 1.35rem;
	cursor: pointer;
	box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.3);
	transition: background 0.2s ease, transform 0.2s ease;
}

.cta-phone-btn:hover,
.hvac-form-submit:hover {
	background: #b91c1c;
	transform: translateY(-2px);
}

.dispatch-status {
	margin: 22px auto 0 !important;
	font-size: 1rem !important;
	color: #cbd5e1 !important;
}

.badge-bar {
	background: #1e293b;
	padding: 15px 0;
	text-align: center;
	border-bottom: 4px solid #dc2626;
}

.badge-bar span {
	color: #cbd5e1;
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0 15px;
	display: inline-block;
}

.steps-section {
	padding: 60px 0;
	background: #f8fafc;
	text-align: center;
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.steps-section h2 {
	color: #0f172a;
	font-size: 1.3rem;
	margin-bottom: 10px;
}

.steps-section p {
	color: #475569;
	margin: 0;
}

.editorial-section,
.universal-pain,
.faq-section {
	padding: 70px 20px;
	background: #fff;
}

.editorial-section {
	text-align: center;
}

.editorial-section h2,
.universal-pain h2,
.dispatch-section h2,
.faq-section h2,
.reassurance-section h2,
.hvac-directory-section h2,
.cta-band h2,
.hvac-standard-page h1,
.hvac-prose h2 {
	font-size: 2rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 20px;
}

.editorial-section p,
.universal-pain p,
.dispatch-section p,
.hvac-prose p {
	font-size: 1.15rem;
	color: #334155;
	line-height: 1.8;
}

.dispatch-section,
.hvac-directory-section {
	padding: 60px 20px;
	background: #f8fafc;
}

.dispatch-section ol {
	max-width: 800px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: hvac-step;
}

.dispatch-section li {
	position: relative;
	margin-bottom: 18px;
	padding: 20px 20px 20px 72px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	color: #475569;
}

.dispatch-section li::before {
	counter-increment: hvac-step;
	content: counter(hvac-step);
	position: absolute;
	left: 20px;
	top: 20px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #0f172a;
	color: #fff;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dispatch-section li strong {
	display: block;
	margin-bottom: 6px;
	color: #0f172a;
	font-size: 1.15rem;
}

.reassurance-section {
	padding: 60px 20px;
	background: #f1f5f9;
	text-align: center;
}

.faq-item {
	margin-bottom: 30px;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 20px;
}

.faq-item h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 10px;
	color: #0f172a;
}

.hvac-directory-lede {
	font-size: 1.1rem;
	color: #475569;
	margin-bottom: 40px;
	text-align: center;
}

.directory-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.directory-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	text-decoration: none;
	color: #0f172a;
	font-weight: 700;
	text-align: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.directory-card:hover,
.directory-card.is-current {
	border-color: #dc2626;
	transform: translateY(-2px);
	color: #dc2626;
}

.directory-card .directory-meta {
	margin-top: 6px;
	font-size: 0.85rem;
	font-weight: 500;
	color: #64748b;
}

.directory-card:hover .directory-meta {
	color: #dc2626;
}

.directory-empty {
	text-align: center;
	color: #64748b;
}

.cta-band {
	background: #0f172a;
	color: #fff;
	padding: 60px 20px;
	text-align: center;
}

.cta-band h2 {
	color: #fff;
}

.cta-band p {
	color: #94a3b8;
	font-size: 1.15rem;
	max-width: 700px;
	margin: 0 auto 28px;
}

.hvac-form-band {
	background: #111827;
}

.hvac-lead-form {
	max-width: 720px;
	margin: 0 auto;
	text-align: left;
}

.hvac-lead-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 18px;
}

.hvac-lead-full {
	grid-column: 1 / -1;
}

.hvac-lead-form label span {
	display: block;
	color: #cbd5e1;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 6px;
}

.hvac-lead-form input[type="text"],
.hvac-lead-form input[type="tel"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #334155;
	border-radius: 6px;
	background: #0f172a;
	color: #fff;
	font-size: 1rem;
}

.hvac-hp {
	position: absolute;
	left: -9999px;
	height: 0;
	width: 0;
	opacity: 0;
}

.hvac-form-note,
.hvac-form-success {
	margin-top: 16px;
	color: #cbd5e1;
	font-size: 0.95rem;
}

.hvac-form-success {
	color: #86efac;
	font-weight: 600;
}

.hvac-form-note a {
	color: #fff;
}

.hvac-standard-page {
	padding: 48px 0 0;
}

.hvac-prose {
	max-width: 800px;
}

.hvac-text-link {
	color: #e2e8f0;
}

footer#colophon,
.site-footer {
	background-color: #090d16;
	color: #94a3b8;
	padding: 40px 0 0;
	border-top: 1px solid #1e293b;
}

.hvac-footer-bar {
	padding-bottom: 20px;
}

.hvac-legal-nav {
	display: flex;
	justify-content: center;
	gap: 1.25rem;
	flex-wrap: wrap;
	padding: 0 20px 20px;
}

.hvac-legal-nav a,
footer#colophon a {
	color: #cbd5e1;
}

.site-referral-disclaimer {
	background: #090d16;
	padding: 24px 20px 40px;
	border-top: 1px solid #1e293b;
}

.site-referral-disclaimer p {
	font-size: 0.78rem;
	line-height: 1.6;
	color: #64748b;
	margin: 0 auto;
	max-width: 1000px;
	text-align: center;
}

.hvac-sticky-call {
	display: none;
}

.commercial-kicker,
.commercial-corridor-kicker {
	display: inline-block;
	margin: 0 0 12px;
	padding: 6px 12px;
	border: 1px solid #334155;
	border-radius: 999px;
	color: #fca5a5;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.commercial-subhead {
	max-width: 820px !important;
	font-size: 1.2rem !important;
}

.commercial-cta-phone {
	font-size: 1.55rem;
	padding: 22px 48px;
	width: 100%;
	max-width: 640px;
	letter-spacing: 0.01em;
}

.commercial-cta-inline {
	margin-top: 8px;
	max-width: 420px;
}

.commercial-trust-grid {
	background: #111827;
	padding: 36px 20px 42px;
	border-bottom: 4px solid #dc2626;
}

.commercial-trust-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.commercial-trust-card {
	background: #1e293b;
	border: 1px solid #334155;
	border-radius: 10px;
	padding: 22px 20px;
	color: #cbd5e1;
}

.commercial-trust-card h2 {
	color: #fff;
	font-size: 1.15rem;
	margin: 0 0 10px;
}

.commercial-trust-card p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #94a3b8;
}

.commercial-trust-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-bottom: 10px;
	border-radius: 50%;
	background: #dc2626;
	color: #fff;
	font-weight: 800;
}

.commercial-focus-list {
	margin: 24px 0;
	padding: 0;
	list-style: none;
}

.commercial-focus-list li {
	position: relative;
	margin-bottom: 10px;
	padding: 12px 16px 12px 40px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	color: #0f172a;
	font-weight: 600;
}

.commercial-focus-list li::before {
	content: "✓";
	position: absolute;
	left: 14px;
	color: #dc2626;
	font-weight: 800;
}

.commercial-corridor-block {
	margin-bottom: 36px;
}

.commercial-corridor-title {
	margin: 0 0 6px;
	color: #0f172a;
	font-size: 1.35rem;
}

.commercial-state-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin: 0 0 28px;
}

.commercial-state-links a {
	color: #0f172a;
	font-weight: 700;
}

.commercial-hub-teaser .commercial-state-links {
	justify-content: center;
	margin: 28px 0 0;
}

.commercial-hub-teaser .commercial-state-links a {
	color: #fff;
}

.commercial-corridor-focus {
	margin: 0 0 16px;
	color: #64748b;
	font-size: 0.95rem;
}

.commercial-directory-section {
	padding: 60px 20px;
	background: #f8fafc;
}

.commercial-hub-teaser {
	padding: 60px 20px;
	background: #0f172a;
}

.commercial-hub-teaser h2 {
	color: #fff;
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 12px;
	text-align: center;
}

.commercial-hub-teaser .hvac-directory-lede {
	color: #94a3b8;
}

.commercial-hub-teaser .directory-card {
	background: #1e293b;
	border-color: #334155;
	color: #fff;
}

.commercial-hub-teaser .directory-card .directory-meta,
.commercial-hub-teaser .directory-card:hover .directory-meta {
	color: #fca5a5;
}

.commercial-hub-teaser-cta {
	margin: 32px 0 0;
	text-align: center;
}

@media (max-width: 768px) {
	.hero-triage-section,
	.universal-hero,
	.commercial-hero {
		padding: 56px 20px;
	}

	.hero-triage-section h1,
	.universal-hero h1,
	.commercial-hero h1 {
		font-size: 2rem;
	}

	.cta-phone-btn,
	.hvac-form-submit,
	.commercial-cta-phone {
		width: 100%;
		max-width: 100%;
		font-size: 1.15rem;
		padding: 15px 20px;
	}

	.badge-bar span {
		display: block;
		margin: 10px 0;
	}

	.hvac-lead-grid {
		grid-template-columns: 1fr;
	}

	.directory-grid {
		grid-template-columns: 1fr;
	}

	.commercial-trust-cards {
		grid-template-columns: 1fr;
	}

	.hvac-header-bar,
	.hvac-footer-bar {
		flex-direction: column;
		text-align: center;
	}

	.hvac-header-nav {
		margin: 0;
	}

	.hvac-sticky-call {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		padding: 10px 12px 12px;
		background: #0f172a;
		border-top: 3px solid #dc2626;
	}

	.hvac-sticky-call a {
		display: flex;
		align-items: center;
		justify-content: center;
		background: #dc2626;
		color: #fff;
		text-decoration: none;
		font-weight: 700;
		padding: 14px 16px;
		border-radius: 6px;
	}

	body {
		padding-bottom: 76px;
	}
}
