/* Fundación Santa Elena — estilos del sitio.
   Tokens arriba; componentes con una sola clase (sin pelear especificidad); responsive al final de cada bloque. */

@font-face { font-family: "Bricolage Grotesque"; src: url(/assets/fonts/bricolage.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/assets/fonts/figtree.woff2) format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/assets/fonts/figtree-italic.woff2) format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }

:root {
  /* color — de la marca: bordó #3f0027 y dorado #d39834 del logo */
  --night: #2b061e;
  --night-2: #3f0b2d;
  --brand: #5c1342;
  --brand-2: #7d2560;
  --sun: #e8a530;
  --sun-2: #f6c35c;
  --sun-ink: #8f5f0c;
  --sun-soft: #fbefd6;
  --paper: #f6f2f0;
  --white: #ffffff;
  --ink: #24101d;
  --ink-2: #4a3744;
  --muted: #7a6873;
  --line: #e9e1df;
  --line-dark: rgba(255, 244, 236, .14);
  --on-dark: #fbf4ee;
  --on-dark-2: rgba(251, 244, 238, .74);
  --ok: #18794e;
  --err: #c0392b;

  /* tipografía */
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --t-hero: clamp(2.6rem, 1.45rem + 4.9vw, 6rem);
  --t-h1: clamp(2.3rem, 1.5rem + 3.4vw, 4.5rem);
  --t-h2: clamp(1.9rem, 1.35rem + 2.3vw, 3.4rem);
  --t-h3: clamp(1.2rem, 1.1rem + .4vw, 1.45rem);
  --t-lead: clamp(1.08rem, 1rem + .35vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: .875rem;

  /* espacio y forma */
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1280px;
  --section: clamp(72px, 6rem + 4vw, 160px);
  --r-lg: clamp(20px, 1.6vw, 32px);
  --r-md: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sun); color: var(--night); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--night); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* ---------- layout ---------- */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--white { background: var(--white); }
.section--dark { background: var(--night); color: var(--on-dark); }
.section--sun { background: var(--sun); color: var(--night); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 4vw, 64px); }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.15fr 1fr; gap: 48px; }
}

/* ---------- tipografía ---------- */
.h-hero { font-size: var(--t-hero); line-height: .98; letter-spacing: -.045em; font-weight: 750; }
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); letter-spacing: -.02em; line-height: 1.15; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.section--dark .lead { color: var(--on-dark-2); }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); flex: none; }
.section--dark .eyebrow, .eyebrow--sun { color: var(--sun); }
.section--sun .eyebrow { color: var(--night); }
.section--sun .eyebrow::before { background: var(--night); }
.hl { color: var(--sun); }
.section--sun .hl { color: var(--brand); }

/* ---------- botones ---------- */
.btn { --b-bg: var(--night); --b-fg: var(--white); --b-bd: var(--night); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg); font-weight: 700; font-size: 1rem; letter-spacing: -.005em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b-hover, var(--brand)); transform: translateY(101%); border-radius: inherit; transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--b-hover-fg, var(--white)); border-color: var(--b-hover, var(--brand)); }
.btn:active { transform: scale(.98); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--sun { --b-bg: var(--sun); --b-fg: var(--night); --b-bd: var(--sun); --b-hover: var(--white); --b-hover-fg: var(--night); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: rgba(36, 16, 29, .22); --b-hover: var(--night); }
.btn--ghost-light { --b-bg: transparent; --b-fg: var(--white); --b-bd: rgba(255, 255, 255, .35); --b-hover: var(--white); --b-hover-fg: var(--night); }
.btn--white { --b-bg: var(--white); --b-fg: var(--night); --b-bd: var(--white); --b-hover: var(--night); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--brand); }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--sun); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .8125rem; font-weight: 700; line-height: 1; }
.chip--podcast { background: var(--sun); color: var(--night); }
.chip--blog { background: var(--night); color: var(--white); }
.chip--glass { background: rgba(255, 255, 255, .12); color: var(--white); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18); }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--white); transition: background-color .4s var(--ease), color .4s var(--ease), transform .45s var(--ease), box-shadow .4s; }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.header.is-solid { background: rgba(246, 242, 240, .9); backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo__mark { width: 44px; height: 44px; flex: none; }
.logo__text { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; line-height: 1.02; letter-spacing: -.02em; }
.logo__text small { display: block; font-family: var(--f-body); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.nav { display: none; margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav a { position: relative; display: block; padding: 10px 14px; font-weight: 600; font-size: .9688rem; text-decoration: none; border-radius: 999px; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__cta { display: none; }
.menu-btn { margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; display: grid; place-items: center; cursor: pointer; position: relative; z-index: 2; }
.menu-btn span { position: absolute; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), opacity .2s; }
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.menu-open .menu-btn span:first-child { transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: rotate(-45deg); }
.menu-open .header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; transform: none; }
@media (min-width: 1100px) {
  .nav, .header__cta { display: flex; }
  .header__cta { margin-left: 8px; }
  .menu-btn { display: none; }
}

/* menú mobile */
.menu { position: fixed; inset: 0; z-index: 40; background: var(--night); color: var(--white); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; clip-path: circle(0 at calc(100% - 44px) 38px); transition: clip-path .7s var(--ease-io); visibility: hidden; overflow-y: auto; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
.menu-open body { overflow: hidden; }
.menu ul { list-style: none; display: grid; gap: 4px; }
.menu li { overflow: hidden; }
.menu ul a { display: block; font-family: var(--f-display); font-size: clamp(2rem, 8vw, 3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.15; text-decoration: none; transform: translateY(110%); transition: transform .6s var(--ease); }
.menu ul a[aria-current="page"] { color: var(--sun); }
.menu-open .menu ul a { transform: none; transition-delay: calc(.12s + var(--i, 0) * .05s); }
.menu__foot { display: grid; gap: 18px; margin-top: 40px; opacity: 0; transition: opacity .4s .35s; }
.menu-open .menu__foot { opacity: 1; }
.menu__foot p { color: var(--on-dark-2); font-size: .9375rem; }
@media (min-width: 1100px) { .menu { display: none; } }

/* ---------- hero (home) ---------- */
.hero { position: relative; background: var(--night); color: var(--white); padding: calc(var(--header-h) + clamp(32px, 6vw, 80px)) 0 clamp(56px, 7vw, 110px); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 85% 30%, rgba(125, 37, 96, .5), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(92, 19, 66, .55), transparent 70%); }
.hero__grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: clamp(22px, 2.4vw, 32px); align-content: start; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.hero__text { font-size: var(--t-lead); color: var(--on-dark-2); max-width: 46ch; line-height: 1.55; }
.hero__visual { position: relative; display: grid; }
.hero__sun { position: absolute; z-index: -1; width: min(78%, 560px); aspect-ratio: 1; border-radius: 50%; right: -6%; top: -8%; background: radial-gradient(circle at 50% 45%, var(--sun-2), var(--sun) 55%, #c98a1c 100%); box-shadow: 0 0 120px 30px rgba(232, 165, 48, .3); }
.hero__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--night-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(43, 6, 30, .55)); }
.hero__stat { position: absolute; left: clamp(-56px, -3vw, -16px); bottom: clamp(20px, 3vw, 40px); width: min(300px, 78%); background: rgba(43, 6, 30, .72); backdrop-filter: blur(14px); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: 20px 22px; display: grid; gap: 6px; }
.hero__stat b { font-family: var(--f-display); font-size: clamp(2.4rem, 2rem + 1.6vw, 3.4rem); line-height: 1; letter-spacing: -.04em; color: var(--sun); }
.hero__stat span { color: var(--on-dark-2); font-size: .9375rem; line-height: 1.4; }
.hero__stat .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
@media (min-width: 900px) {
  .hero { min-height: 100svh; display: grid; align-items: center; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  .hero__photo { aspect-ratio: 4 / 5.1; }
}
@media (max-width: 899px) {
  .hero__visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .hero__stat { left: 12px; }
}

/* entrada del hero (solo con JS; sin JS todo se ve igual) */
.js .hero__title .line > span { transform: translateY(105%); }
.js .hero [data-hero] { opacity: 0; transform: translateY(18px); }
.js .hero__sun { transform: translateY(42%) scale(.86); opacity: 0; }
.js .hero__photo { clip-path: inset(100% 0 0 0 round var(--r-lg)); }
.js .hero__photo img { transform: scale(1.18); }
.is-loaded .hero__title .line > span { transform: none; transition: transform 1.1s var(--ease); transition-delay: calc(.08s + var(--i, 0) * .09s); }
.is-loaded .hero [data-hero] { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(.45s + var(--d, 0) * .1s); }
.is-loaded .hero__sun { transform: none; opacity: 1; transition: transform 1.8s var(--ease), opacity 1.2s var(--ease); transition-delay: .25s; }
.is-loaded .hero__photo { clip-path: inset(0 0 0 0 round var(--r-lg)); transition: clip-path 1.3s var(--ease-io) .15s; }
.is-loaded .hero__photo img { transform: none; transition: transform 1.8s var(--ease) .15s; }

/* ---------- hero de páginas internas ---------- */
.page-hero { position: relative; background: var(--night); color: var(--white); padding: calc(var(--header-h) + clamp(48px, 7vw, 110px)) 0 clamp(56px, 6vw, 96px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; width: clamp(280px, 38vw, 560px); aspect-ratio: 1; border-radius: 50%; right: -8%; bottom: -55%; background: radial-gradient(circle at 50% 40%, var(--sun-2), var(--sun) 60%); opacity: .92; box-shadow: 0 0 140px 20px rgba(232, 165, 48, .25); }
.page-hero__in { display: grid; gap: 22px; max-width: 900px; }
.page-hero .lead { color: var(--on-dark-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .875rem; color: var(--on-dark-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--sun); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.js .page-hero [data-hero] { opacity: 0; transform: translateY(22px); }
.js .page-hero::before { transform: translateY(30%); opacity: 0; }
.is-loaded .page-hero [data-hero] { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(.1s + var(--d, 0) * .1s); }
.is-loaded .page-hero::before { transform: none; opacity: .92; transition: transform 1.6s var(--ease) .1s, opacity 1s; }

/* ---------- marquee ---------- */
.marquee { --speed: 38s; background: var(--sun); color: var(--night); overflow: hidden; padding-block: clamp(16px, 2vw, 26px); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--speed) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { list-style: none; display: flex; align-items: center; flex: none; }
.marquee li { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); padding-right: clamp(22px, 2.6vw, 40px); font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); letter-spacing: -.03em; white-space: nowrap; }
.marquee li::after { content: ""; width: .42em; height: .42em; border-radius: 50%; background: var(--night); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cifras ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--white); padding: clamp(22px, 2.6vw, 40px); display: grid; gap: 10px; align-content: start; }
.stat b { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 1.8rem + 3vw, 4.8rem); line-height: .95; letter-spacing: -.05em; color: var(--brand); font-variant-numeric: tabular-nums; }
.stat b sup { font-size: .45em; vertical-align: .9em; color: var(--sun); margin-left: 2px; }
.stat span { color: var(--ink-2); font-weight: 500; line-height: 1.4; max-width: 24ch; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- bloque intro con foto ---------- */
.split { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 6; background: var(--line); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__copy { display: grid; gap: 22px; align-content: start; }
.split__copy p { color: var(--ink-2); }
.section--dark .split__copy p { color: var(--on-dark-2); }
.split__badge { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--rev .split__media { order: 2; }
}

/* ---------- programas ---------- */
.programs { display: grid; gap: 14px; }
.program { position: relative; display: grid; align-content: end; min-height: clamp(380px, 34vw, 520px); border-radius: var(--r-lg); overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; background: var(--night-2); }
.program img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.program::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43, 6, 30, .05) 25%, rgba(43, 6, 30, .92) 85%); transition: background-color .5s; }
.program:hover img { transform: scale(1.06); }
.program__body { padding: clamp(20px, 2.2vw, 30px); display: grid; gap: 10px; }
.program__num { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--sun); }
.program h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -.035em; }
.program p { color: var(--on-dark-2); line-height: 1.45; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease), opacity .5s; opacity: 0; }
.program p > span { overflow: hidden; }
.program:hover p, .program:focus-visible p { grid-template-rows: 1fr; opacity: 1; }
.program__go { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; background: var(--sun); color: var(--night); display: grid; place-items: center; font-size: 1.25rem; transform: rotate(-45deg) scale(.6); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.program:hover .program__go { transform: rotate(0) scale(1); opacity: 1; }
@media (hover: none) { .program p { grid-template-rows: 1fr; opacity: 1; } .program__go { opacity: 1; transform: none; } }
@media (min-width: 700px) { .programs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .programs { grid-template-columns: repeat(6, 1fr); }
  .program { grid-column: span 2; }
  .program:nth-child(1), .program:nth-child(2) { grid-column: span 3; }
}

/* ---------- cita / visión ---------- */
.quote { position: relative; display: grid; gap: 28px; justify-items: start; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.4rem); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.quote blockquote::before { content: "“"; display: block; color: var(--sun); font-size: 2.2em; line-height: .6; margin-bottom: .1em; }
.quote cite { font-style: normal; color: var(--on-dark-2); }
.quote-word { color: var(--sun); }

/* ---------- invitación a donar ---------- */
.give { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--sun); color: var(--night); padding: clamp(36px, 5vw, 80px); display: grid; gap: 28px; isolation: isolate; }
.give::after { content: ""; position: absolute; z-index: -1; width: clamp(240px, 32vw, 460px); aspect-ratio: 1; border-radius: 50%; right: -8%; top: -40%; background: var(--sun-2); }
.give h2 { max-width: 16ch; }
.give p { max-width: 52ch; font-size: var(--t-lead); line-height: 1.5; }
.give .btn--ghost { --b-bd: rgba(43, 6, 30, .35); }
@media (min-width: 900px) { .give { grid-template-columns: 1.3fr 1fr; align-items: end; } .give .btn-row { justify-content: flex-end; } }

/* ---------- novedades ---------- */
.posts-row { display: grid; gap: 20px; }
.posts-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .posts-row, .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .posts-row { grid-template-columns: repeat(3, 1fr); }
  .posts-grid { grid-template-columns: repeat(3, 1fr); }
  .posts-grid .is-feature { grid-column: span 2; grid-row: span 2; }
}
.post-card { display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(43, 6, 30, .28); border-color: transparent; }
.post-card__media { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night); }
.post-card.is-feature .post-card__media { aspect-ratio: 16 / 9; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__media .chip { position: absolute; left: 14px; top: 14px; }
.post-card__ph { position: absolute; inset: 0; background: radial-gradient(circle at 78% 115%, var(--sun) 0 28%, transparent 28.5%), radial-gradient(70% 90% at 20% 0%, var(--brand), var(--night)); }
.post-card--podcast .post-card__ph { background: radial-gradient(circle at 50% 120%, var(--sun) 0 34%, transparent 34.5%), linear-gradient(160deg, var(--brand), var(--night)); }
.post-card__play { position: absolute; right: 14px; bottom: 14px; width: 54px; height: 54px; border-radius: 50%; background: var(--sun); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .4s var(--ease); }
.post-card__play::after { content: ""; position: absolute; left: 21px; top: 17px; border-left: 16px solid var(--night); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.post-card:hover .post-card__play { transform: scale(1.08); }
.post-card__body { padding: clamp(20px, 2vw, 28px); display: grid; gap: 10px; align-content: start; }
.post-card time { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.post-card h3 { font-size: 1.32rem; letter-spacing: -.025em; line-height: 1.15; }
.post-card.is-feature h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); }
.post-card p { color: var(--ink-2); font-size: .9688rem; line-height: 1.5; }
.post-card__more { margin-top: 6px; font-weight: 700; font-size: .9375rem; color: var(--brand); }
.empty-state { grid-column: 1 / -1; padding: 48px; text-align: center; color: var(--muted); background: var(--white); border-radius: var(--r-lg); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); text-decoration: none; font-weight: 700; font-size: .9375rem; transition: background-color .25s, border-color .25s, color .25s; }
.filter:hover { border-color: var(--night); }
.filter[aria-current="page"] { background: var(--night); border-color: var(--night); color: var(--white); }

/* episodio destacado */
.episode { display: grid; gap: clamp(24px, 3vw, 48px); background: var(--night); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 52px); align-items: center; margin-bottom: clamp(28px, 3vw, 44px); position: relative; overflow: hidden; isolation: isolate; }
.episode::before { content: ""; position: absolute; z-index: -1; width: 360px; aspect-ratio: 1; border-radius: 50%; right: -120px; top: -250px; background: var(--sun); opacity: .9; }
.episode .link-arrow { color: var(--sun); }
.episode__text { display: grid; gap: 14px; align-content: start; }
.episode h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); letter-spacing: -.035em; }
.episode h3 a { text-decoration: none; }
.episode p { color: var(--on-dark-2); }
@media (min-width: 900px) { .episode { grid-template-columns: 1fr 1.1fr; } }

/* ---------- reproductores ---------- */
.embed { border-radius: var(--r-md); overflow: hidden; background: rgba(36, 16, 29, .06); }
.embed iframe { width: 100%; border: 0; }
.embed--audio iframe { border-radius: var(--r-md); }
.embed--video { position: relative; aspect-ratio: 16 / 9; background: var(--night); }
.embed--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.embed__facade { position: absolute; inset: 0; display: block; }
.embed__facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.embed__facade:hover img { transform: scale(1.03); filter: brightness(.85); }
.embed__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--sun); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); transition: transform .4s var(--ease); }
.embed__play::after { content: ""; position: absolute; left: 30px; top: 25px; border-left: 22px solid var(--night); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.embed__facade:hover .embed__play { transform: scale(1.08); }

.player { border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); padding: 14px 18px; }
.player audio { width: 100%; }
.player.is-custom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; }
.player.is-custom audio { display: none; }
.player__btn { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--sun); cursor: pointer; position: relative; flex: none; transition: transform .25s var(--ease); }
.player__btn:hover { transform: scale(1.05); }
.player__btn::before { content: ""; position: absolute; left: 23px; top: 18px; border-left: 17px solid var(--night); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.player.is-playing .player__btn::before { left: 21px; top: 19px; width: 6px; height: 20px; border: 0; background: var(--night); box-shadow: 10px 0 0 var(--night); }
.player__track { display: grid; gap: 8px; min-width: 0; }
.player__bar { position: relative; height: 8px; border-radius: 99px; background: var(--line); cursor: pointer; touch-action: none; }
.player__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--brand); }
.player__fill::after { content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--white); }
.player__time { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.player__rate { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .8125rem; cursor: pointer; font-variant-numeric: tabular-nums; }
.section--dark .player, .episode .player { background: var(--night-2); border-color: var(--line-dark); }
.episode .player__bar { background: rgba(255, 255, 255, .15); }
.episode .player__fill, .episode .player__fill::after { background: var(--sun); }
.episode .player__fill::after { box-shadow: 0 0 0 3px var(--night-2); }
.episode .player__time { color: var(--on-dark-2); }
.episode .player__rate { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }

/* ---------- nota ---------- */
.nota-head { background: var(--night); color: var(--white); padding: calc(var(--header-h) + clamp(40px, 6vw, 90px)) 0 clamp(120px, 12vw, 190px); }
.nota-head__in { display: grid; gap: 20px; }
.nota-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; color: var(--on-dark-2); font-size: .9375rem; }
.nota-meta span + span::before, .nota-meta time + span::before { content: "·"; margin-right: 16px; opacity: .6; }
.nota__lead { font-size: var(--t-lead); color: var(--on-dark-2); line-height: 1.5; }
.nota-main { margin-top: clamp(-150px, -9vw, -80px); }
.nota__cover { margin: 0 0 clamp(32px, 4vw, 56px); border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
.nota__cover img { width: 100%; max-height: 640px; object-fit: cover; }
.nota__cover figcaption { padding: 10px 4px 0; font-size: .8125rem; color: var(--muted); background: var(--paper); }
.nota__audio { display: grid; gap: 12px; margin: 0 0 clamp(32px, 4vw, 48px); }
.nota-main > .wrap--narrow > .nota__audio:first-child { background: var(--white); border-radius: var(--r-lg); padding: clamp(16px, 2vw, 24px); box-shadow: 0 30px 60px -30px rgba(43, 6, 30, .35); }
.prose { font-size: 1.125rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); color: var(--ink); margin-top: 1.8em; }
.prose h3 { font-size: 1.4rem; color: var(--ink); margin-top: 1.6em; letter-spacing: -.02em; }
.prose a:not(.btn) { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--sun-ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--sun); font-family: var(--f-display); font-size: 1.45rem; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose .nota__figure { margin: 2em 0; }
.prose .nota__figure img { border-radius: var(--r-md); width: 100%; }
.prose figcaption { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.prose .embed { margin: 2em 0; }
.nota-give { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 16px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--sun-soft); border: 1px solid #f0d9a6; }
.nota-give h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.nota-give p { color: var(--ink-2); }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 32px; font-weight: 600; color: var(--muted); font-size: .9375rem; }

/* ---------- tarjetas genéricas ---------- */
.cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 760px) and (max-width: 1099px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 2.4vw, 36px); display: grid; gap: 14px; align-content: start; border: 1px solid var(--line); }
.card p { color: var(--ink-2); }
.card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sun-soft); color: var(--sun-ink); }
.card__icon svg { width: 26px; height: 26px; }
.section--dark .card { background: var(--night-2); border-color: var(--line-dark); }
.section--dark .card p { color: var(--on-dark-2); }
.card--feature { background: var(--night); color: var(--on-dark); border-color: var(--night); }
.card--feature p { color: var(--on-dark-2); }
.card--feature .card__icon { background: var(--sun); color: var(--night); }
.card .btn { justify-self: start; margin-top: 8px; }
.tag-sun { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--sun); color: var(--night); font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; justify-self: start; }

/* lista con check */
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b061e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- donar ---------- */
.amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.amount { position: relative; }
.amount input { position: absolute; opacity: 0; pointer-events: none; }
.amount span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 700; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; font-variant-numeric: tabular-nums; }
.amount span:hover { border-color: var(--night); }
.amount input:checked + span { background: var(--night); border-color: var(--night); color: var(--white); }
.amount input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.card--feature .amount span { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }
.card--feature .amount input:checked + span { background: var(--sun); border-color: var(--sun); color: var(--night); }
.impact-note { font-size: .9375rem; min-height: 1.5em; }
.copy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); }
.copy-row dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.copy-row dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; word-break: break-all; }
.copy-btn { flex: none; border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .8125rem; cursor: pointer; transition: background-color .2s, color .2s; }
.copy-btn:hover { background: var(--night); color: var(--white); border-color: var(--night); }
.copy-btn.is-done { background: var(--ok); border-color: var(--ok); color: var(--white); }
.copy-list { display: grid; gap: 8px; margin: 0; }

/* ---------- acordeón (FAQ) ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-family: var(--f-body); font-size: 1.4rem; font-weight: 500; transition: transform .4s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sun); }
.faq .faq__a { padding: 0 24px 24px; color: var(--ink-2); max-width: 70ch; }
.faq .faq__a > * + * { margin-top: .8em; }

/* ---------- equipo ---------- */
.team { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.person { display: grid; gap: 12px; }
.person__photo { aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: radial-gradient(circle at 50% 120%, var(--sun) 0 30%, transparent 30.5%), linear-gradient(160deg, var(--brand), var(--night)); display: grid; place-items: center; color: rgba(255, 255, 255, .5); font-family: var(--f-display); font-size: 3rem; font-weight: 700; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.person p { color: var(--muted); font-size: .9375rem; }

/* ---------- línea de tiempo ---------- */
.timeline { list-style: none; display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 36px 32px; display: grid; gap: 6px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px var(--paper); }
.timeline b { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -.03em; color: var(--brand); line-height: 1; }
.timeline p { color: var(--ink-2); max-width: 56ch; }

/* ---------- formularios ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 700px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; font-weight: 600; font-size: .9375rem; }
.field small { font-weight: 400; color: var(--muted); }
.input { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--white); font-size: 1rem; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
textarea.input { min-height: 140px; resize: vertical; line-height: 1.5; }
.input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(125, 37, 96, .14); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.pills legend { font-weight: 600; font-size: .9375rem; margin-bottom: 10px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.pill input:checked + span { background: var(--night); border-color: var(--night); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.5em; font-weight: 600; }
.form__status.is-err { color: var(--err); }
.form-done { display: grid; gap: 14px; justify-items: start; padding: clamp(28px, 3vw, 44px); border-radius: var(--r-lg); background: var(--sun-soft); border: 1px solid #f0d9a6; }
.form-done h3 { font-size: 1.8rem; }
.panel { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 48px); border: 1px solid var(--line); }

/* contacto */
.contact-list { display: grid; gap: 10px; list-style: none; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
a.contact-item:hover { border-color: var(--night); transform: translateX(4px); }
.contact-item .card__icon { flex: none; }
.contact-item b { display: block; font-size: 1.05rem; }
.contact-item span { color: var(--muted); font-size: .9375rem; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 340px; background: var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* documentos (transparencia) */
.docs { list-style: none; display: grid; gap: 10px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.doc__ext { flex: none; width: 52px; height: 60px; border-radius: 8px; background: var(--night); color: var(--sun); display: grid; place-items: center; font-weight: 800; font-size: .75rem; letter-spacing: .06em; }
.doc b { display: block; }
.doc span { color: var(--muted); font-size: .9375rem; }
.doc .btn { margin-left: auto; }
.facts { display: grid; gap: 1px; background: var(--line); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); margin: 0; }
.facts div { background: var(--white); padding: 18px 22px; display: grid; gap: 4px; }
.facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--on-dark); padding: clamp(64px, 7vw, 110px) 0 28px; position: relative; overflow: hidden; isolation: isolate; }
.footer__top { display: grid; gap: 40px; padding-bottom: clamp(48px, 5vw, 80px); border-bottom: 1px solid var(--line-dark); }
.footer__claim { display: grid; gap: 22px; align-content: start; }
.footer__claim h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); max-width: 14ch; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer h3 { font-family: var(--f-body); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:not(.btn) { text-decoration: none; color: var(--on-dark-2); transition: color .2s; }
.footer a:not(.btn):hover { color: var(--white); }
.footer address { font-style: normal; color: var(--on-dark-2); line-height: 1.6; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 24px; font-size: .8125rem; color: var(--on-dark-2); }
.footer__word { font-family: var(--f-display); font-weight: 800; font-size: clamp(3.4rem, 13vw, 13.5rem); line-height: .8; letter-spacing: -.025em; color: var(--night); -webkit-text-stroke: 2px rgba(255, 255, 255, .13); paint-order: stroke fill; white-space: nowrap; margin: clamp(40px, 5vw, 72px) 0 0; user-select: none; }
.socials { display: flex; gap: 8px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark); transition: background-color .25s, color .25s, border-color .25s; }
.socials a:hover { background: var(--sun); color: var(--night); border-color: var(--sun); }
.socials svg { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1.4fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

/* botón flotante de WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- aparición al scrollear ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--r-lg)); transition: clip-path 1.2s var(--ease-io); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }

/* ---------- modo revisión (?review): marca lo que falta confirmar ---------- */
.review [data-pending] { outline: 2px dashed #e5484d; outline-offset: 3px; position: relative; }
.review [data-pending]::after { content: "⚑ " attr(data-pending); position: absolute; left: 0; top: 100%; z-index: 20; margin-top: 6px; max-width: 320px; padding: 6px 10px; border-radius: 6px; background: #e5484d; color: #fff; font: 600 12px/1.35 var(--f-body); letter-spacing: 0; text-transform: none; white-space: normal; pointer-events: none; }

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .js [data-reveal], .js .hero [data-hero], .js .page-hero [data-hero], .js .hero__title .line > span, .js .hero__sun, .js .hero__photo, .js .hero__photo img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ---------- agregados: logo, programas en fila, nota sin portada, stats por cantidad ---------- */
.logo img { height: 44px; width: auto; }
.logo__color { display: none; }
.header.is-solid .logo__light { display: none; }
.header.is-solid .logo__color { display: block; }
.menu-open .header .logo__light { display: block; }
.menu-open .header .logo__color { display: none; }
.header.is-solid .header__ghost { --b-fg: var(--ink); --b-bd: rgba(36, 16, 29, .22); --b-hover: var(--night); --b-hover-fg: var(--white); }
.footer__claim img { height: 50px; width: auto; }
.socials { margin-top: 18px; }
@media (max-width: 420px) { .logo img { height: 38px; } }

.stats--1 { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .stats--1 { grid-template-columns: 1fr; max-width: 520px; }
  .stats--2 { grid-template-columns: repeat(2, 1fr); }
  .stats--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .programs--row { grid-template-columns: repeat(4, 1fr); }
  .programs--row .program:nth-child(n) { grid-column: auto; min-height: 400px; }
}

.nota-main { padding-bottom: var(--section); }
.nota-head.page-hero { padding-bottom: clamp(120px, 12vw, 190px); }
.nota--flat .nota-head.page-hero { padding-bottom: clamp(56px, 6vw, 90px); }
.nota--flat .nota-main { margin-top: 0; padding-top: clamp(40px, 5vw, 64px); }
.nota-head .nota__lead { margin-top: 4px; }
.related { padding-top: 0; }
.split__copy .checks { margin-top: 6px; }
ol.checks.panel { margin: 0; }

.hero__copy > .chip { justify-self: start; }
/* ?shot: modo captura (sin altura de pantalla completa en el hero) */
.shot .hero { min-height: 0; }
.give__btns { margin-top: 22px; }

/* ---------- agregados: donar, aliados, contacto, 404 ---------- */
fieldset.amounts { border: 0; padding: 0; margin: 0; min-width: 0; }
.card--link { text-decoration: none; color: inherit; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease); }
.card--link:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 50px -28px rgba(43, 6, 30, .35); }
.card--link .link-arrow { margin-top: auto; }
.give-options { align-items: stretch; }
.give-options .card--feature { gap: 18px; }
.partners { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; }
.partners li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 28px; display: grid; place-items: center; }
.partners img { height: 72px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.partners li:hover img { filter: none; opacity: 1; }
.contact-split { align-items: start; }
.contact-split .split__copy { gap: 16px; }
.page-hero--full { min-height: 80svh; display: grid; align-items: center; }
.programs--row .program h3 { font-size: clamp(1.125rem, .85rem + .45vw, 1.375rem); overflow-wrap: break-word; hyphens: auto; }
.program h3 { overflow-wrap: break-word; hyphens: auto; }
.page-hero__in { max-width: 780px; }
.nota-main { position: relative; z-index: 1; }
.prose .gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 2em 0; }
.prose .gallery .nota__figure { margin: 0; }
.prose .gallery img { aspect-ratio: 4 / 3; object-fit: cover; height: 100%; }
.prose .gallery .nota__figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.prose .gallery .nota__figure:first-child:nth-last-child(odd) img { aspect-ratio: 16 / 9; }
@media (max-width: 560px) { .prose .gallery { grid-template-columns: 1fr; } }
/* palabras largas (ej. "Microemprendimientos") y el email no desbordan en celulares */
.h1, .h2, .h-hero { overflow-wrap: break-word; hyphens: auto; }
.footer__top > *, .footer__cols > * { min-width: 0; }
.footer address a[href^="mailto"] { white-space: nowrap; }
@media (max-width: 1199px) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__cols > :last-child { grid-column: 1 / -1; } }
@media (min-width: 1200px) { .footer__cols { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) minmax(0, 1.4fr); } }
@media (max-width: 420px) { :root { --t-h1: clamp(2rem, 1.4rem + 3.4vw, 2.6rem); } }
.page-hero__in, .split, .nota-head__in { grid-template-columns: minmax(0, 1fr); }
.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats--1 { grid-template-columns: minmax(0, 1fr); }
.contact-item b { overflow-wrap: anywhere; }
.page-hero .h1 { overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* sección con foto de fondo a todo el ancho (home: La Fundación) */
.bgsec { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-dark); min-height: min(88vh, 860px); display: grid; align-items: center; padding: clamp(96px, 11vw, 170px) 0; }
.bgsec__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.bgsec.is-in .bgsec__img { transform: none; }
.bgsec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(43, 6, 30, .94) 0%, rgba(43, 6, 30, .82) 42%, rgba(43, 6, 30, .35) 100%); }
.bgsec__copy { display: grid; gap: 22px; max-width: 620px; }
.bgsec .eyebrow { color: var(--sun); }
.bgsec .lead, .bgsec__copy p:not(.eyebrow) { color: var(--on-dark-2); }
.bgsec .lead { color: var(--on-dark); }
@media (max-width: 760px) { .bgsec::before { background: linear-gradient(180deg, rgba(43, 6, 30, .78) 0%, rgba(43, 6, 30, .92) 100%); } }
@media (prefers-reduced-motion: reduce) { .bgsec__img { transform: none; transition: none; } }

/* banda de Instagram (home) */
.ig { display: grid; grid-template-columns: auto 1fr; gap: 18px 22px; align-items: center; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .3s, transform .4s var(--ease); }
.ig:hover { border-color: var(--sun); transform: translateY(-2px); }
.ig__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg, var(--sun) 0%, var(--brand-2) 55%, var(--night) 100%); }
.ig__icon svg { width: 30px; height: 30px; }
.ig__txt { display: grid; gap: 4px; min-width: 0; }
.ig__txt strong { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -.03em; overflow-wrap: anywhere; }
.ig__txt > span:last-child { color: var(--ink-2); }
.ig__btn { grid-column: 1 / -1; justify-self: start; }
.ig:hover .ig__btn::before { transform: none; }
.ig:hover .ig__btn { color: var(--b-hover-fg); border-color: var(--b-hover); }
@media (min-width: 760px) { .ig { grid-template-columns: auto 1fr auto; } .ig__btn { grid-column: auto; } }

/* =====================================================================
   Capa "Veliora" (oct-2026): referencia de diseño del template Veliora,
   llevada a la paleta de la Fundación (bordó + dorado + sol).
   ===================================================================== */
:root { --r-lg: clamp(14px, 1.1vw, 20px); --r-md: 12px; --r-sm: 8px; --header-h: 96px; }

/* --- Header: tarjeta blanca flotante --- */
.header { inset: 16px 0 auto; height: 72px; color: var(--ink); background: transparent; }
.header__in { background: var(--white); border-radius: 14px; padding: 0 10px 0 20px; gap: 20px; box-shadow: 0 1px 0 rgba(43, 6, 30, .04); transition: box-shadow .4s var(--ease); }
.header.is-solid { background: transparent; backdrop-filter: none; box-shadow: none; color: var(--ink); }
.header.is-solid .header__in { box-shadow: 0 18px 40px -18px rgba(43, 6, 30, .35), 0 0 0 1px var(--line); }
.header.is-hidden { transform: translateY(calc(-100% - 20px)); }
.logo img { height: 40px; }
.logo__light, .header.is-solid .logo__light, .menu-open .header .logo__light { display: none; }
.logo__color, .header.is-solid .logo__color, .menu-open .header .logo__color { display: block; }
.menu-open .header { color: var(--ink); }
.nav { margin-inline: auto; }
.nav a { font-weight: 500; font-size: .9375rem; padding: 10px 12px; }
.nav a::after { left: 12px; right: 12px; bottom: 4px; }
.header__ghost, .header.is-solid .header__ghost { --b-fg: var(--ink); --b-bd: rgba(36, 16, 29, .18); --b-hover: var(--night); --b-hover-fg: var(--white); }
.menu-btn { width: 46px; height: 46px; border-radius: 10px; border: 0; background: var(--night); color: var(--white); }
.menu { clip-path: circle(0 at calc(100% - var(--gutter) - 33px) 52px); }
.menu-open .menu { clip-path: circle(150% at calc(100% - var(--gutter) - 33px) 52px); }

/* --- Botones: rectángulo redondeado + flecha en cajita --- */
.btn { border-radius: 10px; --a-bg: var(--sun); --a-fg: var(--night); }
.btn:has(.arrow) { padding-right: 6px; gap: 14px; }
.btn--sm:has(.arrow) { padding-right: 5px; }
.btn .arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--a-bg); color: var(--a-fg); font-size: 1.1rem; line-height: 1; transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease); }
.btn--sm .arrow { width: 32px; height: 32px; border-radius: 7px; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--sun, .btn--white, .btn--ghost { --a-bg: var(--night); --a-fg: var(--white); }
.btn--ghost:hover { --a-bg: var(--sun); --a-fg: var(--night); }
.btn--ghost-light { --a-bg: var(--sun); --a-fg: var(--night); }

/* --- Etiquetas: chip dorado con punto (como "● About Us") --- */
.eyebrow { justify-self: start; width: fit-content; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 6px; background: var(--sun); color: var(--night); font-size: .8125rem; font-weight: 600; letter-spacing: .01em; text-transform: none; line-height: 1.1; }
.eyebrow::before { width: 7px; height: 7px; background: var(--night); }
.section--dark .eyebrow, .eyebrow--sun, .bgsec .eyebrow, .footer .eyebrow { color: var(--night); }
.section--sun .eyebrow { background: var(--night); color: var(--sun); }
.section--sun .eyebrow::before { background: var(--sun); }
.section-head--center .eyebrow { justify-self: center; }
.chip { border-radius: 6px; }
.chip--dot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* --- Hero en 3 columnas: el título "muerde" la foto central --- */
.hero { padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px)); }
.hero::before { background: radial-gradient(40% 50% at 0% 100%, rgba(92, 19, 66, .5), transparent 70%); }
.hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(28px, 4vw, 48px); }
.hero__top, .hero__bottom { display: grid; gap: clamp(20px, 2vw, 28px); }
.hero__title { font-size: clamp(2.6rem, 1.5rem + 3.9vw, 5.4rem); line-height: 1; }
.hero__title .line { overflow: hidden; padding-bottom: 0; margin-bottom: 0; }
.hero__title .line > span { background: var(--night); padding: .02em .32em .1em 0; border-radius: 0 .24em .24em 0; }
.hero__text { max-width: 40ch; }
.hero__visual { position: relative; }
.hero__photo { aspect-ratio: 4 / 5; }
.hero__photo::after { background: linear-gradient(180deg, transparent 50%, rgba(43, 6, 30, .6)); }
.hero__stat { left: auto; right: clamp(14px, 1.6vw, 24px); bottom: clamp(64px, 6vw, 84px); width: min(260px, 70%); background: rgba(92, 19, 66, .5); backdrop-filter: blur(16px) saturate(1.2); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-md); padding: 18px 20px; gap: 4px; }
.hero__stat b { color: var(--white); font-weight: 600; font-size: clamp(2.6rem, 2rem + 2vw, 4rem); }
.hero__stat span { color: rgba(255, 255, 255, .82); font-size: .875rem; }
.hero__chips { position: absolute; right: clamp(14px, 1.6vw, 24px); bottom: clamp(16px, 1.6vw, 24px); display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.hero__chips .chip { background: var(--white); color: var(--night); font-weight: 600; padding: 7px 11px; }
.hero__sun { width: min(62%, 420px); right: -12%; top: -9%; }
.hero__side { display: none; }
.hero__side-title { font-family: var(--f-display); font-size: clamp(1.35rem, 1rem + .7vw, 1.7rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 650; }
.hero__side p { color: var(--on-dark-2); font-size: .9688rem; line-height: 1.5; }
.hero__side-photo { margin: auto 0 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--night-2); }
.hero__side-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 0; align-items: stretch; }
  .hero__copy { grid-column: 1 / 9; grid-row: 1; }
  .hero__bottom { max-width: calc(500% / 8 - 28px); }
  .hero__visual { grid-column: 6 / 13; grid-row: 1; }
  .hero__photo { height: 100%; aspect-ratio: auto; min-height: 560px; }
}
@media (min-width: 1100px) {
  .hero__copy { grid-column: 1 / 7; }
  .hero__bottom { max-width: calc(400% / 6 - 28px); }
  .hero__visual { grid-column: 5 / 10; }
  .hero__side { grid-column: 10 / 13; grid-row: 1; display: flex; flex-direction: column; gap: 16px; padding-left: clamp(24px, 2.4vw, 40px); }
  .hero__photo { min-height: 620px; }
}
@media (max-width: 899px) {
  .hero__title .line > span { background: transparent; padding-right: 0; }
  .hero__stat { left: auto; }
}
.js .hero__side [data-hero], .js .hero__side[data-hero] { opacity: 0; transform: translateY(18px); }
.is-loaded .hero__side [data-hero] { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(.45s + var(--d, 0) * .1s); }

/* --- Tarjetas y secciones: radios más chicos, bordes finos --- */
.program, .post-card, .card, .give, .episode, .panel, .ig { border-radius: var(--r-lg); }
.section-head--split .eyebrow { margin-bottom: 2px; }
@media (min-width: 900px) {
  .hero__title .line > span { white-space: nowrap; }
  .hero__sun { width: 46%; right: -9%; top: -7%; }
  .hero__side-photo { flex: 1 1 auto; aspect-ratio: auto; min-height: 240px; }
}
.hero__side { position: relative; z-index: 2; }
.hero__photo { margin: 0; }
@media (min-width: 900px) { .hero__sun { width: 42%; right: -5%; top: -6%; } }
