:root {
	--bg: #f5faf8;
	--surface: #ffffff;
	--ink: #1f2a2e;
	--muted: #5b6b70;
	--brand: #1e836c;
	--brand-700: #156856;
	--accent: #68a691;
	--ring: rgba(30,131,108,0.35);
}

/* Dark theme (forest) */
[data-theme="dark"] {
	--bg: #0f241f; /* dark forest green */
	--surface: #132c25;
	--ink: #e8f2ee;
	--muted: #b6c7c1;
	--brand: #6ed3b7;
	--brand-700: #4db99c;
	--accent: #89e3c8;
	--ring: rgba(110,211,183,0.28);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5rem; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; font-family: "Playfair Display", serif; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1rem; color: var(--muted); }

.container { width: min(1100px, 92%); margin: 0 auto; }

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 999px; padding: .75rem 1.1rem; font-weight: 600;
	text-decoration: none; border: 1px solid transparent;
	transition: all .2s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-700); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: #e8f4f1; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 20;
	background: rgba(245,250,248,.8);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid #e6efeb;
}
[data-theme="dark"] .site-header {
	background: rgba(19, 30, 27, .9); /* dark grey-green */
	border-bottom-color: #1f3a32;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; }
.theme-toggle { position: relative; display: inline-grid; grid-auto-flow: column; align-items: center; justify-items: center; gap: 6px; width: 56px; height: 28px; margin-right: .5rem; border: 1px solid #e6efeb; background: #f2f6f4; color: var(--ink); border-radius: 999px; padding: 0; font-weight: 700; font-size: 0; cursor: pointer; }
.desktop-only { display: inline-grid; }
.mobile-only { display: none; }
.theme-toggle .icon { font-size: 16px; line-height: 1; opacity: .6; font-family: 'Material Symbols Rounded'; font-weight: 400; font-style: normal; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.theme-toggle .switch-knob { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); left: 2px; top: 50%; transform: translate(0,-50%); transition: transform .22s ease, background .22s ease; box-shadow: 0 6px 16px rgba(0,0,0,.15); }
[data-theme="dark"] .theme-toggle { border-color: #24463d; background: #0d211c; }
[data-theme="dark"] .theme-toggle .switch-knob { background: #e8f2ee; }
[data-theme="dark"] .theme-toggle .icon.sun { opacity: .4; }
[data-theme="dark"] .theme-toggle .icon.moon { opacity: 1; }
.theme-toggle[aria-pressed="true"] .switch-knob { transform: translate(28px,-50%); }
.hamburger { display: none; background: none; border: 0; padding: .4rem; border-radius: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; font-weight: 700; }
.brand-logo { font-size: 1.25rem; }
.brand-name { font-family: "Playfair Display", serif; letter-spacing: .2px; }
.nav { display: flex; align-items: center; gap: 1rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--brand); }
.nav .btn-primary { color: #fff !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .nav-link { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .75rem; border-radius: 8px; }
.nav-dropdown .nav-link::after { content: "▾"; font-size: .85em; color: var(--muted); }
.nav-dropdown .nav-menu { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #e6efeb; border-radius: 10px; padding: .4rem; display: none; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.nav-dropdown:hover .nav-menu { display: grid; }
.nav-dropdown .nav-menu a { white-space: nowrap; padding: .5rem .7rem; border-radius: 8px; }
.nav-dropdown .nav-menu a:hover { background: #f3f8f6; color: var(--brand); }
[data-theme="dark"] .nav-dropdown .nav-menu { background: #132c25; border-color: #1f3a32; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
[data-theme="dark"] .nav-dropdown .nav-menu a:hover { background: #0d211c; }

/* Hero */
.hero { padding: 4.5rem 0 3rem; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.hero-copy p { font-size: 1.05rem; }
.hero-cta { display: flex; gap: .75rem; margin-top: 1.25rem; }
.hero-media { aspect-ratio: 4 / 3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.08); transition: opacity .45s ease; }
.hero-media img.is-fading { opacity: .05; }

/* Sections */
.section { padding: 3.5rem 0; }
.section[id] { scroll-margin-top: 80px; }
.section-header { text-align: center; margin-bottom: 2rem; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.card {
	background: var(--surface); border: 1px solid #e6efeb; border-radius: 14px;
	padding: 1.1rem; box-shadow: 0 6px 16px rgba(0,0,0,.04);
}
.card p { margin: .5rem 0 0; }

.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: center; }
.about-media img { width: 100%; height: auto; border-radius: 14px; }
.list { margin: .75rem 0 0; padding-left: 1rem; }
.list li { margin: .25rem 0; }

.testimonials .grid { grid-template-columns: repeat(3, 1fr); }
.quote { background: var(--surface); border: 1px solid #e6efeb; border-radius: 14px; padding: 1rem; }
.quote p { color: var(--ink); font-style: italic; }
.quote cite { display: block; color: var(--muted); margin-top: .5rem; font-style: normal; }

.insurance { background: #ecf6f2; border-block: 1px solid #e0ede8; }
.insurance-inner { text-align: center; }
.ins-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .75rem; }
.badge { background: #fff; border: 1px solid #e6efeb; border-radius: 999px; padding: .35rem .7rem; font-weight: 600; color: var(--brand); }
[data-theme="dark"] .insurance { background: #0d211c; border-block-color: #1f3a32; }
[data-theme="dark"] .insurance h2 { color: var(--ink); }
[data-theme="dark"] .insurance p { color: var(--muted); }
[data-theme="dark"] .badge { background: #132c25; border-color: #1f3a32; color: var(--ink); }


.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; background: var(--surface); padding: 1rem; border: 1px solid #e6efeb; border-radius: 14px; }
.contact-form label { display: grid; gap: .35rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form textarea {
	padding: .7rem .8rem; border-radius: 10px; border: 1px solid #d9e7e2; background: #fff; font: inherit; color: var(--ink);
	outline: none; box-shadow: 0 1px 0 rgba(0,0,0,.02);
	width: 100%;
	min-width: 0;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring); }
.contact-form .full { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; }

/* Map */
.map-embed { margin-top: 1rem; }
.map-embed iframe { width: 100%; height: 360px; border: 0; border-radius: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.08); }

/* Dark theme: ensure form text is black for readability */
[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea { color: #000; }

/* Footer */
.site-footer { border-top: 1px solid #e6efeb; background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.footer-inner p { margin: 0; display: flex; align-items: center; }
.site-footer nav { display: flex; gap: 1rem; align-items: center; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--brand); }
[data-theme="dark"] .site-footer a { color: #8ba69a; }
[data-theme="dark"] .site-footer p { color: #8ba69a; }

/* Mobile drawer */
.mobile-drawer { position: fixed; inset: 0; background: rgba(0,0,0,.4); backdrop-filter: blur(2px); z-index: 40; opacity: 0; transition: opacity .25s ease; visibility: hidden; pointer-events: none; }
.mobile-drawer[aria-hidden="false"] { opacity: 1; visibility: visible; pointer-events: auto; }
.drawer-content { position: absolute; right: 0; top: 0; bottom: 0; width: min(86%, 320px); background: #fff; border-left: 1px solid #e6efeb; padding: 1rem; overflow-y: auto; transform: translateX(100%); transition: transform .28s ease; will-change: transform; }
.mobile-drawer[aria-hidden="false"] .drawer-content { transform: translateX(0); }
.drawer-close { background: none; border: 0; font-size: 1.6rem; line-height: 1; }
.drawer-nav { display: grid; gap: 0; margin-top: .5rem; }
.drawer-nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: .5rem .25rem; }
.drawer-nav .btn { margin-top: 15px; }
.drawer-nav .btn-primary { color: #fff !important; }
.drawer-nav a:hover { color: var(--brand); }
.drawer-accordion-toggle { background: none; border: 0; text-align: left; padding: .5rem .25rem; font: inherit; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; }
.drawer-accordion-toggle .caret { color: var(--muted); transition: transform .18s ease; }
.drawer-accordion-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.drawer-subnav { display: grid; gap: .35rem; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .28s ease, opacity .25s ease; margin: 0; padding-left: 0; border-left: 0; }
.drawer-accordion-toggle[aria-expanded="true"] + .drawer-subnav { max-height: 360px; opacity: 1; margin: .25rem 0; padding-left: .75rem; border-left: 2px solid #e6efeb; }

/* Dark theme: mobile drawer */
[data-theme="dark"] .mobile-drawer { background: rgba(0,0,0,.6); }
[data-theme="dark"] .drawer-content { background: #132c25; border-left-color: #1f3a32; }
[data-theme="dark"] .drawer-close { color: var(--ink); }
[data-theme="dark"] .drawer-nav a { color: var(--ink); }
[data-theme="dark"] .drawer-nav a:hover { color: var(--brand); }
[data-theme="dark"] .drawer-accordion-toggle { color: var(--ink); }
[data-theme="dark"] .drawer-accordion-toggle .caret { color: var(--muted); }
[data-theme="dark"] .drawer-accordion-toggle[aria-expanded="true"] + .drawer-subnav { border-left-color: #1f3a32; }

/* Social */
.social { padding-top: 0; }
.social-inner { text-align: center; }
.social-inner h2 { margin-bottom: .75rem; }
.social-links { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.social-btn { background: #fff; border: 1px solid #e6efeb; color: var(--ink); text-decoration: none; padding: .5rem .9rem; border-radius: 999px; font-weight: 600; }
.social-btn:hover { border-color: var(--brand); color: var(--brand); }
[data-theme="dark"] .social-btn { background: #132c25; border-color: #1f3a32; color: #e8f2ee; }
[data-theme="dark"] .social-btn:hover { border-color: var(--brand); color: var(--brand); }

/* Responsive */
@media (max-width: 980px) {
	.hero-inner { grid-template-columns: 1fr; }
	.grid { grid-template-columns: repeat(2, 1fr); }
	.testimonials .grid { grid-template-columns: 1fr 1fr; }
	.about-inner, .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.nav { display: none; }
	.hamburger { display: inline-block; }
	.mobile-only { display: inline-grid; }
	.desktop-only { display: none; }
	.grid { grid-template-columns: 1fr; }
	.testimonials .grid { grid-template-columns: 1fr; }
	.contact-form { grid-template-columns: 1fr; }
	.hero { padding-top: 3.5rem; }
	.footer-inner { flex-direction: column; gap: .5rem; }
}



