/* ============================================
   Reto Anti-Hinchazón 14 Días — Static styles
   ============================================ */

:root{
  --bg:#ffffff;
  --fg:#151515;
  --muted:#5d6d62;
  --surface:#f4faf6;
  --surface-2:#f7fbf8;
  --sage:#88a28b;
  --sage-deep:#56715a;
  --sage-darker:#455d49;
  --line:#d9e6dc;
  --gold:#e0b23f;
  --dark:#0f1c12;
  --radius:1.25rem;
  --shadow:0 1px 2px rgba(20,30,22,.03), 0 12px 32px -20px rgba(20,30,22,.12);
  --shadow-btn:0 8px 24px -12px rgba(86,113,90,.55);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:"Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  padding-bottom:88px; /* sticky cta space */
}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
ul{margin:0;padding:0;list-style:none}

h1,h2,h3,h4{font-family:"Lora", Georgia, serif;font-weight:600;letter-spacing:-.01em;margin:0;line-height:1.15}
h1{font-size:clamp(2rem,5vw,3.25rem);line-height:1.05}
h2{font-size:clamp(1.75rem,4vw,3rem)}
h3{font-size:1.35rem}
p{margin:0}

/* Layout helpers */
.container{width:100%;max-width:76rem;margin-inline:auto;padding-inline:1.25rem}
.narrow{max-width:48rem}
.center{text-align:center}
.mt-40{margin-top:2.5rem}
.hide-sm{display:none}
@media (min-width:640px){
  .hide-sm{display:inline}
  .hide-sm-inline{display:inline-flex}
}
.dot{opacity:.5}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  border-radius:999px;font-weight:600;font-size:.95rem;
  padding:.95rem 1.5rem;border:1px solid transparent;cursor:pointer;
  transition:transform .15s, background .2s, box-shadow .2s;
  text-align:center;
}
.btn:hover{transform:translateY(-1px)}
.btn--primary{background:var(--sage-deep);color:#fff;box-shadow:var(--shadow-btn)}
.btn--primary:hover{background:var(--sage-darker)}
.btn--secondary{background:#fff;color:var(--sage-deep);border-color:var(--line)}
.btn--secondary:hover{background:var(--surface)}
.btn--white{background:#fff;color:var(--sage-deep)}
.btn--white:hover{background:#f3f3f3}
.btn--sm{padding:.6rem 1rem;font-size:.875rem}
.btn--block{display:flex;width:100%;padding:1rem 1.5rem;font-size:1rem}

/* Top bar */
.topbar{background:var(--sage-deep);color:#fff;font-size:.8rem}
.topbar__inner{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem;text-align:center;flex-wrap:wrap}
@media (min-width:640px){.topbar{font-size:.875rem}}

/* Header */
.header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.85);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.header__inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{font-family:"Lora",serif;font-size:1.15rem;font-weight:600}
.logo span{color:var(--sage-deep)}
.nav{display:none;gap:1.75rem;font-size:.9rem;color:var(--muted)}
.nav a:hover{color:var(--fg)}
@media (min-width:768px){.nav{display:flex}}
.hide-sm-inline{display:none}
.menu-toggle{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;background:none;border:0;padding:8px;cursor:pointer}
.menu-toggle span{display:block;width:22px;height:2px;background:var(--fg)}
@media (min-width:768px){.menu-toggle{display:none}}

.mobile-nav{display:flex;flex-direction:column;gap:.5rem;padding:1rem 1.25rem;border-top:1px solid var(--line);background:#fff}
.mobile-nav a{padding:.4rem 0;font-size:.95rem}


/* Corrección: impedir que el menú móvil quede abierto en la página */
.mobile-nav[hidden]{
  display:none !important;
}

@media (min-width:768px){
  .mobile-nav{
    display:none !important;
  }
}
/* Pill */
.pill{display:inline-flex;align-items:center;gap:.5rem;background:#fff;border:1px solid var(--line);border-radius:999px;padding:.4rem .9rem;font-size:.75rem;font-weight:500;color:var(--sage-deep)}
.pill__dot{width:6px;height:6px;border-radius:50%;background:var(--sage)}
.pill--small{font-size:.75rem;background:var(--surface)}

/* Hero */
.hero{position:relative;overflow:hidden;background:linear-gradient(180deg,var(--surface),#fff 70%)}
.hero__grid{display:grid;grid-template-columns:1fr;gap:2.5rem;padding:3rem 1.25rem 4rem;align-items:center}
@media (min-width:768px){
  .hero__grid{grid-template-columns:1fr 1fr;gap:3.5rem;padding:5rem 1.25rem 6rem}
}
.hero__copy h1{margin-top:1.25rem}
.lead{margin-top:1rem;color:var(--muted);font-size:1.05rem;max-width:36rem}
.lead--muted{color:rgba(255,255,255,.7)}
.checklist{margin-top:1.5rem;display:flex;flex-direction:column;gap:.6rem;font-size:.95rem}
.checklist li{display:flex;align-items:flex-start;gap:.6rem}
.checklist li::before{
  content:"✓";flex:none;display:inline-flex;align-items:center;justify-content:center;
  width:20px;height:20px;border-radius:50%;background:var(--surface);color:var(--sage-deep);
  font-size:.7rem;font-weight:700;margin-top:2px;
}
.cta-row{margin-top:2rem;display:flex;flex-wrap:wrap;gap:.75rem}
.fineprint{margin-top:1rem;font-size:.75rem;color:var(--muted)}

.hero__media{position:relative}
.hero__media-bg{position:absolute;inset:-1.5rem;background:var(--surface);border-radius:2rem;z-index:0}
.hero__media img{position:relative;border-radius:1.25rem;z-index:1}

/* Sections */
.section{padding:5rem 0}
@media (min-width:640px){.section{padding:7rem 0}}
.section--white{background:#fff}
.section--surface{background:var(--surface)}
.section--surface-light{background:var(--surface)}
.section--dark{background:var(--dark);color:#fff}
.section__head{max-width:48rem}
.section__head .lead{margin-top:.75rem}

/* Cards */
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.75rem}
.card h3{margin-top:.5rem}
.card p{margin-top:.6rem;color:var(--muted);font-size:.95rem}
.step{font-size:.7rem;font-weight:700;letter-spacing:.18em;color:var(--sage-deep)}

.grid-2,.grid-3,.grid-4{display:grid;gap:1.25rem;margin-top:2.5rem}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}
.grid-4{grid-template-columns:1fr}
@media (min-width:640px){
  .grid-2{grid-template-columns:1fr 1fr}
  .grid-3{grid-template-columns:1fr 1fr}
  .grid-4{grid-template-columns:1fr 1fr}
}
@media (min-width:960px){
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .grid-4{grid-template-columns:repeat(4,1fr)}
}

/* Problema */
.problema__grid{display:grid;grid-template-columns:1fr;gap:2rem;margin-top:3rem;align-items:stretch}
@media (min-width:768px){.problema__grid{grid-template-columns:1fr 1fr}}
.problema__img{border-radius:1.5rem;overflow:hidden;border:1px solid var(--line)}
.problema__img img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/5}
.card-dark{background:var(--sage-deep);color:#fff;border-radius:1.5rem;padding:2rem;display:flex;flex-direction:column}
.card-dark h3{font-size:1.5rem}
.bulleted{margin-top:1.25rem;display:flex;flex-direction:column;gap:.75rem;font-size:.95rem;color:rgba(255,255,255,.9)}
.bulleted li{position:relative;padding-left:1rem}
.bulleted li::before{content:"";position:absolute;left:0;top:.65em;width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.7)}
.card-dark__quote{margin-top:1.5rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:1rem;padding:1.1rem;font-size:.95rem}
.card-dark__quote strong{display:block;margin-bottom:.25rem;font-family:"Lora",serif;font-size:1.1rem}
.card-dark .btn{align-self:flex-start;margin-top:1.5rem}

/* Inside product */
.inside__img{margin-top:3rem;border-radius:1.5rem;overflow:hidden;border:1px solid rgba(255,255,255,.1)}
.card-glass{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);border-radius:1rem;padding:1.5rem}
.card-glass h3{font-size:1.15rem;margin-top:.4rem}
.card-glass p{margin-top:.5rem;color:rgba(255,255,255,.7);font-size:.875rem}
.tag{font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:var(--sage);font-weight:700}

/* Lists check / x */
.list-check{list-style:none}
.list-check .card{display:flex;align-items:flex-start;gap:.75rem;padding:1.1rem 1.2rem;font-size:.95rem}
.list-check .card::before{
  content:"✓";flex:none;width:24px;height:24px;border-radius:50%;background:var(--surface);
  color:var(--sage-deep);display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:.8rem;
}
.list-x{display:grid;gap:1rem;grid-template-columns:1fr;margin-top:2.5rem}
@media (min-width:640px){.list-x{grid-template-columns:1fr 1fr}}
.list-x li{display:flex;align-items:flex-start;gap:.75rem;background:#fff;border:1px solid var(--line);border-radius:1rem;padding:1.1rem 1.2rem;color:var(--muted);font-size:.95rem}
.list-x li::before{
  content:"×";flex:none;width:24px;height:24px;border-radius:50%;background:var(--surface);
  color:var(--muted);display:inline-flex;align-items:center;justify-content:center;font-weight:700;
}

/* Testimonios */
.stars{color:var(--gold);letter-spacing:2px;font-size:1rem}
.card .card figcaption strong{display:block;font-size:.9rem}
.card figcaption small{display:block;color:var(--muted);font-size:.75rem}
.card /* Oferta */
.oferta__grid{display:grid;grid-template-columns:1fr;gap:2.5rem;margin-top:3rem;align-items:center}
@media (min-width:768px){.oferta__grid{grid-template-columns:1fr 1fr}}
/* Garantía */

/* Oferta final: card premium estilo checkout */
.oferta__card--premium{
  padding:2.25rem;
  border-radius:1.5rem;
  border:1px solid var(--line);
  box-shadow:0 18px 45px -26px rgba(20,30,22,.22);
  background:#fff;
}

.offer-kicker{
  display:inline-flex;
  color:var(--sage-deep);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin-bottom:.65rem;
}

.oferta__card--premium h3{
  font-family:"Inter", system-ui, sans-serif;
  font-size:clamp(1.4rem,3vw,1.75rem);
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.12;
}

.offer-social{
  margin-top:1.05rem;
  display:flex;
  align-items:center;
  gap:.85rem;
}

.avatar-stack{
  display:flex;
  align-items:center;
  flex:none;
}

.avatar-stack img{
  width:34px;
  height:34px;
  border-radius:999px;
  object-fit:cover;
  border:2px solid #fff;
  box-shadow:0 6px 16px -10px rgba(20,30,22,.45);
  margin-right:-9px;
  background:var(--surface);
}

.offer-rating{
  min-width:0;
  display:grid;
  gap:.1rem;
  font-size:.86rem;
  color:var(--fg);
}

.offer-rating strong{
  font-weight:800;
  color:var(--fg);
}

.offer-rating small{
  display:block;
  color:var(--muted);
  line-height:1.25;
}

.offer-price{
  margin-top:1.45rem;
  display:flex;
  align-items:flex-end;
  gap:.75rem;
  flex-wrap:wrap;
}

.price-value{
  font-family:"Inter", system-ui, sans-serif;
  color:var(--fg);
  font-size:clamp(3rem,7vw,4.25rem);
  line-height:.95;
  letter-spacing:-.07em;
  font-weight:900;
}

.currency-info{
  max-width:18rem;
  padding-bottom:.45rem;
  color:var(--muted);
  font-size:.85rem;
  font-weight:600;
  line-height:1.3;
}

.coupon-panel{
  margin-top:1.15rem;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:1rem;
  padding:.95rem 1rem;
  color:var(--sage-deep);
  display:grid;
  gap:.2rem;
}

.coupon-panel strong{
  font-size:.9rem;
  font-weight:800;
}

.coupon-panel span{
  font-size:.88rem;
  color:var(--muted);
}

.coupon-panel b{
  color:var(--sage-deep);
}

.offer-divider{
  height:1px;
  background:var(--line);
  margin:1.5rem 0;
}

.oferta__card--premium h4{
  font-family:"Inter", system-ui, sans-serif;
  font-size:.96rem;
  font-weight:800;
  margin-bottom:1rem;
}

.offer-list{
  margin-top:0;
  gap:.75rem;
}

.oferta__card--premium .btn{
  margin-top:1.6rem;
}

.offer-support-note{
  margin-top:1rem;
  background:#f5f9f6;
  border-radius:1rem;
  color:var(--muted);
  text-align:center;
  padding:1rem 1.15rem;
  font-size:.9rem;
  line-height:1.45;
}

@media (max-width:640px){
  .oferta__card--premium{
    padding:1.35rem;
  }

  .offer-social{
    align-items:flex-start;
  }

  .avatar-stack img{
    width:31px;
    height:31px;
  }

  .currency-info{
    padding-bottom:0;
  }
}

/* FAQ */
.faq{margin-top:2.5rem;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line);padding:1.1rem 0}
.faq summary{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;cursor:pointer;list-style:none;font-weight:500}
.faq summary::-webkit-details-marker{display:none}
.faq .plus{flex:none;width:26px;height:26px;border-radius:50%;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;color:var(--sage-deep);transition:transform .2s;font-size:1rem}
.faq details[open] .plus{transform:rotate(45deg)}
.faq details p{margin-top:.75rem;color:var(--muted);font-size:.95rem;padding-right:2.5rem}

/* Footer */
.footer{background:var(--surface-2);border-top:1px solid var(--line);padding:3.5rem 0 7rem}
.footer__inner{display:flex;flex-direction:column;gap:2rem;justify-content:space-between}
@media (min-width:768px){.footer__inner{flex-direction:row;align-items:flex-start}}
.footer p{margin-top:.5rem;color:var(--muted);font-size:.875rem;max-width:24rem}
.footer__links{display:grid;grid-template-columns:1fr 1fr;gap:.5rem 3rem;font-size:.875rem}
.footer__links a{color:var(--muted)}
.footer__links a:hover{color:var(--fg)}
.footer__legal{margin-top:2.5rem;font-size:.75rem;color:var(--muted);max-width:48rem}

/* Sticky CTA */
.sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:40;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);border-top:1px solid var(--line);padding:.6rem 0}
.sticky-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.sticky-cta__title{font-size:.875rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sticky-cta__title span{color:var(--sage-deep)}
.sticky-cta__sub{font-size:.7rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}


@media (max-width:640px){
  .sticky-cta{
    padding:.45rem 0;
  }
  .sticky-cta__title{
    font-size:.78rem;
  }
  .sticky-cta__sub{
    font-size:.65rem;
  }
}
