/* ═══════════════════════════════════════════════
   ACADEMIA DE IFÁ — cursos.css
   ÌLÈ ÁJÉ Templo de Sabiduría Ancestral
═══════════════════════════════════════════════ */

:root {
  --emerald: #1a6b4a;
  --emerald-light: #2a9968;
  --emerald-dark: #0f3d2a;
  --ac-gold: #D4AF37;
  --ac-gold-light: #F0D060;
}

.academia-page { background: var(--black); }

/* ── HERO ─────────────────────────────────── */
.academia-hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.academia-hero-img {
  position: absolute;
  inset: 0;
}
.academia-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.academia-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,5,5,0.3) 0%,
    rgba(5,5,5,0.55) 50%,
    rgba(5,5,5,0.85) 100%
  );
}
.academia-hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 900px;
}
.academia-badge-top {
  display: inline-block;
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 999px;
  padding: 0.4rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ac-gold);
  margin-bottom: 1.5rem;
  background: rgba(212,175,55,0.06);
}
.academia-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ac-gold);
  margin-bottom: 1rem;
}
.academia-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.academia-title em {
  font-style: italic;
  color: var(--ac-gold);
}
.academia-subtitle {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  color: rgba(250,250,248,0.78);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto; margin-right: auto;
}
.academia-hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-academia-primary {
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--ac-gold), var(--gold-dark));
  background-size: 200% auto;
  color: var(--black);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.4s ease;
  text-decoration: none;
}
.btn-academia-primary:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212,175,55,0.4);
}
.btn-academia-secondary {
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(212,175,55,0.5);
  color: var(--ac-gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-academia-secondary:hover {
  background: rgba(212,175,55,0.1);
  border-color: var(--ac-gold);
  transform: translateY(-3px);
}
.academia-scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--ac-gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── STRIP ───────────────────────────────── */
.academia-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 1.2rem 2rem;
  background: linear-gradient(90deg, rgba(26,107,74,0.15), rgba(212,175,55,0.08), rgba(26,107,74,0.15));
  border-top: 1px solid rgba(212,175,55,0.15);
  border-bottom: 1px solid rgba(212,175,55,0.15);
}
.strip-item {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.7);
  display: flex; align-items: center; gap: 0.4rem;
}
.strip-divider { color: var(--ac-gold); font-size: 0.5rem; opacity: 0.5; }

/* ── SECTION BASE ────────────────────────── */
.academia-section { padding: 6rem 0; }
.academia-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.academia-container-narrow { max-width: 860px; margin: 0 auto; padding: 0 2rem; }

.section-intro {
  font-size: 0.97rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 1.5rem;
  text-align: center;
  line-height: 1.8;
}

/* ── NIVEL 1 CARD ─────────────────────────── */
.nivel1-section { background: var(--night); }
.nivel1-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
  background: rgba(15,20,30,0.8);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 20px;
  padding: 3.5rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.nivel1-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 20% 50%, rgba(26,107,74,0.08), transparent);
  pointer-events: none;
}
.nivel1-badge-col { text-align: center; }
.badge-glow-wrap {
  position: relative;
  display: inline-block;
}
.badge-glow-wrap::after {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(212,175,55,0.25) 0%, transparent 70%);
  animation: badgeGlow 4s ease-in-out infinite;
}
@keyframes badgeGlow {
  0%,100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}
.nivel1-badge-img {
  width: 220px; height: 220px;
  object-fit: cover;
  border-radius: 50%;
  position: relative; z-index: 1;
  border: 2px solid rgba(212,175,55,0.4);
  box-shadow: 0 0 40px rgba(212,175,55,0.3);
}
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(26,107,74,0.2);
  border: 1px solid rgba(26,107,74,0.4);
  font-size: 0.78rem;
  color: #4ade80;
  letter-spacing: 0.1em;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.nivel1-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald));
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: white;
  margin-bottom: 1rem;
}
.nivel1-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.nivel1-desc {
  font-size: 1rem;
  color: rgba(250,250,248,0.7);
  line-height: 1.85;
  margin-bottom: 2rem;
  font-style: italic;
  border-left: 2px solid var(--ac-gold);
  padding-left: 1rem;
}
.nivel1-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.nivel1-feature {
  font-size: 0.85rem;
  color: rgba(250,250,248,0.75);
  display: flex; align-items: center; gap: 0.5rem;
}
.nivel1-feature span { color: var(--ac-gold); font-size: 0.7rem; }

.btn-lista-espera {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #1a6b4a, #2a9968);
  color: white;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 8px 30px rgba(26,107,74,0.4);
}
.btn-lista-espera:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(26,107,74,0.55);
  background: linear-gradient(135deg, #2a9968, #1a6b4a);
}

/* ── APRENDERÁS ──────────────────────────── */
.aprenderas-section {
  background: linear-gradient(180deg, var(--black) 0%, var(--night) 100%);
}
.aprenderas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.aprende-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.aprende-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--emerald-light), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.aprende-card:hover { transform: translateY(-6px); border-color: rgba(42,153,104,0.35); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.aprende-card:hover::before { opacity: 1; }
.aprende-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.aprende-card h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.aprende-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; }

/* ── PRÓXIMOS NIVELES ────────────────────── */
.proximos-section { background: var(--night); }
.proximos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.proximo-card {
  background: rgba(10,15,25,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.proximo-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,0.25);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.proximo-card-featured {
  border-color: rgba(212,175,55,0.3);
  background: linear-gradient(145deg, rgba(20,15,5,0.9), rgba(10,15,25,0.9));
  transform: scale(1.03);
}
.proximo-card-featured:hover { transform: scale(1.03) translateY(-8px); }
.proximo-num {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(212,175,55,0.15);
  margin-bottom: -0.5rem;
}
.proximo-coming {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--ac-gold);
  margin-bottom: 1rem;
}
.proximo-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.85rem;
}
.proximo-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.5rem; }
.proximo-temas { list-style: none; padding: 0; }
.proximo-temas li {
  font-size: 0.82rem;
  color: rgba(250,250,248,0.55);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-left: 1.2rem;
  position: relative;
}
.proximo-temas li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--ac-gold);
  font-size: 0.65rem;
  top: 50%; transform: translateY(-50%);
}

/* ── BIBLIOTECA ──────────────────────────── */
.biblioteca-section { background: var(--black); }
.biblioteca-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.biblioteca-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.2rem;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
}
.biblioteca-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.3); }
.biblioteca-icon { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.biblioteca-card h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 400;
  color: var(--white); margin-bottom: 0.5rem;
}
.biblioteca-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.bib-tag {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(212,175,55,0.7);
}

/* ── FAQ ─────────────────────────────────── */
.faq-section { background: var(--night); }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.faq-question {
  width: 100%;
  background: none; border: none;
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}
.faq-question span:first-child {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 400;
  line-height: 1.4;
}
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--ac-gold);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq-item.faq-open .faq-icon {
  background: var(--ac-gold);
  color: var(--black);
  border-color: var(--ac-gold);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}
.faq-answer p {
  padding-bottom: 1.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ── LISTA DE ESPERA ─────────────────────── */
.lista-espera-section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}
.lista-espera-bg {
  position: absolute; inset: 0; z-index: 0;
}
.lista-espera-bg img { width: 100%; height: 100%; object-fit: cover; }
.lista-espera-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(5,5,5,0.93) 0%, rgba(10,20,10,0.88) 100%);
}
.lista-espera-card {
  position: relative; z-index: 1;
  background: rgba(10,15,20,0.7);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 24px;
  padding: 3.5rem;
  backdrop-filter: blur(20px);
  text-align: center;
}
.lista-espera-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.lista-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.lista-title em { font-style: italic; color: var(--ac-gold); }
.lista-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.lista-form { text-align: left; }
.lista-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.lista-form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.lista-form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.8);
}
.lista-form-group input,
.lista-form-group select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s;
  outline: none;
}
.lista-form-group input:focus,
.lista-form-group select:focus {
  border-color: rgba(212,175,55,0.5);
  background: rgba(255,255,255,0.07);
}
.lista-form-group select option { background: #0a1020; color: white; }

.btn-lista-submit {
  width: 100%;
  padding: 1.1rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--ac-gold), var(--gold-dark));
  background-size: 200% auto;
  color: var(--black);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.4s ease;
}
.btn-lista-submit:hover:not(:disabled) {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212,175,55,0.4);
}
.btn-lista-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.lista-success { padding: 2rem 0; }
.lista-success-icon {
  font-size: 3rem;
  color: var(--ac-gold);
  display: block;
  margin-bottom: 1rem;
  animation: pulseGold 3s ease-in-out infinite;
}
.lista-success h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.lista-success p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.75;
}
.btn-lista-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-lista-wa:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(37,211,102,0.4); }

/* ── FOOTER ACADEMIA ─────────────────────── */
.academia-footer {
  border-top: 1px solid rgba(212,175,55,0.12);
  padding: 3rem 0;
  background: var(--black);
}
.ac-footer-inner { text-align: center; }
.ac-footer-logo { width: 80px; height: auto; margin-bottom: 1rem; filter: drop-shadow(0 0 8px rgba(212,175,55,0.3)); }
.ac-footer-text { font-style: italic; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem; }
.ac-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2rem;
  margin-bottom: 1.5rem;
}
.ac-footer-links a {
  font-size: 0.8rem; color: rgba(250,250,248,0.5);
  text-decoration: none; letter-spacing: 0.08em;
  transition: color 0.3s;
}
.ac-footer-links a:hover { color: var(--ac-gold); }
.ac-footer-copy { font-size: 0.72rem; color: rgba(250,250,248,0.3); letter-spacing: 0.05em; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
  .aprenderas-grid { grid-template-columns: repeat(2, 1fr); }
  .proximos-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .proximo-card-featured { transform: none; }
  .proximo-card-featured:hover { transform: translateY(-8px); }
}
@media (max-width: 768px) {
  .nivel1-card { grid-template-columns: 1fr; text-align: center; padding: 2rem; gap: 2rem; }
  .nivel1-features { grid-template-columns: 1fr; text-align: left; }
  .nivel1-badge-img { width: 180px; height: 180px; }
  .biblioteca-grid { grid-template-columns: repeat(2, 1fr); }
  .lista-form-row { grid-template-columns: 1fr; }
  .academia-strip { gap: 0.5rem; }
  .strip-divider { display: none; }
  .hide-mobile { display: none; }
}
@media (max-width: 480px) {
  .aprenderas-grid { grid-template-columns: 1fr; }
  .biblioteca-grid { grid-template-columns: 1fr; }
  .academia-section { padding: 4rem 0; }
  .lista-espera-card { padding: 2rem 1.25rem; }
}
