/* =============================================================================
   Chocolatada Navideña · La Hermandad de los Datos
   1) Fuentes  2) Tokens  3) Base  4) Utilidades  5) Componentes
   6) Secciones  7) Responsive  8) Animaciones  9) Movimiento reducido
   ========================================================================== */

/* 1) FUENTES (auto-hospedadas, subset latin) ------------------------------- */
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 600 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../assets/fonts/nunito-sans.woff2") format("woff2");
  font-weight: 200 1000; font-style: normal; font-display: swap;
}

/* 2) TOKENS ---------------------------------------------------------------- */
:root {
  /* Color */
  --verde-950: #072918;
  --verde-900: #0B3B24;
  --verde-800: #0F4A2D;
  --verde-700: #145A32;
  --esmeralda: #1F8A4C;
  --esmeralda-claro: #2FAE66;
  --dorado: #F2C14E;
  --dorado-600: #D9A21B;
  --dorado-suave: #F8DE9C;
  --crema: #FFF8EC;
  --crema-200: #F4EBD9;
  --crema-300: #E9DCC2;
  --kraft: #D8B98C;
  --blanco: #FFFFFF;
  --tinta: #1B2A22;
  --tinta-suave: #4A5A50;
  --rojo: #C8372D;           /* solo corazones y adornos */
  --whatsapp: #25D366;
  --texto-tenue: rgb(255 255 255 / .78);  /* mínimo para texto sobre verde */

  /* Tipografía: escala única */
  --f-titulo: "Fraunces", Georgia, "Times New Roman", serif;
  --f-texto: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-xs: .8rem;
  --t-s: .9rem;
  --t-base: 1.0625rem;
  --t-l: clamp(1.1rem, 1rem + .4vw, 1.25rem);
  --t-xl: clamp(1.8rem, 1.3rem + 2.2vw, 2.9rem);
  --t-xxl: clamp(2.3rem, 1.4rem + 4.2vw, 4.4rem);

  /* Formas */
  --radio-s: 12px;
  --radio: 18px;
  --radio-l: 26px;
  --sombra-s: 0 2px 6px rgb(7 41 24 / .08), 0 1px 2px rgb(7 41 24 / .06);
  --sombra-m: 0 12px 32px -12px rgb(7 41 24 / .3), 0 4px 10px -4px rgb(7 41 24 / .12);
  --sombra-l: 0 30px 60px -20px rgb(0 0 0 / .45);

  /* Espacios */
  --espacio-seccion: clamp(4rem, 3rem + 5vw, 7rem);
  --ancho: 1200px;
  --alto-header: 64px;
  --foco: 0 0 0 3px var(--verde-900), 0 0 0 6px var(--dorado);

  /* Texturas */
  --ruido: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --onda: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34C180 6 360 0 540 14s360 44 540 38S1300 18 1440 26v34Z' fill='%23FFF8EC'/%3E%3C/svg%3E");

  color-scheme: light;
}

/* 3) BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--alto-header) + 16px);
}
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--tinta);
  background: var(--verde-900);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 {
  font-family: var(--f-titulo); font-weight: 700;
  line-height: 1.08; letter-spacing: -.01em;
  margin: 0; text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--foco); border-radius: 6px; }
[hidden] { display: none !important; }
body.sin-scroll { overflow: hidden; }

/* 4) UTILIDADES ------------------------------------------------------------ */
.contenedor {
  width: 100%; max-width: var(--ancho); margin-inline: auto;
  padding-inline: clamp(1.1rem, .6rem + 2.5vw, 2rem);
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icono { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.15em; }
.etiqueta-mayus, .seccion__pre, .dato__etiqueta, .incluye__titulo, .footer__titulo, .confianza__pre {
  font-size: var(--t-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.saltar {
  position: fixed; left: 1rem; top: -100px; z-index: 100;
  background: var(--dorado); color: var(--verde-950);
  padding: .7rem 1.1rem; border-radius: var(--radio-s);
  font-weight: 800; text-decoration: none; transition: top .2s;
}
.saltar:focus { top: 1rem; }

/* 5) COMPONENTES ----------------------------------------------------------- */

/* Botones */
.boton {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; background: none;
  transition: transform .2s ease, background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: translateY(0); }
.boton--chico { min-height: 44px; padding: .5rem 1.15rem; font-size: .95rem; }
.boton--dorado { background: var(--dorado); color: var(--verde-950); box-shadow: 0 8px 24px -8px rgb(242 193 78 / .65); }
.boton--dorado:hover { background: var(--dorado-suave); }
.boton--contorno { border-color: rgb(255 255 255 / .45); color: var(--blanco); }
.boton--contorno:hover { border-color: var(--dorado); color: var(--dorado); }
.boton--whatsapp { background: var(--whatsapp); color: var(--verde-950); box-shadow: 0 8px 22px -10px rgb(37 211 102 / .7); }
.boton--whatsapp:hover { background: #4BE07F; }
.boton--claro { background: var(--blanco); color: var(--verde-900); border-color: var(--crema-300); }
.boton--claro:hover { border-color: var(--esmeralda); }
.boton .icono { width: 1.1em; height: 1.1em; }
/* Brillo que recorre el CTA principal al entrar en pantalla */
.boton--brillo::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / .65), transparent);
  transform: skewX(-20deg); pointer-events: none;
  animation: brillo 1.4s ease 1.2s 2;
}

/* Etiqueta tipo pill */
.etiqueta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .95rem; border-radius: 999px;
  background: rgb(242 193 78 / .14); color: var(--dorado);
  border: 1px solid rgb(242 193 78 / .35);
  font-weight: 800; font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase;
}

/* Badge "Ejemplo" (contenido provisional; neutro para no competir) */
.badge-demo {
  position: absolute; top: .55rem; right: .55rem; z-index: 3;
  padding: .1rem .5rem; border-radius: 999px;
  background: rgb(27 42 34 / .78); color: var(--blanco);
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.6;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgb(11 59 36 / .82);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.header.con-scroll { border-color: rgb(242 193 78 / .2); background: rgb(7 41 24 / .92); }
.header__barra { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--alto-header); }
.marca { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--blanco); }
.marca { flex: none; padding-block: 4px; }
.marca__logo { width: auto; height: clamp(46px, 40px + 1.2vw, 54px); }
.marca:hover .marca__logo { opacity: .9; }
.nav { display: none; }
.nav ul { display: flex; gap: .2rem; list-style: none; }
.nav a, .chips a {
  display: block; padding: .5rem .9rem; border-radius: 999px;
  color: var(--texto-tenue); text-decoration: none; font-weight: 700; font-size: .95rem;
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--blanco); background: rgb(255 255 255 / .08); }
.nav a[aria-current="true"], .chips a[aria-current="true"] { color: var(--verde-950); background: var(--dorado); }

/* Chips de navegación (móvil) */
.chips {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .3s ease, opacity .3s ease;
}
.header.pasado-hero .chips { max-height: 60px; opacity: 1; }
.chips ul {
  display: flex; gap: .4rem; list-style: none;
  overflow-x: auto; scrollbar-width: none; padding-block: 0 .6rem;
}
.chips ul::-webkit-scrollbar { display: none; }
.chips a { padding: .3rem .85rem; font-size: var(--t-s); white-space: nowrap; border: 1px solid rgb(255 255 255 / .18); }

/* Encabezado de sección */
.seccion { padding-block: var(--espacio-seccion); position: relative; }
.seccion--crema { background: var(--crema) var(--ruido); background-blend-mode: multiply; }
.seccion--verde { background: var(--verde-800); color: var(--blanco); }
.seccion__cabecera { max-width: 46rem; margin: 0 auto clamp(2.2rem, 1.5rem + 2vw, 3.2rem); text-align: center; }
.seccion__cabecera h2 { font-size: var(--t-xl); color: var(--verde-900); margin-bottom: 1rem; }
.seccion__cabecera p:not(.seccion__pre) { font-size: var(--t-l); color: var(--tinta-suave); }
.seccion__cabecera--claro h2 { color: var(--blanco); }
.seccion__cabecera--claro p:not(.seccion__pre) { color: var(--texto-tenue); }
.seccion__pre { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .9rem; color: var(--esmeralda); }
.seccion__pre::before, .seccion__pre::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .6; }
.seccion--verde .seccion__pre, .donar .seccion__pre { color: var(--dorado); }

/* Transición en onda entre secciones */
.hero::before, .seccion--onda::after, .seccion--onda::before {
  content: ""; position: absolute; left: 0; right: 0; height: clamp(28px, 4vw, 56px);
  background: var(--onda) no-repeat center / 100% 100%; pointer-events: none; z-index: 1;
}
.hero::before, .seccion--onda::after { bottom: -1px; }
.seccion--onda::before { top: -1px; transform: scale(-1, -1); }

/* Sin sección Padrinos: Actividades pasa directo a Donar (ambas verdes) */
.sin-padrinos .seccion--onda::after { display: none; }
.sin-padrinos .seccion--onda { padding-bottom: var(--espacio-seccion); }

/* Estado vacío */
.vacio {
  text-align: center; padding: 2rem 1.2rem;
  border: 2px dashed var(--crema-300); border-radius: var(--radio);
  color: var(--tinta-suave); max-width: 40rem; margin-inline: auto;
}
.vacio--claro { border-color: rgb(255 255 255 / .25); color: var(--texto-tenue); }
.vacio .boton { margin-top: 1rem; }

/* Invitación (sponsors / padrinos) */
.invitacion {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.4rem;
  max-width: 52rem; margin: clamp(2rem, 1.5rem + 2vw, 3rem) auto 0;
  padding: 1.1rem 1.4rem; border-radius: var(--radio);
  border: 1.5px dashed var(--crema-300); background: rgb(255 255 255 / .55);
  text-align: center; color: var(--tinta-suave);
}
.invitacion strong { color: var(--verde-900); }

/* 6) SECCIONES ------------------------------------------------------------- */

/* --- HERO --- */
.hero {
  position: relative; overflow: hidden; color: var(--blanco);
  padding-block: clamp(3.5rem, 2rem + 6vw, 6rem) clamp(7rem, 5rem + 6vw, 10rem);
  background:
    radial-gradient(60% 50% at 85% 30%, rgb(47 174 102 / .28), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgb(31 138 76 / .25), transparent 70%),
    linear-gradient(180deg, var(--verde-900), var(--verde-950));
}
.bokeh { position: absolute; inset: 0; pointer-events: none; }
.bokeh span {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, var(--dorado-suave), transparent 70%);
  filter: blur(2px); opacity: .12;
}
.bokeh span:nth-child(1) { width: 180px; height: 180px; left: 62%; top: 18%; }
.bokeh span:nth-child(2) { width: 90px; height: 90px; left: 88%; top: 62%; opacity: .16; }
.bokeh span:nth-child(3) { width: 240px; height: 240px; left: -4%; top: 58%; opacity: .07; }
.bokeh span:nth-child(4) { width: 60px; height: 60px; left: 46%; top: 8%; opacity: .18; }
.bokeh span:nth-child(5) { width: 120px; height: 120px; left: 74%; top: 78%; opacity: .1; }

.guirnalda { position: absolute; top: 0; left: 0; right: 0; height: 70px; pointer-events: none; z-index: 2; }
.guirnalda__cable { position: absolute; inset: 0; width: 100%; height: 100%; }
.guirnalda__focos { position: absolute; inset: 0; }
.foco {
  position: absolute; width: 10px; height: 14px; margin-left: -5px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--c, var(--dorado)); box-shadow: 0 0 10px 2px var(--c, var(--dorado));
}
.foco::before { content: ""; position: absolute; top: -4px; left: 2px; width: 6px; height: 5px; border-radius: 2px; background: #2B3A2F; }

/* Ramas y esferas */
.adorno {
  position: absolute; top: -22px; z-index: 1; pointer-events: none;
  width: clamp(140px, 19vw, 280px); aspect-ratio: 310 / 185;
}
.adorno--izq { left: clamp(-70px, -4vw, -30px); }
.adorno--der { right: clamp(-70px, -4vw, -30px); transform: scaleX(-1); }
.adorno .pino { width: 100%; height: 100%; }
.esfera {
  position: absolute; left: var(--x); top: var(--y);
  width: clamp(22px, 2.6vw, 34px); aspect-ratio: 40 / 52; margin-left: -.8%;
  transform-origin: 50% 0; animation: mecer 5s ease-in-out infinite;
  filter: drop-shadow(0 6px 8px rgb(0 0 0 / .35));
}
.esfera--roja { color: var(--rojo); }
.esfera--dorada { color: var(--dorado-600); animation-delay: -2s; }

.hero__grid { position: relative; z-index: 2; display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
.hero__texto { max-width: 40rem; }
.hero__titulo { font-size: var(--t-xxl); margin-block: 1.2rem .7rem; }
.resaltado { color: var(--dorado); position: relative; white-space: nowrap; }
.resaltado::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: .2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8C50 2 130 2 198 7' fill='none' stroke='%23F2C14E' stroke-width='4' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hero__bajada { font-family: var(--f-titulo); font-style: italic; font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); color: var(--dorado-suave); }
.hero__mensaje { margin-top: 1.1rem; font-size: var(--t-l); color: rgb(255 255 255 / .86); max-width: 34rem; }

.datos { list-style: none; margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.dato {
  display: flex; flex-direction: column;
  padding: .85rem .9rem .8rem; border-radius: var(--radio);
  background: var(--crema); color: var(--verde-900); box-shadow: var(--sombra-m);
}
.dato--destacado { background: var(--dorado); }
.dato__etiqueta { display: flex; align-items: center; gap: .35rem; color: var(--tinta-suave); letter-spacing: .08em; }
.dato__etiqueta .icono { color: var(--esmeralda); }
.dato--destacado .dato__etiqueta { color: var(--verde-900); }
.dato--destacado .dato__etiqueta .icono { color: var(--rojo); }
.dato__valor {
  margin-top: .25rem; font-family: var(--f-titulo); font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.dato__pie { margin-top: .2rem; font-size: var(--t-s); font-weight: 700; color: var(--tinta-suave); }
.dato--destacado .dato__pie { color: var(--verde-900); }
#contador { color: var(--esmeralda); }

.incluye { margin-top: 1.2rem; }
.incluye__titulo { color: var(--dorado); margin-bottom: .55rem; }
.incluye__lista { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.incluye__lista li {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  padding: .75rem .4rem .65rem; border-radius: var(--radio-s);
  background: rgb(255 255 255 / .05); border: 1px solid rgb(242 193 78 / .3);
  font-weight: 700; font-size: var(--t-s); text-align: center;
}
.incluye__lista svg { width: 34px; height: 34px; }

.hero__acciones { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Composición visual */
.hero__visual { position: relative; width: min(100%, 300px); margin-inline: auto; aspect-ratio: 1 / 1.05; }
.polaroid {
  position: absolute; margin: 0; width: 58%; top: 0; left: 0; z-index: 2;
  padding: .6rem .6rem 0; background: var(--crema);
  border-radius: 6px; box-shadow: var(--sombra-l);
  transform: rotate(-5deg); transition: transform .4s ease;
}
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.polaroid figcaption {
  padding: .55rem .2rem .7rem; text-align: center;
  font-family: var(--f-titulo); font-style: italic; font-weight: 600;
  font-size: clamp(.8rem, .7rem + .4vw, 1.02rem); color: var(--verde-900); line-height: 1.2;
}
.polaroid::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 26px; margin-left: -42px;
  background: rgb(248 222 156 / .75); transform: rotate(-3deg); border-radius: 2px;
}
.kraft {
  position: absolute; right: 2%; bottom: 0; z-index: 1; width: 50%; aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 1rem; border-radius: 6px;
  background: var(--kraft) var(--ruido); background-blend-mode: multiply;
  color: var(--verde-900); box-shadow: var(--sombra-l);
  transform: rotate(5deg); transition: transform .4s ease;
}
.kraft::before { /* borde punteado tipo etiqueta */
  content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgb(11 59 36 / .35); border-radius: 4px;
}
.kraft__estrella { width: 22px; height: 22px; color: var(--dorado-600); margin-bottom: .2rem; }
.kraft__pre { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.kraft__cifra { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(2.6rem, 2rem + 2.5vw, 4rem); line-height: .95; }
.kraft__texto { font-family: var(--f-titulo); font-style: italic; font-weight: 600; font-size: clamp(.85rem, .75rem + .4vw, 1.05rem); line-height: 1.15; }
.kraft__iconos { display: flex; gap: .3rem; margin-top: .6rem; }
.kraft__iconos svg { width: clamp(20px, 2.2vw, 28px); height: clamp(20px, 2.2vw, 28px); }
.hero__visual:hover .polaroid { transform: rotate(-3deg) translateY(-6px); }
.hero__visual:hover .kraft { transform: rotate(7deg) translateY(-4px); }
.sello {
  position: absolute; z-index: 3; left: 6%; bottom: 6%;
  width: clamp(70px, 22%, 100px); aspect-ratio: 1;
  display: grid; place-content: center; text-align: center;
  border-radius: 50%; background: var(--rojo); color: var(--blanco);
  border: 2px dashed rgb(255 255 255 / .55);
  box-shadow: 0 0 0 5px var(--rojo), var(--sombra-l);
  transform: rotate(-10deg);
}
.sello span { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: .9; }
.sello small { font-size: var(--t-xs); font-weight: 800; letter-spacing: .14em; }

/* Progreso */
.progreso { position: relative; z-index: 2; margin-top: 3rem; }
.progreso__caja { padding: 1.2rem 1.4rem; border-radius: var(--radio); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .15); }
.progreso__texto { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; font-weight: 700; margin-bottom: .7rem; }
.progreso__texto strong { color: var(--dorado); font-family: var(--f-titulo); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.progreso__barra { height: 14px; border-radius: 999px; background: rgb(255 255 255 / .12); overflow: hidden; }
.progreso__relleno { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--esmeralda-claro), var(--dorado)); transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
.progreso__nota { margin-top: .6rem; font-size: var(--t-s); color: var(--texto-tenue); }

/* --- CONFIANZA --- */
.confianza { position: relative; z-index: 3; background: var(--crema) var(--ruido); background-blend-mode: multiply; }
.confianza__tarjeta {
  position: relative; top: clamp(-5.5rem, -3rem - 3vw, -3.5rem); margin-bottom: clamp(-5.5rem, -3rem - 3vw, -3.5rem);
  display: grid; gap: 0;
  background: var(--blanco); border-radius: var(--radio-l);
  box-shadow: var(--sombra-l), 0 0 0 1px var(--crema-200);
}
.confianza__item { display: flex; gap: .9rem; align-items: flex-start; padding: 1.25rem 1.3rem; }
.confianza__item + .confianza__item { border-top: 1px solid var(--crema-200); }
.confianza__item--persona img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--blanco), 0 0 0 5px var(--dorado); flex: none; }
.confianza__pre { color: var(--esmeralda); }
.confianza__titulo { font-family: var(--f-titulo); font-weight: 700; font-size: 1.15rem; color: var(--verde-900); line-height: 1.2; }
.confianza__texto { margin-top: .15rem; font-size: var(--t-s); color: var(--tinta-suave); line-height: 1.45; }
.confianza__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem; min-height: 32px; font-size: var(--t-s); font-weight: 800; color: #0A66C2; text-decoration: none; }
.confianza__link:hover { text-decoration: underline; }
.confianza__icono { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--crema); }
.confianza__icono svg { width: 30px; height: 30px; }
.confianza__icono--verde { color: var(--esmeralda); background: rgb(31 138 76 / .1); }
.confianza__icono--verde svg { width: 26px; height: 26px; }

/* --- SPONSORS --- */
.seccion--sponsors { padding-top: clamp(4.5rem, 3.5rem + 4vw, 6.5rem); padding-bottom: clamp(5rem, 4rem + 4vw, 7rem); }
.grilla-sponsors, .grilla-padrinos {
  --cols: 2; --gap: clamp(.7rem, .5rem + .8vw, 1.1rem);
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap);
}
.grilla-sponsors > li, .grilla-padrinos > li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.sponsor { position: relative; display: flex; }
.grilla-sponsors { max-width: 980px; margin-inline: auto; }
.sponsor__tarjeta {
  position: relative; flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  padding: .6rem .6rem .85rem; border-radius: var(--radio);
  background: var(--blanco); border: 1px solid var(--crema-200);
  box-shadow: var(--sombra-s); text-decoration: none; color: var(--tinta);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.sponsor__tarjeta:hover { transform: translateY(-4px); box-shadow: var(--sombra-m); border-color: var(--dorado); }
.sponsor__logo {
  width: 100%; aspect-ratio: 1; display: grid; place-items: center;
  border-radius: calc(var(--radio) - 6px); overflow: hidden; background: var(--crema-200);
}
.sponsor__logo img { width: 100%; height: 100%; object-fit: cover; }
.sponsor__nombre { font-weight: 800; font-size: var(--t-s); text-align: center; line-height: 1.3; color: var(--verde-900); }
.sponsor__respaldo { font-family: var(--f-titulo); font-weight: 700; font-size: 1.15rem; text-align: center; color: var(--verde-900); padding: .5rem; }

/* --- ACTIVIDADES --- */
.seccion--onda { padding-block: calc(var(--espacio-seccion) + 1.5rem); }
.actividades { display: grid; grid-template-areas: "cab" "car" "ctl"; }
.actividades__cabecera { grid-area: cab; }
.carrusel { grid-area: car; }
.carrusel__controles { grid-area: ctl; }

.carrusel { --ratio: 9 / 16; --cols: 1.3; --gap: 1rem; position: relative; min-width: 0; }
.carrusel__pista {
  list-style: none; margin: 0 0 -1.4rem; padding: .6rem .1rem 2.4rem;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding-inline: .1rem;
  scrollbar-width: none; border-radius: var(--radio-l);
}
.carrusel__pista::-webkit-scrollbar { display: none; }
.carrusel__pista:focus-visible { box-shadow: var(--foco); }
.carrusel__pista.arrastrando { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.carrusel__pista.arrastrando .slide__boton { pointer-events: none; }
.slide { position: relative; display: flex; scroll-snap-align: start; }
.slide__boton {
  position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0;
  border-radius: 22px; overflow: hidden; color: var(--blanco); text-align: left;
  background: var(--verde-950);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .08), var(--sombra-l);
  transition: transform .35s ease, box-shadow .35s ease;
}
.slide__boton:hover { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--dorado), var(--sombra-l); }
.slide__boton:focus-visible { box-shadow: var(--foco); border-radius: 22px; }
.slide__marco {
  position: relative; display: block; flex: none; aspect-ratio: var(--ratio); overflow: hidden;
  background: linear-gradient(110deg, var(--verde-950) 30%, var(--verde-700) 50%, var(--verde-950) 70%) 0 0 / 300% 100%;
  animation: shimmer 1.6s linear infinite;
}
.slide__marco::before { /* fondo desenfocado: rellena el espacio si la imagen no calza en el formato */
  content: ""; position: absolute; inset: -24px;
  background: var(--fondo) center / cover no-repeat;
  filter: blur(18px) brightness(.55) saturate(1.2);
  opacity: 0; transition: opacity .5s ease;
}
.slide__marco.cargada { animation: none; background: var(--verde-950); }
.slide__marco.cargada::before { opacity: 1; }
.slide__marco img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity .5s ease, transform .6s ease;
}
.carrusel--cover .slide__marco img { object-fit: cover; }
.slide__marco.cargada img { opacity: 1; }
.slide__boton:hover .slide__marco img { transform: scale(1.03); }
.slide__info { display: block; flex: 1; padding: .9rem 1rem 1.05rem; border-top: 1px solid rgb(242 193 78 / .25); }
.slide__titulo { display: block; font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.2; }
.slide__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: .3rem; font-size: var(--t-s); line-height: 1.4; color: var(--texto-tenue); }
.slide__fecha { display: inline-block; margin-bottom: .45rem; padding: .15rem .55rem; border-radius: 999px; background: rgb(242 193 78 / .18); color: var(--dorado); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.slide__ampliar { position: absolute; top: .8rem; left: .8rem; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(7 41 24 / .55); color: var(--blanco); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s, color .2s; }
.slide__ampliar svg { width: 16px; height: 16px; }
.slide__boton:hover .slide__ampliar { background: var(--dorado); color: var(--verde-950); }

.carrusel__controles { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 1.2rem; }
.carrusel__boton {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 50%; border: 2px solid rgb(255 255 255 / .35); background: transparent; color: var(--blanco);
  transition: background-color .2s, border-color .2s, color .2s, opacity .2s;
}
.carrusel__boton:hover:not(:disabled) { background: var(--dorado); border-color: var(--dorado); color: var(--verde-950); }
.carrusel__boton:disabled { opacity: .35; cursor: default; }
.carrusel__boton .icono { width: 22px; height: 22px; }
.carrusel__progreso { position: relative; flex: 0 1 200px; height: 4px; border-radius: 999px; background: rgb(255 255 255 / .18); overflow: hidden; }
.carrusel__progreso span { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; border-radius: inherit; background: var(--dorado); transition: left .15s linear, width .15s linear; }
.carrusel__ayuda { margin-top: .6rem; text-align: center; font-size: var(--t-s); color: var(--texto-tenue); }

/* --- VISOR --- */
.visor { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--blanco); }
.visor::backdrop { background: rgb(4 22 13 / .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.visor[open] { display: grid; place-items: center; animation: aparecer .25s ease; }
.visor__contenido { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: calc(3.8rem + env(safe-area-inset-top, 0px)) 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); }
.visor__figura { margin: 0; height: 100%; max-height: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; }
.visor__figura img { min-height: 0; max-width: min(100%, 560px); max-height: calc(100% - 6rem); width: auto; height: auto; object-fit: contain; border-radius: 18px; box-shadow: var(--sombra-l); background: var(--verde-950); }
.visor__figura figcaption { max-width: 560px; text-align: center; }
.visor__figura figcaption strong { display: block; font-family: var(--f-titulo); font-size: 1.25rem; }
.visor__figura figcaption span { display: block; margin-top: .2rem; font-size: .95rem; color: var(--texto-tenue); }
.visor__cerrar, .compartir__cerrar { position: absolute; z-index: 2; top: calc(.8rem + env(safe-area-inset-top, 0px)); right: .8rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: var(--blanco); font-size: 2rem; line-height: 1; }
.visor__cerrar:hover { background: var(--dorado); color: var(--verde-950); }
.visor__nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: var(--blanco); }
.visor__nav:hover { background: var(--dorado); color: var(--verde-950); }
.visor__nav .icono { width: 24px; height: 24px; }
.visor__nav--ant { left: .6rem; }
.visor__nav--sig { right: .6rem; }
.visor__contador { position: absolute; top: calc(1.4rem + env(safe-area-inset-top, 0px)); left: 1.2rem; font-weight: 800; font-size: var(--t-s); color: var(--texto-tenue); font-variant-numeric: tabular-nums; }

/* --- PADRINOS --- */
.padrinos__resumen {
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  margin: -1rem auto 2.2rem; color: var(--tinta-suave); font-weight: 700;
}
.padrinos__resumen strong { font-family: var(--f-titulo); font-size: clamp(2.6rem, 2rem + 2.5vw, 3.6rem); line-height: 1; color: var(--esmeralda); font-variant-numeric: tabular-nums; }
.padrino {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.1rem .8rem 1rem; border-radius: var(--radio);
  background: var(--blanco); border: 1px solid var(--crema-200);
  box-shadow: var(--sombra-s); text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.padrino:hover { transform: translateY(-3px); box-shadow: var(--sombra-m); }
.padrino__avatar {
  position: relative; width: 60px; height: 60px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, var(--esmeralda), var(--verde-900) 75%);
  color: var(--dorado); font-family: var(--f-titulo); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em;
  box-shadow: 0 0 0 3px var(--blanco), 0 0 0 4.5px var(--dorado);
}
.padrino__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.padrino__estrella { position: absolute; right: -6px; bottom: -4px; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--dorado); color: var(--verde-900); }
.padrino__nombre { font-weight: 800; font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; color: var(--verde-900); }
/* Modo muro (muchos padrinos) */
.grilla-padrinos--muro { gap: .55rem; }
.grilla-padrinos--muro > li { flex: 0 1 auto; }
.grilla-padrinos--muro .padrino { flex-direction: row; gap: .55rem; padding: .3rem .95rem .3rem .3rem; border-radius: 999px; }
.grilla-padrinos--muro .padrino__avatar { width: 34px; height: 34px; font-size: .8rem; box-shadow: 0 0 0 2px var(--dorado); }
.grilla-padrinos--muro .padrino__estrella { display: none; }
.grilla-padrinos--muro .padrino__nombre { font-size: var(--t-s); }
.grilla-padrinos--muro .badge-demo { position: static; margin-left: .2rem; }
.padrinos__nota { margin-top: 1.6rem; text-align: center; font-size: var(--t-s); color: var(--tinta-suave); }

/* --- DONAR --- */
.donar {
  color: var(--blanco); padding-top: calc(var(--espacio-seccion) + 1.5rem);
  background:
    radial-gradient(55% 60% at 100% 0%, rgb(47 174 102 / .3), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgb(242 193 78 / .12), transparent 70%),
    var(--verde-900);
}
.guirnalda--mini { height: 50px; }
.guirnalda--mini .foco { width: 8px; height: 11px; margin-left: -4px; }
.donar__grid { position: relative; z-index: 1; display: grid; gap: 2rem; grid-template-areas: "intro" "yape" "detalle"; }
.donar__intro { grid-area: intro; }
.yape { grid-area: yape; }
.donar__detalle { grid-area: detalle; }
.donar__intro h2 { font-size: var(--t-xl); margin-bottom: 1rem; }
.donar__mensaje { font-size: var(--t-l); color: rgb(255 255 255 / .88); max-width: 34rem; }
.donar__mensaje strong { color: var(--dorado); }
.donar__subtitulo { font-family: var(--f-titulo); font-weight: 700; font-size: 1.3rem; margin-bottom: .9rem; }

/* Tarjeta Yape */
.yape {
  align-self: start; width: 100%; max-width: 440px; margin-inline: auto;
  padding: 1.4rem 1.2rem 1.2rem; border-radius: var(--radio-l);
  background: var(--crema); color: var(--tinta); box-shadow: var(--sombra-l);
}
.yape__titulo { font-family: var(--f-titulo); font-weight: 600; font-size: 1.35rem; text-align: center; color: var(--verde-900); margin-bottom: 1rem; }
.yape__titulo strong { font-weight: 700; }
.yape__tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: .25rem;
  padding: .25rem; margin-bottom: 1.1rem; border-radius: 999px; background: var(--crema-200);
}
.yape__tabs button {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: .4rem .6rem; border: 0; border-radius: 999px; background: transparent;
  font-weight: 800; font-size: var(--t-s); color: var(--tinta-suave);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.yape__tabs button[aria-selected="true"] { background: var(--blanco); color: var(--verde-900); box-shadow: var(--sombra-s); }
.yape__panel { animation: aparecer .3s ease; }
.no-js .yape__panel + .yape__panel { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--crema-300); }
.yape__opcion { padding: 1rem; border-radius: var(--radio); background: var(--blanco); border: 1px solid var(--crema-200); }
.yape__opcion-titulo { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--verde-900); margin-bottom: .55rem; }
.yape__num { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--verde-900); color: var(--dorado); font-size: .78rem; font-weight: 800; }
.yape__nota { margin-top: .55rem; font-size: var(--t-s); color: var(--tinta-suave); line-height: 1.45; }
.yape__nota strong { color: var(--verde-900); }
.yape__o { display: flex; align-items: center; gap: .8rem; margin: .7rem 0; color: var(--tinta-suave); font-weight: 800; font-size: var(--t-s); }
.yape__o::before, .yape__o::after { content: ""; flex: 1; height: 1px; background: var(--crema-300); }
.yape__opcion--qr { display: grid; grid-template-columns: 92px 1fr; gap: .9rem; align-items: start; }
.yape__opcion--qr .yape__opcion-titulo { margin-bottom: 0; }
.yape__opcion--qr .boton { margin-top: .7rem; }
.yape__qr-mini { width: 92px; height: auto; padding: 5px; background: var(--blanco); border: 1px solid var(--crema-300); border-radius: 10px; }
.yape__qr { width: min(100%, 260px); margin: 0 auto; padding: 12px; background: var(--blanco); border-radius: var(--radio); border: 2px solid var(--crema-300); }
.yape__qr img { width: 100%; }
.yape__ayuda { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: .8rem; font-weight: 800; color: var(--verde-900); }

.numero {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .45rem .45rem .45rem 1rem; border-radius: 999px;
  background: var(--crema); border: 1.5px solid var(--crema-300);
}
.numero__valor { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.35rem, 1.2rem + .8vw, 1.65rem); color: var(--verde-900); letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.numero__copiar {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .4rem 1rem;
  border: 0; border-radius: 999px; background: var(--verde-900); color: var(--blanco);
  font-weight: 800; font-size: var(--t-s); transition: background-color .2s;
}
.numero__copiar:hover { background: var(--esmeralda); }
.numero__copiar.copiado { background: var(--esmeralda); }
.numero--compacto { margin-top: 1rem; flex-wrap: wrap; justify-content: center; padding: .4rem .4rem .4rem .9rem; }
.numero--compacto .numero__valor { font-size: 1.2rem; }
.numero__etiqueta { font-size: var(--t-s); color: var(--tinta-suave); font-weight: 700; }

.responsable {
  display: flex; align-items: center; gap: .8rem; margin-top: 1.1rem; padding: .7rem .8rem;
  border-radius: var(--radio); background: var(--verde-900); color: var(--blanco);
}
.responsable img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--dorado); }
.responsable > div { flex: 1; min-width: 0; }
.responsable__nombre { font-family: var(--f-titulo); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.responsable__rol { font-size: var(--t-xs); color: var(--texto-tenue); }
.responsable__tel { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .1); color: var(--dorado); }
.responsable__tel:hover { background: var(--dorado); color: var(--verde-950); }

/* Montos y pasos */
.montos { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.montos li {
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  padding: .9rem .5rem; border-radius: var(--radio);
  background: rgb(255 255 255 / .05); border: 1px solid rgb(242 193 78 / .35); text-align: center;
}
.montos__valor { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); color: var(--dorado); line-height: 1.1; font-variant-numeric: tabular-nums; }
.montos__ninos { font-weight: 700; font-size: var(--t-s); color: var(--texto-tenue); }
.montos__nota { margin-top: .7rem; font-size: var(--t-s); color: var(--texto-tenue); }
.despues { margin-top: 2rem; padding: 1.3rem; border-radius: var(--radio); background: rgb(0 0 0 / .14); border: 1px solid rgb(255 255 255 / .08); }
.despues .boton { margin-top: 1.1rem; }
.pasos { list-style: none; counter-reset: paso; display: grid; gap: .7rem; }
.pasos li { counter-increment: paso; position: relative; padding: .2rem 0 0 2.6rem; min-height: 2rem; color: rgb(255 255 255 / .9); }
.pasos li::before {
  content: counter(paso); position: absolute; left: 0; top: 0;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center;
  background: rgb(242 193 78 / .15); border: 1px solid var(--dorado); color: var(--dorado); font-weight: 800; font-size: var(--t-s);
}
.pasos strong { color: var(--blanco); }
.pasos a { color: var(--dorado); }
.compromiso {
  display: flex; gap: .8rem; align-items: flex-start; margin-top: 1.5rem;
  padding: 1rem 1.1rem; border-radius: var(--radio-s);
  border-left: 3px solid var(--dorado); background: rgb(242 193 78 / .08);
  font-size: var(--t-s); color: rgb(255 255 255 / .88);
}
.compromiso .icono { width: 24px; height: 24px; color: var(--dorado); margin-top: .1rem; }
.compromiso strong { color: var(--dorado); }

/* --- FOOTER --- */
.footer { background: var(--verde-950); color: var(--texto-tenue); padding-block: 3rem calc(6rem + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.footer__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.4rem 1.6rem; margin-bottom: 3rem; border-radius: var(--radio-l);
  background: linear-gradient(120deg, var(--verde-800), var(--verde-700)); border: 1px solid rgb(242 193 78 / .25);
}
.footer__cta-texto { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); color: var(--blanco); line-height: 1.2; }
.footer__cta-texto span { color: var(--dorado); white-space: nowrap; }
.footer__cta-botones { display: flex; flex-wrap: wrap; gap: .7rem; }
.footer__grid { display: grid; gap: 2rem; }
.footer__logo { width: min(220px, 70%); height: auto; margin-bottom: .9rem; }
.footer__titulo { color: var(--dorado); margin-bottom: .6rem; }
.footer p + p { margin-top: .35rem; }
.footer a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; min-height: 32px; }
.footer a:hover { color: var(--dorado); }
.footer__legal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .1);
  font-size: .85rem; color: var(--texto-tenue);
}
.footer__legal .icono { color: var(--rojo); }
.footer__arriba { font-weight: 800; }
.footer__arriba .icono { color: currentColor; }

/* --- BARRA DE DONACIÓN (móvil) --- */
.barra-movil {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem clamp(1.1rem, 4vw, 2rem) calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgb(7 41 24 / .9); color: var(--blanco);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid rgb(242 193 78 / .25);
  transform: translateY(110%); transition: transform .3s ease;
}
.barra-movil.visible { transform: none; }
.barra-movil__texto { font-weight: 700; font-size: .95rem; }
.barra-movil__texto strong { font-family: var(--f-titulo); font-size: 1.25rem; color: var(--dorado); }

/* --- COMPARTIR (dialog) --- */
.compartir { width: min(100% - 2rem, 420px); padding: 0; border: 0; border-radius: var(--radio-l); background: var(--crema); color: var(--tinta); box-shadow: var(--sombra-l); }
.compartir::backdrop { background: rgb(4 22 13 / .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.compartir[open] { animation: aparecer .25s ease; }
.compartir__caja { position: relative; padding: 1.8rem 1.4rem 1.4rem; }
.compartir__cerrar { top: .6rem; right: .6rem; width: 44px; height: 44px; background: var(--crema-200); color: var(--verde-900); font-size: 1.7rem; }
.compartir__titulo { font-family: var(--f-titulo); font-weight: 700; font-size: 1.4rem; color: var(--verde-900); padding-right: 2.5rem; }
.compartir__texto { margin-top: .4rem; font-size: var(--t-s); color: var(--tinta-suave); }
.compartir__opciones { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.2rem; }
.compartir__op {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px;
  border-radius: var(--radio-s); border: 1px solid var(--crema-300); background: var(--blanco);
  font-weight: 800; font-size: .95rem; color: var(--verde-900); text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.compartir__op:hover { border-color: var(--esmeralda); transform: translateY(-2px); }
.compartir__op .icono { width: 20px; height: 20px; }
.compartir__op--wa .icono { color: #1DA851; }
.compartir__op--in .icono { color: #0A66C2; }
.compartir__op--fb .icono { color: #1877F2; }

/* --- BOTÓN DE MÚSICA --- */
.musica {
  position: fixed; z-index: 45; right: 1rem;
  bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border-radius: 50%; border: 1px solid rgb(242 193 78 / .45);
  background: rgb(7 41 24 / .88); color: var(--dorado);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: var(--sombra-l);
  transition: transform .2s ease, background-color .2s, color .2s;
}
.musica:hover { transform: scale(1.06); background: var(--dorado); color: var(--verde-950); }
.musica .icono { width: 22px; height: 22px; grid-area: 1 / 1; }
.musica__on { display: none !important; }
.musica.sonando .musica__on { display: block !important; }
.musica.sonando .musica__off { display: none; }
.musica__ondas { position: absolute; inset: -4px; border-radius: 50%; pointer-events: none; }
.musica__ondas i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--dorado); opacity: 0; }
.musica.sonando .musica__ondas i { animation: onda-musica 2.4s ease-out infinite; }
.musica.sonando .musica__ondas i:nth-child(2) { animation-delay: .8s; }
.musica.sonando .musica__ondas i:nth-child(3) { animation-delay: 1.6s; }
@keyframes onda-musica { 0% { transform: scale(.9); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }

/* --- AVISO (toast) --- */
.aviso {
  position: fixed; left: 50%; bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); z-index: 60;
  padding: .7rem 1.2rem; border-radius: 999px;
  background: var(--verde-950); color: var(--blanco); font-weight: 800; font-size: .95rem;
  box-shadow: var(--sombra-l); border: 1px solid rgb(242 193 78 / .4);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.aviso.visible { opacity: 1; transform: translate(-50%, 0); }
.aviso:empty { padding: 0; border: 0; }

/* 7) RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 767px) {
  html { scroll-padding-top: calc(var(--alto-header) + 60px); }
}
@media (max-width: 400px) {
  .boton { padding-inline: 1.15rem; }
  .hero__acciones .boton { flex: 1 1 auto; }
  .dato { padding-inline: .7rem; }
  .yape__tabs button .icono { display: none; }
}
@media (min-width: 480px) {
  .carrusel { --cols: 1.7; }
  .hero__visual { width: min(100%, 360px); }
}
@media (min-width: 640px) {
  .carrusel { --cols: 2.3; }
  .grilla-sponsors, .grilla-padrinos { --cols: 3; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .confianza__tarjeta { grid-template-columns: repeat(3, 1fr); }
  .confianza__item + .confianza__item { border-top: 0; border-left: 1px solid var(--crema-200); }
  .confianza__item--persona { flex-direction: column; }
  .confianza__item { flex-direction: column; padding: 1.5rem; }
}
@media (min-width: 768px) {
  .nav { display: block; }
  .chips, .barra-movil { display: none; }
  .header__cta { display: none; }
  .footer { padding-bottom: 2.5rem; }
  .aviso { bottom: 2rem; }
  .musica { bottom: 1.5rem; right: 1.5rem; }
  .grilla-sponsors, .grilla-padrinos { --cols: 4; }
}
@media (min-width: 900px) {
  .carrusel { --cols: 3.2; --gap: 1.25rem; }
  .actividades { grid-template-areas: "cab ctl" "car car"; grid-template-columns: 1fr auto; align-items: end; column-gap: 2rem; }
  .actividades__cabecera { text-align: left; margin-inline: 0; }
  .carrusel__controles { margin: 0 0 clamp(2.2rem, 1.5rem + 2vw, 3.2rem); }
  .confianza__item--persona, .confianza__item { flex-direction: row; }
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  .hero__visual { width: min(100%, 440px); }
  .donar__grid { grid-template-columns: 1.1fr .9fr; grid-template-areas: "intro yape" "detalle yape"; column-gap: 4rem; row-gap: 2rem; align-items: start; }
  .yape { position: sticky; top: calc(var(--alto-header) + 1.5rem); margin-right: 0; }
}
@media (min-width: 1024px) {
  .grilla-padrinos { --cols: 6; }
  .carrusel { --cols: 4; }
  .carrusel--mas { --cols: 4.3; }
  .carrusel__ayuda { display: none; }
  .carrusel__pista { cursor: grab; }
}

/* 8) ANIMACIONES ----------------------------------------------------------- */
@keyframes parpadeo { 0%, 100% { opacity: 1; filter: brightness(1); } 50% { opacity: .45; filter: brightness(.7); } }
.foco { animation: parpadeo var(--dur, 3s) ease-in-out var(--delay, 0s) infinite; }
@keyframes mecer { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes brillo { to { left: 130%; } }
@keyframes shimmer { to { background-position: -300% 0; } }
@keyframes aparecer { from { opacity: 0; transform: translateY(8px) scale(.98); } }

.js .revelar { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .revelar.visible { opacity: 1; transform: none; }

/* 9) MOVIMIENTO REDUCIDO --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .carrusel__pista { scroll-behavior: auto; }
  .boton--brillo::after { display: none; }
  .js .revelar { opacity: 1; transform: none; }
}
