/* ==========================================================================
   Mamá Maravilla con Clover — sistema visual compartido (landing + juego)
   Mobile-first. Breakpoints: sm 576 · md 768 · lg 992 · xl 1280
   ========================================================================== */

@font-face {
  font-family: 'Bebas';
  src: url("../custom-fonts/fonts/bebas-regular-webfont.woff2") format("woff2"),
       url("../custom-fonts/fonts/bebas-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap; }

@font-face {
  font-family: 'Mob';
  src: url("../custom-fonts/fonts/mob-webfont.woff2") format("woff2"),
       url("../custom-fonts/fonts/mob-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap; }

@font-face {
  font-family: 'Tenor Sans';
  src: url("../custom-fonts/fonts/tenorsans-regular-webfont.woff2") format("woff2"),
       url("../custom-fonts/fonts/tenorsans-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap; }

:root {
  --green-950: #00472A;
  --green-900: #004C2D;
  --green-850: #00522D;
  --green-800: #005E2F;
  --green-700: #126E36;
  --green-600: #1C8439;
  --green-accent: #39D119;
  --prize-star: #086001;
  --yellow: #FFFF00;
  --yellow-soft: #FFF35C;
  --lime: #D4DE22;
  --cream: #FFFEF4;
  --cream-step: #FAF7B2;
  --ink: #00472A;
  --ink-muted: #4C6B5A;
  --line: #D9DCD0;
  --danger: #C62828;

  /* Bebas no trae tildes, Ñ ni ¿¡: el fallback condensado cubre esos glifos. */
  --font-eyebrow: 'Bebas', 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-display: 'Mob', 'Arial Black', sans-serif;
  /* Serif de títulos pendiente del diseñador (spec §8, faltante 2). */
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-ui: 'Tenor Sans', 'Helvetica Neue', Arial, sans-serif;

  --radius-card: 24px;
  --radius-input: 6px;
  --container: 1220px;
  --gutter: 16px;
  --header-h: 64px;
  --shadow-card: 0 18px 40px rgba(0, 40, 20, .25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  background: var(--green-900);
  overflow-x: hidden; }

img, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); font-weight: 700; line-height: 1.15; }
p { margin: 0; }

button { font: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.mm-container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0; }

/* ---------- Tipografía ---------- */
.mm-eyebrow {
  display: block;
  font-family: var(--font-eyebrow);
  font-size: 15px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 10px; }

.mm-title { font-size: clamp(28px, 6vw, 44px); }
.mm-lead { font-size: 16px; opacity: .9; margin-top: 10px; }

/* ---------- Botones ---------- */
.mm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  text-decoration: none;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }

.mm-btn:hover { transform: translateY(-2px); }
.mm-btn:active { transform: translateY(0); }
.mm-btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

.mm-btn--yellow { background: var(--yellow); color: var(--green-950); box-shadow: 0 6px 0 rgba(0, 0, 0, .12); }
.mm-btn--yellow:hover { box-shadow: 0 10px 18px rgba(0, 0, 0, .2); }
.mm-btn--outline { background: transparent; color: #fff; border-color: #fff; }
.mm-btn--outline:hover { background: rgba(255, 255, 255, .12); }
.mm-btn--dark { background: var(--green-950); color: #fff; }
.mm-btn--green { background: var(--green-accent); color: var(--green-950); }
.mm-btn--block { width: 100%; }

/* ---------- Sparkles ---------- */
.mm-sparkle {
  position: absolute;
  width: 28px;
  pointer-events: none;
  animation: mm-twinkle 3.2s ease-in-out infinite; }
.mm-sparkle--sm { width: 16px; }
.mm-sparkle--lg { width: 44px; }
.mm-sparkle:nth-of-type(2n) { animation-delay: -1.1s; }
.mm-sparkle:nth-of-type(3n) { animation-delay: -2.2s; }

@keyframes mm-twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0); }
  50% { opacity: .45; transform: scale(.75) rotate(12deg); } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; } }

[hidden] { display: none !important; }

/* ==========================================================================
   Landing
   ========================================================================== */

/* ---------- Secciones ---------- */
.mm-section { position: relative; padding: 64px 0; overflow: hidden; }
.mm-section__head { text-align: center; max-width: 720px; margin: 0 auto 36px; }

/* ---------- 0 · Header ---------- */
.mm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green-900);
  transition: box-shadow .2s ease; }
.mm-header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }

.mm-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h); }

.mm-header__logo img { width: 72px; }
.mm-header__cta { margin-left: auto; min-height: 44px; padding: 10px 16px; font-size: 14px; }

.mm-menu-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; color: #fff; }
.mm-menu-btn__bar,
.mm-menu-btn__bar::before,
.mm-menu-btn__bar::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s ease, background-color .2s ease; }
.mm-menu-btn__bar { position: relative; }
.mm-menu-btn__bar::before, .mm-menu-btn__bar::after { content: ''; position: absolute; left: 0; }
.mm-menu-btn__bar::before { top: -7px; }
.mm-menu-btn__bar::after { top: 7px; }
.is-open .mm-menu-btn__bar { background: transparent; }
.is-open .mm-menu-btn__bar::before { transform: translateY(7px) rotate(45deg); }
.is-open .mm-menu-btn__bar::after { transform: translateY(-7px) rotate(-45deg); }

.mm-nav {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  flex-direction: column;
  padding: 8px var(--gutter) 20px;
  background: var(--green-900);
  box-shadow: 0 12px 20px rgba(0, 0, 0, .25); }
.is-open .mm-nav { display: flex; }
.mm-nav a {
  display: flex; align-items: center;
  min-height: 48px;
  font-size: 17px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mm-nav a:hover { color: var(--yellow); }

@media (min-width: 992px) {
  .mm-header__logo img { width: 84px; }
  .mm-menu-btn { display: none; }
  .mm-nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 28px;
    margin: 0 auto;
    padding: 0;
    background: none;
    box-shadow: none; }
  .mm-nav a { min-height: 44px; font-size: 15px; border: 0; }
  .mm-header__cta { margin-left: 0; } }

/* ---------- 1 · Hero ---------- */
.mm-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 40px;
  background:
    radial-gradient(circle at 75% 40%, rgba(57, 209, 25, .25), transparent 45%),
    linear-gradient(180deg, var(--green-900), var(--green-850)); }

.mm-hero__grid { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.mm-hero__copy { display: contents; }
.mm-hero__lockup { order: 1; width: min(100%, 520px); }
.mm-hero__media { order: 2; position: relative; width: min(82%, 420px); }
.mm-hero__prize { order: 3; }
.mm-hero__ctas { order: 4; display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 360px; }
.mm-hero__micro { order: 5; font-size: 14px; opacity: .85; }

.mm-ribbon {
  display: inline-block;
  padding: 6px 22px;
  background: var(--green-accent);
  color: var(--green-950);
  font-family: var(--font-eyebrow);
  font-size: 20px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 999px; }

.mm-ribbon--arc {
  position: absolute;
  left: 50%; bottom: 4%;
  transform: translateX(-50%) rotate(-4deg);
  white-space: nowrap;
  font-size: 16px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }

.mm-hero__amount {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(38px, 11.5vw, 88px);
  line-height: .95;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .15); }
.mm-hero__weekly {
  font-family: var(--font-eyebrow);
  font-size: 20px;
  letter-spacing: .2em;
  text-transform: uppercase; }

.mm-hero__scroll {
  display: flex; flex-direction: column; align-items: center;
  margin-top: 28px;
  font-family: var(--font-eyebrow);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: .85; }
.mm-hero__scroll span { font-size: 22px; line-height: 1; animation: mm-bob 1.8s ease-in-out infinite; }
@keyframes mm-bob { 50% { transform: translateY(5px); } }

@media (min-width: 576px) {
  .mm-hero__ctas { flex-direction: row; justify-content: center; max-width: none; } }

@media (min-width: 992px) {
  .mm-hero { padding: 40px 0 32px; }
  .mm-hero__grid { flex-direction: row; align-items: center; text-align: left; gap: 40px; }
  .mm-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; flex: 1 1 55%; }
  .mm-hero__lockup { width: min(100%, 560px); }
  .mm-hero__media { flex: 1 1 45%; width: auto; max-width: 520px; }
  .mm-hero__ctas { justify-content: flex-start; } }

/* ---------- 2 · Premios ---------- */
.mm-premios { background: var(--green-800); }

.mm-prizes {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  gap: 72px 24px;
  justify-items: center; }

.mm-prize {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: min(100%, 340px);
  min-height: 120px;
  padding: 60px 24px 20px;
  background: var(--yellow);
  color: var(--green-950);
  border-radius: 20px 20px 64px 20px;
  transform: rotate(-2deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18); }
.mm-prize:nth-child(2) { transform: rotate(2deg); }

.mm-prize__star {
  position: absolute;
  top: -52px; left: 50%;
  width: 104px; height: 104px;
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
  padding-top: 10px;
  background: url("https://grupo-jaremar.s3.amazonaws.com/web-src/v9/mama-maravilla/prize-star.svg") center / contain no-repeat;
  color: #fff;
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  text-shadow: 0 3px 0 rgba(0, 71, 42, .45);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }

.mm-prize__value { font-family: var(--font-display); font-size: clamp(30px, 8vw, 42px); line-height: 1; }
.mm-prize__label {
  font-family: var(--font-eyebrow);
  font-size: 20px;
  letter-spacing: .14em;
  text-transform: uppercase; }

.mm-prize--kit { padding-top: 64px; }
.mm-prize--kit .mm-prize__img { position: absolute; right: -10px; top: -70px; width: 110px; }
.mm-prize--kit .mm-prize__star { left: 32%; }

.mm-prize--grand { width: min(100%, 400px); }
.mm-prize--grand .mm-prize__value { font-size: clamp(36px, 10vw, 56px); }

@media (min-width: 768px) {
  .mm-prizes { grid-template-columns: 1fr 1fr; }
  .mm-prize--grand { grid-column: 1 / -1; }
  .mm-prize--kit .mm-prize__img { width: 150px; top: -100px; } }

/* ---------- 3 · Cómo participar ---------- */
.mm-pasos { background: linear-gradient(180deg, var(--green-800), var(--green-600)); }

.mm-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  gap: 40px;
  counter-reset: none; }

.mm-step {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 44px 24px 28px;
  background: var(--cream-step);
  color: var(--green-950);
  text-align: center;
  border-radius: 24px 24px 72px 24px; }

.mm-step__num {
  position: absolute;
  top: -30px; left: 24px;
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: url("https://grupo-jaremar.s3.amazonaws.com/web-src/v9/mama-maravilla/step-star.svg") center / contain no-repeat;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 24px; }

.mm-step__title { font-size: 19px; }
.mm-step__url {
  display: block;
  margin: 8px -24px;
  padding: 6px 12px;
  background: var(--green-accent);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: normal; }
.mm-step img { width: min(100%, 240px); }

.mm-step__mini {
  display: flex; flex-direction: column; gap: 6px;
  width: 100%; max-width: 260px;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08); }
.mm-step__mini-label { font-family: var(--font-ui); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; text-align: left; color: var(--ink-muted); }
.mm-step__mini-input { padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius-input); text-align: left; letter-spacing: .2em; color: var(--ink-muted); }
.mm-step__mini-btn { padding: 8px; background: var(--green-950); color: #fff; border-radius: 999px; font-size: 13px; font-weight: 700; }

.mm-step__x { font-family: var(--font-display); font-size: 56px; line-height: 1; }
.mm-step .mm-step__sparkle { position: absolute; right: 22px; bottom: 26px; width: 22px; }

.mm-pasos__legal { margin-top: 32px; text-align: center; font-size: 14px; opacity: .9; }

@media (min-width: 992px) {
  .mm-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .mm-step { justify-content: flex-start; } }

/* ---------- 4 · Registro ---------- */
.mm-registro { background: var(--green-700); }

.mm-registro__grid { display: grid; gap: 28px; align-items: center; }
.mm-registro__intro { text-align: center; }
.mm-registro__mama {
  position: relative;
  isolation: isolate;
  width: min(72%, 260px);
  margin: 20px auto 0; }
.mm-registro__mama img { position: relative; width: 100%; }
/* Brillo en forma de trébol del KV, detrás de la mamá */
.mm-registro__mama::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -14%; right: -14%; top: -4%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 34% 28%, var(--lime) 0 21%, transparent 22%),
    radial-gradient(circle at 66% 28%, var(--lime) 0 21%, transparent 22%),
    radial-gradient(circle at 24% 58%, var(--lime) 0 21%, transparent 22%),
    radial-gradient(circle at 76% 58%, var(--lime) 0 21%, transparent 22%),
    radial-gradient(circle at 50% 48%, var(--lime) 0 26%, transparent 27%);
  filter: blur(14px);
  opacity: .9; }

@media (min-width: 992px) {
  .mm-registro__grid { grid-template-columns: 5fr 6fr; gap: 56px; }
  .mm-registro__intro { text-align: left; }
  .mm-registro__mama { width: min(100%, 380px); margin: 40px 0 0; } }

.mm-form-card {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 28px 20px;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); }
@media (min-width: 576px) { .mm-form-card { padding: 36px 36px 32px; } }

.mm-form-card__eyebrow { color: var(--green-700); font-size: 14px; }
.mm-form-card__title { font-size: clamp(26px, 6vw, 34px); color: var(--green-950); }
.mm-form-card__sub { margin: 8px 0 22px; font-size: 15px; color: var(--ink-muted); }
.mm-form-card__note { margin-top: 12px; text-align: center; font-size: 14px; color: var(--ink-muted); }

.poll-form .tab { display: none; }

.mm-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.mm-field label,
.mm-field__labels label {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--green-950); }
.mm-field__labels { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; align-items: baseline; }
.mm-field__hint { font-family: var(--font-ui); font-size: 12px; color: var(--ink-muted); }

.mm-field-row { display: grid; gap: 0 16px; }
@media (min-width: 576px) { .mm-field-row { grid-template-columns: 1fr 1fr; } }

.poll-form .form-control {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font-family: var(--font-ui);
  font-size: 16px; /* evita el zoom de iOS al enfocar */
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none; }
.poll-form .form-control:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(28, 132, 57, .2); }
.poll-form .form-control:disabled { background: #F2F2EA; color: var(--ink-muted); }

.poll-form select.form-control {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2300472A' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px; }

.poll-form .form-control.invalid { border-color: var(--danger); background-color: #FFF1F0; }

/* Número de lote siempre en mayúsculas (api.js también lo envía así).
   Se aplica al input y a su máscara (#batchNumberMask…) para que queden alineados. */
.poll-form [id^="batchNumber"] { text-transform: uppercase; }

/* masking-input.js envuelve cada .masked en span.shell con la máscara detrás */
.poll-form .shell { position: relative; display: block; line-height: 1; }
.poll-form .shell > span {
  position: absolute;
  left: 15px; top: 0;
  height: 48px;
  display: flex; align-items: center;
  font-family: var(--font-ui);
  font-size: 16px;
  color: #A3A89B;
  pointer-events: none;
  white-space: pre;
  z-index: 1; }
.poll-form .shell > span i { font-style: normal; color: transparent; }
.poll-form .shell .form-control { position: relative; background-color: transparent; }
.poll-form .shell { background: #fff; border-radius: var(--radius-input); }
.poll-form .shell .form-control.invalid { background-color: rgba(255, 241, 240, .6); }

.mm-error { font-family: var(--font-ui); font-size: 13px !important; font-weight: normal !important; color: var(--danger) !important; }

.mm-wizard-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 4px 0 18px; }
.mm-btn--ghost {
  min-height: 44px;
  padding: 8px 18px;
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-700);
  font-size: 15px; }
.mm-btn--ghost:hover { background: rgba(18, 110, 54, .08); }
/* showTab() escribe style.display = "inline": se mantiene el layout flex */
.mm-wizard-nav .mm-btn[style*="inline"] { display: inline-flex !important; }
.fa-chevron-left::before { content: '‹'; font-style: normal; font-size: 20px; line-height: 1; }
.fa-chevron-right::before { content: '›'; font-style: normal; font-size: 20px; line-height: 1; }
.fa { font-style: normal; }

.mm-check {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: normal !important;
  cursor: pointer; }
.mm-check input { width: 22px; height: 22px; flex: 0 0 22px; accent-color: var(--green-700); }
.mm-check a { color: var(--green-700); font-weight: 700; }

.data-status { margin-bottom: 12px; }
.data-status .alert { padding: 12px 14px; border-radius: 10px; font-family: var(--font-ui); font-size: 15px; text-align: center; }
.data-status .alert-info { background: #E7F4E9; color: var(--green-950); }
.data-status .alert-danger { background: #FFE9E7; color: var(--danger); }

/* Modal de éxito del registro (api.js lo muestra con style.display = "block") */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 16px;
  background: rgba(0, 30, 15, .7);
  overflow-y: auto; }
.modal-content {
  position: relative;
  max-width: 420px;
  margin: 18vh auto 0;
  padding: 36px 24px 28px;
  background: var(--cream);
  color: var(--ink);
  text-align: center;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  animation: mm-pop .35s cubic-bezier(.2, .9, .3, 1.3); }
.modal-content h2 { font-size: 30px; color: var(--green-950); }
.modal-content #modalBodyContent { margin: 10px 0 6px; font-size: 17px; }
.modal-next { margin-bottom: 20px; font-size: 14px; color: var(--ink-muted); }
.modal-sparkle { position: absolute; top: -26px; left: 50%; width: 40px; transform: translateX(-50%); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
@keyframes mm-pop { from { opacity: 0; transform: scale(.9) translateY(12px); } }

/* ---------- 5 · El juego ---------- */
.mm-juego { background: var(--green-700); }

.mm-juego__card {
  padding: 20px;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); }

.mm-juego__main { display: grid; gap: 20px; align-items: center; }
.mm-juego__casa { width: min(100%, 480px); margin: 0 auto; border-radius: 16px; }
.mm-juego__text .mm-eyebrow { color: var(--green-700); font-size: 13px; }
.mm-juego__title { font-size: clamp(26px, 6vw, 36px); color: var(--green-950); margin-bottom: 16px; }

.mm-juego__steps { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: paso; }
.mm-juego__steps li { counter-increment: paso; display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 15px; }
.mm-juego__steps li::before {
  content: counter(paso);
  flex: 0 0 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-ui);
  font-size: 12px; }
.mm-juego__steps strong { color: var(--green-950); }

.mm-juego__levels-wrap { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 20px; align-items: center; }
.mm-juego__levels {
  list-style: none; margin: 0 -20px; padding: 0 20px 8px;
  flex: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 62%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; }
.mm-juego__levels li { scroll-snap-align: start; text-align: center; }
.mm-juego__levels img { border-radius: 12px; background: #F6F5E6; }
.mm-juego__levels span { display: block; margin-top: 8px; font-weight: 700; font-size: 14px; color: var(--green-950); }
.mm-juego__phone { display: none; }

@media (min-width: 768px) {
  .mm-juego__card { padding: 32px; }
  .mm-juego__main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .mm-juego__levels { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

@media (min-width: 992px) {
  .mm-juego__phone { display: block; width: 120px; flex: 0 0 120px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .2)); } }

/* ---------- 6 · Cinco poderes ---------- */
.mm-poderes { background: var(--green-700); padding-top: 16px; }
.mm-poderes__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px; }
.mm-poderes__grid li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.mm-poderes__grid li:last-child { grid-column: 1 / -1; width: calc(50% - 8px); justify-self: center; }
.mm-poderes__grid img { width: 100%; max-width: 170px; border-radius: 18px; box-shadow: 0 10px 20px rgba(0, 0, 0, .2); }
.mm-poderes__grid strong { margin-top: 6px; font-size: 15px; }
.mm-poderes__grid span { font-family: var(--font-display); font-size: 22px; color: var(--yellow); }

@media (min-width: 768px) {
  .mm-poderes__grid { grid-template-columns: repeat(5, 1fr); }
  .mm-poderes__grid li:last-child { grid-column: auto; width: auto; } }

/* ---------- 7 · Productos ---------- */
.mm-productos { background: linear-gradient(180deg, var(--lime), var(--yellow)); color: var(--green-950); }
.mm-productos__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px; }
@media (min-width: 400px) { .mm-productos__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .mm-productos__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.mm-producto {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px;
  min-height: 170px;
  padding: 20px 14px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 18px;
  text-align: center; }
.mm-producto__media {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 140px; margin-bottom: 4px; }
.mm-producto__media img { width: 84px; height: auto; }
.mm-producto__media .mm-producto__foto {
  width: auto; height: auto; max-width: 100%; max-height: 140px;
  filter: drop-shadow(0 6px 10px rgba(0, 40, 0, .18)); }
.mm-producto strong { font-size: 15px; line-height: 1.25; }
.mm-producto span { font-family: var(--font-ui); font-size: 12px; opacity: .75; }
.mm-producto--skeleton { background: rgba(255, 255, 255, .35); animation: mm-pulse 1.4s ease-in-out infinite; }
.mm-producto--empty { grid-column: 1 / -1; min-height: 0; }
@keyframes mm-pulse { 50% { opacity: .5; } }

/* ---------- 8 · FAQ ---------- */
.mm-faq { background: linear-gradient(180deg, var(--yellow), var(--lime)); color: var(--green-950); }
.mm-faq__grid { display: grid; gap: 28px; }
.mm-faq__sparkle { display: none; }
.mm-faq .mm-eyebrow { color: var(--green-700); }

.mm-accordion__item { border-bottom: 1px solid rgba(0, 71, 42, .2); }
.mm-accordion__item h3 { font-size: inherit; }
.mm-accordion__btn {
  width: 100%;
  min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 0;
  background: none; border: 0;
  color: var(--green-950);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
  text-align: left; }
.mm-accordion__btn::after { content: '+'; flex: 0 0 auto; font-size: 24px; font-weight: 400; transition: transform .2s ease; }
.mm-accordion__btn[aria-expanded="true"]::after { transform: rotate(45deg); }
.mm-accordion__panel { padding: 0 0 18px; font-size: 15px; }

@media (min-width: 992px) {
  .mm-faq__grid { grid-template-columns: 2fr 3fr; gap: 64px; }
  .mm-faq__sparkle { display: block; width: 40px; margin-top: 40px; } }

/* ---------- 9 · CTA final ---------- */
.mm-cta-final { background: var(--lime); color: var(--green-950); text-align: center; }
.mm-cta-final .mm-title { margin-bottom: 24px; }

/* ---------- 10 · Footer ---------- */
.mm-footer { padding: 40px 0 24px; background: var(--green-950); font-size: 14px; }
.mm-footer__grid { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.mm-footer__logos { display: flex; align-items: center; gap: 20px; }
.mm-footer__logos img { width: 84px; }
.mm-footer__social { display: flex; gap: 12px; }
.mm-footer__social a {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  font-family: var(--font-ui);
  font-size: 14px;
  text-decoration: none; }
.mm-footer__social a:hover { background: rgba(255, 255, 255, .12); }
.mm-footer__bottom {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px; opacity: .85; text-align: center; }
.mm-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.mm-footer__links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 768px) {
  .mm-footer__grid { flex-direction: row; justify-content: space-between; text-align: left; }
  .mm-footer__bottom { flex-direction: row; justify-content: space-between; } }

@media (min-width: 992px) {
  .mm-section { padding: 96px 0; } }
