/* Las fuentes (Outfit, Plus Jakarta Sans) se cargan desde <link> en el
   <head> de index.html, no con @import aqui -- ver el comentario en el
   HTML para el por que (afecta el CLS). */

/* Redefined CSS Variables for Luxury Marketing & Quantum Depth */
:root {
  --bg-primary: #040405;
  --bg-secondary: #08080A;
  --bg-card: rgba(12, 12, 14, 0.65);
  --bg-card-highlight: rgba(16, 16, 20, 0.8);
  --bg-glass: rgba(4, 4, 5, 0.85);
  
  /* Metallic Gold Gradation */
  --gold-primary: #D4AF37;
  --gold-light: #F6E29A;
  --gold-dark: #A67C1E;
  --gold-gradient: linear-gradient(135deg, #F6E29A 0%, #D4AF37 45%, #A67C1E 80%, #7A5813 100%);
  --gold-border: rgba(212, 175, 55, 0.1);
  --gold-border-hover: rgba(212, 175, 55, 0.45);
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A8;
  --text-muted: #55555C;
  --success-color: #2ECC71;
  
  /* Layout */
  --font-title: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition-cubic: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-lg: 16px;
  --border-radius-md: 8px;
}

/* Core Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Canvas styling */
#quantum-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #0c0c0f 0%, #040405 100%);
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-title);
  letter-spacing: -0.5px;
  font-weight: 700;
}

/* Gradient elements */
.text-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.bg-gold-gradient {
  background: var(--gold-gradient);
}

/* Navigation Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  padding: 18px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  color: var(--gold-primary);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
  transition: var(--transition-cubic);
}

.logo-area:hover .logo-icon {
  transform: rotate(360deg);
  box-shadow: 0 0 20px var(--gold-primary);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 2px;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.logo-subtext {
  font-family: var(--font-body, inherit);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: center;
}

.nav-item {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  transition: var(--transition-cubic);
}

.nav-item:hover {
  color: var(--text-primary);
}

.nav-btn {
  background: transparent;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-cubic);
}

.nav-btn:hover {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  box-shadow: 0 5px 20px var(--gold-glow);
}

.menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;
}

.menu-icon-line {
  transition: var(--transition-cubic);
  transform-origin: center;
}

.menu-btn.active .menu-icon-top {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn.active .menu-icon-mid {
  opacity: 0;
}

.menu-btn.active .menu-icon-bottom {
  transform: translateY(-6px) rotate(-45deg);
}

/* Nav switches to the hamburger menu below this width so the 7 links never
   get squeezed/wrapped on laptop-sized screens (e.g. 1366px). */
@media (max-width: 1250px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - 75px);
    overflow-y: auto;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-links .nav-item {
    white-space: normal;
    padding: 16px 6%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 13px;
  }

  .nav-links .nav-btn {
    margin: 16px 6%;
  }

  .menu-btn {
    display: block;
  }
}

/* Layout Framework */
.main-content {
  margin-top: 75px;
}

.section {
  padding: 100px 8%;
  position: relative;
}

/* HERO SECTION */
.hero-section {
  min-height: calc(100vh - 75px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero-text-content {
  flex: 1.2;
  max-width: 700px;
}

.hero-tagline {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 54px;
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 900;
}

.hero-description {
  font-size: 19px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 600px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-cubic);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
  animation: pulseGlow 3s infinite alternate;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.03);
  transform: translateY(-3px);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3); }
  100% { box-shadow: 0 10px 35px rgba(212, 175, 55, 0.6); }
}

.hero-image-content {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.photo-frame {
  position: relative;
  width: 320px;
  height: 440px;
  border-radius: var(--border-radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(212,175,55,0.4) 0%, rgba(0,0,0,0) 100%);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  filter: contrast(105%) brightness(95%);
  transition: var(--transition-cubic);
  border: 1px solid rgba(255,255,255,0.05);
}

.photo-frame::after {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--border-radius-lg);
  z-index: -1;
  pointer-events: none;
  transition: var(--transition-cubic);
}

.photo-frame:hover::after {
  top: 10px;
  left: 10px;
  right: -10px;
  bottom: -10px;
  border-color: var(--gold-primary);
}

/* HIGH VALUE EDITORIAL BLOCKS (ONTOLOGICAL INSIGHTS) */
.insights-section {
  background: rgba(10, 10, 12, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.insight-quote-block {
  max-width: 850px;
  margin: 0 auto 60px auto;
  text-align: center;
  padding: 40px;
  border-left: 2px solid var(--gold-primary);
  background: rgba(212, 175, 55, 0.01);
  border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
}

.insight-quote {
  font-family: var(--font-title);
  font-size: 30px;
  line-height: 1.45;
  font-weight: 500;
  font-style: italic;
  color: #FFFFFF;
}

.insight-author {
  margin-top: 15px;
  font-size: 13px;
  color: var(--gold-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1350px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

.insight-card {
  padding: 28px 22px;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  transition: var(--transition-cubic);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.insight-card:hover {
  border-color: var(--gold-border-hover);
  background: rgba(16, 16, 20, 0.85);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.15);
  transform: translateY(-6px);
}

.insight-card-num {
  font-family: var(--font-title);
  color: var(--gold-primary);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  opacity: 0.85;
}

.insight-card-title {
  font-size: 18.5px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
  color: var(--text-primary);
}

.insight-card-text {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.55;
}

/* SECTION TÍTULOS */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.section-tagline {
  color: var(--gold-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
}

.section-description {
  color: var(--text-secondary);
  font-size: 17px;
  margin-top: 15px;
  font-weight: 400;
}

/* VALUE LADDER SECTION
   Los 4 planes siempre quedan en una fila horizontal:
   - Desktop (>=1000px): grid de 4 columnas iguales, una sola fila.
   - Tablet/móvil (<1000px): carrusel horizontal con scroll-snap (nunca
     se apilan en columna), mostrando un asomo de la siguiente tarjeta
     como pista visual de que se puede deslizar. */
.value-ladder-grid {
  display: flex;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* padding-top le da espacio a las insignias (.badge-free) que se
     posicionan 14px por encima de la tarjeta -- sin este espacio,
     overflow-y: hidden (necesario para el scroll horizontal) las
     recortaba en movil. */
  padding-top: 18px;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.4) transparent;
}

.value-ladder-grid::-webkit-scrollbar {
  height: 6px;
}

.value-ladder-grid::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.35);
  border-radius: 10px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-cubic);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  flex: 0 0 78%;
  scroll-snap-align: center;
  /* Obliga a que el scroll se detenga en CADA tarjeta, una por una --
     sin esto, un deslizamiento rapido puede saltarse el punto de
     centrado y dejar la tarjeta a mitad de camino (mas comun en
     Android/Chrome con gestos rapidos que en iOS/Safari). */
  scroll-snap-stop: always;
}

@media (min-width: 480px) {
  .price-card {
    flex-basis: 62%;
  }
}

@media (min-width: 650px) {
  .price-card {
    flex-basis: 44%;
  }
}

@media (min-width: 1000px) {
  .value-ladder-grid {
    overflow: visible;
    padding-bottom: 0;
  }

  .price-card {
    flex: 1 1 0;
    scroll-snap-align: none;
  }
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* Commitment diagnostic call card */
.price-card.free-featured {
  border-color: rgba(212, 175, 55, 0.45);
  background: var(--bg-card-highlight);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.08);
}

.price-card.free-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.badge-free {
  position: absolute;
  top: -14px;
  right: 25px;
  background: var(--gold-gradient);
  color: var(--bg-primary);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.price-header {
  margin-bottom: 20px;
}

.price-package-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.price-package-desc {
  font-size: 15px;
  color: var(--text-secondary);
  min-height: 40px;
}

.price-details {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 20px;
}

.price-regular-slash {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-amount {
  font-size: 36px;
  font-weight: 800;
}

.price-unit {
  font-size: 13px;
  color: var(--text-secondary);
}

.saving-badge {
  background: rgba(46, 204, 113, 0.1);
  color: var(--success-color);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  margin-left: auto;
}

/* Precio en dos partes claramente etiquetadas: implementacion (pago
   unico) y sostenimiento (mensual) -- feedback real de usuarios decia
   que se confundian sobre cuales de los dos numeros era cual. */
.price-details.two-part {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.price-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-line-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.price-line-monthly .price-line-label {
  color: var(--gold-light);
}

.price-line-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-strike {
  text-decoration: line-through;
  opacity: 0.45;
  font-size: 16px;
  color: #fff;
}

.price-amount-sm {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold-light);
}

.two-part .saving-badge {
  align-self: flex-start;
  margin-left: 0;
}

.price-features-list {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.price-feature-item {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.price-feature-text {
  flex: 1;
  display: block;
  font-weight: 500;
  color: #e0e0e0;
}

.price-feature-item.bonus {
  color: var(--gold-light);
  font-weight: 600;
}

.price-feature-icon {
  color: var(--gold-primary);
  font-size: 13px;
  margin-top: 1px;
  flex-shrink: 0;
}

.price-feature-icon.bonus-icon {
  color: var(--success-color);
}

.price-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-cubic);
  border: none;
  text-decoration: none;
  line-height: 1.3;
}

.price-cta-btn.secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-cta-btn.secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.03);
}

.price-cta-btn.primary {
  background: var(--gold-gradient);
  color: var(--bg-primary);
}

.price-cta-btn.primary:hover {
  box-shadow: 0 6px 20px rgba(212,175,55,0.25);
  transform: translateY(-2px);
}

/* WHY A 30 MINUTE FREE DIAGNOSTIC SESSION IS INVALUABLE */
.value-proposition-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 55px;
  max-width: 1150px;
  margin: 0 auto;
  align-items: center;
}

.prop-content h3 {
  font-size: 32px;
  margin-bottom: 25px;
  line-height: 1.2;
}

.prop-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prop-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.prop-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-weight: bold;
  flex-shrink: 0;
}

.prop-text h4 {
  font-family: var(--font-body);
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 600;
}

.prop-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* INTERACTIVE CALENDAR BOOKING */
.booking-section-wrapper {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.booking-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.booking-info-panel h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.booking-info-panel p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 30px;
}

.booking-step-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold-primary);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Calendar Widget */
.calendar-widget {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius-md);
  padding: 25px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.calendar-month-year {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.calendar-nav-btn {
  background: transparent;
  border: none;
  color: var(--gold-primary);
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition-cubic);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-nav-btn:hover {
  background: rgba(212, 175, 55, 0.1);
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  text-align: center;
}

.calendar-weekday {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 12px;
  letter-spacing: 1px;
}

.calendar-day {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-cubic);
  border: 1px solid transparent;
}

.calendar-day.empty {
  cursor: default;
}

.calendar-day.past {
  color: var(--text-muted);
  text-decoration: line-through;
  cursor: not-allowed;
}

.calendar-day.available {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.05);
  font-weight: 500;
}

.calendar-day.available:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
}

.calendar-day.today {
  border: 2px solid var(--gold-primary);
  font-weight: 700;
  box-shadow: 0 0 12px var(--gold-glow);
}

.calendar-day.selected {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  font-weight: 700;
  box-shadow: 0 0 15px var(--gold-glow);
  border-color: transparent;
}

/* Slots styling & scarcity colors */
.slots-container {
  margin-top: 30px;
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.slots-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 15px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}

.time-slot {
  padding: 12px;
  border: 1px solid var(--gold-primary); /* Standout outline */
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-cubic);
  background: rgba(212, 175, 55, 0.04);
  color: var(--gold-primary);
  font-weight: 600;
}

.time-slot:hover {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  box-shadow: 0 0 12px var(--gold-glow);
}

.time-slot.selected {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  font-weight: 700;
  box-shadow: 0 0 15px var(--gold-glow);
}

/* Form Styling */
.booking-form-panel {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  padding-left: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-weight: 600;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 16px;
  transition: var(--transition-cubic);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.form-select option {
  background-color: #040405;
  color: #FFFFFF;
}

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

.booking-summary-box {
  background: rgba(46, 204, 113, 0.05);
  border: 1px dashed var(--success-color);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 25px;
  font-size: 13px;
  text-align: center;
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.booking-summary-text {
  font-weight: 700;
  color: var(--success-color);
}

/* HISTORIA REDUCIDA A AUTORIDAD (ESTEBAN DETRÁS DE LA MARCA) */
.bio-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.bio-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.bio-image-wrapper {
  flex: 0.8;
}

.bio-photo-main {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.bio-text-content {
  flex: 1.2;
}

.bio-story-paragraph {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 350;
  line-height: 1.75;
}

.bio-milestones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.bio-milestone-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius-md);
}

.bio-milestone-year {
  color: var(--gold-primary);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 5px;
}

.bio-milestone-title {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

/* OVERLAYS AND MODALS */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  max-width: 480px;
  width: 90%;
  padding: 40px;
  text-align: center;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-gold);
}

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

.modal-icon {
  font-size: 52px;
  color: var(--gold-primary);
  margin-bottom: 20px;
}

.modal-title {
  font-size: 24px;
  margin-bottom: 15px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* PAYMENT GATEWAY INTERFACE */
.payment-selector {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.payment-card {
  flex: 1;
  padding: 18px;
  border: 1.5px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-cubic);
  background: rgba(255,255,255,0.01);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.payment-card:hover, .payment-card.selected {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.05);
}

.payment-logo {
  font-weight: 900;
  font-family: var(--font-title);
  font-size: 16px;
  letter-spacing: -0.5px;
}

.payment-logo.mercadopago {
  color: #00B1EA;
}

.payment-logo.global66 {
  color: #2ECC71;
}

.checkout-loader {
  display: none;
  margin: 30px auto;
  width: 45px;
  height: 45px;
  border: 3px solid rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  border-top-color: var(--gold-primary);
  animation: spin 1s linear infinite;
}

.receipt-layout {
  display: none;
  text-align: left;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 20px;
  border-radius: var(--border-radius-md);
  margin-bottom: 20px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.receipt-total {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  border-top: 1.5px dashed rgba(255,255,255,0.08);
  padding-top: 10px;
  margin-top: 10px;
}

/* FLOATING ACTIONS */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition-cubic);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.floating-btn:hover {
  transform: scale(1.1) rotate(10deg);
  background: var(--gold-primary);
  color: var(--bg-primary);
  box-shadow: 0 0 20px var(--gold-primary);
}

.floating-btn.whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
}

.floating-btn.whatsapp:hover {
  background: #20BA5A;
  border-color: #20BA5A;
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

/* iOS INSTALL GUIDE POPUP */
.ios-install-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 150%);
  width: 90%;
  max-width: 390px;
  background: rgba(10, 10, 12, 0.96);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 9999;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ios-install-banner.active {
  transform: translate(-50%, 0);
}

.ios-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  color: var(--gold-primary);
  font-size: 15px;
  font-weight: 800;
  background: #000;
  flex-shrink: 0;
}

.ios-banner-text {
  flex-grow: 1;
}

.ios-banner-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.ios-banner-instructions {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.ios-banner-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}

/* FOOTER */
.main-footer {
  background: var(--bg-secondary);
  padding: 60px 8%;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 900;
  color: var(--gold-primary);
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.footer-quote {
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 30px auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 30px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: var(--transition-cubic);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-copyright {
  font-size: 11px;
  color: var(--text-muted);
}

/* Spin animation keyframe */
@keyframes spin {
  100% { transform: rotate(360deg); }
}

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

/* MOBILE RESPONSIVE ADAPTABILITY */
@media (max-width: 991px) {
  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 40px;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 38px;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .photo-frame {
    width: 270px;
    height: 370px;
  }
  
  .value-proposition-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .bio-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .bio-image-wrapper {
    width: 100%;
  }
  
  .booking-container {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  
  .booking-form-panel {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-left: 0;
    padding-top: 40px;
  }
  
  /* Nav breakpoint lives in the dedicated @media (max-width: 1250px) block above */

  .section {
    padding: 80px 24px;
  }
}

/* ==========================================================================
   AI AUTOMATION AGENCY & SALES FUNNEL STYLES
   ========================================================================== */

/* Metrics Bar */
.metrics-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto 0 auto;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.metric-item {
  text-align: center;
  padding: 10px;
}

.metric-value {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.metric-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

/* Tech Badges */
.tech-badges-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 30px;
  font-size: 13px;
  color: var(--text-primary);
  backdrop-filter: blur(5px);
  transition: var(--transition-cubic);
}

.tech-badge:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success-color);
  display: inline-block;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

/* ROI CALCULATOR CARD */
.roi-calculator-card {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--gold-border-hover);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px var(--gold-glow);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

@media (max-width: 850px) {
  .roi-calculator-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.calculator-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-label {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.slider-val-badge {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

/* Selector de plan de referencia para la calculadora de ROI -- deja
   elegir con cual de los 3 planes reales se compara el ahorro, en vez
   de siempre usar el mismo plan fijo como referencia. */
.plan-compare-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.plan-compare-btn {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-cubic);
  text-align: center;
}

.plan-compare-btn:hover {
  border-color: var(--gold-border-hover);
  color: var(--text-primary);
}

.plan-compare-btn.active {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.plan-compare-btn-price {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-compare-btn.active .plan-compare-btn-price {
  color: var(--gold-light);
  opacity: 0.85;
}

.custom-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: background 0.3s;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.8);
  transition: transform 0.2s;
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.calculator-results {
  background: rgba(8, 8, 10, 0.8);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.results-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-box {
  padding: 16px;
  background: rgba(212, 175, 55, 0.04);
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.result-title {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-number {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 4px;
}

.result-number.highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* COMPARISON GRID (ANTES VS DESPUES) */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.comp-card {
  padding: 36px;
  border-radius: var(--border-radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
}

.comp-card.before {
  border: 1px solid rgba(231, 76, 60, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.comp-card.after {
  border: 1px solid var(--gold-border-hover);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
  background: rgba(16, 16, 20, 0.85);
}

.comp-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.comp-card.before .comp-tag {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.comp-card.after .comp-tag {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--gold-border-hover);
}

.comp-title {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.comp-item-icon {
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.before .comp-item-icon { color: #e74c3c; }
.after .comp-item-icon { color: var(--gold-primary); }

/* AI AGENT DEMO SIMULATOR WIDGET */
.ai-simulator-card {
  max-width: 850px;
  margin: 0 auto;
  background: #08080c;
  border: 1px solid var(--gold-border-hover);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 25px var(--gold-glow);
}

.ai-sim-header {
  background: rgba(18, 18, 22, 0.9);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-sim-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-sim-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #000;
  font-size: 16px;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.ai-sim-title-group h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.ai-sim-title-group p {
  font-size: 12px;
  color: var(--text-secondary);
}

.ai-sim-pills-bar {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(12, 12, 16, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  overflow-x: auto;
}

.sim-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-cubic);
}

.sim-pill-btn:hover, .sim-pill-btn.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.ai-sim-chat-area {
  padding: 24px;
  height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.02) 0%, rgba(4, 4, 5, 0.9) 100%);
}

.chat-bubble {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  animation: fadeIn 0.4s ease;
}

.chat-bubble.user {
  align-self: flex-end;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border-bottom-left-radius: 4px;
}

.chat-bubble.ai strong {
  color: var(--gold-light);
}

.typing-indicator {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--gold-primary);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

/* ROI MATH BREAKDOWN EXPLANATION */
.roi-explanation-card {
  max-width: 1180px;
  margin: 30px auto 0 auto;
  background: rgba(12, 12, 16, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 24px 30px;
  backdrop-filter: blur(10px);
}

.roi-explanation-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.roi-explanation-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

/* Con 4 pasos en vez de 3, en pantallas anchas forzamos exactamente 4
   columnas -- sin esto, auto-fit dejaba el 4to paso solo en su propia
   fila (no le alcanzaba el ancho para acompañar a los otros 3). */
@media (min-width: 980px) {
  .roi-explanation-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.roi-step-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 16px;
}

.roi-step-header {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.roi-step-formula {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.roi-step-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* LIVE CUSTOM DEMO BUILDER PANEL */
.demo-builder-card {
  max-width: 850px;
  margin: 0 auto 30px auto;
  background: var(--bg-card);
  border: 1px solid var(--gold-border-hover);
  border-radius: var(--border-radius-lg);
  padding: 28px 32px;
  backdrop-filter: blur(14px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.demo-builder-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.demo-builder-subtitle {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.demo-template-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.demo-template-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  cursor: pointer;
  transition: var(--transition-cubic);
}

.demo-template-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border-color: var(--gold-primary);
}

.demo-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 650px) {
  .demo-inputs-grid {
    grid-template-columns: 1fr;
  }
}

.demo-input-field {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.3s;
}

.demo-input-field:focus {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.05);
}

/* CHAT INPUT AREA */
.chat-input-bar {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(18, 18, 22, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input-bar input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 25px;
  padding: 10px 18px;
  color: #fff;
  font-size: 13.5px;
  outline: none;
}

.chat-input-bar input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.chat-send-btn {
  background: var(--gold-gradient);
  color: #000;
  border: none;
  border-radius: 25px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.2s;
}

.payment-option-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.chat-send-btn:hover {
  transform: scale(1.05);
}

/* ============================================
   FLOATING SALES CLOSER CHAT WIDGET
   Asistente de IA persistente para cerrar ventas,
   no confundir con el simulador de #simulador.
   ============================================ */

#closer-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9500;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--gold-gradient);
  color: #0a0a0a;
  font-size: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.35);
  transition: var(--transition-cubic);
  -webkit-tap-highlight-color: transparent;
}

#closer-launcher:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
}

#closer-launcher::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-primary);
  opacity: 0;
  animation: closerPulse 2.6s ease-out infinite;
  pointer-events: none;
}

@keyframes closerPulse {
  0% { opacity: 0.55; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.35); }
}

@media (prefers-reduced-motion: reduce) {
  #closer-launcher::before { display: none; }
}

.closer-teaser {
  position: fixed;
  right: 92px;
  bottom: 40px;
  z-index: 9500;
  max-width: 210px;
  background: var(--bg-card-highlight);
  border: 1px solid var(--gold-border-hover);
  border-radius: 12px 12px 4px 12px;
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-primary);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: var(--transition-cubic);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.closer-teaser.show {
  opacity: 1;
  transform: translateX(0);
}

.closer-panel {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 9500;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 500px;
  max-height: 72vh;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: var(--transition-cubic);
}

.closer-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.closer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--gold-border);
  background: var(--bg-card-highlight);
  flex-shrink: 0;
}

.closer-header-info { display: flex; align-items: center; gap: 10px; }

.closer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.closer-name { font-size: 13.5px; font-weight: 700; color: var(--text-primary); }

.closer-status {
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

#closer-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.closer-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.02) 0%, rgba(4, 4, 5, 0.9) 100%);
}

.closer-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
  flex-shrink: 0;
}

.closer-chip {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border-hover);
  color: var(--gold-light);
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-cubic);
  -webkit-tap-highlight-color: transparent;
}

.closer-chip:hover { background: rgba(212, 175, 55, 0.18); }

.closer-input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--gold-border);
  flex-shrink: 0;
}

.closer-input-row input {
  flex: 1;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 13.5px;
  outline: none;
  font-family: var(--font-body);
}

.closer-input-row input:focus { border-color: var(--gold-primary); }

.closer-input-row button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--gold-gradient);
  color: #0a0a0a;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.closer-cta-row {
  display: flex;
  gap: 8px;
  padding: 0 12px 12px;
  flex-shrink: 0;
}

.closer-cta-row button {
  flex: 1;
  font-size: 11.5px;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--gold-border-hover);
  background: transparent;
  color: var(--text-secondary);
  transition: var(--transition-cubic);
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}

.closer-cta-row button:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.closer-cta-row button.closer-cta-primary {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #0a0a0a;
  font-weight: 700;
}

.closer-cta-row button.closer-cta-primary:hover {
  filter: brightness(1.08);
  color: #0a0a0a;
}

.closer-savings-card {
  align-self: stretch;
  background: rgba(46, 204, 113, 0.05);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeIn 0.4s ease;
}

.closer-savings-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.closer-savings-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--text-secondary);
}

.closer-savings-row strong {
  color: var(--text-primary);
  font-weight: 600;
  white-space: nowrap;
}

.closer-savings-highlight {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--success-color);
  border-top: 1px solid rgba(46, 204, 113, 0.2);
  padding-top: 8px;
  margin-top: 2px;
}

.closer-savings-highlight strong {
  font-size: 14.5px;
}

.closer-plan-card {
  align-self: stretch;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid var(--gold-border-hover);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeIn 0.4s ease;
}

.closer-plan-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.closer-plan-card-price {
  font-size: 12.5px;
  color: var(--gold-light);
}

.closer-plan-card-btn {
  margin-top: 4px;
  background: var(--gold-gradient);
  color: #0a0a0a;
  border: none;
  border-radius: 20px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-cubic);
  -webkit-tap-highlight-color: transparent;
}

.closer-plan-card-btn:hover {
  filter: brightness(1.08);
}

@media (max-width: 480px) {
  #closer-launcher { right: 14px; bottom: 14px; }
  .closer-panel { right: 14px; bottom: 84px; width: calc(100vw - 28px); height: 76vh; max-height: 76vh; }
  .closer-teaser { display: none; }
}

/* CTA de cierre al final de secciones persuasivas (Antes vs Despues,
   FAQ, Sobre Esteban) que antes terminaban sin ningun llamado a la
   accion -- capturan el momento en que alguien ya esta convencido en
   vez de dejarlo seguir scrolleando sin rumbo. */
.section-closer-cta {
  max-width: 520px;
  margin: 48px auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.section-closer-cta-text {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
}

