:root {
  --navy: #101f2c;
  --ink: #243440;
  --teal: #176b67;
  --teal-dark: #0f504d;
  --cream: #faf7f0;
  --gold: #d6b574;
  --gold-soft: #f2e6cc;
  --white: #fff;
  --line: #e4e2da;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Source Sans 3", Arial, Helvetica, sans-serif;
}

/* Bilingual content: only the active language is visible */
html[lang="es"] [data-l="en"],
html[lang="en"] [data-l="es"] { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; color: var(--ink); line-height: 1.65; background: var(--cream); }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(42px, 7vw, 80px); max-width: 860px; margin: 16px 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4vw, 48px); margin: 12px 0 18px; }
h3 { font-size: 24px; margin: 0 0 12px; }
h4 { font-size: 20px; margin: 10px 0 6px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 10px; }

.wrap { max-width: 1120px; margin: auto; }
.wrap.narrow { max-width: 820px; }
.eyebrow { letter-spacing: 3px; text-transform: uppercase; font-size: 12px; font-weight: 700; color: var(--teal); }
.lead { font-size: 20px; max-width: 720px; }
.muted { color: #5b6a72; }
.tiny { font-size: 13px; color: #6b7880; }

/* Header */
.site-header { background: rgba(16, 31, 44, .97); color: #fff; position: sticky; top: 0; z-index: 20; backdrop-filter: blur(6px); }
.nav { max-width: 1160px; margin: auto; padding: 14px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.1; text-decoration: none; display: inline-block; }
.brand small { display: block; font: 600 10px var(--sans); letter-spacing: 3px; margin-top: 5px; color: #e5d6b8; }
nav { display: flex; gap: 20px; align-items: center; font-size: 14px; font-weight: 600; }
nav a { text-decoration: none; opacity: .9; }
nav a:hover { opacity: 1; color: var(--gold); }
.nav-give { background: var(--gold); color: var(--navy) !important; padding: 7px 14px; border-radius: 4px; opacity: 1 !important; }
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; overflow: hidden; }
.lang-switch button { background: transparent; color: #fff; border: 0; padding: 6px 11px; font: 700 12px var(--sans); letter-spacing: 1px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.menu-toggle { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 4px; padding: 7px 12px; font: 600 14px var(--sans); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; border-radius: 4px; background: var(--gold); color: var(--navy); padding: 13px 22px; font-weight: 700; margin: 12px 12px 0 0; border: 0; font-family: var(--sans); font-size: 16px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.btn.outline { border: 1px solid #fff; background: transparent; color: #fff; }
.btn.dark { background: var(--teal); color: #fff; }
.btn.dark:hover { background: var(--teal-dark); }
.btn.full { width: 100%; margin-right: 0; }

/* Hero */
.hero { position: relative; color: #fff; padding: 130px 22px 140px; overflow: hidden; background: var(--navy); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(16,31,44,.94) 0%, rgba(16,31,44,.75) 45%, rgba(18,75,75,.25) 100%); }
.hero-content { position: relative; z-index: 1; }
.hero .eyebrow { color: #e4c98f; }

/* Sections */
section { padding: 88px 22px; }
.intro { background: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.quote { margin: 0; background: var(--navy); color: #fff; padding: 40px; font-family: var(--serif); font-size: 27px; line-height: 1.35; border-left: 5px solid var(--gold); }
.quote p { margin: 0; }
.quote cite { display: block; font: normal 600 14px var(--sans); margin-top: 20px; color: #e4c98f; letter-spacing: 1px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.card { background: #fff; border: 1px solid var(--line); padding: 28px; border-radius: 8px; box-shadow: 0 5px 20px #1425340a; display: flex; flex-direction: column; }
.cards .card p { flex: 1; }
.card-accent { background: var(--navy); color: #fff; border-color: var(--navy); }
.card-accent .num { color: var(--gold); }
.card-link { font-weight: 700; color: var(--teal); text-decoration: none; }
.card-accent .card-link { color: var(--gold); }
.card-link:hover { text-decoration: underline; }
.num { color: var(--teal); font-size: 12px; letter-spacing: 2px; font-weight: 700; margin-bottom: 8px; }

.tint { background: #eaf0ec; }
.dark { background: var(--navy); color: #fff; }
.dark .eyebrow { color: var(--gold); }
.dark p { color: #dce6e7; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { border-top: 2px solid var(--gold); padding-top: 18px; margin-top: 14px; }
.notice { border-left: 4px solid var(--teal); padding: 16px 22px; background: #fff; margin-top: 24px; }
.notice.small { font-size: 14px; background: var(--cream); }

.facts { margin: 0 0 16px; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }

/* Give */
.give { background: linear-gradient(180deg, #eaf0ec 0%, var(--cream) 100%); }
.give-photo { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 40px rgba(16,31,44,.18); aspect-ratio: 16 / 10; }
.give-photo img { width: 100%; height: 100%; object-fit: cover; }
.sub { margin-top: 56px; }
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.way { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.way p { margin: 0; font-size: 15px; }
.way-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--teal); display: grid; place-items: center; font-size: 18px; }
.pledge { margin-top: 44px; align-items: start; }
.pledge-form label, .pledge-form legend { display: block; font-weight: 700; font-size: 14px; margin: 16px 0 6px; }
.pledge-form fieldset { border: 0; padding: 0; margin: 0; }
.pledge-form select, .pledge-form input[type="text"], .pledge-form input[type="number"] { width: 100%; padding: 11px 12px; border: 1px solid #cfd6d3; border-radius: 5px; font: 16px var(--sans); background: #fff; color: var(--ink); }
.pledge-form input[type="number"] { margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pledge-form .chip { margin: 0; font-size: 15px; font-weight: 600; position: relative; cursor: pointer; padding: 8px 15px; border: 1px solid #cfd6d3; border-radius: 999px; background: #fff; transition: all .15s; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.summary { margin: 20px 0 4px; padding: 14px 16px; background: var(--gold-soft); border-radius: 6px; font-weight: 600; color: var(--navy); }
.checks { list-style: none; padding: 0; margin: 0 0 18px; }
.checks li { padding-left: 30px; position: relative; margin: 10px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700; }
.commitment a { color: var(--teal); font-weight: 700; word-break: break-all; }

details { background: #fff; border: 1px solid #dfe6e3; margin: 12px 0; padding: 18px 22px; border-radius: 6px; }
summary { cursor: pointer; font-weight: 700; }

footer { background: #0a1720; color: #e9f0ee; padding: 44px 22px; font-size: 15px; }
footer a { color: #e9f0ee; }
footer .tiny { color: #9fb0b3; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .ways { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav { flex-wrap: wrap; }
  nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 14px; padding: 10px 0 6px; }
  nav.open { display: flex; }
}
@media (max-width: 780px) {
  .split, .cards, .steps, .ways { grid-template-columns: 1fr; }
  .hero { padding: 90px 22px 100px; }
  section { padding: 62px 20px; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
}
