@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
	--prime-green: #00b140;
	--prime-deep: #007a33;
	--prime-ink: #10251c;
	--prime-ivory: #f7f5ef;
	--prime-sage: #e6eee6;
	--prime-coral: #c96f4c;
	--prime-line: #dfe5de;
}

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body { background: var(--prime-ivory); color: var(--prime-ink); font-family: 'DM Sans', sans-serif; line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; letter-spacing: -0.02em; }
img, video, iframe { max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { overflow-wrap: anywhere; }

.site-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 239, .96); border-bottom: 1px solid var(--prime-line); backdrop-filter: blur(14px); }
.utility-bar { background: var(--prime-ink); color: #dbe6dc; font-size: .74rem; letter-spacing: .04em; }
.utility-inner, .utility-links { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.utility-inner { min-height: 34px; }
.utility-links a:hover { color: #fff; }
.nav-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand-mark { width: 142px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 1.4rem; font-size: .88rem; font-weight: 700; }
.desktop-nav a { color: #365044; transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav .nav-active { color: var(--prime-deep); }
.nav-active { position: relative; }
.nav-active::after { content: ''; position: absolute; right: 0; bottom: -11px; left: 0; height: 2px; background: var(--prime-green); }
.nav-appointment { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1rem; color: white !important; background: var(--prime-deep); border-radius: 4px; }
.nav-appointment:hover { background: var(--prime-ink) !important; }
.menu-button { display: none; border: 0; padding: .4rem; background: transparent; }
.menu-button span { display: block; width: 25px; height: 2px; margin: 5px; background: var(--prime-ink); }
.mobile-menu { display: none !important; border-top: 1px solid var(--prime-line); background: var(--prime-ivory); }
.mobile-menu.is-open { display: block !important; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem 24px 2rem; font-weight: 700; }
.mobile-menu a { color: var(--prime-ink); }
.mobile-menu[hidden] { display: none !important; }

.eyebrow { color: var(--prime-deep); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-heading { max-width: 680px; }
.section-heading h2 { margin-top: .6rem; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; }
.section-heading p { margin-top: 1rem; color: #5b6b61; font-size: 1.1rem; }
.editorial-card { border: 1px solid var(--prime-line); background: #fff; box-shadow: 0 12px 34px rgba(16, 37, 28, .07); }
.editorial-card:hover { box-shadow: 0 18px 44px rgba(16, 37, 28, .12); transform: translateY(-3px); transition: .25s ease; }
.button-primary { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .9rem 1.25rem; color: #fff; background: var(--prime-deep); border-radius: 4px; font-weight: 700; }
.button-primary:hover { background: var(--prime-ink); }
.button-secondary { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .85rem 1.2rem; border: 1px solid #b8c8ba; color: var(--prime-deep); border-radius: 4px; font-weight: 700; }
.button-secondary:hover { border-color: var(--prime-deep); background: var(--prime-sage); }
.page-hero { background: var(--prime-ink); color: #fff; }
.home-hero { min-height: min(760px, calc(100vh - 112px)); }
.home-hero h1 { max-width: 820px; font-size: clamp(3.25rem, 7vw, 6.7rem); letter-spacing: -.055em; }
.home-hero #heroText { max-width: 620px; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.trust-band { background: var(--prime-sage); border-bottom: 1px solid #d3dfd4; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 2.4rem 0; }
.trust-grid > div { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; }
.trust-grid strong { font-family: 'Manrope', sans-serif; font-size: 1.05rem; }
.trust-grid p { grid-column: 2; color: #587062; font-size: .9rem; }
.trust-mark { grid-row: span 2; color: var(--prime-coral); font-family: 'Manrope', sans-serif; font-size: .8rem; font-weight: 800; }
.form-field { width: 100%; border: 1px solid #cbd6cd; border-radius: 3px; background: #fff; padding: .85rem 1rem; color: var(--prime-ink); }
.form-field:focus { outline: 2px solid rgba(0, 122, 51, .22); border-color: var(--prime-deep); }

.nav-active { color: var(--prime-green); position: relative; }
.nav-active::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--prime-green);
	border-radius: 999px;
}

.hero-slide { will-change: opacity; }
.animate-in { animation: rise-in .8s ease both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 960px) {
	.desktop-nav { display: none !important; }
	.menu-button { display: block !important; flex: 0 0 auto; }
	.nav-row { gap: 1rem; }
	.utility-inner { flex-wrap: wrap; }
	.site-header { position: relative; }
	footer .container { grid-template-columns: 1fr; }
	footer .md\:col-span-3 { grid-column: auto; }
}

@media (max-width: 600px) {
	.site-container { width: min(100% - 32px, 1180px); }
	.utility-links a:last-child { display: none; }
	.utility-inner { font-size: .68rem; }
	.nav-row { min-height: 68px; }
	.brand-mark { width: 125px; }
	.trust-grid { grid-template-columns: 1fr; gap: 1.2rem; }
	.mobile-menu nav { padding-right: 16px; padding-left: 16px; }
	.page-hero h1, .home-hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); line-height: 1.05; }
	.page-hero p, .home-hero p { max-width: 100%; }
	.section-heading h2 { font-size: 2.25rem; }
	.button-primary, .button-secondary { width: 100%; }
	figure img { height: auto; min-height: 240px; }
	.editorial-card { min-width: 0; }
	footer { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}
