/* ============================================================
   Recetas Sin Pensar — LATAM
   Paleta heredada del original (crema / oliva / dorado / terracota)
   ============================================================ */

:root {
  --bg:            hsl(43 41% 95%);
  --bg-warm:       hsl(35 30% 90%);
  --bg-olive:      hsl(82 25% 85%);
  --bg-peach:      hsl(25 90% 93%);
  --card:          hsl(0 0% 100%);

  --fg:            hsl(25 15% 12%);
  --fg-soft:       hsl(25 12% 32%);

  --olive:         hsl(82 30% 32%);
  --olive-deep:    hsl(95 32% 20%);
  --accent:        hsl(14 78% 48%);   /* terracota */
  --accent-soft:   hsl(14 78% 48% / .12);
  --gold:          hsl(41 85% 52%);
  --gold-dark:     hsl(36 55% 38%);
  --green:         hsl(140 55% 30%);

  --radius:        18px;
  --radius-lg:     28px;
  --shadow:        0 4px 18px hsl(25 20% 20% / .08);
  --shadow-lg:     0 18px 50px hsl(25 20% 20% / .18);

  --ff-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1100px;
  --maxw-narrow: 720px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html { overflow-x: hidden; }

body {
  margin: 0;
  width: 100%;
  max-width: 100vw;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* nada puede empujar el ancho de la página */
section, header, footer { max-width: 100vw; overflow-x: clip; }

/* Secciones debajo del precio: no se renderizan fuera de pantalla.
   (Las que están arriba del precio quedan fuera: una altura estimada
   distinta de la real haría que los botones «#precio» aterricen mal.)
   Las que llevan carrusel quedan fuera — content-visibility impide que el
   IntersectionObserver dispare y las imágenes nunca cargarían. */
.guarantee, .faq, .footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

/* títulos largos nunca desbordan en pantallas chicas */
h1, h2, h3, p, li, summary { overflow-wrap: break-word; }

img {
  max-width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

s { opacity: .6; }

.container        { width: 100%; max-width: var(--maxw);        margin-inline: auto; padding-inline: 20px; }
.container-narrow { width: 100%; max-width: var(--maxw-narrow); margin-inline: auto; padding-inline: 20px; }

.center { text-align: center; }
.mt-40  { margin-top: 40px; }

/* ---------- tipografía ---------- */
.h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.75rem, 5.2vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.h3 {
  font-family: var(--ff-head);
  font-size: clamp(1.35rem, 3.8vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 14px;
}
.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--fg-soft);
  max-width: 62ch;
  margin-inline: auto;
}
.sub { color: var(--fg-soft); margin-bottom: 44px; }

.accent        { color: var(--accent); }
.accent-strong { color: var(--accent); font-weight: 800; }
.olive         { color: var(--olive); font-weight: 700; }
.gold          { color: var(--gold-dark); font-weight: 700; }
.gold-dark     { color: var(--gold-dark); }
.free          { color: var(--green); font-weight: 800; }

/* como en la referencia: destaque en verde oliva sólido, no degradado */
.grad {
  font-weight: 700;
  color: var(--olive);
}

.pill {
  display: inline-block;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  padding: .1em .45em;
  border-radius: 10px;
}

.eyebrow {
  font-family: var(--ff-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 14px;
}

.tagline {
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: clamp(.9rem, 2.2vw, 1.1rem);
  color: var(--olive);
  margin: 32px 0 12px;
}

/* ---------- botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--ff-head);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  line-height: 1.2;
}
.btn:hover  { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }

.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--xl {
  padding: 20px 34px;
  font-size: clamp(1.02rem, 3.1vw, 1.25rem);
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
  text-transform: uppercase;
  letter-spacing: .02em;
}

.btn--primary { background: var(--olive);  color: #fff; }
.btn--gold {
  background: linear-gradient(100deg, var(--gold) 0%, hsl(45 92% 58%) 50%, var(--gold) 100%);
  color: hsl(25 40% 14%);
}

.cta-note {
  font-size: .86rem;
  color: var(--fg-soft);
  margin: 12px 0 0;
}
.cta-note.light { color: #fff; opacity: .75; }

@keyframes pulse-ring {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 0 hsl(41 85% 52% / .45); }
  50%      { box-shadow: var(--shadow-lg), 0 0 0 14px hsl(41 85% 52% / 0); }
}
.pulse { animation: pulse-ring 2.4s ease-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- hero ---------- */
.hero { padding-bottom: 8px; }

.hero__media img {
  width: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .hero__media img {
    max-width: 30rem;
    margin-inline: auto;
    border-radius: var(--radius-lg);
    margin-top: 28px;
  }
}

.hero__copy {
  text-align: center;
  padding-top: 28px;
  padding-bottom: 28px;
}
/* en desktop el titular respira como en la referencia */
@media (min-width: 900px) {
  .hero__copy { max-width: 940px; }
}

.hero__title {
  font-family: var(--ff-head);
  /* mismo peso visual que la referencia: titular grande y protagonista */
  font-size: clamp(2.3rem, 8.6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
}

.hero__sub {
  font-size: clamp(1rem, 3.4vw, 1.35rem);
  max-width: 36ch;
  margin: 0 auto 26px;
  line-height: 1.45;
}

.hero__cta { margin-bottom: 26px; }

.hero__trust {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 0;
  margin: 0;
  font-size: .9rem;
  color: var(--fg-soft);
}
.trust__num {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--olive);
  line-height: 1.1;
}

.banner-strip {
  /* tono coral de la referencia, un punto más claro que el acento */
  background: hsl(14 72% 58%);
  color: #fff;
  text-align: center;
  padding: 13px 20px;
  margin-top: 8px;
}
.banner-strip p {
  font-family: var(--ff-head);
  font-size: clamp(1.15rem, 4.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

.pains {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  padding-bottom: 20px;
  max-width: 30rem;
}
.pain {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pain img { display: block; width: 100%; }

/* cubre el texto quemado en portugués y rotula en español */
.pain__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* la franja cubre por completo el texto original quemado en la imagen */
  min-height: 58%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px 16px;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: clamp(1.15rem, 4.6vw, 1.6rem);
  line-height: 1.18;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 10px hsl(25 40% 8% / .7);
  background: linear-gradient(
    to top,
    hsl(25 42% 7% / 1) 0%,
    hsl(25 42% 7% / .99) 70%,
    hsl(25 42% 7% / .88) 88%,
    hsl(25 42% 7% / 0) 100%
  );
}

/* ---------- sobre el método ---------- */
.about {
  background: var(--bg-warm);
  padding: 64px 0 72px;
}

.rotator {
  color: var(--accent);
  font-weight: 800;
  display: inline-block;
  min-width: 5.5ch;
  text-align: left;
}

.about__grid {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-top: 44px;
}
@media (min-width: 860px) {
  .about__grid { grid-template-columns: 1fr 1.05fr; gap: 48px; }
}

.about__img { margin: 0; }
.about__img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.swap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.swap-list li {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
}
.swap__no {
  font-size: .95rem;
  color: var(--fg-soft);
  text-decoration: line-through;
  text-decoration-color: hsl(14 78% 48% / .55);
}
.swap__yes {
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--olive);
  font-size: 1.08rem;
}

.highlight-card {
  background: var(--olive-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  max-width: 620px;
  margin: 12px auto 0;
  box-shadow: var(--shadow-lg);
}
.highlight-card p { margin: 0; font-size: 1.06rem; opacity: .9; }
.highlight-card__big {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 5.4vw, 2.6rem) !important;
  font-weight: 800;
  color: var(--gold);
  margin-top: 8px !important;
  opacity: 1 !important;
  line-height: 1.15;
}

/* ---------- pilares ---------- */
.pillars {
  background: var(--bg-olive);
  padding: 64px 0 76px;
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 780px;
  margin-inline: auto;
}
@media (min-width: 640px) { .pillars__grid { gap: 22px; } }

.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ---------- contenido ---------- */
.content { padding: 68px 0 76px; }

.cat { margin-top: 44px; }
.cat__title {
  font-family: var(--ff-head);
  font-size: clamp(1.1rem, 3.2vw, 1.5rem);
  font-weight: 700;
  color: var(--olive);
  text-align: center;
  margin: 0 0 16px;
}

/* carruseles horizontales autoscroll */
.marquee {
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}
.marquee__track img {
  width: 172px;
  height: 172px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex-shrink: 0;
  pointer-events: none;
}
@media (min-width: 768px) {
  .marquee__track img { width: 210px; height: 210px; }
}

.marquee--tall .marquee__track img,
.marquee--app  .marquee__track img {
  width: 196px;
  height: 348px;
  aspect-ratio: 9 / 16;
}
@media (min-width: 768px) {
  .marquee--tall .marquee__track img,
  .marquee--app  .marquee__track img { width: 240px; height: 427px; }
}
@media (min-width: 1100px) {
  .marquee--tall .marquee__track img,
  .marquee--app  .marquee__track img { width: 270px; height: 480px; }
}

/* fichas de receta: se ven completas, sin recorte */
.marquee--cards {
  -webkit-mask-image: none;
  mask-image: none;
  padding: 4px 0 12px;
}
.marquee--cards .marquee__track {
  gap: 14px;
  align-items: stretch;
}
.marquee--cards .marquee__track img {
  width: auto;
  height: 380px;
  max-height: 62vh;
  object-fit: contain;
  background: transparent;
  box-shadow: 0 6px 22px hsl(25 20% 20% / .14);
}
@media (min-width: 768px) {
  .marquee--cards .marquee__track img { height: 460px; max-height: none; }
}
@media (min-width: 1100px) {
  .marquee--cards .marquee__track img { height: 520px; }
}

/* carrusel vertical (testimonios) */
.vmarquee {
  height: 620px;
  overflow: hidden;
  margin: 36px auto 0;
  max-width: 420px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}
@media (min-width: 768px) {
  .vmarquee { height: 740px; max-width: 460px; }
}
.vmarquee__track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  will-change: transform;
}
.vmarquee__track img {
  width: 100%;
  height: auto;
  /* los anchos originales varían (670–1112px): que se ajusten sin recortarse */
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  pointer-events: none;
}

/* ---------- para quién ---------- */
.forwho {
  background: var(--bg-peach);
  padding: 64px 0 72px;
}
.check-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.check-list li {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px 20px 18px 54px;
  box-shadow: var(--shadow);
  font-size: 1.04rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 22px;
  height: 22px;
  background: var(--olive);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- prueba social ---------- */
.proof { padding: 68px 0 76px; }
.community { margin-top: 56px; }

/* ---------- oferta ---------- */
.offer {
  background: var(--bg-olive);
  padding: 68px 0 76px;
}

.bonuses {
  display: grid;
  gap: 18px;
  max-width: 320px;
  margin: 32px auto 0;
}
@media (min-width: 720px) {
  .bonuses { grid-template-columns: repeat(2, 1fr); max-width: 680px; }
}
@media (min-width: 1000px) {
  .bonuses { grid-template-columns: repeat(3, 1fr); max-width: var(--maxw); }
}
.bonus { display: flex; flex-direction: column; }
.bonus__price {
  padding: 14px 12px;
  margin: 0;
  text-align: center;
  font-size: .98rem;
  font-weight: 600;
}

/* caja de precio */
.pricebox {
  /* margen al saltar desde los botones «#precio» */
  scroll-margin-top: 16px;
  background: var(--olive-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 20px 36px;
  max-width: 680px;
  margin: 52px auto 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
@media (min-width: 768px) { .pricebox { padding: 46px 44px 52px; } }

.pricebox__head { text-align: center; margin-bottom: 26px; }
.pricebox__kicker {
  font-family: var(--ff-head);
  font-size: clamp(1.3rem, 4.2vw, 1.85rem);
  line-height: 1.2;
  margin: 0;
}
.rule {
  display: block;
  width: 64px;
  height: 2px;
  background: hsl(0 0% 100% / .3);
  margin: 14px auto 0;
}

.pricebox__mockup { width: 100%; margin-bottom: 28px; }

.pricebox__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  max-width: 430px;
  display: grid;
  gap: 12px;
}
.pricebox__list li {
  position: relative;
  padding-left: 32px;
  font-size: 1.02rem;
}
.pricebox__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0642a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricebox__deal { text-align: center; }
.deal__valid { font-size: 1.08rem; margin: 0 0 12px; }
.deal__date {
  display: inline-block;
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--accent);
  background: hsl(0 100% 97%);
  padding: 5px 16px;
  border-radius: 10px;
  margin: 0 0 26px;
  font-size: 1.02rem;
}
.deal__from {
  font-size: clamp(1.25rem, 4vw, 1.7rem);
  font-weight: 700;
  margin: 0 0 4px;
}
.deal__from s { color: var(--accent); opacity: 1; }
.deal__price {
  font-family: var(--ff-head);
  font-weight: 800;
  margin: 6px 0 4px;
  line-height: 1;
}
.deal__price .cur {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 600;
  vertical-align: middle;
  margin-right: 6px;
  opacity: .85;
}
.deal__price .amount {
  font-size: clamp(3rem, 12vw, 4.6rem);
  text-shadow: 0 0 14px hsl(41 85% 52% / .35);
}
.deal__note { margin: 0 0 30px; opacity: .78; font-size: 1rem; }
.deal__cta { margin-bottom: 4px; }

.roi {
  max-width: 640px;
  margin: 44px auto 0;
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.roi p { margin: 0 0 14px; font-size: 1.06rem; }
.roi p:last-child { margin-bottom: 0; }

/* ---------- garantía ---------- */
.guarantee {
  background: var(--bg);
  padding: 64px 0 70px;
}
.guarantee__inner {
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
}
@media (min-width: 720px) {
  .guarantee__inner {
    grid-template-columns: 200px 1fr;
    text-align: left;
    justify-items: start;
    align-items: center;
    gap: 40px;
  }
}
.guarantee img { width: 180px; }
.guarantee__title {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}
.guarantee p { margin: 0 0 12px; font-size: 1.05rem; color: var(--fg-soft); }

/* ---------- experta ---------- */
.expert {
  background: var(--bg-peach);
  padding: 64px 0 72px;
}
.expert__inner {
  display: grid;
  gap: 34px;
  align-items: center;
}
@media (min-width: 880px) {
  .expert__inner { grid-template-columns: .85fr 1.15fr; gap: 52px; }
}
.expert__img { margin: 0; }
.expert__img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.expert__img figcaption {
  text-align: center;
  margin-top: 12px;
  font-family: var(--ff-head);
  font-weight: 600;
  color: var(--olive);
  font-size: .95rem;
}
.expert__copy p { color: var(--fg-soft); }
.expert__copy .lead { margin-inline: 0; }

/* ---------- faq ---------- */
.faq { padding: 68px 0 80px; }
.accordion { margin-top: 36px; display: grid; gap: 12px; }

.acc {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.acc summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 20px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 1.04rem;
  position: relative;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%) rotate(0deg);
  transition: transform .22s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2551f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.acc[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.acc p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--fg-soft);
}

.faq__cta { margin-top: 48px; }

/* ---------- footer ---------- */
.footer {
  background: var(--olive-deep);
  color: hsl(0 0% 100% / .75);
  text-align: center;
  padding: 44px 0 52px;
  font-size: .92rem;
}
.footer p { margin: 0 0 8px; }
.footer__brand {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}
.footer__legal {
  max-width: 52ch;
  margin: 18px auto 0;
  font-size: .82rem;
  opacity: .65;
}

/* ---------- whatsapp ---------- */
.wa {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 65;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px hsl(25 20% 10% / .3);
  transform: scale(0);
  transition: transform .24s ease;
}
.wa.is-visible { transform: scale(1); }
.wa:hover { filter: brightness(1.06); }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
