/* Shared responsive and accessible presentation. Loaded once by the header. */
:root { --bg:var(--section-bg); --bg-alt:var(--section-alt); --card-bg:#193528; --text:#f3f7f4; --text-muted:#c5d7cc; --primary:#86cca6; --primary-light:#b7e4c7; }
html { scroll-behavior:smooth; scroll-padding-top:110px; }
body { line-height:1.65; }
main { min-height:60vh; }
img, video, iframe { max-width:100%; }
img { height:auto; }
button, input, select, textarea { font:inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color:transparent; }
button, .btn, .btn-aporte { min-height:44px; }
a, button { touch-action:manipulation; }
:focus-visible { outline:3px solid #b7e4c7; outline-offset:5px; }
footer :focus-visible { outline-color:#1a3a2a; }
input, textarea, select { max-width:100%; min-width:0; }
input::placeholder, textarea::placeholder { opacity:1; }
input:invalid:not(:placeholder-shown) { border-color:#fb9d9d; }
.skip-link { position:fixed; left:16px; top:-100px; z-index:20000; background:#b7e4c7; color:#112218; padding:12px 20px; border-radius:8px; }
.skip-link:focus { top:12px; }
nav#navbar { padding:12px clamp(20px,4vw,56px); min-height:88px; }
#navbar .logo img, #navbar.scrolled .logo img { height:64px; max-width:190px; }
#navbar .nav-links { gap:clamp(14px,2vw,28px); }
#navbar .nav-links a { letter-spacing:.04em; }
#navbar .menu-toggle { z-index:1002; width:44px; height:44px; justify-content:center; align-items:center; }
.btn-donate { background:#b7e4c7; color:#143322; }
.btn-donate:hover { box-shadow:0 8px 24px #52b78833; }
.stitle, .page-hero h1 { text-wrap:balance; line-height:1.16; }
.stext, .page-hero p { color:#c7d4cb; }
.page-hero { padding-top:160px; }
.reveal, .rv, .rv-l, .rv-r, .rv-s, .section-reveal, .section-reveal-left, .section-reveal-right { opacity:1 !important; transform:none !important; }
.breadcrumb a { color:#b7c9bd; }
.breadcrumb span { color:#b7c9bd; }
.ft-wrap > *, .contact-form-wrap > *, .blog-layout > * { min-width:0; }
footer .ft-col ul li { color:#234a33; }
.ft-newsletter { padding:20px; }
.ft-newsletter form { flex-direction:column; }
.ft-newsletter input { width:100%; min-width:0; }
.ft-newsletter .msg.error { color:#8f1c1c; }
.modal-content { max-height:calc(100dvh - 40px); overflow-y:auto; padding:40px 28px; }
.modal-content p { color:#d1dfd5; }
.btn-aporte { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; background:#b7e4c7; }
.post-content { overflow-wrap:anywhere; }
.post-content table { display:block; max-width:100%; overflow-x:auto; border-collapse:collapse; }
.post-content th, .post-content td { padding:12px; border:1px solid #47664f; text-align:left; }
.post-content h2, .post-content h3 { scroll-margin-top:110px; }
.t-dot { border:0; min-height:24px; min-width:24px; }
.form-message { overflow-wrap:anywhere; }
.faq-answer:not([aria-hidden]) { max-height:none; }
.form-group input, .form-group textarea, .form-group select { font-size:16px; }
.preloader, #heroSpacer, #particles, #scrollHint, #scrollProgress { display:none !important; }
#videoBg { position:absolute !important; top:0; height:760px; height:min(900px,100svh); min-height:650px; opacity:1 !important; pointer-events:none; background:#173625; }
#videoBg video { width:100%; height:100%; object-fit:cover; }
#videoBg .overlay { background:linear-gradient(180deg,#091e15a6,#112218b3 70%,#112218) !important; }
#heroTextLayer { position:relative !important; inset:auto !important; min-height:650px; height:min(900px,100svh); z-index:10; opacity:1 !important; display:flex; align-items:center; justify-content:center; padding:150px 24px 90px; }
#heroTextLayer .hero-scene { display:none; }
#heroTextLayer .hero-scene:first-child { display:block !important; position:relative !important; inset:auto !important; opacity:1 !important; transform:none !important; max-width:900px; width:100%; text-align:center; }
#heroTextLayer h1 { font-size:clamp(2.6rem,5.6vw,5rem); text-wrap:balance; line-height:1.1; }
#heroTextLayer p { max-width:610px; margin:24px auto 32px; color:#e0e9e3; font-size:clamp(1rem,1.6vw,1.2rem); }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; pointer-events:auto; }
.hero-actions .btn { min-width:210px; }
.gal-info { opacity:1 !important; transform:none !important; background:linear-gradient(transparent,#071b12e8); }
.contact-info-grid { grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); }
@media (max-width:1000px) {
 #navbar .menu-toggle { display:flex; }
 #navbar .nav-links { position:fixed; inset:88px 0 auto 0; width:100%; height:auto; max-height:calc(100dvh - 88px); overflow:auto; background:#163323; padding:24px; flex-direction:column; align-items:stretch; gap:8px; visibility:hidden; opacity:0; pointer-events:none; transform:translateY(-8px); transition:opacity .2s,transform .2s; }
 #navbar .nav-links.open { visibility:visible; opacity:1; pointer-events:auto; transform:none; }
 #navbar .nav-links a { display:block; padding:12px 16px; border-radius:8px; font-size:1rem; }
 #navbar .nav-links a.active { background:#ffffff0c; }
 #navbar .btn-donate { width:100%; margin-top:8px; }
}
@media (max-width:600px) {
 #heroTextLayer { height:auto; min-height:690px; padding:150px 20px 80px; }
 #videoBg { height:690px; min-height:0; }
 #heroTextLayer h1 { font-size:2.65rem; }
 .hero-actions { flex-direction:column; align-items:center; }
 #heroTextLayer .badge { font-size:.65rem; letter-spacing:.08em; }
 .stitle { font-size:clamp(1.9rem,8vw,2.6rem); }
 .page-hero h1 { font-size:2.25rem; }
 .page-hero { padding:140px 20px 60px; }
 .page-hero p, .stext { font-size:1rem; }
 .form-row { grid-template-columns:1fr !important; flex-direction:column; }
 .contact-form-card { padding:24px 18px !important; }
 .ft-wrap { grid-template-columns:1fr; gap:30px; }
 .btn { padding:14px 24px; text-align:center; }
 .modal-content { padding:40px 22px 28px; }
}
@media (prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 *, *::before, *::after { animation:none !important; transition:none !important; }
}

/* Help is available on every page without covering the page content. */
main#contenido { padding-top:88px; }
.aid-banner { position:relative; z-index:30; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px max(24px,calc((100% - 1160px)/2)); background:#f9edcf; border-bottom:1px solid #dbc99b; color:#193528; }
.aid-label { display:block; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.14em; margin-bottom:5px; }
.aid-banner p { margin:0; font-size:1rem; line-height:1.5; }
.aid-button { display:inline-flex; align-items:center; justify-content:center; gap:16px; flex-shrink:0; min-height:48px; padding:13px 22px; border:2px solid #193528; border-radius:12px; background:#193528; color:#fff; font-size:.95rem; font-weight:700; text-decoration:none; line-height:1.4; text-align:center; transition:background .2s,transform .2s; }
.aid-button:hover { background:#2d6a4f; transform:translateY(-2px); }
.aid-button:focus-visible { outline-color:#193528; }
.page-hero { padding-top:64px !important; }
.home-hero { position:relative; isolation:isolate; }
.home-hero #videoBg { inset:0; height:100%; min-height:0; }
#videoBg > img { width:100%; height:100%; max-width:none; object-fit:cover; object-position:50% 35%; }
#heroTextLayer { padding-top:80px; padding-bottom:80px; min-height:600px; height:clamp(600px,80svh,850px); }
.aid-callout { position:relative; z-index:20; padding:70px 24px; background:#f9edcf; color:#193528; }
.aid-callout-inner { max-width:1160px; margin:auto; display:grid; grid-template-columns:1.5fr 1fr; gap:70px; align-items:center; }
.aid-callout h2 { font-family:'Playfair Display',serif; font-size:clamp(2rem,3.4vw,3rem); line-height:1.15; max-width:650px; text-wrap:balance; margin:12px 0 20px; }
.aid-callout p:not(.aid-label) { max-width:630px; margin-bottom:24px; }
.aid-callout-detail { padding:28px 0 28px 40px; border-left:1px solid #19352840; }
.aid-callout-detail > span { display:block; font-size:4rem; line-height:1; margin-bottom:20px; }
.aid-callout-detail p { font-weight:700; font-size:1.4rem; margin-bottom:10px!important; }
.contact-aid { margin:48px auto 0; max-width:1100px; padding:32px; border:1px solid #b7e4c755; background:#1a3a2a; border-radius:20px; }
.contact-aid h2 { font-family:'Playfair Display',serif; font-size:1.7rem; }
.contact-aid p { margin:12px 0 20px; color:#d7e5dc; }
.footer-aid { display:block; color:#1a3a2a; font-weight:750; margin-bottom:22px; text-underline-offset:4px; }
.media-caption { max-width:900px; margin:12px auto 28px; padding:0 24px; color:#c5d7cc; font-size:.85rem; }
.community-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.about-section > .container { width:min(1160px,calc(100% - 48px)); margin-inline:auto; min-width:0; }
.about-section .section-header .stext { width:100%; overflow-wrap:break-word; }
.community-grid figure { margin:0; border-radius:18px; overflow:hidden; background:#163323; }
.community-grid img { display:block; width:100%; height:340px; object-fit:cover; object-position:50% 35%; }
.community-grid figcaption { padding:18px 22px; color:#d9e9df; font-weight:600; }
.gal-item img { object-position:50% 35%; }
.program-image img { object-position:50% 30%; }
@media(max-width:700px) {
 .aid-banner { flex-direction:column; align-items:stretch; gap:14px; padding:20px 24px; }
 .aid-banner .aid-button { width:100%; }
 .aid-banner p { font-size:.95rem; }
 .aid-callout { padding:44px 24px; }
 .aid-callout-inner { grid-template-columns:1fr; gap:28px; }
 .aid-callout-detail { border-left:0; border-top:1px solid #19352840; padding:24px 0 0; }
 .aid-callout-detail > span { display:none; }
 .aid-callout .aid-button { width:100%; }
 .community-grid { grid-template-columns:1fr; }
 .community-grid img { height:auto; max-height:480px; object-fit:contain; }
 .contact-aid { margin:32px 20px 0; padding:24px; }
 #heroTextLayer { padding:64px 20px; min-height:590px; height:auto; }
}
