:root {
  --ink: #10201b;
  --muted: #53635e;
  --green: #0f6f55;
  --green-dark: #094734;
  --mint: #e8f5ef;
  --aqua: #d7f0f3;
  --gold: #f4b83f;
  --coral: #f4b83f;
  --paper: #ffffff;
  --line: #d9e5df;
  --shadow: 0 18px 60px rgba(12, 43, 34, 0.14);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7fbf9;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, #0f6f55, #2f8f68, #094734, #f4b83f, #0f6f55) top / 100% 4px no-repeat,
    rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 229, 223, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--mint);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
}

.nav-tab,
.donate-nav,
.about-tab,
.filter-btn {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0 15px;
}

.nav-tab:hover,
.nav-tab.is-active,
.about-tab:hover,
.about-tab.is-active,
.filter-btn:hover,
.filter-btn.is-active {
  background: var(--mint);
  color: var(--green-dark);
}

.donate-nav {
  background: var(--green);
  color: #ffffff;
  font-weight: 700;
}

.donate-nav:hover {
  background: var(--green-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 10px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.page-panel {
  min-height: calc(100svh - 78px);
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: 380px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 86px) 0 clamp(42px, 6vw, 74px);
  background: #ffffff;
}

.home-intro-copy {
  text-align: center;
}

.home-intro-copy .eyebrow {
  color: var(--coral);
}

.home-intro h1 {
  color: #0f6f55;
  font-size: clamp(2rem, 4.4vw, 3.55rem);
  font-weight: 900;
  text-transform: uppercase;
}

.home-intro h1 span {
  color: #6b429f;
}

.home-intro-copy p:not(.eyebrow) {
  width: min(720px, 100%);
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.home-intro .hero-actions {
  justify-content: center;
}

.btn-ghost {
  background: #ffffff;
  color: var(--green-dark);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--mint);
}

.available-team h2 {
  margin: 0 0 20px;
  color: #7d8581;
  font-size: 1.05rem;
  font-weight: 400;
}

.available-team h2 strong {
  color: var(--ink);
}

.care-team-list {
  display: grid;
  gap: 0;
}

.care-team-list article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 86px;
  padding: 12px 0;
  border-bottom: 1px solid #d7ddd9;
}

.care-team-list article:last-child {
  border-bottom: 0;
}

.care-team-list img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--mint);
}

.care-team-list h3 {
  font-size: 1rem;
  font-weight: 700;
}

.care-team-list p,
.care-team-list small {
  display: block;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.home-care-flow {
  background: linear-gradient(135deg, #0f6f55 0%, #2f8f68 100%);
  overflow: hidden;
}

.home-flow-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(300px, 1.06fr) minmax(300px, 0.9fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 660px;
  margin: 0 auto;
  padding: clamp(54px, 7vw, 86px) 0;
}

.home-feature-stack {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0;
}

.home-feature-card {
  position: relative;
  min-height: 214px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 0;
  box-shadow: 0 22px 56px rgba(10, 50, 80, 0.16);
}

.home-feature-card h2,
.departments-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
}

.home-feature-card p {
  max-width: 360px;
  margin: 18px 0 0;
}

.feature-purple {
  background: #094734;
  color: #ffffff;
}

.feature-purple p {
  color: rgba(255, 255, 255, 0.88);
}

.feature-white {
  background: #ffffff;
  color: #141b19;
}

.feature-white p {
  color: var(--muted);
}

.card-plus {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 36px;
  height: 36px;
  border: 0;
  background: #30384a;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 900;
}

.muted-plus {
  background: #8a8f91;
}

.clinician-visual {
  position: relative;
  z-index: 1;
  align-self: end;
  display: flex;
  justify-content: center;
  min-height: 560px;
}

.clinician-visual img {
  width: min(500px, 100%);
  height: 620px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(4, 46, 68, 0.28);
}

.departments-panel {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 4vw, 46px);
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 22px 56px rgba(10, 50, 80, 0.16);
}

.departments-panel h2 {
  margin-bottom: 30px;
  color: #4b4e52;
}

.department-list {
  display: grid;
  gap: 24px;
  margin-bottom: 28px;
}

.department-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid #d6ddd9;
}

.department-list article:last-child {
  border-bottom: 0;
}

.department-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid #094734;
  border-radius: 50%;
  color: #094734;
  font-size: 0.82rem;
  font-weight: 900;
}

.department-list h3 {
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.department-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero {
  display: flex;
  align-items: center;
  min-height: calc(82svh - 78px);
  padding: clamp(72px, 12vw, 128px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(7, 31, 23, 0.82), rgba(7, 31, 23, 0.5), rgba(7, 31, 23, 0.14)),
    url("assets/gallery/IMG_0495.JPG") center / cover;
  color: #ffffff;
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
}

.hero p:not(.eyebrow) {
  width: min(650px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 20px;
  font-weight: 800;
}

.btn-primary {
  background: var(--green);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
}

.full-width {
  width: 100%;
}

.quick-access {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-access article {
  min-height: 190px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--paper);
}

.quick-access span,
.service-card span,
.person-card span,
.contact-details span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-access h2,
.service-card h2,
.service-cta h2,
.contact-details p {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.quick-access p,
.overview-copy p,
.donation-copy p,
.service-card p,
.service-cta p,
.about-panel p,
.person-card p,
.values-grid p,
.contact-details p {
  color: var(--muted);
}

.section-grid,
.donation-section,
.about-layout,
.services-grid,
.service-cta,
.media-controls,
.gallery-grid,
.contact-layout {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-grid h2,
.donation-copy h2,
.page-hero h1,
.about-panel h2,
.service-cta h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
}

.overview-copy {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
}

.donation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-bottom: clamp(56px, 8vw, 96px);
  padding: clamp(26px, 5vw, 48px);
  background: var(--green-dark);
  color: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.donation-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.donation-impact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.donation-impact li {
  min-height: 48px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.donation-form,
.contact-form {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.donation-form {
  color: var(--ink);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.field span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.amount-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.amount-btn {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
}

.amount-btn:hover,
.amount-btn.is-selected {
  border-color: var(--green);
  background: var(--mint);
  color: var(--green-dark);
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 111, 85, 0.12);
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--green-dark);
  font-weight: 800;
}

.page-hero {
  display: grid;
  align-content: end;
  min-height: 360px;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(9, 45, 34, 0.88), rgba(9, 45, 34, 0.58), rgba(9, 45, 34, 0.22)),
    url("assets/gallery/IMG_0488.JPG") center / cover;
}

.compact-hero {
  background:
    linear-gradient(90deg, rgba(9, 45, 34, 0.9), rgba(9, 45, 34, 0.55), rgba(9, 45, 34, 0.18)),
    url("assets/gallery/IMG_0487.JPG") center / cover;
}

.service-hero {
  background:
    linear-gradient(90deg, rgba(9, 45, 34, 0.88), rgba(9, 45, 34, 0.54), rgba(9, 45, 34, 0.18)),
    url("assets/gallery/IMG_0477.JPG") center / cover;
}

.media-hero {
  background:
    linear-gradient(90deg, rgba(9, 45, 34, 0.86), rgba(9, 45, 34, 0.5), rgba(9, 45, 34, 0.18)),
    url("assets/gallery/IMG_0465.JPG") center / cover;
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(9, 45, 34, 0.88), rgba(9, 45, 34, 0.55), rgba(9, 45, 34, 0.2)),
    url("assets/gallery/IMG_0482.JPG") center / cover;
}

.page-hero h1 {
  width: min(880px, 100%);
}

.about-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(44px, 7vw, 84px) 0;
}

.about-tabs {
  position: sticky;
  top: 102px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.about-tab {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  text-align: left;
  border-radius: var(--radius);
}

.about-content {
  min-width: 0;
}

.about-panel {
  padding: clamp(24px, 4vw, 44px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(12, 43, 34, 0.08);
}

.about-panel p {
  font-size: 1.03rem;
}

.people-grid,
.values-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.people-grid,
.values-grid {
  margin-top: 28px;
}

.person-card,
.values-grid article,
.service-card,
.contact-details article {
  min-height: 172px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.person-card,
.values-grid article {
  background: #f7fbf9;
}

.person-card h3,
.values-grid h3,
.service-card h2 {
  font-size: 1.25rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(44px, 7vw, 84px) 0 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card p {
  margin-bottom: 0;
}

.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  margin-bottom: clamp(56px, 8vw, 96px);
  padding: clamp(24px, 4vw, 40px);
  background: var(--aqua);
  border-radius: var(--radius);
}

.service-cta h2 {
  max-width: 760px;
}

.media-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: clamp(34px, 5vw, 54px) 0 18px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 290px;
  gap: 16px;
  padding-bottom: clamp(56px, 8vw, 96px);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--mint);
  padding: 0;
  box-shadow: 0 12px 30px rgba(12, 43, 34, 0.12);
}

.gallery-item.is-wide {
  grid-column: span 2;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(4, 26, 19, 0.76);
  color: #ffffff;
  font-weight: 800;
  text-align: left;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr);
  gap: clamp(24px, 5vw, 56px);
  padding: clamp(44px, 7vw, 84px) 0;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
}

.contact-details p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 14, 10, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  position: relative;
  width: min(980px, 100%);
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
  border-radius: var(--radius);
  background: #0a1a14;
}

.lightbox figcaption {
  margin-top: 12px;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: 70px;
    right: 14px;
    left: 14px;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    width: auto;
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  body.nav-open .primary-nav {
    display: grid;
  }

  .nav-tab,
  .donate-nav {
    width: 100%;
    border-radius: var(--radius);
    text-align: left;
  }

  .hero {
    min-height: calc(80svh - 70px);
  }

  .home-intro,
  .home-flow-inner,
  .quick-access,
  .section-grid,
  .donation-section,
  .about-layout,
  .services-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-tabs {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-intro {
    min-height: auto;
    padding-top: 42px;
  }

  .home-intro-copy {
    text-align: left;
  }

  .home-intro-copy p:not(.eyebrow) {
    margin-inline: 0;
  }

  .home-intro .hero-actions {
    justify-content: flex-start;
  }

  .home-flow-inner {
    min-height: auto;
  }

  .clinician-visual {
    min-height: auto;
    order: -1;
  }

  .clinician-visual img {
    height: min(62vw, 520px);
  }

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

  .gallery-item.is-wide {
    grid-column: span 1;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: calc(78svh - 70px);
    padding: 54px 18px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.7rem);
  }

  .hero-actions,
  .service-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .service-cta .btn {
    width: 100%;
  }

  .section-grid,
  .donation-section,
  .about-layout,
  .services-grid,
  .service-cta,
  .media-controls,
  .gallery-grid,
  .contact-layout {
    width: min(100% - 28px, 1180px);
  }

  .donation-section {
    padding: 22px;
  }

  .available-team,
  .donation-impact,
  .people-grid,
  .values-grid,
  .services-grid,
  .contact-details,
  .about-tabs,
  .amount-options,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .home-intro h1 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .home-intro .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-intro .hero-actions .btn {
    width: 100%;
  }

  .home-feature-card,
  .departments-panel {
    border-radius: var(--radius);
  }

  .clinician-visual img {
    height: 360px;
  }

  .gallery-grid {
    grid-auto-rows: 260px;
  }

  .page-hero {
    min-height: 300px;
    padding: 48px 18px;
  }
}


/* Reference-style homepage v2 */
.site-header {
  min-height: 76px;
  padding-top: 0;
  padding-bottom: 0;
  background: #ffffff;
}

.primary-nav {
  align-self: stretch;
}

.nav-tab {
  min-height: 76px;
  border-radius: 0;
  padding: 0 17px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-tab:hover,
.nav-tab.is-active {
  background: #0f6f55;
  color: #ffffff;
}

.donate-nav {
  min-height: 42px;
  align-self: center;
  background: #094734;
}

.donate-nav:hover {
  background: #063426;
}

.landing-hero {
  position: relative;
  min-height: 610px;
  background:
    linear-gradient(90deg, rgba(0, 112, 130, 0.9) 0%, rgba(0, 158, 179, 0.74) 42%, rgba(0, 180, 195, 0.22) 100%),
    url("assets/home/clinical-care.jpg") center right / cover no-repeat;
  color: #ffffff;
  overflow: visible;
}

.landing-hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: clamp(118px, 14vw, 190px);
}

.landing-hero-copy {
  width: min(520px, 100%);
}

.landing-hero-copy p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: 0.14em;
}

.landing-hero-copy h1 {
  width: min(520px, 100%);
  font-size: clamp(2.35rem, 4.8vw, 4.15rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: lowercase;
}

.landing-hero-copy .hero-actions {
  margin-top: 28px;
}

.hero-service-tiles {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1020px, calc(100% - 40px));
  min-height: 220px;
  margin: 0 auto;
  transform: translateY(50%);
  box-shadow: 0 18px 50px rgba(10, 67, 92, 0.18);
}

.hero-tile {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 220px;
  overflow: hidden;
  color: #ffffff;
}

.hero-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.86;
}

.tile-blue::after {
  background: #0f6f55;
}

.tile-purple::after {
  background: #094734;
}

.tile-coral::after {
  background: #f4b83f;
}

.hero-tile div {
  position: relative;
  z-index: 1;
  padding: 34px;
}

.hero-tile span,
.hero-tile strong,
.hero-tile small {
  display: block;
}

.hero-tile span {
  font-size: clamp(1.1rem, 2vw, 1.75rem);
  line-height: 1;
}

.hero-tile strong {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
  text-transform: uppercase;
}

.hero-tile small {
  width: min(210px, 100%);
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
}

.landing-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.68fr);
  gap: clamp(42px, 7vw, 100px);
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 172px 0 76px;
  background: #ffffff;
}

.landing-intro-copy {
  text-align: center;
}

.landing-intro-copy h2 {
  color: #0f6f55;
  font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  font-weight: 900;
  text-transform: uppercase;
}

.landing-intro-copy h2 span {
  color: #094734;
}

.landing-intro-copy p {
  width: min(760px, 100%);
  margin: 24px auto 28px;
  color: var(--muted);
}

.landing-care-team h3 {
  margin: 0 0 20px;
  color: #7d8581;
  font-size: 1rem;
  font-weight: 400;
}

.landing-care-team h3 strong {
  color: var(--ink);
}

.care-team-list h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.12;
}

.landing-care-flow {
  background: linear-gradient(135deg, #0f6f55 0%, #2f8f68 100%);
  overflow: hidden;
}

.landing-flow-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 0.95fr) minmax(290px, 1.05fr) minmax(300px, 0.88fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 650px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 92px) 0;
}

.landing-feature-stack {
  z-index: 2;
  display: grid;
}

.landing-feature-card {
  position: relative;
  min-height: 210px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 22px 56px rgba(10, 50, 80, 0.16);
}

.landing-feature-card h2,
.landing-departments-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
}

.landing-feature-card p {
  max-width: 380px;
  margin: 18px 0 0;
}

.landing-clinician-visual {
  align-self: stretch;
  display: flex;
  align-items: end;
  justify-content: center;
}

.landing-clinician-visual img {
  width: min(470px, 100%);
  height: 560px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 28px 70px rgba(4, 46, 68, 0.24);
}

.landing-departments-panel {
  z-index: 2;
  padding: clamp(30px, 4vw, 52px);
  background: #ffffff;
  box-shadow: 0 22px 56px rgba(10, 50, 80, 0.16);
}

.landing-departments-panel h2 {
  margin-bottom: 30px;
  color: #4b4e52;
}

.landing-news {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 116px) 0;
  background: #ffffff;
  text-align: center;
}

.landing-news h2 {
  margin-bottom: 46px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
}

.landing-news h2 span {
  color: #a3a6aa;
}

.news-feature {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(280px, 1fr) minmax(180px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.news-feature > img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  object-position: center;
}

.news-copy {
  text-align: left;
}

.news-copy p {
  margin: 0 0 4px;
  color: #8a9094;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.news-copy h3 {
  color: #0f6f55;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 900;
}

.news-copy h3::first-line {
  color: #094734;
}

.news-copy ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.news-copy li {
  margin: 8px 0;
  color: #4d5a56;
  font-weight: 700;
}

.news-copy li::before {
  content: "//";
  margin-right: 10px;
  color: #0f6f55;
}

.landing-testimonials {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 70px 20px;
  background: linear-gradient(135deg, rgba(45, 127, 193, 0.95), rgba(30, 192, 177, 0.82));
  color: #ffffff;
  text-align: center;
}

.testimonial-inner {
  position: relative;
  width: min(680px, 100%);
}

.testimonial-inner::before,
.testimonial-inner::after {
  position: absolute;
  top: 96px;
  color: rgba(255, 255, 255, 0.13);
  font-size: clamp(7rem, 14vw, 12rem);
  line-height: 1;
  font-weight: 900;
}

.testimonial-inner::before {
  content: "\201C";
  left: min(-22vw, -160px);
}

.testimonial-inner::after {
  content: "\201D";
  right: min(-22vw, -160px);
}

.testimonial-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
}

.testimonial-inner img {
  width: 82px;
  height: 82px;
  margin: 34px auto 16px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.28);
}

.testimonial-inner h3 {
  font-size: 0.92rem;
  text-transform: uppercase;
}

.testimonial-inner p {
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 28px;
}

.testimonial-dots span {
  width: 8px;
  height: 8px;
  border: 1px solid #ffffff;
  border-radius: 50%;
}

.testimonial-dots span:first-child {
  background: #ffffff;
}

.landing-footer {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px clamp(20px, 5vw, 72px);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-brand strong,
.footer-brand span {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.footer-brand strong {
  color: #094734;
}

.footer-brand span {
  color: #0f6f55;
}

.landing-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #094734;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
}

@media (max-width: 980px) {
  .primary-nav {
    align-self: auto;
  }

  .nav-tab {
    min-height: 46px;
  }

  .landing-hero {
    min-height: auto;
    padding-bottom: 28px;
  }

  .landing-hero-inner {
    padding: 76px 0 130px;
  }

  .hero-service-tiles {
    position: static;
    grid-template-columns: 1fr;
    transform: none;
    width: min(100% - 40px, 680px);
    margin-top: -92px;
  }

  .landing-intro,
  .landing-flow-inner,
  .news-feature,
  .landing-footer {
    grid-template-columns: 1fr;
  }

  .landing-intro {
    padding-top: 64px;
  }

  .landing-intro-copy,
  .news-copy {
    text-align: left;
  }

  .landing-intro-copy p {
    margin-inline: 0;
  }

  .landing-flow-inner {
    min-height: auto;
  }

  .landing-clinician-visual {
    order: -1;
  }

  .landing-clinician-visual img {
    height: min(72vw, 500px);
  }

  .landing-footer {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .landing-hero-inner {
    width: min(100% - 28px, 1180px);
    padding: 58px 0 112px;
  }

  .landing-hero-copy p {
    letter-spacing: 0.08em;
  }

  .hero-service-tiles,
  .landing-intro,
  .landing-flow-inner,
  .landing-news {
    width: min(100% - 28px, 1180px);
  }

  .hero-tile,
  .landing-feature-card {
    min-height: 180px;
  }

  .hero-tile div {
    padding: 24px;
  }

  .landing-clinician-visual img {
    height: 320px;
  }

  .news-feature > img:last-child {
    display: none;
  }

  .testimonial-inner::before,
  .testimonial-inner::after {
    display: none;
  }

  .landing-footer {
    padding-inline: 20px;
  }
}


/* AFMCGH logo color lock */
:root {
  --green: #0f6f55;
  --green-dark: #094734;
  --mint: #e8f5ef;
  --aqua: #d9f2e8;
  --gold: #f4b83f;
  --coral: #f4b83f;
}

.site-header {
  background:
    linear-gradient(90deg, var(--green-dark), var(--green), var(--gold), var(--green)) top / 100% 4px no-repeat,
    #ffffff;
}

.brand strong,
.landing-intro-copy h2 span,
.footer-brand strong {
  color: var(--green-dark);
}

.brand small,
.landing-intro-copy h2,
.footer-brand span {
  color: var(--green);
}

.nav-tab:hover,
.nav-tab.is-active,
.btn-primary,
.donate-nav {
  background: var(--green);
  color: #ffffff;
}

.nav-tab:hover,
.nav-tab.is-active {
  background: var(--green);
}

.btn-primary:hover,
.donate-nav:hover {
  background: var(--green-dark);
}

.landing-hero,
.landing-care-flow {
  background:
    linear-gradient(90deg, rgba(9, 71, 52, 0.92) 0%, rgba(15, 111, 85, 0.82) 46%, rgba(244, 184, 63, 0.18) 100%),
    url("assets/home/clinical-care.jpg") center right / cover no-repeat;
}

.landing-care-flow {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.tile-blue::after,
.tile-purple::after {
  background: var(--green);
}

.tile-purple::after {
  background: var(--green-dark);
}

.tile-coral::after {
  background: var(--gold);
}

.tile-coral div,
.tile-coral small {
  color: var(--green-dark);
}

.feature-purple,
.footer-socials span {
  background: var(--green-dark);
}

.department-icon {
  border-color: var(--green);
  color: var(--green);
}

.news-copy h3,
.news-copy li::before {
  color: var(--green);
}

.news-copy h3::first-line {
  color: var(--green-dark);
}

.landing-testimonials {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}
