/* ==========================================================================
   Rayito de Esperanza — shared stylesheet
   Single source of truth for the whole public site.
   Taken verbatim from the reviewed index.html so every page matches it.
   Do NOT re-inline these rules into a page; edit here.
   ========================================================================== */

:root{--navy:#1A3F6B;--gold:#F5B825;--gold-d:#E5A020;--cream:#F5E6D3;--sand:#E8D5B8;--ink:#22252b;--mut:#5f6470}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:"Segoe UI",system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--cream);line-height:1.65;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
.wrap{max-width:1080px;margin:0 auto;padding:0 22px}

/* ---------- header / nav ---------- */
header{background:var(--navy);position:sticky;top:0;z-index:20}
.nav{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:6px 0;flex-wrap:wrap}
.nav img{height:32px;width:auto;border-radius:4px;background:#fff;padding:3px}
.nav nav{display:flex;gap:20px;flex-wrap:wrap;font-size:14.5px;color:var(--sand)}
.nav nav a{text-decoration:none;color:inherit}
.nav nav a:hover{color:#fff}
.nav nav a.here{color:#fff;font-weight:600}
.right{display:flex;align-items:center;gap:12px}

/* ---------- language switcher ---------- */
.lang{display:flex;border:1px solid rgba(232,213,184,.45);border-radius:6px;overflow:hidden}
.lang button{background:transparent;border:0;color:var(--sand);font:inherit;font-size:13px;padding:6px 11px;cursor:pointer}
.lang button+button{border-left:1px solid rgba(232,213,184,.35)}
.lang button.on{background:var(--sand);color:var(--navy);font-weight:600}

/* ---------- buttons ---------- */
.btn{display:inline-block;background:var(--gold);color:#3a2600;font-weight:600;font-size:14.5px;padding:9px 20px;border-radius:6px;text-decoration:none;border:none;cursor:pointer;font-family:inherit}
.btn:hover{background:var(--gold-d)}
.btn-o{background:transparent;color:var(--navy);border:2px solid var(--navy)}
.btn-o:hover{background:var(--navy);color:#fff}
/* Disabled state — used for outbound links that have no real destination yet.
   Visibly inert so nobody clicks through to a placeholder. */
.btn.disabled,.btn-o.disabled{background:#d8ccb8;color:#7c7264;border-color:#c4b7a1;cursor:not-allowed;pointer-events:none}

/* ---------- hero ---------- */
.hero{position:relative;min-height:460px;display:flex;align-items:flex-end}
.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.scrim{position:absolute;inset:0;background:linear-gradient(0deg,rgba(20,45,78,.92) 8%,rgba(20,45,78,.55) 45%,rgba(20,45,78,.18) 100%)}
.hero .c{position:relative;padding:44px 0 40px;color:#fff}
.hero h1{font-size:clamp(30px,5vw,50px);line-height:1.12;font-weight:600;max-width:16ch;margin-bottom:14px}
.hero p{font-size:clamp(16px,2vw,19px);color:var(--sand);max-width:54ch;margin-bottom:22px}
/* shorter hero for interior pages */
.hero.sm{min-height:300px}
.hero.sm .c{padding:30px 0 26px}
.hero.sm h1{font-size:clamp(24px,4vw,36px);line-height:1.2;max-width:20ch;margin-bottom:10px}

/* ---------- stat strip ---------- */
.strip{background:var(--gold);color:#3a2600}
.strip .wrap{display:flex;flex-wrap:wrap;gap:10px 34px;padding:14px 22px;align-items:baseline}
.strip b{font-size:22px;font-weight:700}
.strip span{font-size:14px}

/* ---------- sections / type ---------- */
section{padding:56px 0}
h2{font-size:clamp(23px,3vw,30px);color:var(--navy);font-weight:600;margin-bottom:14px}
h3{font-weight:600}
.lead{font-size:17.5px;max-width:62ch;margin-bottom:16px}
.pill{display:inline-block;background:var(--sand);color:#5a4318;font-size:13px;letter-spacing:.06em;text-transform:uppercase;padding:5px 13px;border-radius:99px;margin-bottom:14px}
.small{font-size:13px;color:var(--mut);margin-top:12px}

/* ---------- two-column ---------- */
.two{display:grid;grid-template-columns:1.05fr .95fr;gap:38px;align-items:center}
.two img{border-radius:10px;width:100%;height:340px;object-fit:cover}
.two.top{align-items:start}
.two.even{grid-template-columns:1fr 1fr}

/* ---------- cards ---------- */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;margin-top:30px}
.cards.wide{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.card{background:#fff;border-radius:12px;overflow:hidden;border:1px solid #e2d6c2}
.card img{width:100%;height:190px;object-fit:cover}
.card .b{padding:18px 20px}
.card h3{font-size:18px;color:var(--navy);margin-bottom:6px}
.card p{font-size:15px;color:var(--mut)}
/* padded variant for text-only cards (clinics, roles) */
.card.pad{padding:20px}
.card.pad h3{font-size:18px;margin-bottom:10px}
.card.pad p{margin-bottom:8px}
.card.pad p:last-child{margin-bottom:0}

/* ---------- donate ---------- */
.donate{background:var(--navy);color:#fff}
.donate h2{color:#fff}
.donate .lead{color:var(--sand)}
.amts{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 20px}
.amt{border:2px solid rgba(245,184,37,.6);color:var(--gold);background:transparent;border-radius:8px;padding:14px 22px;font-size:16px;font-weight:600;cursor:pointer;font-family:inherit;text-align:left}
.amt:hover,.amt.on{background:var(--gold);color:#3a2600;border-color:var(--gold)}
.note{font-size:13.5px;color:#9fb4cf;max-width:62ch;margin-top:16px}
/* white panel sitting on the navy donate background */
.panel{background:#fff;border-radius:12px;padding:24px;margin-top:26px}
.panel h3{color:var(--navy);font-size:19px;margin-bottom:7px}
.panel p{color:var(--mut);margin-bottom:16px}

/* ---------- access doors ---------- */
.doors{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:26px}
.door{background:#fff;border:1px solid #e2d6c2;border-radius:12px;padding:24px}
.door.p{border:2px solid var(--navy)}
.door h3{font-size:19px;color:var(--navy);margin-bottom:7px}
.door p{font-size:15px;color:var(--mut);margin-bottom:16px}

/* ---------- contact list ---------- */
.contact{list-style:none;padding-left:0}
.contact li{margin-bottom:12px}
.contact li:last-child{margin-bottom:0}

/* ---------- stat blocks (impact page) ---------- */
.statgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:22px;margin-top:30px}
.statbox{background:#fff;border:1px solid #e2d6c2;border-radius:12px;padding:26px 22px;text-align:center}
.statbox b{display:block;font-size:40px;line-height:1.1;color:var(--navy);font-weight:700}
.statbox span{display:block;font-size:15px;color:var(--mut);margin-top:6px}

/* ---------- empty / pending state ---------- */
.empty{text-align:center;padding:40px 22px;color:var(--mut);background:#fff;border:1px dashed #d5c7ae;border-radius:12px;margin-top:30px}

/* ---------- footer ---------- */
footer{background:var(--navy);color:var(--sand);font-size:14px;padding:30px 0}
.fl{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px}

/* ---------- responsive ---------- */
@media(max-width:760px){
  .two,.two.even,.doors{grid-template-columns:1fr}
  .two img{height:250px}
  .wrap{padding:0 16px}
}

/* ---------- review-only notices ----------
   Hidden by default. i18n.js adds body.is-review when the site is being served
   from localhost / a private LAN address, so these banners appear during
   internal review and disappear automatically in production. */
.review-only{display:none}
body.is-review .review-only{display:block}
.rbanner{background:#fff4d6;border:1px solid #e5c46a;border-left:5px solid var(--gold-d);
  border-radius:8px;padding:14px 18px;margin:0 0 26px;font-size:14.5px;color:#5a4318}
.rbanner b{display:block;font-size:13px;letter-spacing:.05em;text-transform:uppercase;margin-bottom:4px;color:#8a5a00}
