/* ============================================
   HONDANA v9 — Estilo Mavi: dorados, ocres, cremas
   ============================================ */

:root {
  --gold: #c69847;
  --gold-light: #e3c876;
  --gold-bright: #f4d98a;
  --gold-pale: #f5e8b8;
  --gold-deep: #8c6a26;
  --cream: #fdfbf4;
  --cream-warm: #f7f0df;
  --sepia: #efe2c3;
  --sepia-warm: #e8d8b2;
  --ochre: #b8954c;
  --ink: #2a2418;
  --ink-soft: #4a3f2a;
  --ink-muted: #786a4d;
  --ink-deep: #1a1410;
  --line: rgba(140, 106, 38, 0.18);
  --line-strong: rgba(140, 106, 38, 0.35);
  --shadow: 0 1px 3px rgba(140, 106, 38, 0.08), 0 8px 32px rgba(140, 106, 38, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(ellipse 1200px 800px at 50% 5%, rgba(140, 106, 38, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 900px 700px at 15% 25%, rgba(227, 200, 118, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 1000px 800px at 85% 55%, rgba(198, 152, 71, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #f5ead2 0%, #efe2c3 30%, #e8d8b2 60%, #efe2c3 100%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 700px at 80% 20%, rgba(244, 217, 138, 0.15) 0%, transparent 70%),
    radial-gradient(circle 600px at 15% 75%, rgba(198, 152, 71, 0.12) 0%, transparent 70%);
  z-index: 0;
}
.landing, .onboarding, .app { position: relative; z-index: 1; }

em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; }

/* ---------- Toggle voz Matilda (sobre hero oscuro) ---------- */
.voice-toggle {
  position: fixed;
  top: 80px; right: 24px;
  z-index: 1000;
  display: flex; align-items: center; gap: 6px;
  background: rgba(15, 10, 6, 0.7);
  border: 1px solid rgba(244, 217, 138, 0.3);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--gold-pale);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.voice-toggle:hover { background: rgba(140, 106, 38, 0.6); border-color: var(--gold-bright); color: var(--cream); }
.voice-toggle.active { background: var(--gold-deep); border-color: var(--gold-bright); color: var(--cream); box-shadow: 0 0 20px rgba(244, 217, 138, 0.4); }
.voice-toggle.active .voice-label { color: var(--cream); }
.voice-toggle svg { width: 16px; height: 16px; }
.voice-label { font-size: 12px; text-transform: uppercase; }

/* ---------- NAV (sobre hero cinematico) ---------- */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px;
  background: linear-gradient(180deg, rgba(15, 10, 6, 0.55) 0%, transparent 100%);
  border-bottom: 1px solid rgba(244, 217, 138, 0.12);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 32px; height: 32px; filter: drop-shadow(0 0 8px rgba(244, 217, 138, 0.3)); }
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 18px;
  color: var(--cream);
}
.nav-meta { display: flex; align-items: center; gap: 24px; }
.nav-spec {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-pale);
  text-transform: uppercase;
  opacity: 0.9;
}
.nav-cta {
  background: var(--ink-deep);
  color: var(--cream);
  border: 1px solid rgba(244, 217, 138, 0.3);
  padding: 10px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}
.nav-cta:hover { background: var(--gold-deep); border-color: var(--gold-bright); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(244, 217, 138, 0.2); }
.nav-link { color: var(--gold-pale); text-decoration: none; font-size: 13px; letter-spacing: 0.06em; opacity: 0.85; transition: opacity 0.2s; }
.nav-link:hover { opacity: 1; color: var(--gold-bright); }
@media (max-width: 768px) { .nav { padding: 16px 20px; } .nav-spec { display: none; } }

/* ---------- HERO CINEMATICO PANDORA ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  text-align: left;
  padding: 0;
  max-width: none;
  margin: 0;
}
.hero-cinematic {
  background:
    linear-gradient(90deg, rgba(8, 5, 2, 0.92) 0%, rgba(8, 5, 2, 0.78) 30%, rgba(8, 5, 2, 0.45) 55%, rgba(8, 5, 2, 0.25) 80%, rgba(8, 5, 2, 0.5) 100%),
    radial-gradient(ellipse 70% 60% at 65% 55%, transparent 0%, transparent 25%, rgba(10, 6, 3, 0.6) 70%, rgba(8, 5, 2, 0.95) 100%),
    linear-gradient(180deg, rgba(15, 10, 6, 0.55) 0%, transparent 25%, transparent 60%, rgba(10, 6, 3, 0.85) 100%),
    url('https://njhuwturidcgyhismsdk.supabase.co/storage/v1/object/public/hondana-assets/images/hero_pandora_box.png') 75% 58% / cover no-repeat;
  background-attachment: fixed;
  filter: saturate(0.92) contrast(1.05);
}
.hero-cinematic::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 62%, rgba(244, 199, 100, 0.18) 0%, rgba(198, 152, 71, 0.08) 35%, transparent 65%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  animation: pandora-ambient 9s ease-in-out infinite;
}
.hero-cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 30% at 50% 100%, rgba(8, 5, 2, 0.95) 0%, transparent 70%),
    radial-gradient(ellipse 100% 20% at 50% 0%, rgba(8, 5, 2, 0.7) 0%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}
@keyframes pandora-ambient {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@media (max-width: 768px) {
  .hero-cinematic { background-attachment: scroll; }
}
#hero-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}
.hero-glow {
  position: absolute;
  left: 50%; top: 60%;
  width: 1100px; height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(255, 220, 130, 0.5) 0%, rgba(244, 199, 100, 0.28) 20%, rgba(198, 152, 71, 0.14) 40%, rgba(140, 90, 40, 0.06) 60%, transparent 75%);
  filter: blur(60px);
  animation: pandora-glow 6s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 2;
}
.hero-mist {
  position: absolute;
  left: 50%; top: 48%;
  width: 800px; height: 700px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse 40% 70% at 45% 40%, rgba(255, 230, 160, 0.35) 0%, rgba(244, 217, 138, 0.18) 30%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 60% 55%, rgba(255, 200, 100, 0.22) 0%, rgba(255, 180, 80, 0.1) 35%, transparent 65%);
  filter: blur(45px);
  animation: pandora-mist 8s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 2;
}
@keyframes pandora-glow {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -52%) scale(1.06); }
}
@keyframes pandora-mist {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  33% { opacity: 0.85; transform: translate(-52%, -53%) scale(1.04) rotate(1.5deg); }
  66% { opacity: 0.7; transform: translate(-48%, -47%) scale(0.97) rotate(-1deg); }
}

.hero-inner {
  position: relative;
  z-index: 5;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 48px 140px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 10px 22px;
  background: rgba(15, 10, 6, 0.5);
  border: 1px solid rgba(244, 217, 138, 0.35);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade-in-up 1.2s ease-out 0.2s both;
}
.hero-kicker::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
  animation: kicker-pulse 2s ease-in-out infinite;
}
@keyframes kicker-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(44px, 8vw, 118px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 960px;
  margin-bottom: 32px;
  text-shadow:
    0 0 60px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(0, 0, 0, 0.9),
    0 4px 24px rgba(0, 0, 0, 0.85),
    0 2px 8px rgba(0, 0, 0, 0.7);
  animation: fade-in-up 1.4s ease-out 0.5s both;
  background: none;
  -webkit-text-fill-color: var(--cream);
}
.hero-headline em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, #f8edc4 0%, #f4d98a 35%, #e3c876 65%, #c69847 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    drop-shadow(0 0 40px rgba(0, 0, 0, 0.95))
    drop-shadow(0 0 20px rgba(0, 0, 0, 0.9))
    drop-shadow(0 0 12px rgba(244, 217, 138, 0.4));
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(253, 251, 244, 0.98);
  max-width: 580px;
  margin: 0 0 40px 0;
  padding: 18px 22px;
  background: linear-gradient(90deg, rgba(8, 5, 2, 0.72) 0%, rgba(8, 5, 2, 0.5) 80%, transparent 100%);
  border-left: 2px solid rgba(244, 217, 138, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 0 8px 8px 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
  animation: fade-in-up 1.4s ease-out 0.9s both;
  font-weight: 400;
  text-align: left;
}
.hero-grandes {
  font-family: 'Inter', monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold-pale);
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  animation: fade-in-up 1.4s ease-out 1.3s both;
}

.cta-primary {
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.cta-primary:hover { background: var(--gold-deep); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(140, 106, 38, 0.25); }
.cta-primary.cta-large { padding: 20px 44px; font-size: 17px; }

.cta-primary.cta-gold {
  background: linear-gradient(135deg, #f5e8b8 0%, #e3c876 50%, #c69847 100%);
  color: var(--ink);
  font-weight: 600;
  padding: 18px 36px;
  box-shadow: 0 8px 32px rgba(244, 217, 138, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.cta-primary.cta-gold:hover {
  background: linear-gradient(135deg, #f8edc4 0%, #ecd187 50%, #d0a256 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(244, 217, 138, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.cta-arrow { transition: transform 0.3s ease; }
.cta-primary.cta-gold:hover .cta-arrow { transform: translateX(4px); }

.cta-secondary {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}
.cta-secondary:hover { color: var(--ink); border-color: var(--gold-deep); }

.cta-secondary.cta-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(244, 217, 138, 0.4);
  padding: 17px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cta-secondary.cta-ghost:hover { background: rgba(244, 217, 138, 0.1); border-color: var(--gold-bright); color: var(--cream); }

.hero-meta {
  font-size: 13px;
  color: var(--gold-pale);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  animation: fade-in-up 1.4s ease-out 1.5s both;
  opacity: 0.9;
}

.hero-footer-line {
  position: absolute;
  bottom: 32px;
  left: 0; right: 0;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-pale);
  animation: fade-in-up 1.4s ease-out 1.7s both;
  pointer-events: none;
}
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}
.hero-credits { opacity: 0.85; }

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero-inner { padding: 100px 24px 120px; }
  .hero-headline { font-size: clamp(42px, 12vw, 80px); }
  .hero-sub { font-size: 16px; }
  .hero-grandes { font-size: 11px; white-space: normal; }
  .hero-footer-line { padding: 0 24px; flex-direction: column; gap: 10px; align-items: flex-start; bottom: 20px; font-size: 9px; }
  .hero-glow { width: 400px; height: 400px; }
  .hero-mist { width: 300px; height: 250px; }
}

/* ---------- AUDIO AMBIENTE TOGGLE ---------- */
.ambient-toggle {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 1000;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(15, 10, 6, 0.7);
  border: 1px solid rgba(244, 217, 138, 0.3);
  color: var(--gold-pale);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ambient-toggle:hover {
  background: rgba(140, 106, 38, 0.6);
  border-color: var(--gold-bright);
  transform: scale(1.05);
}
.ambient-toggle.playing {
  background: var(--gold-deep);
  border-color: var(--gold-bright);
  color: var(--cream);
  box-shadow: 0 0 20px rgba(244, 217, 138, 0.4);
}
.ambient-toggle svg { width: 18px; height: 18px; }

/* ---------- SECCIONES ---------- */
.section { padding: 80px 24px; border-top: 1px solid var(--line); }
.section-inner { max-width: 880px; margin: 0 auto; }
.kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  background: linear-gradient(135deg, #8c6a26 0%, #c69847 50%, #8c6a26 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.section-title em {
  background: linear-gradient(135deg, #b8954c 0%, #e3c876 50%, #b8954c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-body {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: 1.75;
}

/* ABCDE grid */
.abcde-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.abcde-card {
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}
.abcde-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gold); }
.abcde-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1;
}
.abcde-name {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 8px 0 14px;
  font-weight: 600;
}
.abcde-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* Variaciones tonales por seccion */
.section-metodo { background: linear-gradient(180deg, transparent 0%, rgba(247, 240, 223, 0.4) 100%); }
.section-ellis { background: linear-gradient(180deg, rgba(247, 240, 223, 0.85) 0%, rgba(244, 217, 138, 0.18) 50%, rgba(247, 240, 223, 0.85) 100%); }
.section-para-quien { background: linear-gradient(180deg, rgba(253, 251, 244, 0.6) 0%, rgba(247, 240, 223, 0.4) 100%); }
.section-resultados { background: linear-gradient(180deg, rgba(247, 240, 223, 0.4) 0%, rgba(244, 217, 138, 0.12) 100%); }
.section-sesion { background: linear-gradient(180deg, rgba(247, 240, 223, 0.5) 0%, rgba(253, 251, 244, 0.6) 100%); }
.section-brujula { background: linear-gradient(180deg, rgba(253, 251, 244, 0.6) 0%, rgba(244, 217, 138, 0.18) 100%); }
.section-cta { background: linear-gradient(180deg, rgba(244, 217, 138, 0.15) 0%, rgba(247, 240, 223, 0.7) 100%); }
.section-promesa { background: linear-gradient(180deg, rgba(247, 240, 223, 0.6) 0%, rgba(253, 251, 244, 0.4) 100%); }
.ellis-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  padding: 32px 28px;
  border-left: 3px solid var(--gold);
  margin-top: 32px;
  background: var(--cream);
  border-radius: 0 12px 12px 0;
}
.ellis-attr {
  display: block;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 12px;
  letter-spacing: 0.05em;
}

/* Niveles */
.niveles-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nivel-row {
  display: grid;
  grid-template-columns: 50px 200px 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.nivel-row.nivel-unlock { border-color: var(--gold); background: linear-gradient(90deg, var(--cream-warm) 0%, rgba(244, 217, 138, 0.15) 100%); }
.nivel-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--gold-deep);
  text-align: center;
}
.nivel-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.nivel-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* CTA section */
.section-cta {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 100px 24px;
}
.section-cta .cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.2;
  margin-bottom: 22px;
}
.section-cta .cta-body {
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 38px;
  opacity: 0.85;
  line-height: 1.7;
}
.section-cta .cta-primary {
  background: var(--gold);
  color: var(--ink);
}
.section-cta .cta-primary:hover { background: var(--gold-bright); }

/* Promesa */
.section-promesa { padding: 70px 24px; text-align: center; border-top: none; }
.promesa {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.35;
  color: var(--ink);
  max-width: 700px;
  margin: 0 auto;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 48px;
  background: var(--cream-warm);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--ink-muted);
  max-width: 1200px;
  margin: 0 auto;
}
.footer a { color: var(--gold-deep); text-decoration: none; border-bottom: 1px solid var(--line); }
.footer a:hover { color: var(--ink); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { border-bottom: none; font-size: 13px; letter-spacing: 0.02em; }
.footer-links a:hover { color: var(--gold-deep); text-decoration: underline; }

/* ============================================
   ONBOARDING
   ============================================ */
.onboarding {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}
.ob-progress {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 32px 24px 0;
}
.ob-step {
  width: 40px; height: 4px;
  background: var(--line);
  border-radius: 2px;
  transition: background 0.3s ease;
}
.ob-step.active { background: var(--gold); }
.ob-step.done { background: var(--gold-deep); }

.ob-pane {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 60px;
}
.ob-inner {
  max-width: 640px;
  width: 100%;
  text-align: left;
}
.ob-avatar {
  width: 140px; height: 140px;
  object-fit: contain;
  display: block;
  margin: 0 auto 32px;
  filter: drop-shadow(0 0 35px rgba(244, 217, 138, 0.5)) drop-shadow(0 0 60px rgba(198, 152, 71, 0.3));
  animation: avatar-breathe 6s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 55%, transparent 85%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 55%, transparent 85%);
}
.ob-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 24px;
  text-align: center;
}
.ob-body {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: 1.7;
}
.ob-abcde {
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
.ob-abcde-row {
  padding: 10px 0;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.ob-abcde-row:last-child { border-bottom: none; }
.ob-abcde-row strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--gold-deep);
  margin-right: 14px;
  font-weight: 600;
}
.ob-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1.5;
}
.ob-check input { margin-top: 3px; accent-color: var(--gold-deep); }
.ob-actions {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 28px;
}
.ob-next {
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}
.ob-next:hover:not(:disabled) { background: var(--gold-deep); }
.ob-next:disabled { background: var(--ink-muted); cursor: not-allowed; opacity: 0.5; }
.ob-back {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  padding: 14px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.ob-back:hover { border-color: var(--gold-deep); color: var(--ink); }

/* Test container */
.test-question {
  padding: 20px;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 16px;
}
.test-q-text {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.test-options { display: flex; flex-direction: column; gap: 8px; }
.test-option {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--cream);
  transition: all 0.2s ease;
  line-height: 1.5;
}
.test-option:hover { border-color: var(--gold); background: rgba(244, 217, 138, 0.1); }
.test-option.selected { border-color: var(--gold-deep); background: rgba(244, 217, 138, 0.25); color: var(--ink); }
.test-option input { accent-color: var(--gold-deep); margin-top: 2px; }

/* ============================================
   APP (sesión)
   ============================================ */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.app-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 16px;
}
.app-logo svg { width: 28px; height: 28px; }
.app-level {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream-warm);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 16px;
}
.app-level-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.app-level-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1;
}
.app-level-name { font-size: 14px; color: var(--ink); font-weight: 500; }
.app-close {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.app-close:hover { border-color: var(--gold-deep); color: var(--ink); }

.app-main {
  flex: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  gap: 32px;
  padding: 32px;
}
.app-avatar-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.app-avatar-wrap {
  position: relative;
  width: 160px; height: 160px;
}
.app-avatar {
  width: 100%; height: 100%;
  object-fit: contain;
  position: relative; z-index: 2;
  filter: drop-shadow(0 0 40px rgba(244, 217, 138, 0.55)) drop-shadow(0 0 70px rgba(198, 152, 71, 0.35));
  animation: avatar-breathe 6s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 55%, transparent 85%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 55%, transparent 85%);
}
.app-avatar.speaking { animation: speaking 1.2s ease-in-out infinite; }
@keyframes speaking {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 40px rgba(244, 217, 138, 0.55)) drop-shadow(0 0 70px rgba(198, 152, 71, 0.35)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 60px rgba(244, 217, 138, 0.8)) drop-shadow(0 0 100px rgba(198, 152, 71, 0.55)); }
}
.app-avatar-pulse {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(244, 217, 138, 0.3) 0%, rgba(244, 217, 138, 0.1) 40%, transparent 75%);
  animation: pulse-soft 5s ease-in-out infinite;
  z-index: 1;
  filter: blur(15px);
}

.app-rubric {
  width: 100%;
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  line-height: 1.5;
}
.app-rubric-title {
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.app-rubric-item {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.app-rubric-item:last-child { border-bottom: none; }

.app-chat-col {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  min-height: 600px;
}
.chat-stream {
  flex: 1;
  overflow-y: auto;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chat-msg {
  max-width: 85%;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-wrap;
}
.chat-msg.assistant {
  background: var(--cream-warm);
  border: 1px solid var(--line);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--ink);
  color: var(--cream);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-input-area {
  border-top: 1px solid var(--line);
  padding: 18px;
  background: var(--cream-warm);
}
.chat-options { display: flex; flex-direction: column; gap: 8px; }
.chat-option {
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 14px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  line-height: 1.5;
  transition: all 0.2s ease;
}
.chat-option:hover { border-color: var(--gold); background: rgba(244, 217, 138, 0.1); }
.chat-input-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.chat-input {
  flex: 1;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  resize: none;
  min-height: 50px;
  max-height: 140px;
  line-height: 1.5;
}
.chat-input:focus { outline: none; border-color: var(--gold); }
.chat-send {
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 14px 22px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.chat-send:hover:not(:disabled) { background: var(--gold-deep); }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; }

.chat-prompt {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.typing-indicator {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 14px 18px;
}
.typing-dot {
  width: 7px; height: 7px;
  background: var(--gold-deep);
  border-radius: 50%;
  animation: typing 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; flex-wrap: wrap; gap: 12px; }
  .nav-spec { display: none; }
  .hero { padding: 50px 20px 70px; }
  .section { padding: 60px 20px; }
  .section-cta { padding: 70px 20px; }
  .nivel-row { grid-template-columns: 40px 1fr; gap: 12px; }
  .nivel-row .nivel-desc { grid-column: 2; font-size: 13px; }
  .nivel-name { font-size: 14px; }
  .app-main { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .app-avatar-col { flex-direction: row; align-items: center; }
  .app-avatar-wrap { width: 80px; height: 80px; flex-shrink: 0; }
  .app-rubric { font-size: 11px; }
  .footer { padding: 24px 20px; }
  .footer-inner { flex-direction: column; }
}

/* ============================================
   v10 — SECCIÓN "CÓMO ES UNA SESIÓN"
   ============================================ */
.section-sesion { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%); }

.sesion-flow {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.sesion-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.sesion-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  line-height: 1;
  font-weight: 600;
  color: var(--gold-deep);
  text-align: center;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sesion-body { display: flex; flex-direction: column; gap: 14px; }

.sesion-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.sesion-example {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  background: var(--cream-warm);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  font-size: 14.5px;
  line-height: 1.55;
}

.ex-mavi { color: var(--ink-soft); font-style: italic; }
.ex-user { color: var(--ink); font-weight: 500; padding-left: 14px; border-left: 2px solid var(--gold-deep); margin-left: 0; }

.sesion-footnote {
  text-align: center;
  font-style: italic;
  margin-top: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink-soft);
}

/* ============================================
   v10 — SECCIÓN "LA BRÚJULA INTERIOR"
   ============================================ */
.section-brujula { background: var(--cream); }

.brujula-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.brujula-card {
  padding: 24px;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brujula-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(140, 106, 38, 0.12), 0 12px 32px rgba(140, 106, 38, 0.10);
}

.brujula-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 10px;
  line-height: 1.25;
}

.brujula-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ============================================
   v10 — APP: indicador de fase y mapa
   ============================================ */
.app-phase-display {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 18px;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.app-phase-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.app-phase-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1;
}

.app-phase-name {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  font-style: italic;
}

.app-phase-map {
  margin-top: 24px;
  padding: 18px;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 100%;
  max-width: 220px;
}

.phase-map-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 10px;
  text-align: center;
}

.phase-map-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: center;
  padding: 6px 4px;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.phase-map-row.done { opacity: 0.6; }
.phase-map-row.active { background: rgba(244, 217, 138, 0.35); }

.phase-map-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-deep);
  text-align: center;
}

.phase-map-row.active .phase-map-letter {
  color: var(--gold-deep);
  text-shadow: 0 0 8px rgba(244, 217, 138, 0.6);
}

.phase-map-name {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.phase-map-row.active .phase-map-name {
  color: var(--ink);
  font-weight: 500;
}

/* ============================================
   v10 — RESPONSIVE: sesion + brujula
   ============================================ */
@media (max-width: 720px) {
  .sesion-step { grid-template-columns: 56px 1fr; gap: 16px; padding: 18px; }
  .sesion-letter { font-size: 42px; }
  .sesion-title { font-size: 19px; }
  .sesion-example { font-size: 13.5px; padding: 14px; }
  .brujula-grid { grid-template-columns: 1fr; }
  .brujula-card { padding: 20px; }
  .app-phase-display { padding: 4px 12px; gap: 6px; }
  .app-phase-letter { font-size: 20px; }
  .app-phase-name { font-size: 12px; }
  .app-phase-map { display: none; }
}

/* ============================================
   v10.1 — Nav menu visible, app cinematic, avatar morph, sin precio
   ============================================ */

/* Menú de navegación visible en el hero */
.nav-menu {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-menu .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(244, 217, 138, 0.78);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav-menu .nav-link:hover {
  color: #fff5cc;
  border-bottom-color: rgba(244, 217, 138, 0.45);
}
@media (max-width: 760px) {
  .nav-menu { gap: 12px; }
  .nav-menu .nav-link { font-size: 11px; letter-spacing: 0.02em; }
}

/* Onboarding fineprint */
.ob-fineprint {
  margin-top: 24px;
  font-size: 12px;
  color: var(--ink-muted, #8a7a5c);
  text-align: center;
  opacity: 0.7;
}
.ob-fineprint a { color: var(--gold-deep, #c69847); text-decoration: underline; }

/* ============================================
   APP CINEMATIC — hereda estética Pandora
   ============================================ */
.app-cinematic {
  background: radial-gradient(ellipse at 50% 30%, #1a1410 0%, #0f0a06 55%, #06040a 100%) !important;
  position: relative;
  overflow: hidden;
  color: #f5ead0;
}
.app-cinematic .app-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(244, 217, 138, 0.12);
  position: relative;
  z-index: 10;
}
.app-cinematic .app-logo,
.app-cinematic .app-phase-display { color: #f4d98a; }
.app-cinematic .app-phase-label { color: rgba(244, 217, 138, 0.55); }
.app-cinematic .app-phase-letter {
  color: #f4d98a;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
}
.app-cinematic .app-phase-name { color: #f5ead0; }
.app-cinematic .app-close {
  border-color: rgba(244, 217, 138, 0.3);
  color: #f4d98a;
}
.app-cinematic .app-close:hover {
  border-color: #f4d98a;
  background: rgba(244, 217, 138, 0.1);
}

/* Capa de estrellas dentro de app */
.app-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.app-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%,
    rgba(244, 217, 138, 0.18) 0%,
    rgba(198, 152, 71, 0.10) 40%,
    transparent 75%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.app-mist {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(140, 106, 38, 0.20) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(244, 217, 138, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.app-cinematic .app-main {
  position: relative;
  z-index: 5;
  background: transparent;
  /* Cambio de layout: avatar arriba/centro, chat debajo más estrecho */
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  padding: 28px 32px 32px;
  gap: 0;
}
.app-cinematic .app-avatar-col {
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 720px;
  gap: 12px;
  margin-bottom: 18px;
}
.app-cinematic .app-chat-col {
  width: 100%;
  max-width: 720px;
  min-height: 320px;
  background: transparent;
  border: none;
}
/* La pízarra ABCDE pasa a barra horizontal compacta debajo del avatar */
.app-cinematic .app-phase-map {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
  padding: 10px 18px;
  margin-top: -10px;
  background: rgba(15, 10, 6, 0.55);
  border: 1px solid rgba(244, 217, 138, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  max-width: 720px;
  width: auto;
}
.app-cinematic .phase-map-title { display: none; }
.app-cinematic .phase-map-row {
  padding: 4px 14px;
  border: none;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.app-cinematic .phase-map-row + .phase-map-row {
  border-left: 1px solid rgba(244, 217, 138, 0.12);
}

/* AVATAR MORPH — forma sinuosa animada */
.avatar-morph {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 50px rgba(244, 217, 138, 0.45))
          drop-shadow(0 0 110px rgba(198, 152, 71, 0.32))
          drop-shadow(0 0 180px rgba(120, 80, 30, 0.22));
}
.app-cinematic .app-avatar-wrap {
  width: 360px;
  height: 360px;
  margin: 20px auto 0;
  position: relative;
}
.app-cinematic .app-avatar-wrap::before {
  /* aura suave de fondo detrás del avatar */
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at center, rgba(244, 217, 138, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 768px) {
  .app-cinematic .app-avatar-wrap { width: 240px; height: 240px; margin-top: 0; }
}
.app-cinematic .app-phase-map {
  background: rgba(244, 217, 138, 0.04);
  border: 1px solid rgba(244, 217, 138, 0.12);
  border-radius: 14px;
  padding: 18px 20px;
  color: #f5ead0;
}
.app-cinematic .phase-map-title {
  color: rgba(244, 217, 138, 0.55);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.app-cinematic .phase-map-row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: rgba(245, 234, 208, 0.55);
  border-bottom: 1px solid rgba(244, 217, 138, 0.06);
}
.app-cinematic .phase-map-row:last-child { border-bottom: none; }
.app-cinematic .phase-map-row.active { color: #fff5cc; }
.app-cinematic .phase-map-row.done { color: rgba(244, 217, 138, 0.75); }
.app-cinematic .phase-map-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: #f4d98a;
  min-width: 16px;
}

/* Chat dentro del app cinematic */
.app-cinematic .chat-stream {
  background: rgba(15, 10, 6, 0.55);
  border: 1px solid rgba(244, 217, 138, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}
.app-cinematic .chat-msg.assistant {
  background: rgba(244, 217, 138, 0.06);
  border-left: 2px solid #c69847;
  color: #f5ead0;
}
.app-cinematic .chat-msg.user {
  background: rgba(244, 217, 138, 0.16);
  color: #fff5cc;
}
.app-cinematic .chat-input-area {
  background: transparent;
}
.app-cinematic .chat-prompt {
  color: rgba(244, 217, 138, 0.65);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.app-cinematic .chat-option {
  background: rgba(20, 14, 8, 0.92);
  border: 1px solid rgba(244, 217, 138, 0.45);
  color: #fbf4dd;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  transition: all 0.2s;
}
.app-cinematic .chat-option:hover {
  background: rgba(244, 217, 138, 0.22);
  border-color: #f4d98a;
  color: #fffbe8;
  box-shadow: 0 0 24px rgba(244, 217, 138, 0.25);
}
.app-cinematic .chat-input {
  background: rgba(15, 10, 6, 0.6);
  border: 1px solid rgba(244, 217, 138, 0.25);
  color: #f5ead0;
}
.app-cinematic .chat-input:focus {
  border-color: #f4d98a;
  outline: none;
}
.app-cinematic .chat-send {
  background: linear-gradient(135deg, #f4d98a, #c69847);
  color: #1a1410;
  border: none;
  font-weight: 600;
}

.app-cinematic .typing-dot {
  background: #f4d98a;
}
