/* ==========================================================================
   AEDIN · La Noche de los Amigos
   ========================================================================== */

:root {
  --red: #F23A1B;
  --red-dark: #C42A10;
  --orange: #FF8C00;
  --yellow: #FEB200;
  --green: #75BD00;
  --sky: #009EB4;
  --purple: #B70083;
  --ink: #1d1b2e;
  --muted: #5d5a6e;
  --paper: #fffdf9;
  --line: #ece7df;
  --chalk-bg: #0d0d0e;
  --header-h: 76px;
  --radius: 20px;
  --font-chalk: 'Amatic SC', 'Comic Sans MS', cursive;
  --font-display: 'Nunito', system-ui, sans-serif;
  --font-big: 'Roboto', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
body.menu-open { overflow: hidden; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: #fff;
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(29, 27, 46, .1); }
.header-inner {
  height: 100%;
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { height: 52px; width: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
.nav a {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: .02em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--green), var(--sky), var(--purple));
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--red); color: #fff;
  padding: 10px 22px !important; border-radius: 999px;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; margin: 5px 0; background: var(--ink); border-radius: 3px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Socials ---------- */
.socials { display: flex; align-items: center; gap: 8px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: #f3efe9; transition: background .2s, color .2s, transform .2s; }
.socials svg { width: 19px; height: 19px; fill: currentColor; }
.socials a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.socials-footer { justify-content: center; margin: 6px 0; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: calc(100svh - var(--header-h));
  min-height: 520px;
  background: var(--chalk-bg);
  overflow: hidden;
  color: #fff;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 50% 40%; }
.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 5% 9%;
}
.hero-col { width: 29%; display: flex; flex-direction: column; text-shadow: 0 2px 6px rgba(0,0,0,.85), 0 0 18px rgba(0,0,0,.6); }
.hero-left { align-items: center; text-align: center; }
.hero-right { align-items: center; text-align: center; }

.chalk { font-family: var(--font-chalk); font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: .02em; color: #f4f1ea; }
.chalk-sm { font-size: clamp(1.1rem, 2.2vmin + .6vw, 2.2rem); }
.chalk-md { font-size: clamp(1.4rem, 2.8vmin + .8vw, 2.8rem); }
.chalk-lg { font-size: clamp(1.7rem, 3.6vmin + 1vw, 3.6rem); }
.chalk-xl { font-size: clamp(2.2rem, 5.2vmin + 1.2vw, 5rem); margin-top: .35em; }
.underline { position: relative; padding-bottom: .35em; margin-bottom: .5em; }
.underline::after {
  content: ''; position: absolute; left: 12%; right: 12%; bottom: 0; height: 4px; border-radius: 4px;
  background: rgba(244,241,234,.85); transform: rotate(-1.2deg);
}
.hero-right .chalk-md { margin-top: .15em; }
.place { display: flex; align-items: center; gap: .4em; margin-top: 1em; }
.place svg { width: 1.2em; height: 1.2em; flex: none; }

.universo {
  font-family: var(--font-big); font-weight: 900;
  font-size: clamp(2rem, 5vmin + 1.2vw, 5rem);
  line-height: 1; letter-spacing: .02em; margin: .1em 0 .35em;
  display: flex; justify-content: center;
}
.universo span:nth-child(6n+1) { color: var(--red); }
.universo span:nth-child(6n+2) { color: var(--green); }
.universo span:nth-child(6n+3) { color: var(--orange); }
.universo span:nth-child(6n+4) { color: var(--sky); }
.universo span:nth-child(6n+5) { color: var(--yellow); }
.universo span:nth-child(6n) { color: var(--purple); }
.hero-logo { height: clamp(56px, 12vmin, 130px); width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }

.scroll-hint {
  position: absolute; bottom: 14px; left: 50%; z-index: 3; transform: translateX(-50%);
  width: 40px; height: 40px; display: grid; place-items: center; color: #fff;
  background: rgba(0,0,0,.35); border-radius: 50%; animation: bob 2s infinite ease-in-out;
}
.scroll-hint svg { width: 22px; height: 22px; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------- Common section bits ---------- */
.section { position: relative; padding: calc(clamp(32px, 5vh, 60px) + 30px) 0; }
.eyebrow {
  font-family: var(--font-display); font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; font-size: .9rem; color: var(--muted);
  margin-bottom: 14px;
}
.title-chalk {
  font-family: var(--font-chalk); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.6rem, 3.2vw + 1rem, 4.6rem); line-height: .95; letter-spacing: .01em;
}
.rainbow-text {
  background: linear-gradient(90deg, #F23A1B 0%, #FF8C00 28%, #75BD00 52%, #009EB4 74%, #B70083 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rainbow-word { display: inline-flex; font-family: var(--font-big); font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: .02em; font-size: clamp(3rem, 6vw + 1rem, 6.5rem); margin: 0; }
.rainbow-word.big { font-size: clamp(3.4rem, 6.5vw + 1rem, 7rem); }
.rainbow-word span:nth-child(6n+1) { color: var(--red); }
.rainbow-word span:nth-child(6n+2) { color: var(--green); }
.rainbow-word span:nth-child(6n+3) { color: var(--orange); }
.rainbow-word span:nth-child(6n+4) { color: var(--sky); }
.rainbow-word span:nth-child(6n+5) { color: var(--yellow); }
.rainbow-word span:nth-child(6n) { color: var(--purple); }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  padding: 13px 28px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .2s, background .2s;
}
.btn svg { width: 20px; height: 20px; transition: transform .2s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { font-size: 1.1rem; padding: 15px 36px; }

/* ---------- Cocktail ---------- */
.cocktail {
  display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3.5vh, 36px);
  background: #fff;
}
.cocktail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.lead { font-family: var(--font-display); font-size: clamp(1.15rem, 1vw + .9rem, 1.5rem); font-weight: 500; margin: 22px 0 16px; }
.title-chalk + .dots { margin-top: 24px; }
.dots li { display: flex; align-items: center; gap: 12px; padding: 4px 0; color: var(--muted); font-size: 1.05rem; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex: none; }
.event-data { margin-top: 26px; display: flex; flex-direction: column; font-size: 1.1rem; }
.event-data strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.cocktail-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-composite: intersect;
}
.buy { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ticket-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, .7vw + 1rem, 1.6rem); line-height: 1; color: var(--ink); }
.cocktail-foot { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }

/* ---------- Sponsors ---------- */
.sponsors { background: var(--paper); display: flex; align-items: center; }
.title-rainbow-wrap { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.sponsors-lead { max-width: 560px; color: var(--muted); font-size: 1.15rem; padding-left: 18px; border-left: 3px solid var(--line); margin-bottom: clamp(16px, 3vh, 28px); }
.sponsors .container { padding-bottom: 8px; }
.table-wrap { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(29,27,46,.08); overflow: hidden; border: 1px solid var(--line); }
.tiers { width: 100%; border-collapse: collapse; font-size: .98rem; background: #fff; }
.tiers th, .tiers td { padding: 9px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.tiers tbody th[scope="row"] { text-align: left; font-weight: 600; color: #3b3850; }
.tiers .group th { background: #f1eeea; text-align: left; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; color: #6c6a76; padding: 8px 14px; }
.tier-intro { text-align: left !important; font-family: var(--font-display); text-transform: uppercase; font-size: 1.25rem; line-height: 1.15; background: #f7f5f2; width: 34%; }
.tiers thead th.tier { color: #fff; width: 22%; vertical-align: top; padding: 0; }
.tiers .tier-name, .tiers .tier-price, .tiers .tier-kids { display: block; }
.tier-name { padding: 10px 8px; font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.tier-price { padding: 10px 8px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); background: #fff; }
.tier-kids { padding: 0 8px 10px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: .95rem; background: #fff; }
.tier.gold .tier-name { background: #F23A1B; } .tier.gold .tier-kids { color: #F23A1B; }
.tier.silver .tier-name { background: #FF8C00; } .tier.silver .tier-kids { color: #FF8C00; }
.tier.bronze .tier-name { background: #75BD00; } .tier.bronze .tier-kids { color: #75BD00; }
.tiers td.gold { background: rgba(242,58,27,.035); } .tiers td.silver { background: rgba(255,140,0,.035); } .tiers td.bronze { background: rgba(117,189,0,.035); }
.tiers .num { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.ck { display: inline-block; width: 22px; height: 22px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
td.gold .ck { color: #F23A1B; } td.silver .ck { color: #FF8C00; } td.bronze .ck { color: #75BD00; }
.no { display: inline-block; width: 14px; height: 3px; background: #c8c5cc; border-radius: 3px; vertical-align: middle; }

.sponsors-contact { margin-top: 28px; text-align: center; line-height: 1.6; font-size: 1.05rem; color: var(--muted); }
.sponsors-contact .contact-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.2vw + 1.1rem, 2.2rem); line-height: 1; color: var(--ink); }
.sponsors-contact a { display: inline-flex; align-items: center; gap: 8px; }
.sponsors-contact svg { width: 20px; height: 20px; fill: var(--purple); flex: none; }
.sponsors-contact .contact-name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); margin-top: 8px; }
.sponsors-contact a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.sponsors-contact a:hover { color: var(--purple); }

/* ---------- AEDIN es ---------- */
.about { background: #fff; display: flex; align-items: center; }
.about-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 4vw, 64px); align-items: center; }
.about-lead { margin-top: 22px; font-size: clamp(1.05rem, .5vw + .95rem, 1.3rem); color: #3b3850; max-width: 480px; }
.about-rule { width: 56px; height: 3px; border: 0; background: var(--ink); margin: 20px 0; }
.about-areas { font-size: clamp(1.25rem, 1vw + 1rem, 1.8rem); line-height: 1.3; font-weight: 400; max-width: 520px; }
.about-areas strong { font-weight: 800; }
.about-photo img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 70%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-composite: intersect;
}
.areas { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(16px, 3vh, 28px); }
.area { padding: 8px clamp(14px, 2.4vw, 36px); border-left: 2px solid #1d2a6b33; display: flex; flex-direction: column; }
.area:first-child { border-left: 0; padding-left: 0; }
.area:last-child { padding-right: 0; }
.area h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--c); font-size: clamp(1.1rem, .8vw + .9rem, 1.55rem); line-height: 1.05; }
.area-claim { margin-top: 12px; font-weight: 800; font-size: 1.05rem; }
.area-desc { margin-top: 8px; color: var(--muted); font-size: .98rem; flex: 1; }
.area-num { margin-top: 14px; text-align: center; color: var(--c); }
.area-num b { display: block; font-family: var(--font-big); font-weight: 900; font-size: clamp(2.6rem, 3.4vw + 1rem, 4.4rem); line-height: 1; letter-spacing: -.02em; }
.area-num span { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(.95rem, .5vw + .8rem, 1.3rem); }

/* ---------- Impact ---------- */
.impact { display: flex; align-items: center; background: linear-gradient(#fff, #fbf8f3); overflow: hidden; }
.impact::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: linear-gradient(90deg, var(--red) 0 17%, var(--orange) 17% 33%, var(--yellow) 33% 50%, var(--green) 50% 67%, var(--sky) 67% 83%, var(--purple) 83%); }
.impact::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: linear-gradient(90deg, #F23A1B 0 17%, #FF8C00 17% 33%, #FEB200 33% 50%, #75BD00 50% 67%, #009EB4 67% 83%, #B70083 83%); }
.impact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
.impact-text .eyebrow { color: var(--ink); letter-spacing: .08em; font-size: 1.15rem; margin-bottom: 4px; }
.total-card { display: grid; grid-template-columns: 1.25fr auto 1.1fr auto .7fr; align-items: center; gap: 14px; margin: 22px 0 18px; padding: 18px 22px; border: 2px solid #d9d6e3; border-radius: var(--radius); background: #fff; }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 3.4vw + 1rem, 4.4rem); line-height: 1; }
.stat span { display: block; white-space: nowrap; font-size: clamp(.7rem, .78vw, .8rem); line-height: 1.3; color: #3a3a55; margin-top: 6px; text-align: center; }
.stat b { text-align: center; }
.op { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: #1d2a6b; }
.c-orange { color: #FF8C00; } .c-purple { color: #B70083; } .c-sky { color: #009EB4; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { background: #fff; border: 2px solid var(--c); border-radius: 16px; padding: 14px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(29,27,46,.1); }
.card b { font-weight: 800; font-family: var(--font-display); font-size: clamp(1.9rem, 1.6vw + 1rem, 2.6rem); line-height: 1.1; color: var(--c); }
.card strong { font-family: var(--font-display); font-size: .88rem; text-transform: uppercase; letter-spacing: .03em; margin-top: 4px; }
.card span { font-size: .8rem; line-height: 1.3; color: var(--muted); margin-top: 4px; }
.impact-photo { align-self: stretch; display: flex; align-items: center; }
.impact-photo img {
  width: 100%; height: min(78svh, 640px); object-fit: cover; object-position: 60% 50%; -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-composite: intersect;
}

/* ---------- Donar ---------- */
.donate::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: linear-gradient(90deg, var(--red) 0 17%, var(--orange) 17% 33%, var(--yellow) 33% 50%, var(--green) 50% 67%, var(--sky) 67% 83%, var(--purple) 83%); }
.donate { display: flex; align-items: center; background: #fff; }
.donate-grid { display: grid; grid-template-columns: .85fr 2fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.donate .rainbow-word.md { font-size: clamp(1.55rem, 2.9vw, 3.05rem); }
.donate-text .eyebrow { margin-bottom: 4px; }
.rainbow-word.md { font-size: clamp(2.4rem, 4.6vw, 4.6rem); white-space: nowrap; }
.rainbow-word .sp { width: .3em; }
.donate-campaign { margin-top: 16px; padding: 12px 16px; border-left: 4px solid var(--purple); background: #f6eef6; border-radius: 0 12px 12px 0; max-width: 440px; font-size: 1.05rem; }
.donate-title { margin: 18px 0 14px; }
.donate-lead { font-size: 1.2rem; color: var(--muted); max-width: 440px; }
.donate-cards { display: grid; align-items: start; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.plan { --c: var(--orange); display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--c); box-shadow: 0 24px 50px rgba(29,27,46,.14); transition: transform .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(29,27,46,.2); }
.plan-yearly { --c: var(--yellow); }
.plan-photo { aspect-ratio: 1 / 0.95; overflow: hidden; }
.plan-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.plan-monthly .plan-photo img { object-position: 60% 40%; }
.plan-yearly .plan-photo img { object-position: 50% 60%; }
.plan:hover .plan-photo img { transform: scale(1.06); }
.plan-body { padding: 20px 18px 24px; text-align: center; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.plan-body h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, .9vw + .8rem, 1.5rem); color: #fff; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.plan-price { display: block; width: 100%; background: #fff; color: var(--c); border-radius: 999px; padding: 8px 12px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 1vw + .8rem, 1.7rem); transition: background .2s, color .2s, transform .2s; }
.plan-monthly { --hover: var(--sky); --hover-ink: #fff; }
.plan-yearly { --hover: var(--purple); --hover-ink: #fff; }
.plan-five { --c: var(--sky); --hover: var(--red); --hover-ink: #fff; }
.plan-five .plan-photo img { object-position: 50% 70%; }
.plan-note { font-size: .82rem; font-weight: 700; line-height: 1.2; margin-top: -4px; }
.plan-price:hover, .plan-price:focus-visible { background: var(--hover); color: var(--hover-ink); transform: translateY(-2px) scale(1.03); }

/* ---------- Donaciones ---------- */
.gift { position: relative; overflow: hidden; background: #fff; color: var(--ink); padding: calc(clamp(40px, 6vh, 72px) + 30px) 0; display: flex; align-items: center; }
.gift::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: linear-gradient(90deg, var(--red) 0 17%, var(--orange) 17% 33%, var(--yellow) 33% 50%, var(--green) 50% 67%, var(--sky) 67% 83%, var(--purple) 83%); }
.gift::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: linear-gradient(90deg, var(--red) 0 17%, var(--orange) 17% 33%, var(--yellow) 33% 50%, var(--green) 50% 67%, var(--sky) 67% 83%, var(--purple) 83%); }
.gift-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.gift-lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1.4vw + .9rem, 2rem); margin-top: 16px; max-width: 420px; line-height: 1.3; }
.gift-boxes { display: grid; gap: 18px; width: 100%; max-width: 400px; justify-self: end; }
.gift-box { --c: var(--green); background: var(--c); color: #fff; border-radius: 24px; padding: 28px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; box-shadow: 0 16px 36px rgba(29,27,46,.14); transition: transform .3s; }
.gift-box:hover { transform: translateY(-4px); }
.gift-monthly { --c: #A3D961; --btn: #5E9B1C; }
.gift-box h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 1.2vw + 1rem, 2rem); line-height: 1.1; }
.gift-box p { font-size: 1.1rem; font-weight: 600; opacity: .95; margin-top: -4px; }
.gift-once { --hover: var(--yellow); --hover-ink: var(--ink); }
.gift-monthly { --hover: var(--yellow); --hover-ink: var(--ink); }
.gift-btn { display: inline-block; background: #fff; color: var(--btn, var(--c)); text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-display); font-weight: 800; font-size: 1rem; padding: 12px 34px; border-radius: 999px; transition: background .2s, color .2s, transform .2s; }
.gift-btn:hover, .gift-btn:focus-visible { background: var(--hover); color: var(--hover-ink); transform: translateY(-2px) scale(1.04); }

/* ---------- Datos bancarios ---------- */
.bank { background: #fff; }
.bank-grid { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.bank-data { align-self: center; }
.bank-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.2vw + 1.1rem, 2.2rem); line-height: 1.1; margin-bottom: 14px; }
.accounts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); }
.account h3 { display: block; width: fit-content; min-width: 270px; text-align: center; white-space: nowrap; background: var(--c); color: #fff; border-radius: 999px; padding: 8px 20px; font-family: var(--font-display); font-weight: 800; font-size: .95rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 14px; }
.account:nth-child(1) { --c: var(--sky); }
.account:nth-child(2) { --c: var(--green); }
.account-note { margin-top: 12px; font-size: .92rem; color: #3b3850; max-width: 420px; }
.account-note a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.bank-data dl { margin: 0; display: grid; gap: 3px; font-size: .98rem; }
.bank-data dl div { display: flex; gap: 8px; flex-wrap: wrap; }
.bank-data dt { font-weight: 800; }
.bank-data dd { margin: 0; color: #3b3850; font-variant-numeric: tabular-nums; word-break: break-all; }
.bank-note { margin-top: 24px; color: var(--muted); }
.bank-note a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.bank-note a:hover { color: var(--purple); }

/* ---------- CTA ---------- */

/* ---------- Footer ---------- */
.site-footer { background: #fff; padding: 36px 0; text-align: center; border-top: 6px solid transparent; border-image: linear-gradient(90deg, #F23A1B, #FF8C00, #75BD00, #009EB4, #B70083) 1; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-inner img { height: 54px; width: auto; }
.footer-inner p a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
.footer-inner p { color: var(--muted); font-size: .95rem; }
.footer-inner .copy { font-size: .85rem; opacity: .8; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 0;
  height: 60px; min-width: 60px; padding: 0 16px; border-radius: 999px;
  background: #25d366; color: #fff; text-decoration: none;
  animation: waIn .6s .8s both cubic-bezier(.2,1.4,.4,1);
  transition: transform .2s, box-shadow .2s;
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; flex: none; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #25d366; z-index: -1; animation: waPulse 2.4s infinite; }
.wa-label { font-family: var(--font-display); font-weight: 500; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s, margin .3s; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 120px; margin-left: 10px; }
@keyframes waIn { from { opacity: 0; transform: scale(.4) translateY(30px); } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.reveal.from-left { transform: translateX(-48px); }
.reveal.from-right { transform: translateX(48px); }
.reveal.zoom { transform: scale(.95) translateY(20px); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.9,.3,1.2); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: .1s; } .stagger.in > *:nth-child(2) { transition-delay: .2s; }
.stagger.in > *:nth-child(3) { transition-delay: .3s; } .stagger.in > *:nth-child(4) { transition-delay: .4s; }
.stagger.in > *:nth-child(5) { transition-delay: .5s; } .stagger.in > *:nth-child(6) { transition-delay: .6s; }
.stagger.in > .card:hover { transition-delay: 0s; transform: translateY(-4px); }

/* Entrada del home */
.hero-bg img { animation: heroZoom 2.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes heroZoom { from { transform: scale(1.12); opacity: .2; } }
.hero-left > *, .hero-right > * { animation: riseIn .9s cubic-bezier(.2,.8,.2,1) both; }
.hero-left > :nth-child(1) { animation-delay: .5s; } .hero-left > :nth-child(2) { animation-delay: .75s; } .hero-left > :nth-child(3) { animation-delay: 1s; }
.hero-right > :nth-child(1) { animation-delay: .6s; } .hero-right > :nth-child(2) { animation-delay: .85s; }
.hero-right > :nth-child(3) { animation-delay: 1s; } .hero-right > :nth-child(4) { animation-delay: 1.15s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } }
.universo span { display: inline-block; animation: pop .6s cubic-bezier(.2,1.5,.4,1) both; }
.universo span:nth-child(1) { animation-delay: .9s; } .universo span:nth-child(2) { animation-delay: .96s; }
.universo span:nth-child(3) { animation-delay: 1.02s; } .universo span:nth-child(4) { animation-delay: 1.08s; }
.universo span:nth-child(5) { animation-delay: 1.14s; } .universo span:nth-child(6) { animation-delay: 1.2s; }
.universo span:nth-child(7) { animation-delay: 1.26s; } .universo span:nth-child(8) { animation-delay: 1.32s; }
@keyframes pop { from { opacity: 0; transform: translateY(26px) scale(.4) rotate(-12deg); } }

/* Letras de colores: rebote al aparecer */
.rainbow-word span { display: inline-block; transition: transform .3s; }
.reveal:not(.in) .rainbow-word span, .reveal:not(.in) .rainbow-word.big span { opacity: 0; transform: translateY(30px) scale(.5); }
.reveal.in .rainbow-word span, .rainbow-word.in span { animation: pop .7s cubic-bezier(.2,1.5,.4,1) both; }
.rainbow-word span:nth-child(1) { animation-delay: .2s; } .rainbow-word span:nth-child(2) { animation-delay: .27s; }
.rainbow-word span:nth-child(3) { animation-delay: .34s; } .rainbow-word span:nth-child(4) { animation-delay: .41s; }
.rainbow-word span:nth-child(5) { animation-delay: .48s; } .rainbow-word span:nth-child(6) { animation-delay: .55s; }
.rainbow-word span:nth-child(7) { animation-delay: .62s; } .rainbow-word span:nth-child(8) { animation-delay: .69s; }
.rainbow-word span:nth-child(9) { animation-delay: .76s; } .rainbow-word span:nth-child(10) { animation-delay: .83s; } .rainbow-word span:nth-child(11) { animation-delay: .9s; }

/* Barra de colores del impacto */
.impact::after { transform-origin: left; animation: barGrow 1.4s .2s both ease-out; animation-play-state: paused; }
.impact:has(.impact-text.in)::after { animation-play-state: running; }
@keyframes barGrow { from { transform: scaleX(0); } }

/* Foto CTA: zoom lento permanente */

/* Botones */

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cocktail-grid, .impact-grid, .donate-grid { grid-template-columns: 1fr; }
  .donate { min-height: 0; }
  .about { min-height: 0; }
  .about-top { grid-template-columns: 1fr; }

  .gift { min-height: 0; }
  .gift-grid { grid-template-columns: 1fr; }
  .gift-boxes { justify-self: center; }
  .gift-text { text-align: center; }
  .gift-text .rainbow-word { justify-content: center; }
  .gift-lead { margin-inline: auto; }
    .impact-photo img { height: 420px; }
      .cocktail, .sponsors, .impact { min-height: 0; }
}

@media (max-width: 1080px) {
  :root { --header-h: 64px; }
  .brand img { height: 44px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav a { display: block; font-size: 1.4rem; padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav { display: block; }
  .nav .nav-cta { text-align: center; margin-top: 18px; border: 0; padding: 16px 22px !important; }
}

/* Hero en mobile: puerta arriba, texto abajo sobre el mismo negro de pizarra */
@media (max-width: 860px), (max-aspect-ratio: 1/1) {
  .hero { height: auto; min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; }
  .hero-bg { position: relative; inset: auto; height: 44svh; min-height: 260px; flex: none; }
  .hero-bg img { object-position: 50% 35%; }
  .hero-bg::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(transparent, var(--chalk-bg)); }
  .hero-content { flex-direction: column; justify-content: center; gap: 22px; padding: 8px 24px 64px; flex: 1; height: auto; }
  .hero-col { width: 100%; }
  .chalk-sm { font-size: 1.6rem; } .chalk-md { font-size: 2rem; } .chalk-lg { font-size: 2.4rem; } .chalk-xl { font-size: 3.2rem; }
  .universo { font-size: 3.4rem; }
  .hero-logo { height: 76px; }
  .hero-left .chalk-lg br { display: none; }
  .scroll-hint { bottom: 12px; }
}

@media (max-width: 680px) {
  .container, .header-inner { width: calc(100% - 32px); }
  .section { padding: 78px 0; }
  .cocktail-photo img { aspect-ratio: 5 / 4; }
  .impact-photo img { height: 300px; }
        
  .sponsors-lead { font-size: 1rem; }
  .tiers { font-size: .78rem; }
  .tiers th, .tiers td { padding: 8px 5px; }
  .tiers tbody th[scope="row"] { line-height: 1.25; }
  .tier-intro { font-size: .9rem; width: 31%; }
  .tier-name { font-size: .95rem; padding: 8px 2px; }
  .tier-price { font-size: .8rem; padding-top: 8px; }
  .tier-kids { font-size: .66rem; }
  .tiers .group th { font-size: .66rem; padding: 7px 8px; }
  .tiers .num { font-size: .78rem; }
  .ck { width: 18px; height: 18px; }

  .total-card { grid-template-columns: 1fr; gap: 4px; text-align: center; padding: 16px; }
  .stat span { white-space: normal; font-size: .85rem; }
  .op { line-height: 1; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { padding: 12px 8px; }
  .btn-lg { padding: 16px 32px; font-size: 1.1rem; }
  /* Sponsors mobile: solo las 3 categorías + texto de apoyo */
  .tiers tbody, .tiers caption { display: none; }
  .tiers, .tiers thead { display: block; }
  .tiers thead tr { display: grid; grid-template-columns: repeat(3, 1fr); }
  .tiers thead th { border-bottom: 0; }
  .tiers thead th.tier { width: auto; border-left: 2px solid #fff; }
  .tiers thead th.tier:first-of-type { border-left: 0; }
  .tier-intro { display: none; }
  .tier-name { font-size: 1.1rem; padding: 10px 2px; }
  .tier-price { font-size: .82rem; padding: 10px 2px 0; white-space: nowrap; }
  .tier-kids { font-size: .68rem; padding: 2px 2px 12px; white-space: nowrap; }
  .sponsors-contact { font-size: 1rem; }
  .gift-boxes { max-width: 290px; gap: 12px; }
  .gift-box { padding: 20px 18px; gap: 8px; border-radius: 20px; }
  .gift-box h3 { font-size: 1.3rem; }
  .gift-btn { font-size: .9rem; padding: 10px 26px; }
  .donate-cards { grid-template-columns: 1fr; }
  .bank-grid { grid-template-columns: 1fr; }
  .accounts { grid-template-columns: 1fr; }
    .areas { grid-template-columns: 1fr; gap: 28px; }
  .area, .area:first-child, .area:last-child { border-left: 0; padding: 0 0 24px; border-bottom: 2px solid #1d2a6b22; }
  .area:last-child { border-bottom: 0; padding-bottom: 0; }
    .plan { flex-direction: row; }
  .plan-photo { aspect-ratio: auto; width: 42%; flex: none; }
  .plan-body { flex: 1; padding: 16px 12px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .stagger > *, .rainbow-word span { opacity: 1 !important; transform: none !important; }
}
