/*
 * Main Stylesheet - Water Extraction Spring Hill
 * Follows Primary Visual Reference (Clean navy/white/light-blue, generous whitespace, premium feel)
 */

:root {
	--navy: #08263f;
	--navy-dark: #051829;
	--blue: #0b67b2;
	--blue-hover: #09528e;
	--sky: #eaf6ff;
	--sky-light: #f6fafc;
	--red: #d9363e;
	--red-hover: #c42931;
	--orange: #e06a1a;
	--ink: #152330;
	--muted: #5a6e80;
	--line: #dbe5ec;
	--white: #ffffff;
	--shadow-sm: 0 2px 6px rgba(8, 38, 63, 0.04);
	--shadow-md: 0 6px 20px rgba(8, 38, 63, 0.08);
	--shadow-lg: 0 14px 40px rgba(8, 38, 63, 0.12);
	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-lg: 20px;
	--radius-pill: 9999px;
	--font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
	margin: 0;
	font-family: var(--font-base);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background-color: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

a {
	color: var(--blue);
	text-decoration: underline;
	text-decoration-color: rgba(11, 103, 178, 0.35);
	text-underline-offset: 3px;
	text-decoration-thickness: 1.5px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--navy);
	text-decoration-color: var(--navy);
}

a:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
	border-radius: 2px;
}

/* UI Cards & Interactive Components - Suppress Global Link Underline */
.issue-card,
.issue-card a,
.issue-pill-card,
.issue-pill-card a,
.service-card,
.service-card a,
.problem-card,
.problem-card a,
.problem-card-item,
.problem-card-item a,
.location-card,
.location-card a,
.area-card,
.area-card a,
.resource-card,
.resource-card a,
.resource-card-item,
.resource-card-item a,
.guide-card,
.guide-card a,
.property-card,
.property-card a,
.process-step-card,
.process-step-card a,
.material-card,
.material-card a,
.local-environment-card,
.local-environment-card a,
.local-resource-card,
.local-resource-card a,
.technical-visual-card,
.technical-visual-card a,
.hero-action-card,
.hero-action-card a,
.emergency-dispatch-card,
.emergency-dispatch-card a,
.resource-bottom-card a,
.page-cta-card a,
.site-header a,
.site-footer a,
.site-navigation a,
.breadcrumbs a,
.btn,
.btn-service-link,
.btn-primary,
.btn-blue,
.btn-light,
.btn-white {
	text-decoration: none;
}

.service-card-title a:hover,
.problem-card-title a:hover,
.resource-card-title a:hover,
.area-card a:hover,
.local-resource-card a:hover {
	text-decoration: none;
	color: var(--blue);
}

/* Ensure contextual editorial body copy links remain visibly underlined */
.entry-content p a,
.entry-content li a,
.entry-content table a,
.editorial-body p a,
.editorial-body li a,
.service-editorial-body p a,
.service-editorial-body li a,
.resource-editorial-body p a,
.resource-editorial-body li a,
.area-editorial-body p a,
.area-editorial-body li a,
.problem-editorial-body p a,
.problem-editorial-body li a {
	text-decoration: underline;
	text-decoration-color: rgba(11, 103, 178, 0.35);
	text-underline-offset: 3px;
	text-decoration-thickness: 1.5px;
}

.entry-content p a:hover,
.entry-content li a:hover,
.editorial-body p a:hover,
.editorial-body li a:hover,
.service-editorial-body p a:hover,
.service-editorial-body li a:hover,
.resource-editorial-body p a:hover,
.resource-editorial-body li a:hover,
.area-editorial-body p a:hover,
.area-editorial-body li a:hover,
.problem-editorial-body p a:hover,
.problem-editorial-body li a:hover {
	text-decoration: underline;
	text-decoration-color: var(--navy);
}

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

/* Accessibility Skip Link */
.skip-link {
	position: absolute;
	top: -999px;
	left: 20px;
	background: var(--red);
	color: var(--white);
	padding: 12px 20px;
	border-radius: var(--radius-sm);
	font-weight: 800;
	z-index: 99999;
}

.skip-link:focus {
	top: 20px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Layout Containers */
.site-container {
	width: min(1180px, 92%);
	margin-left: auto;
	margin-right: auto;
}

/* Utility Badges & Typography */
.eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 8px;
}

.eyebrow-light {
	color: #93c5fd;
}

.eyebrow-red {
	color: #fca5a5;
}

.eyebrow-orange {
	color: #f97316;
}

.section-title {
	font-size: clamp(26px, 3.5vw, 38px);
	font-weight: 900;
	line-height: 1.18;
	color: var(--navy);
	margin: 0 0 12px;
}

.section-subtitle {
	font-size: 17px;
	color: var(--muted);
	max-width: 760px;
	margin: 0 auto;
}

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

.text-white {
	color: var(--white) !important;
}

.text-light {
	color: #cbd5e1 !important;
}

.section {
	padding: 80px 0;
}

.alt-bg {
	background-color: var(--sky-light);
}

.dark-bg {
	background-color: var(--navy);
}

.dark-navy-bg {
	background-color: var(--navy-dark);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	border-radius: 10px;
	border: 0;
	cursor: pointer;
	text-align: center;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn,
.btn:hover,
.btn:focus,
.btn:active,
.btn * {
	text-decoration: none !important;
}

.btn:active {
	transform: scale(0.98);
}

.btn-primary {
	background-color: var(--red);
	color: var(--white) !important;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(217, 54, 62, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: var(--red-hover);
	color: var(--white) !important;
	text-decoration: none !important;
	box-shadow: 0 6px 18px rgba(217, 54, 62, 0.45);
}

.btn-blue {
	background-color: var(--blue);
	color: var(--white) !important;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(11, 103, 178, 0.3);
}

.btn-blue:hover,
.btn-blue:focus {
	background-color: var(--blue-hover);
	color: var(--white) !important;
	text-decoration: none !important;
}

.btn-light {
	background-color: var(--white);
	color: var(--navy);
	border: 1px solid var(--line);
}

.btn-light:hover {
	background-color: var(--sky);
	border-color: var(--blue);
	color: var(--blue);
}

.btn-outline-light {
	background-color: rgba(255, 255, 255, 0.12);
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
	background-color: rgba(255, 255, 255, 0.25);
	color: var(--white);
}

.btn-lg {
	padding: 16px 28px;
	font-size: 16px;
}

.btn-full {
	width: 100%;
}

.btn-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 800;
	color: var(--blue);
}

.btn-link:hover {
	color: var(--navy);
	text-decoration: underline;
}

.icon-svg {
	display: inline-block;
	vertical-align: middle;
	flex-shrink: 0;
}

/* ==========================================================================
   Top Emergency Bar
   ========================================================================== */
.top-bar {
	background-color: var(--navy-dark);
	color: var(--white);
	font-size: 13px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	gap: 16px;
}

.top-bar-notice {
	display: flex;
	align-items: center;
	gap: 10px;
}

.emergency-badge {
	background-color: var(--red);
	color: var(--white);
	font-size: 10px;
	font-weight: 900;
	padding: 3px 8px;
	border-radius: 4px;
	letter-spacing: 0.8px;
}

.top-bar-contact {
	display: flex;
	align-items: center;
	gap: 18px;
}

.btn-text-checklist {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	color: #93c5fd;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	padding: 0;
}

.btn-text-checklist:hover {
	color: var(--white);
	text-decoration: underline;
}

.top-bar-phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--white);
	font-weight: 600;
}

.top-bar-phone strong {
	color: #93c5fd;
}

.top-bar-phone:hover {
	color: #93c5fd;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: var(--white);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	gap: 20px;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none !important;
	line-height: 0;
	flex-shrink: 0;
}

.site-logo-picture {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.site-logo-img {
	display: block;
	width: 240px;
	height: 61px;
	max-width: 100%;
	object-fit: contain;
	transition: opacity 0.2s ease;
}

.site-brand:hover .site-logo-img {
	opacity: 0.92;
}

.brand-text {
	display: flex;
	flex-direction: column;
}

.brand-title {
	font-size: 19px;
	font-weight: 900;
	color: var(--navy);
	line-height: 1.1;
	letter-spacing: -0.2px;
}

.brand-title strong {
	color: var(--blue);
}

.brand-sub {
	font-size: 11px;
	font-weight: 600;
	color: var(--muted);
	letter-spacing: 0.3px;
	margin-top: 2px;
}

.primary-navigation .nav-menu {
	display: flex;
	align-items: center;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-navigation .nav-menu > li {
	position: relative;
}

.primary-navigation .nav-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 700;
	color: var(--navy);
	padding: 8px 0;
	text-decoration: none;
}

.primary-navigation .nav-menu > li > a:hover,
.primary-navigation .nav-menu > li.current-menu-item > a {
	color: var(--blue);
}

.dropdown-caret {
	font-size: 10px;
	transition: transform 0.2s ease;
}

/* Submenu Dropdown */
.sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	width: 260px;
	background-color: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-md);
	list-style: none;
	padding: 8px 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 200;
}

.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sub-menu li a {
	display: block;
	padding: 9px 18px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
}

.sub-menu li a:hover {
	background-color: var(--sky);
	color: var(--blue);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mobile-nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 8px 10px;
	cursor: pointer;
	flex-direction: column;
	gap: 5px;
}

.hamburger-bar {
	display: block;
	width: 22px;
	height: 2px;
	background-color: var(--navy);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile Drawer */
.mobile-drawer-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(8, 38, 63, 0.65);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s;
	z-index: 1000;
}

.mobile-drawer-backdrop.active {
	opacity: 1;
	visibility: visible;
}

.mobile-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(360px, 85vw);
	background-color: var(--white);
	z-index: 1001;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
	display: flex;
	flex-direction: column;
	box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

.mobile-drawer.active {
	transform: translateX(0);
	visibility: visible;
}

.mobile-drawer-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 20px;
	border-bottom: 1px solid var(--line);
}

.mobile-drawer-title {
	font-size: 15px;
	font-weight: 800;
	color: var(--navy);
}

.mobile-drawer-close {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--ink);
	padding: 4px;
}

.mobile-drawer-body {
	padding: 20px;
	overflow-y: auto;
	flex: 1;
}

.mobile-quick-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 22px;
}

.mobile-btn-full {
	width: 100%;
}

.mobile-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mobile-nav-list li a {
	display: block;
	padding: 8px 12px;
	font-size: 15px;
	color: var(--navy);
	border-radius: var(--radius-sm);
}

.mobile-nav-list li a:hover {
	background-color: var(--sky);
	color: var(--blue);
}

.mobile-nav-sub a {
	padding-left: 24px !important;
	font-size: 14px !important;
	color: var(--muted) !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
	position: relative;
	background-color: var(--navy);
	color: var(--white);
	padding: 90px 0 85px;
	overflow: hidden;
}

.hero-bg-picture,
.hero-bg-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
	pointer-events: none;
}

.hero-bg-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(5, 24, 41, 0.95) 0%, rgba(8, 38, 63, 0.88) 50%, rgba(8, 38, 63, 0.65) 100%);
	z-index: 1;
	pointer-events: none;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.25fr 0.85fr;
	gap: 40px;
	align-items: center;
	position: relative;
	z-index: 2;
}

.eyebrow-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 1.5px;
	color: #93c5fd;
	background-color: rgba(147, 197, 253, 0.15);
	padding: 5px 12px;
	border-radius: var(--radius-pill);
	margin-bottom: 16px;
}

.hero-title {
	font-size: clamp(32px, 4.2vw, 54px);
	font-weight: 900;
	line-height: 1.08;
	margin: 0 0 18px;
	color: var(--white);
	letter-spacing: -0.5px;
}

.hero-subtitle {
	font-size: 18px;
	line-height: 1.6;
	color: #e2e8f0;
	max-width: 640px;
	margin: 0 0 28px;
}

.hero-cta-group {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 13px;
	font-weight: 700;
	color: #cbd5e1;
}

.hero-badge-item {
	display: flex;
	align-items: center;
	gap: 6px;
}

.hero-badge-item .icon-svg {
	color: #38bdf8;
}

.hero-action-card {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--radius-lg);
	padding: 30px;
	backdrop-filter: blur(10px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.card-eyebrow {
	display: block;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 1.5px;
	color: #93c5fd;
	margin-bottom: 8px;
}

.card-headline {
	font-size: 22px;
	font-weight: 900;
	color: var(--white);
	margin: 0 0 10px;
	line-height: 1.2;
}

.card-text {
	font-size: 14px;
	color: #cbd5e1;
	line-height: 1.55;
	margin: 0 0 20px;
}

.card-quick-features {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 16px;
}

.quick-feature {
	display: flex;
	align-items: center;
	gap: 12px;
}

.quick-feature .icon-svg {
	color: #38bdf8;
	width: 22px;
	height: 22px;
}

.quick-feature strong {
	display: block;
	font-size: 13px;
	color: var(--white);
}

.quick-feature span {
	font-size: 13px;
	color: #93c5fd;
	font-weight: 600;
}

/* ==========================================================================
   Capability Strip
   ========================================================================== */
.capability-strip {
	background-color: var(--white);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
}

.capability-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.capability-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 22px 18px;
	border-right: 1px solid var(--line);
}

.capability-item:last-child {
	border-right: none;
}

.capability-icon {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	background-color: var(--sky);
	color: var(--blue);
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.capability-text {
	display: flex;
	flex-direction: column;
}

.capability-title {
	font-size: 15px;
	font-weight: 800;
	color: var(--navy);
	line-height: 1.2;
}

.capability-desc {
	font-size: 12px;
	color: var(--muted);
	margin-top: 2px;
}

/* ==========================================================================
   Issue Selector ("What Caused the Water Problem?")
   ========================================================================== */
.section-issue-selector {
	padding: 60px 0 40px;
}

.issue-selector-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin-top: 36px;
}

.issue-pill-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.issue-pill-card:hover {
	transform: translateY(-2px);
	border-color: var(--blue);
	box-shadow: var(--shadow-md);
}

.issue-pill-icon {
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background-color: var(--sky);
	color: var(--blue);
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.issue-pill-text {
	flex: 1;
}

.issue-pill-text strong {
	display: block;
	font-size: 14px;
	font-weight: 800;
	color: var(--navy);
	line-height: 1.2;
}

.issue-pill-text span {
	display: block;
	font-size: 11px;
	color: var(--muted);
	line-height: 1.35;
	margin-top: 2px;
}

.issue-arrow {
	font-weight: 800;
	color: var(--blue);
	transition: transform 0.2s ease;
}

.issue-pill-card:hover .issue-arrow {
	transform: translateX(3px);
}

.issue-pill-not-sure {
	background: #fffbeb;
	border-color: #fef3c7;
}

.issue-pill-not-sure .issue-pill-icon {
	background-color: #fde68a;
	color: #92400e;
}

/* ==========================================================================
   Core Service Cards
   ========================================================================== */
.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	margin-top: 40px;
}

.service-card {
	background-color: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
	border-color: #b9d7ea;
}

.service-card-media {
	height: 200px;
	overflow: hidden;
	background-color: var(--sky);
}

.service-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.service-card:hover .service-card-img {
	transform: scale(1.03);
}

.service-card-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.service-card-icon-wrap {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background-color: var(--sky);
	color: var(--blue);
	display: grid;
	place-items: center;
	margin-bottom: 12px;
}

.service-card-title {
	font-size: 19px;
	font-weight: 800;
	color: var(--navy);
	margin: 0 0 10px;
	line-height: 1.25;
}

.service-card-title a:hover {
	color: var(--blue);
}

.service-card-excerpt {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.55;
	margin: 0 0 16px;
	flex: none;
}

.service-card-points {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.service-card-points li {
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
}

.service-card-action {
	border-top: 1px solid var(--line);
	padding-top: 14px;
	margin-top: auto;
}

.btn-service-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 800;
	color: var(--blue);
}

.btn-service-link .link-arrow {
	transition: transform 0.2s ease;
}

.btn-service-link:hover .link-arrow {
	transform: translateX(4px);
}

.services-hub-cta {
	margin-top: 45px;
}

/* ==========================================================================
   Signature Educational Section (Moisture Path Diagram)
   ========================================================================== */
.section-educational {
	padding: 85px 0;
}

.educational-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 45px;
	align-items: start;
	margin-top: 40px;
}

.diagram-wrapper {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 16px;
	box-shadow: var(--shadow-md);
}

.diagram-image {
	border-radius: var(--radius-md);
	width: 100%;
}

.diagram-caption {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--muted);
	text-align: center;
	margin-top: 12px;
}

.educational-subhead {
	font-size: 22px;
	font-weight: 900;
	color: var(--navy);
	margin: 0 0 20px;
}

.migration-timeline {
	list-style: none;
	padding: 0;
	margin: 0 0 30px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.migration-step {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.step-num {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background-color: var(--navy);
	color: var(--white);
	font-size: 13px;
	font-weight: 900;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.step-detail strong {
	display: block;
	font-size: 15px;
	color: var(--navy);
	line-height: 1.2;
}

.step-detail p {
	font-size: 13.5px;
	color: var(--muted);
	line-height: 1.5;
	margin: 4px 0 0;
}

.service-triad-box {
	background-color: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 22px;
	box-shadow: var(--shadow-sm);
}

.triad-title {
	font-size: 14px;
	font-weight: 800;
	color: var(--navy);
	margin: 0 0 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.triad-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.triad-item {
	padding: 12px;
	background-color: var(--sky);
	border-radius: var(--radius-sm);
	display: flex;
	flex-direction: column;
	gap: 4px;
	border: 1px solid transparent;
	transition: border-color 0.2s ease, transform 0.15s ease;
}

.triad-item:hover {
	border-color: var(--blue);
	transform: translateY(-2px);
}

.triad-badge {
	font-size: 10px;
	font-weight: 900;
	color: var(--blue);
	text-transform: uppercase;
}

.triad-item strong {
	font-size: 13px;
	color: var(--navy);
	line-height: 1.2;
}

.triad-item span {
	font-size: 11px;
	color: var(--muted);
}

/* ==========================================================================
   Water Damage Response Guide (Safe Interactive Tool)
   ========================================================================== */
.section-response-guide {
	padding: 85px 0;
}

.guide-container {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 35px;
	align-items: start;
	margin-top: 40px;
}

.guide-steps-form {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 30px;
	box-shadow: var(--shadow-sm);
}

.guide-step-group {
	border: none;
	padding: 0;
	margin: 0 0 28px;
}

.guide-step-group:last-child {
	margin-bottom: 0;
}

.guide-step-legend {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	color: var(--navy);
	margin-bottom: 14px;
}

.step-badge {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background-color: var(--blue);
	color: var(--white);
	font-size: 12px;
	font-weight: 900;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.guide-options-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.guide-options-grid.three-col {
	grid-template-columns: repeat(3, 1fr);
}

.guide-option {
	cursor: pointer;
	position: relative;
	display: flex;
}

.guide-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.option-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	padding: 13px 14px 13px 44px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--sky-light);
	position: relative;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* 18-20px custom visible radio control */
.option-card::before {
	content: '';
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid #94a3b8;
	background: var(--white);
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

/* Distinct Selected State: light blue fill, 2px blue border, prominent indicator */
.guide-option input[type="radio"]:checked + .option-card,
.guide-option:has(input[type="radio"]:checked) .option-card {
	background: #eef7ff;
	border-color: var(--blue);
	border-width: 2px;
	box-shadow: 0 2px 8px rgba(11, 103, 178, 0.12);
}

.guide-option input[type="radio"]:checked + .option-card::before,
.guide-option:has(input[type="radio"]:checked) .option-card::before {
	border-color: var(--blue);
	background: radial-gradient(circle at center, var(--blue) 0%, var(--blue) 45%, #ffffff 50%, #ffffff 100%);
}

/* Accessible focus outline */
.guide-option input[type="radio"]:focus-visible + .option-card {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}

.option-card strong {
	display: block;
	font-size: 13.5px;
	font-weight: 800;
	color: var(--navy);
	line-height: 1.25;
}

.option-card span {
	display: block;
	font-size: 11.5px;
	color: var(--muted);
	margin-top: 2px;
	line-height: 1.35;
}

.guide-output-panel {
	background: var(--navy);
	color: var(--white);
	border-radius: var(--radius-lg);
	padding: 30px;
	box-shadow: var(--shadow-lg);
	position: sticky;
	top: 90px;
}

.output-tag {
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 1.5px;
	color: #93c5fd;
	display: block;
	margin-bottom: 8px;
}

.output-title {
	font-size: 20px;
	font-weight: 900;
	color: var(--white);
	margin: 0 0 16px;
	line-height: 1.25;
}

.output-structured-actions {
	margin-bottom: 16px;
}

.output-intro {
	font-size: 13.5px;
	font-weight: 700;
	color: #93c5fd;
	margin: 0 0 10px;
	line-height: 1.4;
}

.output-steps-list {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.output-steps-list li {
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
	position: relative;
	padding-left: 18px;
}

.output-steps-list li::before {
	content: '•';
	position: absolute;
	left: 4px;
	top: -1px;
	color: #38bdf8;
	font-weight: 900;
	font-size: 16px;
}

.output-steps-list li strong {
	color: var(--white);
	font-weight: 700;
}

.output-text {
	font-size: 14.5px;
	line-height: 1.6;
	color: #e2e8f0;
	margin: 0 0 20px;
	background: rgba(255, 255, 255, 0.08);
	padding: 16px;
	border-radius: var(--radius-sm);
	border-left: 4px solid #38bdf8;
}

.output-service-recommendations {
	margin-bottom: 20px;
}

.rec-label {
	display: block;
	font-size: 13px;
	color: #cbd5e1;
	margin-bottom: 8px;
}

.rec-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.rec-list li a {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: #93c5fd;
}

.rec-list li a:hover {
	color: var(--white);
	text-decoration: underline;
}

.output-disclaimer {
	font-size: 12px;
	color: #94a3b8;
	line-height: 1.45;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 14px;
	margin-bottom: 22px;
}

.btn-prefill-form {
	width: 100%;
}

/* ==========================================================================
   Six-step Response Protocol
   ========================================================================== */
.section-process {
	padding: 85px 0;
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin: 40px 0 30px;
}

.process-step-card {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius-md);
	padding: 26px;
	position: relative;
	transition: background-color 0.2s ease;
}

.process-step-card:hover {
	background: rgba(255, 255, 255, 0.10);
}

.step-badge-number {
	font-size: 28px;
	font-weight: 900;
	color: #38bdf8;
	line-height: 1;
	margin-bottom: 12px;
}

.step-title {
	font-size: 18px;
	font-weight: 800;
	color: var(--white);
	margin: 0 0 10px;
	line-height: 1.25;
}

.step-text {
	font-size: 14px;
	color: #cbd5e1;
	line-height: 1.55;
	margin: 0;
}

.process-note {
	font-size: 13px;
	color: #94a3b8;
}

/* ==========================================================================
   "What We Check" Material Grid
   ========================================================================== */
.section-material-check {
	padding: 85px 0;
}

.material-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: 36px;
}

.material-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 20px;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.material-card:hover {
	border-color: #b9d7ea;
	box-shadow: var(--shadow-md);
}

.material-header {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
	min-height: 44px;
}

.material-icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background-color: var(--sky);
	color: var(--blue);
	display: grid;
	place-items: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.material-title {
	font-size: 15.5px;
	font-weight: 800;
	color: var(--navy);
	margin: 0;
	line-height: 1.25;
}

.material-desc {
	font-size: 13.5px;
	color: var(--muted);
	line-height: 1.55;
	margin: 0 0 14px;
	flex: 1;
}

.material-key {
	display: block;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--blue);
	border-top: 1px solid var(--line);
	padding-top: 10px;
	margin-top: auto;
}

/* ==========================================================================
   Residential & Commercial Split
   ========================================================================== */
.section-property-types {
	padding: 85px 0;
}

.property-split-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin-top: 40px;
}

.property-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 34px;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
}

.property-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.property-icon {
	width: 48px;
	height: 48px;
	border-radius: var(--radius-sm);
	background: var(--sky);
	color: var(--blue);
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.property-tag {
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 1.5px;
	color: var(--blue);
	display: block;
}

.property-title {
	font-size: 22px;
	font-weight: 900;
	color: var(--navy);
	margin: 2px 0 0;
}

.property-lead {
	font-size: 15px;
	color: var(--muted);
	margin: 0 0 20px;
	line-height: 1.55;
}

.property-feature-list {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.property-feature-list li {
	font-size: 14px;
	color: var(--ink);
	line-height: 1.5;
}

/* ==========================================================================
   Local Spring Hill Context Section
   ========================================================================== */
.section-local-context {
	padding: 85px 0;
}

.local-context-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 45px;
	align-items: center;
}

.lead-text {
	font-size: 17px;
	color: var(--muted);
	line-height: 1.6;
	margin: 0 0 26px;
}

.local-points {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-bottom: 30px;
}

.local-point {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.point-icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--sky);
	color: var(--blue);
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.local-point strong {
	display: block;
	font-size: 15px;
	color: var(--navy);
	line-height: 1.25;
}

.local-point p {
	font-size: 13.5px;
	color: var(--muted);
	margin: 4px 0 0;
	line-height: 1.5;
}

.local-resource-callout {
	background: var(--sky);
	border: 1px solid #bfdbfe;
	border-radius: var(--radius-md);
	padding: 20px;
}

.local-resource-callout h4 {
	font-size: 15px;
	font-weight: 800;
	color: var(--navy);
	margin: 0 0 6px;
}

.local-resource-callout p {
	font-size: 13px;
	color: var(--muted);
	margin: 0 0 14px;
}

.callout-actions {
	display: flex;
	gap: 14px;
	align-items: center;
	flex-wrap: wrap;
}

.btn-sm {
	padding: 8px 14px;
	font-size: 13px;
}

.local-environment-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 30px;
	box-shadow: var(--shadow-md);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.env-card-header .env-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--blue);
	background: var(--sky);
	padding: 4px 10px;
	border-radius: 4px;
	margin-bottom: 8px;
}

.env-card-header .env-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--navy);
	line-height: 1.35;
	margin: 0;
}

.env-factors-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.env-factors-list li {
	font-size: 14px;
	line-height: 1.55;
	color: var(--text-muted);
	border-left: 3px solid var(--blue-light);
	padding-left: 12px;
}

.env-factors-list li strong {
	color: var(--navy);
	display: block;
	font-size: 14px;
	margin-bottom: 2px;
}

.env-card-footer .local-badge-pill {
	background: var(--navy);
	color: var(--white);
	padding: 12px 18px;
	border-radius: var(--radius-md);
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.local-badge-pill strong {
	display: block;
	font-size: 14px;
	color: var(--white);
}

.local-badge-pill span {
	font-size: 12px;
	color: #93c5fd;
}

/* ==========================================================================
   Service Area Checker
   ========================================================================== */
.section-zip-checker {
	padding: 60px 0;
}

.checker-card {
	max-width: 680px;
	margin: 0 auto;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 36px;
	box-shadow: var(--shadow-md);
}

.checker-input-row {
	display: flex;
	gap: 12px;
	margin: 24px 0 16px;
}

.checker-input-row .input-wrap {
	flex: 1;
}

.checker-input-row input {
	width: 100%;
	padding: 14px 18px;
	font-size: 16px;
	border: 1px solid var(--line);
	border-radius: 10px;
	font-family: inherit;
}

.checker-input-row input:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(11, 103, 178, 0.15);
}

.checker-result-box {
	padding: 16px;
	border-radius: var(--radius-sm);
	margin-top: 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 700;
}

.checker-result-success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.checker-result-notice {
	background: #fffbeb;
	border: 1px solid #fef3c7;
	color: #92400e;
}

.checker-footer-note {
	margin-top: 20px;
	color: var(--muted);
}

/* ==========================================================================
   Service Area Grid
   ========================================================================== */
.section-service-areas {
	padding: 85px 0;
}

.service-area-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 40px;
}

.area-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 24px;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
}

.area-card.highlight-card {
	border-color: var(--blue);
	box-shadow: 0 8px 25px rgba(11, 103, 178, 0.12);
}

.area-badge {
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 1px;
	color: var(--white);
	background: var(--blue);
	padding: 3px 8px;
	border-radius: 4px;
	display: inline-block;
	align-self: flex-start;
	margin-bottom: 12px;
}

.area-badge-sub {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1px;
	color: var(--muted);
	background: var(--sky);
	padding: 3px 8px;
	border-radius: 4px;
	display: inline-block;
	align-self: flex-start;
	margin-bottom: 12px;
}

.area-name {
	font-size: 20px;
	font-weight: 900;
	color: var(--navy);
	margin: 0 0 6px;
}

.area-coverage {
	font-size: 12px;
	font-weight: 700;
	color: var(--blue);
	margin: 0 0 12px;
}

.area-desc {
	font-size: 13.5px;
	color: var(--muted);
	line-height: 1.5;
	margin: 0 0 16px;
	flex: 1;
}

.area-bullets {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.area-bullets li {
	font-size: 12.5px;
	color: var(--ink);
}

/* ==========================================================================
   FAQs Component
   ========================================================================== */
.section-faq {
	padding: 85px 0;
}

.faq-container,
.faq-container-service {
	max-width: 820px;
	margin: 28px auto 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.faq-container-service {
	margin: 22px 0 32px;
	max-width: 100%;
}

.faq-item {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
	border-color: #cbd5e1;
}

.faq-item[open] {
	border-color: #93c5fd;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.faq-question {
	padding: 18px 22px;
	font-size: 17.5px;
	font-weight: 700;
	color: var(--navy);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	user-select: none;
	background: transparent;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.faq-question::-webkit-details-marker,
.faq-question::marker {
	display: none;
	content: "";
}

.faq-question:hover {
	color: var(--blue);
	background-color: #f8fafc;
}

.faq-question:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: -2px;
	border-radius: 12px;
}

.faq-icon {
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 600;
	color: var(--blue);
	line-height: 1;
	transition: transform 0.25s ease;
	flex-shrink: 0;
}

.faq-item[open] .faq-icon {
	transform: rotate(45deg);
}

.faq-answer {
	padding: 2px 22px 20px;
	font-size: 16px;
	color: #334155;
	line-height: 1.7;
}

.faq-answer p {
	margin: 0;
}

/* ==========================================================================
   Emergency CTA Banner
   ========================================================================== */
.section-emergency-cta {
	padding: 70px 0;
}

.emergency-cta-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 40px;
	align-items: center;
}

.cta-subtitle {
	font-size: 17px;
	line-height: 1.6;
	margin: 12px 0 24px;
}

.emergency-cta-buttons {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.emergency-cta-media {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.emergency-dispatch-card {
	background: rgba(14, 43, 70, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--radius-lg);
	padding: 28px;
	color: var(--white);
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.dispatch-header {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	letter-spacing: 0.08em;
	color: #93c5fd;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 12px;
}

.dispatch-pulse-dot {
	width: 10px;
	height: 10px;
	background: var(--red);
	border-radius: 50%;
	display: inline-block;
	box-shadow: 0 0 0 0 rgba(201, 59, 43, 0.7);
	animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
	0% {
		box-shadow: 0 0 0 0 rgba(201, 59, 43, 0.7);
	}
	70% {
		box-shadow: 0 0 0 8px rgba(201, 59, 43, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(201, 59, 43, 0);
	}
}

.dispatch-steps-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.dispatch-steps-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.dispatch-steps-list .step-num {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--sky);
	color: var(--blue-dark);
	font-weight: 700;
	font-size: 13px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.dispatch-steps-list .step-desc {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dispatch-steps-list .step-desc strong {
	font-size: 14px;
	color: var(--white);
}

.dispatch-steps-list .step-desc span {
	font-size: 12px;
	color: #93c5fd;
	line-height: 1.4;
}

.dispatch-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 12px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.4;
}

/* ==========================================================================
   Request Service Form
   ========================================================================== */
.section-request-form {
	padding: 85px 0;
	background-color: var(--sky-light);
}

.form-container {
	max-width: 820px;
	margin: 0 auto;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 40px;
	box-shadow: var(--shadow-md);
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 30px;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group.full-width {
	grid-column: span 2;
}

.form-group label {
	font-size: 13.5px;
	font-weight: 800;
	color: var(--navy);
	margin-bottom: 6px;
}

.form-group .req {
	color: var(--red);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	border: 1px solid var(--line);
	border-radius: 8px;
	background-color: var(--white);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(11, 103, 178, 0.15);
}

.checkbox-options-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px 16px;
	margin-top: 8px;
}

.check-inline {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	margin: 0;
}

.check-inline input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--blue);
	flex-shrink: 0;
	cursor: pointer;
}

.form-actions {
	margin-top: 28px;
}

.btn-submit-lead {
	min-width: 280px;
	padding: 16px 28px;
	font-size: 16px;
}

.form-privacy-note {
	color: var(--muted);
	margin-top: 14px;
}

.form-feedback {
	padding: 16px;
	border-radius: var(--radius-sm);
	margin-bottom: 20px;
	font-size: 14px;
	font-weight: 700;
}

.form-feedback.success {
	background-color: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.form-feedback.error {
	background-color: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background-color: var(--navy-dark);
	color: #cbd5e1;
	padding: 70px 0 25px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 40px;
}

.footer-brand-title {
	font-size: 20px;
	font-weight: 900;
	color: var(--white);
	display: block;
	line-height: 1.1;
}

.footer-brand-title strong {
	color: #38bdf8;
}

.footer-brand-sub {
	font-size: 12px;
	color: #94a3b8;
	display: block;
	margin-top: 4px;
}

.footer-desc {
	font-size: 13.5px;
	line-height: 1.6;
	color: #cbd5e1;
	margin: 14px 0 20px;
}

.footer-contact-info {
	margin-top: 14px;
	font-size: 13.5px;
	color: #cbd5e1;
}

.footer-contact-info p {
	margin: 0 0 12px;
	color: #cbd5e1;
}

.footer-contact-info strong {
	color: var(--white);
	font-weight: 700;
}

.footer-email-link,
.footer-contact-info a {
	color: #93c5fd;
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(147, 197, 253, 0.45);
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.footer-email-link:hover,
.footer-contact-info a:hover {
	color: var(--white);
	text-decoration-color: var(--white);
}

.footer-phone-link {
	font-size: 17px;
	font-weight: 900;
	color: #38bdf8 !important;
	text-decoration: none !important;
}

.footer-heading {
	font-size: 15px;
	font-weight: 800;
	color: var(--white);
	letter-spacing: 0.5px;
	margin: 0 0 16px;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.footer-links li a {
	font-size: 13.5px;
	color: #cbd5e1;
	text-decoration: none;
}

.footer-links li a:hover {
	color: #38bdf8;
}

.footer-cta-box {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--radius-md);
	padding: 16px;
	margin-top: 20px;
}

.footer-cta-text {
	font-size: 13px;
	color: var(--white);
	margin: 0 0 10px;
	font-weight: 700;
}

.footer-cta-btn {
	width: 100%;
	font-size: 13px;
	padding: 10px 14px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin-top: 50px;
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: #94a3b8;
	flex-wrap: wrap;
	gap: 16px;
}

.footer-legal-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 18px;
}

.footer-legal-links a {
	color: #cbd5e1;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-legal-links a:hover {
	color: var(--white);
	text-decoration: underline;
}

/* ==========================================================================
   Mobile Sticky Action Bar
   ========================================================================== */
.mobile-sticky-action-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--navy-dark);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
	z-index: 999;
	grid-template-columns: 1fr 1fr;
}

.mobile-sticky-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 10px;
	font-size: 14px;
	font-weight: 800;
	color: var(--white);
	text-align: center;
}

.mobile-sticky-call {
	background-color: var(--red);
}

.mobile-sticky-request {
	background-color: var(--blue);
}

/* ==========================================================================
   Emergency Checklist Modal
   ========================================================================== */
.emergency-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(8, 38, 63, 0.75);
	backdrop-filter: blur(5px);
	z-index: 10000;
	display: grid;
	place-items: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s;
}

.emergency-modal-backdrop.active {
	opacity: 1;
	visibility: visible;
}

.emergency-modal-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	max-width: 680px;
	width: 100%;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	transform: scale(0.96);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.emergency-modal-backdrop.active .emergency-modal-card {
	transform: scale(1);
}

.emergency-modal-header {
	padding: 24px 28px 16px;
	border-bottom: 1px solid var(--line);
	position: relative;
}

.emergency-modal-title {
	font-size: 22px;
	font-weight: 900;
	color: var(--navy);
	margin: 6px 0 4px;
}

.emergency-modal-sub {
	font-size: 13.5px;
	color: var(--muted);
	margin: 0;
}

.emergency-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	color: var(--ink);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.emergency-modal-close:hover {
	background: var(--sky);
	color: var(--navy);
}

.emergency-modal-close:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}

.emergency-modal-body {
	padding: 24px 28px;
	overflow-y: auto;
	flex: 1;
}

.checklist-items {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.checklist-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.checklist-icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.checklist-icon.alert { background: #fee2e2; color: var(--red); }
.checklist-icon.drop { background: var(--sky); color: var(--blue); }
.checklist-icon.shield { background: #fef3c7; color: var(--orange); }
.checklist-icon.file { background: #f1f5f9; color: var(--navy); }
.checklist-icon.home { background: #e0f2fe; color: var(--blue); }
.checklist-icon.check { background: #dcfce7; color: #15803d; }

.checklist-content strong {
	display: block;
	font-size: 14px;
	color: var(--navy);
	line-height: 1.25;
}

.checklist-content p {
	font-size: 13px;
	color: var(--muted);
	margin: 4px 0 0;
	line-height: 1.5;
}

.emergency-modal-notice {
	font-size: 12px;
	color: var(--muted);
	margin-top: 20px;
	border-top: 1px solid var(--line);
	padding-top: 12px;
}

.emergency-modal-footer {
	padding: 16px 28px;
	border-top: 1px solid var(--line);
	background: var(--sky-light);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
}

/* ==========================================================================
   Editorial Single Pages & Longform Typography
   ========================================================================== */
.breadcrumbs-nav {
	margin-bottom: 20px;
}

.breadcrumbs-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--muted);
}

.breadcrumb-separator {
	color: #94a3b8;
}

.breadcrumbs-list a {
	color: var(--blue);
	text-decoration: none;
}

.breadcrumbs-list a:hover {
	text-decoration: underline;
}

.page-hero-simple {
	background-color: var(--sky);
	border-bottom: 1px solid var(--line);
	padding: 48px 0;
}

.page-hero-title {
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 900;
	color: var(--navy);
	line-height: 1.15;
	margin: 0 0 10px;
}

.page-hero-subtitle {
	font-size: 17px;
	color: var(--muted);
	max-width: 800px;
	margin: 0;
	line-height: 1.55;
}

.page-layout-container,
.single-layout-container {
	padding: 60px 0;
}

.single-layout-container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 45px;
	align-items: start;
}

.service-content-wrapper,
.problem-content-wrapper,
.area-content-wrapper,
.resource-content-wrapper {
	min-width: 0;
	max-width: 100%;
}

/* Editorial Content Body Typography */
.entry-content {
	min-width: 0;
	max-width: 100%;
	font-size: 17.5px;
	line-height: 1.72;
	color: #1e293b;
}

.entry-content h2 {
	font-size: clamp(23px, 2.8vw, 28px);
	font-weight: 800;
	color: var(--navy);
	margin: 44px 0 16px;
	line-height: 1.25;
	border-bottom: 2px solid var(--line);
	padding-bottom: 10px;
}

.entry-content h3 {
	font-size: 20px;
	font-weight: 800;
	color: var(--navy);
	margin: 32px 0 12px;
	line-height: 1.3;
}

.entry-content h4 {
	font-size: 17px;
	font-weight: 800;
	color: var(--navy);
	margin: 22px 0 8px;
}

.entry-content p {
	margin: 0 0 20px;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 24px;
	padding-left: 24px;
}

.entry-content li {
	margin-bottom: 10px;
	line-height: 1.68;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 28px 0;
	font-size: 15.5px;
	line-height: 1.6;
}

.entry-content th,
.entry-content td {
	padding: 14px 18px;
	border: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background-color: var(--sky);
	color: var(--navy);
	font-weight: 800;
	letter-spacing: 0.2px;
}

.entry-content tr:nth-child(even) td {
	background-color: #f8fafc;
}

.entry-content blockquote {
	margin: 28px 0;
	padding: 18px 24px;
	background: var(--sky);
	border-left: 5px solid var(--blue);
	border-radius: var(--radius-sm);
	font-style: italic;
	color: var(--navy);
}

/* Editorial Content Links & Anchor Text (Recognizable Non-Hover Hyperlinks) */
.entry-content a,
.resource-editorial-body a,
.service-editorial-body a,
.problem-editorial-body a,
.area-editorial-body a,
.page-content a,
.faq-answer a,
.quick-answer-box a,
.service-overview-box a,
.local-context-box a {
	color: var(--blue);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: #60a5fa;
	text-underline-offset: 3px;
	text-decoration-thickness: 1.5px;
	overflow-wrap: anywhere;
	word-break: break-word;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.entry-content a:hover,
.resource-editorial-body a:hover,
.service-editorial-body a:hover,
.problem-editorial-body a:hover,
.area-editorial-body a:hover,
.page-content a:hover,
.faq-answer a:hover,
.quick-answer-box a:hover,
.service-overview-box a:hover,
.local-context-box a:hover {
	color: var(--navy);
	text-decoration-color: var(--navy);
}

.entry-content a:focus-visible,
.resource-editorial-body a:focus-visible,
.service-editorial-body a:focus-visible,
.problem-editorial-body a:focus-visible,
.area-editorial-body a:focus-visible,
.page-content a:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Button and CTA Link Overrides (Ensure CTAs never inherit editorial blue color, text-decoration or underlines) */
a.btn,
.btn,
.entry-content a.btn,
.entry-content .btn,
.resource-editorial-body a.btn,
.resource-editorial-body .btn,
.service-editorial-body a.btn,
.service-editorial-body .btn,
.problem-editorial-body a.btn,
.problem-editorial-body .btn,
.area-editorial-body a.btn,
.area-editorial-body .btn,
.page-content a.btn,
.page-content .btn,
.contact-actions-panel a.btn,
.service-inquiry-box a.btn,
.about-cta-panel a.btn {
	text-decoration: none !important;
}

a.btn-primary,
.btn-primary,
a.btn-header-cta,
.btn-header-cta,
.footer-cta-btn,
.entry-content a.btn-primary,
.entry-content .btn-primary,
.resource-editorial-body a.btn-primary,
.resource-editorial-body .btn-primary,
.service-editorial-body a.btn-primary,
.service-editorial-body .btn-primary,
.problem-editorial-body a.btn-primary,
.problem-editorial-body .btn-primary,
.area-editorial-body a.btn-primary,
.area-editorial-body .btn-primary,
.page-content a.btn-primary,
.page-content .btn-primary,
.contact-actions-panel a.btn-primary,
.contact-actions-panel .btn-primary {
	color: #ffffff !important;
	text-decoration: none !important;
}

a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active,
a.btn-primary:visited,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.entry-content a.btn-primary:hover,
.entry-content a.btn-primary:focus,
.entry-content a.btn-primary:active,
.entry-content a.btn-primary:visited,
.page-content a.btn-primary:hover,
.page-content a.btn-primary:focus,
.page-content a.btn-primary:active,
.page-content a.btn-primary:visited,
.contact-actions-panel a.btn-primary:hover,
.contact-actions-panel a.btn-primary:focus,
.contact-actions-panel a.btn-primary:active,
.contact-actions-panel a.btn-primary:visited {
	color: #ffffff !important;
	text-decoration: none !important;
}

a.btn-blue,
.btn-blue,
.entry-content a.btn-blue,
.entry-content .btn-blue,
.resource-editorial-body a.btn-blue,
.resource-editorial-body .btn-blue,
.service-editorial-body a.btn-blue,
.service-editorial-body .btn-blue,
.problem-editorial-body a.btn-blue,
.problem-editorial-body .btn-blue,
.area-editorial-body a.btn-blue,
.area-editorial-body .btn-blue,
.page-content a.btn-blue,
.page-content .btn-blue {
	color: #ffffff !important;
	text-decoration: none !important;
}

a.btn-blue:hover,
a.btn-blue:focus,
a.btn-blue:active,
a.btn-blue:visited,
.btn-blue:hover,
.btn-blue:focus,
.btn-blue:active,
.entry-content a.btn-blue:hover,
.entry-content a.btn-blue:focus,
.entry-content a.btn-blue:active,
.entry-content a.btn-blue:visited,
.page-content a.btn-blue:hover,
.page-content a.btn-blue:focus,
.page-content a.btn-blue:active,
.page-content a.btn-blue:visited {
	color: #ffffff !important;
	text-decoration: none !important;
}

a.btn-light,
.btn-light,
.entry-content a.btn-light,
.entry-content .btn-light,
.page-content a.btn-light,
.page-content .btn-light {
	color: var(--navy) !important;
	text-decoration: none !important;
}

a.btn-light:hover,
.btn-light:hover,
.entry-content a.btn-light:hover,
.page-content a.btn-light:hover {
	color: var(--blue) !important;
	text-decoration: none !important;
}

/* Service & Problem Hero */
.service-hero-header,
.problem-hero-header,
.area-hero-header,
.resource-hero-header {
	background-color: var(--sky);
	border-bottom: 1px solid var(--line);
	padding: 50px 0;
}

.service-hero-grid,
.problem-hero-grid,
.area-hero-grid,
.resource-hero-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 35px;
	align-items: center;
}

.service-page-title,
.problem-page-title,
.area-page-title,
.resource-page-title {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 900;
	color: var(--navy);
	line-height: 1.15;
	margin: 6px 0 14px;
}

.service-hero-lead,
.problem-hero-lead,
.area-hero-lead {
	font-size: 17px;
	color: var(--muted);
	margin: 0 0 22px;
	line-height: 1.6;
}

.service-hero-cta,
.problem-hero-cta,
.area-hero-cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.service-featured-img,
.problem-featured-img,
.area-featured-img,
.resource-featured-img {
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	width: 100%;
}

/* Hero Technical Protocol Card (Editorial Visual Component) */
.hero-technical-card {
	background: var(--white);
	border: 1px solid #bfdbfe;
	border-radius: var(--radius-md);
	padding: 22px 24px;
	box-shadow: 0 10px 25px -5px rgba(8, 38, 63, 0.08), 0 8px 10px -6px rgba(8, 38, 63, 0.04);
}

.hero-tech-header {
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}

.hero-tech-header .tech-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: #0369a1;
	background: #e0f2fe;
	padding: 3px 8px;
	border-radius: 4px;
	margin-bottom: 6px;
}

.hero-tech-header .tech-card-title {
	font-size: 18px;
	font-weight: 800;
	color: var(--navy);
	margin: 0 0 4px;
	line-height: 1.25;
}

.hero-tech-header .tech-card-subtitle {
	font-size: 13px;
	color: var(--muted);
	margin: 0;
	line-height: 1.45;
}

.hero-tech-stages {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 14px;
}

.tech-stage {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: var(--radius-sm);
	padding: 10px 14px;
}

.tech-stage .stage-marker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: var(--navy);
	color: var(--white);
	border-radius: 50%;
	font-size: 12px;
	font-weight: 800;
	flex-shrink: 0;
	margin-top: 1px;
}

.tech-stage .stage-body strong {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 2px;
}

.tech-stage .stage-body p {
	font-size: 12px;
	color: #475569;
	margin: 0;
	line-height: 1.4;
}

.hero-tech-footer {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding-top: 10px;
	border-top: 1px solid #f1f5f9;
}

.hero-tech-footer .tech-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
	font-weight: 700;
	color: #0369a1;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	padding: 2px 8px;
	border-radius: 4px;
}

.hero-tech-footer .tag-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #0284c7;
	display: inline-block;
}

.resource-meta-bar {
	display: flex;
	gap: 20px;
	font-size: 13px;
	font-weight: 700;
	color: var(--muted);
	margin-top: 14px;
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
}

/* Resource Split Hero Editorial DEK */
.resource-hero-dek {
	font-size: clamp(17px, 2vw, 19.5px);
	line-height: 1.62;
	color: #334155;
	margin: 0 0 16px;
	max-width: 680px;
}

/* Service Overview Box (Below Hero) */
.service-overview-box {
	background: var(--sky-light);
	border: 1px solid #bfdbfe;
	border-radius: var(--radius-md);
	padding: 26px 30px;
	margin: 0 0 35px;
}

.service-overview-label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 8px;
	display: block;
}

.service-overview-box p {
	font-size: 17.5px;
	line-height: 1.62;
	color: #1e293b;
	margin: 0;
}

.service-overview-box p + p {
	margin-top: 12px;
}

.resource-hero-media {
	width: 100%;
}

.resource-hero-media .resource-featured-img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

/* Service Hero Context Row */
.service-context-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 18px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--navy);
}

.context-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid #bfdbfe;
	padding: 5px 12px;
	border-radius: var(--radius-full);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.context-dot {
	width: 7px;
	height: 7px;
	background-color: var(--red);
	border-radius: 50%;
	display: inline-block;
	flex-shrink: 0;
}

/* Responsive Table Wrapper */
.table-responsive {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 28px 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.table-responsive table {
	margin: 0 !important;
	border: none !important;
	min-width: 580px;
}

.table-footnote {
	font-size: 13.5px;
	color: var(--muted);
	margin-top: -16px;
	margin-bottom: 28px;
	line-height: 1.5;
}

/* Sidebars */
.service-sidebar,
.problem-sidebar,
.area-sidebar,
.resource-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

@media (min-width: 1025px) {
	.service-sidebar {
		position: sticky;
		top: 85px;
		max-height: calc(100vh - 95px);
		overflow-y: auto;
		scrollbar-width: thin;
		scrollbar-color: var(--line) transparent;
		padding-right: 4px;
	}
}

.sidebar-widget {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 22px;
	box-shadow: var(--shadow-sm);
}

.sidebar-widget.widget-emergency {
	background: var(--navy);
	color: var(--white);
	border-color: var(--navy);
}

.sidebar-widget.widget-emergency .widget-title {
	color: var(--white);
}

.sidebar-widget.widget-emergency p {
	font-size: 13.5px;
	color: #cbd5e1;
	margin: 6px 0 16px;
	line-height: 1.5;
}

.widget-title {
	font-size: 16px;
	font-weight: 800;
	color: var(--navy);
	margin: 0 0 14px;
	border-bottom: 1px solid var(--line);
	padding-bottom: 8px;
}

.widget-emergency .widget-title {
	border-color: rgba(255, 255, 255, 0.15);
}

/* On-Page Navigation TOC Widget */
.sidebar-widget.widget-toc {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.widget-toc .widget-title {
	font-size: 14.5px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--navy);
	margin-bottom: 10px;
	padding-bottom: 6px;
	border-bottom: 1px solid #cbd5e1;
}

.toc-list {
	gap: 5px;
}

.toc-list li a {
	font-size: 13.5px;
	font-weight: 600;
	color: #334155;
	padding: 4px 6px;
	border-radius: var(--radius-sm);
	transition: background-color 0.15s ease, color 0.15s ease;
	line-height: 1.35;
	text-decoration: none !important;
}

.toc-list li a:hover {
	color: var(--navy);
	background: var(--sky);
}

/* Verified Evidence Architecture */
.sidebar-widget.widget-verified-evidence {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

.widget-verified-evidence .widget-title {
	color: #166534;
	border-bottom-color: #bbf7d0;
}

.widget-verified-evidence .license-info {
	font-size: 13.5px;
	color: #166534;
	margin: 0 0 10px;
}

.widget-verified-evidence .verified-review-snippet {
	font-size: 13.5px;
	font-style: italic;
	color: #1e293b;
	margin: 0;
	padding: 10px;
	background: #ffffff;
	border-left: 3px solid #22c55e;
	border-radius: 4px;
}

.widget-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.widget-list li a {
	display: block;
	font-size: 13.5px;
	color: var(--navy);
	font-weight: 600;
	line-height: 1.45;
	padding: 2px 0;
	transition: color 0.15s ease;
}

.widget-list li a:hover {
	color: var(--blue);
}

/* Technical Visual Components */
.technical-visual-card {
	background: var(--white);
	border: 1px solid #e2e8f0;
	border-radius: var(--radius-md);
	padding: 20px;
	margin: 22px 0;
	box-shadow: var(--shadow-sm);
}

.technical-visual-header {
	margin-bottom: 12px;
}

.visual-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #0369a1;
	background: #e0f2fe;
	padding: 2px 7px;
	border-radius: 4px;
	margin-bottom: 4px;
}

.visual-title {
	font-size: 18px;
	font-weight: 800;
	color: var(--navy);
	margin: 0;
	line-height: 1.3;
}

.technical-visual-container {
	width: 100%;
	max-width: 100%;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: var(--radius-sm);
	padding: 10px;
	overflow: hidden;
}

.technical-visual-svg {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
}

/* Assembly Legend Grid (Clean HTML Callouts for Figure 1) */
.assembly-legend-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 10px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #f1f5f9;
}

.legend-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: var(--radius-sm);
	padding: 10px 12px;
}

.legend-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	font-size: 11.5px;
	font-weight: 800;
	color: #fff;
	flex-shrink: 0;
	margin-top: 1px;
}

.legend-num.num-puddle { background: #dc2626; }
.legend-num.num-trapped { background: #0284c7; }
.legend-num.num-baseboard { background: #0369a1; }
.legend-num.num-wicking { background: #0ea5e9; }

.legend-item strong {
	display: block;
	font-size: 13.5px;
	color: var(--navy);
	margin-bottom: 2px;
}

.legend-item p {
	font-size: 12px;
	color: #475569;
	margin: 0;
	line-height: 1.4;
}

/* Progression Log Card (Clean HTML Table for Figure 2) */
.progression-log-card {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #f1f5f9;
}

.progression-log-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.progression-log-table th {
	background: #0f172a;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 8px 12px;
	text-align: left;
}

.progression-log-table td {
	padding: 8px 12px;
	border-bottom: 1px solid #e2e8f0;
	color: #1e293b;
}

.progression-log-table tbody tr:last-child td {
	border-bottom: none;
}

.val-initial { color: #dc2626; font-weight: 700; }
.val-mid { color: #0284c7; font-weight: 700; }
.val-target { color: #16a34a; font-weight: 700; }

.visual-caption {
	font-size: 13.5px;
	color: var(--muted);
	line-height: 1.5;
	margin-top: 12px;
	padding-top: 8px;
	border-top: 1px solid #f1f5f9;
}

/* Process Editorial Steps */
.process-editorial-steps {
	list-style: none;
	padding: 0;
	margin: 20px 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.process-editorial-steps li {
	background: var(--white);
	border: 1px solid var(--line);
	border-left: 4px solid var(--blue);
	border-radius: var(--radius-sm);
	padding: 14px 18px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.process-editorial-steps li strong {
	display: block;
	font-size: 15.5px;
	font-weight: 800;
	color: var(--navy);
	margin-bottom: 4px;
}

.process-editorial-steps li p {
	margin: 0;
	font-size: 14.5px;
	color: #334155;
	line-height: 1.55;
}

/* Callout Notes */
.callout-note {
	background: var(--sky);
	border: 1px solid #bfdbfe;
	border-left: 4px solid var(--blue);
	border-radius: var(--radius-sm);
	padding: 14px 18px;
	margin: 20px 0;
}

.callout-note.warning {
	background: #fffbeb;
	border-color: #fde68a;
	border-left-color: #f59e0b;
}

.callout-note.alert {
	background: #fef2f2;
	border-color: #fecaca;
	border-left-color: var(--red);
}

.callout-note p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
}

/* Local Resource Callout Card */
.local-resource-card {
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-radius: var(--radius-md);
	padding: 20px 24px;
	margin: 22px 0;
}

.local-resource-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.5px;
	color: #0369a1;
	background: #e0f2fe;
	padding: 2px 7px;
	border-radius: 4px;
	margin-bottom: 6px;
}

.local-resource-card h3 {
	font-size: 19px;
	font-weight: 800;
	color: var(--navy);
	margin: 0 0 8px;
}

.local-resource-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 14px 0 10px;
}

.resource-disclaimer {
	margin: 8px 0 0;
	color: #64748b;
	line-height: 1.45;
}

/* Checklists */
.practical-checklist,
.assessment-checklist-grid {
	list-style: none;
	padding: 0;
	margin: 18px 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.practical-checklist li,
.assessment-checklist-grid li {
	position: relative;
	padding-left: 26px;
	font-size: 15.5px;
	line-height: 1.55;
}

.practical-checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 900;
	color: #16a34a;
	font-size: 16px;
}

.assessment-checklist-grid li::before {
	content: "•";
	position: absolute;
	left: 4px;
	top: -2px;
	font-size: 22px;
	color: var(--blue);
}

/* Responsive Data Tables */
.table-responsive {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 28px 0;
	border-radius: var(--radius-sm);
}

.table-responsive table {
	margin: 0 !important;
	min-width: 520px;
}

/* Reference Clean List */
.reference-clean-list {
	list-style: none;
	padding: 0;
	margin: 18px 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.reference-clean-list li {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 14px 18px;
}

.reference-clean-list li strong {
	display: block;
	font-size: 15.5px;
	margin-bottom: 3px;
}

.reference-clean-list li span {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.45;
	display: block;
}

.reference-disclaimer {
	font-size: 13px;
	color: #64748b;
	margin-top: 12px;
	line-height: 1.45;
}

/* Progressive Form Layout */
.form-section-block {
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 22px;
	margin-bottom: 20px;
	background: var(--white);
}

.form-section-block.form-section-optional {
	background: #fbfcfe;
	border-color: #e2e8f0;
}

.form-section-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16.5px;
	font-weight: 800;
	color: var(--navy);
	padding: 0 8px;
	margin-bottom: 10px;
}

.form-section-heading .step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: var(--navy);
	color: var(--white);
	border-radius: 50%;
	font-size: 12px;
	font-weight: 800;
}

.required-note {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--muted);
}

.optional-badge {
	font-size: 11.5px;
	font-weight: 600;
	color: var(--muted);
	background: #f1f5f9;
	border: 1px solid var(--line);
	padding: 2px 8px;
	border-radius: var(--radius-full);
}

.form-section-desc {
	font-size: 13.5px;
	color: var(--muted);
	margin: 0 0 16px;
	line-height: 1.5;
}

.optional-tag {
	font-size: 12px;
	font-weight: 400;
	color: #64748b;
}

/* Smooth anchor offsets - clears sticky header with comfortable buffer */
[id],
:target,
h1[id],
h2[id],
h3[id],
h4[id],
section[id] {
	scroll-margin-top: 105px;
}

.service-quick-actions-box,
.resource-bottom-card,
.page-cta-card {
	background: var(--sky);
	border: 1px solid #bfdbfe;
	border-radius: var(--radius-md);
	padding: 28px;
	margin-top: 45px;
}

.service-quick-actions-box h3,
.resource-bottom-card h3,
.page-cta-card h3 {
	font-size: 20px;
	font-weight: 800;
	color: var(--navy);
	margin: 0 0 8px;
}

.service-quick-actions-box p,
.resource-bottom-card p,
.page-cta-card p {
	font-size: 14.5px;
	color: var(--muted);
	margin: 0 0 18px;
	line-height: 1.55;
}

.service-box-buttons,
.resource-cta-buttons,
.page-cta-buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* Archives Grid */
.service-archive-grid,
.problems-archive-grid,
.resources-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.problems-archive-grid {
	grid-template-columns: repeat(2, 1fr);
}

.problem-card-item,
.resource-card-item {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 24px;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
}

.problem-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	color: var(--orange);
}

.problem-card-title,
.resource-card-title {
	font-size: 18px;
	font-weight: 800;
	color: var(--navy);
	margin: 0;
}

.problem-card-excerpt,
.resource-card-excerpt {
	font-size: 14px;
	color: var(--muted);
	margin: 0 0 16px;
	line-height: 1.55;
	flex: 1;
}

.btn-problem-link,
.btn-resource-link {
	font-size: 13.5px;
	font-weight: 800;
	color: var(--blue);
}

/* 404 Page */
.not-found-card {
	max-width: 680px;
	margin: 40px auto;
	padding: 40px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}

.not-found-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin: 26px 0 34px;
}

.not-found-links-box {
	text-align: left;
	border-top: 1px solid var(--line);
	padding-top: 24px;
}

.not-found-links-box h3 {
	font-size: 16px;
	font-weight: 800;
	color: var(--navy);
	margin: 0 0 12px;
}

.not-found-links-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.not-found-links-list li a {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--blue);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
	.primary-navigation {
		display: none;
	}

	.mobile-nav-toggle {
		display: flex;
	}

	.hero-grid,
	.service-hero-grid,
	.problem-hero-grid,
	.area-hero-grid,
	.resource-hero-grid,
	.educational-grid,
	.guide-container,
	.local-context-grid,
	.emergency-cta-grid,
	.single-layout-container {
		grid-template-columns: minmax(0, 1fr);
	}

	.service-sidebar,
	.problem-sidebar,
	.area-sidebar,
	.resource-sidebar {
		position: static !important;
		top: auto !important;
		max-height: none !important;
		overflow-y: visible !important;
		margin-top: 36px;
	}

	.service-grid,
	.capability-grid,
	.service-area-grid,
	.material-grid,
	.service-archive-grid,
	.resources-archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.process-grid {
		grid-template-columns: repeat(2, 1fr);
	}

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

	.guide-output-panel {
		position: static;
	}
}

@media (max-width: 768px) {
	.section {
		padding: 55px 0;
	}

	.site-logo-img {
		width: 200px;
		height: 51px;
	}

	.header-inner {
		padding: 10px 0;
	}

	.btn-header-cta {
		padding: 8px 14px;
		font-size: 13.5px;
	}

	.top-bar-notice span:last-child {
		display: none;
	}

	.issue-selector-grid,
	.property-split-grid,
	.form-grid,
	.problems-archive-grid {
		grid-template-columns: 1fr;
	}

	.form-group.full-width {
		grid-column: span 1;
	}

	.checkbox-options-grid {
		grid-template-columns: 1fr 1fr;
	}

	.resource-hero-dek {
		font-size: 16px;
		line-height: 1.58;
		margin: 0 0 14px;
	}

	.service-overview-box {
		padding: 20px 20px;
		margin: 0 0 28px;
		border-radius: var(--radius-sm);
	}

	.service-overview-box p {
		font-size: 15.5px;
		line-height: 1.58;
	}

	.resource-hero-media {
		margin-top: 16px;
	}

	.resource-hero-media .resource-featured-img {
		max-height: 320px;
	}

	.mobile-sticky-action-bar {
		display: grid;
	}

	body {
		padding-bottom: 54px;
	}

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

	.footer-bottom {
		flex-direction: column;
		text-align: center;
		gap: 12px;
	}
}

@media (max-width: 540px) {
	.site-logo-img {
		width: 175px;
		height: 44px;
	}

	.header-inner {
		padding: 8px 0;
		gap: 10px;
	}

	.header-actions {
		gap: 8px;
	}

	.btn-header-cta {
		padding: 7px 11px;
		font-size: 12.5px;
		gap: 6px;
	}

	.mobile-nav-toggle {
		padding: 7px 8px;
	}

	.hamburger-bar {
		width: 20px;
	}

	.service-grid,
	.capability-grid,
	.service-area-grid,
	.material-grid,
	.process-grid,
	.service-archive-grid,
	.resources-archive-grid,
	.guide-options-grid,
	.guide-options-grid.three-col,
	.triad-links,
	.not-found-links-list,
	.checkbox-options-grid {
		grid-template-columns: 1fr;
	}

	.capability-item {
		border-right: none;
		border-bottom: 1px solid var(--line);
	}

	.checker-input-row {
		flex-direction: column;
	}

	.hero-cta-group .btn {
		width: 100%;
	}
}

@media (max-width: 375px) {
	.site-logo-img {
		width: 155px;
		height: 39px;
	}

	.header-inner {
		padding: 6px 0;
		gap: 6px;
	}

	.header-actions {
		gap: 6px;
	}

	.btn-header-cta {
		padding: 6px 8px;
		font-size: 11.5px;
		gap: 4px;
	}

	.btn-header-cta svg {
		width: 13px;
		height: 13px;
	}

	.mobile-nav-toggle {
		padding: 6px 7px;
	}
}
