/* ==========================================================================
   SANTUARIO DEL RETORNO SAGRADO - LUXURY & MYSTICAL DESIGN SYSTEM
   Lic. Miguel Ortiz - Parapsicología, Consagración & Alineación Espiritual
   ========================================================================== */

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

:root {
  /* Color Tokens - Ultra Premium Dark Obsidian & Celestial Gold */
  --bg-deep: #06030b;
  --bg-primary: #0b0615;
  --bg-secondary: #130a24;
  --bg-card: rgba(19, 10, 36, 0.78);
  --bg-glass: rgba(255, 255, 255, 0.035);
  --bg-glass-hover: rgba(255, 255, 255, 0.07);

  --accent-gold: #e5c158;
  --accent-gold-bright: #fff2be;
  --accent-gold-dark: #b88d28;
  --accent-purple: #a855f7;
  --accent-violet: #7e22ce;
  --accent-amethyst: #c084fc;
  
  --gold-glow: rgba(229, 193, 88, 0.35);
  --purple-glow: rgba(168, 85, 247, 0.35);

  --text-main: #f5f2fa;
  --text-muted: #a69ebd;
  --text-gold: #f3df97;

  --border-gold: rgba(229, 193, 88, 0.3);
  --border-purple: rgba(168, 85, 247, 0.25);
  --border-glass: rgba(255, 255, 255, 0.08);

  /* Fonts */
  --font-heading: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Transitions */
  --tr-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --tr-normal: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --tr-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radius & Shadows */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-glass: 0 16px 40px 0 rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(168, 85, 247, 0.3);
  --shadow-gold: 0 0 30px rgba(229, 193, 88, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-gold-dark) 0%, var(--accent-violet) 100%);
  border-radius: 5px;
  border: 2px solid var(--bg-deep);
}

/* Reset & Base Setup */
*, *::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);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  position: relative;
  line-height: 1.7;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(168, 85, 247, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 90% 55%, rgba(229, 193, 88, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(126, 34, 206, 0.15) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Canvas Background */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* Typography Helpers */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: 0.8px;
  color: #ffffff;
}

.gold-text {
  background: linear-gradient(135deg, #ffffff 0%, #fff2be 25%, #e5c158 60%, #b88d28 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 30px rgba(229, 193, 88, 0.25);
}

.purple-glow-text {
  color: var(--accent-amethyst);
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--tr-fast);
}

/* Section Divider Ornament */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 40px auto 0 auto;
  max-width: 300px;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}
.section-divider span {
  color: var(--accent-gold);
  font-size: 1.1rem;
  text-shadow: 0 0 10px var(--accent-gold);
}

/* Section Wrapper Standard */
section {
  position: relative;
  z-index: 2;
  padding: 110px 5%;
  max-width: 1350px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 65px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  border-radius: 50px;
  background: rgba(229, 193, 88, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(229, 193, 88, 0.15);
  backdrop-filter: blur(8px);
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* Glassmorphism Card Utility */
.glass-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
  transition: var(--tr-normal);
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transition: 0.7s ease;
  pointer-events: none;
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card:hover {
  border-color: rgba(229, 193, 88, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(168, 85, 247, 0.25), 0 0 15px rgba(229, 193, 88, 0.2);
  transform: translateY(-6px);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 50px;
  background: linear-gradient(135deg, #fff2be 0%, #e5c158 50%, #b88d28 100%);
  color: #0b0615;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(229, 193, 88, 0.4);
  transition: var(--tr-bounce);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: rotate(30deg) translateY(-100%);
  transition: 0.7s ease;
}

.btn-primary:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(229, 193, 88, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 50px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid var(--accent-purple);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: var(--tr-normal);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(168, 85, 247, 0.3);
  border-color: var(--accent-gold);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.35);
}

/* ==========================================================================
   OFFICIAL BRAND & SOCIAL LOGOS (HD CLEAN DESIGN)
   ========================================================================== */
.brand-logo-icon {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 10px rgba(229, 193, 88, 0.8));
  transition: var(--tr-fast);
}

.nav-brand:hover .brand-logo-icon {
  transform: rotate(15deg) scale(1.08);
}

/* Social HD Logo Badges in Contact Card */
.social-icon-hd {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: var(--tr-bounce);
  flex-shrink: 0;
}

.social-icon-hd.whatsapp {
  background: #25D366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.social-icon-hd.facebook {
  background: #0084FF;
  box-shadow: 0 0 20px rgba(0, 132, 255, 0.4);
}

.social-icon-hd svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

.social-btn:hover .social-icon-hd {
  transform: scale(1.12);
}

/* Floating Action Buttons (Strictly Clean & Elegant - NO Strange Outer Rings) */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  transition: var(--tr-bounce);
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  position: relative;
  outline: none;
}

.float-btn svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.float-btn.whatsapp {
  background: #25D366;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.float-btn.facebook {
  background: #0084FF;
  box-shadow: 0 6px 25px rgba(0, 132, 255, 0.5);
}

.float-btn:hover {
  transform: scale(1.14);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.35);
}

/* Service Card Header Badges & Icons */
.card-icon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(229, 193, 88, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
  width: fit-content;
}

.card-icon-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-gold);
}

/* Navigation Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--tr-normal);
}

.navbar.scrolled {
  background: rgba(6, 3, 11, 0.92);
  backdrop-filter: blur(16px);
  padding: 14px 5%;
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent-gold-bright);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold-bright);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-purple) 100%);
  transition: var(--tr-fast);
  box-shadow: 0 0 8px var(--accent-gold);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ==========================================================================
   ZONA 1: HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 90px;
  background: radial-gradient(circle at center, rgba(25, 12, 46, 0.75) 0%, rgba(6, 3, 11, 0.96) 80%),
              url('../IMG/santuario_hero.jpg') center/cover no-repeat;
  background-blend-mode: overlay;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, rgba(229, 193, 88, 0.1) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

.hero-content {
  max-width: 940px;
  z-index: 2;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 26px;
  border-radius: 50px;
  background: rgba(11, 6, 21, 0.85);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-bright);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 28px;
  box-shadow: 0 0 25px rgba(229, 193, 88, 0.3);
  backdrop-filter: blur(12px);
  animation: float 5s ease-in-out infinite;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.28rem;
  color: #dcd6e8;
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 70px;
  padding: 28px 36px;
  background: rgba(11, 6, 21, 0.75);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold-bright);
  text-shadow: 0 0 15px var(--accent-gold);
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ==========================================================================
   ZONA 2: ESENCIA & LIC. MIGUEL ORTIZ
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-img-container {
  position: relative;
}

.about-img-container img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(168, 85, 247, 0.35);
  display: block;
}

.about-experience-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: rgba(11, 6, 21, 0.96);
  border: 1px solid var(--accent-gold);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(229, 193, 88, 0.3);
  backdrop-filter: blur(12px);
}

.about-experience-badge .num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-gold);
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--accent-gold-bright);
  line-height: 1.3;
}

.about-content p {
  margin-bottom: 22px;
  line-height: 1.85;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-glass);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  transition: var(--tr-fast);
}

.value-item:hover {
  background: rgba(168, 85, 247, 0.12);
  border-color: var(--accent-gold);
}

.value-icon {
  color: var(--accent-gold);
  font-size: 1.4rem;
  text-shadow: 0 0 10px var(--accent-gold);
}

.value-text h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.value-text p {
  font-size: 0.84rem;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   ZONA 3: TRABAJOS Y ESPECIALIDADES
   ========================================================================== */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 28px;
  border-radius: 50px;
  background: rgba(19, 10, 36, 0.7);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tr-fast);
  backdrop-filter: blur(10px);
}

.tab-btn.active, .tab-btn:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(229, 193, 88, 0.2) 100%);
  border-color: var(--accent-gold);
  color: var(--accent-gold-bright);
  box-shadow: 0 0 20px rgba(229, 193, 88, 0.25);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--tr-normal);
}

.service-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg-card) 100%);
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.1);
}

.service-card-body {
  padding: 26px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--accent-gold-bright);
}

.service-card-desc {
  font-size: 0.94rem;
  margin-bottom: 22px;
  flex-grow: 1;
  line-height: 1.65;
}

.service-action-btn {
  margin-top: auto;
  align-self: flex-start;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.94rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-action-btn:hover {
  color: var(--accent-gold-bright);
  gap: 12px;
  text-shadow: 0 0 10px var(--accent-gold);
}

/* ==========================================================================
   ZONA 4: PROCESO SAGRADO EN 4 FASES
   ========================================================================== */
.timeline-container {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-gold) 0%, var(--accent-purple) 50%, var(--accent-gold) 100%);
  transform: translateX(-50%);
  box-shadow: 0 0 15px var(--accent-gold);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 60px;
  position: relative;
  margin-bottom: 60px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 60px;
}

.timeline-node {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 25px rgba(229, 193, 88, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent-gold-bright);
  z-index: 3;
}

.timeline-card {
  width: 100%;
  max-width: 420px;
  padding: 28px;
}

.timeline-step {
  font-size: 0.82rem;
  color: var(--accent-amethyst);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--accent-gold-bright);
}

.timeline-desc {
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ==========================================================================
   ZONA 5: EVALUADOR / DIAGNÓSTICO INTERACTIVO
   ========================================================================== */
.evaluator-box {
  max-width: 850px;
  margin: 0 auto;
  padding: 45px;
  background: rgba(14, 8, 28, 0.92);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(168, 85, 247, 0.25);
}

.step-progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.step-progress-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
  transform: translateY(-50%);
}

.step-indicator {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--text-muted);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  transition: var(--tr-fast);
}

.step-indicator.active {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
  color: var(--bg-deep);
  box-shadow: 0 0 20px var(--accent-gold);
}

.step-indicator.completed {
  border-color: var(--accent-purple);
  background: var(--accent-purple);
  color: #ffffff;
  box-shadow: 0 0 15px var(--accent-purple);
}

.quiz-step {
  display: none;
}

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

.quiz-question {
  font-size: 1.4rem;
  margin-bottom: 28px;
  color: #ffffff;
  text-align: center;
  line-height: 1.4;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 35px;
}

.quiz-option-btn {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  text-align: left;
  font-size: 0.98rem;
  cursor: pointer;
  transition: var(--tr-fast);
  display: flex;
  align-items: center;
  gap: 14px;
}

.quiz-option-btn:hover, .quiz-option-btn.selected {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(229, 193, 88, 0.15) 100%);
  border-color: var(--accent-gold);
  color: var(--accent-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(229, 193, 88, 0.2);
}

.quiz-nav-btns {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.diagnosis-result-card {
  text-align: center;
  padding: 24px;
}

.diagnosis-result-title {
  font-size: 1.8rem;
  color: var(--accent-gold-bright);
  margin-bottom: 14px;
}

.diagnosis-result-badge {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 50px;
  background: rgba(229, 193, 88, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-weight: 800;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(229, 193, 88, 0.25);
}

.diagnosis-summary-box {
  background: rgba(11, 6, 21, 0.85);
  border: 1px solid var(--border-gold);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   ZONA 6: TESTIMONIOS Y CASOS DE ÉXITO
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.testimonial-card::after {
  content: '“';
  position: absolute;
  top: 15px;
  right: 25px;
  font-family: var(--font-heading);
  font-size: 4.5rem;
  color: rgba(229, 193, 88, 0.12);
  line-height: 1;
  pointer-events: none;
}

.testimonial-quote {
  font-style: italic;
  font-size: 0.98rem;
  color: #dcd6e8;
  margin-bottom: 24px;
  line-height: 1.75;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-glass);
  padding-top: 18px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.author-info h5 {
  font-size: 1rem;
  color: var(--accent-gold-bright);
}

.author-info span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.star-rating-hd {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.star-rating-hd svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-gold);
  filter: drop-shadow(0 0 6px rgba(229, 193, 88, 0.6));
}

/* ==========================================================================
   ZONA 7: FAQ & CONTACTO DIRECTO
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: var(--tr-fast);
}

.faq-item.active {
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(229, 193, 88, 0.15);
}

.faq-question {
  width: 100%;
  padding: 20px 26px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.08rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question svg {
  transition: transform 0.3s ease;
  fill: var(--accent-gold);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  padding: 0 26px;
  background: rgba(11, 6, 21, 0.5);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 26px 24px 26px;
  transition: max-height 0.4s ease-in-out;
}

.direct-contact-box {
  padding: 40px;
}

.social-links-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  font-weight: 600;
  transition: var(--tr-normal);
}

.social-btn:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--accent-gold);
  transform: translateX(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.social-btn.facebook-btn {
  border-color: rgba(0, 132, 255, 0.4);
}

.social-btn.facebook-btn:hover {
  background: rgba(0, 132, 255, 0.18);
  box-shadow: 0 0 25px rgba(0, 132, 255, 0.35);
}

.social-btn.whatsapp-btn {
  border-color: rgba(35, 211, 102, 0.4);
}

.social-btn.whatsapp-btn:hover {
  background: rgba(35, 211, 102, 0.18);
  box-shadow: 0 0 25px rgba(35, 211, 102, 0.35);
}

/* Footer */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-gold);
  padding: 45px 5% 25px 5%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-content {
  max-width: 1250px;
  margin: 0 auto 35px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.9; }
}

/* Reveal on Scroll class */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakdown */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .about-grid, .contact-section-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-container::before { left: 24px; }
  .timeline-item, .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 70px;
    padding-right: 0;
  }
  .timeline-node { left: 24px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 270px;
    height: calc(100vh - 70px);
    background: rgba(11, 6, 21, 0.98);
    flex-direction: column;
    padding: 45px 25px;
    transition: var(--tr-normal);
    border-left: 1px solid var(--border-gold);
    backdrop-filter: blur(20px);
  }
  .nav-links.open { right: 0; }
  .mobile-toggle { display: block; }
  .services-grid, .testimonials-grid, .quiz-options { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.4rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .evaluator-box { padding: 25px 18px; }
}
