

/* ============================================================
   v3.1 — CONVERSION PACK (append at end of styles.css)
   ============================================================ */
:root{
  --cta-red: hsl(4, 78%, 48%);
  --cta-red-dark: hsl(4, 80%, 40%);
  --promo-h: 44px;              /* altura de la franja */
  --header-h: 72px;             /* altura aprox. del header */
}

/* ---- Red buy button ---- */
.btn-buy{
  display:inline-flex; align-items:center; justify-content:center; text-align:center;
  padding:1rem 2.25rem; border:none; cursor:pointer;
  background:var(--cta-red); color:#fff !important;
  font-family:var(--font-display); font-size:1rem; font-weight:800;
  border-radius:9999px; line-height:1.2;
  box-shadow:0 10px 30px -8px rgba(211,32,25,.55);
  transition:all var(--transition-base);
}
.btn-buy:hover{ background:var(--cta-red-dark); transform:translateY(-2px); box-shadow:0 16px 40px -10px rgba(211,32,25,.7); }
.btn-buy:focus-visible{ outline:3px solid #fff; outline-offset:3px; }
.btn-buy-lg{ padding:1.15rem 2.5rem; font-size:1.05rem; }
.hero .btn-buy, .final-cta .btn-buy{ background:var(--cta-red); color:#fff !important; }
@keyframes buyPulse{ 0%,100%{ box-shadow:0 10px 30px -8px rgba(211,32,25,.55);} 50%{ box-shadow:0 10px 42px -6px rgba(211,32,25,.95);} }
.hero .btn-buy{ animation:buyPulse 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce){ .hero .btn-buy{ animation:none; } }

/* ============================================================
   PROMO BAR — fija ARRIBA DE TODO, empuja el header
   ============================================================ */
.promo-bar{
  position:fixed; top:0; left:0; right:0; z-index:300;
  background:linear-gradient(90deg, var(--cta-red-dark), var(--cta-red));
  color:#fff; text-align:center; min-height:var(--promo-h);
}
.promo-bar-inner{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:.4rem .75rem; padding:.6rem 2.5rem; font-size:.82rem; font-weight:600;
}
.promo-bar code{
  font-family:var(--font-mono,monospace); font-weight:800; letter-spacing:.1em;
  background:rgba(0,0,0,.25); padding:.15rem .5rem; border-radius:.4rem;
}
.promo-timer{
  font-family:var(--font-mono,monospace); font-weight:800; font-size:.95rem;
  background:rgba(0,0,0,.3); padding:.15rem .5rem; border-radius:.4rem;
  min-width:4rem; display:inline-block;
}
/* Barra ACTIVA (fondo rojo) -> botón blanco con texto rojo */
.promo-bar .btn-promo{
  background:#fff; color:var(--cta-red-dark) !important; font-weight:800;
  padding:.35rem 1rem; border-radius:9999px; font-size:.78rem; white-space:nowrap;
  box-shadow:0 4px 12px -2px rgba(0,0,0,.3);
  transition:all var(--transition-base);
}
.promo-bar .btn-promo:hover{ background:#ffe9e8; transform:translateY(-1px); }

/* Barra EXPIRADA (fondo gris) -> botón rojo con texto blanco */
.promo-bar.is-expired .btn-promo{
  background:var(--cta-red); color:#fff !important;
  box-shadow:0 4px 14px -2px rgba(211,32,25,.6);
}
.promo-bar.is-expired .btn-promo:hover{ background:var(--cta-red-dark); }
.promo-bar.is-expired{ background:hsl(200,20%,32%); }
.promo-bar-close{
  position:absolute; right:.6rem; top:50%; transform:translateY(-50%);
  background:none; border:none; color:rgba(255,255,255,.75);
  cursor:pointer; font-size:1.25rem; line-height:1; padding:.25rem;
}

/* Cuando la franja está activa, todo baja */
body.has-promo .site-header{ top:var(--promo-h); }
body.has-promo .nav-mobile{ top:var(--promo-h); }

/* ---- Móvil: franja compacta en 2 líneas ---- */
@media (max-width:640px){
  :root{ --promo-h: 76px; }
  .promo-bar-inner{
    font-size:.72rem; padding:.5rem 2rem .5rem .75rem;
    line-height:1.35; gap:.35rem .5rem;
  }
  .promo-timer{ font-size:.85rem; min-width:3.4rem; }
  .promo-bar .btn-promo{ font-size:.72rem; padding:.3rem .8rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero-subtitle strong{ color:#fff; font-weight:700; }

.hero-trust{ display:flex; flex-wrap:wrap; gap:.75rem 1.25rem; justify-content:center; margin-top:1.75rem; }
/* Móvil: los trust items caen sobre la zona azul oscura -> blanco.
   Desktop: caen sobre la zona clara del degradado -> azul Lebasi. */
.hero-trust-item{
  display:inline-flex; align-items:center; gap:.4rem;
  font-size:.72rem; letter-spacing:.04em; text-transform:uppercase;
  color:rgba(255,255,255,.9); font-weight:700; white-space:nowrap;
}
.hero-trust-item svg{ color:var(--lebasi-sky); flex-shrink:0; }

@media (min-width:768px){
  .hero-trust-item{ color:rgb(1 88 132); }
  .hero-trust-item svg{ color:rgb(1 88 132); }
}

.hero-image{ position:relative; }
.hero-badge-swiss{
  position:absolute; right:2%; bottom:6%;
  display:inline-flex; align-items:center; gap:.45rem;
  background:linear-gradient(135deg, hsl(40,72%,62%), hsl(40,68%,46%));
  color:#2b1d05; padding:.45rem .75rem; border-radius:9999px;
  font-size:.58rem; font-weight:800; line-height:1.15;
  text-transform:uppercase; letter-spacing:.03em; text-align:left;
  box-shadow:0 8px 22px -6px rgba(0,0,0,.5); border:2px solid rgba(255,255,255,.45);
}

/* Hero: alto natural, sin forzar 100vh (evita corte en móvil) */
.hero{ min-height:auto; }
.hero-grid{ padding:7rem 0 3rem; }
body.has-promo .hero-grid{ padding-top:calc(7rem + var(--promo-h)); }
.hero-scroll-indicator{ display:none; }

@media (max-width:767px){
  .hero-title{ font-size:clamp(2rem, 9vw, 3rem); }
  .hero-subtitle{ margin-bottom:2rem; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .hero-actions .btn-buy,
  .hero-actions .btn-hero-secondary{ width:100%; }
  .hero-image img{ max-width:230px; }
}

@media (min-width:768px){
  .hero-grid{ grid-template-columns:1fr 1fr; text-align:left; }
  .hero-content{ text-align:left; }
  .hero-subtitle{ margin-left:0; }
  .hero-trust{ justify-content:flex-start; }
  .hero-scroll-indicator{ display:block; }
}

/* ============================================================
   OUR DIRECT PROCESS — sección propia, ancho completo, bajo el hero
   ============================================================ */
.section-process{
  background:linear-gradient(180deg, var(--lebasi-blue-dark) 0%, var(--primary) 100%);
  padding:3.5rem 0 4rem;
}
.hero-process-title{
  font-family:var(--font-display); font-weight:700; text-align:center;
  font-size:clamp(1.35rem,3vw,2rem); color:#fff; margin-bottom:2rem;
}
.hero-process-steps{
  display:grid; grid-template-columns:1fr; gap:1.25rem; align-items:start;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14);
  border-radius:1.25rem; padding:1.5rem;
}
.hero-process-step{ display:flex; gap:.85rem; align-items:flex-start; text-align:left; }
.hero-process-step svg{ color:var(--lebasi-gold); flex-shrink:0; margin-top:.2rem; }
.hero-process-step p{ font-size:.88rem; line-height:1.55; color:rgba(255,255,255,.78); margin:0; }
.hero-process-step strong{ color:#fff; display:block; margin-bottom:.2rem; }
.hero-process-arrow{ display:none; color:rgba(255,255,255,.35); font-size:1.5rem; text-align:center; align-self:center; }

@media (min-width:900px){
  .hero-process-steps{
    grid-template-columns:1fr auto 1fr auto 1fr;
    gap:1.5rem; padding:2rem 2.25rem; align-items:center;
  }
  .hero-process-arrow{ display:block; }
}

/* ============================================================
   SECTION: EVERY STAGE OF YOUR LIFE — self-hosted promo video
   ============================================================ */
.promo-video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; background:#000; border:none; display:block;
}
.section-video{ padding:4rem 0; }
@media (min-width:768px){ .section-video{ padding:6rem 0; } }

.stages-row{
  display:grid; grid-template-columns:repeat(2,1fr); gap:.75rem;
  max-width:56rem; margin:2.5rem auto 0;
}
@media (min-width:768px){ .stages-row{ grid-template-columns:repeat(4,1fr); } }
.stage-chip{
  display:flex; flex-direction:column; gap:.2rem; text-align:center;
  padding:1rem .75rem; border-radius:1rem;
  background:rgba(1,88,132,.06); border:1px solid rgba(1,88,132,.12);
}
.stage-chip strong{ font-family:var(--font-display); color:var(--primary); font-size:1rem; }
.stage-chip span{ font-size:.75rem; color:var(--foreground); opacity:.7; line-height:1.35; }

/* ---- CTA block bajo secciones ---- */
.video-cta{ text-align:center; margin-top:2.5rem; }
.video-cta p{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(1.05rem,2.4vw,1.4rem); color:var(--foreground); margin-bottom:1.25rem;
}
@media (max-width:640px){
  .video-cta .btn-buy{ width:100%; }
}

/* ---- Benefits page hero CTA ---- */
.page-hero .btn-buy{ margin-top:1.75rem; }
@media (max-width:640px){ .page-hero .btn-buy{ width:100%; } }

/* ---- Fix general de overflow horizontal en móvil ---- */
@media (max-width:767px){
  html, body{ overflow-x:hidden; }
}
