:root {
  --ink: #1d2838;
  --ink-soft: #4f5d71;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3fa;
  --line: #d4deed;
  --primary: #1e437f;
  --primary-dark: #173564;
  --accent: #5f85b8;
  --success-soft: #e9f2e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

main,
section,
.site-header,
.site-footer {
  overflow-x: clip;
}
.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 30;
}
.nav-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  align-items: center;
  position: relative;
}

.site-nav {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #b8cae7;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  display: block;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-icon::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-icon::after {
  position: absolute;
  top: 6px;
}
.brand {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}
.brand-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(24, 54, 99, 0.12);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.76rem;
  color: var(--ink-soft);
  text-wrap: balance;
  max-width: 42ch;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.95rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--primary); }

.nav-links a.is-active {
  color: var(--primary);
  position: relative;
}


.nav-language-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.45rem;
  border: 1px solid #c8d8f2;
  border-radius: 999px;
  background: #f2f6fd;
}

.nav-language-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #204777;
}

.nav-language-select {
  font-size: 0.82rem;
  border: 1px solid #b8cae7;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  background: #fff;
  color: var(--ink);
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 2px;
  background: var(--primary);
}

.section { padding: 4.7rem 0; }
.alt { background: var(--bg); }
.soft { background: var(--surface-alt); }
.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
}
.hero {
  background:
    linear-gradient(180deg, #f2f6fd 0%, #ffffff 100%);
  padding-top: 5.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.14;
  margin: 0.5rem 0 1rem;
  text-wrap: balance;
}
.hero-lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 60ch;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  line-height: 1.25;
}

.hero-highlight {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.6rem;
}
.hero-highlight .item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem;
}
.hero-media {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #e6edf8;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 40px rgba(21, 51, 96, 0.2);
}
.media-caption {
  position: relative;
  background: rgba(10, 25, 49, 0.76);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1rem 1.2rem;
  font-size: 0.93rem;
  color: #f2f6ff;
}

.grid-two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.35rem; align-items: start; }
.grid-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cards-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 13px;
  padding: 1.2rem;
}
.card h3, .card h2 { margin-top: 0.2rem; }
.card:hover {
  transform: translateY(-2px);
  transition: transform 0.18s ease;
}
.feature-card {
  border: 1px solid #c8d7ef;
  box-shadow: 0 10px 25px rgba(31, 63, 122, 0.08);
}

.impact-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.scenario-card {
  border: 1px solid #c4d7f3;
}

.phase-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  counter-reset: phase;
}

.phase-list li {
  background: #fff;
  border: 1px solid #cddbf1;
  border-radius: 12px;
  padding: 1rem;
  position: relative;
  min-height: 140px;
}

.phase-list li::before {
  counter-increment: phase;
  content: "Phase " counter(phase);
  display: inline-block;
  margin-bottom: 0.55rem;
  color: #1d4f92;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.image-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.visual-panel {
  min-height: 220px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #f4f8fd 0%, #e6eef9 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.visual-panel::after {
  content: attr(data-label);
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-weight: 700;
  color: #234a86;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
}


.content-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.01);
}

.hero-image {
  min-height: 420px;
}

.image-frame {
  margin: 0;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  position: relative;
}

.hero-media .hero-image {
  aspect-ratio: 4 / 5;
}

.focal-center { object-position: center center; }
.focal-center-top { object-position: center 28%; }
.focal-center-right { object-position: 62% center; }
.focal-center-left { object-position: 36% center; }

.image-frame figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-weight: 700;
  color: #234a86;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
}

.image-frame::after {
  display: none;
}

.image-frame::before,
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 28, 56, 0) 55%, rgba(12, 28, 56, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

.image-frame figcaption,
.media-caption {
  z-index: 2;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.trust-bar span {
  background: #e9f1ff;
  border: 1px solid #c8d8f2;
  color: #204777;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
}

.trust-line {
  margin-top: 1rem;
  color: #204777;
  font-weight: 700;
  font-size: 0.9rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.stat-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 1rem;
}
.stat-box strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary);
}

.program-flagship {
  border: 1px solid #c2d3ee;
  background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
  border-radius: 16px;
  padding: 1.35rem;
}
.program-pillars { margin: 0; padding-left: 1.1rem; }
.program-pillars li { margin-bottom: 0.55rem; }



.programs-layout {
  gap: 1.6rem;
  align-items: stretch;
}

.program-visual-stack {
  display: grid;
  gap: 1rem;
}

.program-support {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 1rem 1.1rem;
}

.program-support h3 {
  margin: 0.2rem 0 0.5rem;
}

.program-support p {
  margin: 0;
  color: var(--ink-soft);
}

.impact-strip {
  background: var(--success-soft);
  border: 1px solid #cbdcc9;
  border-radius: 14px;
  padding: 1.2rem;
}

.initiative-card p:last-child {
  margin-bottom: 0;
}

.family-support-layout {
  align-items: stretch;
}

.value-grid {
  margin-top: 1rem;
}

.value-grid .card {
  height: 100%;
}

.partnership-card {
  max-width: 980px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 0.66rem 1.05rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}
.btn-primary { background: var(--primary); color: #fff !important; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-secondary:hover { border-color: var(--accent); color: var(--primary); }
.cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1rem; align-items: center; }

.page-hero {
  background: linear-gradient(180deg, #f7f9fd, #fff);
  border-bottom: 1px solid var(--line);
  padding: 3.2rem 0;
}
.page-title { margin: 0 0 0.3rem; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.intro { color: var(--ink-soft); max-width: 72ch; font-size: 1.03rem; }

.programs-hero {
  padding: 3rem 0;
}

.programs-hero .hero-grid {
  align-items: center;
}

.quick-links {
  margin-top: 1.4rem;
}

.quick-links .item {
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  display: block;
}

.quick-links .item:hover {
  color: var(--primary-dark);
  border-color: #b8ccec;
}
.checklist { margin: 0.75rem 0 0; padding-left: 1.1rem; }
.checklist li { margin-bottom: 0.45rem; }

.note {
  color: var(--ink-soft);
}

.final-cta {
  background: linear-gradient(180deg, #f6f9ff 0%, #edf4ff 100%);
}

.center-copy {
  max-width: 820px;
  text-align: center;
}

.center-copy p {
  margin-left: auto;
  margin-right: auto;
}

.center-cta {
  justify-content: center;
}

.legal-card ul { padding-left: 1rem; margin-bottom: 0; }
.contact-form { max-width: 760px; }
label { display: block; font-weight: 700; margin-top: 0.8rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.62rem;
  font: inherit;
}

.site-footer { background: #0f172a; color: #e3e8f6; padding: 2.8rem 0; }
.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin-bottom: 0.7rem;
}
.site-footer a { color: #d6e3ff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0.25rem 0; }
.small { font-size: 0.82rem; color: #c4cee5; }



/* About: leadership and history section */
.leadership-intro-grid .card,
.collaboration-layout .card {
  height: 100%;
}

.journey-block {
  margin-top: 1.5rem;
}

.journey-title {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.educational-timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.educational-timeline li {
  min-height: 175px;
}

.educational-timeline strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #173564;
}

.partner-spotlight {
  border-color: #c6d6ef;
  box-shadow: 0 10px 24px rgba(22, 58, 113, 0.08);
}

.partner-logo-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.partner-logo-card img {
  width: min(220px, 78%);
  height: auto;
}

.transparency-bridge {
  margin-top: 1.1rem;
  border-color: #c7d7ee;
  background: #fbfdff;
}

@media (max-width: 1100px) {
  .container {
    width: min(1160px, 94%);
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 4.8rem;
  }

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

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

@media (max-width: 1024px) {
  .hero-grid,
  .grid-two,
  .contact-form-layout,
  .programs-layout,
  .family-support-layout,
  .partnership-support-layout {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-image,
  .contact-hero-media {
    min-height: 300px;
  }

  .cards,
  .cards-three,
  .grid-three,
  .image-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats,
  .phase-list,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.5rem);
    background: #fff;
    border: 1px solid #d5e1f2;
    border-radius: 14px;
    box-shadow: 0 16px 30px rgba(17, 44, 86, 0.14);
    padding: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    margin-left: 0;
  }

  .nav-wrap.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-wrap.nav-open .nav-toggle-icon {
    background: transparent;
  }

  .nav-wrap.nav-open .nav-toggle-icon::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-wrap.nav-open .nav-toggle-icon::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .nav-links li,
  .nav-links a,
  .nav-language-item {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.55rem 0.65rem;
    border-radius: 9px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: #f2f6fd;
  }

  .nav-links a.is-active::after {
    display: none;
  }

  .nav-links .btn {
    text-align: center;
  }

  .nav-language-item {
    justify-content: space-between;
    padding: 0.45rem 0.6rem;
    flex-wrap: nowrap;
  }

  .nav-language-select {
    width: auto;
    min-width: 132px;
    max-width: 60%;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-sub {
    font-size: 0.67rem;
    max-width: 38ch;
  }

  .section {
    padding: 3.2rem 0;
  }

  .hero,
  .contact-hero,
  .about-hero,
  .programs-hero {
    padding-top: 3rem;
  }

  .cards,
  .cards-two,
  .cards-three,
  .grid-three,
  .footer-grid,
  .image-band,
  .phase-list,
  .contact-pathways,
  .contact-image-band {
    grid-template-columns: 1fr;
  }

  .contact-pathways .card,
  .cards .card,
  .grid-three .card {
    padding: 1rem;
  }

  .partner-logo-row img {
    width: min(210px, 80%);
  }
}

@media (max-width: 700px) {
  .container {
    width: min(1160px, 95%);
  }

  .hero h1 {
    font-size: clamp(1.72rem, 8vw, 2.2rem);
  }

  .section h2,
  .page-title {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
  }

  .hero-lead,
  .intro,
  p,
  li,
  label,
  input,
  select,
  textarea {
    font-size: 0.97rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn,
  .contact-form .btn {
    width: 100%;
    text-align: center;
  }

  .phase-list li,
  .educational-timeline li {
    min-height: 0;
  }

  .contact-form.card {
    padding: 1rem;
  }

  .site-footer {
    padding: 2.2rem 0;
  }
}

@media (max-width: 430px) {
  .brand {
    gap: 0.55rem;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand-sub {
    display: none;
  }

  .nav-language-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .nav-language-select {
    width: 100%;
    max-width: none;
  }

  .hero-highlight {
    grid-template-columns: 1fr;
  }

  .image-frame,
  .hero-image {
    aspect-ratio: 5 / 4;
  }
}

section[id] { scroll-margin-top: 95px; }

/* Contact page enhancements */
.contact-hero {
  padding-bottom: 3.5rem;
}

.contact-hero-grid {
  align-items: center;
}

.contact-hero-media {
  min-height: 440px;
}

.contact-pathways {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.contact-pathways .card {
  height: 100%;
}

.contact-form-layout {
  gap: 1.6rem;
  align-items: start;
}

.contact-form {
  max-width: 100%;
}

.contact-form.card {
  background: #fff;
  border: 1px solid #c8d8f2;
  box-shadow: 0 14px 28px rgba(27, 60, 114, 0.08);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  margin-top: 0.35rem;
  background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid #9db8e6;
  outline-offset: 1px;
  border-color: #7ea2da;
}

.form-helper,
.form-note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.form-hook {
  margin: 0 0 0.8rem;
  color: #2a3e5d;
  font-weight: 600;
}

.contact-info-stack {
  display: grid;
  gap: 1rem;
}

.contact-detail-card h3 {
  margin-bottom: 0.6rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.contact-details li {
  color: var(--ink-soft);
}

.contact-side-image {
  min-height: 300px;
}

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

.contact-image-band.contact-image-band-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
}

.local-partner-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  border-color: #c6d6ef;
  box-shadow: 0 12px 30px rgba(24, 56, 104, 0.08);
}

.partner-logo-row {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.partner-logo-row img {
  width: min(210px, 56%);
  height: auto;
  object-fit: contain;
}


/* About page enhancements */
.about-hero {
  padding-bottom: 3.6rem;
}

.about-hero-grid {
  align-items: center;
}

.about-approach-layout {
  align-items: stretch;
  gap: 1.6rem;
}

.about-approach-cards {
  margin-top: 1.1rem;
}

.stewardship-block {
  border: 1px solid #c7d7ef;
  box-shadow: 0 10px 26px rgba(24, 56, 104, 0.08);
}

.stewardship-grid {
  margin-top: 1rem;
}

.stewardship-grid ul {
  margin: 0;
  padding-left: 1rem;
}

/* Contact page refinements */
.partnership-support-layout {
  align-items: stretch;
  gap: 1.5rem;
}

.support-copy-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.support-copy-card p:last-child {
  margin-bottom: 0;
}

/* Mission-focused giving and Spain Hub sections */
.btn-gold {
  background: #C9A84C;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(201, 168, 76, 0.26);
}

.btn-gold:hover {
  background: #b89432;
}

.donate-hero {
  background:
    radial-gradient(circle at 16% 20%, rgba(201, 168, 76, 0.2), transparent 34%),
    linear-gradient(135deg, #10294f 0%, #1e437f 48%, #f7f9fd 48%, #ffffff 100%);
  color: #fff;
  padding: 6rem 0 5.5rem;
}

.donate-hero .eyebrow,
.donate-hero .hero-lead {
  color: #f6e9bd;
}

.donate-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1.08;
  margin: 0.4rem auto 1rem;
  max-width: 860px;
  text-wrap: balance;
}

.donate-hero .hero-lead {
  margin-left: auto;
  margin-right: auto;
}

.center-copy {
  text-align: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.center-cta {
  justify-content: center;
}

.stat-card {
  position: relative;
  min-height: 215px;
  border-top: 4px solid #C9A84C;
}

.stat-card h3 {
  color: var(--primary);
  font-size: 1.35rem;
}

.stat-card p {
  color: var(--ink-soft);
}

.stat-card .source,
.source {
  color: #7a5a08;
  font-weight: 800;
  font-size: 0.9rem;
}

.alert-dot {
  display: inline-block;
  margin-bottom: 0.3rem;
}

.donation-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
  min-height: 250px;
}

.featured-donation {
  border-color: #C9A84C;
  box-shadow: 0 16px 34px rgba(201, 168, 76, 0.2);
}

.gift-amount {
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.family-cards {
  margin-top: 1.3rem;
}

.family-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.family-card > :not(.family-photo-wrap) {
  margin-left: 1.2rem;
  margin-right: 1.2rem;
}

.family-card > p:last-child {
  margin-bottom: 1.25rem;
}

.family-photo-wrap {
  min-height: 260px;
  aspect-ratio: 16 / 10;
  background: #d9dee8;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.family-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.family-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #6a7485;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #e0e4ec, #cfd6e3);
}

.navy-section {
  background: #10294f;
  color: #fff;
}

.navy-section p {
  color: #eef4ff;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.5;
  margin: 0;
  text-wrap: balance;
}

.gold-border-card {
  border: 2px solid #C9A84C;
  box-shadow: 0 18px 38px rgba(201, 168, 76, 0.16);
}

.cards-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hub-stat {
  margin-top: 1rem;
  font-weight: 800;
  color: #173564;
}

.life-skill-cards h3 span {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .cards-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donate-hero {
    background: linear-gradient(180deg, #10294f 0%, #1e437f 100%);
  }
}

@media (max-width: 900px) {
  .cards-four {
    grid-template-columns: 1fr;
  }

  .donate-hero {
    padding: 4.2rem 0;
  }
}
