/*
 * DDRS Services -- theme stylesheet
 * ----------------------------------------------------------------------
 * Hand-converted from the original Next.js site's Tailwind design
 * (src/app/globals.css + component classNames) into plain, maintainable
 * CSS. No build step, no Tailwind at runtime. Organized by section, in
 * the same visual order they render on the homepage.
 *
 * Breakpoints (mobile-first, matches the original site's sm/md/lg):
 *   sm  640px   md  768px   lg  1024px
 */

/* ==========================================================================
   1. Custom properties -- brand palette (matches src/app/globals.css 1:1)
   ========================================================================== */
:root {
	--color-white: #ffffff;
	--color-black: #000000;

	--color-brand-50: #eff6ff;
	--color-brand-100: #dbeafe;
	--color-brand-200: #bfdbfe;
	--color-brand-300: #93c5fd;
	--color-brand-400: #60a5fa;
	--color-brand-500: #2563eb;
	--color-brand-600: #1d4ed8;
	--color-brand-700: #1e40af;
	--color-brand-800: #1e3a8a;
	--color-brand-900: #172554;

	--color-slate-50: #f8fafc;
	--color-slate-100: #f1f5f9;
	--color-slate-200: #e2e8f0;
	--color-slate-300: #cbd5e1;
	--color-slate-400: #94a3b8;
	--color-slate-500: #64748b;
	--color-slate-600: #475569;
	--color-slate-700: #334155;
	--color-slate-800: #1e293b;
	--color-slate-900: #0f172a;

	--color-emergency-500: #dc2626;
	--color-emergency-600: #b91c1c;
	--color-emergency-700: #991b1b;

	--color-amber-400: #fbbf24;

	--shadow-card: 0 1px 3px 0 rgb(15 23 42 / 0.08), 0 1px 2px -1px rgb(15 23 42 / 0.08);
	--shadow-card-hover: 0 10px 24px -8px rgb(15 23 42 / 0.18), 0 4px 8px -4px rgb(15 23 42 / 0.1);
	--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.3);

	--radius-card: 1rem;
	--radius-full: 9999px;

	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--container-max: 1280px;
}

/* ==========================================================================
   2. Reset / base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--color-white);
	color: var(--color-slate-900);
	font-family: var(--font-sans);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}

h1, h2, h3, h4, p {
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   3. Layout utilities
   ========================================================================== */
.container {
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

@media (min-width: 1024px) {
	.container {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

.site-main {
	display: block;
}

/* Visually hidden but available to assistive tech. */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	z-index: 100000;
}

.skip-link:focus {
	position: fixed;
	top: 0.5rem;
	left: 0.5rem;
	width: auto;
	height: auto;
	clip: auto;
	padding: 0.75rem 1.25rem;
	background: var(--color-brand-700);
	color: var(--color-white);
	border-radius: 0.5rem;
	font-weight: 600;
}

/* Accessible focus ring -- matches .focus-ring in the original site. */
.focus-ring {
	outline: none;
}

.focus-ring:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--color-brand-500);
	outline-offset: 2px;
	border-radius: 2px;
}

.section-intro {
	max-width: 42rem;
	margin: 0 auto;
	text-align: center;
}

.section-intro__title {
	font-size: 1.875rem;
	font-weight: 700;
	color: var(--color-slate-900);
}

.section-intro--on-dark .section-intro__title {
	color: var(--color-white);
}

.section-intro__body {
	margin-top: 0.75rem;
	color: var(--color-slate-600);
}

.section-intro--on-dark .section-intro__body {
	color: var(--color-slate-300);
}

.link-arrow {
	font-weight: 600;
	color: var(--color-brand-600);
}

.link-arrow:hover {
	color: var(--color-brand-700);
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--radius-full);
	font-weight: 600;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	border: 2px solid transparent;
}

.btn__icon {
	width: 1.1em;
	height: 1.1em;
	flex-shrink: 0;
}

.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--md { padding: 0.75rem 1.25rem; font-size: 1rem; }
.btn--lg { padding: 1rem 1.75rem; font-size: 1.125rem; }

/* Request Service button variants */
.btn--request.btn--primary { background: var(--color-brand-600); color: var(--color-white); }
.btn--request.btn--primary:hover { background: var(--color-brand-700); }
.btn--request.btn--on-color { background: var(--color-white); color: var(--color-brand-700); }
.btn--request.btn--on-color:hover { background: var(--color-brand-50); }
.btn--request.btn--outline { background: transparent; border-color: var(--color-brand-600); color: var(--color-brand-600); }
.btn--request.btn--outline:hover { background: var(--color-brand-50); }

/* Call Now button variants */
.btn--call.btn--solid { background: var(--color-emergency-500); color: var(--color-white); }
.btn--call.btn--solid:hover { background: var(--color-emergency-600); }
.btn--call.btn--on-color { background: transparent; border-color: var(--color-white); color: var(--color-white); }
.btn--call.btn--on-color:hover { background: rgb(255 255 255 / 0.1); }
.btn--call.btn--outline { background: transparent; border-color: var(--color-emergency-500); color: var(--color-emergency-600); }
.btn--call.btn--outline:hover { background: #fef2f2; }

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

@media (max-width: 639px) {
	.btn--full-sm { width: 100%; }
}

/* ==========================================================================
   5. Cards
   ========================================================================== */
.card {
	background: var(--color-white);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
	border: 1px solid var(--color-slate-200);
}

.card--hover {
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card--hover:hover {
	box-shadow: var(--shadow-card-hover);
	transform: translateY(-2px);
}

/* ==========================================================================
   6. Icons + star rating
   ========================================================================== */
.icon {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

.icon--fill {
	fill: var(--color-amber-400);
	stroke: var(--color-amber-400);
}

.star-rating {
	display: flex;
	align-items: center;
	gap: 0.125rem;
}

.star-rating__star {
	width: 1rem;
	height: 1rem;
	fill: var(--color-slate-200);
	stroke: var(--color-slate-200);
}

.star-rating__star--filled {
	fill: var(--color-amber-400);
	stroke: var(--color-amber-400);
}

/* ==========================================================================
   7. Emergency banner
   ========================================================================== */
.emergency-banner {
	background: var(--color-emergency-600);
	color: var(--color-white);
}

.emergency-banner__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	text-align: center;
	font-size: 0.875rem;
	font-weight: 500;
}

.emergency-banner__icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

.emergency-banner__link {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.emergency-banner__link:hover {
	text-decoration: none;
}

/* ==========================================================================
   8. Site header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid var(--color-slate-200);
	background: rgb(255 255 255 / 0.95);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 0.375rem;
	padding-bottom: 0.375rem;
}

.site-header__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	border-radius: 0.375rem;
}

.site-header__logo-img {
	height: 56px;
	width: auto;
}

@media (min-width: 640px) {
	.site-header__logo-img { height: 64px; }
}

@media (min-width: 1024px) {
	.site-header__logo-img { height: 80px; }
}

.site-nav {
	display: none;
}

@media (min-width: 1024px) {
	.site-nav { display: block; }
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.nav-menu .menu-item {
	position: relative;
}

.nav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	white-space: nowrap;
	border-radius: 0.375rem;
	padding: 0.5rem 0.625rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-slate-700);
}

.nav-link:hover {
	background: var(--color-brand-50);
	color: var(--color-brand-700);
}

.nav-link--parent {
	cursor: pointer;
}

.nav-chevron {
	width: 0.875rem;
	height: 0.875rem;
	transition: transform 0.15s ease;
}

.menu-item-has-children:hover .nav-chevron,
.menu-item-has-children:focus-within .nav-chevron {
	transform: rotate(180deg);
}

.sub-menu {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 50;
	width: 14rem;
	border-radius: 0.75rem;
	border: 1px solid var(--color-slate-200);
	background: var(--color-white);
	padding: 0.5rem;
	box-shadow: var(--shadow-card-hover);
	transition: opacity 0.15s ease;
}

.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu {
	visibility: visible;
	opacity: 1;
}

.sub-menu .nav-link--child {
	display: block;
	border-radius: 0.5rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	color: var(--color-slate-700);
}

.sub-menu .nav-link--child:hover {
	background: var(--color-brand-50);
	color: var(--color-brand-700);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

@media (min-width: 1024px) {
	.site-header__actions { gap: 0.75rem; }
}

.header-phone-link {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	border-radius: var(--radius-full);
	padding: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-slate-800);
}

.header-phone-link:hover {
	color: var(--color-brand-700);
}

.header-phone-link__number {
	display: none;
}

@media (min-width: 640px) {
	.header-phone-link__number { display: inline; }
}

@media (min-width: 1024px) {
	.header-phone-link { display: none; }
}

.site-header__call-now {
	display: none;
}

@media (min-width: 1024px) {
	.site-header__call-now { display: flex; }
}

.mobile-menu-toggle {
	border-radius: 0.375rem;
	padding: 0.5rem;
	color: var(--color-slate-700);
}

.mobile-menu-toggle:hover {
	background: var(--color-slate-100);
}

@media (min-width: 1024px) {
	.mobile-menu-toggle { display: none; }
}

/* ==========================================================================
   9. Mobile off-canvas menu
   ========================================================================== */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 50;
	pointer-events: none;
}

@media (min-width: 768px) {
	.mobile-menu { display: none; }
}

.mobile-menu.is-open {
	pointer-events: auto;
}

.mobile-menu__overlay {
	position: absolute;
	inset: 0;
	background: rgb(15 23 42 / 0.5);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.mobile-menu.is-open .mobile-menu__overlay {
	opacity: 1;
}

.mobile-menu__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 18rem;
	max-width: 85vw;
	background: var(--color-white);
	box-shadow: var(--shadow-2xl);
	transform: translateX(100%);
	transition: transform 0.2s ease;
}

.mobile-menu.is-open .mobile-menu__panel {
	transform: translateX(0);
}

.mobile-menu__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--color-slate-200);
	padding: 1rem;
}

.mobile-menu__brand {
	font-weight: 700;
	color: var(--color-brand-700);
}

.mobile-menu__close {
	border-radius: 0.375rem;
	padding: 0.5rem;
	color: var(--color-slate-600);
}

.mobile-menu__close:hover {
	background: var(--color-slate-100);
}

.mobile-menu__nav {
	flex: 1;
	overflow-y: auto;
	padding: 1rem;
}

.nav-menu--mobile {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.nav-menu--mobile .nav-link,
.nav-menu--mobile .nav-link--child {
	display: block;
	border-radius: 0.5rem;
	padding: 0.75rem;
	font-size: 1rem;
}

.nav-menu--mobile .nav-link--parent {
	width: 100%;
	justify-content: space-between;
	padding: 0.5rem 0.75rem 0.25rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-slate-400);
}

.nav-menu--mobile .sub-menu {
	position: static;
	visibility: visible;
	opacity: 1;
	box-shadow: none;
	border: 0;
	padding: 0;
	width: auto;
}

.mobile-menu__footer {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	border-top: 1px solid var(--color-slate-200);
	padding: 1rem;
}

/* ==========================================================================
   10. Hero
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(to right, var(--color-slate-900), var(--color-brand-900), var(--color-brand-600));
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
}

@media (min-width: 1024px) {
	.hero { padding-top: 6rem; padding-bottom: 6rem; }
}

.hero__pattern {
	position: absolute;
	inset: 0;
	opacity: 0.05;
	background-image: radial-gradient(circle, rgb(255 255 255 / 0.8) 1px, transparent 1px);
	background-size: 28px 28px;
}

.hero__glow {
	position: absolute;
	right: 0;
	top: 50%;
	width: 28rem;
	height: 28rem;
	transform: translateY(-50%);
	border-radius: 50%;
	background: rgb(96 165 250 / 0.2);
	filter: blur(64px);
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	gap: 2.5rem;
}

@media (min-width: 1024px) {
	.hero__inner {
		/* 13fr:12fr = 52%:48% -- gives the photo more width so its full
		   landscape composition (van on the left, technician on the right)
		   fits without the aggressive horizontal cropping .hero-photo used
		   to need. */
		grid-template-columns: 13fr 12fr;
		align-items: stretch;
		gap: 2rem;
	}
}

.hero__title {
	max-width: 32rem;
	font-size: 2.15rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--color-white);
}

@media (min-width: 640px) {
	.hero__title { font-size: 2.5rem; }
}

.hero__title-break {
	display: none;
}

@media (min-width: 1024px) {
	.hero__title-break { display: block; }
}

.hero__subhead {
	margin-top: 0.75rem;
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--color-brand-200);
}

.hero__trust-list {
	margin-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 1.25rem;
	row-gap: 0.5rem;
}

.hero__trust-list li {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-slate-200);
}

.hero__trust-icon {
	width: 1rem;
	height: 1rem;
	color: var(--color-brand-300);
}

.hero__body {
	margin-top: 1.25rem;
	max-width: 28rem;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--color-slate-300);
}

@media (min-width: 640px) {
	.hero__body { font-size: 1.125rem; }
}

.hero__cta {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.hero__cta { flex-direction: row; }
}

/* hero-photo.png is 1536x1024 -- an exact 3:2 landscape. The container is
   sized to that same 3:2 ratio (not a fixed height chosen independently of
   the source image), so object-fit: cover has nothing to crop: at matching
   ratios cover and contain produce the same result, the full frame -- van,
   technician, and the card baked into the bottom-left of the photo -- all
   stay visible with no distortion, at every width from mobile up. */
.hero-photo {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 2;
	max-height: 560px;
	overflow: hidden;
	border-radius: 1.5rem;
	box-shadow: var(--shadow-2xl);
}

.hero-photo__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.hero-photo__overlay {
	position: absolute;
	inset: 0.75rem 0.75rem auto 0.75rem;
	z-index: 10;
	display: flex;
	justify-content: flex-end;
}

.hero-photo__maps-link {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	gap: 0.25rem;
	border-radius: var(--radius-full);
	background: rgb(255 255 255 / 0.95);
	padding: 0.375rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--color-brand-700);
	box-shadow: var(--shadow-card);
}

.hero-photo__maps-link:hover {
	background: var(--color-white);
}

.hero-photo__maps-link .icon {
	width: 0.75rem;
	height: 0.75rem;
}

/* Horizontal trust strip -- sits below the photo (not overlapping it), a
   sibling of .hero-photo inside .hero__visual. */
.hero-visual-strip {
	margin-top: 0.75rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	border-radius: 0.75rem;
	background: var(--color-white);
	padding: 0.75rem 1rem;
	box-shadow: var(--shadow-card);
	font-size: 0.8125rem;
}

@media (max-width: 479px) {
	.hero-visual-strip {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.375rem;
	}
	.hero-visual-strip__sep {
		display: none;
	}
}

.hero-visual-strip__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-weight: 700;
	color: var(--color-slate-900);
	white-space: nowrap;
}

.hero-visual-strip__icon {
	width: 1rem;
	height: 1rem;
	color: var(--color-brand-600);
}

.hero-visual-strip__sep {
	color: var(--color-slate-300);
}

.hero-visual-strip__location {
	color: var(--color-slate-600);
}

.hero-visual-strip__rating {
	display: inline-flex;
	align-items: center;
	gap: 0.125rem;
	font-weight: 600;
	white-space: nowrap;
}

.hero-visual-strip__star {
	width: 0.875rem;
	height: 0.875rem;
}

.hero-visual-strip__rating span {
	margin-left: 0.25rem;
	color: var(--color-slate-500);
	font-weight: 500;
}

/* ==========================================================================
   11. Services
   ========================================================================== */
.services {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.services__group {
	margin-top: 3rem;
}

.services__group--spaced {
	margin-top: 3.5rem;
}

.services__group-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-brand-700);
}

.services__grid {
	margin-top: 1.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.services__grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	scroll-margin-top: 6rem;
}

.service-card--emergency {
	border-color: rgb(220 38 38 / 0.4);
}

.service-card__icon {
	margin-bottom: 1rem;
	display: flex;
	height: 3rem;
	width: 3rem;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--color-brand-50);
	color: var(--color-brand-600);
}

.service-card__icon--emergency {
	background: rgb(220 38 38 / 0.1);
	color: var(--color-emergency-600);
}

.service-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-slate-900);
}

.service-card__desc {
	margin-top: 0.5rem;
	flex: 1;
	font-size: 0.875rem;
	color: var(--color-slate-600);
}

.service-card__link {
	margin-top: 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-brand-600);
}

.service-card__link:hover {
	color: var(--color-brand-700);
}

.service-card__link .icon {
	width: 1rem;
	height: 1rem;
}

/* ==========================================================================
   12. Why choose us
   ========================================================================== */
.why-choose-us {
	background: var(--color-slate-900);
	color: var(--color-white);
	padding: 4rem 0;
}

.why-choose-us__grid {
	margin-top: 3rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.why-choose-us__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.why-choose-us__grid { grid-template-columns: repeat(4, 1fr); }
}

.why-choose-us__card {
	border-radius: 1rem;
	background: rgb(255 255 255 / 0.05);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
	padding: 1.5rem;
}

.why-choose-us__icon {
	width: 2rem;
	height: 2rem;
	color: var(--color-brand-400);
}

.why-choose-us__title {
	margin-top: 1rem;
	font-weight: 700;
}

.why-choose-us__desc {
	margin-top: 0.25rem;
	font-size: 0.875rem;
	color: var(--color-slate-300);
}

/* ==========================================================================
   13. Reviews
   ========================================================================== */
.reviews {
	padding: 4rem 0;
}

.reviews__grid {
	margin-top: 2.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.reviews__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.reviews__grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
	display: flex;
	height: 100%;
	flex-direction: column;
	padding: 1.5rem;
}

.review-card__quote {
	width: 1.5rem;
	height: 1.5rem;
	color: var(--color-brand-200);
}

.review-card .star-rating {
	margin-top: 0.75rem;
}

.review-card__text {
	margin-top: 0.75rem;
	flex: 1;
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--color-slate-700);
}

.review-card__footer {
	margin-top: 1rem;
	border-top: 1px solid var(--color-slate-100);
	padding-top: 1rem;
}

.review-card__name {
	font-weight: 600;
	color: var(--color-slate-900);
}

.review-card__meta {
	font-size: 0.75rem;
	color: var(--color-slate-500);
}

.reviews__cta {
	margin-top: 2.5rem;
	text-align: center;
}

/* ==========================================================================
   14. Service areas
   ========================================================================== */
.service-areas {
	padding: 4rem 0;
}

.service-areas__list {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.service-areas__pill {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	border-radius: var(--radius-full);
	border: 1px solid var(--color-slate-200);
	background: var(--color-white);
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-slate-700);
}

.service-areas__pill .icon {
	width: 1rem;
	height: 1rem;
	color: var(--color-brand-600);
}

.service-areas__cta {
	margin-top: 1.5rem;
	text-align: center;
}

/* ==========================================================================
   15. Final CTA
   ========================================================================== */
.final-cta {
	background: var(--color-brand-700);
	color: var(--color-white);
	padding: 4rem 0;
}

.final-cta__inner {
	max-width: 48rem;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	text-align: center;
}

.final-cta__title {
	font-size: 1.875rem;
	font-weight: 700;
}

.final-cta__body {
	color: rgb(255 255 255 / 0.85);
}

.final-cta__actions {
	margin-top: 0.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.final-cta__actions { flex-direction: row; }
}

.final-cta__note {
	margin-top: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: rgb(255 255 255 / 0.8);
}

.final-cta__note .icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

/* ==========================================================================
   16. Footer
   ========================================================================== */
.site-footer {
	border-top: 1px solid var(--color-slate-800);
	background: var(--color-slate-900);
	color: var(--color-slate-300);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding: 3rem 0;
}

@media (min-width: 640px) {
	.site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.site-footer__grid { grid-template-columns: repeat(4, 1fr); }
}

.site-footer__brand {
	display: inline-block;
	margin-bottom: 0.75rem;
	border-radius: 0.5rem;
	background: var(--color-white);
	padding: 0.5rem 0.75rem;
}

.site-footer__logo {
	display: block;
	height: 40px;
	width: auto;
}

.site-footer__tagline {
	font-size: 0.875rem;
	color: var(--color-slate-400);
}

.site-footer__heading {
	margin-bottom: 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-white);
}

.site-footer__heading--spaced {
	margin-top: 1.5rem;
}

.site-footer__links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-size: 0.875rem;
}

.site-footer__links a:hover {
	color: var(--color-white);
}

.site-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	font-size: 0.875rem;
}

.site-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.site-footer__contact .icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	margin-top: 0.125rem;
	color: var(--color-brand-400);
}

.site-footer__contact a:hover {
	color: var(--color-white);
}

.site-footer__bottom {
	border-top: 1px solid var(--color-slate-800);
	padding: 1rem 0;
}

.site-footer__bottom p {
	text-align: center;
	font-size: 0.75rem;
	color: var(--color-slate-500);
}

/* ==========================================================================
   17. Inner pages (About, Service Areas, Plumbing/AC/Emergency Services,
   Contact, Reviews, Request Service, Our Work) -- Phase 2 step 1
   ========================================================================== */

/* Shared page-hero banner (PageHero.tsx equivalent) */
.page-hero {
	background: var(--color-brand-800, #1e3a8a);
	color: var(--color-white);
	padding: 4rem 1rem;
	text-align: center;
}

.page-hero--emergency {
	background: var(--color-emergency-700);
}

.page-hero__inner {
	max-width: 56rem;
	margin: 0 auto;
}

.page-hero__title {
	font-size: 1.875rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

@media (min-width: 640px) {
	.page-hero__title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
	.page-hero__title { font-size: 3rem; }
}

.page-hero__desc {
	margin-top: 1rem;
	font-size: 1.125rem;
	color: rgb(255 255 255 / 0.85);
}

/* Shared section layout helpers */
.narrow-section {
	max-width: 48rem;
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
	color: var(--color-slate-700);
}

.narrow-section-wide {
	max-width: 80rem;
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
}

.narrow-section--center {
	max-width: 48rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.inner-band {
	background: var(--color-slate-100);
	padding: 3.5rem 0;
}

.section-heading {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--color-slate-900);
}

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

.section-body {
	color: var(--color-slate-600);
}

.prose-p {
	margin-top: 1rem;
	line-height: 1.7;
}

.prose-meta {
	margin-top: 1rem;
	font-size: 0.875rem;
	color: var(--color-slate-500);
}

.inline-actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

@media (min-width: 640px) {
	.inline-actions { flex-direction: row; }
}

.inline-actions--center {
	justify-content: center;
}

.fine-print {
	margin-top: 2rem;
	text-align: center;
	font-size: 0.875rem;
	color: var(--color-slate-500);
}

/* About page: light Why Choose Us grid (different from the homepage's dark band) */
.why-grid-light {
	margin-top: 2rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.why-grid-light { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.why-grid-light { grid-template-columns: repeat(4, 1fr); }
}

.why-grid-light__card {
	padding: 1.5rem;
	text-align: center;
}

.why-grid-light__icon {
	margin: 0 auto;
	width: 2rem;
	height: 2rem;
	color: var(--color-brand-600);
}

.why-grid-light__title {
	margin-top: 0.75rem;
	font-weight: 700;
	color: var(--color-slate-900);
}

.why-grid-light__desc {
	margin-top: 0.25rem;
	font-size: 0.875rem;
	color: var(--color-slate-600);
}

/* Service Areas page: card grid (not the homepage's pill list) */
.service-area-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 640px) {
	.service-area-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.service-area-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-area-grid__item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.25rem;
	font-weight: 500;
	color: var(--color-slate-800);
}

.service-area-grid__item .icon {
	color: var(--color-brand-600);
}

/* Plumbing/AC services pages reuse .services__grid; 2-column variant for Emergency page */
.services__grid--2col {
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.services__grid--2col { grid-template-columns: repeat(2, 1fr); }
}

/* Emergency Services page */
.emergency-prompt {
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.promise-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.promise-grid { grid-template-columns: repeat(3, 1fr); }
}

.promise-grid__card {
	padding: 1.5rem;
	text-align: center;
}

.promise-grid__card .icon {
	margin: 0 auto;
	width: 2rem;
	height: 2rem;
	color: var(--color-brand-600);
}

.promise-grid__title {
	margin-top: 0.75rem;
	font-weight: 700;
	color: var(--color-slate-900);
}

.promise-grid__desc {
	margin-top: 0.25rem;
	font-size: 0.875rem;
	color: var(--color-slate-600);
}

/* Our Work page: empty state (no Project CPT yet) */
.empty-state-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	text-align: center;
	padding: 3rem 1rem;
}

.empty-state-block__icon {
	width: 2.5rem;
	height: 2.5rem;
	color: var(--color-slate-300);
}

.empty-state-block__title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-slate-900);
}

.empty-state-block__desc {
	max-width: 32rem;
	color: var(--color-slate-600);
}

.empty-state {
	text-align: center;
	color: var(--color-slate-500);
}

/* Reviews page */
.reviews-summary {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding-top: 2.5rem;
	text-align: center;
}

.star-rating--lg .star-rating__star {
	width: 1.5rem;
	height: 1.5rem;
}

.reviews-summary__text {
	font-size: 0.875rem;
	color: var(--color-slate-600);
}

/* Contact page */
.contact-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

@media (min-width: 1024px) {
	.contact-layout { grid-template-columns: repeat(2, 1fr); }
}

.contact-info {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.contact-info__row {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.contact-info__icon {
	margin-top: 0.125rem;
	color: var(--color-brand-600);
}

.contact-info__label {
	font-size: 0.875rem;
	color: var(--color-slate-500);
}

.contact-info__value {
	font-weight: 600;
	color: var(--color-slate-900);
}

a.contact-info__value:hover {
	color: var(--color-brand-700);
}

.contact-emergency-note {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 0.5rem;
	background: #fef2f2;
	box-shadow: inset 0 0 0 1px rgb(220 38 38 / 0.2);
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-emergency-700);
}

.contact-emergency-note .icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

.contact-map {
	margin-top: 1.5rem;
	height: 18rem;
	width: 100%;
	overflow: hidden;
	border-radius: 1rem;
	border: 1px solid var(--color-slate-200);
}

.contact-map iframe {
	width: 100%;
	height: 100%;
	display: block;
}

.contact-form-card {
	padding: 1.5rem;
}

.contact-form-card .section-heading {
	margin-bottom: 1.25rem;
}

/* Forms (Contact + Request Service) -- visual shells, not yet wired to a backend */
.contact-form,
.request-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

.form-grid--2col {
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.form-grid--2col { grid-template-columns: repeat(2, 1fr); }
}

.form-label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-slate-800);
}

.form-input,
.form-input-file {
	width: 100%;
	border-radius: 0.5rem;
	border: 1px solid var(--color-slate-300);
	padding: 0.65rem 0.875rem;
	font-size: 0.875rem;
	color: var(--color-slate-900);
	font-family: inherit;
	background: var(--color-white);
}

.form-input-file {
	border: none;
	padding: 0;
}

.form-checkbox {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-slate-800);
}

.form-note {
	text-align: center;
	font-size: 0.8125rem;
	color: var(--color-slate-500);
}

.form-hint {
	margin-top: 0.375rem;
	font-size: 0.75rem;
	color: var(--color-slate-500);
}

.form-input--error {
	border-color: var(--color-emergency-500);
}

.form-error {
	margin-top: 0.375rem;
	font-size: 0.8125rem;
	color: var(--color-emergency-600);
}

.form-banner {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	margin-bottom: 1.5rem;
	border-radius: 0.75rem;
	padding: 1rem 1.25rem;
	font-size: 0.9375rem;
}

.form-banner .icon {
	margin-top: 0.125rem;
	flex-shrink: 0;
}

.form-banner--success {
	background: #f0fdf4;
	color: #166534;
	box-shadow: inset 0 0 0 1px #bbf7d0;
}

.form-banner--success .icon {
	color: #16a34a;
}

.form-banner--error {
	background: #fef2f2;
	color: var(--color-emergency-700);
	box-shadow: inset 0 0 0 1px #fecaca;
}

.form-banner--error .icon {
	color: var(--color-emergency-600);
}

/* Honeypot: present in the DOM for bots to fill, invisible and unreachable
   for real (sighted or keyboard) visitors. Deliberately not display:none --
   some spam bots skip fields hidden that way, so this is off-screen instead. */
.ddrs-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ==========================================================================
   18. Our Work gallery + project detail -- Phase 2 step 2
   ========================================================================== */

.narrow-section-wide--tight {
	padding-bottom: 0.5rem;
}

.project-grid {
	margin-top: 1.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.project-grid { grid-template-columns: repeat(3, 1fr); }
}

.project-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.project-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	width: 100%;
	background: var(--color-slate-100);
}

.project-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-card__badge {
	position: absolute;
	left: 0.75rem;
	top: 0.75rem;
	border-radius: var(--radius-full);
	background: rgb(255 255 255 / 0.9);
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--color-brand-700);
}

.project-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.25rem;
}

.project-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-slate-900);
}

.project-card__meta {
	margin-top: 0.25rem;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	color: var(--color-slate-500);
}

.project-card__meta .icon {
	width: 0.875rem;
	height: 0.875rem;
}

.project-card__desc {
	margin-top: 0.5rem;
	flex: 1;
	font-size: 0.875rem;
	color: var(--color-slate-600);
}

.project-card__link {
	margin-top: 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-brand-600);
}

.project-card__link:hover {
	color: var(--color-brand-700);
}

.gallery-controls {
	margin-top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

@media (min-width: 640px) {
	.gallery-controls {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.gallery-search {
	position: relative;
	width: 100%;
}

@media (min-width: 640px) {
	.gallery-search { max-width: 20rem; }
}

.gallery-search__icon {
	position: absolute;
	left: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1rem;
	height: 1rem;
	color: var(--color-slate-400);
	pointer-events: none;
}

.gallery-search input {
	width: 100%;
	border-radius: var(--radius-full);
	border: 1px solid var(--color-slate-300);
	padding: 0.6rem 1rem 0.6rem 2.25rem;
	font-size: 0.875rem;
	font-family: inherit;
}

.gallery-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.gallery-filter-pill {
	border-radius: var(--radius-full);
	padding: 0.375rem 0.875rem;
	font-size: 0.875rem;
	font-weight: 500;
	background: var(--color-slate-100);
	color: var(--color-slate-600);
	border: none;
}

.gallery-filter-pill:hover {
	background: var(--color-slate-200);
}

.gallery-filter-pill.is-active {
	background: var(--color-brand-600);
	color: var(--color-white);
}

/* Project detail page */
.project-hero {
	position: relative;
	aspect-ratio: 16 / 7;
	width: 100%;
	background: var(--color-slate-100);
	overflow: hidden;
}

.project-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-detail__badge {
	display: inline-block;
	border-radius: var(--radius-full);
	background: var(--color-brand-50);
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--color-brand-700);
}

.project-detail__title {
	margin-top: 0.75rem;
	font-size: 1.875rem;
	font-weight: 700;
	color: var(--color-slate-900);
}

.project-detail__meta {
	margin-top: 0.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	font-size: 0.875rem;
	color: var(--color-slate-500);
}

.project-detail__meta span {
	display: flex;
	align-items: center;
	gap: 0.375rem;
}

.project-detail__meta .icon {
	width: 1rem;
	height: 1rem;
}

.project-detail__body {
	margin-top: 1.5rem;
	line-height: 1.7;
	color: var(--color-slate-700);
}

.project-detail__section {
	margin-top: 2.5rem;
}

.project-detail__section .section-heading {
	margin-bottom: 1rem;
}

.video-embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 1rem;
	overflow: hidden;
	background: var(--color-slate-900);
}

.video-embed iframe,
.video-embed video {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.project-detail__cta {
	margin-top: 3rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	border-top: 1px solid var(--color-slate-200);
	padding-top: 2rem;
}

@media (min-width: 640px) {
	.project-detail__cta { flex-direction: row; }
}

/* Before/after slider -- range input drives a clip-path reveal, works with
   keyboard + touch + mouse for free since it's a native <input type=range>. */
.before-after {
	position: relative;
	aspect-ratio: 16 / 10;
	width: 100%;
	overflow: hidden;
	border-radius: 1rem;
	background: var(--color-slate-100);
}

.before-after__after,
.before-after__before {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.before-after__before-wrap {
	position: absolute;
	inset: 0;
	width: 50%;
	overflow: hidden;
}

.before-after__before {
	width: 200%;
	max-width: none;
}

.before-after__divider {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: var(--color-white);
	box-shadow: 0 0 0 1px rgb(0 0 0 / 0.15);
	pointer-events: none;
}

.before-after__slider {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	appearance: none;
	background: transparent;
	cursor: ew-resize;
}

.before-after__slider::-webkit-slider-thumb {
	appearance: none;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--color-white);
	box-shadow: var(--shadow-card-hover);
	cursor: ew-resize;
}

.before-after__slider::-moz-range-thumb {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	border: none;
	background: var(--color-white);
	box-shadow: var(--shadow-card-hover);
	cursor: ew-resize;
}

.before-after__slider::-webkit-slider-runnable-track {
	background: transparent;
}

.before-after__slider::-moz-range-track {
	background: transparent;
}
