:root{
  --bg:#f4f1ea;
  --bg-2:#fffaf3;
  --panel:#ffffff;
  --panel-2:#fff7ef;

  --txt:#141414;
  --txt-2:#242424;
  --muted:#5f6368;

  --line:#e8dfd2;
  --line-2:#d9cdbd;
  --soft:#f7efe5;

  --hot:#ff5b2e;
  --hot-2:#ff7a1a;
  --gold:#ffbf47;
  --lime:#6ddc36;
  --red:#ef4444;
  --green:#16a34a;
  --cyan:#00b8ff;

  --shadow-xl:0 22px 54px rgba(0,0,0,.14);
  --shadow-lg:0 12px 28px rgba(0,0,0,.10);
  --shadow-md:0 6px 18px rgba(0,0,0,.08);

  --radius-xl:28px;
  --radius-lg:22px;
  --radius-md:18px;
  --radius-sm:14px;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
  background:linear-gradient(180deg,#f7f2ea 0%,#fffaf3 100%);
  color:var(--txt);
  font-family:Arial, Helvetica, sans-serif;
  scroll-behavior:smooth;
}

img{display:block;max-width:100%}
button,input,select,textarea{font:inherit}

@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}

/* ===== CONTENEDOR GENERAL ===== */
.page-shell{
  max-width:920px;
  margin:0 auto;
  min-height:100vh;
  position:relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,122,26,.07) 0%, rgba(255,122,26,0) 24%),
    linear-gradient(180deg,#fffdf9 0%,#fff7ef 100%);
  box-shadow:0 24px 60px rgba(0,0,0,.10);
  padding-bottom:110px;
}

/* ===== BARRA DE IMPACTO ===== */
.impact-bar{
  position:sticky;
  top:0;
  z-index:1600;
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  text-align:center;
  background:linear-gradient(90deg,#ff4d00 0%,#ff7a1a 28%,#ffb300 100%);
  color:#111;
  font-size:12px;
  font-weight:1000;
  letter-spacing:.9px;
  text-transform:uppercase;
  box-shadow:0 10px 28px rgba(255,122,26,.18);
}

.impact-bar strong{
  color:#000;
}

/* ===== CHIP FLOTANTE SUPERIOR ===== */
.live-proof{
  position:fixed;
  top:68px;
  right:14px;
  z-index:1500;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  border:1px solid #eadfce;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:var(--shadow-md);
  color:#111827;
  font-size:11px;
  font-weight:900;
  letter-spacing:.3px;
}

.live-proof-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#ff3b30;
  box-shadow:0 0 0 8px rgba(255,59,48,.10);
  animation:pulseDot 1.8s infinite;
}

@keyframes pulseDot{
  0%{transform:scale(1)}
  50%{transform:scale(1.18)}
  100%{transform:scale(1)}
}

/* ===== HERO / ENTRADA ===== */
.hero-wrap{
  padding:14px 14px 10px;
}

.hero-box{
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:30px;
  background:linear-gradient(180deg,#ffffff 0%,#fff8f0 100%);
  box-shadow:var(--shadow-xl);
}

.hero-box::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,191,71,.15), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(0,184,255,.08), transparent 22%);
  pointer-events:none;
}

.hero-inner{
  position:relative;
  z-index:2;
  padding:20px 18px 18px;
}

.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:#111827;
  border:1px solid #111827;
  color:#fff;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.8px;
  text-transform:uppercase;
}

.hero-title{
  margin:14px 0 8px;
  font-size:34px;
  line-height:1.02;
  font-weight:1000;
  letter-spacing:-1px;
  color:#111827;
}

.hero-subtitle{
  margin:0;
  color:#374151;
  font-size:15px;
  line-height:1.65;
  font-weight:700;
}

.hero-benefits{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:18px;
}

.hero-benefit{
  min-height:72px;
  padding:12px 10px;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line);
  color:#1f2937;
  text-align:center;
  font-size:12px;
  font-weight:900;
  line-height:1.3;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:var(--shadow-md);
}

/* ===== MINI BLOQUE DE URGENCIA ===== */
.urgency-banner{
  margin:14px;
  border-radius:22px;
  border:1px solid #ffd1b8;
  background:linear-gradient(180deg,#fff1e8 0%,#ffe7d8 100%);
  color:#7c2d12;
  text-align:center;
  padding:14px 16px;
  box-shadow:0 10px 24px rgba(255,122,26,.10);
  font-size:14px;
  font-weight:900;
  line-height:1.45;
}

.urgency-banner strong{
  color:#dc2626;
}

/* ===== STACK DE IMÁGENES 9:16 ===== */
.story-stack{
  padding:0 12px 12px;
}

.story-card{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  border:1px solid #eadfce;
  background:#ffffff;
  box-shadow:0 14px 28px rgba(0,0,0,.08);
  margin:14px 0;
  content-visibility:auto;
  contain-intrinsic-size:900px 1500px;
}

.story-card.cta-trigger{
  cursor:pointer;
}

.story-card::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:38px;
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(0,0,0,.04));
  pointer-events:none;
}

.story-img{
  width:100%;
  height:auto;
  display:block;
  background:#fff;
}

.lazy-img{
  opacity:0;
  transition:opacity .28s ease;
}

.lazy-img.loaded{
  opacity:1;
}

/* ===== CTA STICKY ===== */
.action-dock{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:3000;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  pointer-events:none;
}

.action-dock-inner{
  max-width:920px;
  margin:0 auto;
}

.action-button{
  cursor: pointer;
  width:100%;
  min-height:68px;
  border:none;
  border-radius:999px;
  pointer-events:auto;
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#ff7a1a 0%,#ff5b2e 100%);
  color:#fff;
  font-size:17px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.6px;
  box-shadow:
    0 18px 34px rgba(255,91,46,.22),
    0 8px 18px rgba(0,0,0,.12);
}

.action-button small{
  display:block;
  margin-top:3px;
  font-size:11px;
  font-weight:900;
  color:rgba(255,255,255,.80);
  letter-spacing:.8px;
}

.action-button::after{
  content:"";
  position:absolute;
  top:-30%;
  left:-24%;
  width:34%;
  height:170%;
  transform:rotate(22deg);
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.22),rgba(255,255,255,0));
  animation:actionSweep 4.2s ease-in-out infinite;
}

@keyframes actionSweep{
  0%{transform:translateX(-200%) rotate(22deg)}
  100%{transform:translateX(480%) rotate(22deg)}
}

/* ===== FOMO ===== */
.proof-toast{
  position:fixed;
  left:12px;
  bottom:88px;
  z-index:2200;
  width:300px;
  max-width:calc(100vw - 24px);
  border-radius:22px;
  background:#ffffff;
  border:1px solid #eadfce;
  box-shadow:0 16px 30px rgba(0,0,0,.12);
  padding:12px;
  opacity:0;
  transform:translateY(18px) scale(.98);
  transition:all .35s ease;
}

.proof-toast.show{
  opacity:1;
  transform:translateY(0) scale(1);
}

.proof-top{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:6px;
}

.proof-icon{
  width:40px;
  height:40px;
  border-radius:50%;
  background:linear-gradient(180deg,#ff7a1a 0%,#ff5b2e 100%);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  font-weight:1000;
  flex:0 0 auto;
}

.proof-text{
  font-size:12px;
  font-weight:900;
  color:#111827;
  line-height:1.35;
}

.proof-time{
  font-size:11px;
  color:#6b7280;
  font-weight:800;
  margin-left:50px;
}

/* ===== FOOTER / CONTACTO ===== */
.footer-zone{
  padding:6px 12px 26px;
}

.contact-panel,
.legal-panel{
  border-radius:28px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,#ffffff 0%,#fff8f1 100%);
  box-shadow:var(--shadow-lg);
}

.contact-panel{
  margin-bottom:14px;
  padding:22px 18px;
  text-align:center;
}

.contact-panel h2{
  margin:0 0 8px;
  font-size:24px;
  font-weight:1000;
  letter-spacing:-.6px;
  color:#111827;
}

.contact-panel p{
  margin:0 0 16px;
  color:#4b5563;
  font-size:14px;
  line-height:1.6;
  font-weight:700;
}

.contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}

.btn-ghost,
.btn-solid{
  min-height:50px;
  padding:0 18px;
  border-radius:999px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:1000;
}

.btn-ghost{
  border:1px solid var(--line);
  background:#fff;
  color:#111827;
}

.btn-solid{
  border:none;
  background:linear-gradient(180deg,#ff7a1a 0%,#ff5b2e 100%);
  color:#fff;
}

.legal-panel{
  padding:18px 14px;
}

.legal-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  justify-content:center;
  margin-bottom:10px;
}

.legal-links a{
  color:#4b5563;
  font-size:13px;
  font-weight:800;
  text-decoration:underline;
}

.legal-mini{
  text-align:center;
  color:#6b7280;
  font-size:12px;
  line-height:1.5;
  font-weight:700;
}

/* ===== SISTEMA DE PANELES / SHEETS ===== */
.sheet{
  position:fixed;
  inset:0;
  z-index:5000;
  display:none;
}

.sheet.open{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
}

.sheet-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.42);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}

.sheet-panel{
  position:relative;
  width:100%;
  max-width:720px;
  max-height:min(86vh, 820px);
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  background:linear-gradient(180deg,#ffffff 0%,#fff8f1 100%);
  border-radius:28px;
  border:1px solid #eadfce;
  box-shadow:0 28px 64px rgba(0,0,0,.20);
}

.sheet-head{
  position:sticky;
  top:0;
  z-index:10;
  padding:12px 16px 10px;
  background:rgba(255,255,255,.95);
  border-bottom:1px solid #eee3d4;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.sheet-grip{
  width:54px;
  height:6px;
  border-radius:999px;
  background:#d7cbbb;
  margin:0 auto 10px;
}

.sheet-head-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.sheet-title{
  margin:0;
  color:#111827;
  font-size:22px;
  font-weight:1000;
  letter-spacing:-.5px;
}

.sheet-close{
  width:40px;
  height:40px;
  border-radius:50%;
  border:1px solid #eadfce;
  background:#fff;
  color:#111827;
  font-size:20px;
  cursor:pointer;
}

.sheet-body{
  padding:16px;
  color: #000 !important;
}

/* ===== OFERTAS ===== */
.offer-alert{
  border-radius:20px;
  padding:14px 16px;
  margin-bottom:14px;
  text-align:center;
  background:linear-gradient(180deg,#fff1e8 0%,#ffe6d8 100%);
  border:1px solid #ffd1b8;
  color:#7c2d12;
  font-size:13px;
  font-weight:1000;
  line-height:1.45;
}

.offer-grid{
  display:grid;
  gap:12px;
}

.offer-box{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  border:1px solid #eadfce;
  background:#fff;
  padding:14px;
  cursor:pointer;
  transition:.22s ease;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}

.offer-box.active{
  border-color:#ff7a1a;
  box-shadow:
    0 0 0 1px rgba(255,122,26,.20),
    0 18px 30px rgba(255,122,26,.10);
  transform:translateY(-1px);
}

.offer-box.best::before{
  content:"MÁS PEDIDO";
  position:absolute;
  top:1px;
  right:1px;
  min-height:26px;
  padding:0 10px;
  border-radius:999px;
  background:linear-gradient(180deg,#111827 0%,#1f2937 100%);
  color:#fff;
  font-size:10px;
  font-weight:1000;
  display:flex;
  align-items:center;
  letter-spacing:.5px;
}

.offer-head{
  display:flex;
  align-items:center;
  gap:12px;
}

.offer-visual{
  width:68px;
  height:68px;
  border-radius:18px;
  object-fit:cover;
  border:1px solid #eadfce;
  flex:0 0 auto;
  background:#fff;
}

.offer-copy{
  flex:1 1 auto;
  min-width:0;
}

.offer-title{
  color:#111827;
  font-size:16px;
  font-weight:1000;
  line-height:1.15;
}

.offer-sub{
  margin-top:6px;
  color:#6b7280;
  font-size:12px;
  font-weight:800;
}

.offer-price{
  text-align:right;
  flex:0 0 auto;
}

.offer-price-old{
  color:#9ca3af;
  font-size:11px;
  font-weight:900;
  text-decoration:line-through;
}

.offer-price-new{
  color:#111827;
  font-size:24px;
  font-weight:1000;
  letter-spacing:-.6px;
}

.offer-save{
  margin-top:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:#edf9e8;
  border:1px solid #cdeebe;
  color:#15803d;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.4px;
}

/* ===== RESUMEN OFERTA ===== */
.order-summary{
  margin-top:14px;
  border-radius:24px;
  padding:14px;
  background:#fff7ef;
  border:1px solid #eadfce;
}

.summary-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:7px 0;
  color:#374151;
  font-weight:900;
  font-size:14px;
}

.summary-line.total{
  margin-top:4px;
  padding-top:12px;
  border-top:1px solid #eadfce;
  color:#111827;
  font-size:26px;
}

.summary-line.free{
  color:#15803d;
}

.offer-cta{
  width:100%;
  min-height:58px;
  margin-top:14px;
  border:none;
  border-radius:999px;
  background:linear-gradient(180deg,#ff7a1a 0%,#ff5b2e 100%);
  color:#fff;
  font-size:15px;
  font-weight:1000;
  letter-spacing:.5px;
  box-shadow:0 14px 24px rgba(255,91,46,.18);
}

.offer-note{
  margin-top:10px;
  text-align:center;
  color:#6b7280;
  font-size:12px;
  font-weight:800;
}

.offer-safe{
  margin-top:8px;
  text-align:center;
  color:#15803d;
  font-size:12px;
  font-weight:1000;
}

/* ===== FORMULARIO ===== */
.form-panel{
  border-radius:26px;
  border:1px solid #eadfce;
  background:#fff;
  padding:16px;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}

.form-callout{
  border-radius:20px;
  padding:14px;
  margin-bottom:14px;
  background:linear-gradient(180deg,#eef8ff 0%,#e3f4ff 100%);
  border:1px solid #c9ebff;
  color:#0f172a;
  font-size:13px;
  line-height:1.5;
  font-weight:800;
}

.ajaxMsg{
  display:none;
  margin-bottom:14px;
  border-radius:18px;
  font-weight:900;
  padding:14px;
}

.field{
  margin-bottom:12px;
}

.field label{
  display:block;
  margin:0 0 8px;
  color:#111827;
  font-size:13px;
  font-weight:1000;
}

.field input,
.field select,
.field textarea{
  width:100%;
  min-height:52px;
  border-radius:18px;
  border:1px solid #ddd6ce;
  background:#fff;
  color:#111827;
  padding:0 14px;
  outline:none;
  box-shadow:none;
  font-weight:900;
}

.field input::placeholder,
.field textarea::placeholder{
  color:#9ca3af;
}

.field textarea{
  min-height:108px;
  padding:12px 14px;
  resize:vertical;
}

.field select option{
  color:#111;
}

.readonly-lite{
  background:#f9fafb !important;
  color:#6b7280 !important;
}

.agree-box{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:12px;
  border-radius:18px;
  background:#fff7ef;
  border:1px solid #eadfce;
  margin:12px 0 0;
}

.agree-box input{
  width:20px;
  height:20px;
  margin-top:2px;
  accent-color:#ff5b2e;
}

.agree-box label{
  margin:0;
  color:#4b5563;
  font-size:12px;
  line-height:1.42;
  font-weight:800;
}

.form-submit{
  width:100%;
  min-height:58px;
  margin-top:14px;
  border:none;
  border-radius:999px;
  background:linear-gradient(180deg,#ff7a1a 0%,#ff5b2e 100%);
  color:#fff;
  font-size:15px;
  font-weight:1000;
  letter-spacing:.5px;
  box-shadow:0 14px 24px rgba(255,91,46,.18);
}

.form-ssl{
  margin-top:12px;
  text-align:center;
  font-size:11px;
  color:#6b7280;
  font-weight:800;
}

.hp-wrap{
  position:absolute;
  left:-9999px;
  top:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* ===== UPSELL / SUCCESS ===== */
.upsell-wrap{
  text-align:center;
}

.upsell-check{
  font-size:54px;
  line-height:1;
  margin-bottom:10px;
}

.upsell-ok{
  margin:0;
  color:#111827;
  font-size:24px;
  font-weight:1000;
}

.upsell-meta{
  margin:8px 0 18px;
  color:#6b7280;
  font-size:14px;
  font-weight:700;
  line-height:1.5;
}

.upsell-box{
  border-radius:26px;
  border:1px solid #eadfce;
  background:#fff;
  padding:18px;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}

.upsell-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 14px;
  border-radius:999px;
  background:linear-gradient(180deg,#ffc247 0%,#ffad0f 100%);
  color:#2d1900;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.5px;
  margin-bottom:12px;
}

.upsell-box h4{
  margin:0 0 10px;
  color:#111827;
  font-size:20px;
  font-weight:1000;
}

.upsell-alert{
  margin-bottom:14px;
  border-radius:18px;
  padding:12px;
  background:#fff7ef;
  border:1px solid #eadfce;
  color:#4b5563;
  font-size:13px;
  line-height:1.45;
  font-weight:800;
  text-align:left;
}

.upsell-product{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
  border-radius:20px;
  padding:12px;
  background:#fff;
  border:1px solid #eadfce;
  text-align:left;
}

.upsell-product img{
  width:88px;
  height:88px;
  border-radius:18px;
  object-fit:cover;
  border:1px solid #eadfce;
  flex:0 0 auto;
}

.upsell-product h5{
  margin:0 0 6px;
  color:#111827;
  font-size:16px;
  font-weight:1000;
}

.upsell-product p{
  margin:0;
  color:#6b7280;
  font-size:12px;
  line-height:1.45;
  font-weight:700;
}

.upsell-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.upsell-add,
.upsell-view,
.upsell-no{
  width:100%;
  min-height:52px;
  border-radius:999px;
  font-size:14px;
  font-weight:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.upsell-add{
  background:linear-gradient(180deg,#ff7a1a 0%,#ff5b2e 100%);
  color:#fff;
  border:none;
}

.upsell-view{
  background:#fff;
  color:#111827;
  border:1px solid #eadfce;
}

.upsell-no{
  background:#fff7ef;
  color:#9a3412;
  border:1px solid #eadfce;
}

.final-success{
  text-align:center;
  padding:10px 0 0;
}

.final-success h3{
  margin:0 0 10px;
  color:#111827;
  font-size:24px;
  font-weight:1000;
}

.final-success p{
  margin:0 0 16px;
  color:#6b7280;
  font-size:14px;
  font-weight:700;
  line-height:1.5;
}

.final-total-box{
  border-radius:24px;
  padding:16px;
  background:#fff7ef;
  border:1px solid #eadfce;
}

.final-total-box p:first-child{
  margin:0 0 6px;
  color:#6b7280;
  font-size:13px;
  font-weight:800;
}

#finalTotalSpan{
  margin:0;
  color:#111827;
  font-size:30px;
  font-weight:1000;
}

/* ===== RESPONSIVE ===== */
@media (max-width:680px){
  .hero-title{font-size:28px}
  .hero-benefits{grid-template-columns:1fr}
  .live-proof{top:62px;right:10px}
  .proof-toast{bottom:84px}
  .page-shell{padding-bottom:104px}

  .sheet.open{
    align-items:flex-end;
    padding:10px;
  }

  .sheet-panel{
    max-height:88vh;
    border-radius:24px 24px 0 0;
  }
}

@media (max-width:420px){
  .impact-bar{font-size:11px;min-height:50px}
  .hero-inner{padding:16px 14px 14px}
  .sheet-title{font-size:19px}
  .offer-price-new{font-size:22px}
}