/* ===== LANDING PAGE CUSTOM STYLES ===== */
:root {
  --blanco: #fff;
  --azul: #012CB9;
  --azul-claro: #2a4fd4;
  --azul-bg: #e6eaf7;
  --negro: #0d0d0d;
  --gris: #454545;
  --gris-claro: #f7f9fe;
  --blanco: #ffffff;
  --acento: #4da6ff;
  --borde: #d0d8e8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  color: #454545;
  background: var(--blanco);
  overflow-x: hidden;
}

/* NAV */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(13, 13, 13, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-nav .nav-logo-img {
  height: 55px;
  width: auto;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-center a {
  color: var(--blanco);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
  opacity: 0.85;
}

.nav-center a:hover {
  color: var(--blanco);
  text-decoration: none;
  opacity: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-nav-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: var(--blanco);
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  background: transparent;
}

.btn-nav-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--blanco);
  border-color: var(--blanco);
}

.btn-nav-solid {
  background: var(--blanco);
  color: var(--azul);
  padding: 0.55rem 1.3rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}

.btn-nav-solid:hover {
  background: var(--azul-bg);
}

.landing-nav .rp-lang-trigger {
  display: flex;
  align-items: center;
}

.landing-nav .btn_default_language {
  min-width: 50px;
  height: 36px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--blanco);
  cursor: pointer;
  transition: background 0.2s;
}

.landing-nav .btn_default_language:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.landing-nav .btn_default_language .lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.landing-nav .btn_default_language .material-icons {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* HERO */
.hero-landing {
  display: flex;
  align-items: stretch;
  padding: 7rem 4rem 0;
  gap: 3rem;
  background: url('../img/fondo-landing.webp') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  color: var(--blanco);
}

.hero-landing::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hero-left {
  flex: 1;
  max-width: 580px;
  align-self: center;
  padding-bottom: 3rem;
}

.hero-right {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-right img {
  max-width: 380px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--blanco);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-tag::before {
  content: '\26A1';
  font-size: 0.8rem;
}

.hero-landing h1 {
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: var(--blanco);
  margin-bottom: 1.5rem;
}

.hero-landing h1 em {
  font-style: normal;
  color: #a0c4ff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-weight: 400;
  max-width: 480px;
}

.hero-alternativa {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 480px;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}



.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--blanco);
  color: var(--azul);
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  border: 2px solid var(--blanco);
}

.btn-hero-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--azul);
}

.btn-hero-secondary {
  color: var(--blanco);
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: all 0.2s;
}

.btn-hero-secondary:hover {
  border-color: var(--blanco);
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--blanco);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blanco);
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.2rem;
}

/* SECTIONS */
.section-landing {
  padding: 5rem 4rem;
}

.section-dark {
  background: var(--negro);
  color: var(--blanco);
}

.section-blue {
  background: var(--azul);
  color: var(--blanco);
}

.section-gray {
  background: var(--gris-claro);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 0.8rem;
}

.section-dark .section-tag,
.section-blue .section-tag {
  color: var(--acento);
}

.section-landing h2 {
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #000;
}

.section-dark h2 {
  color: var(--blanco);
}

.section-blue h2 {
  color: var(--blanco);
}

.lead-text {
  font-size: 1rem;
  color: var(--gris);
  line-height: 1.7;
  font-weight: 400;
}

.section-dark .lead-text {
  color: rgba(255, 255, 255, 0.55);
}

.text-center {
  text-align: center;
}

.mx-auto-sm {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* PROBLEMA CARDS */
.problema-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.problema-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.8rem;
  transition: all 0.2s;
}

.problema-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(160, 196, 255, 0.3);
}

.problema-icon {
  width: 46px;
  height: 46px;
  background: rgba(160, 196, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 1rem;
  color: var(--acento);
}

.problema-card h3 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--blanco);
  margin-bottom: 0.5rem;
}

.problema-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ELO SECTION */
.elo-grid-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.elo-visual-box {
  background: var(--gris-claro);
  border-radius: 16px;
  border: 1px solid var(--borde);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.elo-visual-box::before {
  content: 'ELO';
  position: absolute;
  font-size: 7rem;
  font-weight: 800;
  color: var(--azul);
  opacity: 0.04;
  right: -0.5rem;
  bottom: -0.5rem;
  line-height: 1;
}

.nivel-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--borde);
}

.nivel-row:last-child {
  border-bottom: none;
}

.nivel-num {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--azul);
  width: 2.5rem;
  flex-shrink: 0;
}

.nivel-bar-wrap {
  flex: 1;
  background: #e8ecf4;
  border-radius: 999px;
  height: 6px;
}

.nivel-bar-fill {
  height: 6px;
  border-radius: 999px;
  background: var(--azul);
}

.nivel-name {
  font-size: 0.8rem;
  color: var(--gris);
  min-width: 75px;
  text-align: right;
}

.feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.feature-check {
  width: 20px;
  height: 20px;
  background: var(--azul-bg);
  border: 1px solid var(--borde);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-check svg {
  width: 12px;
  height: 12px;
}

.feature-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--gris);
}

.feature-text strong {
  color: #000;
  font-weight: 600;
}

/* TESTIMONIOS */
.prueba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonio {
  background: var(--gris-claro);
  border: 1px solid var(--borde);
  border-radius: 14px;
  padding: 1.8rem;
  position: relative;
}

.testimonio::before {
  content: '"';
  font-size: 4rem;
  font-weight: 800;
  color: var(--azul);
  opacity: 0.12;
  position: absolute;
  top: 0.3rem;
  left: 1.2rem;
  line-height: 1;
}

.testimonio p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gris);
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.testimonio-autor {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.autor-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--azul);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--blanco);
  flex-shrink: 0;
}

.autor-info strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #000;
}

.autor-info span {
  font-size: 0.75rem;
  color: var(--gris);
}

/* CALCULADORA */
.calc-box {
  max-width: 820px;
  margin: 2.5rem auto 0;
  background: var(--blanco);
  border-radius: 16px;
  border: 1px solid var(--borde);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(1, 44, 185, 0.1);
}

.calc-header {
  background: var(--azul);
  padding: 1.2rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-header-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blanco);
}

.calc-header-badge {
  background: var(--blanco);
  color: var(--azul);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.calc-body {
  padding: 1.8rem;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.calc-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gris);
  margin-bottom: 0.4rem;
}

.calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--azul);
}

.calc-val {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--azul);
}

.calc-results {
  background: var(--negro);
  border-radius: 10px;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.8rem;
}

.calc-result-item {
  text-align: center;
}

.calc-result-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-result-num {
  font-weight: 700;
  font-size: 1.4rem;
  display: block;
}

.calc-result-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 3px;
  line-height: 1.3;
}

/* OBJECIONES */
.objeciones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.objecion {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 1.3rem;
  transition: all 0.2s;
}

.objecion:hover {
  border-color: var(--azul);
}

.objecion-q {
  font-weight: 700;
  font-size: 0.9rem;
  color: #000;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.objecion-q::before {
  content: '?';
  width: 18px;
  height: 18px;
  background: var(--azul-bg);
  border: 1px solid var(--borde);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--azul);
  flex-shrink: 0;
}

.objecion-a {
  font-size: 0.83rem;
  color: var(--gris);
  line-height: 1.6;
  padding-left: 1.5rem;
}

/* CTA FINAL */
.cta-final {
  padding: 6rem 4rem;
  background: linear-gradient(135deg, #012CB9, #0142e0);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  top: -180px;
  left: -80px;
}

.cta-final h2 {
  color: var(--blanco);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.btn-cta-accent {
  background: var(--blanco);
  color: var(--azul);
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  position: relative;
  z-index: 1;
}

.btn-cta-accent:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--azul);
}

.sin-comisiones {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

/* FOOTER */
.footer-landing {
  background: var(--gris-claro);
  color: var(--gris);
  text-align: center;
  padding: 3rem 4rem;
  font-size: 0.85rem;
  border-top: 1px solid var(--borde);
}

.footer-landing a {
  color: var(--azul);
}

.privacy-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.72);
}

.privacy-modal-overlay.is-open {
  display: flex;
}

.privacy-modal-card {
  position: relative;
  width: min(920px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
  padding: 2rem;
  color: #1f2937;
  text-align: left;
}

.privacy-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.privacy-modal-title {
  margin: 0 2.5rem 1.25rem 0;
  color: #0f172a;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.privacy-modal-body {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
}

.privacy-modal-body p,
.privacy-modal-body ul,
.privacy-modal-body ol {
  margin-bottom: 1rem;
}

.privacy-modal-actions {
  margin-top: 1.5rem;
  text-align: right;
}

.privacy-modal-button {
  border: 0;
  border-radius: 8px;
  background: var(--azul);
  color: #fff;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

/* ===== HAMBURGER MENU ===== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blanco);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(13, 13, 13, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 999;
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.8rem;
}

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

.nav-mobile-menu a {
  color: var(--blanco);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  opacity: 0.85;
}

.nav-mobile-menu a:last-child {
  border-bottom: none;
}

.nav-mobile-menu a:hover {
  opacity: 1;
  color: var(--acento);
}

.nav-right-mobile {
  display: none;
  align-items: center;
  gap: 0.6rem;
}

/* ===== RESPONSIVE =====*/
@media (max-width: 991px) {
  .landing-nav {
    padding: 0.7rem 1.5rem;
  }

  .nav-center {
    display: none;
  }

  /* Ocultar controles desktop, mostrar controles mÃ³vil */
  .nav-right {
    display: none;
  }

  .nav-right-mobile {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-landing {
    flex-direction: column;
    padding: 6rem 1.5rem 0;
    text-align: center;
  }

  .hero-left {
    max-width: 100%;
    padding-bottom: 1.5rem;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-alternativa {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-right img {
    max-width: 260px;
    margin: 0 auto;
  }

  .elo-grid-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-landing {
    padding: 3rem 1.5rem;
  }

  .calc-row {
    grid-template-columns: 1fr;
  }

  .cta-final {
    padding: 4rem 1.5rem;
  }

  /* Ventajas club â€” apila el layout de 3 columnas */
  .ventajas-mobile-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ventajas-col-text {
    min-width: unset;
    flex: unset;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 1.5rem;
  }
}

/* MARKETING ADDITIONS */
.fomo-text {
  margin-top: 1.2rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fomo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--acento);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--acento);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(77, 166, 255, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(77, 166, 255, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(77, 166, 255, 0);
  }
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.5);
}

.btn-sticky {
  display: block;
  width: 100%;
  background: var(--azul);
  color: var(--blanco);
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .sticky-cta-mobile {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }

  .fomo-text {
    justify-content: center;
  }

  /* Hero: imagen mÃ¡s pequeÃ±a y stats bien apilados */
  .hero-right img {
    max-width: 220px;
  }

  /* Prueba social: testimonios en 1 col */
  .prueba-grid {
    grid-template-columns: 1fr;
  }

  /* Calculadora: resultados en columna */
  .calc-results {
    grid-template-columns: 1fr;
  }

  .calc-result-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.8rem;
    margin-bottom: 0.4rem;
  }

  /* Precios: 1 columna */
  .precio-grid {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .btn-nav-outline {
    display: none;
  }

  .calc-results {
    grid-template-columns: 1fr;
  }

  .calc-result-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.8rem;
  }

  /* iPhone slider section en mÃ³vil */
  .slider-section-mobile {
    flex-direction: column;
    gap: 2rem;
  }

  .slider-col-left,
  .slider-col-right {
    flex: unset;
    min-width: unset;
    width: 100%;
    text-align: center;
  }

  .slider-col-left h4,
  .slider-col-right h4 {
    text-align: center;
  }

  /* Nav: solo logo + hamburger */
  .nav-right .btn-nav-outline {
    display: none;
  }

  .nav-right .rp-lang-trigger {
    display: none;
  }

  /* Secciones: padding lateral mÃ­nimo */
  .section-landing {
    padding: 2.5rem 1rem;
  }

  .cta-final {
    padding: 3rem 1rem;
  }

  /* Footer */
  .footer-landing {
    padding: 2.5rem 1.2rem;
  }

  /* Trust badges en columna */
  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  /* Problema grid: 1 col */
  .problema-grid {
    grid-template-columns: 1fr;
  }

  /* Pasos: ya en 1 col, mejorar spacing */
  .paso-card {
    padding: 1.5rem 1.2rem;
  }



  /* Precio ejemplos: font mÃ¡s pequeÃ±o */
  .precio-ejemplo-row {
    font-size: 0.82rem;
  }

  /* Buttons full-width en CTA */
  .btn-cta-accent {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
  }

  .hero-ctas {
    flex-direction: column;
  }
}

/* TEXTO DEL SLIDER (FUERA DEL IPHONE) */
.slide-text-modern {
  margin-top: 10px;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
  color: #1d1d1f;
  /* Estilo Apple */
  line-height: 1.3;
  padding: 0 5px;
}

/* ===== COMPARATIVA SECTION â€” APPLE STYLE ===== */
#comparativa {
  background: linear-gradient(160deg, #f5f7ff 0%, #eef1f9 100%);
}

.comparativa-wrapper {
  max-width: 900px;
  margin: 3rem auto 0;
  border-radius: 22px;
  overflow: hidden;
  /* Glassmorphism sutil */
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.8) inset,
    0 20px 60px rgba(1, 44, 185, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.04);
}

.comparativa-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

/* ---- HEADER ---- */
.comparativa-table thead tr {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-claro) 100%);
}

.comparativa-table th {
  padding: 1.4rem 1.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.col-feature {
  width: 32%;
  color: rgba(255, 255, 255, 0.55);
}

.col-traditional {
  text-align: center;
  width: 34%;
}

/* ---- FIX: Columna Radical Padel - fondo claro, texto azul oscuro ---- */
.col-radical {
  text-align: center;
  width: 34%;
  background: #f8faff;
  color: #012CB9;
  position: relative;
}

.col-radical::after {
  content: '\2713  Mejor opci\F3n';
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #012CB9;
  opacity: 0.7;
  margin-top: 0.2rem;
}

/* ---- BODY ROWS ---- */
.comparativa-table tbody tr {
  border-bottom: 1px solid rgba(209, 216, 232, 0.6);
  transition: background 0.18s ease;
}

.comparativa-table tbody tr:hover {
  background: rgba(1, 44, 185, 0.025);
}

.comparativa-table tbody tr.last-row {
  border-bottom: none;
}

/* ---- CELLS ---- */
.comparativa-table td {
  padding: 1.1rem 1.6rem;
  font-size: 0.92rem;
  line-height: 1.45;
  vertical-align: middle;
}

.feature-label {
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

/* Columna Radical resaltada */
.comparativa-table tbody td.cell-good {
  background: rgba(52, 199, 89, 0.055);
  position: relative;
}

/* Separador izquierdo azul en la columna ganadora */
.comparativa-table tbody td.cell-good::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  height: 76%;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #34c759, #30d158);
  opacity: 0.7;
}

/* ---- STATUS BADGES ---- */
.cell-bad,
.cell-warn,
.cell-good {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
}

.cell-bad {
  color: #e74c3c;
}

.cell-warn {
  color: #d07b00;
}

.cell-good {
  color: #1a8a3a;
  font-weight: 700;
}

/* ---- BADGE PILL (icono + texto) ---- */
.cmp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.cmp-badge svg {
  flex-shrink: 0;
  stroke-width: 2.5;
}

.cmp-badge--bad {
  background: rgba(231, 76, 60, 0.08);
  color: #c0392b;
  border: 1px solid rgba(231, 76, 60, 0.18);
}

.cmp-badge--warn {
  background: rgba(208, 123, 0, 0.08);
  color: #b86a00;
  border: 1px solid rgba(208, 123, 0, 0.2);
}

.cmp-badge--good {
  background: rgba(52, 199, 89, 0.1);
  color: #1a7a32;
  border: 1px solid rgba(52, 199, 89, 0.25);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 680px) {
  .comparativa-wrapper {
    border-radius: 14px;
    margin: 2rem 0 0;
    overflow-x: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .comparativa-table, 
  .comparativa-table tbody, 
  .comparativa-table tr {
    display: block;
    width: 100%;
  }

  .comparativa-table thead {
    display: none;
  }

  .comparativa-table tbody tr {
    background: var(--blanco);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
  }
  
  .comparativa-table tbody tr.last-row {
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .comparativa-table td {
    display: block;
    width: 100%;
    padding: 0.8rem 0;
    text-align: left;
    border: none;
  }

  .comparativa-table td.feature-label {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--azul);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    padding-top: 0;
    text-align: center;
  }

  .comparativa-table td.cell-bad {
    padding-bottom: 0.5rem;
  }
  
  .comparativa-table td.cell-bad::before {
    content: 'Otras apps:';
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #666;
    margin-bottom: 0.4rem;
    letter-spacing: 0.05em;
  }

  .comparativa-table td.cell-good {
    background: transparent;
  }

  .comparativa-table td.cell-good::before {
    content: 'Radical Padel:';
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--azul);
    margin-bottom: 0.4rem;
    letter-spacing: 0.05em;
    position: static;
    height: auto;
    width: auto;
    background: none;
    opacity: 1;
  }
  
  .comparativa-table td.cell-good::after {
    display: none;
  }

  .cmp-badge {
    white-space: normal;
    text-align: left;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    width: 100%;
  }
  .cmp-badge svg {
    margin-top: 0.15rem;
    flex-shrink: 0;
  }
}

/* ===== HERO CTA FRICTION ROW ===== */
.cta-friction-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
  margin-bottom: 0.5rem;
}

.cta-friction-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.cta-friction-item svg {
  color: #4da6ff;
  flex-shrink: 0;
}

.cta-friction-dot {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;
}

/* ===== TESTIMONIOS MEJORADOS ===== */
.testimonio-stars {
  color: #f5a623;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
}

.testimonio-resultado {
  display: inline-block;
  background: rgba(1, 44, 185, 0.07);
  border: 1px solid rgba(1, 44, 185, 0.12);
  color: var(--azul);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.verified-badge {
  background: rgba(52, 199, 89, 0.12);
  color: #1a7a32;
  border: 1px solid rgba(52, 199, 89, 0.25);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== 3 PASOS ===== */
.pasos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* lÃ­nea conectora entre pasos */
.pasos-grid::before {
  content: '';
  position: absolute;
  top: 5.6rem;
  left: calc(16.67% + 1.5rem);
  right: calc(16.67% + 1.5rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(77, 166, 255, 0.3), rgba(77, 166, 255, 0.6), rgba(77, 166, 255, 0.3));
  pointer-events: none;
  z-index: 0;
}

.paso-card {
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 2rem 1.6rem;
  text-align: center;
  transition: all 0.25s;
  position: relative;
  z-index: 1;
}

.paso-card:hover {
  background: #1c1c1c;
  border-color: rgba(77, 166, 255, 0.3);
  transform: translateY(-3px);
}

.paso-card--highlight {
  background: #131c26;
  border-color: rgba(77, 166, 255, 0.35);
}

.paso-num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--acento);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.paso-icon {
  width: 56px;
  height: 56px;
  background: rgba(77, 166, 255, 0.12);
  border: 1px solid rgba(77, 166, 255, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--acento);
}

.paso-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 0.6rem;
}

.paso-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.btn-pasos-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--acento);
  color: var(--blanco);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-pasos-cta:hover {
  background: #3a9ff0;
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--blanco);
}

.pasos-subtext {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

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

  .pasos-grid::before {
    display: none;
  }
}

/* ===== PRECIOS ===== */
.precio-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto 0;
  align-items: start;
}

.precio-card--main {
  width: 100%;
  max-width: 480px;
  background: var(--blanco);
  border: 1.5px solid var(--borde);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: 0 16px 48px rgba(1, 44, 185, 0.08);
  position: relative;
  overflow: hidden;
}

.precio-card--main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--azul), var(--acento));
}

.precio-badge {
  display: inline-block;
  background: var(--azul-bg);
  color: var(--azul);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.precio-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--azul);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.precio-unit {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gris);
}

.precio-desc {
  font-size: 0.85rem;
  color: var(--gris);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.precio-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.precio-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #1d1d1f;
  font-weight: 500;
}

.precio-features li svg {
  color: #1a7a32;
  flex-shrink: 0;
}

.btn-precio-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--azul);
  color: var(--blanco);
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-precio-cta:hover {
  background: var(--azul-claro);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--blanco);
}

.btn-precio-sub {
  text-align: center;
  font-size: 0.72rem;
  color: var(--gris);
  margin-top: 0.5rem;
}

.precio-ejemplos {
  background: var(--gris-claro);
  border: 1px solid var(--borde);
  border-radius: 18px;
  padding: 2rem;
}

.precio-ejemplos-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #000;
  margin-bottom: 1.2rem;
}

.precio-ejemplo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
}

.precio-ejemplo-row--highlight {
  background: var(--azul-bg);
  border: 1px solid rgba(1, 44, 185, 0.1);
}

.precio-ejemplo-label {
  font-weight: 500;
  color: #1d1d1f;
}

.precio-ejemplo-label span {
  display: block;
  font-size: 0.75rem;
  color: var(--gris);
  font-weight: 400;
}

.precio-ejemplo-val {
  font-weight: 800;
  color: var(--azul);
  font-size: 1.05rem;
}

.precio-comparacion {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--borde);
}

.precio-comparacion p {
  font-size: 0.78rem;
  color: var(--gris);
  margin-bottom: 0.8rem;
}

.precio-comparacion-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--borde);
}

.precio-comparacion-row:last-of-type {
  border-bottom: none;
}

.precio-comp-bad {
  color: #c0392b;
  font-weight: 700;
}

.precio-comp-good {
  color: #1a7a32;
  font-weight: 700;
}

.precio-ahorro {
  margin-top: 1rem;
  text-align: center;
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.25);
  color: #1a7a32;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .precio-grid {
    flex-direction: column;
  }
}

/* ===== CTA FINAL MEJORADO ===== */
.cta-social-proof {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.cta-sin-tarjeta {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  position: relative;
  z-index: 1;
}

/* FAQs a 3 columnas en pantallas grandes */
.objeciones-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

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

  .cta-friction-row {
    gap: 0.4rem;
    justify-content: center;
  }

  .cta-friction-dot {
    display: none;
  }
}

/* ===========================
   MODAL: Solicitar Demo
   =========================== */

/* Make button elements look like their link counterparts */
button.btn-nav-solid,
button.btn-hero-primary,
button.btn-pasos-cta,
button.btn-precio-cta,
button.btn-cta-accent,
button.btn-sticky {
  cursor: pointer;
  font-family: inherit;
  border: none;
}

/* Prevent scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Overlay */
.demo-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(1, 20, 60, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.demo-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Card */
.demo-modal-card {
  position: relative;
  background: var(--blanco);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(1, 44, 185, 0.18), 0 8px 24px rgba(0, 0, 0, 0.12);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem 2.5rem 2rem;
  transform: translateY(28px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  opacity: 0;
}

.demo-modal-overlay.is-open .demo-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Close button */
.demo-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 34px;
  height: 34px;
  border: none;
  background: #f0f3fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 2;
}

.demo-modal-close:hover {
  background: #e0e5f2;
  color: var(--azul);
  transform: rotate(90deg);
}

/* Header */
.demo-modal-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.demo-modal-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--azul), #2a5cd9);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--blanco);
  box-shadow: 0 8px 20px rgba(1, 44, 185, 0.25);
}

.demo-modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0b2240;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.demo-modal-subtitle {
  font-size: 0.9rem;
  color: var(--gris);
  line-height: 1.5;
  margin: 0;
}

/* Form */
.demo-modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.demo-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}

.demo-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0b2240;
  letter-spacing: 0.01em;
}

.demo-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #d0d8e8;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0b2240;
  background: #f8faff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.demo-input::placeholder {
  color: #b0bcd0;
}

.demo-input:focus {
  border-color: var(--azul);
  background: var(--blanco);
  box-shadow: 0 0 0 4px rgba(1, 44, 185, 0.1);
}

.demo-input.is-valid {
  border-color: #22c55e;
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.demo-input.is-invalid {
  border-color: #ef4444;
  background: var(--blanco)5f5;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.demo-field-error {
  font-size: 0.75rem;
  color: #ef4444;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s ease;
  min-height: 1em;
}

/* Submit button */
.demo-submit-btn {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, #0142e0, #2563eb);
  color: var(--blanco);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.3rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(1, 44, 185, 0.3);
  min-height: 52px;
}

.demo-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #012CB9, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 44, 185, 0.4);
}

.demo-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.demo-submit-btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

/* Spinner */
.demo-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--blanco);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Trust seal */
.demo-trust-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #9aa5b8;
  margin: 0;
  line-height: 1.4;
}

/* ===== SUCCESS VIEW ===== */
.demo-success-content {
  text-align: center;
  padding: 1.5rem 1rem;
}

.demo-success-extended {
  padding: 0.5rem 0.5rem;
}

.demo-success-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
}

.demo-success-icon-small {
  width: 55px;
  height: 55px;
  margin: 0 auto 1rem;
}

.success-check-svg {
  width: 100%;
  height: 100%;
}

.success-circle {
  stroke: #22c55e;
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease-in-out;
}

.success-check {
  stroke: #22c55e;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  transition: stroke-dashoffset 0.4s 0.5s ease-in-out;
}

.demo-success-icon.animate .success-circle {
  stroke-dashoffset: 0;
}

.demo-success-icon.animate .success-check {
  stroke-dashoffset: 0;
}

.demo-success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0b2240;
  margin-bottom: 0.4rem;
}

.demo-success-body {
  font-size: 1rem;
  color: var(--gris);
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto 1.5rem;
}

.demo-fast-lane {
  background: #f8faff;
  border: 1.5px solid #d0d8e8;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  text-align: left;
}

.demo-fast-lane-header {
  padding: 1.2rem 1.2rem 0.5rem;
}

.demo-fast-lane-badge {
  display: inline-block;
  background: linear-gradient(135deg, #012CB9, #2563eb);
  color: var(--blanco);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(1, 44, 185, 0.2);
}

.demo-fast-lane-header p {
  font-size: 0.9rem;
  color: #0b2240;
  line-height: 1.5;
  margin: 0;
}

.demo-btn-secondary {
  background: transparent;
  border: none;
  color: #9aa5b8;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
}

.demo-btn-secondary:hover {
  color: var(--gris);
}


/* ===== MODAL RESPONSIVE ===== */
@media (max-width: 540px) {
  .demo-modal-card {
    padding: 2rem 1.4rem 1.6rem;
    border-radius: 16px;
  }

  .demo-modal-title {
    font-size: 1.15rem;
  }

  .demo-submit-btn {
    font-size: 0.95rem;
  }
}

/* Accessibility Focus */
*:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 3px;
}

/* =========================================
   ESTILOS DE BATTLE PAGE
   ========================================= */

/* Hero Section */
.hero-battle {
  background-color: var(--negro);
  color: var(--blanco);
  padding: 6rem 2rem 4rem;
}
.hero-battle-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-battle-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--blanco);
}
.hero-battle-content h1 span { color: var(--acento); }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.btn-hero-primary {
  background: var(--acento);
  color: #0b2240;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(77,166,255,0.3);
  font-family: inherit;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(77,166,255,0.5); }
.cta-friction-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.cta-friction-item { display: flex; align-items: center; gap: 0.4rem; }
.cta-friction-dot { color: rgba(255,255,255,0.25); }

/* iPhone UI */
.hero-abstract-ui { display: flex; justify-content: center; align-items: center; }
.hero-iphone-stage { position: relative; width: 280px; height: 560px; }
.hero-iphone-frame { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-iphone-ui { position: absolute; top: 2%; left: 4%; width: 92%; height: 96%; overflow: hidden; border-radius: 36px; z-index: 1; }
.hero-iphone-content-image { width: 100%; height: 100%; object-fit: cover; }

/* Seccion Elefante */
.elefante-modern-section { padding: 5rem 2rem; background: #f8faff; }
.elefante-modern-container {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 3rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  box-shadow: 0 4px 24px rgba(1,44,185,0.06);
}
.elefante-modern-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0b2240;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.elefante-modern-text .lead-text {
  color: #475569;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.elefante-modern-visual { display: flex; flex-direction: column; gap: 1.2rem; }

/* Chart items */
.chart-item {
  padding: 1.25rem 1.5rem;
  background: #f8faff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}
.chart-item-highlight {
  background: #f0f5ff;
  border-color: rgba(1,44,185,0.15);
}
.chart-label-top {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.chart-bar-container {
  background: #e8edf5;
  border-radius: 10px;
  height: 40px;
  display: flex;
  overflow: hidden;
}
.chart-bar { display: flex; height: 100%; width: 100%; }
.chart-bar-competencia { display: flex; height: 100%; width: 100%; }
.chart-bar-radical { display: flex; height: 100%; width: 100%; }
.chart-bar-fuga {
  background: linear-gradient(90deg, #dc2626, #ef4444);
  width: 18%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.72rem;
}
.chart-bar-base {
  background: linear-gradient(90deg, #94a3b8, #cbd5e1);
  width: 82%;
  display: flex; align-items: center; justify-content: center;
  color: #1e293b; font-weight: 600; font-size: 0.82rem;
}
.chart-bar-full {
  background: linear-gradient(90deg, #012CB9, #2563eb);
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 2px 12px rgba(1,44,185,0.3);
}

/* Comparativa wrapper */
.comparativa-wrapper {
  max-width: 950px;
  margin: 3rem auto 0;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(1,44,185,0.08), 0 2px 8px rgba(0,0,0,0.04);
  overflow-x: auto;
}

/* Migracion */
.migracion-section {
  background: linear-gradient(135deg, #012CB9 0%, #0142e0 100%);
  color: var(--blanco);
  padding: 5rem 2rem;
  text-align: center;
}
.migracion-section .section-tag { color: var(--acento); }
.migracion-section h2 { color: var(--blanco); }
.migracion-section .lead-text { color: rgba(255,255,255,0.75); }
.migracion-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 2.5rem 3rem;
  border-radius: 20px;
  max-width: 720px;
  margin: 3rem auto 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}
.migracion-card strong { color: var(--blanco); }

/* Testimonio transfuga */
.testimonio-transfuga {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(1,44,185,0.06);
}
.testimonio-transfuga > p {
  font-size: 1.1rem;
  color: #1e293b;
  line-height: 1.65;
  font-style: italic;
}
.testimonio-autor { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.autor-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  background: var(--azul-bg); color: var(--azul);
  border-radius: 50%; font-weight: 800; font-size: 0.95rem;
  border: 2px solid rgba(1,44,185,0.15);
  flex-shrink: 0;
}
.autor-info { display: flex; flex-direction: column; gap: 0.15rem; }
.autor-info strong { color: #0b2240; font-size: 1rem; }
.autor-info span { color: var(--gris); font-size: 0.85rem; }
.verified-badge {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-left: 0.4rem;
  border: 1px solid #a7f3d0;
}
.testimonio-resultado {
  font-size: 1rem;
  font-weight: 700;
  color: var(--azul);
  margin: 1rem 0 0.5rem;
}

/* Objeciones */
.objeciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}
.objecion {
  background: var(--blanco);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--borde);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.objecion:hover { box-shadow: 0 8px 24px rgba(1,44,185,0.08); transform: translateY(-2px); }
.objecion-q {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  color: #0b2240;
  line-height: 1.4;
}
.objecion-a { color: var(--gris); line-height: 1.7; font-size: 0.93rem; }

/* CTA Final */
.cta-final {
  background: linear-gradient(135deg, #0b2240 0%, #012CB9 100%);
  color: var(--blanco);
  text-align: center;
  padding: 6rem 2rem;
}
.cta-final h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--blanco);
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}
.cta-final p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.btn-cta-accent {
  display: inline-block;
  background: var(--acento);
  color: #0b2240;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(77,166,255,0.35);
  letter-spacing: -0.01em;
  font-family: inherit;
}
.btn-cta-accent:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(77,166,255,0.5); }
.cta-sin-tarjeta {
  margin-top: 1.2rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
}

/* Sticky CTA Mobile */
.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: var(--blanco);
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 200;
  border-top: 1px solid var(--borde);
}
.btn-sticky {
  width: 100%;
  background: var(--azul);
  color: var(--blanco);
  font-weight: 700;
  padding: 0.9rem;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
}

/* Battle Page Responsive */
@media (max-width: 1024px) {
  .hero-battle-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-abstract-ui { display: none; }
  .cta-friction-row { justify-content: center; }
}
@media (max-width: 900px) {
  .elefante-modern-container { grid-template-columns: 1fr; padding: 2rem; gap: 2rem; }
}
@media (max-width: 768px) {
  .hero-battle { padding: 5rem 1.5rem 3rem; }
  .hero-battle-content h1 { font-size: 1.9rem; }
  .comparativa-wrapper { margin: 2rem 0 0; border-radius: 14px; }
  .migracion-card { padding: 1.5rem; }
}
@media (max-width: 600px) {
  .chart-bar-fuga { font-size: 0.6rem; }
  .chart-bar-base, .chart-bar-full { font-size: 0.72rem; }
  .sticky-cta-mobile { display: block; }
  .objeciones-grid { grid-template-columns: 1fr; }
}
