/* ==========================================================
   AREPAS QUESUDAS · Landing orientada a WhatsApp
   Mobile-first · breakpoints: 640 / 900 / 1200
   ========================================================== */

:root {
  --cream: #FFF3DC;
  --cream-2: #FBE7C2;
  --paper: #FFFaF0;
  --coffee: #2B1008;
  --coffee-2: #4A2213;
  --coffee-soft: #6B4636;
  --gold: #FCAF05;
  --gold-2: #FFC940;
  --red: #BE1F16;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --line: rgba(43, 16, 8, .12);

  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-hand: "Caveat", "Segoe Print", cursive;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --shadow-sm: 0 2px 8px rgba(43, 16, 8, .08);
  --shadow-md: 0 14px 34px -12px rgba(43, 16, 8, .28);
  --shadow-lg: 0 30px 60px -20px rgba(43, 16, 8, .38);

  --container: 1180px;
  --gutter: 20px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--coffee);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, summary { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--coffee); color: var(--cream); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Tipografía ---------- */
.eyebrow, .kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red);
}
.kicker--gold { color: var(--gold); }
.h2 {
  font-family: var(--ff-display); font-weight: 900;
  font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem);
  line-height: 1.05; letter-spacing: -.02em;
}
.h3 { font-family: var(--ff-display); font-weight: 700; font-size: 1.5rem; line-height: 1.15; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--coffee); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.4em;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; text-align: center;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--wa { --bg: var(--wa); --fg: #fff; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .8); }
.btn--wa:hover { --bg: var(--wa-dark); box-shadow: 0 14px 28px -10px rgba(37, 211, 102, .9); }
.btn--gold { --bg: var(--gold); --fg: var(--coffee); box-shadow: 0 10px 24px -10px rgba(252, 175, 5, .7); }
.btn--gold:hover { --bg: var(--gold-2); }
.btn--dark { --bg: var(--coffee); --fg: var(--cream); box-shadow: var(--shadow-md); }
.btn--dark:hover { --bg: var(--coffee-2); }
.btn--dark .ico { color: var(--wa); }
.btn--outline { --bg: transparent; --fg: var(--coffee); border-color: var(--coffee); }
.btn--outline .ico { color: var(--wa-dark); }
.btn--outline:hover { --bg: var(--coffee); --fg: var(--cream); }
.btn--outline:hover .ico { color: var(--wa); }
.btn--ghost { --bg: transparent; --fg: var(--coffee); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--coffee); }
.btn--sm { min-height: 42px; padding: .6em 1.1em; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: 1em 1.7em; font-size: 1.05rem; }
.btn--xl { min-height: 62px; padding: 1.1em 2em; font-size: 1.12rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 243, 220, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(43, 16, 8, .4); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 40px; height: 40px; border-radius: 50%; background: var(--coffee); padding: 5px; flex: none; }
.logo__mark svg { width: 100%; height: 100%; }
.logo__text {
  font-family: var(--ff-display); font-weight: 900; font-size: 1.3rem; line-height: 1; letter-spacing: -.02em;
  white-space: nowrap;
}
.logo__text em { font-style: italic; color: var(--red); }
.logo--light { color: var(--cream); }
.logo--light .logo__mark { background: var(--cream); }
.logo--light .logo__text em { color: var(--gold); }
.nav { display: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 16px 0 72px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(252, 175, 5, .22), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(190, 31, 22, .07), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero__grid { display: grid; gap: 28px; }
.hero__media { order: -1; position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(190, 31, 22, .15); }
.hero__title {
  font-family: var(--ff-display); font-weight: 900;
  font-size: clamp(2.1rem, 1.3rem + 4.2vw, 4.1rem);
  line-height: 1.02; letter-spacing: -.025em;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic; color: var(--red);
  background: linear-gradient(transparent 68%, rgba(252, 175, 5, .55) 68%, rgba(252, 175, 5, .55) 92%, transparent 92%);
}
.hero__lead { margin-top: 16px; font-size: 1.08rem; color: var(--coffee-soft); max-width: 34em; }
.hero__offer { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.hero__offer .btn { width: 100%; }
.price-tag {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--coffee); color: var(--cream);
  padding: 12px 20px; border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.price-tag__label { font-weight: 500; font-size: .95rem; opacity: .9; }
.price-tag__value { font-family: var(--ff-display); font-weight: 900; font-size: 1.9rem; color: var(--gold); line-height: 1; }
.hero__micro { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; font-weight: 500; color: var(--coffee-soft); }
.hero__micro li { display: inline-flex; align-items: center; gap: 7px; }
.hero__micro li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232B1008' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* ---------- Media (foto + ilustración de respaldo) ---------- */
.media { position: relative; overflow: hidden; background: var(--cream-2); isolation: isolate; }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.media__art { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.media__art > svg { width: 62%; height: auto; aspect-ratio: 1; filter: drop-shadow(0 16px 20px rgba(43, 16, 8, .18)); }

.blob { border-radius: 44% 56% 52% 48% / 50% 44% 56% 50%; }
.media--hero {
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 45%, #FFD66B 0%, var(--gold) 55%, #E89A00 100%);
  box-shadow: var(--shadow-lg);
  animation: morph 14s ease-in-out infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 44% 56% 52% 48% / 50% 44% 56% 50%; }
  50% { border-radius: 54% 46% 44% 56% / 44% 54% 46% 56%; }
}
.art-hero .a { position: absolute; width: 56%; height: auto; aspect-ratio: 1; filter: drop-shadow(0 18px 18px rgba(43, 16, 8, .25)); }
.art-hero .a1 { left: 8%; top: 30%; transform: rotate(-12deg); }
.art-hero .a2 { right: 6%; top: 14%; width: 46%; transform: rotate(18deg); }
.art-hero .a3 { right: 14%; bottom: 4%; width: 44%; transform: rotate(-4deg); }

.stamp {
  position: absolute; right: -4px; top: 6px; z-index: 3;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--red); color: var(--cream);
  display: grid; place-items: center; text-align: center;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.05;
  box-shadow: var(--shadow-md);
  transform: rotate(12deg);
  outline: 2px dashed rgba(255, 243, 220, .6); outline-offset: -8px;
}
.stamp b { font-family: var(--ff-display); font-size: 2rem; letter-spacing: 0; line-height: 1; }
.hero__chip {
  position: absolute; left: 0; bottom: 10%; z-index: 3;
  background: var(--paper); padding: 10px 16px; border-radius: 999px;
  font-size: .9rem; box-shadow: var(--shadow-md);
  font-family: var(--ff-hand); font-size: 1.35rem; line-height: 1;
  transform: rotate(-4deg);
}
.hero__chip strong { color: var(--red); }

.wave { position: absolute; left: 0; right: 0; height: 40px; background: var(--paper); }
.wave--bottom {
  bottom: -1px;
  -webkit-mask: radial-gradient(28px 22px at 50% 0, transparent 98%, #000) 50% 0 / 56px 40px repeat-x;
          mask: radial-gradient(28px 22px at 50% 0, transparent 98%, #000) 50% 0 / 56px 40px repeat-x;
}

/* ---------- Secciones genéricas ---------- */
.section { padding: 72px 0; position: relative; }
.section--light { background: var(--paper); }
.section--cream { background: var(--cream); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section__head .kicker { margin-bottom: 10px; }
.section__sub { margin-top: 14px; color: var(--coffee-soft); font-size: 1.05rem; }
.section__sub strong { color: var(--coffee); }

/* ---------- Productos ---------- */
.products { display: grid; gap: 22px; }
.product {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product--main { border: 2px solid var(--gold); }
.media--product { aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 45%, #FFE39C, var(--gold) 90%); }
.media--alt { background: radial-gradient(circle at 50% 45%, #FFF1C9, #F4D38A 90%); }
.media--alt2 { background: radial-gradient(circle at 50% 45%, #FFD9C2, #F2A774 95%); }
.media--product .media__art > svg { width: 52%; }
.product__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__body > p:not(.product__qty) { color: var(--coffee-soft); font-size: .97rem; }
.product__qty { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.product__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 8px 0 14px; margin-top: auto; padding-top: 10px; }
.price { font-family: var(--ff-display); font-weight: 900; font-size: 2.1rem; line-height: 1; }
.price-old { font-size: 1.05rem; color: var(--coffee-soft); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.price-from { font-size: .85rem; font-weight: 700; color: var(--coffee-soft); }
.price-note { flex-basis: 100%; font-size: .82rem; font-weight: 700; color: var(--red); }
.badge {
  position: absolute; top: 16px; left: 16px; z-index: 5;
  padding: 6px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.badge--gold { background: var(--coffee); color: var(--gold); }
.badge--red { background: var(--red); color: var(--cream); }

.mini-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 4px 0; }
.mini-table th { text-align: left; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--coffee-soft); font-weight: 700; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mini-table td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.mini-table td s { color: var(--coffee-soft); }
.mini-table td b { color: var(--red); }
.mini-table th:last-child, .mini-table td:last-child { text-align: right; }

/* ---------- Combos ---------- */
.combos { display: grid; gap: 20px; }
.combo {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--paper); border-radius: var(--r-lg); padding: 28px 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.combo__tag { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.combo__name { font-family: var(--ff-display); font-weight: 900; font-size: 1.75rem; line-height: 1.05; letter-spacing: -.01em; }
.combo__items { display: grid; gap: 10px; padding: 14px 0; border-block: 1px dashed var(--line); }
.combo__items li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.combo__items svg { width: 30px; height: 30px; flex: none; }
.combo__price { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.combo__was { font-size: .88rem; color: var(--coffee-soft); text-decoration: line-through; text-decoration-color: var(--red); }
.combo__now { font-family: var(--ff-display); font-weight: 900; font-size: 2.6rem; line-height: 1; }
.save {
  align-self: flex-start; margin-top: 8px;
  background: rgba(190, 31, 22, .1); color: var(--red);
  font-size: .82rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}
.save--big { background: var(--red); color: var(--cream); }

.combo--featured {
  background: var(--coffee); color: var(--cream); border-color: var(--coffee);
  box-shadow: var(--shadow-lg);
  padding-top: 40px;
}
.combo--featured .combo__tag { color: var(--gold); }
.combo--featured .combo__items { border-color: rgba(255, 243, 220, .2); }
.combo--featured .combo__was { color: rgba(255, 243, 220, .65); text-decoration-color: var(--gold); }
.combo--featured .combo__now { color: var(--gold); }
.combo--featured .save { background: var(--gold); color: var(--coffee); }
.ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: var(--cream);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgba(190, 31, 22, .8);
}

.more-combos { margin-top: 28px; }
.more-combos summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0 auto; width: fit-content;
  padding: 12px 22px; border-radius: 999px; border: 2px solid var(--coffee);
  font-weight: 700; transition: background-color .2s, color .2s;
}
.more-combos summary::-webkit-details-marker { display: none; }
.more-combos summary:hover { background: var(--coffee); color: var(--cream); }
.more-combos summary svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.more-combos[open] summary svg { transform: rotate(180deg); }
.more-combos[open] summary span::after { content: " (ocultar)"; font-weight: 500; opacity: .7; }
.combos--compact { margin-top: 24px; }
.combo--row { gap: 12px; padding: 22px; }
.combo__desc { color: var(--coffee-soft); }
.combo--row .combo__now { font-size: 2rem; }
.combo--row .btn { width: 100%; }

/* ---------- Sensorial ---------- */
.sensory {
  padding: 80px 0; color: var(--cream);
  background:
    radial-gradient(700px 500px at 20% 30%, rgba(252, 175, 5, .18), transparent 60%),
    var(--coffee-2);
  overflow: hidden;
}
.sensory__grid { display: grid; gap: 40px; align-items: center; }
.media--sensory {
  aspect-ratio: 1; border-radius: 50%; max-width: 460px; margin-inline: auto;
  background: radial-gradient(circle, #5b2c18, var(--coffee));
  box-shadow: 0 0 0 10px rgba(252, 175, 5, .15), 0 0 0 22px rgba(252, 175, 5, .07), var(--shadow-lg);
}
.art-cheese svg { width: 92%; height: auto; }
.display {
  font-family: var(--ff-display); font-weight: 900;
  font-size: clamp(2.2rem, 1.3rem + 4vw, 4rem); line-height: 1.02; letter-spacing: -.025em;
}
.melt { color: var(--gold); font-style: italic; }
.features { margin-top: 32px; display: grid; gap: 14px; }
.features li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--r-md);
  background: rgba(255, 243, 220, .06); border: 1px solid rgba(255, 243, 220, .12);
}
.features__n { font-family: var(--ff-display); font-weight: 900; font-size: 1.1rem; color: var(--gold); min-width: 28px; }
.features h3 { font-size: 1.1rem; font-weight: 700; }
.features p { color: rgba(255, 243, 220, .75); font-size: .95rem; }

/* ---------- Historia ---------- */
.story { padding: 88px 0; background: var(--coffee); color: var(--cream); position: relative; overflow: hidden; }
.story::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255, 243, 220, .06) 1px, transparent 1px);
  background-size: 18px 18px;
}
.story__grid { position: relative; display: grid; gap: 48px; align-items: center; }
.story__title {
  margin-top: 14px;
  font-family: var(--ff-display); font-weight: 900;
  font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4.3rem); line-height: 1; letter-spacing: -.025em;
}
.story__title span { color: var(--gold); font-style: italic; }
.story__text { margin: 26px 0 32px; display: grid; gap: 14px; font-size: 1.1rem; color: rgba(255, 243, 220, .85); max-width: 34em; }
.story__text strong { color: var(--cream); }
.story__text p:nth-child(2) { font-family: var(--ff-hand); font-size: 1.9rem; line-height: 1.1; color: var(--gold); }
.polaroid {
  background: var(--paper); padding: 14px 14px 18px; border-radius: 6px;
  box-shadow: var(--shadow-lg); transform: rotate(3deg);
  max-width: 380px; margin-inline: auto;
}
.media--story { aspect-ratio: 7 / 8; border-radius: 3px; background: linear-gradient(160deg, #d9b98a, #a4774a); }
.art-story { gap: 8px; align-content: center; }
.art-story > svg { width: 55%; }
.art-story__year { font-family: var(--ff-hand); font-size: 2rem; line-height: .9; color: var(--coffee); text-align: center; }
.polaroid figcaption { margin-top: 12px; text-align: center; font-family: var(--ff-hand); font-size: 1.5rem; color: var(--coffee); line-height: 1; }

/* ---------- Cómo pedir ---------- */
.steps { display: grid; gap: 16px; counter-reset: s; }
.step {
  position: relative; background: #fff; border-radius: var(--r-md);
  padding: 22px 22px 22px 84px; border: 1px solid var(--line);
}
.step__n {
  position: absolute; left: 20px; top: 20px;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--coffee);
  font-family: var(--ff-display); font-weight: 900; font-size: 1.1rem;
}
.step:nth-child(2) .step__n { background: var(--wa); color: #fff; }
.step h3 { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 700; }
.step p { color: var(--coffee-soft); font-size: .96rem; }
.note {
  display: flex; align-items: center; gap: 12px; justify-content: center; text-align: left;
  margin: 28px auto 28px; max-width: 560px;
  background: var(--cream); border: 1px dashed var(--coffee-soft); border-radius: var(--r-md);
  padding: 14px 18px; font-size: .95rem;
}
.note svg { width: 26px; height: 26px; flex: none; color: var(--red); }

/* ---------- Testimonios ---------- */
.reviews { display: grid; gap: 20px; }
.review {
  background: var(--paper); border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line);
}
.review blockquote { font-family: var(--ff-display); font-size: 1.2rem; line-height: 1.4; margin: 12px 0; }
.review figcaption { font-weight: 700; font-size: .9rem; color: var(--coffee-soft); }
.review__stars { display: flex; gap: 4px; color: var(--gold); }
.review__stars svg { width: 22px; height: 22px; }
.review--invite {
  max-width: 720px; margin-inline: auto; text-align: center;
  border: 2px dashed rgba(43, 16, 8, .25); background: transparent;
}
.review--invite .review__stars { justify-content: center; }
.review__big { font-family: var(--ff-display); font-weight: 900; font-size: 1.6rem; margin: 12px 0 8px; line-height: 1.15; }
.review--invite > p:not(.review__big) { color: var(--coffee-soft); max-width: 30em; margin-inline: auto; }
.review__actions { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- CTA final ---------- */
.final {
  position: relative; overflow: hidden;
  padding: 80px 0;
  background:
    radial-gradient(600px 400px at 90% 20%, rgba(255, 255, 255, .35), transparent 60%),
    var(--gold);
}
.final__grid { display: grid; gap: 36px; align-items: center; }
.final__copy { text-align: center; }
.final__hand { font-family: var(--ff-hand); font-size: 2.2rem; line-height: 1; color: var(--red); transform: rotate(-3deg); display: inline-block; }
.final__title {
  font-family: var(--ff-display); font-weight: 900;
  font-size: clamp(2.5rem, 1.5rem + 5vw, 5rem); line-height: .98; letter-spacing: -.03em;
  margin-top: 6px;
}
.final__prices { margin: 26px auto 28px; display: grid; gap: 8px; max-width: 360px; }
.final__prices li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 10px 0; border-bottom: 2px dashed rgba(43, 16, 8, .25);
  font-weight: 500;
}
.final__prices b { font-family: var(--ff-display); font-weight: 900; font-size: 1.5rem; }
.final__copy .btn { width: 100%; }
.final__small { margin-top: 14px; font-size: .88rem; font-weight: 500; }
.media--final {
  aspect-ratio: 1 / 1; border-radius: var(--r-lg);
  background: radial-gradient(circle at 50% 50%, #fff4d6, var(--cream-2));
  box-shadow: var(--shadow-lg); max-width: 520px; margin-inline: auto;
  transform: rotate(-2deg);
}
.art-trio svg { position: absolute; height: auto; aspect-ratio: 1; filter: drop-shadow(0 14px 16px rgba(43, 16, 8, .2)); }
.art-trio .t1 { width: 52%; left: 8%; top: 12%; }
.art-trio .t2 { width: 46%; right: 6%; top: 6%; transform: rotate(-10deg); }
.art-trio .t3 { width: 42%; right: 16%; bottom: 4%; }

/* ---------- Footer ---------- */
.footer { background: var(--coffee); color: rgba(255, 243, 220, .8); padding: 56px 0 110px; font-size: .95rem; }
.footer__inner { display: grid; gap: 32px; }
.footer__brand p { margin-top: 14px; line-height: 1.5; }
.footer__nav, .footer__social { display: grid; gap: 10px; align-content: start; justify-items: start; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer__social a { display: inline-flex; align-items: center; gap: 10px; }
.footer__legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 243, 220, .12); font-size: .82rem; opacity: .7; }

/* ---------- CTA fijo móvil ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(255, 243, 220, .98) 60%, rgba(255, 243, 220, 0));
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .75); }
#stickyLabel { overflow: hidden; text-overflow: ellipsis; }
.sticky-cta.is-pulse .btn { animation: pulse .6s var(--ease); }
@keyframes pulse { 50% { transform: scale(1.03); } }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================
   ≥ 640px  (tablet vertical)
   ========================================================== */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero__offer { flex-direction: row; align-items: stretch; }
  .hero__offer .btn { width: auto; }
  .price-tag { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 12px 22px; }
  .products { grid-template-columns: 1fr 1fr; }
  .product--main { grid-column: 1 / -1; flex-direction: row; }
  .product--main .media--product { flex: 1 1 50%; aspect-ratio: auto; min-height: 320px; }
  .product--main .product__body { flex: 1 1 50%; padding: 32px; justify-content: center; }
  .steps { grid-template-columns: 1fr 1fr; }
  .review__actions { flex-direction: row; justify-content: center; }
  .final__copy .btn { width: auto; }
  .combo--row { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 24px; }
  .combo--row .btn { grid-column: 1 / -1; }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ==========================================================
   ≥ 900px  (desktop)
   ========================================================== */
@media (min-width: 900px) {
  :root { --header-h: 78px; }
  .nav { display: flex; gap: 30px; }
  .nav a {
    position: relative; text-decoration: none; font-weight: 500; font-size: .96rem; padding: 6px 0;
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
  .btn--sm { padding: .65em 1.3em; }

  .hero { padding: 48px 0 110px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
  .hero__media { order: 0; max-width: none; }
  .stamp { width: 118px; height: 118px; right: 2%; top: 2%; font-size: .75rem; }
  .stamp b { font-size: 2.5rem; }
  .hero__chip { left: -4%; font-size: 1.6rem; padding: 12px 20px; }

  .section { padding: 110px 0; }
  .section__head { margin-bottom: 56px; }

  .products { grid-template-columns: 1.25fr 1fr 1fr; align-items: stretch; }
  .product--main { grid-column: auto; flex-direction: column; }
  .product--main .media--product { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .product--main .product__body { padding: 22px 22px 24px; justify-content: flex-start; }

  .combos { grid-template-columns: 1fr 1.08fr 1fr; align-items: center; gap: 24px; }
  .combo { padding: 34px 30px; }
  .combo--featured { padding: 48px 34px 40px; transform: scale(1.03); }
  .combo--featured .combo__now { font-size: 3.2rem; }
  .combos--compact { grid-template-columns: 1fr 1fr; align-items: stretch; max-width: 980px; margin-inline: auto; }
  .combo--row { transform: none; }

  .sensory { padding: 120px 0; }
  .sensory__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .features { grid-template-columns: 1fr 1fr; }

  .story { padding: 130px 0; }
  .story__grid { grid-template-columns: 1.15fr .85fr; gap: 80px; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
  .steps::before {
    content: ""; position: absolute; left: 12%; right: 12%; top: 50px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--coffee-soft) 0 8px, transparent 8px 16px); opacity: .4;
  }
  .step { padding: 28px 24px; text-align: center; background: #fff; }
  .step__n { position: relative; left: auto; top: auto; margin: 0 auto 16px; width: 58px; height: 58px; font-size: 1.25rem; box-shadow: 0 0 0 8px var(--paper); }

  .final { padding: 110px 0; }
  .final__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .final__copy { text-align: left; }
  .final__prices { margin-inline: 0; }

  .footer { padding-bottom: 40px; }
  .sticky-cta { display: none; }
}

/* ==========================================================
   ≥ 1200px  (pantallas grandes)
   ========================================================== */
@media (min-width: 1200px) {
  .hero { padding-top: 64px; }
  .hero__grid { gap: 80px; }
  .combo--featured { transform: scale(1.05); }
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Ajustes finos móvil ---------- */
.hero__grid > *, .final__grid > *, .story__grid > *, .sensory__grid > * { min-width: 0; }
@media (max-width: 639px) {
  .btn { white-space: normal; }
  .btn--xl { padding: 1em 1.4em; font-size: 1.05rem; }
  .sticky-cta .btn { padding-inline: 1em; font-size: .98rem; white-space: nowrap; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .price-tag__value { font-size: 1.6rem; }
  .sticky-cta .btn { font-size: .9rem; }
}

@media (min-width: 900px) { .logo__text { font-size: 1.5rem; } }
@media (max-width: 380px) { .logo__text { font-size: 1.12rem; } .logo__mark { width: 34px; height: 34px; } .header__cta span { display: none; } }

.media--final > img { object-position: 50% 0%; }

/* ==========================================================
   DOCUMENTAL · mini ventana flotante + modal
   ========================================================== */
.btn--ghost-light { --bg: transparent; --fg: var(--cream); border-color: rgba(255, 243, 220, .45); margin-left: 8px; }
.btn--ghost-light:hover { border-color: var(--gold); --fg: var(--gold); }
@media (max-width: 639px) { .story .btn { width: 100%; } .btn--ghost-light { margin: 12px 0 0; } }

.doc-mini {
  position: fixed; left: 20px; bottom: 20px; z-index: 70;
  width: 136px; aspect-ratio: 9 / 16;
  border-radius: 18px; overflow: visible;
  opacity: 0; transform: translateY(20px) scale(.92);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.doc-mini.is-visible { opacity: 1; transform: none; }
.doc-mini[hidden] { display: none; }
.doc-mini__open {
  position: relative; display: block; width: 100%; height: 100%; padding: 0;
  border: 3px solid var(--cream); border-radius: 18px; overflow: hidden;
  background: var(--coffee); cursor: pointer;
  box-shadow: 0 18px 40px -12px rgba(43, 16, 8, .55), 0 0 0 1px rgba(43, 16, 8, .15);
  transition: transform .25s var(--ease);
}
.doc-mini__open:hover { transform: scale(1.04); }
.doc-mini__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-mini__play {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 243, 220, .92); color: var(--red);
  box-shadow: 0 0 0 6px rgba(255, 243, 220, .25);
  animation: docPulse 2.4s ease-in-out infinite;
}
.doc-mini__play svg { width: 18px; height: 18px; margin-left: 2px; }
@keyframes docPulse { 50% { box-shadow: 0 0 0 12px rgba(255, 243, 220, 0); } }
.doc-mini__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 8px 8px; text-align: left;
  background: linear-gradient(to top, rgba(43, 16, 8, .92), transparent);
  color: var(--cream); font-size: .7rem; line-height: 1.2;
}
.doc-mini__label b { display: block; font-family: var(--ff-display); font-size: .9rem; color: var(--gold); }
.doc-mini__close {
  position: absolute; top: -10px; right: -10px; z-index: 2;
  width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--coffee); color: var(--cream); font-size: 1.15rem; line-height: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
}
.doc-mini__close:hover { background: var(--red); }

@media (max-width: 899px) {
  .doc-mini { width: 92px; left: 14px; bottom: calc(92px + env(safe-area-inset-bottom)); }
  .doc-mini__play { width: 32px; height: 32px; }
  .doc-mini__label { font-size: .6rem; padding: 20px 6px 6px; }
  .doc-mini__label b { font-size: .74rem; }
  .doc-mini__close { width: 26px; height: 26px; top: -9px; right: -9px; }
}

.doc-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; }
.doc-modal[hidden] { display: none; }
.doc-modal__backdrop { position: absolute; inset: 0; background: rgba(20, 8, 4, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.doc-modal__panel {
  position: relative; width: min(400px, 100%);
  background: var(--coffee); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: docIn .35s var(--ease);
}
@keyframes docIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.doc-modal__video {
  display: block; width: 100%; aspect-ratio: 9 / 16;
  max-height: calc(100dvh - 210px); background: #000; object-fit: contain;
}
.doc-modal__foot { padding: 14px 16px 16px; color: rgba(255, 243, 220, .85); font-size: .9rem; display: grid; gap: 12px; }
.doc-modal__foot b { color: var(--gold); font-family: var(--ff-display); }
.doc-modal__close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(43, 16, 8, .75); color: var(--cream); font-size: 1.5rem; line-height: 1;
}
.doc-modal__close:hover { background: var(--red); }
body.doc-open { overflow: hidden; }
.hero__chip { white-space: nowrap; }

/* Documental v2: botón de sonido y expandir */
.doc-mini { width: 150px; }
.doc-mini__play { display: none; }
.doc-mini__expand {
  position: absolute; top: 8px; left: 8px; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; background: rgba(43, 16, 8, .6); color: var(--cream);
}
.doc-mini__expand svg { width: 14px; height: 14px; }
.doc-mini__sound {
  position: absolute; right: 8px; bottom: 46px; z-index: 3;
  height: 34px; min-width: 34px; padding: 0 9px; border-radius: 999px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(43, 16, 8, .7); color: var(--cream); font: 700 .68rem/1 var(--ff-body);
}
.doc-mini__sound svg { width: 18px; height: 18px; }
.doc-mini__sound .i-off, .doc-mini__hint { display: none; }
.doc-mini.is-muted .doc-mini__sound { background: var(--red); animation: docPulse 2s ease-in-out infinite; }
.doc-mini.is-muted .doc-mini__sound .i-on { display: none; }
.doc-mini.is-muted .doc-mini__sound .i-off { display: block; }
.doc-mini.is-muted .doc-mini__hint { display: inline; }
@media (max-width: 899px) {
  .doc-mini { width: 108px; }
  .doc-mini__sound { bottom: 40px; right: 6px; height: 30px; min-width: 30px; padding: 0 7px; }
  .doc-mini__hint { display: none !important; }
  .doc-mini__expand { top: 6px; left: 6px; width: 22px; height: 22px; }
}
