/* ==== Colores de la marca: Crianza Positiva (del logo) ==== */
:root {
  --primario: #5C7543;        /* verde oliva oscuro: títulos (contraste AA sobre crema) */
  --boton: #B8521C;           /* naranja del logo, oscurecido para texto blanco legible */
  --boton-hover: #96420F;
  --acento: #F2AE30;          /* amarillo del corazón */
  --secundario: #DDE6CF;      /* verde oliva suave: bloque final */
  --fondo: #FBF3E4;           /* crema del logo */
  --fondo-alt: #FFFFFF;
  --texto: #2E2A26;
  --texto-suave: #5E5650;
  --radio: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--fondo);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--boton); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.7rem, 6.5vw, 2.4rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 5vw, 1.8rem); font-weight: 700; color: var(--primario); }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.cargando { text-align: center; padding: 40vh 16px; color: var(--texto-suave); }

/* ---- Estructura: una sola columna ---- */
.seccion { padding: 44px 16px; }
.seccion:nth-of-type(even) { background: var(--fondo-alt); }
.contenedor { max-width: 560px; margin: 0 auto; }
.centrado { text-align: center; }

/* ---- Marca ---- */
.marca { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; background: var(--fondo); border-bottom: 1px solid rgba(0,0,0,.06); }
.marca img { width: 44px; height: 44px; border-radius: 10px; }
.marca span { font-weight: 700; font-size: 1rem; }

/* ---- Encabezado ---- */
.hero { padding-top: 28px; text-align: center; }
.hero .subtitulo { color: var(--texto-suave); font-size: 1.02rem; }
.hero img { border-radius: var(--radio); margin: 20px auto; box-shadow: 0 10px 30px rgba(0,0,0,.12); }

/* ---- Botón de compra ---- */
.cta { text-align: center; margin-top: 24px; }
.btn-compra {
  display: block; width: 100%; max-width: 480px; margin: 0 auto;
  padding: 18px 20px; border-radius: 999px;
  background: var(--boton); color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1.08rem; letter-spacing: .02em;
  box-shadow: 0 6px 0 var(--boton-hover), 0 10px 24px rgba(0,0,0,.15);
  transition: transform .1s ease, background .2s ease;
}
.btn-compra:hover { background: var(--boton-hover); }
.btn-compra:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--boton-hover); }
.btn-compra:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; }
.cta .nota { font-size: .85rem; color: var(--texto-suave); margin: 12px 0 0; }

/* ---- Dolores ---- */
.dolores li { background: var(--fondo); border-left: 4px solid var(--primario); padding: 12px 14px; border-radius: 10px; margin-bottom: 10px; font-style: italic; }
.seccion:nth-of-type(odd) .dolores li { background: var(--fondo-alt); }

/* ---- Solución ---- */
.solucion p { font-size: 1.08rem; }

/* ---- Método ---- */
.pasos li { display: flex; gap: 14px; margin-bottom: 18px; }
.pasos .num { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--acento); color: var(--texto); font-weight: 800; display: grid; place-items: center; font-size: 1.2rem; }
.pasos h3 { margin-bottom: .2em; }
.pasos p { margin: 0; color: var(--texto-suave); }

/* ---- Qué incluye ---- */
.incluye img { border-radius: var(--radio); margin: 0 auto 20px; }
.items li { padding: 14px 0; border-bottom: 1px dashed rgba(0,0,0,.15); }
.items h3 { margin-bottom: .2em; }
.items p { margin: 0 0 .3em; color: var(--texto-suave); font-size: .95rem; }
.items .valor { font-weight: 700; color: var(--primario); font-size: .95rem; }

/* ---- Para quién ---- */
.lista-si li, .lista-no li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.lista-si li::before, .lista-no li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.lista-si li::before { content: "✓"; color: var(--primario); }
.lista-no li::before { content: "✕"; color: #B4412F; }
.bloque-no { margin-top: 26px; }

/* ---- Stack y precio ---- */
.precio-caja { background: var(--fondo); border: 3px solid var(--acento); border-radius: var(--radio); padding: 24px 18px; text-align: center; }
.seccion:nth-of-type(odd) .precio-caja { background: var(--fondo-alt); }
.stack-lista li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.08); text-align: left; font-size: .95rem; }
.stack-lista .v { white-space: nowrap; font-weight: 600; }
.total { margin: 16px 0 4px; color: var(--texto-suave); }
.total s { font-weight: 700; }
.precio-final { font-size: clamp(2.2rem, 11vw, 3rem); font-weight: 800; color: var(--boton); line-height: 1.1; margin: 0 0 6px; }
.nota-moneda { font-size: .85rem; color: var(--texto-suave); }
.comparaciones { margin-top: 14px; }
.comparaciones li { font-size: .95rem; margin-bottom: 4px; }

/* ---- Garantía ---- */
.garantia .sello { width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50%; background: var(--acento); display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; line-height: 1; text-align: center; }
.garantia .sello small { display: block; font-size: .7rem; font-weight: 700; }

/* ---- FAQ ---- */
.faq details { background: var(--fondo); border-radius: 12px; margin-bottom: 10px; padding: 0 16px; }
.seccion:nth-of-type(odd) .faq details { background: var(--fondo-alt); }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; position: relative; padding-right: 26px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.3rem; color: var(--primario); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding-bottom: 14px; color: var(--texto-suave); }

/* ---- Final ---- */
.final { background: var(--secundario) !important; }
.final .urgencia { font-weight: 700; background: var(--fondo-alt); display: inline-block; padding: 8px 14px; border-radius: 10px; }

/* ---- Pie ---- */
.pie { padding: 28px 16px 36px; text-align: center; font-size: .85rem; color: var(--texto-suave); background: var(--fondo); }
.pie .marca { border: 0; padding: 0 0 12px; }
.pie nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
.pie a { color: var(--texto-suave); }

/* ---- Páginas legales y gracias ---- */
.legal { max-width: 680px; margin: 0 auto; padding: 32px 16px 48px; }
.legal h1 { font-size: 1.6rem; }
.legal h2 { font-size: 1.15rem; margin-top: 1.4em; }

@media (min-width: 720px) {
  .seccion { padding: 64px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-compra { transition: none; }
}

.precio-caja .btn-compra { font-size: .98rem; padding: 17px 12px; letter-spacing: 0; }

