/* Mande, campaña de lanzamiento (17/11/2026): la cuenta, la oferta única, lo que trae la instalación y la barra fija.
   Usa las variables y el aire de base.css y venta.css. Solo transform y opacity se mueven. */

/* Sello «Primer mes gratis»: la aurora marca el regalo, una sola idea por pantalla */
.sello.gratis { height: 24px; padding: 0 11px; background: linear-gradient(90deg, #0a7cf0 0%, #5e5ce6 34%, #b04fe0 68%, #e62a58 100%); color: #fff; font-weight: 600; font-size: 12.5px; letter-spacing: -.005em; }

/* Portada: la oferta en una línea, debajo de los botones */
.portada-oferta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin-top: 22px; font-size: 15px; color: var(--tinta-2); }

/* ───── La cuenta ───── */
.pierdes { position: relative; padding: clamp(64px, 10vw, 128px) 0; background: #fff; }
.cuenta { display: grid; gap: 16px; max-width: 980px; margin-inline: auto; }
.cuenta-entradas { display: grid; align-content: center; gap: 34px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r4); background: var(--papel); }
.control { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px 16px; }
.control label { font-size: 16px; line-height: 1.3; color: var(--tinta-2); }
.control output { font-size: clamp(2rem, 4.4vw, 2.7rem); line-height: .95; letter-spacing: -.035em; color: var(--tinta); min-width: 2.2ch; text-align: right; }
.control input[type=range] { grid-column: 1 / -1; --p: 20%; width: 100%; height: 44px; margin: -8px 0 -12px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; touch-action: pan-y; }
.control input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--tinta) var(--p), var(--linea) var(--p)); }
.control input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--linea); }
.control input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--tinta); }
.control input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; border: .5px solid rgb(0 0 0 / .08); box-shadow: 0 1px 2px rgb(0 0 0 / .12), 0 4px 12px rgb(0 0 0 / .16); transition: transform .16s var(--sale); }
.control input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: .5px solid rgb(0 0 0 / .08); box-shadow: 0 1px 2px rgb(0 0 0 / .12), 0 4px 12px rgb(0 0 0 / .16); }
.control input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
.control input[type=range]:focus-visible { outline: none; }
.control input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgb(0 113 227 / .35), 0 4px 12px rgb(0 0 0 / .16); }
.cuenta-entradas .aviso-pie { margin-top: -6px; line-height: 1.45; }

.cuenta-resultado { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 4.4vw, 44px); border-radius: var(--r4); background: #000; color: #f5f5f7; }
.cuenta-rotulo { font-size: 16px; color: #a1a1a6; }
.cuenta-total { margin-top: 6px; font-size: clamp(3.6rem, 10.5vw, 6rem); line-height: 1; letter-spacing: -.05em; color: #fff; }
.cuenta-nota { margin-top: 16px; max-width: 24em; font-size: 17px; line-height: 1.4; color: #d2d2d7; }
.boton.claro { margin-top: 26px; background: #fff; color: var(--tinta); }
.boton.claro:hover { background: #e8e8ed; }
@media (min-width: 860px) { .cuenta { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }

/* ───── La oferta ───── */
.oferta { position: relative; padding: clamp(64px, 10vw, 128px) 0; background: var(--papel); }
.oferta .cabeza { max-width: 940px; }
.oferta-caja { display: grid; gap: 16px; }
.oferta-precio, .oferta-incluye { padding: clamp(24px, 3.6vw, 40px); border-radius: var(--r4); background: #fff; }
.oferta-precio { display: flex; flex-direction: column; background: linear-gradient(#fff, #fff) padding-box, var(--aurora) border-box; border: 2px solid transparent; box-shadow: var(--sombra-2); }
.precio-fila { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 16px 0; border-bottom: 1px solid var(--linea-2); }
.precio-fila:first-child { padding-top: 0; }
.precio-que { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 17px; color: var(--tinta-2); }
.precio-cuanto { display: flex; align-items: baseline; gap: 10px; }
.precio-cuanto span { font-size: clamp(2.6rem, 6vw, 3.5rem); line-height: 1; letter-spacing: -.04em; }
.precio-cuanto s { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; color: var(--tinta-3); text-decoration-thickness: 1.5px; }
.precio-cuanto small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--tinta-3); }

/* Cuándo se paga: tres momentos sobre una línea */
.pagos { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 26px 0 26px; padding-top: 18px; }
.pagos::before { content: ""; position: absolute; left: 5px; right: 0; top: 4px; height: 2px; border-radius: 1px; background: var(--linea); }
.pagos li { position: relative; display: grid; gap: 3px; }
.pagos li::before { content: ""; position: absolute; left: 0; top: -19px; width: 10px; height: 10px; border-radius: 50%; background: var(--tinta); box-shadow: 0 0 0 3px #fff; }
.pagos li.cero::before { background: #bf5af2; }
.pagos b { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.pagos li.cero b { background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.pagos span { font-size: 13px; line-height: 1.3; color: var(--tinta-3); }
.oferta-precio .boton.grande { margin-top: auto; }
.oferta-precio .aviso-pie { margin-top: 12px; text-align: center; line-height: 1.45; }

.oferta-incluye h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.12; letter-spacing: -.022em; }
.oferta-incluye .puntos { margin: 22px 0 0; gap: 13px; line-height: 1.35; }
@media (min-width: 900px) { .oferta-caja { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } .oferta-incluye .puntos { font-size: 16.5px; } }

.cabeza.segunda { margin-top: clamp(56px, 8vw, 96px); margin-bottom: clamp(24px, 4vw, 40px); }
.cabeza.segunda h3 { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.08; letter-spacing: -.026em; }

/* Lo que trae la instalación: seis piezas, cada una con su objeto */
.regalos { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.regalos article { display: flex; flex-direction: column; min-width: 0; padding: 14px 14px 24px; border-radius: var(--r4); background: #fff; }
.regalos h4 { margin: 20px 12px 0; font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.regalos article > p { margin: 7px 12px 0; font-size: 15px; line-height: 1.42; color: var(--tinta-3); }
.r-vista { display: flex; align-items: center; justify-content: center; gap: 12px; height: 204px; padding: 14px; border-radius: 18px; background: var(--papel); overflow: hidden; }
.r-vista b { font-weight: 600; }
.r-vista small { color: var(--tinta-3); }
.r-vista .ic svg { width: 14px; height: 14px; }

.rv-foto { display: grid; align-content: center; gap: 7px; width: 78px; height: 104px; padding: 12px 10px; border-radius: 10px; background: #fff; box-shadow: var(--sombra-1); transform: rotate(-5deg); }
.rv-foto i { height: 5px; border-radius: 3px; background: var(--linea); }
.rv-foto i:nth-child(1) { width: 70%; background: var(--tinta-3); } .rv-foto i:nth-child(3) { width: 82%; } .rv-foto i:nth-child(4) { width: 58%; }
.rv-flecha { color: var(--tinta-3); } .r-vista .rv-flecha svg { width: 20px; height: 20px; }
.rv-lista { display: grid; gap: 0; width: 148px; padding: 6px 12px; border-radius: 14px; background: #fff; box-shadow: var(--sombra-1); font-size: 13px; }
.rv-lista p { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--linea-2); }
.rv-lista p:last-child { border-bottom: 0; }

.rv-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tinta); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: -.01em; flex: none; }
.rv-perfil { display: grid; justify-items: center; gap: 1px; width: 214px; padding: 11px 16px 5px; border-radius: 16px; background: #fff; box-shadow: var(--sombra-1); font-size: 14px; }
.rv-perfil .rv-avatar { width: 34px; height: 34px; font-size: 12px; margin-bottom: 4px; }
.rv-perfil small { font-size: 11.5px; margin-bottom: 6px; }
.rv-perfil p { display: flex; align-items: center; gap: 7px; width: 100%; padding: 5px 0; border-top: 1px solid var(--linea-2); font-size: 12px; color: var(--tinta-2); }
.rv-perfil p .ic { color: #128c7e; display: flex; }

.rv-afiche { display: grid; justify-items: center; gap: 7px; padding: 12px 14px 10px; border-radius: 12px; background: #fff; box-shadow: var(--sombra-1); text-align: center; }
.rv-afiche b { max-width: 9em; font-size: 12.5px; line-height: 1.15; letter-spacing: -.01em; }
.rv-afiche img { display: block; width: 84px; height: 84px; }
.rv-afiche small { font-size: 10.5px; }
.rv-tarjeta { display: grid; justify-items: center; gap: 4px; padding: 9px 10px 7px; border-radius: 10px; background: var(--tinta); transform: rotate(6deg) translateY(18px); }
.rv-tarjeta img { display: block; width: 44px; height: 44px; border-radius: 4px; }
.rv-tarjeta small { font-size: 10px; color: #fff; }

.rv-bio { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 10px; width: 226px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: var(--sombra-1); font-size: 14px; }
.rv-bio div { display: grid; }
.rv-bio small { font-size: 12px; }
.rv-boton { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 7px; height: 38px; border-radius: 10px; background: #25d366; color: #fff; font-size: 13.5px; font-weight: 600; }
.r-vista .rv-boton .ic { display: flex; } .r-vista .rv-boton svg { width: 17px; height: 17px; }

.rv-ficha { display: grid; gap: 3px; width: 210px; padding: 14px 16px 10px; border-radius: 16px; background: #fff; box-shadow: var(--sombra-1); font-size: 14px; }
.rv-ficha small { font-size: 12px; margin-bottom: 6px; }
.rv-estrellas { color: #f5a623; letter-spacing: 1px; }
.rv-ficha p { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid var(--linea-2); font-size: 12.5px; color: var(--tinta-2); }
.rv-ficha p .ic { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--hoja-verde); color: #fff; }
.r-vista .rv-ficha p svg { width: 10px; height: 10px; stroke-width: 3; }

.rv-clase { display: grid; justify-items: center; gap: 4px; text-align: center; }
.rv-clase b { font-size: 3.1rem; line-height: 1; letter-spacing: -.045em; font-weight: 700; }
.rv-clase small { font-size: 13px; }

.oferta .aviso-pie.meta { max-width: 62em; margin: 32px auto 0; text-align: center; line-height: 1.45; }

@media (hover: hover) and (pointer: fine) {
  .regalos article { transition: transform .5s var(--sale), box-shadow .5s var(--sale); }
  .regalos article:hover { transform: translateY(-4px); box-shadow: var(--sombra-2); }
}

/* Celular: las piezas se deslizan de lado para que la página sea corta */
@media (max-width: 819px) {
  .regalos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82vw, 320px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(20px, 4vw, 40px); margin-inline: calc(-1 * clamp(20px, 4vw, 40px)); padding-inline: clamp(20px, 4vw, 40px); padding-bottom: 4px; scrollbar-width: none; }
  .regalos::-webkit-scrollbar { display: none; }
  .regalos > * { scroll-snap-align: start; }
  .pagos span { font-size: 12.5px; }
}
@media (min-width: 820px) and (max-width: 1019px) { .regalos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ───── Barra fija de la oferta ───── */
.barra-oferta { position: fixed; z-index: 40; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 18px; width: max-content; max-width: calc(100vw - 24px); padding: 8px 8px 8px 20px; border-radius: 999px; background: rgb(255 255 255 / .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border: .5px solid rgb(0 0 0 / .1); box-shadow: 0 8px 30px rgb(0 0 0 / .16); transform: translate(-50%, 0); transition: transform .5s cubic-bezier(.32, .72, 0, 1), opacity .3s; }
.barra-oferta.fuera { transform: translate(-50%, calc(100% + 28px)); opacity: 0; pointer-events: none; }
.barra-oferta p { display: grid; line-height: 1.2; }
.barra-oferta p b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.barra-oferta p span { font-size: 12.5px; color: var(--tinta-3); }
.barra-oferta .boton { min-height: 42px; padding: 0 20px; font-size: 15px; font-weight: 600; }
@media (max-width: 480px) { .barra-oferta { width: calc(100vw - 24px); justify-content: space-between; } }
@media (prefers-reduced-transparency: reduce) { .barra-oferta { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) { .barra-oferta { transition: opacity .2s; } .barra-oferta.fuera { transform: translate(-50%, 0); } .control input[type=range]::-webkit-slider-thumb { transition: none; } }
/* En computadora el botón de la cabecera ya está siempre a la vista: la barra es solo del celular */
@media (min-width: 820px) { .barra-oferta { display: none; } }

/* Marcas que ya trabajan con A la Mano y plazo de la oferta (pedido de Jander por audio, 17/11/2026 01:52) */
.portada-confian { margin-top: 14px; font-size: 14.5px; line-height: 1.4; color: var(--tinta-3); }
.portada-confian b, .oferta .confian b { color: var(--tinta); font-weight: 600; }
.oferta .confian { max-width: 46em; margin: 28px auto 0; text-align: center; font-size: 16px; line-height: 1.45; color: var(--tinta-3); }
.plazo { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14.5px; font-weight: 600; letter-spacing: -.005em; color: var(--tinta); }
.plazo[hidden] { display: none; }
.plazo .punto { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #e62a58; }
