/* =========================================================
   HOME TEST · Pruebas de embarazo · IMEX Group
   Hoja de estilos principal
   ========================================================= */

:root {
  --magenta: #a4027c;
  --magenta-2: #c51873;
  --rosa: #e52e6b;
  --degradado: linear-gradient(90deg, #a4027c 0%, #c51873 55%, #e52e6b 100%);
  --degradado-v: linear-gradient(135deg, #8e0270 0%, #b3087a 45%, #d21d73 100%);
  --tinta: #1b1730;
  --texto: #4a4658;
  --texto-suave: #6d6878;
  --rosa-claro: #fdf0f6;
  --rosa-medio: #fbe1ee;
  --borde: #f1dbe7;
  --blanco: #ffffff;
  --radio: 18px;
  --sombra: 0 14px 40px rgba(164, 2, 124, .10);
  --sombra-fuerte: 0 18px 50px rgba(164, 2, 124, .18);
  --ancho: 1200px;
  --fuente: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fuente);
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.55;
  font-size: 16px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 24px; }
.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; }
.saltar {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--magenta); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.saltar:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; border-radius: 6px; }

.texto-degradado {
  background: var(--degradado);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.antetitulo {
  display: block;
  font-size: .72rem; font-weight: 600; font-style: italic;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--magenta-2);
  margin-bottom: 10px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600; font-size: .95rem;
  border: 0; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn--primario { background: var(--degradado-v); color: #fff; box-shadow: 0 10px 24px rgba(164, 2, 124, .28); }
.btn--primario:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(164, 2, 124, .36); }
.btn--blanco { background: #fff; color: var(--magenta); box-shadow: 0 10px 26px rgba(60, 0, 40, .25); }
.btn--blanco:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: .85rem; }

/* =========================================================
   ENCABEZADO
   ========================================================= */
.encabezado {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .3s ease;
}
.encabezado { box-shadow: 0 4px 18px rgba(27, 23, 48, .06); }
.encabezado.con-sombra { box-shadow: 0 6px 26px rgba(27, 23, 48, .10); }
.encabezado__fila { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo img { width: 150px; height: auto; }
.menu { display: flex; align-items: center; gap: 40px; }
.menu__lista { display: flex; gap: 34px; }
.menu__lista a {
  position: relative; font-size: .9rem; font-weight: 500; color: var(--tinta);
  padding: 8px 0; transition: color .2s;
}
.menu__lista a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px;
  background: var(--degradado); transform: scaleX(0); transition: transform .25s ease;
}
.menu__lista a:hover, .menu__lista a.activo { color: var(--magenta); }
.menu__lista a.activo { font-weight: 600; }
.menu__lista a:hover::after, .menu__lista a.activo::after { transform: scaleX(1); }

.hamburguesa {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--borde); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.hamburguesa span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--magenta); transition: transform .3s, opacity .3s; }
.hamburguesa[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburguesa[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburguesa[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { --texto-fin: calc(max(24px, (100% - 1200px) / 2 + 24px) + 560px); position: relative; z-index: 2; overflow: hidden; background: #fff; box-shadow: 0 14px 34px rgba(164, 2, 124, .10); }
.hero__foto { position: absolute; top: 0; right: 0; bottom: 0; left: calc(var(--texto-fin) - 140px); }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 30%; }
.hero__foto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.85) 9%, rgba(255,255,255,.4) 18%, rgba(255,255,255,0) 30%);
}
.hero__fila { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 520px) 1fr; min-height: 690px; align-items: center; }
.hero__texto { padding: 64px 0 80px; }
.hero h1 { font-weight: 800; line-height: .94; letter-spacing: -.02em; }
.hero h1 .grande { display: block; font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.hero h1 .sub { display: block; color: var(--tinta); font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.05; margin-top: 4px; letter-spacing: -.015em; }
.hero__intro { font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--tinta); opacity: .88; margin: 22px 0 30px; max-width: 420px; line-height: 1.45; }
.checks { margin-top: 36px; display: grid; gap: 11px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--texto); }
.checks svg { flex: none; width: 22px; height: 22px; }

.hero__cajas { position: absolute; left: min(400px, 36%); right: auto; bottom: 22px; width: min(510px, 42%); z-index: 3; }
.hero__cajas img { width: 100%; height: auto; filter: drop-shadow(0 24px 28px rgba(80, 0, 50, .35)); }

/* =========================================================
   BENEFICIOS
   ========================================================= */
.beneficios { padding: 84px 0 80px; }
.beneficios__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.beneficio { text-align: center; padding: 8px 32px; }
.beneficio + .beneficio { border-left: 1px solid var(--borde); }
.icono-circulo {
  width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--rosa-claro) 55%, var(--rosa-medio) 100%);
  box-shadow: 0 10px 26px rgba(197, 24, 115, .12);
  transition: transform .35s ease;
}
.beneficio:hover .icono-circulo { transform: translateY(-4px) scale(1.04); }
.icono-circulo svg { width: 46px; height: 46px; }
.beneficio h3 { color: var(--magenta-2); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.beneficio p { font-size: .93rem; max-width: 270px; margin: 0 auto; }

/* =========================================================
   PRESENTACIONES
   ========================================================= */
.seccion-rosa { position: relative; background: linear-gradient(180deg, #fdeff6 0%, #fdf3f8 100%); overflow: hidden; }
.ondas { position: absolute; left: 0; width: 100%; pointer-events: none; }
.ondas--arriba { top: 0; height: 260px; opacity: .9; }
.ondas--abajo { bottom: 0; height: 220px; }

.presentaciones { padding: 64px 0 56px; }
.cabecera-seccion { position: relative; text-align: center; margin-bottom: 40px; }
.cabecera-seccion h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: var(--tinta); }
.cabecera-seccion h2.texto-degradado, .cabecera-seccion h2 .texto-degradado { color: transparent; }
.cabecera-seccion p { margin-top: 12px; font-size: 1rem; color: var(--texto); }

.productos { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.producto {
  background: #fff; border-radius: var(--radio); box-shadow: var(--sombra);
  padding: 26px 22px 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .35s ease, box-shadow .35s ease;
}
.producto:hover { transform: translateY(-6px); box-shadow: var(--sombra-fuerte); }
.producto__img { position: relative; width: 100%; height: 230px; border: 0; background: none; padding: 0; cursor: zoom-in; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.producto__img img { width: auto; max-width: 100%; height: 180px; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(120, 10, 80, .16)); transition: transform .4s ease; }
.producto:hover .producto__img img { transform: scale(1.04) rotate(-1deg); }
.producto h3 { font-size: 1.05rem; font-weight: 500; color: var(--tinta); line-height: 1.3; }
.etiqueta {
  display: inline-block; margin: 12px 0 14px; padding: 4px 26px;
  border: 2px solid var(--magenta-2); border-radius: 999px;
  color: var(--magenta-2); font-weight: 700; font-style: italic; font-size: 1.05rem; letter-spacing: .02em;
}
.producto p { font-size: .92rem; max-width: 215px; text-wrap: balance; }
.producto__acciones { margin-top: auto; padding-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--rosa-claro); color: var(--magenta); font-weight: 600; font-size: .85rem;
  border: 1px solid var(--borde);
  transition: background .25s, color .25s, border-color .25s;
}
.btn-wa svg { width: 18px; height: 18px; }
.btn-wa:hover { background: var(--magenta); color: #fff; border-color: var(--magenta); }
.enlace-detalle { font-size: .8rem; font-weight: 600; color: var(--texto-suave); text-decoration: underline; text-underline-offset: 3px; }
.enlace-detalle:hover { color: var(--magenta); }

/* =========================================================
   CÓMO FUNCIONA
   ========================================================= */
.como { padding: 40px 0 84px; }
.como .cabecera-seccion h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.pasos { position: relative; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 8px; }
.paso { text-align: center; padding: 0 12px; }
.paso__icono { position: relative; width: 112px; height: 112px; margin: 0 auto 16px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(197, 24, 115, .10); }
.paso__icono svg { width: 50px; height: 50px; }
.paso__num {
  position: absolute; top: 2px; left: -18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--degradado-v); color: #fff; font-weight: 700; font-size: .95rem;
  display: grid; place-items: center; box-shadow: 0 6px 14px rgba(164, 2, 124, .3);
}
.paso h3 { color: var(--magenta-2); font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.paso p { font-size: .9rem; max-width: 230px; margin: 0 auto; }
.flecha { color: var(--magenta-2); padding-top: 42px; }
.flecha svg { width: 26px; height: 26px; }

/* =========================================================
   A TU LADO
   ========================================================= */
.a-tu-lado { position: relative; overflow: hidden; background: #fff; }
.a-tu-lado__foto { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; }
.a-tu-lado__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.a-tu-lado__foto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.7) 10%, rgba(255,255,255,0) 30%);
}
.a-tu-lado .ondas--abajo { z-index: 1; height: 120px; }
.a-tu-lado__fila { position: relative; z-index: 2; min-height: 520px; display: flex; align-items: center; }
.a-tu-lado__texto { max-width: 380px; padding: 60px 0 110px; }
.a-tu-lado h2 { font-size: clamp(2.4rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; color: var(--tinta); }
.a-tu-lado h2 span { display: block; }
.a-tu-lado p { margin-top: 22px; font-size: 1.02rem; line-height: 1.6; }

/* =========================================================
   FRANJA CTA
   ========================================================= */
.franja { position: relative; overflow: hidden; background: var(--degradado-v); color: #fff; }
.franja__ondas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.franja__fila { position: relative; display: flex; align-items: center; gap: 40px; padding: 46px 24px; }
.franja__corazon { width: 120px; flex: none; }
.franja__linea { width: 1px; align-self: stretch; background: rgba(255,255,255,.35); }
.franja h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; flex: 1; }
.franja h2 strong { font-weight: 800; }
.franja h2 .linea2 { display: block; font-size: 1.32em; font-weight: 800; }

/* =========================================================
   PIE DE PÁGINA
   ========================================================= */
.pie { position: relative; background: #fff; overflow: hidden; }
.pie__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.1fr 1fr; padding: 48px 24px 64px; }
.pie__col { padding: 0 36px; }
.pie__col + .pie__col { border-left: 1px solid var(--borde); }
.pie__marca { text-align: center; }
.pie__marca img { width: 170px; margin: 0 auto 10px; }
.pie__marca p { font-size: .92rem; color: var(--texto); }
.pie__contacto { display: flex; gap: 16px; }
.pie__contacto svg { width: 40px; height: 40px; flex: none; }
.pie h3 { font-size: .82rem; font-weight: 700; color: var(--magenta-2); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 8px; }
.pie__contacto a, .pie__ubicacion address { display: block; font-size: .9rem; color: var(--tinta); font-style: normal; line-height: 1.6; }
.pie__contacto a:hover { color: var(--magenta); }
.pie__web { font-size: 1.05rem; font-weight: 700; color: var(--magenta-2) !important; margin-bottom: 6px; }

.pie .ondas--abajo { height: 90px; z-index: 1; }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  transition: transform .25s ease;
}
.wa-flotante svg { width: 30px; height: 30px; }
.wa-flotante:hover { transform: scale(1.08); }

/* ---------- Animación de entrada ---------- */
.js .revelar { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .revelar.visible { opacity: 1; transform: none; }
.revelar.d1 { transition-delay: .12s; }
.revelar.d2 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .revelar { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* =========================================================
   PÁGINA DE PRODUCTO
   ========================================================= */
.ficha { padding: 40px 0 90px; }
.migas { font-size: .82rem; color: var(--texto-suave); margin-bottom: 28px; }
.migas a { color: var(--magenta-2); font-weight: 600; }
.migas span { margin: 0 8px; }
.ficha__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.ficha__img { background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--sombra); }
.ficha__img img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 20px 22px rgba(120, 10, 80, .2)); }
.ficha h1 { font-size: clamp(2rem, 3.8vw, 2.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: var(--tinta); }
.ficha .etiqueta { font-size: 1.15rem; }
.ficha__desc { font-size: 1.05rem; margin-bottom: 22px; }
.ficha h2 { font-size: 1rem; font-weight: 700; color: var(--magenta-2); text-transform: uppercase; letter-spacing: .06em; margin: 26px 0 12px; }
.ficha .checks { margin-top: 0; }
.ficha__aviso { margin-top: 26px; font-size: .82rem; color: var(--texto-suave); background: #fff; border-left: 3px solid var(--magenta-2); padding: 12px 16px; border-radius: 0 10px 10px 0; }
.ficha__botones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn--contorno { background: #fff; color: var(--magenta); border: 2px solid var(--borde); }
.btn--contorno:hover { border-color: var(--magenta); }
.otras { padding: 10px 0 80px; }
.otras .productos { grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .menu { gap: 22px; }
  .menu__lista { gap: 22px; }
  .hero__fila { grid-template-columns: minmax(0, 470px) 1fr; }
  .hero { --texto-fin: 520px; }
}

@media (max-width: 900px) {
  .hamburguesa { display: inline-flex; }
  .menu {
    position: fixed; inset: 84px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 18px;
    background: #fff; padding: 20px 24px 28px;
    box-shadow: 0 20px 30px rgba(27, 23, 48, .1);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
  }
  .menu.abierto { transform: none; opacity: 1; visibility: visible; }
  .menu__lista { flex-direction: column; gap: 4px; }
  .menu__lista a { display: block; padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--borde); }
  .menu__lista a::after { display: none; }
  .menu .btn { justify-content: center; }

  .hero__foto { position: relative; left: 0; width: 100%; height: 380px; }
  .hero__foto img { object-position: 40% 25%; }
  .hero__foto::after { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,.8) 8%, rgba(255,255,255,.3) 18%, rgba(255,255,255,0) 32%); }
  .hero__fila { grid-template-columns: 1fr; min-height: 0; }
  .hero__texto { padding-top: 34px !important; }
  .hero__texto { padding: 0 0 20px; text-align: left; }
  .hero__cajas { position: relative; left: auto; right: auto; bottom: auto; width: 100%; max-width: 480px; margin: 6px auto 44px; }
  .beneficios { padding-top: 60px; padding-bottom: 56px; }
  .beneficio + .beneficio { padding-top: 28px; }
  .icono-circulo { width: 84px; height: 84px; margin-bottom: 12px; }

  .beneficios__grid { grid-template-columns: 1fr; gap: 34px; }
  .beneficio + .beneficio { border-left: 0; border-top: 1px solid var(--borde); padding-top: 34px; }

  .productos { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .otras .productos { grid-template-columns: 1fr; }

  .pasos { grid-template-columns: 1fr; gap: 36px; }
  .flecha { display: none; }

  .a-tu-lado__foto { position: relative; width: 100%; height: 340px; }
  .a-tu-lado__foto::after { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 22%); }
  .a-tu-lado__fila { min-height: 0; }
  .a-tu-lado__texto { padding: 50px 0 30px; max-width: none; }
  .a-tu-lado { display: flex; flex-direction: column-reverse; }

  .franja__fila { flex-direction: column; text-align: center; gap: 22px; padding: 44px 24px 64px; }
  .franja__linea { display: none; }
  .franja__corazon { width: 96px; }

  .pie__grid { grid-template-columns: 1fr; gap: 34px; padding: 52px 24px 44px; }
  .pie__col { padding: 0; }
  .pie__col + .pie__col { border-left: 0; border-top: 1px solid var(--borde); padding-top: 34px; }
  .pie__marca { text-align: left; }
  .pie__marca img { margin: 0 0 12px; }
  .pie__contacto { justify-content: flex-start; text-align: left; }
  .pie__ubicacion { text-align: left; }
  .pie__contacto a, .pie__ubicacion address { line-height: 1.85; }

  .ficha__grid { grid-template-columns: 1fr; gap: 34px; }
  .ficha__img { padding: 24px; }
}

@media (max-width: 480px) {
  .contenedor { padding-left: 18px; padding-right: 18px; }
  .encabezado__fila { height: 72px; }
  .menu { inset: 72px 0 auto 0; }
  html { scroll-padding-top: 76px; }
  .logo img { width: 124px; }
  .hero__foto { height: 320px; }

  .btn { padding: 14px 22px; }
  .wa-flotante { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}


/* =========================================================
   AJUSTES v2
   ========================================================= */
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* ---------- Precarga ---------- */
.precarga {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, #9d0277 0%, #7a0057 70%);
  transition: opacity .55s ease, visibility .55s ease;
}
.precarga__anillo { width: 64px; height: 64px; animation: girar 0.9s linear infinite; }
.precarga.oculta { opacity: 0; visibility: hidden; }
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- Entrada del hero ---------- */
@keyframes subir { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes subirCaja { from { opacity: 0; transform: translateY(90px); } to { opacity: 1; transform: none; } }
.js .entrada > *, .js .entrada .checks li, .js .hero__cajas img { opacity: 0; }
.js .entrada .checks { opacity: 1; }
.cargado .entrada > * { animation: subir .8s cubic-bezier(.2,.7,.2,1) both; }
.cargado .entrada > :nth-child(1) { animation-delay: .05s; }
.cargado .entrada > :nth-child(2) { animation-delay: .2s; }
.cargado .entrada > :nth-child(3) { animation-delay: .35s; }
.cargado .entrada .checks { animation: none; opacity: 1; }
.cargado .entrada .checks li { animation: subir .7s cubic-bezier(.2,.7,.2,1) both; }
.cargado .entrada .checks li:nth-child(1) { animation-delay: .5s; }
.cargado .entrada .checks li:nth-child(2) { animation-delay: .6s; }
.cargado .entrada .checks li:nth-child(3) { animation-delay: .7s; }
.cargado .entrada .checks li:nth-child(4) { animation-delay: .8s; }
.cargado .entrada .checks li:nth-child(5) { animation-delay: .9s; }
.cargado .hero__cajas img { animation: subirCaja 1s cubic-bezier(.2,.7,.2,1) both; }
.cargado .hero__cajas img { animation-delay: .55s; }

/* ---------- Tarjetas: formato y botones ---------- */
.formato {
  margin: 10px 0 12px; color: var(--magenta-2);
  font-weight: 800; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase;
}
.formato--grande { font-size: 1.25rem; margin: 14px 0 16px; }
.producto__acciones { width: 100%; max-width: 250px; gap: 10px; }
.btn--ancho { width: 100%; justify-content: center; }
.btn-wa.btn--ancho { padding: 11px 18px; border-radius: 10px; }

/* ---------- Imagen ampliable ---------- */
.zoom { position: relative; cursor: zoom-in; font: inherit; }
.zoom__icono {
  position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--magenta);
  box-shadow: 0 6px 16px rgba(164, 2, 124, .18);
  opacity: .9; transition: transform .25s, opacity .25s;
}
.zoom__icono svg { width: 20px; height: 20px; }
.zoom:hover .zoom__icono { transform: scale(1.1); opacity: 1; }
.ficha__img { border: 0; width: 100%; display: block; }
.ficha__img .zoom__icono { right: 20px; bottom: 20px; width: 46px; height: 46px; }

.visor {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center; padding: 24px;
  background: rgba(30, 6, 26, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.visor.abierto { opacity: 1; visibility: visible; }
.visor__marco {
  position: relative; background: #fff; border-radius: 22px; padding: 28px;
  max-width: min(1100px, 100%); max-height: 100%;
  transform: scale(.94); transition: transform .3s ease;
}
.visor.abierto .visor__marco { transform: none; }
.visor__marco img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; }
.visor__cerrar {
  position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--magenta); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 18px rgba(0,0,0,.25);
}
.visor__cerrar svg { width: 20px; height: 20px; }

/* ---------- Pie: textos legales ---------- */
.pie__legal {
  position: relative; z-index: 2;
  margin-top: 6px; padding: 30px 0 64px;
  border-top: 1px solid var(--borde);
  text-align: center; font-size: .82rem; color: var(--texto-suave); line-height: 1.8;
}
.pie__legal a { color: var(--magenta-2); font-weight: 600; }
.pie__legal a:hover { text-decoration: underline; }
.pie__credito { margin-top: 10px !important; }

@media (max-width: 900px) {
  .pie__legal { text-align: left; padding: 28px 0 90px; }
  .visor__marco { padding: 14px; border-radius: 16px; }
  .visor__cerrar { top: -10px; right: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .entrada > *, .js .entrada .checks li, .js .hero__cajas img { opacity: 1; }
  .precarga__anillo { animation: none; }
}


/* =========================================================
   AJUSTES v3
   ========================================================= */
/* Textos cortos repartidos en renglones parejos */
.hero__intro, .beneficio p, .paso p, .cabecera-seccion p, .a-tu-lado p,
.ficha__desc, .ficha__aviso, .franja h2, .pie__marca p { text-wrap: balance; }

/* Cajas de producto más grandes en celular, sin deformar */
@media (max-width: 900px) {
  .producto { padding: 22px 16px 26px; }
  .producto__img { height: 250px; }
  .producto__img img { height: 225px; max-width: 100%; object-fit: contain; }
  .ficha__img { padding: 18px; }
}

/* Franja: espacio arriba (corazón) y abajo (botón) en celular */
@media (max-width: 900px) {
  .franja .franja__fila { padding-top: 56px; padding-bottom: 64px; }
}

/* Pie: textos legales en una sola línea en computador */
.pie__legal { display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; }
.pie__derechos > span + span::before { content: "·"; margin: 0 10px; color: var(--borde); font-weight: 700; }
.pie__credito { margin-top: 0 !important; }

@media (max-width: 900px) {
  .pie .pie__grid { padding-top: 64px; padding-bottom: 44px; }
  .pie__contacto { flex-direction: column; gap: 12px; }
  .pie__legal { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pie__derechos > span { display: block; }
  .pie__derechos > span + span::before { content: none; }
}
.ficha h1 { margin-bottom: 18px; }
@media (min-width: 901px) and (max-width: 1180px) {
  .hero__cajas { left: 38%; width: 44%; bottom: 20px; }
}
