/* ============================================================
   Colegio Don Bosco Resistencia — Hoja de estilos v2
   Stack: CSS moderno con variables, animaciones, glass UI
   ============================================================ */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Paleta institucional moderna */
  --c-navy-900:  #050d24;
  --c-navy-800:  #0a1838;
  --c-navy-700:  #102553;
  --c-navy-600:  #1a3470;
  --c-blue-500:  #2a5cb8;
  --c-blue-400:  #4a86f0;

  --c-gold-600:  #d39213;
  --c-gold-500:  #f5b21e;
  --c-gold-400:  #ffcb47;
  --c-gold-300:  #ffe09a;

  --c-red:       #d33a3a;
  --c-coral:     #ff6b6b;
  --c-mint:      #34d399;

  --c-bg:        #f6f7fb;
  --c-bg-alt:    #ffffff;
  --c-surface:   #ffffff;
  --c-text:      #0c1733;
  --c-text-mut:  #5c6781;
  --c-border:    #e6e9f2;

  --grad-hero: radial-gradient(ellipse 120% 90% at 70% 10%, #1a3470 0%, #0a1838 45%, #050d24 100%);
  --grad-gold: linear-gradient(135deg, #ffcb47 0%, #f5b21e 50%, #d39213 100%);
  --grad-blue: linear-gradient(135deg, #4a86f0 0%, #2a5cb8 60%, #102553 100%);

  --shadow-sm: 0 2px 6px rgba(10, 24, 56, .06);
  --shadow-md: 0 8px 22px rgba(10, 24, 56, .10);
  --shadow-lg: 0 22px 60px rgba(10, 24, 56, .20);
  --shadow-gold: 0 18px 50px -10px rgba(245, 178, 30, .55);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --t-fast: .25s cubic-bezier(.4, 0, .2, 1);
  --t-mid:  .45s cubic-bezier(.22, 1, .36, 1);
  --t-slow: .8s  cubic-bezier(.22, 1, .36, 1);

  --container: 1240px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--c-gold-500); color: var(--c-navy-900); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.2rem);
  width: 100%;
}

/* ---------- Custom cursor (desktop) ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity .3s ease, transform .15s ease-out;
  opacity: 0;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--c-gold-500);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(245, 178, 30, .6);
  transition: transform .25s cubic-bezier(.4, 0, .2, 1), opacity .3s ease, width .25s ease, height .25s ease, background .25s ease;
}
.cursor-ring.is-hover {
  width: 64px; height: 64px;
  background: rgba(245, 178, 30, .12);
  border-color: rgba(245, 178, 30, .9);
}
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, [data-tilt], .nav-toggle, input, textarea, select { cursor: none; }
  .cursor-dot, .cursor-ring { opacity: 1; }
}

/* ---------- Progress bar ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-gold);
  z-index: 1000;
  transition: width .1s linear;
  box-shadow: 0 0 12px rgba(245, 178, 30, .5);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: all var(--t-mid);
  background: transparent;
}
#navbar.scrolled {
  padding: .65rem 0;
  background: rgba(5, 13, 36, .82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
}
.nav-logo img {
  width: 48px; height: 48px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35));
  transition: transform var(--t-mid);
}
.nav-logo:hover img { transform: rotate(-6deg) scale(1.08); }
.nav-brand strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
}
.nav-brand span {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-gold-400);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2.2rem;
}
.nav-links a {
  color: rgba(255, 255, 255, .82);
  font-weight: 500;
  font-size: .94rem;
  position: relative;
  padding: .4rem 0;
  transition: color var(--t-fast);
}
.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--c-gold-500);
  transition: width var(--t-mid);
  border-radius: 2px;
}
.nav-links a:hover,
.nav-links a.is-active { color: #fff; }
.nav-links a:hover::before,
.nav-links a.is-active::before { width: 100%; }

.nav-links a.nav-highlight {
  background: var(--grad-gold);
  color: var(--c-navy-900) !important;
  padding: .55rem 1.05rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .02em;
  box-shadow: 0 8px 24px -6px rgba(245, 178, 30, .6);
  animation: pulseGold 2.6s ease-in-out infinite;
}
.nav-links a.nav-highlight::before { display: none; }
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 8px 24px -6px rgba(245, 178, 30, .5); transform: translateY(0); }
  50%      { box-shadow: 0 14px 32px -6px rgba(245, 178, 30, .85); transform: translateY(-2px); }
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  z-index: 110;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--t-mid);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(5, 13, 36, .96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 1.3rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-mid);
  }
  .nav-links.is-open { opacity: 1; pointer-events: auto; }
  .nav-links a { color: #fff; font-size: 1.2rem; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 8rem 0 10rem;
  overflow: hidden;
  isolation: isolate;
}
@media (max-height: 820px) {
  #hero { padding: 7rem 0 9rem; }
}
@media (max-width: 720px) {
  #hero { padding: 6.5rem 0 8rem; min-height: auto; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-hero), url('../img/hero-bg.jpg') center/cover no-repeat;
  background-blend-mode: multiply;
  z-index: -3;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 36, .55) 0%, rgba(5, 13, 36, .85) 100%);
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, #000 30%, transparent 80%);
  z-index: -2;
}

/* Orbes flotantes */
.hero-orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  will-change: transform;
}
.orb-1 { width: 480px; height: 480px; background: #4a86f0; top: -120px; left: -120px; animation: float1 18s ease-in-out infinite; }
.orb-2 { width: 380px; height: 380px; background: #f5b21e; bottom: -80px; right: -80px; animation: float2 22s ease-in-out infinite; opacity: .35; }
.orb-3 { width: 280px; height: 280px; background: #ff6b6b; top: 40%; right: 25%; animation: float3 16s ease-in-out infinite; opacity: .25; }
.orb-4 { width: 200px; height: 200px; background: #34d399; bottom: 25%; left: 18%; animation: float1 20s ease-in-out infinite reverse; opacity: .25; }
@keyframes float1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(60px, 80px) scale(1.15); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-80px, -60px) scale(.9); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0,0); }
  33%      { transform: translate(-40px, 30px); }
  66%      { transform: translate(50px, -20px); }
}

.hero-inner { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(20px);
  border-radius: 99px;
  font-size: .82rem;
  letter-spacing: .04em;
  margin-bottom: 1.8rem;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-gold-400);
  box-shadow: 0 0 0 0 rgba(245, 178, 30, .7);
  animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
  0%   { box-shadow: 0 0 0 0 rgba(245, 178, 30, .7); }
  70%  { box-shadow: 0 0 0 10px rgba(245, 178, 30, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 178, 30, 0); }
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
  margin-bottom: 1.6rem;
  max-width: 16ch;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: heroWord .9s cubic-bezier(.22, 1, .36, 1) forwards;
}
.hero-title .line:nth-child(2) {
  animation: heroLine .9s cubic-bezier(.22, 1, .36, 1) .35s both;
}
.hero-title .word:nth-child(1) { animation-delay: .05s; }
.hero-title .word:nth-child(2) { animation-delay: .2s;  }
@keyframes heroWord { to { transform: translateY(0); opacity: 1; } }
@keyframes heroLine { from { transform: translateY(110%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  max-width: 60ch;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 2.6rem;
}
.hero-subtitle strong { color: var(--c-gold-300); font-weight: 700; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.6rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: all var(--t-mid);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t-mid); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--grad-gold);
  color: var(--c-navy-900);
  box-shadow: 0 12px 30px -8px rgba(245, 178, 30, .5);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fff 0%, var(--c-gold-300) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--t-mid);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(245, 178, 30, .7); }
.btn-primary:hover::before { opacity: 1; }

.btn-gold {
  background: var(--grad-gold);
  color: var(--c-navy-900);
  box-shadow: var(--shadow-gold);
  font-size: 1.05rem;
  padding: 1.05rem 1.9rem;
}
.btn-gold:hover { transform: translateY(-3px) scale(1.02); }

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .35);
}
.btn-ghost-light {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
}

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding-top: 2rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  max-width: 760px;
}
.hero-stat strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 900;
  background: linear-gradient(180deg, #fff 0%, var(--c-gold-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: .35rem;
}
.hero-stat span {
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  font-weight: 500;
}

@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  color: rgba(255, 255, 255, .65);
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  z-index: 3;
  transition: opacity var(--t-fast);
}
.hero-scroll:hover { opacity: .85; }
.hero-scroll .scroll-line {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, .25);
  position: relative;
  overflow: hidden;
}
.hero-scroll .scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-gold-400);
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
/* Ocultar el cue cuando hay poco espacio */
@media (max-height: 760px), (max-width: 720px) {
  .hero-scroll { display: none; }
}

/* ============================================================
   SECTIONS COMUNES
   ============================================================ */
.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}
.section-alt {
  background: linear-gradient(180deg, #fff 0%, #f1f4fb 100%);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}
.section-header-light h2, .section-header-light p { color: #fff; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-blue-500);
  margin-bottom: 1rem;
}
.section-tag i {
  width: 28px; height: 2px;
  background: var(--c-blue-500);
  border-radius: 2px;
}
.section-tag-gold { color: var(--c-gold-400); }
.section-tag-gold i { background: var(--c-gold-400); }

.section h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-bottom: 1.2rem;
}
.section h2 em {
  font-style: italic;
  font-weight: 500;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-bingo h2 em,
.section-header-light h2 em {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-header p {
  font-size: 1.08rem;
  color: var(--c-text-mut);
}
.section-header-light p { color: rgba(255, 255, 255, .82); }

/* ============================================================
   INFORMACIÓN
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  isolation: isolate;
}
.about-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.22, 1, .36, 1);
}
.about-img-wrap:hover img { transform: scale(1.08); }

.about-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  padding: 1.1rem 1.4rem;
  background: rgba(5, 13, 36, .92);
  backdrop-filter: blur(20px);
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 1;
}
.about-img-badge strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.about-img-badge span {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}
.about-img-deco {
  position: absolute;
  inset: -20px;
  z-index: -1;
  background: var(--grad-gold);
  filter: blur(40px);
  opacity: .3;
  border-radius: var(--radius-lg);
}

.about-content h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--c-navy-800);
}
.about-content p {
  color: var(--c-text-mut);
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}
.about-content strong { color: var(--c-text); }

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.feature-item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .9rem;
  border-radius: var(--radius-sm);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  transition: all var(--t-mid);
}
.feature-item:hover {
  transform: translateY(-3px);
  border-color: var(--c-blue-400);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ebf2ff 0%, #f7faff 100%);
  border-radius: 12px;
  color: var(--c-blue-500);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-text strong {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
}
.feature-text span {
  font-size: .82rem;
  color: var(--c-text-mut);
}

/* Levels */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.level-card {
  position: relative;
  padding: 2.2rem 2rem 2.4rem;
  background: var(--c-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  overflow: hidden;
  transition: all var(--t-mid);
  isolation: isolate;
}
.level-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-blue);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--t-mid);
}
.level-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  color: #fff;
  border-color: transparent;
}
.level-card:hover::before { opacity: 1; }
.level-card:hover .level-num { color: rgba(255, 255, 255, .18); }
.level-card:hover .level-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.level-card:hover p { color: rgba(255, 255, 255, .85); }

.level-card-glow {
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(245, 178, 30, .25) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--t-slow);
  z-index: -1;
  pointer-events: none;
}
.level-card:hover .level-card-glow { opacity: 1; }

.level-num {
  position: absolute;
  top: 1.5rem;
  right: 1.6rem;
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: rgba(10, 24, 56, .08);
  line-height: 1;
  transition: color var(--t-mid);
}
.level-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ebf2ff 0%, #f7faff 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-blue-500);
  margin-bottom: 1.6rem;
  transition: all var(--t-mid);
}
.level-icon svg { width: 26px; height: 26px; }
.level-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .65rem;
  letter-spacing: -.015em;
}
.level-card p {
  font-size: .95rem;
  color: var(--c-text-mut);
  transition: color var(--t-mid);
}

/* ============================================================
   PAGOS
   ============================================================ */
.section-bg-shape {
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: var(--grad-blue);
  opacity: .06;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}
#pagos .container { position: relative; z-index: 1; }

.pagos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-bottom: 3rem;
}
.pago-card {
  position: relative;
  padding: 1.8rem 1.6rem 1.4rem;
  background: var(--c-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.pago-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid);
}
.pago-card:hover {
  transform: translateY(-4px);
  border-color: #d8def0;
  box-shadow: var(--shadow-md);
}
.pago-card:hover::after { transform: scaleX(1); }

.pago-card-top {
  height: 56px;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.pago-card-top img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(.2);
  transition: filter var(--t-mid);
}
.pago-card:hover .pago-card-top img { filter: none; }

.pago-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--c-navy-800);
  letter-spacing: -.01em;
  line-height: 1.25;
}
.pago-card p {
  font-size: .9rem;
  color: var(--c-text-mut);
  line-height: 1.6;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}
.pago-card p strong { color: var(--c-text); }

/* Action links — discretos, alineados al pie */
.pago-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
  margin-top: auto;
}
.pago-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-blue-500);
  letter-spacing: .005em;
  transition: color var(--t-fast), gap var(--t-fast);
  line-height: 1.2;
}
.pago-link svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  stroke-width: 2;
}
.pago-link:hover {
  color: var(--c-navy-700);
  gap: .55rem;
}
.pago-link-sub {
  color: var(--c-text-mut);
  font-weight: 500;
  font-size: .78rem;
}
.pago-link-sub:hover { color: var(--c-text); }
span.pago-link-sub {
  cursor: default;
  font-style: italic;
}

.pagos-nota {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.6rem 1.8rem;
  background: var(--c-navy-800);
  color: #fff;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.pagos-nota::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: var(--c-gold-500);
  border-radius: 50%;
  filter: blur(60px);
  opacity: .25;
}
.pagos-nota-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: var(--grad-gold);
  color: var(--c-navy-900);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.pagos-nota-icon svg { width: 24px; height: 24px; }
.pagos-nota strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.18rem;
  margin-bottom: .3rem;
}
.pagos-nota p { font-size: .94rem; color: rgba(255, 255, 255, .85); }
.pagos-nota a { color: var(--c-gold-400); font-weight: 600; }
.pagos-nota a:hover { color: var(--c-gold-300); }

/* ============================================================
   BINGO
   ============================================================ */
.section-bingo {
  background: var(--grad-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.bingo-balls-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ball {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--c-navy-900);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: .9rem;
  box-shadow:
    inset -6px -6px 12px rgba(0, 0, 0, .15),
    inset 6px 6px 12px rgba(255, 255, 255, .35),
    0 8px 20px rgba(245, 178, 30, .35);
  opacity: .35;
  will-change: transform;
}
.ball.b1 { top: 8%;  left: 4%;  width: 80px; height: 80px; animation: ballFloat 16s ease-in-out infinite; }
.ball.b2 { top: 18%; right: 8%; animation: ballFloat 19s ease-in-out infinite reverse; }
.ball.b3 { top: 60%; left: 10%; width: 50px; height: 50px; font-size: .75rem; animation: ballFloat 14s ease-in-out infinite; }
.ball.b4 { top: 78%; right: 12%; animation: ballFloat 21s ease-in-out infinite reverse; }
.ball.b5 { top: 42%; right: 4%; width: 72px; height: 72px; animation: ballFloat 17s ease-in-out infinite; }
.ball.b6 { bottom: 12%; left: 32%; width: 56px; height: 56px; animation: ballFloat 13s ease-in-out infinite reverse; }
.ball.b7 { top: 35%; left: 38%; width: 44px; height: 44px; font-size: .7rem; animation: ballFloat 23s ease-in-out infinite; }
.ball.b8 { bottom: 30%; right: 28%; width: 60px; height: 60px; animation: ballFloat 18s ease-in-out infinite reverse; }
@keyframes ballFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(30px, -40px) rotate(90deg); }
  50%      { transform: translate(-20px, -20px) rotate(180deg); }
  75%      { transform: translate(20px, 30px) rotate(270deg); }
}

.section-bingo .container { position: relative; z-index: 1; }

/* Marquee */
.bingo-marquee {
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 99px;
  padding: .85rem 0;
  margin-bottom: 4rem;
  backdrop-filter: blur(20px);
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-gold-300);
  letter-spacing: .02em;
  flex-shrink: 0;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Layout principal del bingo */
.bingo-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
}
.bingo-info h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -.015em;
}
.bingo-info > p {
  color: rgba(255, 255, 255, .8);
  margin-bottom: 2.2rem;
  font-size: 1.05rem;
}
.bingo-info strong { color: var(--c-gold-300); }

.bingo-data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.bingo-data {
  padding: 1.4rem 1.4rem 1.5rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  transition: all var(--t-mid);
}
.bingo-data:hover {
  background: rgba(255, 255, 255, .07);
  border-color: var(--c-gold-400);
  transform: translateY(-3px);
}
.bingo-data-label {
  display: block;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: .5rem;
}
.bingo-data strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}
.bingo-data strong em {
  font-style: italic;
  color: var(--c-gold-400);
  font-weight: 800;
}
.bingo-data small {
  display: block;
  margin-top: .35rem;
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
}

.bingo-highlight {
  display: flex;
  gap: 1.2rem;
  padding: 1.4rem;
  background: linear-gradient(135deg, rgba(245, 178, 30, .15) 0%, rgba(245, 178, 30, .05) 100%);
  border: 1px solid rgba(245, 178, 30, .35);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}
.bingo-highlight-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--grad-gold);
  color: var(--c-navy-900);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  animation: spin 12s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.bingo-highlight-icon svg { width: 22px; height: 22px; }
.bingo-highlight strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  margin-bottom: .35rem;
  color: var(--c-gold-300);
}
.bingo-highlight p {
  font-size: .92rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.55;
}

.bingo-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Lado derecho: tabla de premios + IG */
.bingo-side { display: flex; flex-direction: column; gap: 2rem; }

.prizes-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.prizes-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 280px; height: 280px;
  background: var(--c-gold-500);
  border-radius: 50%;
  filter: blur(100px);
  opacity: .2;
}
.prizes-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  position: relative;
}
.prizes-card-header h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
}
.prizes-pill {
  padding: .4rem .9rem;
  background: var(--grad-gold);
  color: var(--c-navy-900);
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.prizes-table {
  width: 100%;
  border-collapse: collapse;
  position: relative;
}
.prizes-table th {
  text-align: left;
  padding: .85rem 1rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.prizes-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.prizes-table tr:last-child td { border-bottom: none; }
.prize-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  font-size: .9rem;
  font-weight: 800;
}
.prize-highlight td {
  background: linear-gradient(90deg, rgba(245, 178, 30, .14) 0%, transparent 100%);
  font-size: 1.18rem;
}
.prize-highlight .prize-num {
  background: var(--grad-gold);
  color: var(--c-navy-900);
  box-shadow: 0 0 0 0 rgba(245, 178, 30, .6);
  animation: pulseGold 2s infinite;
}

/* Instagram embed wrap */
.ig-embed-wrap {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  align-items: center;
}
.ig-embed-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-gold-300);
  letter-spacing: .02em;
}
.ig-embed-wrap .instagram-media { width: 100% !important; }

/* Pasos */
.bingo-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 4rem;
}
.bingo-step {
  position: relative;
  padding: 1.8rem 1.4rem 1.6rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-md);
  transition: all var(--t-mid);
}
.bingo-step:hover {
  background: rgba(255, 255, 255, .07);
  transform: translateY(-4px);
  border-color: var(--c-gold-400);
}
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--c-navy-900);
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px -4px rgba(245, 178, 30, .5);
}
.bingo-step h5 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.bingo-step p {
  font-size: .9rem;
  color: rgba(255, 255, 255, .75);
  line-height: 1.55;
}
.bingo-step strong { color: var(--c-gold-300); font-weight: 700; }

/* Achieved */
.bingo-achieved {
  padding: 2rem 2.2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .01) 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}
.bingo-achieved h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--c-gold-300);
}
.bingo-achieved ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: .9rem;
}
.bingo-achieved li {
  position: relative;
  padding-left: 2rem;
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
}
.bingo-achieved li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--c-navy-900);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: .85rem;
}

@media (max-width: 980px) {
  .bingo-main-grid     { grid-template-columns: 1fr; gap: 2.5rem; }
  .bingo-steps         { grid-template-columns: repeat(2, 1fr); }
  .bingo-data-grid     { grid-template-columns: 1fr 1fr; }
  .bingo-balls-bg      { opacity: .4; }
  .ball                { transform: scale(.8); }
}
@media (max-width: 560px) {
  .bingo-data-grid     { grid-template-columns: 1fr; }
  .bingo-steps         { grid-template-columns: 1fr; }
  .bingo-balls-bg      { display: none; }
  .marquee-track span  { font-size: .95rem; }
  .prizes-table th,
  .prizes-table td     { padding: .7rem .5rem; font-size: .9rem; }
  .prize-num           { width: 30px; height: 30px; font-size: .8rem; }
  .bingo-achieved      { padding: 1.4rem 1.4rem; }
  .bingo-highlight     { flex-direction: column; }
}

/* ============================================================
   SOLIDARIDAD — YouTube en overlay
   ============================================================ */
.solidaridad-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.solidaridad-video {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.solidaridad-video img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow), filter var(--t-mid);
}
.solidaridad-video:hover img {
  transform: scale(1.06);
  filter: brightness(.6);
}
.solidaridad-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5, 13, 36, .85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}
.solidaridad-title-img {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1;
}
.solidaridad-title-img em {
  font-style: italic;
  font-weight: 500;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--c-navy-900);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: all var(--t-mid);
  box-shadow: 0 18px 50px -8px rgba(245, 178, 30, .55);
}
.play-btn svg { width: 38px; height: 38px; margin-left: 4px; }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }
.play-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(245, 178, 30, .8);
  animation: playPulse 2s ease-out infinite;
}
@keyframes playPulse {
  0%   { transform: scale(1);   opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.solidaridad-content h2 { color: var(--c-navy-800); }
.solidaridad-content p {
  color: var(--c-text-mut);
  font-size: 1.04rem;
  margin-bottom: 1.4rem;
}
.solidaridad-content strong { color: var(--c-text); }

.solidaridad-highlight {
  padding: 1.4rem 1.8rem;
  background: linear-gradient(135deg, #ebf2ff 0%, #f7faff 100%);
  border-left: 4px solid var(--c-blue-500);
  border-radius: 12px;
  margin: 1.6rem 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--c-navy-800);
  line-height: 1.55;
}

/* Modal video */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 13, 36, .94);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.video-modal.is-open { opacity: 1; pointer-events: auto; }
.video-modal-close {
  position: absolute;
  top: 1.5rem; right: 1.8rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
}
.video-modal-close:hover {
  background: var(--c-gold-500);
  color: var(--c-navy-900);
  transform: rotate(90deg);
}
.video-modal-frame {
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  background: #000;
  transform: scale(.96);
  transition: transform var(--t-mid);
}
.video-modal.is-open .video-modal-frame { transform: scale(1); }
.video-modal-iframe { width: 100%; height: 100%; }
.video-modal-iframe iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}
.contacto-info { display: flex; flex-direction: column; gap: 1.2rem; }

.contacto-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.3rem 1.4rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: all var(--t-mid);
}
.contacto-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-blue-400);
}
.contacto-item-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--grad-blue);
  color: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.contacto-item-icon svg { width: 22px; height: 22px; }
.contacto-item-body strong {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-text-mut);
  margin-bottom: .25rem;
}
.contacto-item-body span,
.contacto-item-body a {
  display: block;
  font-size: 1rem;
  color: var(--c-text);
  font-weight: 500;
  margin: 2px 0;
}
.contacto-item-body a:hover { color: var(--c-blue-500); }

.contacto-socials .socials-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-text-mut);
  margin-bottom: .75rem;
}
.social-links { display: flex; gap: .8rem; }
.social-link {
  width: 44px; height: 44px;
  background: var(--c-navy-800);
  color: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-mid);
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover {
  background: var(--grad-gold);
  color: var(--c-navy-900);
  transform: translateY(-3px) rotate(-6deg);
}

/* Form */
.contact-form {
  padding: 2.2rem;
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
}
.contact-form h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
  color: var(--c-navy-800);
}

.form-alert {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  font-size: .95rem;
}
.form-alert-ok    { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.form-alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-text);
}
.form-group label span { color: #dc2626; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .85rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
  transition: all var(--t-fast);
  color: var(--c-text);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-blue-500);
  box-shadow: 0 0 0 4px rgba(74, 134, 240, .12);
}
.btn-submit {
  margin-top: .8rem;
  width: 100%;
  justify-content: center;
}

@media (max-width: 1024px) {
  .about-grid, .solidaridad-wrap {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }
  .levels-grid { grid-template-columns: repeat(2, 1fr); }
  .about-img-wrap { max-width: 600px; margin: 0 auto; width: 100%; }
}
@media (max-width: 880px) {
  .form-row, .contacto-grid {
    grid-template-columns: 1fr;
  }
  .levels-grid, .about-features { grid-template-columns: 1fr; }
  .pagos-nota { flex-direction: column; align-items: flex-start; }
  .pagos-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 4rem 0 5rem; }
  .section-header { margin-bottom: 2.5rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .about-img-badge { padding: .8rem 1rem; bottom: 1rem; left: 1rem; }
  .about-img-badge strong { font-size: 1.6rem; }
  .contact-form { padding: 1.5rem; }
  .play-btn { width: 76px; height: 76px; }
  .play-btn svg { width: 30px; height: 30px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--c-navy-900);
  color: #fff;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold-500), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  margin-top: 1.2rem;
  font-size: .92rem;
  color: rgba(255, 255, 255, .65);
  max-width: 45ch;
  line-height: 1.65;
}
.footer-col h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--c-gold-400);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.footer-col a {
  font-size: .92rem;
  color: rgba(255, 255, 255, .7);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.footer-col a:hover { color: #fff; padding-left: 6px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
  flex-wrap: wrap;
  gap: 1rem;
}
.back-link { color: var(--c-gold-400); }
.back-link:hover { color: var(--c-gold-300); }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   Back to top
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 1.8rem; right: 1.8rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--c-navy-900);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px -6px rgba(245, 178, 30, .5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all var(--t-mid);
  z-index: 90;
}
#back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-to-top:hover { transform: translateY(-4px) scale(1.06); }
#back-to-top svg { width: 22px; height: 22px; }

/* ============================================================
   Reveal animations (intersection observer)
   ============================================================ */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }
.delay-6 { transition-delay: .6s; }
.delay-7 { transition-delay: .7s; }
.delay-8 { transition-delay: .8s; }

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