:root {
  --brand-1:#1a3e72;
  --brand-2:#2a6cd6;
  --brand-bg:#f6f8fb;
  --brand-accent:#ffc107;
  --brand-success:#198754;
  --brand-text:#0f223d;

  --glass-bg:rgba(255,255,255,0.8);
  --glass-border:rgba(255,255,255,0.5);
}

*{box-sizing:border-box;}

html{
  scroll-behavior:smooth;
}

body{
  font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  background-color:var(--brand-bg);
  color:var(--brand-text);
  line-height:1.6;
  letter-spacing:-0.2px;
}

a{text-decoration:none;}

/* NAVBAR */
.navbar{
  background:linear-gradient(90deg,var(--brand-1),var(--brand-2));
  box-shadow:0 4px 16px rgba(0,0,0,.25);
}
.navbar .navbar-brand,
.navbar .nav-link{
  color:#f6f8fb!important;
}
.brand-logo-circle{
  width:32px;
  height:32px;
  background:rgba(255,255,255,0.15);
  color:#fff;
  box-shadow:0 0 0 1px rgba(255,255,255,0.2);
}
.navbar .navbar-brand{
  font-weight:700;
  font-size:1.05rem;
}
.navbar .nav-link{
  position:relative;
  margin:0 .35rem;
  font-weight:500;
  font-size:.96rem;
  opacity:.9;
}
.navbar .nav-link::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-4px;
  height:2px;
  background:var(--brand-accent);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .2s ease-out;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus{
  opacity:1;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after{
  transform:scaleX(1);
}
.navbar-toggler{
  border-color:rgba(255,255,255,.5);
}
.navbar-toggler-icon{
  filter:invert(1);
}

/* BOTONES */
.btn-brand{
  background:#ffffff;
  color:var(--brand-1);
  border-radius:50px;
  padding:.65rem 1.5rem;
  font-weight:600;
  border:none;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
}
.btn-brand:hover{
  background:#f6f8fb;
  color:var(--brand-1);
}
.btn-brand-primary{
  background:var(--brand-2);
  color:#fff;
  border-radius:999px;
  padding:1rem 2.2rem;
  font-weight:700;
  border:none;
  box-shadow:0 10px 30px rgba(42,108,214,.25);
  font-size:1.05rem;
  transition:background .18s ease-out, transform .18s ease-out, box-shadow .18s ease-out;
}
.btn-brand-primary:hover{
  background:#1d4fbf;
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 14px 40px rgba(42,108,214,.32);
}

/* HERO */
.hero{
  background:radial-gradient(circle at top left,#e3ebfb 0,#f6f8fb 40%,#ffffff 100%);
  padding:5rem 0 4rem;
}
.hero-panel{
  background:rgba(15,34,61,.96);
  border-radius:22px;
  padding:2.3rem;
  color:#f6f8fb;
  box-shadow:0 18px 55px rgba(0,0,0,.55);
  position:relative;
  overflow:hidden;
}
.hero-panel::after{
  content:"";
  position:absolute;
  right:-60px;
  top:-60px;
  width:160px;
  height:160px;
  background:radial-gradient(circle,var(--brand-2),transparent 60%);
  opacity:.35;
  pointer-events:none;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  background:rgba(255,255,255,.08);
  border-radius:999px;
  padding:.35rem .95rem;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.09em;
}
.hero-badge i{
  color:var(--brand-accent);
}
.hero-title{
  font-size:2.4rem;
  font-weight:800;
  color:#ffffff;
  text-shadow:0 2px 8px rgba(0,0,0,.35);
}
.hero-subtitle{
  font-size:1.05rem;
  color:#e7edf6;
}
.hero-kpi{
  font-size:2rem;
  font-weight:800;
}
.hero-kpi-label{
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#b9c5dd;
}
.hero-kpi-card{
  background:rgba(6,18,40,.88);
  border-radius:14px;
  padding:.7rem .9rem;
  height:100%;
}
.hero-illustration{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.hero-financio{
  max-width:380px;
  margin-inline:auto;
}
.hero-financio-img{
  filter:drop-shadow(0 12px 30px rgba(0,0,0,.35));
}

/* SECCIONES GENERALES */
.section{
  padding:5rem 0;
}
.section + .section{
  border-top:1px solid #edf1f7;
}
.section-title{
  font-size:1.9rem;
  font-weight:800;
  color:var(--brand-1);
  margin-bottom:1rem;
  letter-spacing:-0.5px;
}
.section-title i{
  color:var(--brand-2);
  opacity:.9;
}
.bg-soft{
  background:var(--brand-bg);
}
.card-soft{
  border:none;
  border-radius:22px;
  background:var(--glass-bg);
  backdrop-filter:blur(18px);
  border:1px solid var(--glass-border);
  box-shadow:
      0 4px 14px rgba(15,34,61,0.05),
      0 8px 26px rgba(15,34,61,0.06);
  transition:.25s ease;
}
.card-soft:hover{
  transform:translateY(-4px);
  box-shadow:
      0 10px 20px rgba(15,34,61,0.08),
      0 18px 40px rgba(15,34,61,0.08);
}

/* TEXTO */
.section p,
.card p{
  font-size:1.05rem;
  color:#475569;
  line-height:1.7;
}
.mini-label{
  font-size:.85rem;
  color:#5d7191;
}

/* LISTAS */
.pill-list li{
  margin-bottom:.75rem;
  font-size:1.05rem;
  color:#334155;
  display:flex;
  align-items:flex-start;
}
.pill-list i{
  font-size:1.15rem;
  margin-top:.1rem;
}

/* PROBLEMA */
.problem-card{
  border-left:4px solid #dc3545;
}
.problem-img{
  max-width:520px;
}

/* QUÉ ES / MÉTODO */
.method-img{
  max-width:520px;
}

/* BENEFICIOS */
.image-equalizer{
  width:100%;
  height:190px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:18px;
  background:rgba(255,255,255,0.75);
  padding:8px;
  box-shadow:0 3px 12px rgba(15,34,61,.06);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.4);
}
.image-equalizer img{
  max-height:100%;
  width:auto;
  object-fit:contain;
}
.beneficios-card{
  background:rgba(255,255,255,0.9);
}

/* PRECIO */
.price-tag {
  font-size: 3.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #f6e27a 0%, #ffd700 35%, #ffb300 55%, #fff8d2 75%, #ffcc33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  overflow: hidden;
}

.price-tag::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 45%,
    transparent 90%
  );
  transform: skewX(-20deg);
  animation: shine 2s infinite ease-in-out;
}

@keyframes shine {
  0% { left: -120%; }
  50% { left: 120%; }
  100% { left: 120%; }
}

.line-through{
  text-decoration:line-through;
  color:#999;
  font-size:1rem;
}
.trust-logos{
  margin-top:.75rem;
}
.trust-logo{
  height:50px;
  opacity:.9;
}

/* RESULTADOS / STATS */
.counter{
  font-size:2.6rem;
  letter-spacing:-1px;
}
.results-icon{
  width:40px;
  height:40px;
  border-radius:999px;
  background:rgba(42,108,214,0.08);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-inline:auto;
  color:var(--brand-2);
}

/* COUNTDOWN */
.countdown-section{
  background:linear-gradient(135deg,#fff2e0,#ffe9e9);
}
.countdown-wrapper{
  margin-top:20px;
}
.count-box{
  background:#ffffff;
  border-radius:18px;
  padding:18px 26px;
  min-width:115px;
  box-shadow:0 4px 14px rgba(15,34,61,.12);
  text-align:center;
  border:1px solid rgba(255,193,7,.55);
}
.count-value{
  font-size:2.3rem;
  font-weight:800;
  color:#dc3545;
  line-height:1;
}
.count-label{
  font-size:.85rem;
  color:#5d7191;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-top:4px;
}
.count-ended .count-value{
  color:#6c757d!important;
}
.count-ended .count-label{
  color:#6c757d;
}

/* QUÉ INCLUYE */
.incluye-card{
  position:relative;
}
.include-icon{
  width:42px;
  height:42px;
  border-radius:999px;
  background:rgba(42,108,214,0.08);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--brand-2);
}

/* TESTIMONIOS */
.testimonial-card{
  position:relative;
}
.testimonial-stars{
  color:#ffc107;
  font-size:.95rem;
}
.carousel-control-prev-icon,
.carousel-control-next-icon{
  filter:invert(1);
}
#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next{
  width:5%;
}

/* FAQ */
.accordion-button{
  font-weight:600;
  font-size:1rem;
}
.accordion-button strong{
  font-weight:700;
}
.accordion-item{
  border-radius:14px;
  overflow:hidden;
  margin-bottom:.75rem;
  border:1px solid rgba(15,34,61,0.05);
}
.accordion-button:not(.collapsed){
  color:var(--brand-1);
  background:rgba(42,108,214,0.05);
}

/* BOTÓN FLOTANTE MAIL */
.floating-contact{
  position:fixed;
  right:16px;
  bottom:16px;
  width:54px;
  height:54px;
  border-radius:50%;
  background:var(--brand-2);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 20px rgba(0,0,0,.35);
  z-index:999;
  text-decoration:none;
  transition:transform .18s ease-out, box-shadow .18s ease-out, background .18s;
}
.floating-contact:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(0,0,0,.45);
  background:#1f57aa;
  color:#fff;
}

/* FOOTER */
.footer{
  background:#0f223d;
  color:#cbd5e1;
  padding:4rem 0;
  font-size:.95rem;
}

/* ANIMACIONES SCROLL */
.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .6s ease-out, transform .6s ease-out;
  will-change:opacity,transform;
}
.reveal.show{
  opacity:1;
  transform:translateY(0);
}
.reveal-stagger>*{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .55s ease-out, transform .55s ease-out;
  will-change:opacity,transform;
}
.reveal-stagger>*.show{
  opacity:1;
  transform:translateY(0);
}

/* RESPONSIVE */
@media (max-width: 992px){
  .hero{
    padding:4rem 0 3.5rem;
  }
  .hero-title{
    font-size:2rem;
  }
  .hero-panel{
    margin-bottom:2rem;
  }
}
@media (max-width: 576px){
  .hero-title{
    font-size:1.7rem;
  }
  .image-equalizer{
    height:160px;
  }
  .navbar{
    box-shadow:0 2px 10px rgba(0,0,0,.25);
  }
}

.hero-financio-clean {
  max-width: 360px;
  width: 100%;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.35));
}

.financio-hello-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--brand-1);
}

.financio-name {
  color: var(--brand-2);
}

.financio-hello-text {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto;
}

@media(max-width: 768px) {
  .financio-hello-title {
    font-size: 1.4rem;
  }
  .financio-hello-text {
    font-size: 1rem;
  }
}

/* BOTÓN FLOTANTE — RESPONSIVE REAL */
/* Vista móvil general */
@media (max-width: 768px) {
  .floating-contact {
    bottom: 80px !important;   /* suficiente para no chocar con footer ni CTA */
    right: 14px !important;
    width: 52px;
    height: 52px;
  }
}

/* Vista móvil muy chica */
@media (max-width: 480px) {
  .floating-contact {
    bottom: 100px !important;  /* sube más si el móvil es pequeño */
    width: 48px;
    height: 48px;
  }
}

/* Teléfonos extremadamente pequeños (SE, motos, etc.) */
@media (max-width: 360px) {
  .floating-contact {
    bottom: 115px !important;
  }
}

/* Cuando el menú móvil está abierto */
.navbar-collapse.show + .floating-fix-space,
.navbar-collapse.show ~ .floating-contact {
  bottom: 150px !important; /* espacio extra para que nunca tape */
}

.floating-fix-space {
  display: none;
}

/* PROBLEMA — versión mejorada */
.problem-card-upgraded {
  border-left: 6px solid #dc3545;
  padding: 2.2rem;
}

.problem-header {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.problem-icon {
  font-size: 1.9rem;
  color: #dc3545;
}

/* Texto más grande y emocional */
.problem-intro {
  font-size: 1.15rem;
  color: #334155;
}

/* Lista mejorada */
.problem-list li {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.problem-list-icon {
  font-size: 1.4rem;
}

/* Cierre emocional */
.problem-closing {
  font-size: 1.05rem;
  color: #0f223d;
}

/* Imagen más proporcionada */
.problem-img-upgraded {
  max-width: 360px;
  width: 100%;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.25));
}

@media (max-width: 576px) {
  .problem-img-upgraded {
    max-width: 260px;
    margin-bottom: 1rem;
  }
}

/* Imagen optimizada */
.method-img-upgraded {
  max-width: 340px;
  width: 100%;
  filter: drop-shadow(0 14px 34px rgba(0,0,0,0.25));
}

/* Contenedor visual */
.method-visual {
  position: relative;
  display: inline-block;
  margin-top: 10px;
}

/* Porcentajes */
.method-rates {
  position: absolute;
  top: 8%;
  right: -10%;
  transform: translateX(-10%);
  text-align: center;
  font-weight: 800;
  color: var(--brand-2);
  font-size: 2.2rem;
  line-height: 1;
}

.method-rates i {
  font-size: 1.8rem;
  color: var(--brand-2);
}

/* Tamaño en mobile */
@media(max-width: 576px) {
  .method-img-upgraded {
    max-width: 240px;
  }

  .method-rates {
    font-size: 1.8rem;
    top: 0%;
    right: -5%;
  }
}

/* Limpieza del card sin imágenes */
.beneficios-card-clean {
  padding: 2.2rem !important;
  background: rgba(255,255,255,0.9);
  border-radius: 22px;
}

/* Íconos grandes */
.icon-beneficio {
  font-size: 3rem;
  color: var(--brand-2);
  margin-bottom: 0.6rem;
  filter: drop-shadow(0px 3px 6px rgba(0,0,0,0.15));
}

/* Estética del ítem */
.beneficio-item {
  padding: 1rem .5rem;
}

/* Títulos debajo del icono */
.beneficios-card-clean .fw-bold {
  font-size: 1.05rem;
  color: var(--brand-1);
}

/* Texto pequeño */
.beneficios-card-clean .small {
  font-size: .9rem;
  color: #475569;
}

.beneficios-frase-final {
  font-size: 1.25rem !important;
  color: var(--brand-1);
  font-weight: 700;
  line-height: 1.5;
}

/* Responsive */
@media(max-width: 576px) {
  .icon-beneficio {
    font-size: 2.4rem;
  }
}
