/* ============================================================
   FUNGAJES — Fundación Gabriell de Jesús
   Sistema de diseño  ·  "Cada color, un valor"
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Marca — significados */
  --c-amor:      #FF5B3D; /* coral  · El amor en el centro de todo */
  --c-alegria:   #FFA600; /* naranja · sonrisas y bienestar */
  --c-inclusion: #FFD100; /* amarillo · cada historia importa */
  --c-confianza: #2BB44D; /* verde   · respeto y compromiso */
  --c-esperanza: #2EA7E0; /* azul    · un mejor mañana */
  --c-morado:    #6C3CCF; /* morado  */
  --ink:         #0D3556; /* azul profundo institucional */

  /* Derivados / tonos suaves para fondos */
  --amor-soft:      #FFEAE4;
  --alegria-soft:   #FFF0D6;
  --inclusion-soft: #FFF6CC;
  --confianza-soft: #E2F5E7;
  --esperanza-soft: #E2F2FB;
  --morado-soft:    #ECE4FA;
  --ink-soft:       #E5EBF1;

  /* Superficies cálidas neutras */
  --bg:        #FFFDF8;
  --bg-2:      #FBF7EF;
  --bg-3:      #F6F0E4;
  --card:      #FFFFFF;
  --line:      #ECE6DA;
  --line-2:    #E0D8C8;

  /* Texto */
  --text:      #0D3556;
  --text-2:    #4A5E72;
  --text-3:    #7E8B98;
  --on-dark:   #F4F8FB;
  --on-dark-2: #A9C0D4;

  /* Acción principal */
  --primary:   var(--c-amor);
  --primary-ink: #C23A20;

  /* Tipografía */
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --w-reg: 500;
  --w-semi: 600;
  --w-bold: 700;
  --w-x: 800;
  --w-black: 900;

  /* Radios */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Sombra */
  --sh-sm: 0 2px 8px rgba(13,53,86,.06);
  --sh-md: 0 14px 34px -16px rgba(13,53,86,.22);
  --sh-lg: 0 30px 70px -28px rgba(13,53,86,.32);

  /* Layout */
  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --header-h: 80px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: var(--w-reg);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1,h2,h3,h4 { margin: 0; line-height: 1.08; font-weight: var(--w-black); letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--c-esperanza); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: var(--w-x); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: currentColor; }
.eyebrow.dot { color: var(--c-amor); }

.h-display { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
.h-1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.h-2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--text-2); font-weight: var(--w-semi); }
.muted { color: var(--text-2); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: var(--w-x); font-size: 1rem; line-height: 1;
  padding: 16px 26px; border-radius: var(--r-pill);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 22px -10px rgba(255,91,61,.8); }
.btn--primary:hover { background: #ff4424; box-shadow: 0 14px 30px -10px rgba(255,91,61,.9); transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #14467a; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn--lg { padding: 19px 34px; font-size: 1.08rem; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Brand logo (real) ---------- */
.brand-mark { height: 54px; width: auto; display: block; flex: 0 0 auto; }
.footer-logo { background: #fff; border-radius: var(--r-md); padding: 18px 22px; display: inline-block; box-shadow: var(--sh-sm); }
.footer-logo img { height: 92px; width: auto; display: block; }

/* ---------- Brand mark (fallback provisional) ---------- */
.brand { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.mark {
  --m: 38px;
  position: relative; width: var(--m); height: var(--m); flex: 0 0 auto;
}
.mark span {
  position: absolute; border-radius: 50%; mix-blend-mode: multiply;
}
.mark .d1 { width: 58%; height: 58%; left: 0;    top: 0;    background: var(--c-amor); }
.mark .d2 { width: 58%; height: 58%; right: 0;   top: 4%;   background: var(--c-inclusion); }
.mark .d3 { width: 58%; height: 58%; left: 21%;  bottom: 0; background: var(--c-esperanza); }
.mark .d4 { width: 34%; height: 34%; right: 6%;  bottom: 8%; background: var(--c-confianza); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-weight: var(--w-black); font-size: 1.55rem; letter-spacing: -.01em; color: var(--ink); }
.brand-name small { font-weight: var(--w-bold); font-size: .64rem; letter-spacing: .06em; color: var(--text-3); margin-top: 3px; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--sh-sm); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  font-weight: var(--w-bold); font-size: .94rem; color: var(--text-2);
  padding: 10px 12px; border-radius: var(--r-pill); transition: color .15s, background .15s; white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--bg-3); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }
@media (max-width: 1080px) { .header-cta .btn--ghost { display: none; } }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--bg); padding: 24px var(--gut) 40px;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-weight: var(--w-x); font-size: 1.4rem; color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 20px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 88% 8%, var(--inclusion-soft) 0%, transparent 60%),
    radial-gradient(50% 50% at 6% 92%, var(--esperanza-soft) 0%, transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 8px 16px 8px 10px; font-weight: var(--w-x); font-size: .82rem; color: var(--text-2);
  box-shadow: var(--sh-sm);
}
.hero-badge .pips { display: inline-flex; }
.hero-badge .pips i { width: 11px; height: 11px; border-radius: 50%; display: block; margin-right: -4px; border: 2px solid #fff; }
.hero h1 { margin-top: 22px; font-size: clamp(2.5rem, 6.2vw, 4.5rem); }
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--c-amor); }
.hero h1 .hl::after { content:""; position:absolute; left:-2%; right:-2%; bottom: .06em; height: .26em; background: var(--c-inclusion); border-radius: 6px; z-index: -1; opacity: .55; }
.hero p.lead { margin-top: 22px; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .stat b { display: block; font-size: 1.7rem; font-weight: var(--w-black); color: var(--ink); line-height: 1; }
.hero-trust .stat span { font-size: .82rem; font-weight: var(--w-bold); color: var(--text-3); }
.hero-trust .sep { width: 1px; height: 34px; background: var(--line-2); }

.hero-media { position: relative; }
.hero-media .photo { width: 100%; aspect-ratio: 4/4.6; border-radius: var(--r-xl); box-shadow: var(--sh-lg); }
.hero-media .float {
  position: absolute; background: #fff; border-radius: var(--r-md); padding: 14px 18px;
  box-shadow: var(--sh-md); display: flex; align-items: center; gap: 12px; font-weight: var(--w-x);
}
.hero-media .float small { display:block; font-weight: var(--w-bold); color: var(--text-3); font-size: .72rem; }
.hero-media .float .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; }
.hero-media .f-tl { top: 22px; left: -26px; }
.hero-media .f-br { bottom: 26px; right: -22px; }
.hero-blob { position: absolute; z-index:-1; width: 120%; height: 120%; top:-8%; left:-10%;
  background: var(--amor-soft); border-radius: 47% 53% 60% 40% / 52% 44% 56% 48%; }

/* ---------- Spectrum band ---------- */
.spectrum { display: flex; height: 8px; }
.spectrum i { flex: 1; }
.spectrum i:nth-child(1){background:var(--c-amor)} .spectrum i:nth-child(2){background:var(--c-alegria)}
.spectrum i:nth-child(3){background:var(--c-inclusion)} .spectrum i:nth-child(4){background:var(--c-confianza)}
.spectrum i:nth-child(5){background:var(--c-esperanza)} .spectrum i:nth-child(6){background:var(--c-morado)}

/* ---------- Values strip ---------- */
.values { background: var(--ink); color: var(--on-dark); }
.values .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.value { padding: 30px 18px; text-align: center; position: relative; }
.value .vdot { width: 38px; height: 38px; border-radius: 50%; margin: 0 auto 14px; }
.value b { display: block; font-weight: var(--w-black); letter-spacing: .04em; font-size: 1rem; color: #fff; }
.value span { font-size: .86rem; color: var(--on-dark-2); font-weight: var(--w-semi); }

/* ---------- About (misión / visión) ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.about-media { position: relative; }
.about-media .photo { width: 100%; aspect-ratio: 5/4; border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.about-media .tag { position: absolute; bottom: -18px; right: -10px; background: var(--c-confianza); color: #fff; font-weight: var(--w-x); padding: 14px 20px; border-radius: var(--r-md); box-shadow: var(--sh-md); }
.mv-cards { display: grid; gap: 18px; margin-top: 30px; }
.mv-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--sh-sm); position: relative; overflow: hidden; }
.mv-card::before { content:""; position: absolute; left:0; top:0; bottom:0; width: 6px; }
.mv-card.m::before { background: var(--c-amor); }
.mv-card.v::before { background: var(--c-esperanza); }
.mv-card h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.mv-card .yr { font-size: .8rem; font-weight: var(--w-x); color: var(--c-esperanza); }
.mv-card p { margin-top: 10px; color: var(--text-2); font-weight: var(--w-semi); }

/* ---------- Stats / impacto ---------- */
.impact { background: var(--bg-2); }
.impact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.impact-card { background: var(--card); border-radius: var(--r-lg); padding: 32px 26px; border: 1px solid var(--line); }
.impact-card b { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: var(--w-black); display: block; line-height: 1; }
.impact-card span { font-weight: var(--w-bold); color: var(--text-2); margin-top: 10px; display: block; }
.impact-card.c1 b { color: var(--c-amor);} .impact-card.c2 b { color: var(--c-confianza);}
.impact-card.c3 b { color: var(--c-esperanza);} .impact-card.c4 b { color: var(--c-morado);}

/* ---------- Ejes / programas ---------- */
.ejes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.eje {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .25s ease;
}
.eje:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.eje .num { font-weight: var(--w-black); font-size: 3.6rem; line-height: 1; opacity: .14; position: absolute; right: 22px; top: 8px; }
.eje .chip { display: inline-flex; align-items:center; gap: 8px; font-weight: var(--w-x); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: var(--r-pill); }
.eje h3 { font-size: 1.5rem; margin-top: 18px; max-width: 22ch; }
.eje .progs { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.eje .progs li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-weight: var(--w-semi); color: var(--text-2); font-size: .96rem; }
.eje .progs li b { color: var(--ink); font-weight: var(--w-x); }
.eje .progs .pico { width: 22px; height: 22px; border-radius: 7px; flex:0 0 auto; margin-top: 2px; }
.eje.e1 { --col: var(--c-esperanza); --colsoft: var(--esperanza-soft); }
.eje.e2 { --col: var(--c-confianza); --colsoft: var(--confianza-soft); }
.eje.e3 { --col: var(--c-amor); --colsoft: var(--amor-soft); }
.eje.e4 { --col: var(--c-morado); --colsoft: var(--morado-soft); }
.eje .num { color: var(--col); }
.eje .chip { background: var(--colsoft); color: var(--col); }
.eje .chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--col); }
.eje .progs .pico { background: var(--colsoft); }
.eje::after { content:""; position:absolute; left:0; right:0; top:0; height: 5px; background: var(--col); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.eje:hover::after { transform: scaleX(1); }

/* ---------- Fortalecimiento (chips list) ---------- */
.fort { background: var(--ink); color: var(--on-dark); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 60px); }
.fort-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 36px; }
.fort-item { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); }
.fort-item .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; flex:0 0 auto; }
.fort-item b { color: #fff; font-weight: var(--w-x); font-size: 1.08rem; }
.fort-item p { color: var(--on-dark-2); font-weight: var(--w-semi); font-size: .94rem; margin-top: 5px; }

/* ---------- Trayectoria (timeline) ---------- */
.timeline { display: grid; gap: 0; position: relative; margin-top: 20px; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.tl-item:last-child { border-bottom: 0; }
.tl-year { font-weight: var(--w-black); font-size: 1.5rem; color: var(--c-alegria); }
.tl-body b { display:block; font-weight: var(--w-x); font-size: 1.12rem; color: var(--ink); }
.tl-body p { color: var(--text-2); font-weight: var(--w-semi); margin-top: 6px; }

/* ---------- Reconocimientos ---------- */
.awards { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.award { display: grid; grid-template-columns: auto 1fr; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; align-items: start; }
.award .medal { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; flex:0 0 auto; }
.award b { font-weight: var(--w-x); color: var(--ink); font-size: 1.05rem; }
.award p { color: var(--text-2); font-weight: var(--w-semi); font-size: .92rem; margin-top: 4px; }

/* ---------- Aliados ---------- */
.allies { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.ally { aspect-ratio: 3/2; border: 1px dashed var(--line-2); border-radius: var(--r-md); display: grid; place-items: center; color: var(--text-3); font-weight: var(--w-x); background: var(--card); font-size: .8rem; text-align:center; padding: 10px; }

/* ---------- Noticias ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.news-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.news-card .ph { aspect-ratio: 16/10; position: relative; }
.news-card .cat { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--ink); font-weight: var(--w-x); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-pill); }
.news-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-card .date { font-weight: var(--w-x); font-size: .8rem; color: var(--text-3); }
.news-card h3 { font-size: 1.22rem; margin-top: 8px; }
.news-card p { color: var(--text-2); font-weight: var(--w-semi); font-size: .94rem; margin-top: 10px; }
.news-card .more { margin-top: auto; padding-top: 18px; font-weight: var(--w-x); color: var(--c-amor); display: inline-flex; gap: 7px; align-items: center; }
.news-card .more .arrow { transition: transform .2s; }
.news-card:hover .more .arrow { transform: translateX(4px); }

/* ---------- Testimonios ---------- */
.testi-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.testi-list { display: grid; gap: 18px; }
.testi {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--sh-sm);
}
.testi .stars { color: var(--c-alegria); font-size: 1rem; letter-spacing: 2px; }
.testi p { font-size: 1.05rem; font-weight: var(--w-semi); color: var(--ink); margin-top: 12px; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi .who .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: var(--w-black); flex:0 0 auto; }
.testi .who b { display: block; font-weight: var(--w-x); color: var(--ink); }
.testi .who span { font-size: .85rem; color: var(--text-3); font-weight: var(--w-bold); }

/* ---------- Form (comentarios / contacto) ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--sh-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: var(--w-x); font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-weight: var(--w-semi); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg);
  transition: border-color .15s, box-shadow .15s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); font-weight: var(--w-semi); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-esperanza); box-shadow: 0 0 0 4px var(--esperanza-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--text-3); font-weight: var(--w-semi); margin-top: 6px; }
.rating-input { display: inline-flex; gap: 6px; font-size: 1.7rem; color: var(--line-2); }
.rating-input span { cursor: pointer; transition: color .12s, transform .12s; }
.rating-input span:hover, .rating-input span.on { color: var(--c-alegria); }
.rating-input span:hover { transform: scale(1.15); }
.form-ok { background: var(--confianza-soft); color: #176c2e; border-radius: var(--r-md); padding: 16px 20px; font-weight: var(--w-x); display: none; align-items: center; gap: 10px; }
.form-ok.show { display: flex; }

/* ---------- Donaciones ---------- */
.donate { background: linear-gradient(180deg, var(--ink) 0%, #0a2a44 100%); color: var(--on-dark); position: relative; overflow: hidden; }
.donate::before { content:""; position:absolute; top:-30%; right:-10%; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(255,166,0,.22), transparent 65%); }
.donate-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; }
.donate h2 { color: #fff; }
.donate .lead { color: var(--on-dark-2); }
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 26px 0; }
.tier { background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.14); border-radius: var(--r-md); padding: 18px 14px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.tier:hover { transform: translateY(-3px); }
.tier.sel { border-color: var(--c-alegria); background: rgba(255,166,0,.14); }
.tier b { display: block; font-size: 1.5rem; font-weight: var(--w-black); color: #fff; }
.tier span { font-size: .8rem; color: var(--on-dark-2); font-weight: var(--w-semi); }

.donate-panel { background: #fff; color: var(--ink); border-radius: var(--r-xl); padding: clamp(26px, 3vw, 38px); box-shadow: var(--sh-lg); }
.dtabs { display: flex; gap: 6px; background: var(--bg-3); padding: 6px; border-radius: var(--r-pill); margin-bottom: 26px; flex-wrap: wrap; }
.dtab { flex: 1; min-width: 90px; padding: 12px 10px; border-radius: var(--r-pill); font-weight: var(--w-x); font-size: .9rem; color: var(--text-2); transition: all .15s; }
.dtab.on { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.dpane { display: none; }
.dpane.on { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px);} to {opacity:1; transform:none;} }
.dpane .row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px dashed var(--line); font-weight: var(--w-semi); }
.dpane .row:last-of-type { border-bottom: 0; }
.dpane .row span { color: var(--text-2); }
.dpane .row b { color: var(--ink); font-weight: var(--w-x); }
.copy-btn { font-weight: var(--w-x); color: var(--c-esperanza); display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Voluntariado CTA ---------- */
.volun { background: var(--c-inclusion); border-radius: var(--r-xl); padding: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.volun::after { content:""; position: absolute; right: -40px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; background: var(--c-amor); opacity:.25; }
.volun h2 { color: #5a3d00; position: relative; }
.volun p { color: #6b4f12; font-weight: var(--w-bold); position: relative; max-width: 48ch; margin-top: 14px; }
.volun .btn { position: relative; margin-top: 26px; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.contact-info { display: grid; gap: 14px; align-content: start; }
.ci { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.ci .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 1.3rem; flex:0 0 auto; }
.ci small { display:block; font-weight: var(--w-bold); color: var(--text-3); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.ci b { font-weight: var(--w-x); color: var(--ink); font-size: 1.08rem; }
.map { margin-top: 4px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/7; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding-top: clamp(56px, 7vw, 88px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top .brand-name b { color: #fff; } .footer-top .brand-name small { color: var(--on-dark-2); }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: var(--w-x); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-weight: var(--w-semi); color: var(--on-dark-2); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-about p { margin-top: 16px; max-width: 32ch; font-weight: var(--w-semi); line-height: 1.7; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-weight: var(--w-x); color: #fff; transition: background .15s, transform .15s; }
.socials a:hover { background: var(--c-amor); transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0 36px; flex-wrap: wrap; font-size: .86rem; font-weight: var(--w-semi); }
.footer-bottom .tag { color: var(--c-inclusion); font-weight: var(--w-x); }

/* ---------- Photos ---------- */
img.photo { object-fit: cover; }
.ph { position: relative; overflow: hidden; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map.ph { background: repeating-linear-gradient(45deg, var(--bg-3) 0 14px, var(--bg-2) 14px 28px); display: grid; place-items: center; }
.map.ph::after { content: "Mapa · La Guajira, Colombia"; font-family: ui-monospace, monospace; font-size: .8rem; color: var(--text-3); font-weight: 700; }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px; }
.gallery a { position: relative; overflow: hidden; border-radius: var(--r-md); display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.06); }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,53,86,.32)); opacity: 0; transition: opacity .3s; }
.gallery a:hover::after { opacity: 1; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin-inline: auto; }
  .donate-grid, .testi-wrap, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2,1fr); }
  .fort-grid { grid-template-columns: 1fr; }
  .allies { grid-template-columns: repeat(3,1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
}
@media (max-width: 860px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .nav-toggle { display: inline-grid; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .values .wrap { grid-template-columns: repeat(2,1fr); }
  .ejes-grid { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery .g-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  :root { --header-h: 70px; }
  .news-grid { grid-template-columns: 1fr; }
  .values .wrap { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .allies { grid-template-columns: repeat(2,1fr); }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .hero-media .f-tl { left: 0; } .hero-media .f-br { right: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
  .brand-mark { height: 44px; }
  .brand-name b { font-size: 1.2rem; }
  .brand-name small { font-size: .58rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .gallery .g-tall { grid-row: span 1; }
}

/* Nav toggle button visual */
.nav-toggle { width: 46px; height: 46px; border-radius: 12px; place-items: center; background: var(--bg-3); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:""; display:block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, opacity .2s; }
.nav-toggle span::before { position: absolute; top: -7px; } .nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-7px) rotate(-45deg); }
