/* 🎨 Mandy Academy — Sistema de Estilos Premium (Fintech Dark/Luxury) */

/* 1. Fuentes e Importaciones (Cargadas mediante HTML <link> para optimizar rendimiento) */

/* 2. Variables de Marca */
:root {
  --color-bg-deep: #050A13;
  --color-bg-darker: #02060D;
  --color-bg-warm: #0A1524;
  --color-blue-electric: #2E6E91;
  --color-cyan-neon: #8FD8E8;
  --color-gold: #D8B873;
  --color-gold-bright: #F1D28A;
  --color-gold-soft: rgba(216, 184, 115, 0.18);
  --color-champagne: #F5E6C8;
  --color-accent-glow: rgba(143, 216, 232, 0.12);
  --color-text-light: #FAFAFA;
  --color-text-muted: #B6C2CB;
  --color-text-soft: #E8EDF1;
  --color-red-danger: #EF4444;
  --color-red-dark: #351013;
  --color-card: rgba(7, 16, 29, 0.76);
  --color-card-strong: rgba(5, 10, 19, 0.88);
  --font-headings: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --transition-smooth: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 3. Reseteo y Estilos Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg-deep);
  color: var(--color-text-light);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(216, 184, 115, 0.08), transparent 34rem),
    linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-bg-deep) 42%, var(--color-bg-darker) 100%);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(245, 230, 200, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 230, 200, 0.012) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.42;
  pointer-events: none;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-wrap: balance;
}

p {
  line-height: 1.6;
  color: var(--color-text-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

/* 4. Barra de Scroll Personalizada */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-darker);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan-neon);
}

/* 6. Capa de Aurora de Fondo en Movimiento */
.aurora-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.aurora-glow-1 {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 184, 115, 0.13) 0%, rgba(46, 110, 145, 0.06) 52%, transparent 100%);
  filter: blur(80px);
  animation: float-slow 20s infinite alternate;
}

.aurora-glow-2 {
  position: absolute;
  top: 10%;
  left: -20%;
  width: 80vw;
  height: 80vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 216, 232, 0.09) 0%, rgba(216, 184, 115, 0.04) 58%, transparent 100%);
  filter: blur(100px);
  animation: float-slow 25s infinite alternate-reverse;
}

@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 5%) scale(1.1); }
}

/* 7. Contenedores y Estilos de Grid */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

/* Glassmorphism Tarjetas */
.glass-card {
  background: var(--color-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 230, 200, 0.09);
  border-radius: 8px;
  box-shadow: 0 24px 48px -22px rgba(0, 0, 0, 0.58), 0 0 28px rgba(216, 184, 115, 0.05);
}

.glass-card-hover {
  transition: var(--transition-smooth);
}

.glass-card-hover:hover {
  transform: translateY(-5px);
  border-color: rgba(216, 184, 115, 0.28);
  box-shadow: 0 22px 46px -18px rgba(0, 0, 0, 0.6), 0 0 24px rgba(216, 184, 115, 0.1);
}

/* 8. Botones de Acción (CTAs Premium) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, var(--color-gold-bright) 0%, var(--color-gold) 48%, #B98C42 100%);
  color: #06101C;
  font-family: var(--font-headings);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 14px 28px -10px rgba(216, 184, 115, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 52px;
  touch-action: manipulation;
}

.btn-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(2, 6, 13, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s;
  flex-shrink: 0;
}

.btn-primary:hover .btn-icon-wrapper {
  background: rgba(2, 6, 13, 0.24);
  transform: translateX(2px) scale(1.05);
}

.btn-primary:active .btn-icon-wrapper {
  transform: scale(0.95);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(216, 184, 115, 0.65), 0 0 22px rgba(241, 210, 138, 0.22);
  color: #06101C;
}

.btn-primary:active {
  transform: translateY(1px) scale(0.99);
}

/* 9. Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* 10. Hero Section */
.hero-section {
  position: relative;
  padding: clamp(2rem, 4vh, 3.25rem) 0 6rem;
  background-color: #080F1A;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(31, 81, 255, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 10%, rgba(216, 184, 115, 0.06) 0%, transparent 40%);
  background-size: 140% 140%;
  background-position: 50% 50%;
  animation: aurora-drift 20s ease infinite alternate;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
}

/* Rejilla de perspectiva financiera (profundidad) */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center center;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(circle at 50% 40%, black 50%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 50%, transparent 95%);
}

/* Orbes flotantes de alta profundidad */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}

.orb-blue {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(31, 81, 255, 0.28) 0%, rgba(31, 81, 255, 0) 70%);
  top: -15%;
  left: 5%;
  animation: orb-float-1 25s ease-in-out infinite alternate;
}

.orb-cyan {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.24) 0%, rgba(0, 240, 255, 0) 70%);
  bottom: -5%;
  right: 10%;
  animation: orb-float-2 30s ease-in-out infinite alternate;
}

.orb-gold {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(216, 184, 115, 0.16) 0%, rgba(216, 184, 115, 0) 70%);
  top: 25%;
  left: 35%;
  animation: orb-float-3 22s ease-in-out infinite alternate;
}

@keyframes orb-float-1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(90px, 50px) scale(1.1);
  }
  100% {
    transform: translate(-30px, 100px) scale(0.95);
  }
}

@keyframes orb-float-2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-100px, -70px) scale(0.9);
  }
  100% {
    transform: translate(60px, 50px) scale(1.05);
  }
}

@keyframes orb-float-3 {
  0% {
    transform: translate(0, 0) scale(0.95);
  }
  50% {
    transform: translate(70px, -90px) scale(1.12);
  }
  100% {
    transform: translate(-60px, 40px) scale(1.0);
  }
}

@keyframes aurora-drift {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 50% 100%;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
  column-gap: clamp(3rem, 6vw, 6rem);
  row-gap: 1.75rem;
  align-items: start;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: clamp(1.15rem, 2.2vh, 1.5rem);
}

.hero-right {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.mobile-only-cta {
  display: none;
}

.hero-cta-container {
  width: 100%;
  max-width: 430px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 650px;
}

.hero-event-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--color-gold-bright);
}

.hero-event-date svg {
  width: 18px;
  height: 18px;
}

.hero-countdown {
  display: none;
}

.badge-wrapper {
  display: inline-flex;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(216, 184, 115, 0.12);
  border: 1px solid rgba(216, 184, 115, 0.36);
  color: var(--color-gold-bright);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(216, 184, 115, 0.08);
  animation: badgeGlow 3s infinite ease-in-out;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

/* Punto indicador de transmisión en vivo */
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #EF4444;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  box-shadow: 0 0 8px #EF4444;
}

.live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #EF4444;
  animation: dotPulse 1.5s infinite ease-out;
}

@keyframes badgeGlow {
  0%, 100% {
    box-shadow: 0 0 16px rgba(216, 184, 115, 0.08);
    border-color: rgba(216, 184, 115, 0.36);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 28px rgba(216, 184, 115, 0.28);
    border-color: var(--color-gold-bright);
    transform: scale(1.03);
  }
}

@keyframes dotPulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 18%, var(--color-champagne) 72%, #D5E9ED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-muted); /* text-cyan-200 / muted */
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  background: #030812;
  border: 1px solid rgba(245, 230, 200, 0.14);
  box-shadow: 0 34px 72px -34px rgba(0, 0, 0, 0.8), 0 0 46px rgba(0, 240, 255, 0.08);
}

.hero-banner picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-banner-video,
.hero-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-form-card {
  width: 100%;
  max-width: 650px;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.12) !important;
  border: 1px solid rgba(0, 240, 255, 0.1) !important;
}

.hero-form-card-inner {
  padding: 1.75rem 2rem;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
  font-family: var(--font-headings);
  font-weight: 700;
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.15rem;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: rgba(2, 6, 13, 0.66);
  border: 1px solid rgba(245, 230, 200, 0.12);
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 14px rgba(216, 184, 115, 0.14);
}

.phone-wrapper {
  display: flex;
  gap: 0.5rem;
}

.country-select {
  flex: 0 0 auto;
  min-width: 112px;
  background: rgba(2, 6, 13, 0.66);
  border: 1px solid rgba(245, 230, 200, 0.12);
  border-radius: 8px;
  color: var(--color-text-light);
  padding: 0 0.5rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
}

.phone-wrapper .form-input {
  flex: 1 1 auto;
  min-width: 0;
}

.checkbox-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.checkbox-input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-gold);
  margin-top: 0.1rem;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--color-text-muted);
  cursor: pointer;
}

.checkbox-label a {
  color: var(--color-gold-bright);
  text-decoration: underline;
}

.security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

.security-note svg {
  width: 14px;
  height: 14px;
  color: var(--color-gold);
}

/* 11. Sección Puntos de Dolor */
.pain-section {
  padding: 6rem 0;
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(5, 10, 19, 0.9) 0%, rgba(7, 13, 22, 0.74) 52%, rgba(5, 10, 19, 0.92) 100%),
    radial-gradient(circle at 22% 30%, rgba(117, 42, 32, 0.18) 0%, transparent 50%),
    url('../fondos-landing/bg_pain_points.jpg');
  background-size: cover, cover, 112% 112%;
  background-position: center, center, 50% 50%;
  border-top: 1px solid rgba(245, 230, 200, 0.04);
  animation: aurora-pulse-pain 18s ease-in-out infinite alternate;
}

@keyframes aurora-pulse-pain {
  0% { background-position: center, center, 50% 50%; }
  100% { background-position: center, center, 52% 51%; }
}

.section-tag {
  color: var(--color-gold-bright);
  font-family: var(--font-headings);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 3rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.pain-card {
  padding: 2rem;
}

.pain-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(117, 42, 32, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red-danger);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.pain-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-light);
}

.pain-card-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

.pain-disclaimer {
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  background: rgba(216, 184, 115, 0.06);
  border: 1px dashed rgba(216, 184, 115, 0.34);
  max-width: 800px;
  margin: 0 auto;
}

.pain-disclaimer-text {
  color: var(--color-champagne);
  font-weight: 600;
  font-size: 0.95rem;
}

/* 12. Sección de Descubrimientos (Beneficios) */
.discover-section {
  padding: 6rem 0;
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(6, 14, 26, 0.82) 0%, rgba(5, 10, 19, 0.86) 100%),
    radial-gradient(circle at 82% 16%, rgba(216, 184, 115, 0.14) 0%, transparent 42%),
    url('../fondos-landing/bg_discovery.jpg');
  background-size: cover, cover, 116% 116%;
  background-position: center, center, center 55%;
  animation: aurora-pulse-discover 22s ease-in-out infinite alternate;
}

@keyframes aurora-pulse-discover {
  0% { background-position: center, center, center 55%; }
  100% { background-position: center, center, center 49%; }
}

.discover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.discover-visual {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 480px;
  border: 1px solid rgba(216, 184, 115, 0.18);
  box-shadow: 0 24px 52px -28px rgba(0, 0, 0, 0.72), 0 0 30px rgba(216, 184, 115, 0.08);
}

.discover-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 19, 0.02) 0%, rgba(5, 10, 19, 0.32) 100%);
  pointer-events: none;
}

.discover-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.discover-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: saturate(0.94) contrast(1.02) brightness(1);
}

.discover-floating-dial {
  position: absolute;
  top: 5%;
  left: 5%;
  z-index: 10;
  width: 130px;
}

.discover-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.discover-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 8px;
  background: rgba(7, 16, 29, 0.58);
  border: 1px solid rgba(245, 230, 200, 0.07);
  transition: var(--transition-smooth);
}

.discover-item:hover {
  border-color: rgba(216, 184, 115, 0.28);
  background: rgba(7, 16, 29, 0.76);
}

.discover-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(216, 184, 115, 0.15);
  color: var(--color-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.discover-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--color-text-light);
}

.discover-item-desc {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* 13. Sección Autoridad / Bio */
.bio-section {
  padding: 6rem 0;
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(5, 10, 19, 0.96) 0%, rgba(8, 16, 27, 0.92) 56%, rgba(5, 10, 19, 0.98) 100%),
    radial-gradient(circle at 18% 40%, rgba(216, 184, 115, 0.1) 0%, transparent 46%),
    radial-gradient(circle at 86% 60%, rgba(143, 216, 232, 0.06) 0%, transparent 54%);
  animation: aurora-pulse-bio 25s ease-in-out infinite alternate;
}

@keyframes aurora-pulse-bio {
  0% { background-position: 15% 40%, 85% 60%, center; }
  100% { background-position: 10% 45%, 90% 55%, center; }
}

.bio-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.bio-visual {
  position: relative;
  height: 480px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(245, 230, 200, 0.12);
  box-shadow: 0 24px 54px -26px rgba(0, 0, 0, 0.7), 0 0 34px rgba(216, 184, 115, 0.07);
}

.bio-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.bio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 46%;
  filter: saturate(0.92) contrast(1.02) brightness(0.9);
}

.bio-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bio-tag {
  color: var(--color-gold-bright);
  font-family: var(--font-headings);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.bio-title {
  font-size: 2.25rem;
  line-height: 1.2;
}

.bio-text {
  font-size: 1rem;
  line-height: 1.7;
}

.bio-stats {
  display: flex;
  gap: 3rem;
  margin-top: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-gold-bright);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--color-text-muted);
  margin-top: 0.4rem;
}

/* Testimonios en video */
.testimonials-section {
  padding: 2rem 0 6rem 0;
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(6, 14, 26, 0.84) 0%, rgba(5, 10, 19, 0.92) 100%),
    radial-gradient(circle at 52% 38%, rgba(216, 184, 115, 0.1) 0%, transparent 52%),
    url('../fondos-landing/bg_social_proof.jpg');
  background-size: cover, cover, 115% 115%;
  background-position: center, center, center;
  border-top: 1px solid rgba(245, 230, 200, 0.04);
  animation: social-proof-drift 26s ease-in-out infinite alternate;
}

@keyframes social-proof-drift {
  0% { background-position: center, center, 50% 50%; }
  100% { background-position: center, center, 51% 48%; }
}

.testimonials-header {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-header p {
  color: var(--color-text-muted);
}

.video-testimonials-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1.2rem;
  margin-top: 3rem;
}

.video-testimonial-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
}

.video-testimonial-card.shell {
  padding: 8px !important;
  background:
    linear-gradient(145deg, rgba(245, 230, 200, 0.1), rgba(5, 10, 19, 0.12) 45%, rgba(40, 210, 224, 0.09)) !important;
  border-color: rgba(230, 206, 154, 0.22) !important;
  box-shadow:
    0 30px 60px -28px rgba(0, 0, 0, 0.92),
    0 0 30px rgba(40, 210, 224, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.video-testimonial-card::after {
  content: '';
  position: absolute;
  width: 46%;
  height: 34%;
  right: -18%;
  bottom: -18%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(40, 210, 224, 0.16);
  filter: blur(42px);
  pointer-events: none;
}

.video-testimonial-core.core {
  overflow: hidden;
  background: linear-gradient(160deg, rgba(10, 24, 42, 0.98), rgba(3, 9, 18, 0.98)) !important;
}

.video-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(245, 230, 200, 0.09);
  background: rgba(7, 17, 30, 0.92);
}

.video-real-chip,
.video-meta-chip {
  font-family: var(--font-headings);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.video-real-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-champagne);
  font-size: 0.67rem;
  font-weight: 700;
}

.video-real-chip > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #50e3c2;
  box-shadow: 0 0 12px rgba(80, 227, 194, 0.8);
}

.video-meta-chips {
  display: flex;
  gap: 0.35rem;
  margin-left: auto;
}

.video-meta-chip {
  padding: 0.25rem 0.45rem;
  border: 1px solid rgba(216, 184, 115, 0.22);
  border-radius: 999px;
  background: rgba(216, 184, 115, 0.08);
  color: rgba(245, 230, 200, 0.78);
  font-size: 0.58rem;
  font-weight: 600;
}

.video-media-stage {
  --video-poster: none;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #020711;
}

.video-media-stage-portrait {
  aspect-ratio: 9 / 16;
}

.video-media-stage::before {
  content: '';
  position: absolute;
  inset: -10%;
  z-index: -2;
  background-image: var(--video-poster);
  background-position: center;
  background-size: cover;
  filter: blur(22px) saturate(0.78) brightness(0.45);
  transform: scale(1.08);
}

.video-media-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 7, 17, 0.6), transparent 28%, transparent 72%, rgba(2, 7, 17, 0.6)),
    linear-gradient(180deg, rgba(4, 11, 23, 0.18), rgba(2, 7, 17, 0.42));
  pointer-events: none;
}

.video-media-stage video {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  background: rgba(2, 7, 17, 0.36);
}

.testimonial-fineprint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 2rem auto 0 auto;
  line-height: 1.4;
}

/* 14. Sección FAQ y Cuenta Regresiva */
.faq-section {
  padding: 6rem 0;
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(5, 10, 19, 0.93) 0%, rgba(5, 10, 19, 0.8) 52%, rgba(5, 10, 19, 0.6) 100%),
    radial-gradient(circle at 80% 18%, rgba(216, 184, 115, 0.14) 0%, transparent 42%),
    url('../fondos-landing/bg_faq_countdown.jpg');
  background-size: cover, cover, 112% 112%;
  background-position: center, center, 50% 50%;
  border-top: 1px solid rgba(245, 230, 200, 0.04);
  animation: faq-focus-drift 22s ease-in-out infinite alternate;
}

@keyframes faq-focus-drift {
  0% { background-position: center, center, 50% 50%; }
  100% { background-position: center, center, 52% 49%; }
}

.faq-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
}

/* Acordeón FAQ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border-radius: 8px;
  background: rgba(7, 16, 29, 0.62);
  border: 1px solid rgba(245, 230, 200, 0.08);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--color-text-light);
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.accordion-icon {
  font-size: 1.2rem;
  color: var(--color-gold-bright);
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(2, 6, 13, 0.34);
}

.accordion-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.accordion-item.active {
  border-color: rgba(216, 184, 115, 0.26);
  background: rgba(7, 16, 29, 0.78);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* Cuenta Regresiva (Countdown Box) */
.countdown-box {
  padding: 2.5rem;
  text-align: center;
}

.countdown-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

.countdown-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 65px;
}

.timer-num {
  font-size: 2.25rem;
  font-family: var(--font-headings);
  font-weight: 800;
  color: var(--color-gold-bright);
  background: rgba(2, 6, 13, 0.82);
  border: 1px solid rgba(216, 184, 115, 0.24);
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  line-height: 1;
  text-shadow: 0 0 16px rgba(216, 184, 115, 0.3);
  font-variant-numeric: tabular-nums;
}

.timer-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* 15. Footer Legal y Compliance */
.site-footer {
  background:
    linear-gradient(180deg, rgba(5, 10, 19, 0.9) 0%, rgba(2, 6, 13, 0.96) 100%),
    url('../fondos-landing/bg_footer_legal.jpg');
  background-size: cover, 108% 108%;
  background-position: center, 50% 48%;
  padding: 4rem 0;
  border-top: 1px solid rgba(245, 230, 200, 0.05);
  position: relative;
  animation: footer-horizon-drift 30s ease-in-out infinite alternate;
}

@keyframes footer-horizon-drift {
  0% { background-position: center, 49% 48%; }
  100% { background-position: center, 51% 48%; }
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--color-gold-bright);
}

.footer-compliance {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #66737d; /* Muy discreto para compliance legal */
  text-align: justify;
  max-width: 900px;
  border-top: 1px solid rgba(245, 230, 200, 0.06);
  padding-top: 2rem;
  width: 100%;
}

/* Estilos para el desplegable de descargo de responsabilidad */
.compliance-details {
  border: 1px solid rgba(245, 230, 200, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.01);
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
}

.compliance-details[open] {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(245, 230, 200, 0.15);
}

.compliance-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  list-style: none; /* Quita el triángulo nativo */
  user-select: none;
  transition: color 0.3s;
}

.compliance-summary::-webkit-details-marker {
  display: none; /* Quita el triángulo nativo en Safari */
}

.compliance-summary:hover {
  color: var(--color-gold-bright);
}

.compliance-summary span {
  display: flex;
  align-items: center;
}

.compliance-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 10px;
}

.compliance-details[open] .compliance-arrow {
  transform: rotate(-135deg);
}

.compliance-content {
  padding: 0 1.2rem 1.2rem 1.2rem;
  font-size: 0.72rem;
  color: #66737d;
  text-align: justify;
  border-top: 1px solid rgba(245, 230, 200, 0.06);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
}

.footer-address {
  font-style: normal;
  color: var(--color-text-light);
  font-weight: 500;
}

/* Fades y Transiciones de Sección */
section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  background: linear-gradient(180deg, rgba(2, 6, 13, 0.78) 0%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 110px;
  background: linear-gradient(0deg, rgba(2, 6, 13, 0.76) 0%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

.hero-section::before, .hero-section::after {
  display: none !important;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, rgba(2, 6, 13, 0.82) 0%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

/* 16. Barra Flotante Sticky (Móvil) */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 10, 19, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(216, 184, 115, 0.18);
  padding: 0.85rem 1.5rem;
  z-index: 99;
  display: none;
  justify-content: center;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 17. Estilos Responsivos (Mobile-First y Media Queries) */

@media (max-width: 1024px) {
  .faq-grid, .discover-grid, .bio-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .discover-visual, .bio-visual {
    height: 420px;
  }

  .hero-section {
    padding: 0;
    overflow: hidden;
  }

  .hero-grid {
    width: 100%;
    max-width: none;
    padding: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  /* Primer pantallazo apilado: titular -> retrato recortado -> botón visible */
  .hero-left {
    min-height: calc(100dvh - 40px); /* menos la altura del ticker superior */
    display: flex;
    flex-direction: column;
    gap: clamp(0.55rem, 1.35dvh, 0.9rem);
    padding: clamp(0.85rem, 2.4dvh, 1.25rem) 1.25rem calc(clamp(0.85rem, 2.4dvh, 1.25rem) + env(safe-area-inset-bottom));
  }

  .hero-content {
    display: flex;
    align-items: center;
    text-align: center;
    gap: clamp(0.45rem, 1.15dvh, 0.65rem);
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    width: min(100%, 360px);
    padding: 0.65rem 0.75rem 0.55rem;
    border: 1px solid rgba(216, 184, 115, 0.24);
    border-radius: 8px;
    background: rgba(2, 6, 13, 0.42);
    box-shadow: 0 16px 32px -24px rgba(0, 0, 0, 0.75), 0 0 22px rgba(216, 184, 115, 0.06);
  }

  .hero-countdown-label {
    color: var(--color-champagne);
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
  }

  .hero-countdown-timer {
    gap: 0.4rem;
    width: 100%;
    margin: 0;
  }

  .hero-countdown .timer-block {
    min-width: 0;
    flex: 1;
  }

  .hero-countdown .timer-num {
    width: 100%;
    height: 38px;
    font-size: 1.2rem;
    border-radius: 8px;
  }

  .hero-countdown .timer-label {
    margin-top: 0.3rem;
    font-size: 0.58rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-visual {
    position: relative;
    width: 100%;
    height: clamp(230px, 40dvh, 430px);
    aspect-ratio: auto;
    margin-block: auto 0;
    border: 1px solid rgba(245, 230, 200, 0.14);
    border-radius: 16px;
    box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.8), 0 0 32px rgba(0, 240, 255, 0.06);
    background: #020711;
  }

  .hero-banner-img {
    object-position: center top;
  }

  .mobile-only-cta {
    position: static;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: none;
    padding: 0;
    background: none;
  }

  .mobile-only-cta .btn-primary {
    width: min(100%, 460px);
  }

  .hero-right {
    justify-content: center;
    padding: 3rem 1.5rem calc(3rem + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.08), transparent 46%),
      #080f1a;
  }

  .hero-form-card {
    width: min(100%, 680px);
    max-width: none;
    scroll-margin-top: 1rem;
  }

  .form-input,
  .country-select {
    font-size: 16px;
  }

  .hero-cta-container {
    max-width: none;
  }

  .bio-img {
    object-position: 58% 44%;
  }

  .video-testimonials-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Pantallas móviles bajas (p. ej. iPhone SE): limita el alto del video para que el botón no quede fuera de vista */
@media (max-width: 1024px) and (max-height: 700px) {
  .hero-visual {
    height: clamp(205px, 36dvh, 255px);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  /* Hero móvil: titular y subtítulo compactos para que quepan H1 + video + botón */
  .hero-title {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    display: block;
    max-width: 32rem;
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--color-text-soft);
  }

  .sticky-bar {
    display: none;
  }

  .countdown-timer {
    gap: 0.55rem;
  }

  .timer-block {
    min-width: 56px;
  }

  .timer-num {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .discover-section {
    background-position: center, center, 38% 52%;
  }

  .faq-section {
    background-position: center, center, 63% 50%;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-section {
    padding-bottom: 7rem;
  }

  .video-testimonials-layout {
    display: flex;
    gap: 1.1rem;
    margin-top: 2rem;
    margin-inline: -1.5rem;
    padding: 0 1.5rem 0.75rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 184, 115, 0.35) transparent;
  }

  .video-testimonials-layout .video-testimonial-card {
    flex: 0 0 min(78vw, 320px);
    scroll-snap-align: center;
  }

  .bio-stats {
    justify-content: center;
    gap: 2rem;
  }

  .modal-content {
    max-height: 92vh;
    overflow-y: auto;
    padding: 2rem;
    margin: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section {
    animation: none;
  }
}

/* Animaciones sutiles generales */
.animate-float {
  animation: float 4s ease-in-out infinite;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 18. Modal de Registro Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 13, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 100%;
  max-width: 480px;
  padding: 2.5rem;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
  outline: none;
}

.modal-close-btn:hover {
  color: var(--color-gold-bright);
}

/* ♿ Mejoras de Accesibilidad - Contorno de Foco Visible */
.btn-primary:focus-visible,
.accordion-header:focus-visible,
.modal-close-btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-cyan-neon) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 14px rgba(143, 216, 232, 0.4) !important;
}

/* 🏢 Double-Bezel (Doppelrand) Card Architecture */
.shell {
  border-radius: 24px !important;
  padding: 8px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(245, 230, 200, 0.05) !important;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8), 0 0 32px rgba(216, 184, 115, 0.03) !important;
  display: flex;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
}

.core {
  background: var(--color-card-strong) !important;
  border-radius: calc(24px - 8px) !important;
  border: 1px solid rgba(245, 230, 200, 0.08) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
  width: 100%;
}

.pain-card-inner {
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-card-inner {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ♿ Respetar Preferecias de Reducción de Movimiento */
@media (prefers-reduced-motion: reduce) {
  .aurora-glow-1,
  .aurora-glow-2,
  .orb-blue,
  .orb-cyan,
  .orb-gold,
  .pain-section,
  .discover-section,
  .testimonials-section,
  .faq-section,
  .site-footer,
  .thankyou-section,
  .discover-floating-dial,
  .hero-badge,
  .live-dot::after {
    animation: none !important;
    transform: none !important;
  }
  [data-reveal] {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
