:root {
  --night: #0b0713;
  --dusk: #1c1033;
  --plum: #3d1a5b;
  --magenta: #d4207e;
  --coral: #ff6b4a;
  --gold: #ffcf4d;
  --cream: #f7f0e4;
  --cream-dim: #a89ec0;
  --violet: #8b5cf6;
  --line: rgba(247, 240, 228, 0.14);
  --font-display: 'Unbounded', 'Manrope', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 999;
  background: var(--gold);
  color: var(--night);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 16px;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  /* clip (no hidden): hidden convertía a body en contenedor de scroll y la
     barra de navegación "sticky" dejaba de quedarse arriba */
  overflow-x: hidden;
  overflow-x: clip;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

#sky { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
img { max-width: 100%; display: block; }

/* ---- decorative floating illustrations ---- */
.deco-layer { position: absolute; inset: 0; overflow: visible; pointer-events: none; z-index: 0; }
.deco {
  position: absolute;
  will-change: transform;
  animation: deco-float var(--dur, 7s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
  opacity: var(--op, 0.9);
  transition: filter .3s ease, opacity .3s ease;
}
@keyframes deco-float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-18px) rotate(calc(var(--rot, 0deg) + 3deg)); }
}
@media (prefers-reduced-motion: reduce) {
  .deco { animation: none; }
}
.deco.interactive { pointer-events: auto; }
.deco.interactive:hover { filter: drop-shadow(0 12px 32px rgba(212,32,126,0.45)) brightness(1.15); opacity: 1; }
/* estos los mueve JS (parpaláx de scroll + cursor) en vez del keyframe CSS, para no pelear por la misma propiedad */
.deco-parallax { animation: none; will-change: transform; }

/* --- jerarquía de profundidad: todas nítidas, sin desenfoque — son la gráfica de marca, no relleno --- */
.deco-bg { z-index: 0; filter: drop-shadow(0 0 40px rgba(0,0,0,0.25)); }
.deco-fg { z-index: 3; filter: drop-shadow(0 10px 28px rgba(0,0,0,0.5)); }
.deco-mid { z-index: 1; }

/* aparición con crecimiento la primera vez que entra en pantalla */
.deco-pop { animation: none; opacity: 0; transform: scale(0.55) rotate(var(--rot, 0deg)); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1.1s cubic-bezier(.2,.8,.2,1); }
.deco-pop.in-view { opacity: var(--op, 0.9); transform: scale(1) rotate(var(--rot, 0deg)); }

@media (prefers-reduced-motion: reduce) {
  .deco-pop { opacity: var(--op, 0.9); transform: none; transition: none; }
}

/* per-section content sits above the background deco layer, below foreground accents */
.hero > .wrap, .reveal-section .wrap > *, .pillars-head, .tarot-panel, .tension > .wrap > *, .ritual-head, .ritual-grid, .site-footer .wrap > * {
  position: relative;
  z-index: 1;
}

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 20; padding: 18px 0; background: linear-gradient(to bottom, rgba(11,7,19,.9), transparent); }
/* al hacer scroll (motion.js pone .is-scrolled) el fondo pasa a sólido: el
   texto que sube por detrás nunca se cruza con los enlaces */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(11,7,19,.94); box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity .3s ease;
}
.nav.is-scrolled::before { opacity: 1; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nav .brand-link { flex: 0 0 auto; display: flex; }
.nav .brand-logo { height: 39px; width: auto; aspect-ratio: 1600 / 369; filter: brightness(0) invert(1); flex: 0 0 auto; }

/* ---- nav: menú "Explorar" (Compatibilidad/Rituales/Amuletos), solo mobile.
   En escritorio hay espacio de sobra y se muestran los tres como links
   normales (.nav-content-link); en mobile se esconden esos tres y aparece
   este <details> en su lugar, mismo patrón que el acordeón de preguntas
   frecuentes, sin JS nuevo. Va antes que el media query de abajo: si
   quedara después, esta regla base (sin condición) le gana por orden de
   aparición al "display:inline-block" del media query, aunque el ancho sí
   coincida. ---- */
.nav-more { display: none; position: relative; }
.nav-more > summary { cursor: pointer; list-style: none; }
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more > summary::after { content: "▾"; margin-left: 4px; font-size: 9px; }
.nav-more[open] > summary::after { content: "▴"; }
.nav-more-menu {
  position: absolute; top: calc(100% + 10px); right: 0; background: var(--dusk); border: 1px solid var(--line);
  border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 2px; min-width: 150px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.55); z-index: 30;
}
.nav-more-menu a { color: var(--cream); text-decoration: none; font-size: 13.5px; padding: 9px 12px; border-radius: 9px; white-space: nowrap; }
.nav-more-menu a:hover { background: rgba(255,255,255,0.08); }

@media (max-width: 560px) {
  .nav .brand-logo { height: 30px; }
  .nav-links { gap: 10px; }
  .nav-cta { padding: 9px 14px; font-size: 11px; white-space: nowrap; }
  .nav-link { font-size: 12.5px; white-space: nowrap; }
  .nav-content-link { display: none; }
  .nav-more { display: inline-block; }
}
@media (max-width: 400px) {
  .nav-shrink { display: none; }
  .nav .brand-logo { height: 26px; }
  .nav-links { gap: 8px; }
}
.nav-cta {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--night);
  background: var(--gold); padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 700;
}

/* ---- etiqueta de sección: texto entre dos lunas crecientes (motion.js las
   agrega y las abre al entrar, como las llaves de gsap.com) ---- */
.sec-label, .guide-eyebrow, .plans-head .sec-label, .ritual-head .sec-label {
  display: flex; justify-content: center; align-items: center; gap: .75em;
  font-family: var(--font-mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); font-size: 12px; margin: 0 0 26px; text-align: center;
}
.brace { display: inline-flex; flex: 0 0 auto; width: .9em; height: 2.3em; color: var(--gold); }
.brace svg { width: 100%; height: 100%; overflow: visible; }
.brace path { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- hero ---- */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 80px; position: relative; }
.hero-logo { width: min(560px, 82vw); margin: 0 auto 36px; filter: brightness(0) invert(1); }

.hero .eyebrow {
  font-family: var(--font-mono); text-align: center; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); font-size: 12.5px; margin: 0 0 20px;
}
/* pastillas del hero (las "Animate / Anything" de gsap.com): voltean en 3D al
   cargar y se sacuden al pasar el cursor. Texto oscuro: contraste AA en los tres colores. */
.hero-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; perspective: 700px; margin-bottom: 26px; }
.pill {
  display: inline-block; padding: 8px 14px 7px; border-radius: 10px; font-weight: 600; font-size: 12px;
  letter-spacing: .12em; color: var(--night); box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.pill-violet { background: var(--violet); transform: rotate(-4deg); }
.pill-coral { background: var(--coral); transform: translateY(5px) rotate(3deg); }
.pill-gold { background: var(--gold); transform: translateY(-3px) rotate(-2deg); }
.hero h1 {
  font-family: var(--font-display); text-align: center; font-weight: 500; font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.25; max-width: 16ch; margin: 0 auto 30px; text-wrap: balance;
}
.hero-actions { display: flex; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: 14px;
  padding: 16px 30px; border-radius: 999px; border: none; cursor: pointer; text-decoration: none;
  transition: transform .18s ease;
}
.btn-primary { background: var(--magenta); color: var(--cream); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); }
.scroll-cue { text-align: center; margin-top: 60px; color: var(--cream-dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(8px);} }

/* ---- reveal text sections ---- */
.reveal-section { padding: 140px 0; position: relative; }
.reveal-text {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 4.2vw, 42px); line-height: 1.35;
  max-width: 18ch; margin: 0 auto; text-align: center; text-wrap: balance;
}
.reveal-text .word { color: var(--cream-dim); transition: color .25s ease; }
.reveal-text .word.lit { color: var(--cream); }
.reveal-text .word.hot { color: var(--gold); }
.reveal-kicker { text-align: center; margin-bottom: 26px; }
.reveal-kicker img { height: 26px; margin: 0 auto; filter: brightness(0) invert(1); }

/* ---- movimiento (assets/js/motion.js, GSAP) ----
   Mientras motion.js arranca, lo que va a entrar animado se oculta con
   visibility (no con opacity: GSAP lee la opacidad final de aquí). Si el
   script no corre, un temporizador en <head> quita la clase a los 2.5 s. */
.motion-pending .hero .wrap > *,
.motion-pending main h1,
.motion-pending .reveal-up,
.motion-pending .guide-eyebrow,
.motion-pending .guide-subtitle,
.motion-pending .guide-meta,
.motion-pending .guide-section-title { visibility: hidden; }

/* Piezas de SplitText (motion.js las crea como <span> para que el HTML siga
   siendo válido dentro de h1/p; sin esto serían inline y ni la máscara ni el
   desplazamiento funcionarían). */
.ng-line, .ng-line-mask { display: block; position: relative; }
.ng-word { display: inline-block; position: relative; }

/* Con scroll suave (solo escritorio) el contenido viaja dentro de un contenedor
   fijo: la barra de navegación pasa a fija y el contenido deja su hueco. */
html.has-smoother .nav { position: fixed; top: 0; left: 0; right: 0; }
html.has-smoother #smooth-content { padding-top: var(--nav-h, 75px); }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 30; pointer-events: none;
  background: linear-gradient(90deg, var(--magenta), var(--gold));
  transform-origin: left center; transform: scaleX(0);
}

/* ---- símbolos de línea (trazos dorados que se dibujan solos) ---- */
.sym { overflow: visible; pointer-events: none; }
.sym .draw { fill: none; stroke: currentColor; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.sym .dot { fill: currentColor; stroke: none; }

/* titular del hero: una letra a la vez se cambia por el ojo, la luna o la estrella */
.swap { position: relative; display: inline-block; perspective: 400px; }
.swap-letter { display: inline-block; }
.swap .sym { position: absolute; left: 50%; top: 57%; width: .86em; height: .86em; color: var(--gold); visibility: hidden; }
.swap .sym-eye { width: .98em; height: .98em; }
.swap .sym .draw { stroke-width: 4.4; }
/* la máscara de cada línea del titular solo recorta arriba y abajo: el símbolo
   del punto final puede asomar a la derecha sin cortarse */
.ng-line-mask { overflow-x: visible !important; overflow-y: clip !important; }
.swap-end .sym { left: 0; top: 60%; width: .62em; height: .62em; }

/* palabras vivas del manifiesto */
.hl { position: relative; display: inline-block; white-space: nowrap; }
.hl > .sym { color: var(--gold); }
.hl .sym-inline { display: inline-block; width: .92em; height: .92em; margin-left: .2em; vertical-align: -.1em; }
.hl .sym-under { position: absolute; left: -2%; width: 104%; bottom: .02em; height: .26em; }
.hl .sym-under .draw { stroke-width: 2.6; vector-effect: non-scaling-stroke; }
.hl[data-flair="circle"] { margin: 0 .14em; }
.hl .sym-circle { position: absolute; left: -.2em; top: .06em; width: calc(100% + .4em); height: calc(100% - .1em); color: var(--coral); }
.hl .sym-circle .draw { stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.hl[data-flair="squiggle"] .sym-under { color: var(--coral); }
.hl .moon-lit { fill: var(--gold); stroke: none; }
.hl .moon-rim { fill: none; stroke: currentColor; stroke-width: 2.2; opacity: .55; }
.hl-jump .ng-char, .hl-scramble .ng-char { display: inline-block; }

/* pilares: cada tarjeta con su gesto propio */
.tarot-panel .glyph-wrap { position: relative; }
.tarot-panel .glyph-wrap img { position: relative; z-index: 1; }
.orbit { position: absolute; left: 50%; top: 50%; width: 196px; height: 118px; margin: -59px 0 0 -98px; transform: rotate(-14deg); z-index: 0; color: var(--gold); }
.orbit .draw { stroke-width: 1.4; stroke-dasharray: none; opacity: .75; }
.orbit .orbit-star { fill: var(--gold); stroke: none; }

/* rueda zodiacal mientras se genera la lectura */
.zodiac-wheel { display: block; width: 92px; height: 92px; margin: 0 auto 14px; overflow: visible; }
.zw-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.zw-dots { transform-origin: 50px 50px; animation: spin 14s linear infinite; }
.zw-dots circle { fill: var(--gold); opacity: .45; }
.zw-star { fill: var(--magenta); }
@media (prefers-reduced-motion: reduce) { .zw-dots { animation: none; } }

/* botones: el texto rueda y se reemplaza al pasar el cursor */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.roll-b { position: absolute; left: 0; top: 100%; white-space: nowrap; }
.roll .ng-char { display: inline-block; }

/* ---- pillars (tarot-card style) ---- */
.pillars { padding: 60px 0 140px; position: relative; }
.pillars-head { text-align: center; margin-bottom: 60px; }
.pillars-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.6vw, 38px); margin: 0; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px) { .pillars-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; } }

.pillar-item { position: relative; }
.pillar-item:nth-child(2) { transform: translateY(28px); }
.pillar-item:nth-child(3) { transform: translateY(-14px); }
@media (max-width: 860px) { .pillar-item:nth-child(2), .pillar-item:nth-child(3) { transform: none; } }

.tarot-panel {
  border-radius: 22px; padding: 30px 24px 28px; position: relative; overflow: hidden;
  border: 2px solid rgba(247,240,228,0.18); min-height: 340px; display: flex; flex-direction: column;
  transition: transform .3s ease, border-color .3s ease;
}
.tarot-panel:hover { transform: translateY(-6px); border-color: rgba(247,240,228,0.4); }
.tarot-panel .frame { position: absolute; inset: 10px; border: 1.5px solid rgba(247,240,228,0.35); border-radius: 14px; pointer-events: none; }
.tarot-panel .glyph-wrap { flex: 1; display: flex; align-items: center; justify-content: center; }
.tarot-panel .glyph-wrap img { width: 112px; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4)); }
.tarot-panel h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; text-align: center; margin: 10px 0 8px; }
.tarot-panel p { text-align: center; font-size: 14px; color: rgba(247,240,228,0.85); margin: 0; }
.tarot-panel.p1 { background: radial-gradient(circle at 50% 20%, #4a2a7a, #241146); }
.tarot-panel.p2 { background: radial-gradient(circle at 50% 20%, #b8296e, #5c1140); }
.tarot-panel.p3 { background: radial-gradient(circle at 50% 20%, #d98a2b, #7a3d10); }

/* ---- tension section ---- */
.tension { padding: 120px 0; text-align: center; position: relative; }
.tension p.big { font-family: var(--font-display); font-size: clamp(22px, 3.4vw, 34px); max-width: 22ch; margin: 0 auto 20px; line-height: 1.4; }
.tension p.small { color: var(--cream-dim); max-width: 50ch; margin: 0 auto; }

/* ---- ritual (functional tool) ---- */
.ritual { padding: 40px 0 160px; position: relative; }
.ritual-head { text-align: center; max-width: 46ch; margin: 0 auto 50px; }
.ritual-head p { color: var(--cream-dim); }

/* marco tipo boleto ornamental, para el título del ritual */
.ticket {
  display: inline-block; position: relative; padding: 18px 44px; margin: 0 0 16px;
  border: 1.5px solid rgba(247,240,228,0.55);
  clip-path: polygon(0% 0%, 6% 50%, 0% 100%, 100% 100%, 94% 50%, 100% 0%);
}
.ticket h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3.6vw, 36px); margin: 0; white-space: nowrap; }
@media (max-width: 480px) { .ticket { clip-path: none; border-radius: 10px; padding: 14px 22px; } .ticket h2 { white-space: normal; } }

.ritual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 800px) { .ritual-grid { grid-template-columns: 1fr; } }

.card {
  background: rgba(247, 240, 228, 0.05);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  backdrop-filter: blur(6px);
  position: relative;
}
.card h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin: 0 0 6px; }

/* esquinas ornamentales, como el borde de una carta de tarot */
.card-corner {
  position: absolute; width: 22px; height: 22px; pointer-events: none; opacity: 0.7;
}
.card-corner.tl { top: 10px; left: 10px; border-top: 1.5px solid var(--gold); border-left: 1.5px solid var(--gold); }
.card-corner.tr { top: 10px; right: 10px; border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); }
.card-corner.bl { bottom: 10px; left: 10px; border-bottom: 1.5px solid var(--gold); border-left: 1.5px solid var(--gold); }
.card-corner.br { bottom: 10px; right: 10px; border-bottom: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); }

.form-card { overflow: visible; }
.form-card::before {
  content: ""; position: absolute; inset: -24px; z-index: -1; border-radius: 30px;
  background: radial-gradient(circle at 50% 25%, rgba(255,207,77,0.16), transparent 70%);
  animation: glow-pulse 4.5s ease-in-out infinite;
}
@keyframes glow-pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

.sign-preview {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font-family: var(--font-display); font-size: 14px; color: var(--gold);
  background: rgba(255,207,77,0.1); border: 1px solid rgba(255,207,77,0.4);
  padding: 6px 14px; border-radius: 999px; animation: fadein .3s ease;
}
.sign-preview[hidden] { display: none; }
.muted { color: var(--cream-dim); font-size: 14px; }
.muted.small { font-size: 12.5px; }

.form-card label { display: block; margin: 18px 0 0; font-size: 13.5px; color: var(--cream-dim); }
.form-card .opt { color: var(--cream-dim); opacity: .7; font-weight: 400; }
.form-card input {
  display: block; width: 100%; margin-top: 6px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 10px;
  color: var(--cream); font-family: var(--font-body); font-size: 15px; padding: 12px 13px;
}
.form-card input:focus { outline: none; border-color: var(--gold); }
.btn-block { width: 100%; margin-top: 18px; justify-content: center; }
.disclaimer { margin-top: 14px; font-size: 11.5px; color: var(--cream-dim); opacity: .8; }

/* fecha como el campo hero del formulario */
.field-date { margin-top: 22px !important; }
.field-date input {
  font-family: var(--font-display); font-size: 20px; text-align: center;
  padding: 18px 14px; border: 1.5px solid var(--gold); background: rgba(255,207,77,0.08);
}
.field-name { margin-top: 22px !important; }

.more-details { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.more-details summary {
  cursor: pointer; font-size: 13px; color: var(--cream-dim); list-style: none;
  display: flex; align-items: center; gap: 6px; user-select: none;
}
.more-details summary::-webkit-details-marker { display: none; }
.more-details[open] summary { color: var(--gold); margin-bottom: 4px; }
.more-details label { margin: 14px 0 0; }

.result-card { min-height: 340px; display: flex; align-items: center; justify-content: center; }
.result-placeholder { text-align: center; color: var(--cream-dim); max-width: 26ch; }
.result-placeholder .deco { animation: deco-float 8s ease-in-out infinite; opacity: 0.7; }
.result-loading { text-align: center; color: var(--cream-dim); }
.spinner {
  display: inline-block; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--gold);
  animation: spin 0.9s linear infinite; margin-bottom: 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.result-body { width: 100%; animation: fadein .5s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none; } }

.sign-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.sign-glyph { font-size: 32px; color: var(--gold); }
.sign-row strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 19px; }
.reading-text { font-size: 16px; margin: 0 0 22px; }
.ascendant-line { margin: -6px 0 16px; }
.ascendant-line strong { color: var(--cream); }

.tarot-zone { margin-bottom: 22px; }
.tarot-card { perspective: 1000px; width: 140px; height: 232px; cursor: pointer; margin-top: 8px; position: relative; }
.tarot-face {
  position: absolute; inset: 0; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--gold);
  backface-visibility: hidden; transition: transform .6s cubic-bezier(.4,.2,.2,1);
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}
.tarot-face img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.tarot-front { transform: rotateY(180deg); }
.tarot-front.is-reversed img { transform: rotate(180deg); }
.tarot-card.flipped .tarot-back { transform: rotateY(180deg); }
.tarot-card.flipped .tarot-front { transform: rotateY(360deg); }
.tarot-caption { text-align: center; margin-top: 12px; font-size: 12.5px; max-width: 220px; }
.tarot-caption strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--gold); margin-bottom: 4px; }
.tarot-mini { display: flex; align-items: center; gap: 10px; }
.tarot-mini-img { width: 34px; height: 56px; object-fit: cover; border-radius: 5px; border: 1px solid var(--gold); flex: 0 0 auto; }
.tarot-mini p { margin: 0; }
.history-tarot-img { width: 56px; height: 100%; align-self: stretch; object-fit: cover; border-radius: 8px; border: 1px solid var(--gold); flex: 0 0 auto; }

.subscribe { border-top: 1px solid var(--line); padding-top: 18px; }
.subscribe label { font-size: 13.5px; color: var(--cream-dim); display: block; margin-bottom: 8px; }
.subscribe-row { display: flex; gap: 8px; }
.subscribe-row input { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 10px; color: var(--cream); font-family: var(--font-body); font-size: 14px; padding: 10px 12px; }
.subscribe-row input:focus { outline: none; border-color: var(--gold); }
.btn-secondary { background: var(--violet); color: var(--night); font-weight: 700; }

/* ---- planes (gratis vs premium) ---- */
.plans { padding: 40px 0 120px; position: relative; }
.plans-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.plans-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.6vw, 38px); margin: 0; text-wrap: balance; }
.plans-head p { color: var(--cream-dim); max-width: 46ch; margin: 14px auto 0; }

.faq-head { text-align: center; margin-bottom: 40px; }
.faq-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3.2vw, 32px); margin: 0; }
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq-item summary { cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--gold); flex: 0 0 auto; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--gold); margin-bottom: 10px; }
.faq-item p { margin: 0; color: var(--cream-dim); font-size: 14.5px; line-height: 1.6; }
.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 780px; margin: 0 auto; align-items: stretch; }
@media (max-width: 720px) { .plans-grid { grid-template-columns: 1fr; } }

.plan-card { display: flex; flex-direction: column; transform: skewY(var(--skew, 0deg)); }
.plan-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin: 0 0 4px; }
.plan-card .plan-tagline { color: var(--cream-dim); font-size: 13.5px; margin: 0 0 20px; }
.plan-login-hint { color: var(--cream-dim); font-size: 13.5px; margin: 12px 0 0; }
.plan-login-hint.is-ghost { visibility: hidden; }
.plan-login-hint a { color: var(--gold); text-decoration: none; }
.plan-login-hint a:hover { text-decoration: underline; }
.plan-price { font-family: var(--font-display); font-size: 34px; font-weight: 600; margin: 0 0 4px; }
.plan-price span { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--cream-dim); }
.plan-list { list-style: none; margin: 20px 0 24px; padding: 0; flex: 1; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(247,240,228,0.9); margin-bottom: 12px; line-height: 1.4; }
.plan-list li::before { content: "✓"; color: var(--gold); font-weight: 700; flex: 0 0 auto; }
.plan-card.premium { border-color: rgba(255,207,77,0.5); }

.price-tabs { display: flex; gap: 6px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.price-tab { flex: 1; border: none; background: transparent; color: var(--cream-dim); font-family: var(--font-body); font-size: 12.5px; font-weight: 600; padding: 8px 6px; border-radius: 999px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.price-tab:hover { color: var(--cream); }
.price-tab.active { background: var(--gold); color: #20140a; }
.plan-price-sub { font-size: 13px; color: var(--cream-dim); margin: 0 0 10px; }
.plan-badge-save { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: #20140a; background: var(--gold); border-radius: 999px; padding: 4px 10px; margin-bottom: 16px; }
.plan-badge-save[hidden] { display: none; }
.waitlist-form { display: flex; gap: 8px; flex-wrap: wrap; }
.waitlist-form input { flex: 1; min-width: 0; background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 10px; color: var(--cream); font-family: var(--font-body); font-size: 14px; padding: 11px 12px; }
.waitlist-form input:focus { outline: none; border-color: var(--gold); }
.waitlist-status { font-size: 12.5px; color: var(--cream-dim); margin: 8px 0 0; min-height: 1.4em; }

/* ---- rituales / amuletos: grilla de tarjetas ---- */
.guide-page.is-list .wrap { max-width: 980px; }

.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .guide-grid { grid-template-columns: repeat(2, 1fr); max-width: 480px; margin: 0 auto; } }
@media (max-width: 420px) { .guide-grid { grid-template-columns: 1fr; max-width: 300px; } }

.guide-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  aspect-ratio: 3 / 4; padding: 20px 14px 16px; border-radius: 18px; text-decoration: none; color: var(--cream);
  border: 1px solid var(--line); transition: transform .18s ease, border-color .18s ease; overflow: hidden;
}
/* --skew lo pone motion.js según la velocidad del scroll (demo "velocity skew") */
.guide-card { transform: translateY(var(--lift, 0px)) skewY(var(--skew, 0deg)); }
.guide-card:hover { --lift: -4px; border-color: rgba(247,240,228,0.4); }
.guide-card.g1 { background: radial-gradient(circle at 50% 15%, #4a2a7a, #241146); }
.guide-card.g2 { background: radial-gradient(circle at 50% 15%, #b8296e, #5c1140); }
.guide-card.g3 { background: radial-gradient(circle at 50% 15%, #d98a2b, #7a3d10); }
.guide-card.g4 { background: radial-gradient(circle at 50% 15%, #2b7a8a, #103d4a); }
.guide-card-icon { flex: 0 0 auto; height: 30%; display: flex; align-items: center; justify-content: center; }
.guide-card-icon img { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4)); }
.guide-card-body {
  flex: 1; min-height: 0; width: 100%; display: flex; flex-direction: column; justify-content: center;
}
.guide-card h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 15px; margin: 0 0 6px; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.guide-card p {
  font-size: 12px; color: rgba(247,240,228,0.8); margin: 0; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.guide-card-badge {
  position: absolute; top: 12px; right: 12px; font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px;
}
.guide-card-badge.free { background: rgba(247,240,228,0.15); color: var(--cream); }
.guide-card-badge.premium { background: var(--gold); color: #20140a; }
.guide-card-badge.locked { background: rgba(11,7,19,0.6); color: var(--cream-dim); border: 1px solid var(--line); }
.guide-card.is-locked { opacity: .68; }
.guide-card.is-locked:hover { --lift: 0px; }

/* ---- rituales / amuletos: manual paso a paso ---- */
.guide-page { padding: 130px 0 100px; }
.guide-page .wrap { max-width: 640px; }
.guide-eyebrow { margin: 0 0 14px; } /* resto del estilo: junto a .sec-label */
.guide-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 4vw, 36px); text-align: center; margin: 0 0 10px; text-wrap: balance; }
.guide-subtitle { text-align: center; color: var(--cream-dim); font-size: 15px; max-width: 46ch; margin: 0 auto 32px; }
.guide-hero-img { display: block; width: min(160px, 40vw); margin: 0 auto 28px; filter: drop-shadow(0 14px 24px rgba(0,0,0,0.45)); }

.guide-meta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.guide-badge {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11.5px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--cream-dim);
}
.guide-badge.tier-free { color: var(--cream); }
.guide-badge.tier-premium { color: #20140a; background: var(--gold); border-color: var(--gold); font-weight: 700; }

.guide-section-title {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 16px; text-align: center;
}

.guide-materials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.guide-material {
  display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px 8px 10px; font-size: 13.5px; color: var(--cream);
}
.guide-material .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: 0 0 auto; }

.guide-steps { position: relative; margin-bottom: 44px; }
.guide-step { display: flex; gap: 16px; position: relative; padding-bottom: 26px; }
.guide-step:last-child { padding-bottom: 0; }
.guide-step::before {
  content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, var(--line), transparent);
}
.guide-step:last-child::before { display: none; }
.guide-step-num {
  flex: 0 0 auto; width: 35px; height: 35px; border-radius: 50%; border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600;
  color: var(--gold); font-size: 14px; background: var(--night);
}
.guide-step-body { padding-top: 5px; }
.guide-step-body h4 { font-family: var(--font-display); font-weight: 500; font-size: 15.5px; margin: 0 0 4px; }
.guide-step-body p { font-size: 13.5px; color: var(--cream-dim); margin: 0; line-height: 1.5; }

.guide-closing {
  text-align: center; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 16px;
  color: var(--gold); border-top: 1px solid var(--line); padding-top: 28px; text-wrap: balance;
}

/* ---- marco premium: envuelve el manual entero (intro, materiales, pasos,
   recuadros y cierre) solo cuando el ítem es tier=premium. Las esquinas
   doradas son las mismas .card-corner que ya marcan la tarjeta de precio
   Premium y el panel de "tu día" — mismo lenguaje visual de "esto es lo
   especial", no uno inventado a propósito para esta sección. ---- */
.guide-premium-frame {
  position: relative; border: 1px solid rgba(255,207,77,0.35); border-radius: 20px;
  padding: 34px 26px 30px; background: linear-gradient(180deg, rgba(255,207,77,0.07), transparent 45%);
}
.guide-premium-frame .card-corner { opacity: 0.9; }
.guide-intro {
  text-align: center; color: var(--cream); font-size: 15px; line-height: 1.65; font-style: italic;
  max-width: 46ch; margin: 0 auto 32px;
}
.guide-callout { border-radius: 14px; padding: 18px 20px; margin: 30px 0 0; border: 1px solid var(--line); }
.guide-callout-label {
  display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 8px; color: var(--gold);
}
.guide-callout p { margin: 0; font-size: 13.5px; color: var(--cream-dim); line-height: 1.6; }
.guide-callout-why { background: rgba(255,207,77,0.07); }
.guide-callout-tip { background: rgba(212,32,126,0.08); border-color: rgba(212,32,126,0.3); }
.guide-callout-tip .guide-callout-label { color: var(--magenta); }
.guide-premium-frame .guide-closing { border-top: 1px solid rgba(255,207,77,0.25); }

.guide-lockwall {
  text-align: center; border: 1px solid var(--line); border-radius: 20px; padding: 40px 24px; background: rgba(255,255,255,0.03);
}
.guide-lockwall h2 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin: 0 0 10px; }
.guide-lockwall p { color: var(--cream-dim); font-size: 14px; margin: 0 0 22px; max-width: 40ch; margin-left: auto; margin-right: auto; }

.guide-crumb { text-align: center; margin-bottom: 24px; }
.guide-crumb a { color: var(--cream-dim); font-size: 13px; text-decoration: none; }
.guide-crumb a:hover { color: var(--cream); }

/* ---- footer ---- */
/* el fondo empieza bajo el borde elástico (.footer-wave), que dibuja la orilla */
.site-footer { padding: 150px 0 40px; text-align: center; margin-top: 60px; position: relative; background: linear-gradient(to bottom, transparent 139px, #0b0713 139px); }
.footer-wave { position: absolute; left: 0; top: 0; width: 100%; height: 140px; overflow: visible; pointer-events: none; }
.footer-wave-path { fill: #0b0713; }
.site-footer .foot-logo { width: 140px; margin: 0 auto 20px; filter: brightness(0) invert(1); opacity: .9; }
.site-footer p { color: var(--cream-dim); font-size: 12px; font-family: var(--font-mono); margin: 4px 0; }
.site-footer p a { color: var(--gold); text-decoration: none; }
.site-footer p a:hover { text-decoration: underline; }

/* ---- nav: cuenta / iniciar sesión ---- */
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-link { color: var(--cream-dim); text-decoration: none; font-size: 13.5px; font-family: var(--font-body); transition: color .15s ease; }
.nav-link:hover { color: var(--cream); }
.nav-link.active { color: var(--gold); font-weight: 600; }
.nav-more-menu a.active { color: var(--gold); font-weight: 600; }

/* ---- páginas internas: login, registro, cuenta ---- */
.auth-shell { min-height: calc(100vh - 90px); display: flex; align-items: center; justify-content: center; padding: 60px 20px; position: relative; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-family: var(--font-display); font-weight: 500; font-size: 26px; margin: 0 0 8px; text-align: center; }
.auth-card .sub { text-align: center; color: var(--cream-dim); font-size: 14px; margin-bottom: 8px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--cream-dim); font-size: 13px; font-family: var(--font-body); }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  background: var(--cream); color: #3c4043; font-family: var(--font-body); font-weight: 700; font-size: 14px;
  padding: 13px 20px; border-radius: 999px; border: none; cursor: pointer; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-google:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.auth-switch { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--cream-dim); }
.auth-switch a { color: var(--gold); text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.form-error { background: rgba(212,32,126,0.14); border: 1px solid rgba(212,32,126,0.5); color: var(--cream); font-size: 13.5px; padding: 12px 14px; border-radius: 10px; margin-bottom: 6px; }
.form-notice { background: rgba(139,92,246,0.14); border: 1px solid rgba(139,92,246,0.5); color: var(--cream); font-size: 13.5px; padding: 12px 14px; border-radius: 10px; margin-bottom: 6px; }

/* ---- panel de cuenta ---- */
.dashboard { padding: 130px 0 100px; position: relative; min-height: 70vh; }
.dashboard-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.dashboard-head h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3.4vw, 32px); margin: 0; }
.dashboard-head .muted { display: block; margin-top: 4px; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: start; }
.dashboard-grid > div { min-width: 0; }
@media (max-width: 860px) { .dashboard-grid { grid-template-columns: 1fr; } }

.profile-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.profile-row:last-child { border-bottom: none; }
.profile-row span:first-child { color: var(--cream-dim); }
.toggle-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.toggle-row .muted { font-size: 13px; }

.history-list { display: flex; flex-direction: column; gap: 10px; max-height: 640px; overflow-y: auto; padding-right: 4px; }
.history-item { background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.history-item summary { display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none; }
.history-item summary::-webkit-details-marker { display: none; }
.history-item summary::after { content: '⌄'; flex: 0 0 auto; color: var(--cream-dim); font-size: 15px; transition: transform 0.2s ease; }
.history-item[open] summary::after { transform: rotate(180deg); }
.history-item .meta { flex: 1; min-width: 0; }
.history-item .meta strong { font-family: var(--font-display); font-weight: 500; font-size: 14.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-item .date { font-family: var(--font-mono); font-size: 11px; color: var(--cream-dim); flex: 0 0 auto; }
.history-item .history-open { display: flex; align-items: stretch; gap: 12px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.history-item .history-text { flex: 1; min-width: 0; margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--cream-dim); }
.history-empty { color: var(--cream-dim); font-size: 14px; text-align: center; padding: 40px 20px; }

.houses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; width: 100%; min-width: 0; }
.house-tile { display: flex; flex-direction: column; gap: 4px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.house-num { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); }
.house-sign { font-family: var(--font-display); font-weight: 500; font-size: 14.5px; }
.house-theme { font-size: 12px; color: var(--cream-dim); line-height: 1.4; }

.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--cream-dim); }
.btn-ghost:hover { border-color: var(--cream-dim); color: var(--cream); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

.profile-form label { display: block; margin: 14px 0 0; font-size: 13.5px; color: var(--cream-dim); }
.profile-form label:first-child { margin-top: 0; }
.profile-form input {
  display: block; width: 100%; margin-top: 6px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 10px;
  color: var(--cream); font-family: var(--font-body); font-size: 15px; padding: 12px 13px;
}
.profile-form input:focus { outline: none; border-color: var(--gold); }

/* ---- ventana de chat del Gurú (solo Premium) ---- */
.guru-widget { position: fixed; right: 20px; bottom: 20px; z-index: 60; }
.guru-toggle {
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(145deg, var(--magenta), var(--plum));
  box-shadow: 0 10px 26px rgba(212,32,126,0.45); display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.guru-toggle:hover { transform: scale(1.06); }
.guru-toggle-icon {
  width: 26px; height: 26px; background-color: #ffcf4d; display: block;
  -webkit-mask-image: url(/assets/img/iso.png); mask-image: url(/assets/img/iso.png);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.guru-toggle.is-open { background: linear-gradient(145deg, var(--dusk), var(--night)); border: 1px solid var(--gold); }

.guru-panel {
  position: fixed; right: 20px; bottom: 90px; width: 360px; max-width: calc(100vw - 32px);
  height: 520px; max-height: calc(100vh - 130px); background: var(--dusk); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,0.55); display: flex; flex-direction: column;
  overflow: hidden;
}
.guru-panel[hidden] { display: none; }
.guru-panel-head {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px;
  border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; color: var(--gold);
}
.guru-panel-head button { background: none; border: none; color: var(--cream-dim); cursor: pointer; font-size: 15px; padding: 4px; }
.guru-panel-head button:hover { color: var(--cream); }

.guru-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.guru-msg { max-width: 85%; }
.guru-msg p { margin: 0; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; }
.guru-msg-user { align-self: flex-end; }
.guru-msg-user p { background: var(--magenta); color: var(--cream); border-bottom-right-radius: 4px; }
.guru-msg-assistant { align-self: flex-start; }
.guru-msg-assistant p { background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: var(--cream); border-bottom-left-radius: 4px; }
.guru-msg-intro p { color: var(--cream-dim); }
.guru-msg-typing p { padding: 13px 14px; display: flex; align-items: center; gap: 4px; }
.guru-typing-dots span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cream-dim); display: inline-block;
  animation: guru-typing-bounce 1.2s infinite ease-in-out;
}
.guru-typing-dots span:nth-child(2) { animation-delay: .15s; }
.guru-typing-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes guru-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.guru-limit-note { margin: 0; padding: 6px 16px; font-size: 11.5px; color: var(--cream-dim); text-align: center; }

.guru-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.guru-form textarea {
  flex: 1; resize: none; background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 12px;
  color: var(--cream); font-family: var(--font-body); font-size: 13.5px; padding: 10px 12px; max-height: 120px;
}
.guru-form textarea:focus { outline: none; border-color: var(--gold); }
.guru-form button {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--gold); color: #20140a; font-size: 15px; display: flex; align-items: center; justify-content: center;
}
.guru-form button:disabled { opacity: .5; cursor: default; }

@media (max-width: 480px) {
  .guru-panel { right: 16px; bottom: 84px; width: calc(100vw - 32px); height: calc(100vh - 160px); }
}

/* =====================================================================
   Secciones inspiradas en las demos de ScrollTrigger (demos.gsap.com).
   Cada una tiene un estado base que se ve bien sin JavaScript o con
   "reducir movimiento"; motion.js agrega la clase "-live" para el modo animado.
   ===================================================================== */

/* ---- los 12 signos (demo "horizontal text") ---- */
.zodiac-run { position: relative; padding: 70px 0; overflow: hidden; }
.zr-text {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 6.4vw, 4.6rem); line-height: 1.15;
  text-align: center; max-width: 1100px; margin: 0 auto; padding: 0 28px; text-wrap: balance;
}
.zr-c0 { color: var(--cream); }
.zr-c1 { color: var(--gold); }
.zr-c2 { color: var(--coral); }
.zr-c3 { color: var(--violet); }
.zr-sep { color: var(--cream-dim); font-size: .42em; vertical-align: .4em; }
.zodiac-run.zr-live { height: 100vh; padding: 0; display: flex; align-items: center; }
.zr-live .zr-text {
  display: flex; align-items: center; gap: 4.5vw; width: max-content; max-width: none; white-space: nowrap;
  margin: 0; padding: 0 0 0 100vw; font-size: clamp(3.6rem, 12vw, 11rem);
}
.zr-live .zr-sep { vertical-align: 0; }
.zr-text .ng-char { display: inline-block; }

/* ---- la luna de hoy (demo "image sequence", dibujada en vivo) ---- */
.moon-cycle { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 80px 0; }
.moon-cycle-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; width: 100%; }
.moon-cycle-copy .sec-label { justify-content: flex-start; }
.moon-cycle-title {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2;
  margin: 0 0 26px; max-width: 16ch; text-wrap: balance;
}
.moon-phase-name { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); color: var(--gold); margin: 0 0 6px; }
.moon-phase-meta { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--cream); margin: 0 0 22px; }
.moon-when { color: var(--cream-dim); }
.moon-cycle-note { color: var(--cream-dim); font-size: 15px; max-width: 38ch; margin: 0; }
.big-moon { display: block; width: min(100%, 440px); height: auto; margin: 0 auto; overflow: visible; filter: drop-shadow(0 0 42px rgba(255, 207, 77, .16)); }
.bm-orbit { fill: none; stroke: rgba(247, 240, 228, .16); stroke-width: .8; }
.bm-orbit-dot { fill: var(--gold); }
.bm-dark { fill: #150c27; }
.bm-lit { fill: url(#bm-glow); }
.bm-craters circle { fill: rgba(166, 116, 36, .22); }
.bm-rim { fill: none; stroke: rgba(247, 240, 228, .22); stroke-width: 1; }
@media (max-width: 860px) {
  .moon-cycle { padding: 60px 0; }
  .moon-cycle-inner { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .moon-cycle-figure { order: -1; }
  .moon-cycle-copy .sec-label { justify-content: center; }
  .moon-cycle-title { margin-left: auto; margin-right: auto; margin-bottom: 18px; }
  .moon-cycle-note { margin: 0 auto; }
  .big-moon { width: min(56vw, 260px); }
}

/* ---- el mazo (demo "infinite card slider") ---- */
.deck { position: relative; padding: 90px 0 50px; overflow: hidden; }
.deck-head { text-align: center; max-width: 640px; margin: 0 auto 10px; }
.deck-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 10px; text-wrap: balance; }
.deck-head p { color: var(--cream-dim); margin: 0; font-size: 15px; }
.deck-stage { position: relative; }
/* base: fila con scroll lateral */
.deck-cards { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 28px; margin: 0; list-style: none; }
.deck-card { position: relative; flex: 0 0 12rem; aspect-ratio: 301 / 500; scroll-snap-align: center; }
.deck-inner { position: absolute; inset: 0; transform-style: preserve-3d; }
.deck-card.is-flipped .deck-inner { transform: rotateY(180deg); }
.deck-face {
  position: absolute; inset: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.deck-front img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.deck-back {
  transform: rotateY(180deg); background: radial-gradient(circle at 50% 18%, #4a2a7a, #1c1033 75%);
  border: 1px solid rgba(255, 207, 77, .45); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 20px 16px; text-align: center;
}
.deck-back-star { color: var(--gold); font-size: 20px; line-height: 1; }
.deck-back strong { font-family: var(--font-display); font-weight: 500; font-size: 17px; color: var(--gold); line-height: 1.2; }
.deck-back span:last-child { font-size: 13.5px; line-height: 1.45; color: var(--cream); }
.deck-actions, .deck-status, .deck-proxy { display: none; }
.deck.deck-live { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.deck-live .deck-stage { height: clamp(430px, 62vh, 560px); }
.deck-live .deck-cards {
  position: absolute; left: 50%; top: 44%; width: 12.5rem; aspect-ratio: 301 / 500; transform: translate(-50%, -50%);
  display: block; overflow: visible; padding: 0; touch-action: pan-y; cursor: grab; user-select: none;
}
.deck-live .deck-cards:active { cursor: grabbing; }
.deck-live .deck-card { position: absolute; inset: 0; }
.deck-live .deck-actions { display: flex; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); gap: 12px; align-items: center; z-index: 200; }
.deck-live .deck-status {
  display: block; position: absolute; left: 0; right: 0; bottom: 66px; margin: 0; z-index: 200; text-align: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.deck-proxy { position: absolute; visibility: hidden; }
.deck-btn {
  font-family: var(--font-display); font-size: 14px; color: var(--cream); background: rgba(28, 16, 51, .88);
  border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; cursor: pointer; white-space: nowrap;
}
.deck-btn:hover { border-color: rgba(255, 207, 77, .65); }
.deck-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.deck-prev, .deck-next { width: 46px; height: 46px; padding: 0; font-size: 18px; }
@media (max-width: 560px) {
  .deck { padding-top: 70px; }
  /* fijo arriba, el menú (66px) tapa el borde superior de la sección: se le deja su espacio */
  .deck.deck-live { padding-top: 92px; padding-bottom: 24px; }
  .deck-live .deck-stage { height: clamp(400px, 56vh, 520px); }
  .deck-live .deck-cards { width: 11rem; }
  .deck-card { flex-basis: 10.5rem; }
}

/* ---- tu carta de hoy (demo "scrubbed bento gallery", con Flip) ---- */
.bento { position: relative; }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; padding: 60px 28px; }
.bento-item { position: relative; overflow: hidden; border-radius: 14px; }
.bento-card { aspect-ratio: 301 / 500; }
.bento-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento-hero {
  grid-column: 1 / -1; order: 99; min-height: 340px;
  background: radial-gradient(circle at 50% 30%, #4a2a7a, #1c1033 72%); border: 1px solid rgba(255, 207, 77, .45);
}
.bento-hero-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; text-align: center; }
.bento-eye { width: 64px; height: 64px; flex: 0 0 auto; color: var(--gold); overflow: visible; }
.bento-eye .draw { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bento-eye .dot { fill: currentColor; }
.bento-hero-copy { max-width: 560px; }
.bento-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.bento-hero-copy h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 4vw, 48px); line-height: 1.15; margin: 0 0 26px; text-wrap: balance; }
.bento-live .bento-wrap { height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bento-live .bento-grid {
  width: 100%; height: 100%; max-width: none; margin: 0; padding: 0; gap: 1.2vh 1vw;
  grid-template-columns: repeat(5, 15vw); grid-template-rows: repeat(2, 38vh); justify-content: center; align-content: center;
}
.bento-live .bento-card { aspect-ratio: auto; }
.bento-live .bento-hero { order: 0; min-height: 0; }
.bento-live .bento-item:nth-child(1) { grid-area: 1 / 1; }
.bento-live .bento-item:nth-child(2) { grid-area: 2 / 1; }
.bento-live .bento-item:nth-child(3) { grid-area: 1 / 2; }
.bento-live .bento-item:nth-child(4) { grid-area: 2 / 2; }
.bento-live .bento-item:nth-child(5) { grid-area: 1 / 3 / 3 / 4; }
.bento-live .bento-item:nth-child(6) { grid-area: 1 / 4; }
.bento-live .bento-item:nth-child(7) { grid-area: 2 / 4; }
.bento-live .bento-item:nth-child(8) { grid-area: 1 / 5; }
.bento-live .bento-item:nth-child(9) { grid-area: 2 / 5; }
/* estado final: la columna central ocupa toda la pantalla y el resto queda afuera */
.bento-live .bento-grid.bento-final { grid-template-columns: 26vw 26vw 100vw 26vw 26vw; grid-template-rows: 50vh 50vh; gap: 0; }
@media (max-width: 860px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-live .bento-grid { grid-template-columns: repeat(3, 28vw); grid-template-rows: repeat(4, 18.5vh); gap: 1vh 2vw; } /* deja libre la franja del menú */
  .bento-live .bento-item:nth-child(1) { grid-area: 1 / 1; }
  .bento-live .bento-item:nth-child(2) { grid-area: 2 / 1; }
  .bento-live .bento-item:nth-child(3) { grid-area: 3 / 1; }
  .bento-live .bento-item:nth-child(4) { grid-area: 4 / 1; }
  .bento-live .bento-item:nth-child(5) { grid-area: 1 / 2 / 5 / 3; }
  .bento-live .bento-item:nth-child(6) { grid-area: 1 / 3; }
  .bento-live .bento-item:nth-child(7) { grid-area: 2 / 3; }
  .bento-live .bento-item:nth-child(8) { grid-area: 3 / 3; }
  .bento-live .bento-item:nth-child(9) { grid-area: 4 / 3; }
  .bento-live .bento-grid.bento-final { grid-template-columns: 30vw 100vw 30vw; grid-template-rows: repeat(4, 25vh); gap: 0; }
}
.bento-live .bento-hero-copy { position: absolute; left: 50%; top: 50%; width: min(560px, 86vw); }
