*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* Paleta extraída de la imagen generada */
  --gold: #D4AF37;
  --gold-light: #F9E596;
  --gold-dark: #997A15;
  --teal: #00E5FF; /* Cian brillante mágico */
  --teal-dark: #008B99;
  --purple-glow: rgba(147, 51, 234, 0.4); /* Resplandor púrpura de la estela */
  
  --ink: #070B14; /* Índigo ultra profundo para el fondo exterior */
  --ink-soft: #111A2C; /* Azul noche interior */
  
  --paper: #EAE0CC;
  --paper-warm: #FDF9F1;
  --mist: rgba(255,255,255,0.06);
  --border-gold: rgba(212, 175, 55, 0.4);
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 80px;
  overflow: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Gradientes que imitan la estela luminosa de la imagen */
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0, 229, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 75% 65%, var(--purple-glow) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  z-index: 0;
}

/* Partículas decorativas */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: float linear infinite;
  opacity: 0;
  box-shadow: 0 0 8px currentColor; /* Añade brillo propio a las partículas */
}
@keyframes float {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 720px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-gold);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.1);
}

.hero-logo {
  width: min(300px, 75vw);
  height: min(300px, 75vw);
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 2px rgba(212, 175, 55, 0.6),
    0 0 40px rgba(212, 175, 55, 0.3),
    0 0 90px rgba(0, 229, 255, 0.2);
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(212,175,55,0.5), 0 0 40px rgba(212,175,55,0.3), 0 0 80px rgba(0,229,255,0.15); }
  50%       { box-shadow: 0 0 0 3px rgba(212,175,55,0.8), 0 0 60px rgba(212,175,55,0.5), 0 0 120px rgba(0,229,255,0.35); }
}

.hero-gu {
  font-family: 'Noto Serif Gujarati', 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  color: var(--gold-light);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.6), 0 2px 4px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 600;
  color: var(--paper-warm);
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-title em {
  font-style: italic;
  color: var(--teal);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 400;
  color: rgba(234,224,204,0.92);
  line-height: 1.7;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

/* Botón primario simulando la cinta dorada de la imagen */
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: var(--ink);
  padding: 15px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4), inset 0 2px 0 rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6), inset 0 2px 0 rgba(255,255,255,0.6);
}

.btn-secondary {
  background: rgba(0, 229, 255, 0.04);
  color: var(--teal);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(0, 229, 255, 0.3);
}
.btn-secondary:hover {
  background: rgba(0, 229, 255, 0.12);
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.2);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(234,224,204,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
.scroll-arrow { font-size: 1.2rem; color: var(--gold); }

/* ── MISIÓN ── */
.mision {
  background: var(--ink-soft);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}
.mision::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.mision-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.mision-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-style: italic;
  font-weight: 400;
  color: var(--paper-warm);
  line-height: 1.5;
  border-left: 3px solid var(--gold);
  padding-left: 28px;
}

.mision-body {
  font-size: 1.12rem;
  font-weight: 400;
  color: rgba(234,224,204,0.95);
  line-height: 1.85;
}

.mision-body strong {
  color: var(--gold-light);
  font-weight: 500;
}

.mision-verse {
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 12px;
  padding: 32px 36px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-style: italic;
  color: rgba(234,224,204,0.95);
  line-height: 1.55;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.mision-verse cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--teal);
  letter-spacing: 0.08em;
}

/* ── STATS ── */
.stats {
  padding: 60px 24px;
  background: var(--ink);
}
.stats-inner {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.stat {
  padding: 36px 24px;
  background: rgba(212, 175, 55, 0.05);
  text-align: center;
  border-right: 1px solid var(--border-gold);
  transition: background 0.2s;
}
.stat:last-child { border-right: none; }
.stat:hover { background: rgba(212, 175, 55, 0.1); }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 16px rgba(212, 175, 55, 0.3);
}
.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(234,224,204,0.8);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── PARA QUIÉN ── */
.para-quien {
  padding: 100px 24px;
  background: var(--ink-soft);
  position: relative;
}
.para-quien::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
}
.para-quien-inner {
  max-width: 800px;
  margin: 0 auto;
}
.para-quien h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--paper-warm);
  margin-bottom: 48px;
  line-height: 1.2;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.card {
  background: rgba(7, 11, 20, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  background: rgba(212, 175, 55, 0.05);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}
.card-icon { font-size: 2.2rem; margin-bottom: 16px; text-shadow: 0 0 12px rgba(212, 175, 55, 0.4); }
.card-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--paper-warm);
  margin-bottom: 10px;
}
.card-desc {
  font-size: 0.98rem;
  font-weight: 400;
  color: rgba(234,224,204,0.85);
  line-height: 1.6;
}

/* ── PROMESA ── */
.promesa {
  padding: 100px 24px;
  background: var(--ink);
  text-align: center;
}
.promesa-inner { max-width: 680px; margin: 0 auto; }
.promesa h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--paper-warm);
  margin-bottom: 24px;
  line-height: 1.2;
}
.promesa p {
  font-size: 1.12rem;
  font-weight: 400;
  color: rgba(234,224,204,0.9);
  line-height: 1.8;
  margin-bottom: 48px;
}
.promesa-gu {
  font-family: 'Noto Serif Gujarati', serif;
  font-size: 2.2rem;
  color: var(--teal);
  margin-bottom: 8px;
  display: block;
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
}
.promesa-rom {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
  display: block;
  margin-bottom: 14px;
}
.promesa-es {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.7rem;
  font-weight: 700;
  color: rgba(234,224,204,0.92);
  display: block;
  margin-bottom: 56px;
}

/* ── FOOTER ── */
footer {
  background: var(--ink-soft);
  border-top: 1px solid var(--border-gold);
  padding: 40px 24px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(234,224,204,0.6);
  line-height: 1.8;
}

@media (max-width: 600px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--border-gold); }
  .stat:nth-child(2n) { border-right: none; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { 
    width: auto;
    max-width: 90vw;
    text-align: center;
  }
}

/* Botón de música — sustituye el enorme inline style del HTML */
#musicToggle {
  position: fixed; bottom: 20px; right: 20px; z-index: 9999;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.4);
  background: rgba(7,11,20,0.85); color: var(--gold);
  font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px); transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
#musicToggle.music-off { color: rgba(212,175,55,0.5); }

/* Helpers */
.scroll-hint  { cursor: pointer; }
.footer-sub   { margin-top: 6px; }


