/* =========================================================
   Fundación Mentes Educadas · Pasión por el Fútbol
   Hoja de estilos principal
   ========================================================= */

/* ---------- 1. Variables (colores tomados del logotipo) ---------- */
:root {
  --navy: #1A2F4E;
  --navy-900: #0E1B30;
  --navy-700: #233C62;
  --navy-500: #3A5580;
  --gold: #D0A44D;
  --gold-600: #B98B34;
  --gold-300: #E7C987;
  --gold-100: #F6EBD2;
  --cream: #F8F4EC;
  --white: #FFFFFF;
  --ink: #14213A;
  --muted: #5D687B;
  --line: #E4E0D6;

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(14, 27, 48, .06);
  --shadow: 0 14px 40px -12px rgba(14, 27, 48, .22);
  --shadow-gold: 0 14px 34px -10px rgba(208, 164, 77, .55);

  --header-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(.22, .8, .26, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

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

.text-gold { color: var(--gold); }

/* ---------- 3. Botones ---------- */
.btn {
  --bg: var(--navy); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold { --bg: var(--gold); --fg: var(--navy-900); box-shadow: var(--shadow-gold); }
.btn--gold:hover { --bg: var(--gold-300); }
.btn--gold svg { fill: currentColor; stroke: none; }
.btn--navy { --bg: var(--navy); --fg: var(--white); box-shadow: 0 12px 28px -12px rgba(26, 47, 78, .7); }
.btn--navy:hover { --bg: var(--navy-700); }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { padding: 1em 1.8em; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- 4. Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s;
}
.header.is-scrolled {
  background: rgba(14, 27, 48, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .45);
  --header-h: 66px;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand__shield { width: 40px; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.brand__text small { font-family: var(--font-display); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 26px; }
.nav__link {
  position: relative; text-decoration: none; color: rgba(255, 255, 255, .85);
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; padding: 6px 0;
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { padding: .65em 1.25em; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .08); cursor: pointer; position: relative; z-index: 110;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px;
  color: var(--white);
  background:
    radial-gradient(1000px 600px at 85% 30%, rgba(208, 164, 77, .18), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(58, 85, 128, .55), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-700) 100%);
}
.hero__pitch { position: absolute; inset: 0; z-index: -1; color: rgba(255, 255, 255, .06); }
.hero__pitch svg { width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 120px; z-index: -1;
  background: linear-gradient(to bottom, transparent, rgba(14, 27, 48, .55));
}

.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--gold); }
.eyebrow--navy { color: var(--navy); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(208, 164, 77, .25); animation: pulse 2s infinite; }
.hero .eyebrow::before { display: none; }

.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: .98;
  margin-bottom: .45em;
}
.hero__title .text-gold {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-300) 50%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s linear infinite;
}
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: rgba(255, 255, 255, .8); max-width: 560px; }
.hero__lead strong { color: var(--white); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 36px; }

.hero__audiences { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__audiences a {
  display: inline-block; padding: .45em 1em; border-radius: 999px;
  font-size: .85rem; font-weight: 500; text-decoration: none;
  color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  transition: background .2s, color .2s, border-color .2s;
}
.hero__audiences a:hover { background: rgba(208, 164, 77, .15); border-color: var(--gold); color: var(--gold-300); }

.hero__visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 480px; justify-self: center; width: 100%; }
.hero__glow { position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(208, 164, 77, .35), transparent 70%); filter: blur(30px); }
.hero__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(208, 164, 77, .35); }
.hero__ring--1 { inset: 4%; animation: spin 40s linear infinite; }
.hero__ring--2 { inset: 16%; border-style: solid; border-color: rgba(255, 255, 255, .08); }
.hero__shield {
  position: relative; width: 62%; height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
  animation: float 6s ease-in-out infinite;
}

.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  box-shadow: var(--shadow); font-size: .8rem; line-height: 1.2;
  animation: float 6s ease-in-out infinite;
}
.chip strong { display: block; font-family: var(--font-display); font-size: .9rem; }
.chip small { color: var(--muted); }
.chip__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--gold-100); font-size: 1.15rem; }
.chip--1 { top: 12%; left: -4%; animation-delay: -1s; }
.chip--2 { top: 48%; right: -8%; animation-delay: -3s; }
.chip--3 { bottom: 8%; left: 4%; animation-delay: -5s; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scrollDot 1.8s infinite; }

/* ---------- 6. Marquee ---------- */
.marquee { overflow: hidden; background: var(--gold); color: var(--navy-900); padding: 18px 0; border-block: 3px solid var(--navy-900); }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.1rem, 2.2vw, 1.6rem); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.marquee i { font-style: normal; font-size: 1rem; opacity: .6; }

/* ---------- 7. Secciones genéricas ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--navy { background: linear-gradient(170deg, var(--navy-900), var(--navy)); color: var(--white); }
.section--cream { background: var(--cream); }
.section--gold { background: var(--gold); color: var(--navy-900); }

.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head .eyebrow::before { display: none; }
.section__head--split {
  max-width: none; text-align: left; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.section__head--split .section__lead { max-width: 440px; margin: 0; }
.section__head--split .section__title { margin: 0; }
.section__title { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 900; }
.section__lead { font-size: 1.12rem; color: var(--muted); }
.section--navy .section__lead { color: rgba(255, 255, 255, .72); }

/* ---------- 8. Nosotros ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__media { position: relative; padding: 0 12% 12% 0; }
.about__content > p { color: var(--muted); }
.about__content strong { color: var(--ink); }

.photo {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 50%, transparent 22%, rgba(208, 164, 77, .16) 22.4%, transparent 23%),
    linear-gradient(90deg, transparent 49.8%, rgba(208, 164, 77, .18) 50%, transparent 50.2%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 40px, transparent 40px 80px),
    linear-gradient(150deg, var(--navy-700), var(--navy-900));
  box-shadow: var(--shadow);
  min-height: 180px;
}
.photo::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 64px; height: 64px;
  background: url("../img/escudo-320.png") center / contain no-repeat; opacity: .5;
}
.photo::after {
  content: attr(data-label); position: absolute; left: 16px; bottom: 16px;
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--navy);
  font-family: var(--font-display); font-weight: 700; font-size: .75rem;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo:has(img)::after { z-index: 2; }
.photo img { opacity: 0; transition: opacity .6s var(--ease); }
.photo.has-img img { opacity: 1; }
.photo.has-img::before { display: none; }
.photo[data-label=""]::after { display: none; }

.photo--tall { aspect-ratio: 4 / 5; }
.photo--small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 6px solid var(--white); }
.about__badge {
  position: absolute; top: 8%; right: 2%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 124px; height: 124px; border-radius: 50%; text-align: center;
  background: var(--gold); color: var(--navy-900); box-shadow: var(--shadow-gold);
  animation: float 6s ease-in-out infinite;
}
.about__badge strong { font-family: var(--font-display); font-weight: 900; font-size: 1.8rem; line-height: 1; }
.about__badge span { font-size: .72rem; font-weight: 700; line-height: 1.2; margin-top: 4px; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0 28px; }
.mv__card { padding: 24px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.mv__card h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-600); margin-bottom: .5em; }
.mv__card p { margin: 0; font-size: .95rem; color: var(--muted); }

.values { display: flex; flex-wrap: wrap; gap: 10px; }
.values li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: .5em 1em .5em .5em; border-radius: 999px; background: var(--navy); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
}
.values span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font-size: .68rem; }

/* ---------- 9. Ruta del talento ---------- */
.route { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: step; }
.route::before {
  content: ""; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px); opacity: .5;
}
.route__step {
  position: relative; padding: 32px 26px 28px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.route__step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .07); border-color: rgba(208, 164, 77, .5); }
.route__num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-display); font-weight: 900; font-size: 3rem; line-height: 1; color: rgba(208, 164, 77, .18);
}
.route__icon {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px;
  border-radius: 16px; background: var(--gold); color: var(--navy-900);
  box-shadow: 0 0 0 8px var(--navy-900);
}
.route__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.route__step h3 { font-size: 1.2rem; }
.route__step p { color: rgba(255, 255, 255, .7); font-size: .95rem; margin: 0; }

/* ---------- 10. Programas ---------- */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(0, auto); gap: 20px; }
.program {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.program__icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 20px;
  border-radius: 18px; background: var(--gold-100); font-size: 1.7rem;
}
.program h3 { font-size: 1.25rem; }
.program p { color: var(--muted); margin: 0; font-size: .97rem; }

.program--feature {
  grid-row: span 2; color: var(--white); border: 0;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(208, 164, 77, .3), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-900));
  display: flex; flex-direction: column; overflow: hidden;
}
.program--feature::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 220px; height: 260px;
  background: url("../img/escudo-320.png") center / contain no-repeat; opacity: .12; transform: rotate(-12deg);
}
.program--feature h3 { font-size: 1.6rem; }
.program--feature p { color: rgba(255, 255, 255, .75); }
.program--feature .program__icon { background: var(--gold); }
.program__tag {
  align-self: flex-start; margin-bottom: 22px; padding: .35em .9em; border-radius: 999px;
  background: rgba(208, 164, 77, .18); color: var(--gold-300);
  font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
.program__list { margin-top: 24px; display: grid; gap: 10px; }
.program__list li { position: relative; padding-left: 28px; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.program__list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1B30' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- 11. Impacto ---------- */
.section--gold { overflow: hidden; }
.section--gold::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background: repeating-linear-gradient(90deg, var(--navy-900) 0 2px, transparent 2px 120px);
}
.section--gold .section__head { margin-bottom: 44px; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  padding: 32px 24px; border-radius: var(--radius); text-align: center;
  background: var(--navy-900); color: var(--white); box-shadow: 0 20px 40px -20px rgba(14, 27, 48, .6);
}
.stat__num {
  display: block; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--gold); margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: .95rem; color: rgba(255, 255, 255, .78); }

/* ---------- 12. Galería ---------- */
.gallery {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  grid-template-areas: "a a b c" "a a d e";
}
.gallery .photo { min-height: 0; border-radius: var(--radius); }
.gallery__a { grid-area: a; }
.gallery__b { grid-area: b; }
.gallery__c { grid-area: c; }
.gallery__d { grid-area: d; }
.gallery__e { grid-area: e; }
.gallery .photo { transition: transform .4s var(--ease); }
.gallery .photo:hover { transform: scale(1.02); }

/* ---------- 13. Tabs / Súmate ---------- */
.tabs__list {
  display: flex; gap: 6px; padding: 6px; margin: 0 auto 32px; width: fit-content; max-width: 100%;
  background: var(--cream); border-radius: 999px; border: 1px solid var(--line); overflow-x: auto;
  scrollbar-width: none;
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__btn {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: .75em 1.4em; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--muted);
  transition: background .25s, color .25s, box-shadow .25s;
}
.tabs__btn:hover { color: var(--navy); }
.tabs__btn.is-active { background: var(--navy); color: var(--white); box-shadow: 0 8px 20px -8px rgba(26, 47, 78, .7); }

.tabs__panel { animation: fadeUp .5s var(--ease); }
.tabs__panel[hidden] { display: none; }
.panel {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.panel__intro h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.panel__intro p { color: var(--muted); }
.panel__cta { display: flex; justify-content: center; margin-top: 28px; }

.checks { display: grid; gap: 12px; margin-top: 20px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B98B34' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.tiers { display: grid; gap: 14px; }
.tier {
  position: relative; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--cream);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.tier:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.tier__name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin: 0 0 4px; color: var(--navy); }
.tier__desc { margin: 0 0 10px; color: var(--muted); font-size: .93rem; }
.tier ul { display: flex; flex-wrap: wrap; gap: 6px; }
.tier ul li { font-size: .78rem; font-weight: 500; padding: .3em .75em; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.tier--featured { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tier--featured .tier__name { color: var(--gold); }
.tier--featured .tier__desc { color: rgba(255, 255, 255, .75); }
.tier--featured ul li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); }
.tier__badge {
  position: absolute; top: -10px; right: 18px; padding: .25em .8em; border-radius: 999px;
  background: var(--gold); color: var(--navy-900); font-family: var(--font-display); font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em;
}

.feature-box {
  padding: 30px; border-radius: var(--radius); background: var(--navy); color: var(--white);
  background-image: radial-gradient(400px 240px at 100% 0%, rgba(208, 164, 77, .25), transparent 60%);
}
.feature-box__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.feature-box__head img { width: 48px; height: auto; }
.feature-box__head strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.feature-box__head small { color: rgba(255, 255, 255, .65); }
.spec { margin: 0; display: grid; gap: 2px; }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.spec dt { font-weight: 700; }
.spec dd { margin: 0; color: var(--gold-300); text-align: right; font-size: .92rem; }
.feature-box--gold { background: var(--gold); color: var(--navy-900); background-image: none; text-align: center; }
.feature-box__quote { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.3; margin-bottom: 24px; }
.feature-box__big { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin-bottom: 24px; }

/* ---------- 14. Donar ---------- */
.donate-section { overflow: hidden; }
.donate-section::before {
  content: ""; position: absolute; left: -120px; bottom: -160px; width: 520px; height: 620px;
  background: url("../img/escudo-320.png") center / contain no-repeat; opacity: .05; transform: rotate(-14deg);
}
.donate { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; position: relative; }
.trust { display: grid; gap: 14px; margin-top: 28px; }
.trust li { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .85); }
.trust svg { flex-shrink: 0; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(208, 164, 77, .15); fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.donate__card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.freq { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--cream); margin-bottom: 22px; }
.freq label, .amounts label { cursor: pointer; }
.freq input, .amounts input { position: absolute; opacity: 0; pointer-events: none; }
.freq span { display: block; text-align: center; padding: .6em; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--muted); transition: background .25s, color .25s; }
.freq input:checked + span { background: var(--navy); color: var(--white); }
.freq input:focus-visible + span, .amounts input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.donate__label { font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.amounts span {
  display: block; text-align: center; padding: .85em .3em; border-radius: 14px; border: 2px solid var(--line);
  font-family: var(--font-display); font-weight: 800; font-size: .92rem; transition: border-color .2s, background .2s, color .2s;
}
.amounts label:hover span { border-color: var(--gold-300); }
.amounts input:checked + span { border-color: var(--gold); background: var(--gold-100); color: var(--navy-900); }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-weight: 700; font-size: .86rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85em 1em; border-radius: 12px; border: 2px solid var(--line); background: var(--white);
  transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(208, 164, 77, .2); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #C2413B; }
.field--inline { position: relative; }
.field__prefix { position: absolute; left: 1em; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--muted) !important; }
.field--inline input { padding-left: 2em; }

.impact {
  display: flex; align-items: center; gap: 14px; margin: 18px 0 20px; padding: 16px; border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-100), #FBF5E8); border: 1px dashed var(--gold);
}
.impact__icon { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--white); font-size: 1.4rem; }
.impact p { margin: 0; font-size: .93rem; line-height: 1.45; }
.donate__note { margin: 12px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }

/* ---------- 15. Inscripción / formularios ---------- */
.signup, .contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.signup__content p, .contact__info > p { color: var(--muted); }
.mini-steps { counter-reset: s; display: grid; gap: 14px; margin-top: 28px; }
.mini-steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; }
.mini-steps li span strong { color: var(--navy); }
.mini-steps li::before {
  content: counter(s); display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-family: var(--font-display); font-weight: 900;
}

.form-card { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field--full { grid-column: 1 / -1; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 20px; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); }
.check.is-invalid span { color: #C2413B; }
.form-msg { margin: 14px 0 0; font-weight: 700; font-size: .92rem; text-align: center; min-height: 1.4em; }
.form-msg.is-error { color: #C2413B; }
.form-msg.is-ok { color: #2E7D4F; }

/* ---------- 16. Aliados ---------- */
.allies__title { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.allies { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 210px)); justify-content: center; gap: 16px; }
@media (max-width: 400px) { .allies { grid-template-columns: repeat(2, 1fr); } }
.ally {
  display: grid; place-items: center; min-height: 90px; padding: 12px; border-radius: var(--radius-sm);
  border: 2px dashed var(--line); color: #A7ADB8; font-family: var(--font-display); font-weight: 700; font-size: .82rem; text-align: center;
  text-decoration: none; transition: border-color .25s, color .25s, transform .25s, box-shadow .25s;
}
.ally:hover { border-color: var(--gold); color: var(--gold-600); }
.ally--logo {
  grid-template-rows: 72px auto auto; gap: 4px; min-height: 150px; padding: 18px 14px 14px;
  border: 1px solid var(--line); background: var(--white); color: var(--navy);
}
.ally--logo:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-300); color: var(--navy); }
.ally--logo img { max-height: 72px; max-width: 100%; width: auto; object-fit: contain; }
.ally__name { font-size: .85rem; line-height: 1.25; margin-top: 6px; }
.ally__type { font-family: var(--font-body); font-weight: 700; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.ally--cta { gap: 4px; min-height: 150px; align-content: center; }
.ally--cta strong { color: var(--navy); font-size: .9rem; }
.ally--cta small { font-family: var(--font-body); font-weight: 500; color: var(--muted); }

/* ---------- 17. FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__head p { color: var(--muted); }
.faq__head a { color: var(--gold-600); font-weight: 700; }
.accordion { display: grid; gap: 12px; }
.accordion__item { border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: box-shadow .3s; }
.accordion__item[open] { box-shadow: var(--shadow-sm); border-color: var(--gold-300); }
.accordion__item summary {
  position: relative; list-style: none; cursor: pointer; padding: 20px 60px 20px 24px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--cream); color: var(--navy); font-size: 1.3rem; font-weight: 500; transition: transform .3s var(--ease), background .3s;
}
.accordion__item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--gold); }
.accordion__item p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- 18. CTA band ---------- */
.cta-band { background: var(--gold); color: var(--navy-900); padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .1;
  background: radial-gradient(circle at 20% 50%, var(--navy-900) 0 2px, transparent 3px) 0 0 / 24px 24px;
}
.cta-band__inner { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.cta-band__shield { width: 90px; height: auto; filter: drop-shadow(0 10px 20px rgba(14, 27, 48, .35)); }
.cta-band h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: .3em; }
.cta-band p { margin: 0; font-weight: 700; }

/* ---------- 19. Contacto ---------- */
.contact__list { display: grid; gap: 18px; margin: 32px 0; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__list small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact__list a, .contact__list span:not(.contact__icon) { font-weight: 700; font-size: 1.05rem; text-decoration: none; color: var(--navy); }
.contact__list a:hover { color: var(--gold-600); }
.contact__list #cityText { font-size: .98rem; line-height: 1.4; display: inline-block; }
.contact__icon { display: grid; place-items: center; flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; background: var(--navy); }
.contact__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact__list li:first-child .contact__icon svg { fill: var(--gold); stroke: none; }

.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--line); color: var(--navy); transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.socials a:hover { background: var(--navy); border-color: var(--navy); color: var(--gold); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.socials a:nth-child(2) svg, .socials a:nth-child(3) svg { fill: currentColor; stroke: none; }

/* ---------- 20. Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand img { width: 64px; height: auto; margin-bottom: 16px; }
.footer__brand strong { color: var(--white); font-family: var(--font-display); }
.footer__tag { color: var(--gold); font-style: italic; font-size: .95rem; }
.footer__contact { font-style: normal; font-size: .88rem; line-height: 1.7; }
.footer__contact a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer__contact a:hover { color: var(--gold); }
.footer h3 { color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { text-decoration: none; transition: color .2s; }
.footer ul a:hover { color: var(--gold); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--gold); }

/* ---------- 21. Flotantes ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white); box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .25s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: ping 2.4s infinite; z-index: -1; }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { transform: scale(1.08); }

.to-top {
  position: fixed; right: 26px; bottom: 90px; z-index: 90;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: var(--gold); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 22. Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine { to { background-position: 200% center; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(208, 164, 77, .25); } 50% { box-shadow: 0 0 0 8px rgba(208, 164, 77, 0); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
  .nav__list { gap: 18px; }
  .nav { gap: 18px; }
  .route { grid-template-columns: repeat(2, 1fr); }
  .route::before { display: none; }
  .programs { grid-template-columns: repeat(2, 1fr); }
  .program--feature { grid-row: auto; grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 105;
    flex-direction: column; justify-content: center; gap: 36px;
    background: rgba(14, 27, 48, .98);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: center; gap: 22px; }
  .nav__link { font-size: 1.4rem; }
  .nav.is-open .nav__list li { animation: fadeUp .5s var(--ease) both; }
  .nav.is-open .nav__list li:nth-child(2) { animation-delay: .05s; }
  .nav.is-open .nav__list li:nth-child(3) { animation-delay: .1s; }
  .nav.is-open .nav__list li:nth-child(4) { animation-delay: .15s; }
  .nav.is-open .nav__list li:nth-child(5) { animation-delay: .2s; }
  .nav.is-open .nav__list li:nth-child(6) { animation-delay: .25s; }

  .hero__grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero__content { order: 2; }
  .hero__visual { order: 1; max-width: 340px; }
  .hero__lead { margin-inline: auto; }
  .hero .eyebrow { font-size: .7rem; letter-spacing: .12em; }
  .hero__actions, .hero__audiences { justify-content: center; }
  .hero { padding-top: calc(var(--header-h) + 16px); }
  .hero__scroll { display: none; }

  .about, .donate, .signup, .contact, .faq, .panel { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .cta-band__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 20px; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: 260px 180px 180px; grid-template-areas: "a a" "b c" "d e"; }
}

@media (max-width: 600px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .brand__text strong { font-size: .95rem; }
  .brand__shield { width: 34px; }
  .hero__visual { max-width: 250px; }
  .chip { padding: 6px 10px 6px 6px; font-size: .7rem; }
  .chip small { display: none; }
  .chip__icon { width: 30px; height: 30px; font-size: .95rem; border-radius: 9px; }
  .chip--1 { left: -6%; }
  .chip--2 { right: -6%; }
  .hero__actions .btn { width: 100%; }

  .route, .programs, .mv { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 24px 14px; }
  .stat span { font-size: .85rem; }
  .form-grid { grid-template-columns: 1fr; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .about__badge { width: 96px; height: 96px; }
  .about__badge strong { font-size: 1.4rem; }
  .tabs__list { border-radius: 16px; width: 100%; justify-content: flex-start; }
  .tabs__btn { padding: .7em 1.1em; font-size: .85rem; }
  .gallery { grid-template-rows: 200px 150px 150px; gap: 10px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .to-top { right: 20px; bottom: 82px; }
}
