:root{
  --bg:#0b0f17;
  --text:#eef4ff;
  --muted:#a9b6cc;
  --primary:#ffc43a;
  --danger:#c81d3b;
  --border:rgba(255,255,255,.08);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:system-ui,Segoe UI,Inter,Roboto,Arial;
  background:var(--bg);
  color:var(--text);
  padding-top:42px; /* topbar */
}

a{text-decoration:none;color:inherit}
.container{width:min(1100px,92%);margin:0 auto;padding:24px 0}

/* ===== TOP BAR ===== */
.topbar{
  position:fixed; top:0; left:0; right:0;
  height:42px;
  background:linear-gradient(90deg,#c81d3b,#e63946);
  z-index:10000;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 20px rgba(0,0,0,.35);
}
.topbar__inner{
  color:#fff;
  font-weight:900;
  font-size:13px;
  letter-spacing:.35px;
  text-transform:uppercase;
  text-align:center;
  padding:0 12px;
}
@media (max-width:600px){
  .topbar{ height:auto; padding:6px 0; }
  body{ padding-top:56px; }
}

/* ===== HERO (UN SOLO FONDO EN TODO EL HERO) ===== */
.hero{
  position: relative;
  min-height: 90vh;
  padding: 72px 12px 48px;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;

  background:
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.82)),
    url("../img/hero-bg.jpg") center / cover no-repeat;

  overflow:hidden;
}

/* título */
.hero-title{
  margin:0 auto 18px;
  max-width:980px;
  font-size:clamp(26px,4vw,44px);
  font-weight:900;
  letter-spacing:.5px;
  line-height:1.12;
}

/* ✅ SIN SUBRAYADO */
.hero-title span{ text-decoration:none !important; }

/* CTA */
.hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 26px;
  border-radius:999px;
  background:var(--danger);
  color:#fff;
  font-weight:900;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 14px 40px rgba(0,0,0,.35);
  transform:translateY(0);
  transition:transform .18s ease, filter .18s ease;
}
.hero-btn:hover{ transform:translateY(-2px); filter:brightness(1.05); }

/* Shine */
.hero-btn--shine{ position:relative; overflow:hidden; }
.hero-btn--shine::after{
  content:"";
  position:absolute;
  top:-40%;
  left:-60%;
  width:40%;
  height:180%;
  background:linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0));
  transform:rotate(18deg);
  animation:shine 3.8s ease-in-out infinite;
}
@keyframes shine{
  0%{ left:-60%; }
  35%{ left:120%; }
  100%{ left:120%; }
}

/* ===== COUNTERS (PRO) ===== */
.counters{
  margin-top:16px;
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
}
.counter{
  min-width:150px;
  padding:14px 16px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 50px rgba(0,0,0,.35);
  text-align:center;
  position:relative;
  overflow:hidden;
}
.counter::before{
  content:'';
  position:absolute;
  inset:-40%;
  background:radial-gradient(circle, rgba(255,196,58,.14), transparent 55%);
  transform:translateY(18%);
}
.counter .num{
  position:relative;
  font-size:26px;
  font-weight:900;
  letter-spacing:.4px;
}
.counter .label{
  position:relative;
  margin-top:4px;
  font-size:12px;
  color:rgba(255,255,255,.65);
}

/* ===== DEVICES ===== */
.hero-devices{
  margin-top:28px;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:0 12px;
}
.hero-devices img{
  width: min(820px, 100%);
  height:auto;
  display:block;
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 25px 60px rgba(0,0,0,.65));
  animation: floaty 4.5s ease-in-out infinite;
}
@media (max-width: 768px){ .hero-devices img{ max-height: 210px; } }
@media (max-width: 420px){ .hero-devices img{ max-height: 185px; } }

@keyframes floaty{
  0%{ transform: translateY(0px); }
  50%{ transform: translateY(-10px); }
  100%{ transform: translateY(0px); }
}
@media (prefers-reduced-motion: reduce){
  .hero-devices img{ animation:none; }
  .hero-btn--shine::after{ animation:none; }
}

/* ===== HEADER / BRAND ===== */
.header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0}
.brand{display:flex;align-items:center;gap:10px}
.brand img{width:34px;height:34px;border-radius:10px}
.brand-title{margin:0;font-size:20px}

/* ===== GRID / CARDS ===== */
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
@media(max-width:860px){.grid{grid-template-columns:1fr}}

.card{
  background:rgba(255,255,255,.03);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.14);
  box-shadow:0 18px 44px rgba(0,0,0,.35);
}

.title{
  font-size:34px;
  font-weight:900;
  letter-spacing:.5px;
  text-align:center;
  margin:0 0 10px
}

/* ===== BUTTONS ===== */
.btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:14px 14px;
  border-radius:999px;
  font-weight:900;
  border:1px solid var(--border);
  margin-top:10px;
  cursor:pointer;
}
.btn-demo{background:var(--danger);border-color:transparent;color:#fff}
.btn-buy{background:var(--primary);color:#111;border-color:transparent}

/* animación pro botones */
.btn-anim{
  position:relative;
  overflow:hidden;
  transition: transform .16s ease, filter .16s ease;
}
.btn-anim:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.btn-anim::after{
  content:"";
  position:absolute;
  top:-40%;
  left:-60%;
  width:42%;
  height:180%;
  background:linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.25), rgba(255,255,255,0));
  transform:rotate(18deg);
  opacity:0;
}
.btn-anim:hover::after{
  opacity:1;
  animation: shineBtn .9s ease;
}
@keyframes shineBtn{
  0%{ left:-60%; }
  100%{ left:140%; }
}

/* ===== SLIDER ===== */
.slider{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  background:#0d1320;
  border:1px solid var(--border)
}
.slider__track{display:flex;transition:transform .45s ease;will-change:transform}
.slider__slide{min-width:100%;aspect-ratio:16/9}
.slider__slide img{width:100%;height:100%;object-fit:cover}

.nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:40px;height:40px;border-radius:999px;
  background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.14);
  color:#fff;font-size:26px;font-weight:900;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
}
.nav.prev{left:10px}
.nav.next{right:10px}

.slider__dots{
  position:absolute;left:0;right:0;bottom:8px;
  display:flex;justify-content:center;gap:6px
}
.dot{
  width:9px;height:9px;border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.15);
  cursor:pointer
}
.dot.is-active{background:#fff}

/* ===== SMALL ===== */
.small{color:var(--muted);text-align:center;margin:8px 0 0}

/* ===== FAQ ===== */
.faq{
  width:min(900px,92%);
  margin:40px auto 0;
  padding:0 0 30px;
}
.faq h2{
  text-align:center;
  margin:0 0 14px;
  font-size:26px;
  font-weight:900;
}
.faq details{
  background:rgba(255,255,255,.03);
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px 14px;
  margin:10px 0;
}
.faq summary{ cursor:pointer; font-weight:900; }
.faq p{ color:var(--muted); margin:10px 0 0; line-height:1.55; }

/* ===== FOOTER ===== */
.footer{
  border-top:1px solid var(--border);
  padding:22px 12px;
  text-align:center;
  color:var(--muted);
}

/* ===== MODAL ===== */
body.modal-open{ overflow:hidden; }
.modal{ position:fixed; inset:0; display:none; z-index:9999; }
.modal.is-open{ display:block; }
.modal__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.55); }

.modal__panel{
  position:absolute;
  left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:min(520px, 92vw);
  max-height:72vh;
  background:#0d1320;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  box-shadow:0 25px 70px rgba(0,0,0,.55);
  overflow:hidden;
}
.modal__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:14px 14px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}
.modal__title{ font-weight:900; font-size:18px; }
.modal__sub{ color:var(--muted); font-size:13px; margin-top:4px; }
.modal__close{
  width:38px; height:38px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:16px;
  cursor:pointer;
}
.modal__body{
  padding:14px;
  color:var(--muted);
  line-height:1.55;
  overflow:auto;
  max-height:calc(72vh - 70px);
}

/* ===== WHATSAPP FLOAT (PRO) ===== */
.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:58px;
  height:58px;
  background:#25D366;
  color:#fff;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9998;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
  transition: transform .16s ease, filter .16s ease;
  animation: wa-pulse 2.4s infinite;
}
.whatsapp-float:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.whatsapp-float svg{ width:30px; height:30px; }

@keyframes wa-pulse{
  0%{ box-shadow:0 0 0 0 rgba(37,211,102,.55), 0 10px 30px rgba(0,0,0,.35); }
  70%{ box-shadow:0 0 0 18px rgba(37,211,102,0), 0 10px 30px rgba(0,0,0,.35); }
  100%{ box-shadow:0 0 0 0 rgba(37,211,102,0), 0 10px 30px rgba(0,0,0,.35); }
}
@media (max-width:768px){
  .whatsapp-float{ right:14px; bottom:14px; width:52px; height:52px; }
  .whatsapp-float svg{ width:26px; height:26px; }
}

/* ===== REVEAL ON SCROLL ===== */
.reveal{
  opacity:0;
  transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

/* =========================================================
   ✅ TESTIMONIOS (SCROLL LENTO IZQUIERDA -> DERECHA)
   ========================================================= */
.testimonials{
  width:min(1100px,92%);
  margin:40px auto 0;
}
.testimonials h2{
  text-align:center;
  margin:0 0 14px;
  font-size:26px;
  font-weight:900;
}

.marquee{
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  padding:14px;
}

.marquee__track{
  display:flex;
  gap:14px;
  width:max-content;
  animation: marquee 32s linear infinite;
}

.marquee__track img{
  height:160px;
  width:auto;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 16px 40px rgba(0,0,0,.35);
}

@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

@media (max-width:600px){
  .marquee__track img{ height:120px; }
}

/* =========================================================
   ✅ MÉTODOS DE PAGO (TAMAÑO PAREJO)
   ========================================================= */
.payments-section{
  width:min(1100px,92%);
  margin:34px auto 0;
  padding:0 0 20px;
}
.payments-section h2{
  text-align:center;
  margin:0 0 14px;
  font-size:24px;
  font-weight:900;
}

.payments{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:18px;
}

/* ✅ clave: todos iguales y ningún logo se deforma */
.payments img{
  height:32px;          /* tamaño estándar */
  max-height:32px;
  width:auto;
  object-fit:contain;
  display:block;

  opacity:.92;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.35));
  transition: transform .2s ease, opacity .2s ease;
}

/* ✅ si un logo (pichincha) viene gigante, aquí lo limita */
.payments img.pichincha{
  height:28px;
  max-height:28px;
}

.payments img:hover{
  transform: scale(1.08);
  opacity:1;
}

@media (max-width:600px){
  .payments img{ height:26px; max-height:26px; }
  .payments img.pichincha{ height:24px; max-height:24px; }
}
/* ================= TESTIMONIOS PRO ================= */
.testimonials{
  width:100%;
  margin:40px auto 0;
  padding:0;
}

.testimonials h2{
  text-align:center;
  font-size:28px;
  font-weight:900;
  margin-bottom:16px;
}

/* Contenedor SIN cuadro */
.testimonials .marquee{
  background:transparent;
  border:none;
  padding:0;
  overflow:hidden;
}

/* Movimiento suave */
.testimonials .marquee__track{
  display:flex;
  gap:18px;
  width:max-content;
  animation: testimonial-move 40s linear infinite;
}

/* IMÁGENES */
.testimonials .marquee__track img{
  height:280px;          /* tamaño grande */
  width:auto;
  border-radius:18px;
  box-shadow:0 18px 50px rgba(0,0,0,.45);
  background:#000;
}

/* Mobile */
@media (max-width:600px){
  .testimonials .marquee__track img{
    height:220px;
  }
}

/* Animación */
@keyframes testimonial-move{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
/* ===== DESCRIPCIÓN EN MODAL MÁS LEGIBLE ===== */
.modal__body{
  white-space: normal;
  line-height: 1.6;
  font-size: 15px;
}

.modal__body br{
  content: "";
  display: block;
  margin-bottom: 8px;
}