/* =====================================================================
   SABORES DEL MUNDO — Landing Recetas Digitales
   Sistema de diseño basado en el brief
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --orange:        #FF6B00;
  --orange-deep:   #E85A00;
  --orange-soft:   #FF8533;
  --lime:          #22C55E;
  --lime-deep:     #16A34A;
  --black:         #1A1A1A;
  --ink:           #2B2B2B;
  --muted:         #6B6B6B;
  --cream:         #FFF8F0;
  --cream-warm:    #FCEDD8;
  --white:         #FFFFFF;
  --pattern-opacity: 0.12;

  /* Bonus accents */
  --bonus-purple:  #6B46C1;
  --bonus-orange:  #F97316;
  --bonus-red:     #DC2626;
  --bonus-green:   #166534;
  --bonus-blue:    #1E40AF;

  --radius-pill:   999px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --shadow-card:   0 10px 30px rgba(26,26,26,.10);
  --shadow-cta:    0 8px 24px rgba(34,197,94,.45);
  --shadow-cta-hover: 0 12px 30px rgba(34,197,94,.55);

  --max:           1180px;
  --gutter:        clamp(20px, 4vw, 56px);
  --section-pad:   clamp(56px, 8vw, 110px);
}

/* Overflow horizontal — kill switch total */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
* { box-sizing: border-box; }
section { max-width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg, image-slot { display: block; max-width: 100%; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section-pad) 0; position: relative; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- Pill / Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(255,107,0,.35);
  white-space: normal;
  width: fit-content;
  max-width: 100%;
  word-break: break-word;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(34,197,94,.25); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .005em;
  color: var(--white);
  background: var(--lime);
  border: 0;
  padding: 18px 32px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-align: center;
  box-shadow: var(--shadow-cta), inset 0 -3px 0 rgba(0,0,0,.12);
  transition: box-shadow .2s ease, background .2s ease;
  position: relative;
}
.btn:hover {
  background: var(--lime-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover), inset 0 -3px 0 rgba(0,0,0,.18);
}
.btn:active { transform: translateY(0); }
.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--xl { font-size: 20px; padding: 22px 40px; }
.btn--block { display: flex; width: 100%; }
.btn--orange { background: var(--orange); box-shadow: 0 8px 24px rgba(255,107,0,.45), inset 0 -3px 0 rgba(0,0,0,.12); }
.btn--orange:hover { background: var(--orange-deep); box-shadow: 0 12px 30px rgba(255,107,0,.55), inset 0 -3px 0 rgba(0,0,0,.18); }

/* ---------- Scroll arrow under CTA ---------- */
.scroll-hint {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}
.scroll-hint .chev {
  width: 22px; height: 22px;
  border-right: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  transform: rotate(45deg);
  animation: bounce-down 1.6s ease-in-out infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: .5; }
  50%      { transform: translateY(8px) rotate(45deg); opacity: 1; }
}

/* ---------- Diamond pattern background ---------- */
.bg-orange {
  background-color: var(--orange);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'><g fill='none' stroke='white' stroke-width='1.2' opacity='0.16'><polygon points='32,4 60,32 32,60 4,32'/><polygon points='32,18 46,32 32,46 18,32'/></g></svg>");
  background-size: 64px 64px;
  color: var(--white);
}
.bg-orange.dense {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><g fill='none' stroke='white' stroke-width='1.1' opacity='0.18'><polygon points='24,3 45,24 24,45 3,24'/></g></svg>");
  background-size: 48px 48px;
}
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }

/* Section heading */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.bg-orange .eyebrow { color: var(--cream); opacity: .85; }
h1.h1 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 900; }
h2.h2 { font-size: clamp(26px, 3.5vw, 42px); font-weight: 900; }
h3.h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.h-accent { color: var(--orange); }
.bg-orange .h-accent { color: #FFE7CC; }
.lede { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.7; color: var(--ink); opacity: .92; max-width: 60ch; }
.bg-orange .lede { color: rgba(255,255,255,.92); }

/* =====================================================================
   SECTION 1 — HERO
   ===================================================================== */
.hero { background: var(--cream); padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(56px, 7vw, 100px); }
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "top    visual"
    "bottom visual";
  column-gap: clamp(32px, 5vw, 72px);
  row-gap: 16px;
}
.hero__text-top    { grid-area: top;    align-self: end; }
.hero__text-bottom { grid-area: bottom; align-self: start; padding-top: 4px; display: flex; flex-direction: column; align-items: center; }
.hero__visual      { grid-area: visual; align-self: center; width: 100%; }
.hero__cta-wrap    { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__mock {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
}
@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "visual"
      "bottom";
    gap: 20px;
  }
  .hero__visual {
    width: calc(100% + 2 * var(--gutter));
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
  }
  .hero__mock {
    aspect-ratio: 3 / 2;
    width: 100%;
    border-radius: 0;
  }
  .hero__text-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero__text-bottom .hero__cta-wrap {
    align-items: center;
    margin-top: 8px;
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .hero__text-bottom .btn {
    width: auto;
    align-self: center;
  }
}

/* Prueba social hero */
.hero__social-proof {
  display: inline-block;
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  opacity: .75;
  letter-spacing: .02em;
}
.hero__img-mobile  { display: none; }
.hero__img-desktop { display: block; width: 100%; height: 100%; }
/* =====================================================================
   SECTION 2 — PROBLEMS
   ===================================================================== */
.problems__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "top    img"
    "bottom img";
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.problems__top    { grid-area: top; }
.problems__bottom { grid-area: bottom; }
.problems h2 { margin-bottom: 0; max-width: 18ch; }
.problems__img {
  grid-area: img;
  align-self: center;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}
.problems__img::before, .problems__img::after {
  display: none;
}
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.problem-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,.95);
}
.problem-item > span:not(.x) {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,.95);
}
.problem-item .x {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px;
  flex: none;
}
.problems__close {
  margin-top: 32px;
  padding: 22px 26px;
  background: rgba(0,0,0,.18);
  border-left: 4px solid var(--lime);
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  max-width: 38em;
}

/* =====================================================================
   SECTION 5 — HISTORY / SINDY
   ===================================================================== */
.history__logo { display: inline-block; margin-bottom: 18px; }
.history__inner { max-width: 760px; margin: 0 auto; }
.history__text  { display: flex; flex-direction: column; align-items: flex-start; }
.history__avatar-wrap {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.history__avatar-wrap image-slot {
  border: 3px solid rgba(255,255,255,1);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  border-radius: 50%;
}
.history__body { margin-top: 18px; }
.history__body p {
  margin-bottom: 12px;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.92);
  text-shadow: 1px 1px 5px rgba(0,0,0,.65);
}
.history__body p:last-of-type { font-weight: 600; font-size: 16px; margin-bottom: 0; }
.history__body p .num { color: #FFE7CC; font-weight: 900; }
.history h2.h2 { text-shadow: 1px 1px 5px rgba(0,0,0,.65); }
mark.h-quote { text-shadow: none; }
mark.h-quote {
  background: rgba(255,231,204,.18);
  color: #FFE7CC;
  padding: 1px 4px;
  border-radius: 4px;
  font-style: italic;
  font-weight: 600;
}

/* =====================================================================
   SECTION 4 — PREVIEW (carrusel)
   ===================================================================== */
.preview { background: var(--cream); text-align: center; overflow: hidden; }
.preview h2 { margin: 0 auto 14px; max-width: 18ch; }
.preview .lede { margin: 0 auto; }

/* Ventana del carrusel — borde a borde, sin scroll del usuario */
.carousel-track-wrap {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  cursor: default;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
/* Track: fila de imágenes que se desplazan */
.carousel-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee-scroll 50s linear infinite;
}
/* Ya NO pausar al pasar el mouse */
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Tarjeta individual */
.carousel-card {
  width: 240px;
  height: 340px;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  flex: none;
  display: block;
}
@media (max-width: 768px) {
  .carousel-card { width: 180px; height: 260px; }
  .carousel-track { gap: 12px; }
}
.recipe-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
  transition: transform .25s ease;
}
.recipe-card:hover { transform: translateY(-4px); }
.recipe-card__img { aspect-ratio: 4 / 3; background: var(--cream-warm); position: relative; }
.recipe-card__body { padding: 18px 20px 22px; }
.recipe-card__tag {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 6px; display: block;
}
.recipe-card__title { font-size: 19px; font-weight: 800; color: var(--black); margin-bottom: 8px; }
.recipe-card__meta {
  display: flex; gap: 14px; font-size: 13px; color: var(--muted); font-weight: 500;
}
.recipe-card__meta b { color: var(--ink); font-weight: 700; }

/* =====================================================================
   SECTION 5 — TESTIMONIALS
   ===================================================================== */
.testimonials { background: var(--white); text-align: center; }
.testimonials h2 { margin-bottom: 48px; }
.test-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: left;
}
@media (max-width: 1024px) { .test-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .test-grid { grid-template-columns: 1fr; } }
.test-card {
  background: var(--black);
  color: var(--white);
  border-radius: 16px;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  position: relative;
}
.test-card__head { display: flex; align-items: center; gap: 10px; }
.test-card__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  display: grid; place-items: center;
  font-weight: 800; color: var(--white); font-size: 15px;
  flex: none;
  overflow: hidden;
}
.test-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}
.test-card__who { display: flex; flex-direction: column; line-height: 1.25; }
.test-card__name { font-weight: 700; font-size: 14.5px; }
.test-card__country { font-size: 12px; color: rgba(255,255,255,.6); }
.test-card__stars { color: #FFC83D; letter-spacing: 2px; font-size: 14px; }
.test-card__quote { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.92); }
.test-card__quote mark { background: rgba(255,200,61,.22); color: #FFE08A; padding: 0 3px; border-radius: 3px; font-weight: 600; }

/* =====================================================================
   SECTION 6 — PARA QUIÉN ES / NO ES
   ===================================================================== */
.fitfor { background: #1A1A1A; color: var(--white); }
.fitfor .eyebrow { color: rgba(255,255,255,.5); }
.fitfor h2.h2 { color: var(--white); }
.fitfor__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .fitfor__grid { grid-template-columns: 1fr; } }
.fitfor__col { border-radius: 20px; padding: clamp(28px, 3vw, 40px); }
.fitfor__col--yes { background: rgba(34,197,94,.10); border: 1.5px solid rgba(34,197,94,.30); }
.fitfor__col--no  { background: rgba(255,71,71,.08);  border: 1.5px solid rgba(255,71,71,.25); }
.fitfor__col-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.fitfor__icon  { font-size: 28px; line-height: 1; }
.fitfor__title { font-size: clamp(18px, 2vw, 22px); font-weight: 800; color: var(--white); margin: 0; }
.fitfor__list  { display: flex; flex-direction: column; gap: 14px; }
.fitfor__item  { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.88); }
.fitfor__check { color: #22C55E; font-weight: 900; font-size: 16px; margin-top: 1px; }
.fitfor__x     { color: #FF4747;  font-weight: 900; font-size: 16px; margin-top: 1px; }

/* =====================================================================
   SECTION 7 — BENEFITS
   ===================================================================== */
.benefits__img {
  aspect-ratio: 5 / 4;
  border-radius: 22px;
  overflow: hidden;
}
.benefits__list { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 32px; }
.benefits__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 16.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.96);
}
.benefits__item .check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--lime);
  display: grid; place-items: center;
  flex: none;
}
.benefits__item .check svg { width: 16px; height: 16px; }

/* =====================================================================
   SECTION 7 — STATS
   ===================================================================== */
.stats { text-align: center; }
.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
  margin: 40px 0 36px;
}
@media (max-width: 860px) { .stats__grid { grid-template-columns: 1fr; gap: 28px; } }
/* Stats mock ya no se usa */
.stat__num {
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  letter-spacing: -.03em;
}
.stat__label {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.stats__mock {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
}
.stats__seal {
  width: clamp(180px, 18vw, 240px);
  height: clamp(180px, 18vw, 240px);
  aspect-ratio: 1;
  margin: 28px auto 0;
}

/* =====================================================================
   SECTION 8 — BONUSES
   ===================================================================== */
.bonuses { background: var(--cream); }
.bonuses h2 { text-align: center; margin-bottom: 14px; color: var(--orange); }
.bonuses__sub { text-align: center; max-width: 44ch; margin: 0 auto 56px; color: var(--ink); opacity: .8; font-size: clamp(16px, 1.8vw, 20px); font-weight: 500; line-height: 1.5; }
.bonus {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(32px, 4vw, 56px);
  border-radius: 24px;
  margin-bottom: 28px;
  color: var(--white);
}
.bonus:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .bonus { grid-template-columns: 1fr; } }
.bonus--purple { background: linear-gradient(135deg, #7E3FCB, #4C1D95); }
.bonus--orange { background: linear-gradient(135deg, #FB923C, #C2410C); }
.bonus--red    { background: linear-gradient(135deg, #EF4444, #991B1B); }
.bonus--green  { background: linear-gradient(135deg, #16A34A, #14532D); }
.bonus--blue   { background: linear-gradient(135deg, #3B82F6, #1E3A8A); }

.bonus__img {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none !important;
}
.bonus__tag {
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 8px; display: inline-block;
}
.bonus__title { font-size: clamp(24px, 2.8vw, 34px); font-weight: 900; margin-bottom: 12px; }
.bonus__desc { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.92); margin-bottom: 18px; }
.bonus__perfect {
  font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.95);
  background: rgba(0,0,0,.18);
  padding: 14px 18px; border-radius: 12px;
  border-left: 3px solid rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.bonus__perfect b { color: var(--white); display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.bonus__value {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(0,0,0,.28);
  padding: 12px 20px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 15px; letter-spacing: .04em;
}
.bonus__value .strike { color: rgba(255,255,255,.55); text-decoration: line-through; }
.bonus__value .free { color: #FFE08A; font-weight: 900; letter-spacing: .08em; }

/* =====================================================================
   SECTION 9 — OFFER / PRICE / TIMER
   ===================================================================== */
.offer { padding-bottom: clamp(56px, 8vw, 110px); }
.offer__top {
  text-align: center;
  margin-bottom: 36px;
}
.offer__mock {
  width: clamp(280px, 55vw, 620px);
  aspect-ratio: 5 / 4;
  margin: 0 auto 28px;
}
.offer__urgency-label {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.offer__urgency-label .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FF4747;
  box-shadow: 0 0 0 0 rgba(255,71,71,.7);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,71,71,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255,71,71,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,71,71,0); }
}

.countdown {
  display: flex; justify-content: center; gap: 10px;
  margin: 0 auto 14px;
}
.countdown__cell {
  background: linear-gradient(180deg, #1a1a1a, #000);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  padding: 14px 18px 10px;
  border-radius: 12px;
  min-width: 84px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0,0,0,.4);
}
.countdown__num {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900; line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.countdown__lbl {
  margin-top: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
@media (max-width: 540px) {
  .countdown__cell { min-width: 64px; padding: 12px 10px 8px; }
}

.offer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 860px) { .offer__grid { grid-template-columns: 1fr; } }
.offer-card {
  border-radius: 22px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--white);
  color: var(--ink);
  display: flex; flex-direction: column;
  box-shadow: 0 30px 70px rgba(0,0,0,.30);
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}
.offer-card h3 { color: var(--black); margin-bottom: 18px; }
.offer-summary { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.offer-summary .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(0,0,0,.12);
  font-size: 15px;
  gap: 12px;
}
.offer-summary .row:last-child { border-bottom: 0; }
.offer-summary .row .name { display: flex; align-items: center; gap: 10px; }
.offer-summary .row .name svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.offer-summary .row .price { font-weight: 700; color: var(--ink); }
.offer-summary .row .price.strike { text-decoration: line-through; color: var(--muted); font-weight: 500; }
.offer-summary .row .price.free { color: var(--lime-deep); font-weight: 800; letter-spacing: .04em; }
.offer-total {
  margin-top: 8px;
  padding: 16px 20px;
  background: var(--cream);
  border-radius: 14px;
  text-align: center;
  font-size: 15px;
}
.offer-total .big { display: block; font-size: 22px; font-weight: 800; color: var(--black); margin-top: 4px; }
.offer-total .big .strike { color: var(--bonus-red); text-decoration: line-through; }
.offer-card__close {
  margin-top: 14px;
  text-align: center;
  font-size: 14.5px; font-weight: 600; color: var(--muted);
}

.offer-total__local {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  line-height: 1.6;
}
.offer-total__local span {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #DC2626;
  text-decoration: line-through;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: clamp(14px, 4vw, 22px);
}

.offer-price {
  background: linear-gradient(160deg, #1F1F1F, #0E0E0E);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.06);
}
.offer-price h3 { color: var(--white); text-align: center; }
  color: var(--white);
  border: 1px solid rgba(255,255,255,.06);
}
.offer-price h3 { color: var(--white); text-align: center; }
.offer-price__coupon {
  margin: 14px auto 22px;
  text-align: center;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.offer-price__chip {
  display: inline-block;
  background: var(--lime);
  color: #0A2A12;
  font-weight: 900; font-size: 14px; letter-spacing: .08em;
  padding: 8px 16px; border-radius: var(--radius-pill);
  margin: 8px 0 18px;
}
.offer-price__amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 8px 0 18px;
  text-align: center;
}
.offer-price__strike {
  color: rgba(255,255,255,.45);
  text-decoration: line-through;
  font-size: 18px; font-weight: 600;
}
.offer-price__current {
  font-size: clamp(56px, 8vw, 86px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}
.offer-price__current .currency {
  font-size: .42em;
  vertical-align: top;
  margin-right: 6px;
  opacity: .65;
  font-weight: 700;
}
.offer-price__current .unit {
  font-size: .25em;
  font-weight: 700;
  letter-spacing: .1em;
  margin-left: 6px;
  opacity: .7;
}
.offer-price__one {
  text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 22px;
}
.offer-price__cta { width: 100%; box-sizing: border-box; align-self: stretch; overflow: hidden; animation: btn-pulse 1.8s ease-in-out infinite; transition: none; }
.offer-price__small {
  margin-top: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  text-align: center;
}
.offer-price__pay {
  margin-top: 18px;
  padding: 14px 12px;
  background: var(--white);
  border-radius: 12px;
}
.offer-price__pay img {
  width: 100%;
  height: auto;
  display: block;
}
.offer-price__worldwide {
  margin-top: 14px;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  text-align: center;
  font-weight: 700;
}

/* =====================================================================
   PAYMENT METHODS PLATE
   ===================================================================== */
.pay-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(0,0,0,.04);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.06);
}
.bg-orange .pay-strip, .offer-price .pay-strip {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
}
.pay-chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .04em;
  padding: 6px 10px;
  border-radius: 6px;
  min-width: 38px;
  height: 26px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.pay-chip.visa  { color: #1A1F71; }
.pay-chip.mc    { color: #EB001B; }
.pay-chip.pp    { color: #003087; }
.pay-chip.oxxo  { color: #E2001A; }
.pay-chip.pse   { color: #1E3A8A; }
.pay-chip.yape  { color: #6D28D9; }
.pay-chip.efy   { color: #DC2626; }
.pay-chip.gpay  { color: #1A73E8; }

/* =====================================================================
   SECCIÓN VISTAZO BONOS — carrusel marquee continuo
   ===================================================================== */
.vistazo-bonos { background: var(--cream); overflow: hidden; }

/* Track marquee — reutiliza .carousel-track-wrap del carrusel de recetas */
@keyframes vb-marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.vb-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: vb-marquee-scroll 45s linear infinite;
}
.vb-marquee-card {
  width: 220px;
  height: 310px;
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
  flex: none;
  display: block;
  pointer-events: none;
  touch-action: pan-y;
}
@media (max-width: 768px) {
  .vb-marquee-card { width: 160px; height: 226px; }
  .vb-marquee-track { gap: 10px; }
}

/* =====================================================================
   SECCIÓN 10 — OFERTA
   ===================================================================== */
.guarantee { background: var(--white); }
.guarantee__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 720px) { .guarantee__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.guarantee__seal {
  width: 280px;
  height: 280px;
  flex: none;
}
.guarantee h3 { margin-bottom: 14px; max-width: 22ch; font-size: clamp(24px, 3vw, 36px); }
.guarantee p { font-size: 16.5px; line-height: 1.7; color: var(--ink); opacity: .9; max-width: 56ch; }

/* =====================================================================
   FLOATING NOTIFICATIONS
   ===================================================================== */
.notify {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 100;
  width: min(340px, calc(100vw - 36px));
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.06);
  padding: 14px 16px;
  border-left: 4px solid var(--orange);
  display: flex; align-items: center; gap: 12px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
  pointer-events: none;
}
.notify.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.notify__avatar {
  width: 52px; height: 52px; border-radius: 10px;
  background: var(--cream);
  display: grid; place-items: center;
  flex: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
}
.notify__icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.notify__avatar .live {
  position: absolute; top: -1px; right: -1px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lime); border: 2px solid var(--white);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.notify__body { flex: 1; min-width: 0; }
.notify__name { font-size: 13.5px; font-weight: 700; color: var(--black); line-height: 1.2; }
.notify__name .flag { margin-left: 4px; }
.notify__text { font-size: 12.5px; color: var(--ink); margin-top: 2px; line-height: 1.35; }
.notify__time { font-size: 11px; color: var(--muted); margin-top: 4px; }
.notify__x {
  appearance: none; border: 0; background: transparent;
  color: var(--muted); font-size: 18px; cursor: pointer;
  padding: 0 4px;
}

/* =====================================================================
   SECTION 12 — FAQ
   ===================================================================== */
.faq { background: var(--white); }
.faq h2 { text-align: center; color: var(--orange); margin-bottom: 40px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.faq__list { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin: 0 auto 40px; }
.faq-item {
  background: var(--orange);
  color: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(255,107,0,.18);
  transition: box-shadow .25s ease;
}
.faq-item[open] { box-shadow: 0 12px 30px rgba(255,107,0,.30); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-num {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
}
.faq-item summary .toggle {
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  transition: transform .25s ease;
}
.faq-item[open] summary .toggle { transform: rotate(45deg); background: rgba(255,255,255,.28); }
.faq-item summary .toggle::before, .faq-item summary .toggle::after {
  content: ''; position: absolute; background: var(--white);
}
.faq-item summary .toggle { position: relative; }
.faq-item summary .toggle::before { width: 12px; height: 2px; }
.faq-item summary .toggle::after  { width: 2px; height: 12px; }
.faq-item .answer {
  padding: 0 24px 22px 70px;
  font-size: 15px; line-height: 1.65;
  color: rgba(255,255,255,.95);
}
.faq__cta { text-align: center; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,.55);
  padding: 36px 0;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.footer p { max-width: 70ch; margin: 0 auto 8px; }

/* En producción (sin modo edición) las image-slot no necesitan
   capturar eventos táctiles — liberar el scroll del usuario. */
image-slot:not([data-editable]) {
  pointer-events: none;
  touch-action: pan-y;
}
image-slot:not([data-editable]) img {
  pointer-events: none;
}
/* Todas las imágenes normales tampoco deben bloquear el scroll táctil */
img {
  touch-action: pan-y;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
/* Excepto la imagen de la notificación flotante que sí necesita clicks */
.notify__icon,
.notify__avatar img {
  pointer-events: auto;
}

/* =====================================================================
   IMAGE SLOT styling — make them look like nice photo placeholders
   ===================================================================== */
image-slot {
  --slot-bg: transparent;
  --slot-fg: var(--orange);
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  min-height: 120px;
  background: transparent;
}
/* Empty-state hint stays via the component's internal dashed border */

/* =====================================================================
   IMAGENES SIN SOMBRA — kill switch global para evitar el contorno
   cuadrado que se ve mal alrededor de las imágenes.
   ===================================================================== */
img,
image-slot,
.hero__mock, .hero__sindy,
.problems__img,
.history__img,
.recipe-card, .recipe-card__img,
.benefits__img,
.stats__mock, .stats__seal,
.bonus, .bonus__img,
.offer__mock,
.guarantee__seal {
  box-shadow: none !important;
}

/* =====================================================================
   PRECIO LOCALIZADO — bandera + precio en moneda local
   ===================================================================== */
.offer-price__current[data-localized-price] {
  display: inline-flex;
  align-items: baseline;
  gap: .18em;
  flex-wrap: wrap;
  justify-content: center;
  /* el tamaño se reduce un poco porque ahora cabe una moneda más larga */
  font-size: clamp(38px, 6.4vw, 64px);
  line-height: 1.05;
}
.offer-price__current[data-localized-price] .price-flag {
  font-size: .85em;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}
.offer-price__current[data-localized-price] .price-value {
  font-weight: 900;
  letter-spacing: -.02em;
}
.offer-price__current[data-localized-price] .currency,
.offer-price__current[data-localized-price] .unit {
  display: none;
}

/* =====================================================================
   MOBILE — ajustes para iPhone estándar (375px) y menores a 768px
   ===================================================================== */
@media (max-width: 768px) {
  /* Botones CTA: tamaños máximos pedidos + ancho completo en móvil */
  .btn        { font-size: 16px; padding: 16px 22px; width: 100%; justify-content: center; }
  .btn--xl    { font-size: 16px; padding: 16px 22px; width: 100%; justify-content: center; }
  /* El botón principal de compra (sección precio) */
  .offer-price__cta.btn,
  .offer-price__cta.btn--xl {
    font-size: 17px;
    padding: 16px 20px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  /* Centrar el botón de compra en móvil */
  .offer-price { align-items: stretch; text-align: center; }
  /* Hero: botón centrado */
  .hero__text-bottom .hero__cta-wrap { align-items: stretch; width: 100%; }

  /* Tipografía móvil — impactante y legible */
  h1.h1  { font-size: 28px; line-height: 1.4; }
  h2.h2  { font-size: 24px; line-height: 1.3; }
  h3.h3  { font-size: 20px; line-height: 1.3; }
  p, .lede, .history__body p,
  .fitfor__item span,
  .test-card__quote,
  .bonus__desc,
  .faq-item .answer        { font-size: 16px; line-height: 1.6; }
  .problem-item            { font-size: 16px; }
  .benefits__item          { font-size: 16px; }
  .eyebrow                 { font-size: 13px; }
  .badge                   { font-size: 13px; }
  .bonus__tag              { font-size: 13px; }
  .stat__label             { font-size: 13px; }

  /* Espacio para los bordes — nada pegado al borde */
  :root { --gutter: 18px; }

  /* Forzar una sola columna en cualquier grid de dos columnas */
  .two-col { grid-template-columns: 1fr; gap: 28px; }

  /* Hero móvil — imagen full width sin cortes */
  .hero__visual {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .hero__mock {
    aspect-ratio: auto;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
  }
  /* Prueba social no se corte */
  .hero__social-proof {
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
  }
  /* Hero text bottom centrado */
  .hero__text-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero__img-desktop { display: none; }
  .hero__img-mobile  {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
  }
  .hero__mock {
    aspect-ratio: auto;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  /* Bonos: imagen arriba, texto debajo, centrada */
  .bonus { grid-template-columns: 1fr; gap: 8px; padding: 24px; }
  .bonus__img {
    max-width: 100%;
    width: 100%;
    height: 300px;
    aspect-ratio: auto;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
  }
  .bonus__img image-slot {
    min-height: 300px;
    height: 100%;
  }
  .bonus__title { font-size: 24px; }
  .bonus__value { flex-wrap: wrap; }

  /* Oferta: mock más grande en móvil */
  .offer__mock {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 5 / 4;
  }

  /* Resumen de oferta: que el precio no se escape */
  .offer-summary .row { font-size: 14px; gap: 8px; }
  .offer-summary .row .name { gap: 8px; }

  /* Testimonios: una columna */
  .test-grid { grid-template-columns: 1fr; }

  /* FAQ: contenido alineado al icono */
  .faq-item summary { padding: 16px 18px; font-size: 15px; gap: 12px; }
  .faq-item .answer { padding: 0 18px 18px 60px; font-size: 14.5px; }

  /* Garantía: vertical, centrada, con márgenes cómodos */
  .guarantee__inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 18px;
    padding: 0 8px;
  }
  .guarantee__seal { width: 200px; height: 200px; }
  .guarantee h3 { text-align: center; margin-left: auto; margin-right: auto; }
  .guarantee p  { text-align: center; margin-left: auto; margin-right: auto; }

  /* Stats: una sola columna ya cubierto por media a 860px */
  .stats__seal { width: 160px; height: 160px; }

  /* Countdown: que quepa en 375px */
  .countdown { gap: 6px; }
  .countdown__cell { min-width: 0; flex: 1; padding: 10px 6px 8px; }
  .countdown__num { font-size: 26px; }
  .countdown__lbl { font-size: 9.5px; letter-spacing: .08em; }

  /* Notificación flotante: compacta y ancho limitado en móvil */
  .notify {
    left: 10px;
    bottom: 10px;
    width: min(280px, calc(100vw - 20px));
    padding: 10px 12px;
    gap: 9px;
    border-radius: 12px;
  }
  .notify__avatar { width: 30px; height: 30px; font-size: 12px; flex: none; }
  .notify__name   { font-size: 11.5px; }
  .notify__text   { font-size: 11px; }
  .notify__time   { font-size: 10px; }
  .notify__x      { font-size: 16px; }

  /* Precio localizado en móvil: que no se rompa */
  .offer-price__current[data-localized-price] {
    font-size: clamp(30px, 9vw, 44px);
  }

  /* Métodos de pago del hero: que envuelvan */
  .pay-strip { padding: 8px 10px; gap: 6px; }
  .pay-chip { font-size: 10.5px; padding: 5px 8px; min-width: 32px; height: 24px; }

  /* Foto de problemas/historia: columna única centrada */
  .problems__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "img"
      "bottom";
    gap: 20px;
  }
  .problems__img {
    width: 100%;
    max-width: 280px;
    height: 360px;
    aspect-ratio: auto;
    margin: 0 auto;
  }
  .problems__img image-slot {
    width: 100%;
    height: 100%;
    min-height: 360px;
  }
  .history__img, .benefits__img { max-width: 420px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 400px) {
  /* iPhone SE — mismos tamaños base, sin reducir más */
  .offer-price__current[data-localized-price] { font-size: 34px; }
  .offer-price__strike { font-size: 16px; }
  .countdown__num { font-size: 22px; }
  .countdown__cell { padding: 9px 4px 7px; }
  .bonus { padding: 20px; }
  .bonus__perfect { font-size: 13px; padding: 12px 14px; }
}

.bonus--blue .bonus__img,
.bonus--green .bonus__img {
  aspect-ratio: 3 / 4;
  min-height: 380px;
}
#coupon-counter {
  box-sizing: border-box;
  width: 100%;
  align-self: stretch;
}
  0%, 100% { transform: scale(1);    box-shadow: 0 4px 18px rgba(225,29,29,.5); }
  50%       { transform: scale(1.03); box-shadow: 0 6px 24px rgba(225,29,29,.75); }
}
/* Palpito suave en botón principal */
@keyframes btn-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}
.offer-price__cta {
  overflow: hidden;
  animation: btn-pulse 1.8s ease-in-out infinite;
}
.offer-price__cta span,
.offer-price__cta:not(:has(span)) {
  display: inline-block;
}

@keyframes float-bob {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.bonus__img image-slot,
.bonus__img img {
  animation: float-bob 3.5s ease-in-out infinite;
}
.bonus:nth-child(1) .bonus__img image-slot { animation-delay: 0s; }
.bonus:nth-child(2) .bonus__img image-slot { animation-delay: 0.4s; }
.bonus:nth-child(3) .bonus__img image-slot { animation-delay: 0.8s; }
.bonus:nth-child(4) .bonus__img image-slot { animation-delay: 1.2s; }
.bonus:nth-child(5) .bonus__img image-slot { animation-delay: 1.6s; }
/* Sombra en textos blancos sobre fondos naranja — mejora legibilidad */
.bg-orange h1, .bg-orange h2, .bg-orange h3, .bg-orange h4,
.bg-orange p, .bg-orange li, .bg-orange span:not(.pay-chip):not(.badge):not(.check):not(.offer-price__chip),
.bg-orange .lede, .bg-orange .eyebrow,
.bg-orange .problem-item, .bg-orange .problems__close,
.bg-orange .benefits__item, .bg-orange .stat__num, .bg-orange .stat__label {
  text-shadow: 1px 1px 5px rgba(0,0,0,.65);
}
/* Excluir botones, cajas claras y elementos especiales */
.bg-orange .btn,
.bg-orange .badge,
.bg-orange .offer-card,
.bg-orange .offer-card *,
.bg-orange .countdown__num,
.bg-orange .countdown__lbl,
.bg-orange mark.h-quote {
  text-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
