:root {
  --ink: #2e2926;
  --muted: #665e59;
  --plum: #59445f;
  --plum-dark: #44334a;
  --gold: #b88b28;
  --gold-dark: #8b661b;
  --cream: #f7f2e9;
  --paper: #fffdf9;
  --line: #ded5c8;
  --success: #21643e;
  --danger: #9d2f2f;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(46, 41, 38, 0.11);
  --max: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; }

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  fill: currentColor;
}

.text-link-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

a { color: inherit; }

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

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

:focus-visible {
  outline: 3px solid #1b6fc2;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: #fff;
  background: var(--plum-dark);
  border-radius: 8px;
}

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 5.2vw, 4.45rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.03em;
}

h3 { font-size: 1.3rem; }

p { margin-top: 0; }

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.section {
  padding: clamp(72px, 9vw, 124px) 0;
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: #fff;
  background: var(--gold-dark);
}

.button-primary:hover { background: #715116; }

.button-secondary {
  color: var(--plum-dark);
  background: transparent;
  border-color: rgba(68, 51, 74, 0.45);
}

.button-secondary:hover { background: rgba(68, 51, 74, 0.07); }

.button-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.button-light:hover { background: rgba(255, 255, 255, 0.1); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.97);
  border-bottom: 1px solid rgba(222, 213, 200, 0.8);
}

.nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

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

.brand img {
  display: block;
  width: 86px;
  height: 62px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.nav-links a:not(.nav-button):hover { color: var(--gold-dark); }

.nav-button {
  padding: 10px 17px;
  color: #fff;
  background: var(--plum);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--plum-dark);
}

.hero-grid {
  display: grid;
  min-height: min(760px, calc(100vh - 82px));
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
}

.hero-copy {
  display: flex;
  padding: clamp(64px, 8vw, 116px) clamp(32px, 6vw, 88px) clamp(64px, 8vw, 100px) max(24px, calc((100vw - var(--max)) / 2));
  flex-direction: column;
  justify-content: center;
}

.hero .eyebrow { color: #e7ca86; }
.hero h1 { color: #fff; }

.hero .lede {
  max-width: 610px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-image {
  min-height: 520px;
  background: #342c2a;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-details {
  display: flex;
  margin: 30px 0 0;
  padding: 22px 0 0;
  flex-wrap: wrap;
  gap: 12px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-details div { min-width: 150px; }

.hero-details dt {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-details dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.hero-details a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.facts {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.fact:first-child { border-left: 1px solid var(--line); }

.fact strong {
  display: block;
  margin-bottom: 3px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.08rem;
}

.fact span { color: var(--muted); font-size: 0.92rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(42px, 8vw, 100px);
  align-items: center;
}

.photo-stack {
  position: relative;
  min-height: 570px;
}

.photo-stack img {
  position: absolute;
  display: block;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-stack img:first-child {
  top: 0;
  left: 0;
  width: 78%;
  height: 76%;
}

.photo-stack img:last-child {
  right: 0;
  bottom: 0;
  width: 58%;
  height: 52%;
  border: 8px solid var(--paper);
}

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

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 0.14em;
  left: 0;
  color: var(--gold-dark);
  content: "✓";
  font-weight: 900;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 225px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-number {
  display: block;
  margin-bottom: 32px;
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-card h3 { margin-bottom: 10px; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: 0.96rem; }

.gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  grid-template-rows: repeat(2, 280px);
  gap: 12px;
}

.gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #ddd;
  border-radius: 14px;
}

.gallery figure:first-child { grid-row: span 2; }

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

.gallery figure:hover img { transform: scale(1.025); }

.gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 35px 16px 13px;
  color: #fff;
  background: linear-gradient(transparent, rgba(25, 20, 18, 0.72));
  font-size: 0.85rem;
}

.nutrition-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(42px, 8vw, 100px);
  align-items: center;
}

.nutrition-image img {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.meal-list {
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.meal-list li {
  display: grid;
  padding: 15px 0;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.meal-list strong { color: var(--plum-dark); }
.meal-list span { color: var(--muted); }

.visit-banner {
  color: #fff;
  background: var(--plum-dark);
}

.visit-grid {
  display: grid;
  padding: clamp(52px, 7vw, 82px) 0;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.visit-banner h2 { margin-bottom: 12px; color: #fff; }
.visit-banner p { max-width: 650px; margin: 0; color: rgba(255, 255, 255, 0.78); }

.jobs-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(42px, 8vw, 100px);
  align-items: center;
}

.jobs-grid img {
  display: block;
  width: 100%;
  max-height: 610px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--radius);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(42px, 7vw, 84px);
  align-items: start;
}

.contact-list {
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.contact-list li,
.contact-list a {
  display: block;
  text-decoration: none;
}

.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-value { font-weight: 700; }
.contact-list a:hover .contact-value { color: var(--gold-dark); }

.map-frame {
  width: 100%;
  height: 280px;
  margin-top: 24px;
  border: 0;
  border-radius: 14px;
}

.form-card {
  padding: clamp(26px, 5vw, 46px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-card h3 { margin-bottom: 8px; font-size: 1.7rem; }
.form-card > p { color: var(--muted); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }

.field label {
  font-size: 0.86rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bfb4a5;
  border-radius: 9px;
}

.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--plum); outline: 2px solid rgba(89, 68, 95, 0.22); }

.form-actions { margin-top: 20px; }

.form-status {
  min-height: 1.6em;
  margin: 12px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.site-footer {
  padding: 64px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  background: #2d2527;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1fr;
  gap: 56px;
}

.footer-brand img {
  width: 112px;
  height: 86px;
  padding: 7px;
  object-fit: contain;
  background: var(--paper);
  border-radius: 10px;
}

.footer-brand p { max-width: 460px; margin: 18px 0 0; }

.footer-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  display: flex;
  margin-top: 48px;
  padding-top: 22px;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.78rem;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.72); }

.mobile-actions { display: none; }

/* Donations */
.donation-hero {
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--cream);
}

.donation-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(38px, 7vw, 88px);
  align-items: center;
}

.donation-hero h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.donation-hero img {
  display: block;
  width: 100%;
  height: clamp(380px, 52vw, 620px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-line {
  display: flex;
  margin-top: 26px;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.impact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.impact-card h3 { margin-bottom: 9px; }
.impact-card p { margin-bottom: 0; color: var(--muted); }

.donate-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(36px, 7vw, 82px);
  align-items: start;
}

.steps { margin: 0; padding: 0; list-style: none; counter-reset: donation-step; }

.steps li {
  position: relative;
  padding: 0 0 30px 64px;
  counter-increment: donation-step;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--plum);
  border-radius: 50%;
  content: counter(donation-step);
  font-weight: 900;
}

.steps li:not(:last-child)::after {
  position: absolute;
  top: 46px;
  bottom: 4px;
  left: 20px;
  width: 1px;
  content: "";
  background: var(--line);
}

.steps strong { display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); }

.donation-card {
  position: sticky;
  top: 108px;
  padding: clamp(24px, 4vw, 38px);
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.donation-card h2 { font-size: 2rem; }

.qr {
  display: block;
  width: min(100%, 260px);
  height: auto;
  margin: 18px auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.path {
  margin: 16px 0 12px;
  padding: 13px;
  color: var(--plum-dark);
  background: var(--cream);
  border-radius: 9px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.copy-button {
  width: 100%;
  min-height: 46px;
  color: var(--plum-dark);
  background: transparent;
  border: 1px solid var(--plum);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.copy-button:hover { background: rgba(89, 68, 95, 0.07); }

.small-note { margin: 14px 0 0; color: var(--muted); font-size: 0.85rem; }

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-row .button { min-width: 140px; }

.legal-note {
  padding: 20px 22px;
  color: var(--muted);
  background: var(--cream);
  border-left: 4px solid var(--gold-dark);
  font-size: 0.9rem;
}

@media (max-width: 1020px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.78rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-right: max(24px, calc((100vw - var(--max)) / 2)); }
  .hero-image { min-height: 480px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1.2fr 0.8fr; }
  .gallery figure:nth-child(n+4) { display: none; }
  .footer-grid { grid-template-columns: 1.3fr 0.7fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  body { padding-bottom: 66px; font-size: 16px; }
  .container { width: min(calc(100% - 32px), var(--max)); }
  .site-header { position: sticky; }
  .nav { min-height: 72px; }
  .brand img { width: 78px; height: 54px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 28px 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    background: var(--paper);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 13px 6px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-button { margin-top: 10px; text-align: center; }
  .hero-grid { min-height: auto; }
  .hero-copy { padding: 60px 20px 54px; }
  .hero-image { min-height: 360px; }
  .hero-details { gap: 16px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact,
  .fact:first-child { border-right: 1px solid var(--line); border-left: 1px solid var(--line); }
  .fact + .fact { border-top: 1px solid var(--line); }
  .split,
  .nutrition-grid,
  .jobs-grid,
  .contact-grid,
  .donation-hero-grid,
  .donate-layout { grid-template-columns: 1fr; }
  .photo-stack { min-height: 490px; }
  .service-grid,
  .impact-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-number { margin-bottom: 18px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 390px 250px 250px; }
  .gallery figure:first-child { grid-row: auto; }
  .meal-list li { grid-template-columns: 96px 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .donation-card { position: static; }
  .mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1200;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-top: 1px solid var(--line);
  }
  .mobile-actions a {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 900;
    text-decoration: none;
  }
  .mobile-actions .icon { width: 20px; height: 20px; margin-right: 8px; }
  .mobile-actions a:first-child { background: var(--plum-dark); }
  .mobile-actions a:last-child { background: #167a3e; }
}

@media (max-width: 480px) {
  .check-list { grid-template-columns: 1fr; }
  .photo-stack { min-height: 410px; }
  .photo-stack img:first-child { width: 88%; height: 74%; }
  .photo-stack img:last-child { width: 62%; height: 49%; }
  .gallery { grid-template-rows: 330px 220px 220px; }
  .button-row .button { width: 100%; }
  .hero-details div { min-width: 135px; }
  .share-row .button { min-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/* Warm, family-centered visual direction */
:root {
  --ink: #342f2c;
  --muted: #6b625d;
  --plum: #70566f;
  --plum-dark: #543f55;
  --gold: #c79a43;
  --gold-dark: #8a641f;
  --cream: #fbf4e9;
  --paper: #fffdf9;
  --surface-warm: #fbf4e9;
  --surface-plum: #f6f1f5;
  --surface-gold: #fcf7ec;
  --line: #e8ddd0;
  --radius: 24px;
  --shadow: 0 18px 48px rgba(70, 54, 50, 0.1);
}

body { background: var(--paper); }

h1 {
  max-width: 660px;
  color: var(--plum-dark);
  font-size: clamp(2.6rem, 4.8vw, 4.25rem);
  letter-spacing: -0.035em;
}

h2 {
  color: var(--plum-dark);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.eyebrow { color: var(--gold-dark); }

.site-header { box-shadow: 0 5px 24px rgba(64, 50, 45, 0.04); }
.nav-button { background: var(--plum); }

.nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--plum-dark);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.theme-toggle span {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.theme-toggle span::after {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--paper);
  border-radius: 50%;
}

.theme-toggle:hover { background: var(--cream); }

.hero {
  color: var(--ink);
  background: linear-gradient(135deg, #fbf4e9 0%, #fffaf3 58%, #f4e6d8 100%);
}

.hero-grid {
  width: min(calc(100% - 40px), var(--max));
  min-height: 680px;
  margin-inline: auto;
  padding: 58px 0 76px;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: clamp(42px, 6vw, 78px);
  align-items: center;
}

.hero-copy { padding: 24px 0; }
.hero .eyebrow { color: var(--gold-dark); }
.hero h1 { color: var(--plum-dark); }
.hero .lede { color: var(--muted); }
.hero .button-light { color: var(--plum-dark); border-color: rgba(84, 63, 85, 0.42); }
.hero .button-light:hover { background: rgba(84, 63, 85, 0.07); }

.hero-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #ded4c9;
  border: 8px solid rgba(255, 255, 255, 0.7);
  border-radius: 36px 36px 110px 36px;
  box-shadow: var(--shadow);
}

.hero-image img {
  position: absolute;
  inset: 0;
}

.hero-details { border-top-color: var(--line); }
.hero-details dt { color: var(--muted); }
.hero-details dd { color: var(--ink); }

.facts {
  position: relative;
  z-index: 2;
  margin-top: -38px;
  background: transparent;
  border: 0;
}

.facts-grid { gap: 12px; }
.fact,
.fact:first-child {
  display: flex;
  padding: 25px;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(70, 54, 50, 0.07);
}

.fact-icon {
  width: 42px;
  height: 42px;
  padding: 9px;
  flex: 0 0 42px;
  color: var(--plum-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: var(--surface-gold);
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  border-radius: 14px;
}

.fact strong { color: var(--plum-dark); }

.section { padding: clamp(68px, 8vw, 108px) 0; }
.section-soft { background: var(--surface-warm); }

/* Gentle color changes help families scan each part without making the page busy. */
#nosotros {
  background: linear-gradient(180deg, var(--paper) 0%, var(--surface-gold) 100%);
}

#servicios {
  background: linear-gradient(135deg, var(--surface-plum) 0%, var(--surface-warm) 100%);
}

#galeria { background: var(--paper); }

#nutricion {
  background: linear-gradient(135deg, var(--surface-gold) 0%, var(--surface-warm) 100%);
}

#empleos { background: var(--surface-plum); }

#contacto {
  background: linear-gradient(145deg, var(--surface-warm) 0%, var(--surface-plum) 100%);
}

#impacto { background: var(--surface-gold); }
#donar { background: linear-gradient(135deg, var(--surface-plum), var(--surface-warm)); }
#compartir { background: var(--paper); }

#nosotros,
#servicios,
#galeria,
#nutricion,
#empleos,
#contacto,
#impacto,
#donar,
#compartir {
  border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
}

.photo-stack img { border-radius: 30px; }
.photo-stack img:last-child { border-width: 7px; border-color: var(--paper); }

.service-grid { gap: 18px; }
.service-card {
  min-height: 210px;
  background: #fff;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(70, 54, 50, 0.07);
}

.service-number {
  width: 38px;
  height: 4px;
  margin-bottom: 26px;
  overflow: hidden;
  color: transparent;
  background: var(--gold);
  border-radius: 99px;
}

.service-card h3 { color: var(--plum-dark); }
.gallery figure { border-radius: 22px; }
.nutrition-image img,
.jobs-grid img { border-radius: 30px; }

.visit-banner { background: linear-gradient(135deg, #634b63, #49364b); }

.form-card {
  border: 0;
  border-radius: 28px;
  box-shadow: 0 16px 44px rgba(70, 54, 50, 0.09);
}

.donation-hero { background: linear-gradient(135deg, #fbf4e9, #fffaf3); }
.donation-hero img { border: 8px solid rgba(255, 255, 255, 0.75); border-radius: 36px 36px 100px 36px; }
.impact-card { background: #fff; border: 0; box-shadow: 0 10px 28px rgba(70, 54, 50, 0.07); }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; padding: 20px 0 0; }
  .hero-image { min-height: 500px; }
}

@media (max-width: 780px) {
  .hero-grid {
    width: min(calc(100% - 32px), var(--max));
    padding: 34px 0 58px;
    gap: 28px;
  }
  .hero-copy { padding: 12px 0 0; }
  .hero-image { min-height: 330px; border-width: 5px; border-radius: 26px 26px 70px 26px; }
  .facts { margin-top: -30px; }
  .facts-grid { gap: 9px; }
  .fact,
  .fact:first-child { border: 1px solid var(--line); }
  .donation-hero img { border-width: 5px; border-radius: 26px 26px 70px 26px; }
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f3ece5;
  --muted: #c8bdb5;
  --plum: #b89dba;
  --plum-dark: #f0dff0;
  --gold: #deb764;
  --gold-dark: #f0cd7f;
  --cream: #30282d;
  --paper: #211c20;
  --surface-warm: #2a2327;
  --surface-plum: #30262f;
  --surface-gold: #2f2923;
  --line: #50444a;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] body { background: var(--paper); }
html[data-theme="dark"] .site-header { background: rgba(33, 28, 32, 0.97); border-bottom-color: var(--line); }
html[data-theme="dark"] .nav-links.open { background: var(--paper); }
html[data-theme="dark"] .nav-button { color: #211c20; background: #d6b8d8; }
html[data-theme="dark"] .theme-toggle span {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: none;
  transform: none;
}
html[data-theme="dark"] .theme-toggle span::before,
html[data-theme="dark"] .theme-toggle span::after {
  display: none;
}
html[data-theme="dark"] .hero,
html[data-theme="dark"] .donation-hero { background: linear-gradient(135deg, #2c242a, #211c20 62%, #382d32); }
html[data-theme="dark"] .hero-image,
html[data-theme="dark"] .donation-hero img { border-color: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .facts { background: transparent; }
html[data-theme="dark"] .fact,
html[data-theme="dark"] .fact:first-child,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .impact-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .donation-card { background: #2c2529; border-color: var(--line); }
html[data-theme="dark"] .section-soft { background: var(--surface-warm); }
html[data-theme="dark"] .photo-stack img:last-child { border-color: var(--paper); }
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea { color: var(--ink); background: #211c20; border-color: #64555d; }
html[data-theme="dark"] .legal-note,
html[data-theme="dark"] .path { background: #342c31; }
html[data-theme="dark"] .button-secondary { color: var(--ink); border-color: #8e7987; }
html[data-theme="dark"] .hero .button-light { color: var(--ink); border-color: #8e7987; }
html[data-theme="dark"] .button-primary { color: #211c20; }
html[data-theme="dark"] .mobile-actions { background: #211c20; border-top-color: var(--line); }
html[data-theme="dark"] .mobile-actions a:first-child { color: #fff; background: #4a394b; }
