:root {
  --ink: #15352c;
  --ink-strong: #092d23;
  --muted: #52665f;
  --green: #075c43;
  --green-dark: #034633;
  --green-deep: #063b2d;
  --green-bright: #0b7857;
  --mint: #eaf5f0;
  --mint-soft: #f5faf7;
  --line: #d5e4dd;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(10, 58, 44, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --content: 1180px;
  --reading: 760px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

figure {
  margin: 0;
}

figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  color: var(--ink-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 8vw, 4.6rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  letter-spacing: -0.012em;
}

p,
ul,
ol {
  margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

a {
  color: var(--green);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--green-dark);
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #d28b00;
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  border-radius: 8px;
  background: var(--ink-strong);
  color: var(--white);
  padding: 0.7rem 1rem;
  font-weight: 750;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(7, 92, 67, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 220px;
  text-decoration: none;
}

.brand img {
  width: min(220px, 58vw);
  height: auto;
}

.desktop-nav {
  display: none;
}

.mobile-nav {
  position: relative;
  flex: 0 0 auto;
}

.mobile-nav > summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink-strong);
  padding: 0.58rem 0.8rem;
  font-weight: 760;
}

.mobile-nav > summary::-webkit-details-marker {
  display: none;
}

.mobile-nav > summary::before {
  content: "☰";
  margin-right: 0.45rem;
  font-family: Arial, sans-serif;
}

.mobile-nav[open] > summary::before {
  content: "×";
}

.mobile-nav nav {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  width: min(290px, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-nav nav a {
  display: block;
  border-bottom: 1px solid var(--line);
  color: var(--ink-strong);
  padding: 0.85rem 1rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-nav nav a:last-child {
  border-bottom: 0;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(11, 120, 87, 0.12), transparent 38%),
    linear-gradient(180deg, #f6fbf8 0%, #ffffff 100%);
  padding: clamp(2.2rem, 7vw, 5.4rem) 0 clamp(2.6rem, 8vw, 6rem);
}

.hero-grid,
.split-section,
.faq-grid,
.page-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin-bottom: 0.55rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.lede {
  color: #365149;
  font-size: clamp(1.08rem, 2.5vw, 1.3rem);
  line-height: 1.65;
}

.hero .lede {
  max-width: 66ch;
}

.hero-media img,
.section-media img,
.faq-media img,
.page-hero__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.button-row,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0.72rem 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.button--primary {
  background: var(--green);
  color: var(--white);
}

.button--primary:hover {
  background: var(--green-dark);
  color: var(--white);
}

.button--secondary {
  border-color: var(--green);
  background: var(--white);
  color: var(--green);
}

.button--secondary:hover {
  background: var(--mint);
  color: var(--green-dark);
}

.button--light {
  background: var(--white);
  color: var(--green-deep);
}

.button--light:hover {
  background: var(--mint);
  color: var(--green-deep);
}

.button--outline-light {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.button--outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.hero-note,
.source-note {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
}

.trust-grid p {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.trust-grid p:last-child {
  border-bottom: 0;
}

.trust-grid strong {
  color: var(--green-dark);
}

.trust-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section--soft {
  background: var(--mint-soft);
}

.section--deep {
  background: var(--green-deep);
  color: #eaf5f0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.section-heading--wide {
  max-width: 940px;
}

.section-heading--left {
  margin-inline: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.section-heading--inverse h2,
.section-heading--inverse .eyebrow {
  color: var(--white);
}

.section-heading--inverse p:not(.eyebrow) {
  color: #cfe3db;
}

.section-copy p:not(.eyebrow),
.care-card__copy p:not(.eyebrow) {
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 800;
}

.doctor-grid {
  display: grid;
  gap: 1.25rem;
}

.doctor-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(10, 58, 44, 0.07);
}

.doctor-card__media {
  background: #e5efe9;
}

.doctor-card__media img {
  width: 100%;
  aspect-ratio: 550 / 705;
  object-fit: cover;
}

.doctor-card__media figcaption {
  margin: 0;
  padding: 0.6rem 1rem 0;
}

.doctor-card__content {
  padding: 1.15rem 1rem 1.3rem;
}

.doctor-card__content h3 {
  font-size: 1.55rem;
}

.doctor-card__content p:not(.eyebrow) {
  color: var(--muted);
}

.schedule {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  padding-top: 0.9rem;
}

.schedule strong {
  color: var(--ink-strong);
}

.care-grid {
  display: grid;
  gap: 1.4rem;
}

.care-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.care-card__media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.care-card__media figcaption {
  margin: 0;
  padding: 0.55rem 1rem 0.8rem;
}

.care-card__copy {
  align-self: center;
  padding: 1.4rem 1.2rem 1.6rem;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-card figcaption {
  margin: 0;
  color: #e5f1ec;
  padding: 0.75rem 0.9rem 0.9rem;
}

.faq-grid {
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  color: var(--ink-strong);
  padding: 1rem 2.4rem 1rem 0;
  font-weight: 800;
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 0.82rem;
  right: 0.2rem;
  color: var(--green);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  color: var(--muted);
  padding: 0 1rem 1.15rem 0;
}

.cta-section {
  padding: 0 0 clamp(3.5rem, 8vw, 6.5rem);
}

.cta-box {
  display: grid;
  gap: 1.4rem;
  border-radius: var(--radius);
  background: var(--green);
  color: #eaf5f0;
  padding: clamp(1.6rem, 5vw, 3rem);
}

.cta-box h2,
.cta-box .eyebrow {
  color: var(--white);
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: var(--mint-soft);
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.page-hero__copy {
  max-width: 760px;
}

.page-hero__copy h1 {
  font-size: clamp(2.25rem, 7vw, 4.15rem);
}

.page-content-section {
  padding-top: clamp(2.8rem, 7vw, 5rem);
}

.prose-wrap {
  max-width: calc(var(--reading) + 2rem);
}

.prose {
  max-width: var(--reading);
  margin-inline: auto;
}

.prose h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.65rem, 5vw, 2.35rem);
}

.prose h3 {
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: #365149;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li + li {
  margin-top: 0.45rem;
}

.prose a {
  font-weight: 700;
}

.post-list {
  display: grid;
  gap: 1.25rem;
}

.post-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.3rem;
}

.post-card h2 {
  font-size: 1.6rem;
}

.post-card h2 a {
  color: var(--ink-strong);
  text-decoration-color: rgba(7, 92, 67, 0.3);
}

.post-meta {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.not-found {
  min-height: 62vh;
  display: grid;
  align-items: center;
  padding: 4rem 0;
}

.not-found__inner {
  max-width: 680px;
  text-align: center;
}

.not-found__inner .button {
  margin-top: 1rem;
}

.site-footer {
  background: #082d23;
  color: #cfe0d9;
  padding: 3rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-logo {
  width: min(260px, 72vw);
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.site-footer h2 {
  color: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 0.42rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: 0.86rem;
}

@media (min-width: 640px) {
  .container {
    width: min(calc(100% - 3rem), var(--content));
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-grid p {
    border-right: 1px solid var(--line);
    border-bottom: 0;
    padding: 1.15rem 1.25rem;
  }

  .trust-grid p:first-child {
    padding-left: 0;
  }

  .trust-grid p:last-child {
    border-right: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.35fr 0.8fr 1fr;
  }
}

@media (min-width: 760px) {
  body {
    font-size: 18px;
  }

  .doctor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 840px) {
  .hero-grid,
  .split-section,
  .faq-grid,
  .page-hero--with-image .page-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 4.8rem);
  }

  .hero-copy {
    padding-block: 1rem;
  }

  .care-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .care-card--reverse .care-card__media {
    order: 2;
  }

  .care-card__media figcaption {
    background: var(--white);
  }

  .cta-box {
    grid-template-columns: minmax(0, 1.45fr) auto;
    align-items: center;
  }

  .cta-actions {
    justify-content: flex-end;
    margin-top: 0;
  }
}

@media (min-width: 980px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1.6vw, 1.25rem);
  }

  .desktop-nav a {
    color: var(--ink-strong);
    font-size: 0.93rem;
    font-weight: 720;
    text-decoration: none;
  }

  .desktop-nav a:hover {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 0.35em;
  }

  .mobile-nav {
    display: none;
  }

  .doctor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button-row,
  .cta-section,
  .mobile-nav {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 12pt;
  }

  a {
    color: #000;
  }
}
