/* ==========================================================================
   SENDA OCULTA - ESTILOS MÍSTICOS Y ESOTÉRICOS
   Paleta: Noche Obsidiana, Destellos Púrpuras, Oro Sagrado
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Fondos Cósmicos */
  --bg-deep: #05030a;
  --bg-surface: #0a0614;
  --bg-surface-elevated: #110922;
  --bg-card: rgba(18, 10, 34, 0.72);
  --bg-card-hover: rgba(27, 15, 52, 0.85);
  
  /* Destellos Púrpuras y Violetas */
  --purple-glow: #a855f7;
  --purple-vibrant: #9333ea;
  --purple-deep: #6b21a8;
  --purple-soft: #c084fc;
  --purple-nebula: rgba(168, 85, 247, 0.28);
  --purple-aurora: rgba(147, 51, 234, 0.15);
  --cyan-cosmic: #38bdf8;
  
  /* Acentos Dorados Sagrados */
  --gold-primary: #d4af37;
  --gold-bright: #f5e08b;
  --gold-dark: #8c6b1a;
  --gold-gradient: linear-gradient(135deg, #f7e8a4 0%, #d4af37 45%, #9b741e 100%);
  --gold-text-glow: 0 0 25px rgba(212, 175, 55, 0.45);
  
  /* Textos y Bordes */
  --text-main: #f3f0f7;
  --text-muted: #b3a7c6;
  --text-subtle: #7a6e8e;
  --border-subtle: rgba(168, 85, 247, 0.18);
  --border-glow: rgba(212, 175, 55, 0.35);
  --border-active: rgba(168, 85, 247, 0.55);

  /* Tipografías */
  --font-serif: 'Cinzel', serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Transiciones */
  --transition-smooth: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.68;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

::selection {
  background: rgba(168, 85, 247, 0.45);
  color: #fff;
}

/* Lienzo de estrellas de fondo */
#starsCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Aura de fondo global (destellos morados) */
.ambient-nebula {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  animation: pulseNebula 12s ease-in-out infinite alternate;
}

.ambient-nebula.one {
  top: -15%;
  left: 15%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.35) 0%, rgba(59, 130, 246, 0.08) 60%, transparent 80%);
}

.ambient-nebula.two {
  top: 45%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(107, 33, 168, 0.12) 60%, transparent 80%);
  animation-delay: -5s;
}

.ambient-nebula.three {
  bottom: 5%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(126, 34, 206, 0.3) 0%, transparent 75%);
  animation-delay: -8s;
}

@keyframes pulseNebula {
  0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
  50% { transform: scale(1.15) translate(20px, 30px); opacity: 0.75; }
  100% { transform: scale(0.95) translate(-20px, -15px); opacity: 0.55; }
}

/* Contenedor universal */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Encabezados y títulos dorados */
h1, h2, h3, h4, .brand-text {
  font-family: var(--font-serif);
  letter-spacing: 0.04em;
  font-weight: 700;
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: var(--gold-text-glow);
  display: inline-block;
}

.purple-glow-text {
  color: #f3f0f7;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.75), 0 0 40px rgba(147, 51, 234, 0.4);
}

.lead-phrase {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text-muted);
}

/* Separadores Sagrados */
.sacred-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 1.25rem 0 2.25rem;
  opacity: 0.85;
}

.sacred-divider::before,
.sacred-divider::after {
  content: '';
  height: 1px;
  width: 90px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.sacred-divider svg {
  width: 20px;
  height: 20px;
  fill: var(--gold-primary);
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN REFINADA
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  transition: var(--transition-smooth);
  background: rgba(6, 3, 12, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.16);
}

.site-header.scrolled {
  padding: 0.65rem 0;
  background: rgba(7, 4, 15, 0.95);
  box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.85), 0 0 25px rgba(147, 51, 234, 0.18);
  border-bottom-color: rgba(168, 85, 247, 0.32);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-logo-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.55) 0%, transparent 70%);
  z-index: -1;
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.45; }
  50% { transform: scale(1.25); opacity: 0.95; }
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.6);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--purple-soft);
  font-family: var(--font-serif);
  font-weight: 600;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0 auto;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

/* Botón de Sonido Místico */
.audio-toggle-btn {
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: var(--purple-soft);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.audio-toggle-btn:hover {
  background: rgba(168, 85, 247, 0.3);
  color: #fff;
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.5), 0 0 8px rgba(212, 175, 55, 0.4);
  transform: scale(1.05);
}

.audio-toggle-btn.playing {
  color: var(--gold-bright);
  border-color: var(--gold-primary);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.6), inset 0 0 10px rgba(168, 85, 247, 0.5);
  animation: pulseAudio 2.4s ease-in-out infinite;
}

@keyframes pulseAudio {
  0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 0 24px rgba(168, 85, 247, 0.8), 0 0 12px rgba(212, 175, 55, 0.6); }
}

/* Botones Principales */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, #f7e8a4 0%, #d4af37 40%, #b8861e 100%);
  color: #08040f;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 240, 180, 0.5);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4), 0 0 25px rgba(168, 85, 247, 0.25);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: 0.65s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.55), 0 0 40px rgba(168, 85, 247, 0.5);
  filter: brightness(1.05);
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-purple-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.5rem;
  background: rgba(18, 10, 34, 0.6);
  color: var(--text-main);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 4px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.btn-purple-outline:hover {
  background: rgba(147, 51, 234, 0.2);
  border-color: var(--purple-soft);
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
  transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.35rem;
}

/* Drawer móvil */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #0d071a;
  border-left: 1px solid rgba(168, 85, 247, 0.3);
  z-index: 1000;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0,0,0,0.8);
}

.mobile-menu-drawer.active {
  right: 0;
}

.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--gold-bright);
  cursor: pointer;
  margin-bottom: 1rem;
}

.mobile-menu-drawer .nav-link {
  font-size: 1.15rem;
  font-family: var(--font-serif);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8.5rem 0 5rem;
  text-align: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(147, 51, 234, 0.28) 0%, rgba(5, 3, 10, 0.94) 75%), url('assets/hero_portal.jpg') center 25% / cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  filter: contrast(1.15) brightness(0.9);
}

.hero-glow-core {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(99, 102, 241, 0.12) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: cosmicBreathing 8s ease-in-out infinite;
}

@keyframes cosmicBreathing {
  0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.55; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.9; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-emblem {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-emblem-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.4);
  animation: rotateRing 35s linear infinite;
}

.hero-emblem-ring-purple {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 30px rgba(147, 51, 234, 0.4), inset 0 0 20px rgba(168, 85, 247, 0.3);
  animation: rotateRingRev 24s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateRingRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.7), 0 0 60px rgba(107, 33, 168, 0.4);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  background: rgba(22, 12, 42, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50px;
  font-size: 0.78rem;
  font-family: var(--font-serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.25);
}

.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 4.4rem);
  line-height: 1.12;
  margin-bottom: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.2rem;
  font-style: italic;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-features-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
}

.hero-feat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.hero-feat-icon {
  width: 24px;
  height: 24px;
  color: var(--gold-primary);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

/* ==========================================================================
   SECCIONES GENERALES
   ========================================================================== */
.section {
  padding: 6.5rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.8rem;
}

.section-tag {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--purple-soft);
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-family: var(--font-accent);
  font-style: italic;
}

/* ==========================================================================
   SERVICIOS Y RITUALES SAGRADOS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.ritual-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.ritual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.22) 0%, transparent 65%);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.ritual-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 20px 42px -10px rgba(0, 0, 0, 0.85), 0 0 35px rgba(147, 51, 234, 0.35);
}

.ritual-card:hover::before {
  opacity: 1;
}

/* Imagen y Overlay de la Tarjeta */
.ritual-card-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid rgba(168, 85, 247, 0.25);
}

.ritual-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  filter: brightness(0.85) contrast(1.1);
}

.ritual-card:hover .ritual-card-img {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.15);
}

.ritual-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 4, 16, 0.2) 0%, rgba(14, 8, 26, 0.65) 60%, rgba(18, 10, 34, 0.98) 100%);
  pointer-events: none;
}

.ritual-badge-floating {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(10, 5, 20, 0.85);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.ritual-card-content {
  padding: 1.6rem 2rem 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ritual-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.ritual-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: rgba(147, 51, 234, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
  transition: var(--transition-smooth);
}

.ritual-card:hover .ritual-icon-box {
  background: rgba(168, 85, 247, 0.25);
  border-color: var(--gold-primary);
  color: #fff;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.ritual-icon-box svg {
  width: 28px;
  height: 28px;
}

.ritual-tag {
  font-family: var(--font-serif);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-soft);
  background: rgba(147, 51, 234, 0.15);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.ritual-card-title {
  font-size: 1.45rem;
  margin-bottom: 0.8rem;
  color: #fff;
  transition: var(--transition-smooth);
}

.ritual-card:hover .ritual-card-title {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ritual-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.ritual-attributes {
  list-style: none;
  padding: 1rem 0;
  border-top: 1px solid rgba(168, 85, 247, 0.12);
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ritual-attributes li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: #d1c7e0;
}

.ritual-attributes li svg {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.ritual-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.btn-card-action {
  background: none;
  border: none;
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-smooth);
  padding: 0;
}

.btn-card-action:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  transform: translateX(4px);
}

.btn-card-action svg {
  width: 14px;
  height: 14px;
  transition: var(--transition-smooth);
}

.btn-card-action:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   SECCIÓN VISUAL: SANTUARIO & ALTAR CEREMONIAL
   ========================================================================== */
.sanctuary-section {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 7, 24, 0.75) 50%, transparent 100%);
  padding: 6.5rem 0;
}

.sanctuary-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.sanctuary-feature-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(168, 85, 247, 0.3);
  height: 480px;
}

.sanctuary-feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.sanctuary-feature-card:hover .sanctuary-feature-img {
  transform: scale(1.05);
}

.sanctuary-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 3, 14, 0.95) 0%, rgba(14, 8, 26, 0.5) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}

.sanctuary-feature-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.35rem 0.9rem;
  background: rgba(147, 51, 234, 0.25);
  border: 1px solid var(--gold-primary);
  border-radius: 50px;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.8rem;
  backdrop-filter: blur(8px);
}

.sanctuary-feature-title {
  font-size: 1.85rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.sanctuary-feature-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.sanctuary-side-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sanctuary-mini-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.25);
  height: 228px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
}

.sanctuary-mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(147, 51, 234, 0.3);
}

.sanctuary-mini-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.sanctuary-mini-card:hover .sanctuary-mini-img {
  transform: scale(1.06);
}

.sanctuary-mini-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(8, 4, 16, 0.95) 0%, rgba(14, 8, 26, 0.55) 60%, transparent 100%);
}

.sanctuary-mini-title {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.sanctuary-mini-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   MÓDULO INTERACTIVO 1: ORÁCULO DE CARTAS
   ========================================================================== */
.oracle-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 3rem 2.5rem;
  position: relative;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(147, 51, 234, 0.15);
  overflow: hidden;
}

.oracle-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.oracle-instruction {
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 2.5rem;
}

.oracle-deck-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  perspective: 1200px;
  margin-bottom: 2.5rem;
}

.oracle-card-slot {
  width: 190px;
  height: 290px;
  perspective: 1000px;
  cursor: pointer;
}

.oracle-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  border-radius: 12px;
}

.oracle-card-slot.flipped .oracle-card-inner {
  transform: rotateY(180deg);
}

.oracle-card-slot:not(.flipped):hover .oracle-card-inner {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6), 0 0 25px rgba(168, 85, 247, 0.4);
}

.oracle-card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  box-sizing: border-box;
}

/* Reverso de la carta */
.oracle-card-back {
  background: linear-gradient(145deg, rgba(24, 13, 45, 0.88), rgba(13, 6, 26, 0.94)), url('assets/tarot_deck.jpg') center / cover no-repeat;
  border: 1px solid rgba(212, 175, 55, 0.65);
  box-shadow: inset 0 0 25px rgba(147, 51, 234, 0.4), 0 10px 25px rgba(0, 0, 0, 0.6);
}

.card-back-ornament {
  border: 1px dashed rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 80%);
}

.card-back-ornament svg {
  width: 44px;
  height: 44px;
  color: var(--gold-primary);
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.card-back-text {
  font-family: var(--font-serif);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* Frente revelado de la carta */
.oracle-card-front {
  background: linear-gradient(145deg, #1d0f36, #0e071c);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.35), inset 0 0 25px rgba(147, 51, 234, 0.35);
  transform: rotateY(180deg);
  text-align: center;
}

.card-front-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 0.8rem;
  color: var(--gold-bright);
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
}

.card-front-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.card-front-key {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-soft);
  font-family: var(--font-serif);
}

/* Panel de revelación detallada */
.oracle-result-box {
  display: none;
  background: rgba(14, 7, 26, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 1.5rem;
  text-align: center;
  animation: fadeIn 0.6s ease;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
}

.oracle-result-box.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.oracle-result-name {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.oracle-result-message {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-style: italic;
  color: #e5def3;
  max-width: 720px;
  margin: 0 auto 1.2rem;
  line-height: 1.6;
}

.oracle-result-advice {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 1.6rem;
}

/* ==========================================================================
   MÓDULO INTERACTIVO 2: TEST DE AFINIDAD Y ENERGÍA
   ========================================================================== */
.quiz-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  max-width: 820px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
  position: relative;
}

.quiz-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(168, 85, 247, 0.2);
  border-radius: 4px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 33.33%;
  background: var(--gold-gradient);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
  transition: width 0.4s ease;
}

.quiz-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.quiz-step.active {
  display: block;
}

.quiz-question-title {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  text-align: center;
}

.quiz-question-hint {
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.quiz-option-btn {
  background: rgba(22, 12, 42, 0.65);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 8px;
  padding: 1.15rem 1.4rem;
  color: var(--text-main);
  text-align: left;
  font-size: 0.98rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-smooth);
}

.quiz-option-btn:hover {
  background: rgba(147, 51, 234, 0.22);
  border-color: var(--gold-primary);
  transform: translateX(4px);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.3);
}

.quiz-option-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--gold-bright);
  flex-shrink: 0;
}

/* Resultado del Test */
.quiz-result-card {
  display: none;
  text-align: center;
  padding: 1rem;
  animation: fadeIn 0.6s ease;
}

.quiz-result-card.active {
  display: block;
}

.quiz-result-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid var(--gold-primary);
  border-radius: 50px;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.2rem;
}

.quiz-result-title {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.quiz-result-desc {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-style: italic;
  color: #dfd7ee;
  max-width: 650px;
  margin: 0 auto 1.8rem;
  line-height: 1.6;
}

/* ==========================================================================
   FILOSOFÍA Y ÉTICA SAGRADA
   ========================================================================== */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.philosophy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
}

.philosophy-card:hover {
  border-color: rgba(168, 85, 247, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(168, 85, 247, 0.2);
}

.philosophy-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.2rem;
  color: var(--gold-primary);
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.philosophy-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.philosophy-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TESTIMONIOS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  position: relative;
}

.testimonial-quote-icon {
  width: 32px;
  height: 32px;
  color: rgba(168, 85, 247, 0.35);
  margin-bottom: 1rem;
}

.testimonial-text {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-style: italic;
  color: #dfd7ee;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid rgba(168, 85, 247, 0.12);
  padding-top: 1.2rem;
}

.author-avatar-sigil {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: #fff;
}

.author-ritual {
  font-size: 0.75rem;
  color: var(--purple-soft);
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ ACORDEÓN)
   ========================================================================== */
.faq-wrapper {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.6rem;
  background: none;
  border: none;
  color: #fff;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-bright);
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.6rem 1.4rem;
}

/* ==========================================================================
   FORMULARIO DE CONSULTA PRIVADA (SIN NÚMEROS TELEFÓNICOS)
   ========================================================================== */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  padding: 3.5rem 3rem;
  max-width: 860px;
  margin: 0 auto;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(147, 51, 234, 0.25);
  position: relative;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dfd7ee;
  margin-bottom: 0.55rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(10, 5, 18, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 6px;
  padding: 0.85rem 1.1rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4), 0 0 6px rgba(212, 175, 55, 0.3);
  background: rgba(16, 8, 30, 0.95);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select option {
  background: #110922;
  color: #fff;
}

.form-privacy-note {
  font-size: 0.82rem;
  color: var(--text-subtle);
  margin-top: 1.2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.form-privacy-note svg {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
}

.form-submit-row {
  margin-top: 2rem;
  text-align: center;
}

/* ==========================================================================
   MODALES (DETALLES DE RITUAL & CONFIRMACIÓN)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 2, 8, 0.85);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-primary);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  padding: 2.8rem 2.4rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(147, 51, 234, 0.35);
  transform: translateY(20px);
  transition: transform 0.35s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-ritual-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.modal-overlay.active .modal-content-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--purple-vibrant);
  color: #fff;
  transform: rotate(90deg);
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER)
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(168, 85, 247, 0.18);
  background: #040208;
  padding: 5rem 0 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 380px;
  margin: 1.2rem 0;
}

.footer-links-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold-bright);
  margin-bottom: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-nav-list a:hover {
  color: var(--gold-bright);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(168, 85, 247, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS Y MÓVILES)
   ========================================================================== */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 6.5rem 0 4rem;
  }

  .hero-features-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .contact-card {
    padding: 2.2rem 1.5rem;
  }

  .oracle-container {
    padding: 2rem 1.2rem;
  }

  .oracle-card-slot {
    width: 150px;
    height: 230px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
