:root {
  --green-950: #063d34;
  --green-900: #075244;
  --green-800: #0b6b57;
  --green-700: #0e8068;
  --green-100: #dff3ec;
  --green-50: #eff9f5;
  --ink: #16312b;
  --muted: #60736e;
  --cream: #f8f5ee;
  --white: #fff;
  --line: #d9e3df;
  --coral: #dc725a;
  --shadow: 0 20px 60px rgba(6, 61, 52, .12);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", Arial, sans-serif; line-height: 1.6; }
a { color: inherit; }
button, input { font: inherit; }
img { max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.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; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.utility-bar { background: var(--green-950); color: #dff3ec; font-size: .82rem; }
.utility-inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; }
.utility-links { display: flex; gap: 22px; }
.utility-links a { text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(217,227,223,.8); backdrop-filter: blur(14px); }
.header-inner { min-height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px 15px 15px 4px; background: var(--green-800); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.brand-mark span { font-family: "Newsreader", Georgia, serif; font-size: 1.9rem; line-height: 1; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { letter-spacing: -.02em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .72rem; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.main-nav a { color: #344d47; font-size: .91rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover { color: var(--green-700); }
.main-nav .nav-contact { padding: 10px 17px; border: 1px solid var(--green-800); border-radius: 999px; color: var(--green-800); }
.menu-toggle { display: none; border: 0; background: transparent; }

.hero { position: relative; overflow: hidden; padding: 94px 0 88px; background: var(--cream); }
.hero::after { content: ""; position: absolute; inset: 0 0 0 55%; background: var(--green-800); clip-path: polygon(22% 0,100% 0,100% 100%,0 100%); }
.hero-pattern { position: absolute; z-index: 1; right: -6%; top: -20%; width: 48%; aspect-ratio: 1; opacity: .32; background: repeating-radial-gradient(circle at 50% 50%, transparent 0 28px, rgba(255,255,255,.2) 29px 30px); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--green-700); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero h1, .section-heading h2, .legal-content h1 { margin: 0; font-family: "Newsreader", Georgia, serif; font-weight: 600; letter-spacing: -.04em; line-height: .98; }
.hero h1 { max-width: 700px; font-size: clamp(3.2rem, 6vw, 5.5rem); }
.hero-lede { max-width: 650px; margin: 28px 0 0; color: #4d635e; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.button-primary { background: var(--green-800); color: #fff; }
.button-primary:hover { background: var(--green-900); }
.button-ghost { border: 1px solid #a9bbb5; }
.button-light { background: #fff; color: var(--green-900); }
.hero-card { padding: 34px; border-radius: var(--radius); background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.card-kicker { margin: 0; color: var(--coral); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.hero-card h2 { margin: 8px 0 24px; font-family: "Newsreader", Georgia, serif; font-size: 2rem; }
.hero-card dl { margin: 0; }
.hero-card dl div { padding: 17px 0; border-top: 1px solid var(--line); }
.hero-card dt { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.hero-card dd { margin: 4px 0 0; }
.text-link { display: inline-block; margin-top: 20px; color: var(--green-800); font-weight: 700; text-decoration: none; }

.quick-section { position: relative; z-index: 5; margin-top: -1px; padding: 34px 0; background: #fff; border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.quick-card { min-height: 120px; display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; padding: 22px; text-decoration: none; border-right: 1px solid var(--line); transition: background .2s, transform .2s; }
.quick-card:last-child { border-right: 0; }
.quick-card:hover { background: var(--green-50); }
.quick-icon { color: var(--green-700); font-size: .74rem; font-weight: 700; }
.quick-card span:nth-child(2) { display: grid; }
.quick-card small { color: var(--muted); font-size: .76rem; line-height: 1.35; }
.section { padding: 104px 0; scroll-margin-top: 80px; }
.two-column { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.section-heading h2 { font-size: clamp(2.7rem, 4.6vw, 4.5rem); }
.unit-copy > p { margin-top: 0; color: #425953; font-size: 1.13rem; }
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 38px 0; }
.stat-grid div { padding: 20px 12px 20px 0; border-top: 2px solid var(--green-800); }
.stat-grid strong { display: block; font-family: "Newsreader", Georgia, serif; font-size: 2.8rem; color: var(--green-800); line-height: 1; }
.stat-grid span { display: block; margin-top: 10px; color: var(--muted); font-size: .79rem; line-height: 1.4; }
.accordion { border-top: 1px solid var(--line); }
.accordion:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; padding: 19px 36px 19px 0; cursor: pointer; font-weight: 700; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 4px; font-size: 1.4rem; font-weight: 400; }
.accordion[open] summary::after { content: "−"; }
.accordion div { padding: 0 28px 16px 0; color: var(--muted); }
.accordion div p { margin-top: 0; }

.services-section { background: var(--green-50); }
.heading-row { display: grid; grid-template-columns: 1.1fr .7fr; gap: 100px; align-items: end; margin-bottom: 52px; }
.heading-row > p { margin: 0; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.service-card { min-height: 245px; padding: 28px; border: 1px solid #d4e8e0; border-radius: 18px; background: rgba(255,255,255,.75); }
.service-card > span { color: var(--green-700); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.service-card h3 { margin: 50px 0 9px; font-size: 1.22rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .91rem; }
.service-card a { display: inline-block; margin-top: 18px; font-size: .86rem; font-weight: 700; text-decoration: none; }
.service-card.featured { background: var(--green-800); color: #fff; }
.service-card.featured > span, .service-card.featured p { color: #d9f1e8; }

.patient-section { background: var(--cream); }
.patient-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; }
.patient-panel, .surgery-panel { padding: clamp(30px, 5vw, 58px); border-radius: var(--radius); }
.patient-panel { background: var(--green-950); color: #fff; }
.patient-panel .eyebrow { color: #8dd4bd; }
.patient-panel h2 { margin: 0; font-family: "Newsreader", Georgia, serif; font-size: 3rem; }
.patient-panel > p:not(.eyebrow) { color: #c6ded6; }
.check-list { padding: 0; margin: 32px 0 0; list-style: none; }
.check-list li { padding: 14px 0 14px 30px; border-top: 1px solid rgba(255,255,255,.17); position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #8dd4bd; }
.surgery-panel { background: #fff; box-shadow: var(--shadow); }
.panel-number { color: var(--coral); font-size: .76rem; font-weight: 700; letter-spacing: .12em; }
.surgery-panel h3 { margin: 8px 0 12px; font-family: "Newsreader", Georgia, serif; font-size: 2.5rem; }
.surgery-panel > p { color: var(--muted); }
.medical-note { margin-top: 24px !important; padding: 15px; border-radius: 10px; background: #fff7e4; color: #684f20 !important; font-size: .82rem; }

.resource-list { border-top: 1px solid var(--line); }
.resource-list a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.resource-list a:hover { background: var(--green-50); }
.resource-list span { display: grid; }
.resource-list small { margin-top: 4px; color: var(--muted); }
.support-section { background: var(--cream); }
.support-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.support-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.support-card { min-height: 245px; padding: 30px; border-radius: 18px; background: #fff; }
.support-card.urgent { background: #f8e8e4; }
.support-card h3 { margin-top: 0; font-family: "Newsreader", Georgia, serif; font-size: 1.8rem; }
.support-card p { color: var(--muted); }
.support-card a { display: inline-block; margin-top: 30px; color: var(--green-800); font-weight: 700; text-decoration: none; }
.staff-section { background: var(--green-800); color: #fff; }
.staff-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.staff-inner .eyebrow { color: #a9dfce; }
.staff-inner h2 { margin: 0; font-family: "Newsreader", Georgia, serif; font-size: 3.6rem; }
.staff-inner p { color: #d7eee6; }
.staff-actions { display: grid; justify-items: start; gap: 18px; }
.staff-actions span { color: #c4e1d8; font-size: .82rem; }
.contact-grid { display: grid; grid-template-columns: .75fr .65fr 1fr; gap: 28px; align-items: stretch; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.contact-card > div { padding-bottom: 16px; }
.contact-card span { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.contact-card p { margin: 4px 0; }
.map-placeholder { min-height: 360px; display: grid; place-content: center; justify-items: center; text-align: center; border-radius: 18px; overflow: hidden; background-color: #dfece7; background-image: linear-gradient(30deg, transparent 49%, rgba(255,255,255,.7) 50% 52%, transparent 53%), linear-gradient(120deg, transparent 49%, rgba(255,255,255,.7) 50% 52%, transparent 53%); background-size: 90px 90px; }
.map-pin { width: 48px; height: 48px; margin-bottom: 16px; border: 14px solid var(--green-800); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: var(--shadow); }
.map-placeholder div { display: grid; padding: 8px 14px; border-radius: 8px; background: rgba(255,255,255,.88); }
.map-placeholder small { color: var(--muted); }

.site-footer { padding: 70px 0 24px; background: var(--green-950); color: #d6e8e2; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3,1fr); gap: 55px; }
.footer-grid > div:not(:first-child) { display: grid; align-content: start; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid > div:not(:first-child) a, .footer-grid > div:not(:first-child) span { color: #a9c5bc; font-size: .86rem; }
.footer-brand .brand-mark { background: #fff; color: var(--green-900); }
.footer-brand .brand-copy small { color: #a9c5bc; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 60px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #8eada3; font-size: .75rem; }
.legal-page { background: var(--cream); }
.legal-content { max-width: 780px; padding-top: 100px; padding-bottom: 100px; }
.legal-content h1 { font-size: 4rem; }
.legal-content p { color: var(--muted); font-size: 1.08rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 980px) {
  .utility-bar { display: none; }
  .header-inner { min-height: 72px; }
  .menu-toggle { width: 42px; height: 42px; display: grid; align-content: center; gap: 5px; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin-left: auto; background: var(--ink); }
  .main-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; padding: 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 9px 0; }
  .hero { padding: 72px 0; }
  .hero::after { inset: 52% 0 0; clip-path: polygon(0 18%,100% 0,100% 100%,0 100%); }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-card { max-width: 620px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-card:nth-child(2) { border-right: 0; }
  .quick-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .two-column, .patient-grid, .support-grid, .staff-inner { grid-template-columns: 1fr; gap: 40px; }
  .heading-row { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid .section-heading { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1180px); --radius: 16px; }
  .brand-copy small { display: none; }
  .brand-mark { width: 42px; height: 42px; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.3rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-card { padding: 25px; }
  .quick-grid, .services-grid, .support-cards, .contact-grid { grid-template-columns: 1fr; }
  .quick-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-card:last-child { border-bottom: 0; }
  .section { padding: 74px 0; }
  .section-heading h2 { font-size: 3rem; }
  .stat-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 210px; }
  .patient-panel, .surgery-panel { padding: 28px 22px; }
  .staff-inner h2 { font-size: 3rem; }
  .contact-grid .section-heading { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { display: grid; }
}
