:root{
  --rojo-principal:#E11D2E;
  --rojo-oscuro:#B31220;
  --negro:#111111;
  --gris-oscuro:#2B2B2B;
  --gris:#6B7280;
  --gris-claro:#F4F4F5;
  --blanco:#FFFFFF;
  --verde-whatsapp:#25D366;
  --container:1000px;

  font-family:"Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:linear-gradient(180deg,#ffffff 0%, #f8f8f8 100%);
  color:#18181B;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 18px;
}


/* =========================
   ENCABEZADO
========================= */

.site-header{
  background:var(--negro);
  color:#fff;
  border-bottom:3px solid var(--rojo-principal);
  position:sticky;
  top:0;
  z-index:1000;
}

.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 18px;
}

.brand{
  font-size:1.5em;
  font-weight:900;
  color:#fff;
  letter-spacing:0.3px;
}

.nav a{
  margin-left:18px;
  color:#fff;
  text-decoration:none;
  font-weight:600;
  opacity:0.9;
}

.nav a:hover{
  color:var(--rojo-principal);
}


/* =========================
   HERO
========================= */

.hero{
  padding:56px 0;
  background:
    radial-gradient(circle at top right, rgba(225,29,46,0.08), transparent 40%),
    linear-gradient(135deg,#ffffff 0%,#f7f7f7 100%);
}

.hero-grid{
  display:flex;
  gap:35px;
  align-items:center;
  flex-wrap:wrap;
}

.left{
  flex:1;
  min-width:280px;
}

.right{
  width:400px;
}

h1,
h2,
h3{
  color:var(--negro);
}

h1{
  font-size:2.7rem;
  line-height:1.1;
  margin:12px 0 18px;
}

h2{
  font-size:2rem;
}

h3{
  font-size:1.25rem;
}

.lead{
  font-size:1.08rem;
  color:#3F3F46;
  line-height:1.65;
}

.offer-label{
  display:inline-block;
  background:var(--rojo-principal);
  color:white;
  padding:8px 14px;
  border-radius:999px;
  font-weight:900;
  font-size:0.92rem;
  box-shadow:0 8px 22px rgba(225,29,46,0.22);
}


/* =========================
   BENEFICIOS
========================= */

.benefits{
  list-style:none;
  padding:0;
  margin:22px 0;
}

.benefits li{
  padding:8px 0;
  font-weight:600;
  color:#52525B;
  line-height:1.45;
}

.benefits li::before{
  content:"✓";
  color:var(--rojo-principal);
  font-weight:900;
  margin-right:9px;
}


/* =========================
   BOTONES
========================= */

.cta-row{
  margin-top:20px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  display:inline-block;
  padding:14px 22px;
  border-radius:12px;
  text-decoration:none;
  font-weight:900;
  cursor:pointer;
  transition:all 0.25s ease;
}

.btn-primary{
  background:linear-gradient(
    135deg,
    var(--rojo-principal),
    var(--rojo-oscuro)
  );

  color:#fff;
  border:1px solid var(--rojo-principal);

  box-shadow:
    0 10px 25px rgba(225,29,46,0.28);
}

.btn-primary:hover{
  transform:translateY(-2px);

  box-shadow:
    0 14px 30px rgba(225,29,46,0.36);
}

.btn-outline{
  background:#fff;
  color:var(--negro);
  border:2px solid var(--negro);
  padding:12px 20px;
  border-radius:12px;
}

.btn-outline:hover{
  background:var(--negro);
  color:#fff;
}


/* =========================
   PRECIO
========================= */

.price-card{
  margin-top:22px;
  background:#ffffff;
  padding:16px 20px;
  border-radius:15px;
  display:inline-block;

  box-shadow:
    0 12px 32px rgba(0,0,0,0.10);

  border:2px solid #F1F1F1;
}

.price{
  font-weight:950;
  color:var(--rojo-principal);
  font-size:2rem;
}

.small{
  color:var(--gris);
  font-size:0.92rem;
}


/* =========================
   SECCIONES
========================= */

.section{
  padding:55px 0;
}

.section:nth-of-type(even){
  background:#fff;
}

.center{
  text-align:center;
}


/* =========================
   SECCIÓN PROBLEMA
========================= */

.problem-section{
  text-align:center;
  background:#111111;
  color:#fff;
  padding:28px 0;
}

.problem-section h2{
  color:#fff;
  max-width:760px;
  margin:0 auto 12px;
  font-size:1.8rem;
}

.problem-section .lead{
  color:#E4E4E7;
  max-width:700px;
  margin:0 auto 10px;
}

.problem-section p{
  max-width:700px;
  margin:0 auto;
}

/* =========================
   PASOS
========================= */

.problem-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin:22px 0;
}

.problem-item{
  background:#1f1f1f;
  padding:18px 12px;
  border-radius:12px;
}

.problem-item span{
  display:block;
  font-size:2rem;
  margin-bottom:7px;
}

.problem-item strong{
  color:#fff;
}

@media (max-width:768px){
  .problem-grid{
    grid-template-columns:1fr;
    gap:10px;
  }
}

/* =========================
   OFERTA FINAL
========================= */

.final-offer{
  background:
    linear-gradient(
      135deg,
      #111111 0%,
      #242424 100%
    );

  color:#fff;
  text-align:center;
}

.final-offer h2,
.final-offer h3{
  color:#fff;
}

.final-offer .lead{
  color:#F4F4F5;
}

.final-offer ul{
  list-style:none;
  padding:0;
  margin:20px auto;
  max-width:380px;
}

.final-offer ul li{
  padding:7px;
}

.final-offer .price-card{
  background:#fff;
}


/* =========================
   CARRUSEL
========================= */

.carousel{
  position:relative;
  width:100%;
  overflow:hidden;
  border-radius:18px;

  box-shadow:
    0 18px 45px rgba(0,0,0,0.16);
}

.carousel img{
  width:100%;
  height:auto;
  display:none;
  border-radius:18px;
}

.carousel img.active{
  display:block;
}

.carousel button{
  position:absolute;
  top:50%;
  transform:translateY(-50%);

  background:rgba(0,0,0,0.65);

  color:white;
  border:none;

  font-size:24px;
  cursor:pointer;

  padding:7px 12px;

  border-radius:50%;
}

.carousel button:hover{
  background:var(--rojo-principal);
}

.carousel .prev{
  left:10px;
}

.carousel .next{
  right:10px;
}


/* =========================
   VIDEO
========================= */

.video-container{
  margin-top:22px;
  border-radius:18px;
  overflow:hidden;

  box-shadow:
    0 16px 40px rgba(0,0,0,0.14);
}

.video-wrapper{
  position:relative;
  width:100%;
}

.video-wrapper iframe,
.video-wrapper video{
  width:100%;
  border-radius:16px;
}


/* =========================
   FORMULARIO
========================= */

.form-section{
  padding:45px 0;
  background:#F4F4F5;
}

.form-wrap{
  display:flex;
  gap:24px;
  align-items:flex-start;
  flex-wrap:wrap;
}

.product-summary{
  width:320px;
  background:#fff;
  padding:18px;
  border-radius:16px;

  box-shadow:
    0 12px 32px rgba(0,0,0,0.10);

  border:1px solid #E4E4E7;
}

.thumb{
  width:100%;
  border-radius:12px;
}

.order-form{
  flex:1;
  min-width:280px;

  background:#fff;
  padding:22px;

  border-radius:16px;

  box-shadow:
    0 12px 32px rgba(0,0,0,0.10);

  border:1px solid #E4E4E7;
}

.field{
  margin-bottom:14px;
}

.field label{
  display:block;
  margin-bottom:6px;
  font-weight:700;
  color:var(--negro);
}

.field input,
.field select,
.field textarea{
  width:100%;
  padding:12px;

  border-radius:10px;

  border:1px solid #D4D4D8;

  font-size:15px;
  outline:none;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color:var(--rojo-principal);

  box-shadow:
    0 0 0 3px rgba(225,29,46,0.10);
}

.field textarea{
  resize:vertical;
}

.actions{
  margin-top:14px;
}


/* =========================
   FOOTER
========================= */

.site-footer{
  background:#090909;
  padding:22px 0;
  color:#fff;
  text-align:center;
}


/* =========================
   WHATSAPP FLOTANTE
========================= */

#whatsapp-chat{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:9999;
}

#whatsapp-chat a{
  display:flex;
  align-items:center;
  gap:10px;

  background:var(--verde-whatsapp);

  color:#fff;

  padding:12px 16px;

  border-radius:999px;

  text-decoration:none;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.22);

  font-weight:800;

  transition:all 0.25s ease;
}

#whatsapp-chat a:hover{
  background:#1ebe5d;
  transform:translateY(-2px);
}

#whatsapp-chat i{
  font-size:20px;
}


/* =========================
   RESPONSIVE TABLET
========================= */

@media (max-width:900px){

  .hero-grid{
    flex-direction:column;
  }

  .right{
    width:100%;
    max-width:520px;
  }

  .form-wrap{
    flex-direction:column;
  }

  .steps-grid{
    grid-template-columns:1fr;
  }

}


/* =========================
   RESPONSIVE MÓVIL
========================= */

@media (max-width:768px){

  .site-header .container{
    flex-direction:column;
    gap:10px;
  }

  .site-header .nav{
    text-align:center;
    margin-top:6px;
  }

  .site-header .nav a{
    display:inline-block;
    margin:5px 7px;
    font-size:13px;
  }

  .hero{
    padding:36px 0;
  }

  .hero-grid{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  .hero-grid .left,
  .hero-grid .right{
    width:100%;
  }

  h1{
    font-size:2rem;
  }

  h2{
    font-size:1.65rem;
  }

  .lead{
    font-size:1rem;
  }

  .benefits{
    text-align:left;
  }

  .cta-row{
    justify-content:center;
  }

  .btn{
    width:100%;
    text-align:center;
  }

  .price-card{
    margin-top:24px;
    width:100%;
  }

  .steps-grid{
    grid-template-columns:1fr;
  }

  #whatsapp-chat{
    right:12px;
    bottom:12px;
  }

  #whatsapp-chat a{
    padding:12px 14px;
    font-size:14px;
  }

  #whatsapp-chat .wa-text{
    display:none;
  }

}
/* =====================================================
   CORRECCIÓN SECCIÓN PROBLEMA + SOLO 3 PASOS
===================================================== */


/* --- SECCIÓN DEL PROBLEMA --- */

section.problem-section{
  background:#111111 !important;
  color:#ffffff !important;
  padding:32px 0 !important;
  text-align:center;
}

section.problem-section h2{
  color:#ffffff !important;
  font-size:1.8rem;
  margin:0 auto 12px;
  max-width:760px;
}

section.problem-section p,
section.problem-section .lead{
  color:#e4e4e7 !important;
  max-width:700px;
  margin:0 auto 10px;
  line-height:1.6;
}


/* --- LOS 3 PROBLEMAS --- */

.problem-grid{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:18px;
  max-width:850px;
  margin:22px auto;
}

.problem-item{
  background:#222222;
  color:#ffffff;
  padding:20px 15px;
  border-radius:14px;
  border:1px solid #333333;
}

.problem-item span{
  display:block;
  font-size:2rem;
  margin-bottom:8px;
}

.problem-item strong{
  color:#ffffff;
}


/* =====================================================
   SOLO 3 PASOS
===================================================== */

#como-funciona{
  background:#f7f7f7 !important;
  padding:50px 0;
}

#como-funciona h2{
  text-align:center;
  font-size:2rem;
  margin:0 0 30px;
  color:#111111;
}

#como-funciona .steps-grid{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:20px !important;
  max-width:900px;
  margin:0 auto;
}


/* Tarjeta */

#como-funciona .step-card{
  background:#ffffff;
  padding:28px 20px;
  border-radius:16px;
  text-align:center;

  border:1px solid #e5e5e5;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.08);

  transition:transform 0.25s ease,
             box-shadow 0.25s ease;
}


#como-funciona .step-card:hover{
  transform:translateY(-5px);

  box-shadow:
    0 16px 35px rgba(0,0,0,0.13);
}


/* Número rojo */

#como-funciona .step-number{
  width:55px;
  height:55px;

  margin:0 auto 15px;

  border-radius:50%;

  display:flex !important;
  align-items:center;
  justify-content:center;

  background:#E11D2E;
  color:#ffffff;

  font-size:1.35rem;
  font-weight:900;
}


#como-funciona .step-card h3{
  color:#111111;
  font-size:1.25rem;
  margin:8px 0 10px;
}


#como-funciona .step-card p{
  color:#6B7280;
  font-size:0.95rem;
  line-height:1.55;
  margin:0;
}


/* Botón debajo de los pasos */

#como-funciona .cta-row{
  justify-content:center;
  margin-top:28px;
}


/* =====================================================
   MÓVIL
===================================================== */

@media(max-width:768px){

  .problem-grid{
    grid-template-columns:1fr !important;
    gap:10px;
  }

  #como-funciona .steps-grid{
    grid-template-columns:1fr !important;
    gap:15px !important;
  }

  #como-funciona{
    padding:38px 0;
  }

}
.video-title{
  text-align:center;
  margin-top:26px;
  margin-bottom:12px;
}

.video-title h2{
  margin:0 0 5px;
  font-size:1.45rem;
}

.video-title p{
  margin:0;
  color:#6B7280;
  font-weight:600;
}

.video-container{
  width:100%;
  max-width:400px;
  margin:20px auto 0;
  border-radius:18px;
  overflow:hidden;
  background:#000;
  box-shadow:0 16px 40px rgba(0,0,0,0.14);
}

.video-wrapper{
  position:relative;
  width:100%;
  aspect-ratio:1 / 1;
}

.video-wrapper iframe{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  border:0;
}