/* Página de venta de las cuentas de Fábrica de Reels. Mundo visual: el mismo de los reels
   (cielo, pasto, tierra, letra de marcador) y la oferta contada como sobres de semillas. */
:root {
  --cielo: #3d92de; --cielo-claro: #dcefff; --pasto: #57a63a; --pasto-claro: #86cf52; --hoja: #1f5b2e;
  --tierra: #3a2718; --tierra-media: #5c3d29; --papel: #fffdf6; --tomate: #e2372b; --tomate-osc: #a82219; --girasol: #ffd23f;
  --madera: #b4743c; --madera-osc: #7d4a22; --tinta: #2b1d14;
  --marcador: 'Permanent Marker', 'Comic Sans MS', cursive;
  --texto: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--texto); font-size: 18px; line-height: 1.5; color: var(--tinta); background: var(--papel); }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
.columna { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 22px; }
.rotulo { font-family: var(--marcador); font-weight: 400; line-height: 1.12; letter-spacing: 0.01em; }

/* botón */
.boton { display: block; width: 100%; padding: 17px 20px 16px; border: 0; border-radius: 14px; background: var(--tomate); color: #fff;
  font-family: var(--texto); font-weight: 700; font-size: 21px; line-height: 1.2; text-align: center; text-decoration: none;
  box-shadow: 0 5px 0 var(--tomate-osc), 0 12px 22px rgba(120, 30, 20, 0.28); transition: transform 0.08s, box-shadow 0.08s; }
.boton:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--tomate-osc), 0 4px 10px rgba(120, 30, 20, 0.28); }
.boton:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--girasol); outline-offset: 3px; }

/* 1. cielo, cartel de madera y el abuelo parado en el pasto */
.cielo { position: relative; overflow: hidden; padding: 20px 0 0; background: linear-gradient(180deg, var(--cielo) 0%, #7fbbec 46%, var(--cielo-claro) 86%); }
.nube { position: absolute; background: #fff; border-radius: 60px; opacity: 0.92; }
.nube::before, .nube::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.nube.a { width: 130px; height: 40px; top: 74px; left: -34px; } .nube.a::before { width: 58px; height: 58px; left: 22px; top: -26px; } .nube.a::after { width: 44px; height: 44px; left: 66px; top: -16px; }
.nube.b { width: 110px; height: 34px; top: 26px; right: -28px; } .nube.b::before { width: 50px; height: 50px; left: 18px; top: -22px; } .nube.b::after { width: 36px; height: 36px; left: 56px; top: -13px; }
.marca { position: relative; display: flex; align-items: center; gap: 12px; }
.marca img { width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 3px 8px rgba(20, 50, 90, 0.3); }
.marca strong { display: block; font-size: 18px; line-height: 1.15; color: #fff; text-shadow: 0 1px 2px rgba(20, 50, 90, 0.5); }
.marca span { font-size: 15px; color: #eaf5ff; }
.cartel { position: relative; margin: 26px -6px 0; padding: 22px 20px 24px; border-radius: 10px; transform: rotate(-1.4deg); color: #fff8e6;
  background: repeating-linear-gradient(92deg, rgba(60, 30, 8, 0) 0 11px, rgba(60, 30, 8, 0.13) 11px 12px, rgba(255, 220, 170, 0.08) 12px 19px), linear-gradient(180deg, #c98a4a, var(--madera) 55%, #a2652f);
  box-shadow: inset 0 0 0 3px var(--madera-osc), inset 0 -8px 14px rgba(70, 35, 10, 0.35), 0 10px 18px rgba(30, 50, 80, 0.3); }
.cartel::before, .cartel::after { content: ''; position: absolute; top: 12px; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #d9dde0, #6b7278); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); }
.cartel::before { left: 12px; } .cartel::after { right: 12px; }
.cartel h1 { font-size: clamp(27px, 7.6vw, 38px); text-shadow: 0 2px 0 rgba(70, 35, 10, 0.75); }
.bajada { position: relative; margin-top: 24px; font-size: 19px; color: #17324d; }
.cielo .boton { position: relative; margin-top: 22px; }
.escena { position: relative; margin-top: 18px; height: 330px; }
.escena img { position: absolute; left: 50%; bottom: -46px; height: 372px; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 10px 10px rgba(30, 60, 20, 0.35)); z-index: 2; }
.pasto { position: absolute; left: 0; right: 0; bottom: 0; height: 74px; background: linear-gradient(180deg, var(--pasto-claro), var(--pasto)); z-index: 1; }
.pasto svg { position: absolute; left: 0; top: -17px; width: 100%; height: 18px; fill: var(--pasto-claro); }
.matas { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; z-index: 3; }
.matas svg { width: 100%; height: 100%; fill: #a4dc68; }

/* 2. bajo tierra: lo que frena */
.tierra { background: linear-gradient(180deg, #4a3120, var(--tierra)); color: #f6ead9; padding: 44px 0 46px; }
.tierra h2, .luz h2, .oferta h2, .dudas h2, .voces h2 { font-size: clamp(27px, 7.4vw, 36px); }
.lista { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 15px; }
.lista li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.lista svg { width: 28px; height: 28px; margin-top: 1px; }
.puente { margin-top: 34px; font-size: clamp(26px, 7vw, 34px); color: var(--girasol); }
.puente span { display: block; }

/* 3. a la luz: lo que cambia */
.luz { background: var(--papel); padding: 46px 0 48px; }
.luz h2 { color: var(--hoja); }

/* 4. el pack, como sobres de semillas */
.oferta { background: linear-gradient(180deg, #e3f1d6, #eef7e4); padding: 46px 0 50px; }
.oferta h2 { color: var(--hoja); }
.oferta .nombre { margin-top: 18px; font-weight: 700; font-size: 21px; }
.oferta .nombre + p { color: #4d5b45; }
.sobres { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.sobre { position: relative; display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 20px 14px 14px 12px; background: #fffaf0; border-radius: 6px 6px 10px 10px;
  box-shadow: 0 2px 0 #e2d6bd, 0 8px 16px rgba(60, 80, 40, 0.14); }
.sobre::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 9px; border-radius: 6px 6px 0 0; background: var(--c);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 5px no-repeat, radial-gradient(circle at 5px 4px, #000 4px, transparent 4.5px) left 4px top 2px / 10px 8px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% 5px no-repeat, radial-gradient(circle at 5px 4px, #000 4px, transparent 4.5px) left 4px top 2px / 10px 8px repeat-x; }
.sobre .dibujo { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; font-size: 34px; background: color-mix(in srgb, var(--c) 16%, #fff); border: 2px solid var(--c); }
.sobre strong { display: block; font-size: 18px; line-height: 1.2; }
.sobre small { display: block; margin-top: 3px; font-size: 15px; line-height: 1.3; color: #5c5346; }
.sobre .valor { text-align: right; font-size: 15px; line-height: 1.25; }
.sobre .valor s { display: block; color: #8a7f70; }
.sobre .valor b { display: block; margin-top: 3px; padding: 3px 7px; border-radius: 5px; background: var(--hoja); color: #fff; font-size: 13px; white-space: nowrap; }
.sobre .valor em { display: block; margin-top: 3px; font-style: normal; font-weight: 700; color: var(--tomate); font-size: 13px; }
.precio { margin-top: 26px; padding: 24px 20px 26px; border-radius: 16px; background: #fff; text-align: center; box-shadow: inset 0 0 0 3px var(--hoja), 0 12px 24px rgba(40, 80, 30, 0.16); }
.precio .total { font-size: 17px; color: #5c5346; }
.precio .hoy { margin-top: 8px; font-size: 18px; }
.precio .numero { font-size: clamp(60px, 19vw, 84px); line-height: 1; color: var(--tomate); margin-top: 2px; }
.precio .nota { margin-top: 8px; font-size: 16px; color: #4d5b45; }
.precio .nota span + span::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 9px 3px; border-radius: 50%; background: var(--pasto); }
.precio .boton { margin-top: 20px; }
.contador { margin-top: 16px; font-size: 16px; color: #4d5b45; }
.contador b { color: var(--hoja); }
.garantia { margin-top: 20px; display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; text-align: left; font-size: 16px; }
.garantia svg { width: 46px; height: 46px; }

/* 5. opiniones (solo aparece si hay cargadas) */
.voces { background: var(--papel); padding: 46px 0 48px; }
.voces h2 { color: var(--hoja); }
.voces ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.voces li { padding: 16px 18px; border-radius: 12px; background: #fff; box-shadow: 0 2px 0 #e2d6bd, 0 6px 14px rgba(60, 50, 30, 0.1); }
.voces .estrellas { color: #f2a81d; letter-spacing: 2px; font-size: 18px; }
.voces cite { display: block; margin-top: 8px; font-style: normal; font-weight: 700; font-size: 16px; }

/* 6. preguntas */
.dudas { background: #f3ecdc; padding: 46px 0 48px; }
.dudas h2 { color: var(--tierra-media); }
.dudas details { margin-top: 12px; border-radius: 12px; background: #fffdf6; box-shadow: 0 2px 0 #dccfb4; }
.dudas details:first-of-type { margin-top: 24px; }
.dudas summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr 26px; gap: 10px; align-items: center; padding: 16px 16px 16px 18px; font-weight: 700; }
.dudas summary::-webkit-details-marker { display: none; }
.dudas summary::after { content: '+'; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pasto); color: #fff; font-weight: 700; line-height: 1; }
.dudas details[open] summary::after { content: '–'; background: var(--tierra-media); }
.dudas details p { padding: 0 18px 18px; }

/* 7. cierre sobre el pasto */
.cierre { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--pasto-claro), var(--pasto) 60%, #3f8a2c); padding: 46px 0 0; color: #10301a; }
.cierre h2 { font-size: clamp(30px, 8.4vw, 42px); color: #fff; text-shadow: 0 2px 0 rgba(20, 70, 20, 0.7); }
.cierre p { margin-top: 14px; font-size: 19px; }
.cierre .boton { margin-top: 22px; }
.cierre .figura { margin: 26px auto 0; height: 300px; width: auto; filter: drop-shadow(0 8px 8px rgba(20, 60, 15, 0.4)); }
.pie { background: var(--tierra); color: #cdbba6; padding: 22px 0 30px; font-size: 15px; text-align: center; }
.pie a { color: #f6ead9; }
.borrador { position: sticky; top: 0; z-index: 9; padding: 6px 12px; background: var(--girasol); color: #3a2a00; font-size: 14px; font-weight: 700; text-align: center; }

@media (min-width: 720px) {
  body { font-size: 19px; }
  .escena { height: 380px; } .escena img { height: 430px; }
}
@media (prefers-reduced-motion: no-preference) {
  .cartel { animation: colgar 0.9s cubic-bezier(0.3, 1.6, 0.5, 1) both; transform-origin: 50% 0; }
  @keyframes colgar { from { transform: rotate(-9deg) translateY(-14px); opacity: 0; } to { transform: rotate(-1.4deg); opacity: 1; } }
}
