/* ==========================================================================
   KIRI — Landing page styles (papercraft para imprimir y armar)
   ========================================================================== */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input { font: inherit; }
ul, ol { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- DESIGN TOKENS ---------- */
:root {
  --font-display: 'Quicksand', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --color-primary: #7EC8A0;
  --color-secondary: #F4B183;
  --color-accent-1: #C9A8D9;
  --color-accent-2: #8BBDE0;
  --color-accent-3: #F0C76E;
  --color-dark: #5C4033;
  --color-bg: #FDF8F3;
  --color-text: #3B2F2F;
  --color-white: #FFFFFF;

  --shadow-sm: 0 2px 8px rgba(92, 64, 51, 0.10);
  --shadow-md: 0 6px 20px rgba(92, 64, 51, 0.14);
  --shadow-lg: 0 12px 32px rgba(92, 64, 51, 0.18);
  --shadow-xl: 0 20px 48px rgba(92, 64, 51, 0.22);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;

  --radius-sm: 12px; --radius-md: 16px; --radius-lg: 24px; --radius-xl: 32px; --radius-full: 9999px;
  --radius-blob: 63% 37% 54% 46% / 55% 48% 52% 45%;
  --radius-blob-alt: 42% 58% 63% 37% / 45% 41% 59% 55%;

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  --container-width: 1180px;
}

/* ---------- LAYOUT ---------- */
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Para secciones que deben ocupar el ancho de la pantalla, no el del
   contenedor (los 4 pasos, que se reparten toda la fila). */
.container--ancho { max-width: 1600px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.1em;
  text-wrap: balance;
}

.text-accent { color: var(--color-secondary); }

.section { padding: var(--space-24) 0; position: relative; }
.section__title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: var(--space-16);
}

.pill {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-accent-3);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
}
.pill--dark { background: rgba(255,255,255,0.85); color: var(--color-dark); }

/* ---------- LOGO ----------
   Wordmark de una sola línea (KiRi), ratio ~2:1. Al no llevar segunda
   línea necesita menos alto que el lockup anterior para pesar igual. */
.header__logo { display: block; }
.header__logo img {
  height: 38px;
  width: auto;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: var(--space-4) var(--space-8);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--color-dark); outline-offset: 3px; }

.btn--primary {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); background: #f0a469; }

.btn--secondary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: #6bb890; }

.btn--dark {
  background: var(--color-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn--dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); background: #4a3329; }

.btn--xl {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  padding: var(--space-6) var(--space-12);
}
.btn--header { font-size: 0.85rem; padding: var(--space-2) var(--space-4); }

/* ---------- PRICE ---------- */
.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.price__old {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-dark);
  opacity: 0.55;
  text-decoration: line-through;
}
.price__now {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: var(--color-dark);
  line-height: 1;
  letter-spacing: -0.02em;
}
.price__tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  background: var(--color-accent-3);
  color: var(--color-dark);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  transform: rotate(-3deg);
}
.price--onblock { justify-content: flex-start; margin-bottom: var(--space-6); }

/* ---------- DOODLES ---------- */
.doodle {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.doodle--plane { top: 12%; left: 4%; width: 34px; color: var(--color-accent-2); transform: rotate(-16deg); }
.doodle--star { top: 8%; right: 7%; width: 26px; color: var(--color-accent-3); }
.doodle--sparkle { bottom: 16%; left: 8%; width: 24px; color: var(--color-accent-1); }
.doodle--scissors { bottom: 12%; right: 5%; width: 30px; color: var(--color-primary); transform: rotate(14deg); }
.doodle--arc { top: 46%; left: 2%; width: 96px; color: var(--color-accent-1); opacity: 0.5; }
.doodle--bar-plane { top: 18%; right: 6%; width: 40px; color: var(--color-accent-3); opacity: 0.5; transform: rotate(-12deg); }
.doodle--prod-star { top: 8%; left: 6%; width: 22px; color: var(--color-accent-3); }

@media (prefers-reduced-motion: no-preference) {
  .doodle--plane, .doodle--star, .doodle--sparkle, .doodle--scissors {
    animation: float 5s ease-in-out infinite;
  }
  .doodle--star { animation-delay: -1.2s; }
  .doodle--sparkle { animation-delay: -2.4s; }
  .doodle--scissors { animation-delay: -3.6s; }
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* Ocultar los doodles más intrusivos en pantallas pequeñas */
@media (max-width: 720px) {
  .doodle--plane, .doodle--sparkle, .doodle--arc { display: none; }
}

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: var(--space-12) 0 var(--space-24);
  background: linear-gradient(180deg, #FBEFE0 0%, var(--color-bg) 100%);
  overflow: hidden;
}
.hero__checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-8);
  margin-bottom: var(--space-12);
  position: relative;
  z-index: 2;
}
.hero__checks li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-dark);
}
.hero__checks svg { width: 14px; height: 14px; color: var(--color-primary); flex-shrink: 0; }

.hero__title {
  position: relative;
  z-index: 2;
  font-size: clamp(2.3rem, 6.5vw, 4rem);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: var(--space-6);
}
.hero__subtitle {
  position: relative;
  z-index: 2;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  text-align: center;
  max-width: 46ch;
  margin: 0 auto var(--space-12);
  color: var(--color-dark);
}
.hero__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
  justify-items: center;
  position: relative;
  z-index: 2;
}
.hero__cta { text-align: center; }
.hero__microcopy {
  margin-top: var(--space-4);
  font-size: 0.85rem;
  color: var(--color-dark);
  opacity: 0.75;
}

.hero__blob {
  position: relative;
  width: 260px;
  height: 310px;
  flex-shrink: 0;
}
.hero__blob-shape {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-blob);
  z-index: 0;
}
.hero__blob-shape--mint { background: var(--color-primary); transform: rotate(-6deg) scale(1.06); }
.hero__blob-shape--melocoton { background: var(--color-secondary); border-radius: var(--radius-blob-alt); transform: rotate(6deg) scale(1.06); }
.hero__blob-shape--lavanda { background: var(--color-accent-1); border-radius: var(--radius-blob-alt); transform: rotate(4deg) scale(1.08); }
.hero__blob-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-blob);
  box-shadow: var(--shadow-xl);
}
.hero__blob--right .hero__blob-img { border-radius: var(--radius-blob-alt); }

/* ---------- CUT LINE ---------- */
.cut-line {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  color: var(--color-dark);
  opacity: 0.35;
}
.cut-line__rule {
  flex: 1;
  border-top: 2px dashed currentColor;
}
.cut-line__icon svg { width: 22px; height: 22px; display: block; }

/* ---------- VALUE BAR ---------- */
.value-bar {
  position: relative;
  background: var(--color-dark);
  padding: var(--space-12) 0;
  overflow: hidden;
}
.value-bar__inner {
  display: grid;
  gap: var(--space-8);
  text-align: center;
  position: relative;
  z-index: 2;
}
.value-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.value-bar__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  color: var(--color-accent-3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-bar__icon svg { width: 24px; height: 24px; }
.value-bar__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--color-bg);
  font-size: 0.85rem;
  opacity: 0.85;
}
.value-bar__text strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  opacity: 1;
}

/* ---------- PROBLEMA / COLOR BLOCKS ---------- */
.color-blocks {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}
.color-block {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  font-family: var(--font-display);
  color: var(--color-white);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-6);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}
.color-block:hover { transform: translateY(-4px); }
.color-block p { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.color-block__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.color-block__icon svg { width: 24px; height: 24px; }
.color-block--mint { background: var(--color-primary); }
.color-block--melocoton { background: var(--color-secondary); }
.color-block--lavanda { background: var(--color-accent-1); }

.problema__cierre {
  text-align: center;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--color-dark);
  max-width: 58ch;
  margin: 0 auto;
}
.problema__cierre strong { font-family: var(--font-display); }

/* ---------- SOLUCIÓN ---------- */
.pasos__grid {
  display: grid;
  gap: var(--space-12);
  text-align: center;
}
/* Los 4 pasos van SIEMPRE en una sola fila, también en móvil. Por eso los
   textos son cortos y los tamaños se encogen en pantallas estrechas. */
.pasos__grid--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4) var(--space-2);
}
.pasos__grid--4 .pasos__num { font-size: 2rem; margin-bottom: 0; }
.pasos__grid--4 .pasos__icono {
  width: 46px;
  height: 46px;
  margin-bottom: var(--space-3);
}
.pasos__grid--4 .pasos__icono svg { width: 22px; height: 22px; }
.pasos__grid--4 .pasos__item h3 { font-size: 0.95rem; }
.pasos__grid--4 .pasos__item p { font-size: 0.78rem; line-height: 1.35; }

.pasos__item { position: relative; }
.pasos__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--color-secondary);
  opacity: 0.35;
  margin-bottom: var(--space-2);
}
.pasos__icono {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.pasos__icono svg { width: 32px; height: 32px; }
.pasos__item h3 { font-size: 1.4rem; margin-bottom: var(--space-2); }
.pasos__item p { max-width: 30ch; margin: 0 auto; }

/* ---------- PRODUCTO / BLOB GRID ---------- */
.section--producto { background: var(--color-white); overflow: hidden; }
.blob-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-12) var(--space-6);
  margin-bottom: var(--space-12);
}
.blob-card {
  position: relative;
  text-align: center;
  transition: transform var(--transition-base);
}
.blob-card:hover { transform: translateY(-6px) rotate(-1deg); }
.blob-card__shape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  width: 88%;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-blob);
  z-index: 0;
}
.blob-card__shape--azul { background: var(--color-accent-2); }
.blob-card__shape--melocoton { background: var(--color-secondary); border-radius: var(--radius-blob-alt); }
.blob-card__shape--mostaza { background: var(--color-accent-3); }
.blob-card__shape--mint { background: var(--color-primary); border-radius: var(--radius-blob-alt); }
.blob-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-blob);
  box-shadow: var(--shadow-lg);
  margin: 0 auto var(--space-4);
}
.blob-card h3 { font-size: 1.15rem; margin-bottom: var(--space-1); }
.blob-card p { font-size: 0.9rem; opacity: 0.75; }

.producto__badge {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-dark);
  background: var(--color-accent-3);
  display: table;
  margin: 0 auto;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

/* ---------- BENEFICIOS / CTA BLOCKS ---------- */
.cta-blocks {
  display: grid;
  gap: var(--space-6);
}
.cta-block {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.cta-block--mint { background: var(--color-primary); }
.cta-block--melocoton { background: var(--color-secondary); }
.cta-block__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}
/* Cuando el "foto" es en realidad una hoja del PDF: se muestra entera
   sobre blanco, no recortada a 16/10 como una fotografía. */
.cta-block__img--hoja {
  object-fit: contain;
  object-position: center;
  background: var(--color-white);
  padding: var(--space-3);
}
.cta-block h3 { color: var(--color-white); font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: var(--space-3); }
.cta-block p { margin-bottom: var(--space-2); }
.cta-block__extra {
  font-size: 0.9rem;
  opacity: 0.92;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.35);
  margin-top: var(--space-4);
}

/* ---------- CONFIANZA ---------- */
.section--confianza { background: var(--color-white); }
.confianza__inner {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
.confianza__title { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: var(--space-4); }
.confianza__texto p { margin-bottom: var(--space-8); max-width: 52ch; }
.confianza__facts {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-8);
}
.confianza__facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-primary);
  line-height: 1.1;
}
.confianza__facts span { font-size: 0.85rem; opacity: 0.75; }
.confianza__foto {
  position: relative;
  justify-self: center;
  width: 260px;
  height: 310px;
}
.confianza__foto img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-blob-alt);
  box-shadow: var(--shadow-xl);
}

/* ---------- FAQ (acordeón nativo) ---------- */
.section--faq { background: var(--color-white); }
.faq__inner { max-width: 760px; }

.faq__item {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}
.faq__item:hover { box-shadow: var(--shadow-md); }
.faq__item[open] { background: var(--color-white); box-shadow: var(--shadow-md); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-dark);
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 3px solid var(--color-primary); outline-offset: -3px; }

/* Indicador +/- dibujado con CSS */
.faq__item summary::after {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background:
    linear-gradient(var(--color-dark), var(--color-dark)) center/12px 2.5px no-repeat,
    linear-gradient(var(--color-dark), var(--color-dark)) center/2.5px 12px no-repeat,
    var(--color-accent-3);
  transition: rotate var(--transition-base), background-color var(--transition-base);
}
.faq__item[open] summary::after {
  rotate: 135deg;
  background:
    linear-gradient(var(--color-dark), var(--color-dark)) center/12px 2.5px no-repeat,
    linear-gradient(var(--color-dark), var(--color-dark)) center/2.5px 12px no-repeat,
    var(--color-primary);
}

.faq__answer {
  padding: 0 var(--space-6) var(--space-6);
  border-top: 2px dashed rgba(92, 64, 51, 0.16);
  margin-top: calc(var(--space-2) * -1);
  padding-top: var(--space-4);
}
.faq__answer p { font-size: 0.97rem; max-width: 62ch; }

@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] .faq__answer { animation: faq-open var(--transition-base) ease; }
}
@keyframes faq-open {
  from { opacity: 0; translate: 0 -6px; }
  to { opacity: 1; translate: 0 0; }
}

/* ---------- CTA FINAL / EVENTO ---------- */
.section--evento { padding: var(--space-24) 0; }
.evento__inner {
  display: grid;
  gap: var(--space-8);
  align-items: stretch;
}
.evento__foto {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 260px;
  background: var(--color-accent-2);
  box-shadow: var(--shadow-md);
}
.evento__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.evento__bloque {
  background: var(--color-accent-3);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8);
  box-shadow: var(--shadow-md);
}
.evento__bloque h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  margin-bottom: var(--space-6);
}
.evento__micro {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: var(--space-4);
}
.evento__separador {
  height: 2px;
  background: repeating-linear-gradient(to right, rgba(92,64,51,0.28) 0 8px, transparent 8px 16px);
  margin: var(--space-12) 0 var(--space-8);
}
.evento__lead-titulo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: var(--space-4);
}
.evento__lead-nota {
  margin-top: var(--space-3);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ---------- LEAD MAGNET FORM ---------- */
.lead-magnet__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.lead-magnet__form input {
  padding: var(--space-4);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-white);
  background: var(--color-white);
  color: var(--color-text);
}
.lead-magnet__form input:focus {
  outline: none;
  border-color: var(--color-dark);
}
.lead-magnet__mensaje {
  margin-top: var(--space-3);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-dark);
  min-height: 1.2em;
}

/* ---------- LEAD MAGNET (embed de MailerLite) ----------
   El embed trae sus propios estilos en css/mailerlite-form.css (código de
   terceros, no se toca). Aquí solo se ajusta lo justo para que no desentone:
   nuestras fuentes, nuestros radios y el botón en pastilla. */
.section--gratis { padding: var(--space-16) 0 var(--space-24); }
.gratis__intro { text-align: center; margin-bottom: var(--space-12); }
.gratis__intro .section__title { margin-bottom: var(--space-6); }
.gratis__intro p {
  max-width: 56ch;
  margin: 0 auto;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--color-dark);
}
.gratis__inner { display: flex; justify-content: center; }

#mlb2-45295519.ml-form-embedContainer .ml-form-embedWrapper {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md);
}
/* El h4 del embed se oculta: el texto que lo introduce ya está en la página.
   Se deja en el DOM porque el JS de MailerLite cuenta con él. */
#mlb2-45295519.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent {
  display: none !important;
}
#mlb2-45295519 .ml-form-embedContent h4,
#mlb2-45295519 .ml-form-successContent h4 {
  font-family: var(--font-display) !important;
  font-size: 1.7rem !important;
  color: var(--color-dark) !important;
}
#mlb2-45295519 .ml-form-embedContent p,
#mlb2-45295519 .ml-form-successContent p {
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  color: var(--color-text) !important;
}
/* Cadena completa de selectores para superar la especificidad del vendor,
   que ya usa !important en border-radius. */
#mlb2-45295519.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input {
  font-family: var(--font-body) !important;
  border-radius: var(--radius-full) !important;
  border-color: transparent !important;
  padding: 12px 18px !important;
}
#mlb2-45295519.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button {
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  border-radius: var(--radius-full) !important;
  padding: 14px !important;
  transition: transform var(--transition-fast), background var(--transition-fast);
}
#mlb2-45295519.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:hover {
  background-color: #4a3329 !important;
  transform: translateY(-2px);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--color-dark);
  color: var(--color-bg);
  padding: var(--space-16) 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}
.footer__logo { height: 48px; width: auto; margin-bottom: var(--space-2); }
.footer__tagline { font-size: 0.9rem; opacity: 0.8; max-width: 40ch; }
.footer__nav { display: flex; gap: var(--space-6); font-size: 0.85rem; }
.footer__nav a { opacity: 0.85; transition: opacity var(--transition-fast); }
.footer__nav a:hover { opacity: 1; text-decoration: underline; }
.footer__copy { font-size: 0.8rem; opacity: 0.6; margin-top: var(--space-2); }

/* ---------- CTA FIJA MÓVIL ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: rgba(253, 248, 243, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 -4px 20px rgba(92, 64, 51, 0.16);
  transform: translateY(110%);
  transition: transform var(--transition-base);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.sticky-cta__old {
  font-size: 0.75rem;
  opacity: 0.6;
  text-decoration: line-through;
}
/* Nombre del producto, no un precio anterior: sin tachado. */
.sticky-cta__label {
  font-size: 0.75rem;
  opacity: 0.7;
}
.sticky-cta__price strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-dark);
}
.sticky-cta .btn { padding: var(--space-3) var(--space-6); font-size: 0.95rem; }

@media (max-width: 859px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
}

/* ---------- SCROLL ANIMATIONS ---------- */
/* Visible por defecto: JS añade .fade-init antes de observar, así el
   contenido nunca queda oculto si el script falla o tarda en cargar. */
.fade-in.fade-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.fade-in.fade-init.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in.fade-init { opacity: 1; transform: none; transition: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 640px) {
  .color-blocks { grid-template-columns: repeat(3, 1fr); }
  /* :not() para no pisar la variante de 4, que va siempre en una sola fila */
  .pasos__grid:not(.pasos__grid--4) { grid-template-columns: repeat(3, 1fr); }
  .cta-blocks { grid-template-columns: repeat(2, 1fr); }
  .value-bar__inner { grid-template-columns: repeat(3, 1fr); }
  .lead-magnet__form { flex-direction: row; }
  .lead-magnet__form input { flex: 1; }
}

@media (min-width: 860px) {
  /* En escritorio los 4 pasos recuperan su tamaño normal */
  .pasos__grid--4 { gap: var(--space-8); }
  .pasos__grid--4 .pasos__num { font-size: 3.4rem; margin-bottom: var(--space-2); }
  .pasos__grid--4 .pasos__icono { width: 72px; height: 72px; margin-bottom: var(--space-4); }
  .pasos__grid--4 .pasos__icono svg { width: 32px; height: 32px; }
  .pasos__grid--4 .pasos__item h3 { font-size: 1.4rem; }
  .pasos__grid--4 .pasos__item p { font-size: 1rem; line-height: 1.6; }
  .hero__row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .hero__blob { width: 270px; height: 330px; }
  .blob-grid { grid-template-columns: repeat(4, 1fr); }
  .confianza__inner { grid-template-columns: 1fr auto; }
  .confianza__foto { order: 2; width: 300px; height: 360px; }
  .evento__inner { grid-template-columns: 1fr 1.1fr; }
  .evento__bloque { padding: var(--space-16) var(--space-12); }
}
