/*
 * Dr. Deepa Rupani DMD — Modern stylesheet
 * Clean clinical-modern aesthetic: warm whites, deep teal, gold accents.
 */

:root {
	--bg: #ffffff;
	--bg-soft: #faf7f2;
	--bg-tint: #eef5f6;
	--primary: #0d4f5c;
	--primary-hover: #0a3f4a;
	--primary-soft: #1b6b7a;
	--primary-light: #d3e8eb;
	--accent: #c9a961;
	--accent-dark: #ad8b3c;
	--text: #14202b;
	--text-muted: #56656f;
	--text-faint: #8a98a3;
	--border: #ece7df;
	--border-strong: #d8d2c7;
	--star: #e5a93a;
	--success: #2f7d5b;
	--danger: #c0392b;
	--shadow-sm: 0 1px 2px rgba(20,32,43,.06), 0 1px 3px rgba(20,32,43,.05);
	--shadow-md: 0 10px 30px -10px rgba(20,32,43,.18), 0 4px 12px -4px rgba(20,32,43,.08);
	--shadow-lg: 0 30px 60px -20px rgba(20,32,43,.22), 0 12px 24px -8px rgba(20,32,43,.12);
	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 22px;
	--radius-xl: 32px;
	--container: 1200px;
	--container-narrow: 880px;
	--ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset & base ---------- */

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

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

html, body { margin: 0; padding: 0; }

body {
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: 'cv11','ss01','ss03';
}

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

a {
	color: var(--primary);
	text-decoration: none;
	transition: color .2s var(--ease), opacity .2s var(--ease);
}

a:hover { color: var(--primary-hover); }

p { margin: 0 0 1em; }

h1, h2, h3, h4 {
	font-family: 'Fraunces', 'Times New Roman', Georgia, serif;
	font-weight: 500;
	color: var(--text);
	line-height: 1.15;
	margin: 0 0 .5em;
	letter-spacing: -0.015em;
	font-variation-settings: 'opsz' 144, 'SOFT' 50;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.8vw, 2.85rem); font-weight: 400; }
h3 { font-size: 1.4rem; font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 600; font-family: 'Inter', sans-serif; letter-spacing: 0; }

.eyebrow {
	display: inline-block;
	font-family: 'Inter', sans-serif;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--primary-soft);
	margin: 0 0 1.25rem;
}

.eyebrow.gold { color: var(--accent-dark); }

.lead {
	font-size: 1.18rem;
	color: var(--text-muted);
	max-width: 60ch;
	line-height: 1.6;
}

/* ---------- Layout helpers ---------- */

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.container-narrow {
	max-width: var(--container-narrow);
	margin: 0 auto;
	padding: 0 1.5rem;
}

section {
	padding: clamp(4.5rem, 9vw, 7.5rem) 0;
	position: relative;
}

section.tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--primary); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead, .section-dark p { color: rgba(255,255,255,.85); }

.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	font-family: 'Inter', sans-serif;
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: 0.005em;
	padding: .95rem 1.6rem;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	transition: transform .25s var(--ease), background-color .2s var(--ease), color .2s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
	-webkit-appearance: none;
	appearance: none;
	line-height: 1.2;
}

.btn-primary {
	background: var(--primary);
	color: #fff;
	box-shadow: 0 6px 20px -8px rgba(13,79,92,.55);
}
.btn-primary:hover {
	background: var(--primary-hover);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 12px 26px -10px rgba(13,79,92,.6);
}

.btn-accent {
	background: var(--accent);
	color: #1c1308;
	box-shadow: 0 6px 20px -8px rgba(201,169,97,.5);
}
.btn-accent:hover {
	background: var(--accent-dark);
	color: #fff;
	transform: translateY(-1px);
}

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

.btn-outline-light {
	background: transparent;
	color: #fff;
	border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover {
	background: #fff;
	color: var(--primary);
	border-color: #fff;
}

.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }

.btn-arrow::after {
	content: "→";
	transition: transform .25s var(--ease);
	display: inline-block;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- Top bar ---------- */

.topbar {
	background: var(--primary);
	color: #fff;
	font-size: .85rem;
	letter-spacing: 0.02em;
}
.topbar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-top: .55rem;
	padding-bottom: .55rem;
	flex-wrap: wrap;
}
.topbar a { color: #fff; opacity: .92; }
.topbar a:hover { opacity: 1; }
.topbar .topbar-info {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.topbar .topbar-info span,
.topbar .topbar-info a {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}
.topbar svg { width: 14px; height: 14px; opacity: .85; }

/* ---------- Navigation ---------- */

.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255,255,255,.85);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--border);
	transition: box-shadow .2s var(--ease), background .2s var(--ease);
}
.nav.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.95); }

.nav-inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: .9rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	color: var(--text);
	font-family: 'Fraunces', serif;
	font-weight: 500;
	font-size: 1.18rem;
	letter-spacing: -0.01em;
	white-space: nowrap;
}
.brand .brand-mark {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--primary);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: 'Fraunces', serif;
	font-weight: 500;
	font-size: 1.05rem;
	letter-spacing: 0;
	flex-shrink: 0;
}
.brand small {
	display: block;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: .7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-top: 1px;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-links a {
	color: var(--text);
	font-size: .95rem;
	font-weight: 500;
	position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
	content: "";
	position: absolute;
	left: 0; right: 0;
	bottom: -6px;
	height: 2px;
	background: var(--primary);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .25s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: inline-flex; align-items: center; gap: 1rem; }

.nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	width: 42px;
	height: 42px;
	cursor: pointer;
	padding: 0;
	color: var(--text);
}
.nav-toggle svg { width: 24px; height: 24px; margin: 0 auto; }

@media (max-width: 900px) {
	.nav-links { display: none; }
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.nav-cta .btn { display: none; }
	.nav.open .nav-links {
		display: flex;
		position: absolute;
		top: 100%;
		left: 0; right: 0;
		flex-direction: column;
		gap: 0;
		background: #fff;
		padding: 1rem 1.5rem 1.25rem;
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow-md);
	}
	.nav.open .nav-links li { width: 100%; border-bottom: 1px solid var(--border); }
	.nav.open .nav-links li:last-child { border-bottom: 0; }
	.nav.open .nav-links a { display: block; padding: .85rem 0; font-size: 1rem; }
	.nav.open .nav-links a::after { display: none; }
	.nav.open .nav-cta .btn { display: inline-flex; margin-top: .5rem; width: 100%; }
}

/* ---------- Hero ---------- */

.hero {
	padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
	background:
		radial-gradient(ellipse 80% 60% at 100% 0%, rgba(201,169,97,.10), transparent 60%),
		radial-gradient(ellipse 70% 60% at 0% 100%, rgba(13,79,92,.06), transparent 60%),
		var(--bg);
	overflow: hidden;
}

.hero-grid {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
}

.hero-content h1 {
	margin-bottom: 1.25rem;
}
.hero-content h1 em {
	font-style: italic;
	color: var(--primary);
	font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

.hero-content .lead { margin-bottom: 2rem; }

.hero-checklist {
	list-style: none;
	padding: 0;
	margin: 0 0 2.25rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .65rem 1.25rem;
}
.hero-checklist li {
	position: relative;
	padding-left: 2rem;
	font-size: .98rem;
	color: var(--text);
	line-height: 1.4;
}
.hero-checklist li::before {
	content: "";
	position: absolute;
	left: 0; top: 0;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--primary-light);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230d4f5c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
}

.hero-cta {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}
.hero-cta .phone-link {
	color: var(--text);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}
.hero-cta .phone-link small {
	display: block;
	font-size: .72rem;
	font-weight: 500;
	color: var(--text-muted);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hero-image {
	position: relative;
	aspect-ratio: 4 / 5;
	max-height: 640px;
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	background: var(--bg-tint);
}
.hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}
.hero-badge {
	position: absolute;
	left: 20px;
	bottom: 20px;
	right: 20px;
	background: rgba(255,255,255,0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	padding: .85rem 1.1rem;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	display: flex;
	align-items: center;
	gap: .75rem;
	max-width: 280px;
}
.hero-badge .badge-stars { color: var(--star); font-size: 1.05rem; letter-spacing: .12em; line-height: 1; }
.hero-badge .badge-text {
	font-size: .85rem;
	color: var(--text-muted);
	line-height: 1.35;
}
.hero-badge .badge-text strong { color: var(--text); display: block; font-weight: 600; font-size: .92rem; margin-bottom: 1px; }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-image { aspect-ratio: 4/4; max-height: 520px; order: -1; }
	.hero-checklist { grid-template-columns: 1fr; }
	.hero-badge { left: 14px; right: 14px; bottom: 14px; }
}

/* ---------- Trust strip ---------- */

.trust-strip {
	background: var(--bg-soft);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 1.75rem 0;
}
.trust-strip-inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	align-items: center;
}
.trust-item {
	display: flex;
	align-items: center;
	gap: .9rem;
}
.trust-item svg {
	width: 28px; height: 28px;
	color: var(--primary);
	flex-shrink: 0;
}
.trust-item strong {
	display: block;
	font-size: .98rem;
	color: var(--text);
	font-weight: 600;
}
.trust-item span {
	display: block;
	font-size: .82rem;
	color: var(--text-muted);
}
@media (max-width: 800px) {
	.trust-strip-inner { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
@media (max-width: 480px) {
	.trust-strip-inner { grid-template-columns: 1fr; }
}

/* ---------- Services grid ---------- */

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 1rem;
}
.service-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2rem 1.75rem;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--primary-light);
}
.service-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--bg-tint);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	margin-bottom: 1.25rem;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-family: 'Inter', sans-serif; font-size: 1.18rem; font-weight: 600; letter-spacing: -0.005em; margin-bottom: .5rem; }
.service-card p { color: var(--text-muted); margin: 0; font-size: .96rem; }

@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- About / Excellence split ---------- */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(2rem, 6vw, 5rem);
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
}
.split.reverse .split-image { order: 2; }
.split-image {
	position: relative;
	border-radius: var(--radius-xl);
	overflow: hidden;
	aspect-ratio: 4/5;
	box-shadow: var(--shadow-md);
	background: var(--bg-tint);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }

.credentials {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	margin-top: 2rem;
}
.credential {
	background: var(--bg-soft);
	border-radius: var(--radius);
	padding: 1.1rem 1.25rem;
}
.credential strong {
	display: block;
	font-size: 1.5rem;
	color: var(--primary);
	font-family: 'Fraunces', serif;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1;
	margin-bottom: .25rem;
}
.credential span {
	font-size: .85rem;
	color: var(--text-muted);
	line-height: 1.35;
	display: block;
}

@media (max-width: 900px) {
	.split { grid-template-columns: 1fr; }
	.split.reverse .split-image { order: 0; }
	.split-image { aspect-ratio: 4/3.5; max-height: 520px; }
}

/* ---------- Gallery ---------- */

.gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin-top: 2rem;
}
.gallery-item {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: var(--radius);
	overflow: hidden;
	cursor: zoom-in;
	background: var(--bg-tint);
	box-shadow: var(--shadow-sm);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-item img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
	content: "View larger";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: .9rem 1rem;
	font-size: .8rem;
	color: #fff;
	background: linear-gradient(to top, rgba(13,79,92,.85), transparent);
	letter-spacing: 0.04em;
	font-weight: 500;
	opacity: 0;
	transition: opacity .25s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }

@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(20,32,43,.92);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 100;
	padding: 2rem;
	cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0,0,0,.4);
	cursor: default;
}
.lightbox-close {
	position: absolute;
	top: 1.5rem; right: 1.5rem;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.25);
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
	transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

/* ---------- Reviews ---------- */

.reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}
.review-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.85rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	box-shadow: var(--shadow-sm);
	position: relative;
}
.section-soft .review-card { background: #fff; }
.review-card .stars {
	color: var(--star);
	letter-spacing: .14em;
	font-size: 1.05rem;
	line-height: 1;
}
.review-card blockquote {
	margin: 0;
	font-size: .97rem;
	line-height: 1.65;
	color: var(--text);
	font-family: 'Inter', system-ui, sans-serif;
	font-weight: 400;
	font-style: normal;
}
.review-meta {
	display: flex;
	align-items: center;
	gap: .85rem;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
}
.review-avatar {
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--primary);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: .9rem;
	flex-shrink: 0;
}
.review-meta .review-author { font-weight: 600; font-size: .92rem; color: var(--text); display: block; line-height: 1.2; }
.review-meta .review-date { font-size: .8rem; color: var(--text-faint); display: block; }
.review-meta .google-mark {
	margin-left: auto;
	width: 22px; height: 22px;
	flex-shrink: 0;
}

@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }
@media (min-width: 900px) and (max-width: 1100px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }

.reviews-summary {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	background: var(--bg-soft);
	border: 1px solid var(--border);
	padding: .75rem 1.25rem;
	border-radius: 999px;
	margin-bottom: 1.5rem;
	font-size: .92rem;
}
.reviews-summary .stars { color: var(--star); letter-spacing: .12em; font-size: 1rem; }
.reviews-summary strong { font-weight: 600; }

/* ---------- Contact ---------- */

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
}
.contact-card {
	display: grid;
	gap: 1.25rem;
}
.contact-row {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}
.contact-icon {
	width: 44px; height: 44px;
	border-radius: 12px;
	background: var(--bg-tint);
	color: var(--primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-row strong { display: block; font-weight: 600; color: var(--text); margin-bottom: 2px; font-size: .98rem; }
.contact-row span, .contact-row a { color: var(--text-muted); font-size: .96rem; line-height: 1.5; display: block; }
.contact-row a:hover { color: var(--primary); }

.hours-table {
	margin-top: .25rem;
	display: grid;
	grid-template-columns: auto auto;
	gap: .25rem 1.25rem;
	font-size: .94rem;
	color: var(--text-muted);
}
.hours-table strong { font-weight: 600; color: var(--text); font-size: inherit; margin: 0; }

.map-frame {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	aspect-ratio: 4/3.5;
	background: var(--bg-tint);
	border: 1px solid var(--border);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- CTA banner ---------- */

.cta-banner {
	background:
		radial-gradient(ellipse 60% 80% at 100% 0%, rgba(201,169,97,.18), transparent 60%),
		linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
	color: #fff;
	border-radius: var(--radius-xl);
	padding: clamp(2.5rem, 5vw, 4rem);
	text-align: center;
	position: relative;
	overflow: hidden;
}
.cta-banner h2 { color: #fff; margin-bottom: .75rem; }
.cta-banner p { color: rgba(255,255,255,.9); max-width: 50ch; margin: 0 auto 2rem; }
.cta-banner .actions {
	display: inline-flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
.cta-banner .actions .phone-link { color: rgba(255,255,255,.95); font-weight: 600; }
.cta-banner .actions .phone-link:hover { color: #fff; }

/* ---------- Footer ---------- */

footer {
	background: #0a3941;
	color: rgba(255,255,255,.78);
	padding: 4rem 0 2rem;
	font-size: .92rem;
}
footer h4 { color: #fff; margin-bottom: 1rem; font-size: .85rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
footer a { color: rgba(255,255,255,.78); }
footer a:hover { color: #fff; }
.footer-grid {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2.5rem;
}
.footer-brand p { font-size: .92rem; line-height: 1.6; max-width: 32ch; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }

.footer-bottom {
	max-width: var(--container);
	margin: 3rem auto 0;
	padding: 1.75rem 1.5rem 0;
	border-top: 1px solid rgba(255,255,255,.12);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	font-size: .85rem;
	color: rgba(255,255,255,.55);
}

@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Form ---------- */

.form-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: clamp(1.75rem, 4vw, 2.75rem);
	box-shadow: var(--shadow-md);
}
.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem 1.5rem;
}
.form-grid .full { grid-column: 1 / -1; }
.field-modern { display: flex; flex-direction: column; gap: .45rem; }
.field-modern label {
	font-size: .85rem;
	font-weight: 600;
	color: var(--text);
	letter-spacing: 0.01em;
}
.field-modern label .req { color: var(--accent-dark); margin-left: 2px; }
.field-modern input,
.field-modern select,
.field-modern textarea {
	font-family: inherit;
	font-size: 1rem;
	padding: .85rem 1rem;
	border: 1px solid var(--border-strong);
	border-radius: 10px;
	background: #fff;
	color: var(--text);
	transition: border-color .2s, box-shadow .2s;
	width: 100%;
	-webkit-appearance: none;
	appearance: none;
}
.field-modern textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field-modern input:focus,
.field-modern select:focus,
.field-modern textarea:focus {
	outline: 0;
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(13,79,92,.12);
}
.field-modern input::placeholder,
.field-modern textarea::placeholder { color: var(--text-faint); }
.field-modern select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2356656f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.75rem;
}

.form-actions {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: .75rem;
	align-items: center;
}
.form-actions .btn { min-width: 240px; }
.form-note { font-size: .85rem; color: var(--text-muted); text-align: center; }

.alert {
	border-radius: 12px;
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	font-size: .94rem;
	border: 1px solid;
}
.alert-error {
	background: rgba(192,57,43,.06);
	border-color: rgba(192,57,43,.25);
	color: #8e2c20;
}

@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Form-page hero (compact) ---------- */

.hero.compact {
	padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}
.hero.compact .hero-grid {
	grid-template-columns: 1.05fr .95fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}
.hero.compact .hero-image {
	aspect-ratio: 4/4.2;
	max-height: 460px;
}
@media (max-width: 900px) {
	.hero.compact .hero-grid { grid-template-columns: 1fr; }
	.hero.compact .hero-image { max-height: 380px; aspect-ratio: 4/3.2; }
}

/* ---------- Thank you ---------- */

.thank-card {
	background: #fff;
	border-radius: var(--radius-xl);
	padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
	text-align: center;
	box-shadow: var(--shadow-md);
	border: 1px solid var(--border);
	max-width: 600px;
	margin: 0 auto;
}
.success-circle {
	width: 84px;
	height: 84px;
	margin: 0 auto 1.5rem;
	border-radius: 50%;
	background: linear-gradient(135deg, #2f7d5b 0%, #4caf83 100%);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 30px -8px rgba(47,125,91,.45);
}
.success-circle svg { width: 40px; height: 40px; }

/* ---------- Reveal animations ---------- */

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- Visually hidden ---------- */

.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}
