/* Página comercial de BoletaPlus (boletaplus.cl). Proyecto aparte del sistema (app.boletaplus.cl). */
:root { --azul: #1660E8; --azul-2: #0B4FD1; --navy: #0B1F44; --texto: #3B4A63; --suave: #6B7A90; --borde: #E3EAF4; --r: 14px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--texto); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--azul); }
.caja { width: min(1240px, 100% - 48px); margin: 0 auto; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Encabezado */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.top-in { display: flex; align-items: center; gap: 18px; height: 84px; }
.marca img { height: 46px; width: auto; }
.marca-de { border-left: 1.5px solid #C9D3E3; padding-left: 16px; font-size: 13px; line-height: 1.3; color: var(--navy); }
.marca-de b { font-weight: 600; }
.menu { margin-left: auto; display: flex; gap: 6px; }
.menu a { padding: 10px 18px; font-weight: 600; font-size: 16px; color: var(--navy); text-decoration: none; position: relative; }
.menu a.on::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--azul); }
.menu a:hover { color: var(--azul); }
.btn-borde { display: inline-flex; align-items: center; gap: 10px; padding: 11px 26px; border: 1.5px solid var(--navy); border-radius: 12px; color: var(--navy); font-weight: 600; font-size: 16px; text-decoration: none; margin-left: 12px; }
.btn-borde:hover { background: var(--navy); color: #fff; }

/* Portada */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F7FAFF 0%, #fff 100%); }
.hero-in { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 24px; min-height: calc(100vh - 84px); max-height: 860px; padding: 24px 0 40px; }
.hero h1 { font-family: Montserrat, Inter, sans-serif; font-weight: 800; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -1.5px; color: var(--navy); margin: 0 0 22px; }
.hero h1 span { display: block; color: var(--azul); }
.sub { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; margin: 0 0 32px; max-width: 30ch; }
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 18px 40px; border-radius: 16px; background: var(--azul); color: #fff; font-weight: 600; font-size: 19px; text-decoration: none; box-shadow: 0 10px 24px rgba(22,96,232,.28); transition: transform .15s, background .15s; }
.btn:hover { background: var(--azul-2); transform: translateY(-1px); }
.sellos { list-style: none; display: flex; padding: 0; margin: 40px 0 0; }
.sellos li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 30px; font-size: 16px; font-weight: 500; color: var(--navy); }
.sellos li:first-child { padding-left: 18px; }
.sellos li + li { border-left: 1.5px solid #D5DDEA; }
.sellos svg { width: 36px; height: 36px; color: var(--azul); stroke-width: 1.6; }

/* Foto con las pantallas reales encima */
.hero-foto { position: relative; align-self: stretch; min-height: 520px; }
.hero-foto .personas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; border-radius: 0 0 0 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
.onda { display: none; }
.notebook { position: absolute; right: -3%; bottom: 5.5%; width: 79%; margin: 0; filter: drop-shadow(0 24px 40px rgba(11,31,68,.35)); }
.nb-pantalla { background: #0E1525; border-radius: 14px 14px 0 0; padding: 2.2% 2.2% 3%; }
.nb-pantalla img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 3px; }
.nb-base { height: 14px; margin: 0 -6%; background: linear-gradient(180deg, #D9DEE7, #A9B1BF); border-radius: 0 0 14px 14px; position: relative; }
.nb-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); background: #B6BDC9; border-radius: 0 0 6px 6px; }
.telefono { position: absolute; left: 8.5%; bottom: 2%; width: 24%; margin: 0; background: #0E1525; border-radius: 26px; padding: 2.4% 2% ; filter: drop-shadow(0 22px 34px rgba(11,31,68,.4)); }
.tel-pantalla { border-radius: 18px; overflow: hidden; background: #fff; }
.tel-pantalla img { width: 100%; aspect-ratio: 375 / 760; object-fit: cover; object-position: top; }

/* Secciones */
.seccion { padding: 90px 0; }
.antetitulo { color: var(--azul); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 10px; }
.seccion h2 { font-family: Montserrat, Inter, sans-serif; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; color: var(--navy); margin: 0 0 36px; max-width: 22ch; }
.grilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px; }
.grilla article { border: 1px solid var(--borde); border-radius: var(--r); padding: 24px; background: #fff; box-shadow: 0 2px 8px rgba(11,31,68,.04); }
.grilla h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.grilla p { margin: 0; line-height: 1.55; font-size: 15px; }
.btn-sec { padding: 14px 30px; font-size: 16px; }
.seccion-azul { background: var(--navy); color: #D3DDF0; }
.seccion-azul h2 { color: #fff; }
.seccion-azul .antetitulo { color: #7FB0FF; }
.empresa { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.empresa p { font-size: 17px; line-height: 1.6; margin: 0; }
.contacto { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: var(--r); padding: 28px; display: grid; gap: 8px; }
.contacto b { color: #fff; font-size: 20px; }
.contacto a { color: #9CC2FF; font-size: 17px; font-weight: 600; }
.pie { border-top: 1px solid var(--borde); padding: 26px 0; font-size: 14px; color: var(--suave); }
.pie-in { display: flex; align-items: center; gap: 20px; }
.pie-in a { margin-left: auto; font-weight: 600; text-decoration: none; }

/* Tablet */
@media (max-width: 1100px) {
  .marca-de { display: none; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero-foto { min-height: 0; aspect-ratio: 1112 / 823; }
  .grilla { grid-template-columns: 1fr 1fr; }
}
/* Celular */
@media (max-width: 700px) {
  .caja { width: calc(100% - 32px); }
  .top-in { height: 66px; gap: 10px; }
  .marca img { height: 34px; }
  .menu { display: none; }
  .btn-borde { margin-left: auto; padding: 8px 14px; font-size: 14px; }
  .btn-borde svg { width: 18px; height: 18px; }
  .hero-in { padding: 28px 0 24px; gap: 28px; }
  .hero h1 { letter-spacing: -1px; }
  .sub { margin-bottom: 24px; }
  .btn { padding: 16px 28px; font-size: 17px; width: 100%; justify-content: center; }
  .sellos { margin-top: 28px; justify-content: space-between; }
  .sellos li { padding: 0 12px; font-size: 14px; }
  .sellos li:first-child { padding-left: 0; }
  .hero-foto { aspect-ratio: 4 / 4.2; margin: 0 -16px; }
  .hero-foto .personas { border-radius: 0; -webkit-mask-image: none; mask-image: none; object-position: 40% 20%; }
  .notebook { width: 82%; right: -8%; bottom: 4%; }
  .telefono { width: 28%; left: 4%; border-radius: 18px; }
  .tel-pantalla { border-radius: 12px; }
  .seccion { padding: 60px 0; }
  .grilla, .empresa { grid-template-columns: 1fr; }
  .pie-in { flex-wrap: wrap; }
}

/* Ajustes del agente de diseño gráfico (v2): marcos más finos y reales, título en 3 líneas parejas, en celular un solo equipo grande */
.hero h1 { font-size: clamp(36px, 4.2vw, 60px); }
.hero-in { min-height: min(760px, calc(100vh - 84px)); }
.sellos { margin-top: 32px; }
.nb-pantalla { padding: 1.4% 1.4% 2%; border: 1px solid #2A3550; position: relative; }
.nb-pantalla::before { content: ""; position: absolute; top: .55%; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #3A4560; }
.nb-base { height: 10px; }
.telefono { border-radius: 28px; padding: 1.6%; }
.telefono::before { content: ""; position: absolute; top: 3.2%; left: 50%; width: 26%; height: 2.2%; transform: translateX(-50%); border-radius: 20px; background: #0E1525; z-index: 2; }
.telefono { position: absolute; }
.tel-pantalla { border-radius: 22px; }
@media (max-width: 700px) {
  .menu { display: flex; margin-left: auto; gap: 0; }
  .menu a { padding: 8px 8px; font-size: 14px; }
  .menu a:not([href="#producto"]) { display: none; }
  .menu a.on::after { display: none; }
  .btn-borde { margin-left: 4px; }
  .hero-foto { aspect-ratio: 4 / 4.6; }
  .notebook { display: none; }
  .telefono { width: 50%; left: 50%; transform: translateX(-50%); bottom: -14%; border-radius: 26px; }
  .hero-foto { overflow: hidden; }
  .sellos li { padding: 0 8px; }
}
/* Celular: solo las caras (sin los equipos de la foto) y debajo el teléfono con BoletaPlus real */
@media (max-width: 700px) {
  .hero-foto { aspect-ratio: auto; overflow: visible; margin: 0 -16px; padding-bottom: 8px; }
  .hero-foto .personas { position: static; width: 100%; height: auto; aspect-ratio: 900 / 350; object-fit: cover; }
  .telefono { position: relative; left: auto; bottom: auto; transform: none; width: 64%; margin: -18% auto 0; }
}
.telefono::before { top: 1.1%; height: 1.5%; width: 22%; }
.tel-pantalla { margin-top: 3.2%; }
@media (max-width: 700px) { .telefono { margin-top: -5%; } }

/* v3 · Igual a la imagen de ChatGPT (Sergio: «no cambies nada, solo los logos»): la foto completa, sin equipos encima */
.hero-foto .personas { object-fit: cover; object-position: 60% 50%; }
@media (max-width: 700px) {
  .hero-foto { aspect-ratio: 1022 / 823; overflow: hidden; }
  .hero-foto .personas { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 60% 50%; }
}
@media (min-width: 1101px) {
  .hero-in { padding: 0; align-items: stretch; }
  .hero-txt { align-self: center; padding: 40px 0; }
  .hero-foto { margin-right: calc((100vw - min(1240px, 100vw - 48px)) / -2); }
  .hero-foto .personas { border-radius: 0; object-position: 55% 40%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
}

/* v4 · Como la imagen 2 de ChatGPT: la foto completa de fondo (con la taza, la planta y la libreta), el texto encima a la izquierda */
@media (min-width: 1101px) {
  .hero { background: linear-gradient(90deg, rgba(247,250,255,.97) 0%, rgba(247,250,255,.9) 26%, rgba(247,250,255,0) 42%), url("hero-fondo.jpg?v=3") 100% 100% / cover no-repeat; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; max-height: none; aspect-ratio: 1672 / 820; max-height: 860px; padding: 0; align-items: center; }
  .hero-txt { max-width: 640px; padding: 0 0 40px; }
  .hero-foto { display: none; }
  .top { background: rgba(255,255,255,.96); }
}
@media (min-width: 1101px) {
  .caja { width: min(1500px, 100% - 112px); }
  .hero { background-position: right top; }
  .hero-in { aspect-ratio: auto; max-height: none; min-height: calc(100vw * 820 / 1672); }
  .hero-txt { max-width: 34vw; }
  .hero h1 { font-size: clamp(40px, 4.3vw, 76px); }
  .sub { font-size: clamp(18px, 1.55vw, 26px); }
}
@media (min-width: 1101px) {
  .hero { background-image: linear-gradient(90deg, rgba(247,250,255,.88) 0%, rgba(247,250,255,.55) 24%, rgba(247,250,255,0) 38%), url("hero-fondo.jpg?v=3"); }
  .hero h1 span { white-space: nowrap; }
  .hero-txt { max-width: 42vw; }
}
@media (min-width: 1101px) { .hero { background-image: linear-gradient(90deg, rgba(247,250,255,.9) 0%, rgba(247,250,255,.78) 27%, rgba(247,250,255,0) 39%), url("hero-fondo.jpg?v=3"); } }

/* v1.30.0 · Planes: el primero se contrata; los otros dos bloqueados «Próximamente» */
.seccion-planes { background: #F7FAFF; }
.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--borde); border-radius: 20px; padding: 34px 28px 28px; display: flex; flex-direction: column; text-align: center; box-shadow: 0 2px 10px rgba(11,31,68,.05); }
.plan-on { border: 2px solid var(--azul); box-shadow: 0 14px 34px rgba(22,96,232,.16); }
.plan h3 { margin: 0; font-family: Montserrat, Inter, sans-serif; font-size: 28px; color: var(--navy); }
.plan-para { margin: 6px 0 0; color: var(--suave); font-size: 15px; min-height: 2.6em; }
.plan-precio { margin: 18px 0 20px; font-family: Montserrat, Inter, sans-serif; font-weight: 800; font-size: 34px; color: var(--navy); }
.plan-precio small { font-family: Inter, sans-serif; font-weight: 500; font-size: 14px; color: var(--suave); }
/* v1.31.0 · plan en UF: aproximado en pesos con la UF de hoy */
.plan-pesos { display: block; margin-top: 6px; font-family: Inter, sans-serif; font-weight: 600; font-size: 14px; color: var(--suave); }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; text-align: left; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--texto); line-height: 1.35; }
.plan li svg { width: 18px; height: 18px; margin-top: 1px; stroke-width: 2.4; }
.plan li.si svg { color: #079455; }
.plan li.no { color: #98A2B3; }
.plan li.no svg { color: #C0C8D4; }
.plan-btn { justify-content: center; width: 100%; padding: 15px 20px; font-size: 17px; }
.plan-btn-off { display: block; border-radius: 16px; background: #EEF2F7; color: #8A96A8; font-weight: 600; cursor: not-allowed; }
.plan-off { background: #FBFCFE; }
.plan-off h3, .plan-off .plan-precio { color: #66748A; }
.plan-cinta { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 99px; white-space: nowrap; }
.plan-cinta svg { width: 14px; height: 14px; }
.planes-nota { text-align: center; color: var(--suave); font-size: 14px; margin: 26px 0 0; }
@media (max-width: 980px) { .planes { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } .plan-para { min-height: 0; } }
/* v1.30.0 · ajustes del agente de diseño */
.plan-cinta-on { background: #1E78D8; }
.plan li.no { color: #6B778A; }
.plan-btn-off { min-height: 52px; line-height: 22px; border: 0; font: 600 17px Inter, sans-serif; color: #5B6B7C; width: 100%; }
/* v1.30.0 · 4 planes (Básico, Pro, Full, Elite) */
.planes-4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.planes-4 .plan { padding: 32px 20px 24px; }
.planes-4 .plan h3 { font-size: 25px; }
.planes-4 .plan-precio { font-size: 29px; }
.planes-4 .plan li { font-size: 14px; }
.plan-precio.plan-medida { font-size: 24px; }
@media (max-width: 1100px) { .planes-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .planes-4 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* v1.30.0 · Carrito (ícono), Contratar, Conversemos, Listo y sitio cerrado */
.carrito { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--navy); margin-left: 6px; }
.carrito:hover, .carrito.on { background: #EEF4FF; color: var(--azul); }
.carrito svg { width: 26px; height: 26px; }
.plan-btn-borde { background: #fff; color: var(--azul); border: 2px solid var(--azul); box-shadow: none; }
.plan-btn-borde:hover { background: #EEF4FF; color: var(--azul-2); }
.compra { background: #F7FAFF; min-height: calc(100vh - 84px - 90px); padding: 50px 0 80px; }
.compra h2 { margin-bottom: 26px; }
.caja-angosta { width: min(760px, 100% - 48px); }
.intro { margin: -14px 0 24px; font-size: 16px; }
.aviso-err { background: #FEF3F2; border: 1px solid #FECDCA; color: #912018; border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; font-size: 15px; }
.compra-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.paso { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--navy); margin: 0 0 14px; }
.paso span { width: 28px; height: 28px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; font-size: 14px; }
.elige { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 30px; }
.elige-plan { position: relative; cursor: pointer; }
.elige-plan input { position: absolute; opacity: 0; }
.elige-cuerpo { display: grid; gap: 3px; background: #fff; border: 1.5px solid var(--borde); border-radius: 14px; padding: 16px 18px; min-height: 100%; }
.elige-cuerpo b { font-size: 18px; color: var(--navy); }
.elige-cuerpo small { color: var(--suave); font-size: 13.5px; }
.elige-cuerpo em { font-style: normal; font-weight: 700; color: var(--navy); margin-top: 4px; }
.elige-plan input:checked + .elige-cuerpo { border-color: var(--azul); box-shadow: 0 0 0 3px rgba(22,96,232,.15); }
.elige-plan input:focus-visible + .elige-cuerpo { outline: 2px solid var(--azul); }
.elige-off { cursor: not-allowed; }
.elige-off .elige-cuerpo { background: #FBFCFE; }
.elige-off .elige-cuerpo b, .elige-off .elige-cuerpo em { color: #6B778A; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.campos label { display: grid; gap: 6px; align-content: start; font-weight: 600; font-size: 14px; color: var(--navy); }
.campos label small { font-weight: 500; color: var(--suave); }
.campos input, .campos textarea { font: 16px Inter, sans-serif; color: var(--navy); border: 1.5px solid #CBD5E1; border-radius: 12px; padding: 12px 14px; background: #fff; width: 100%; }
.campos input:focus, .campos textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(22,96,232,.15); }
.campos .ancho { grid-column: 1 / -1; }
.campos .rut-msg { font-size: 12.5px; font-weight: 600; }
.necesita { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; font-weight: 600; font-size: 14px; color: var(--navy); flex-wrap: wrap; }
.necesita .chk { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.necesita .chk input { width: 20px; height: 20px; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tarjeta { background: #fff; border: 1px solid var(--borde); border-radius: 18px; padding: 26px; box-shadow: 0 2px 10px rgba(11,31,68,.05); }
.resumen { position: sticky; top: 104px; background: #fff; border: 2px solid var(--azul); border-radius: 18px; padding: 24px; box-shadow: 0 14px 34px rgba(22,96,232,.12); }
.resumen h3 { margin: 0 0 14px; color: var(--navy); font-size: 20px; }
.res-fila { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.res-fila.gris { color: var(--suave); }
.res-fila.total { border-top: 1px solid var(--borde); margin-top: 6px; padding-top: 14px; font-weight: 800; font-size: 20px; color: var(--navy); font-family: Montserrat, Inter, sans-serif; }
.resumen .plan-btn { margin-top: 16px; }
.res-nota { font-size: 13px; color: var(--suave); margin: 12px 0 0; line-height: 1.45; }
.listo-web { text-align: center; }
.listo-web h2 { margin: 0 auto 12px; }
.listo-web p { font-size: 17px; line-height: 1.55; margin: 0 0 28px; }
.listo-ok { width: 84px; height: 84px; border-radius: 50%; background: #ECFDF3; color: #079455; display: grid; place-items: center; margin: 10px auto 20px; }
.listo-ok svg { width: 44px; height: 44px; stroke-width: 2.4; }
@media (max-width: 900px) { .compra-grid { grid-template-columns: 1fr; } .resumen { position: static; } }
@media (max-width: 560px) { .campos, .elige { grid-template-columns: 1fr; } .carrito { width: 42px; height: 42px; } }
body.cerrado { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(180deg, #F7FAFF, #fff); }
.cerrado-caja { text-align: center; padding: 40px 24px; max-width: 520px; }
.cerrado-logo { height: 64px; margin: 0 auto 30px; }
.cerrado-caja h1 { font-family: Montserrat, Inter, sans-serif; font-size: 44px; color: var(--navy); margin: 0 0 10px; }
.cerrado-caja p { font-size: 18px; line-height: 1.55; margin: 0 0 28px; }
.cerrado-ingresar { display: inline-block; padding: 12px 28px; border: 1.5px solid var(--navy); border-radius: 12px; color: var(--navy); font-weight: 600; text-decoration: none; }
.cerrado-ingresar:hover { background: var(--navy); color: #fff; }
.cerrado-as { height: 26px; margin: 46px auto 0; opacity: .85; }

/* v1.33.0 · Pago con Webpay: resultado y comprobante */
.listo-no { background: #FEF3F2; color: #D92D20; }
.pago-prueba { display: inline-block; font-size: 14px !important; margin: 0 0 18px !important; padding: 8px 14px; border-radius: 8px; background: #FFF4D6; color: #7A4D00; }
.comprobante { display: grid; grid-template-columns: auto 1fr; gap: 0; max-width: 460px; margin: 0 auto 28px; text-align: left;
  border: 1px solid var(--borde); border-radius: 12px; overflow: hidden; font-size: 15px; }
.comprobante dt, .comprobante dd { margin: 0; padding: 9px 16px; border-bottom: 1px solid var(--borde); }
.comprobante dt { color: var(--suave); background: #F7F9FC; }
.comprobante dd small { color: var(--suave); }
.comprobante dt:nth-last-of-type(1), .comprobante dd:last-child { border-bottom: 0; }
.listo-web p.gris { font-size: 14px; color: var(--suave); margin-top: -16px; }
.pago-botones { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.res-webpay { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; font-size: 13px; color: var(--suave); }
.res-webpay svg { width: 14px; height: 14px; }
.cargando { width: 28px; height: 28px; margin: 10px auto 18px; border: 3px solid #D6E6F8; border-top-color: #1E78D8; border-radius: 50%; animation: girar .8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
@media print { header, footer, .btn, .pago-prueba { display: none !important; } .comprobante { border-color: #999; } }
.res-fila[hidden] { display: none; }

/* v1.34.0 · Portada: precio a la vista, «Lo quiero» va al carrito y barra fija en celular (Sergio mantuvo esta portada, 18-11-2026) */
.hero-precio { margin: -12px 0 22px; font-size: 17px; color: var(--suave); }
.hero-precio b { font-family: Montserrat, Inter, sans-serif; font-size: 26px; font-weight: 800; color: var(--navy); }
.hero-botones { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-link { font-weight: 600; font-size: 17px; color: var(--azul); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.hero-link:hover { color: var(--azul-2); }
.barra-movil { display: none; }
@media (max-width: 760px) {
  .barra-movil:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--borde); box-shadow: 0 -6px 18px rgba(11,31,68,.08); font-size: 14px; color: var(--navy); }
  .barra-movil .btn { padding: 12px 24px; font-size: 16px; box-shadow: none; }
  .hero-precio b { font-size: 22px; }
}
@media (max-width: 760px) { body:has(.barra-movil) .pie { padding-bottom: 90px; } .barra-movil span { line-height: 1.3; } }
@media (max-width: 760px) { .hero-link { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0; text-decoration: underline; text-underline-offset: 4px; } }

/* v1.55.0 · Portada con la imagen de ChatGPT tal cual (solo computador): la imagen trae su propio menú pintado */
.hero-chatgpt { display: none; }
@media (min-width: 1101px) {
  .hero-chatgpt { display: block; position: relative; }
  .hc-img { display: block; width: 100%; height: auto; }
  .hc-logo { position: absolute; display: flex; align-items: center; background: #fff; border-radius: 6px; }
  .hc-logo img { width: 100%; height: auto; }
  .hc-zona { position: absolute; border-radius: 12px; }
  .hc-zona:focus-visible { outline: 3px solid #1660E8; outline-offset: 2px; }
  .top-portada { display: none; }
  .hero-chatgpt + .hero { display: none; }
}
/* v1.65.0 · 5 planes (Boletas, Básico, Pro, Full, Elite) y límites de cada plan bajo el precio */
.plan-limites { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: -6px 0 20px; }
.plan-limites span { background: #EEF4FF; color: var(--navy); font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.plan-off .plan-limites span { background: #F1F4F8; color: #5B6B7C; }
.planes-5 { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.planes-5 .plan { padding: 30px 16px 22px; }
.planes-5 .plan h3 { font-size: 23px; }
.planes-5 .plan-para { font-size: 14px; }
.planes-5 .plan-precio { font-size: 27px; }
.planes-5 .plan-precio.plan-medida { font-size: 22px; }
.planes-5 .plan li { font-size: 13.5px; gap: 8px; }
.planes-5 .plan-limites span { font-size: 12px; padding: 3px 8px; }
.planes-5 .plan-btn { font-size: 16px; padding: 13px 14px; }
@media (max-width: 1250px) { .planes-5 { grid-template-columns: repeat(3, 1fr); row-gap: 30px; } }
@media (max-width: 900px) { .planes-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .planes-5 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.planes-5 .plan-limites { min-height: 76px; align-content: flex-start; }
@media (max-width: 900px) { .planes-5 .plan-limites { min-height: 0; } }

/* 21-11-2026 · Portada mejoras (bosquejo aprobado): Producto rehecho, «Cómo empiezas», Preguntas frecuentes y botón flotante de WhatsApp */
.pr-dest { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.pr-dest article { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; border: 1px solid var(--borde); border-radius: var(--r); padding: 26px; background: #fff; box-shadow: 0 2px 8px rgba(11,31,68,.04); }
.pr-dest h3 { margin: 0 0 6px; font-size: 20px; color: var(--navy); }
.pr-dest p { margin: 0 0 12px; font-size: 15px; line-height: 1.55; }
.pr-dest ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.pr-dest li { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--navy); }
.pr-dest li svg { width: 16px; height: 16px; color: #079455; stroke-width: 2.4; }
.pr-ico { width: 48px; height: 48px; border-radius: 12px; background: #EEF4FF; color: var(--azul); display: grid; place-items: center; }
.pr-ico svg { width: 26px; height: 26px; }
.pr-grilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pr-grilla article { border: 1px solid var(--borde); border-radius: var(--r); padding: 22px; background: #fff; box-shadow: 0 2px 8px rgba(11,31,68,.04); }
.pr-grilla .pr-ico { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 14px; }
.pr-grilla .pr-ico svg { width: 22px; height: 22px; }
.pr-grilla h3 { margin: 0 0 6px; font-size: 17px; color: var(--navy); }
.pr-grilla p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.pr-full { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin: 18px 0 32px; padding: 16px 22px; border: 1px dashed #B9C7DC; border-radius: var(--r); background: #FBFCFE; }
.pr-full-et { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.pr-full-et svg { width: 14px; height: 14px; }
.pr-full span.it { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--texto); }
.pr-full span.it svg { width: 18px; height: 18px; color: #6B7A90; }
.pr-full a { margin-left: auto; font-weight: 600; font-size: 15px; text-decoration: none; }

.seccion-pasos { border-top: 1px solid var(--borde); }
.seccion h2.h2-ancho { max-width: none; }
.pasos-3 { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.pasos-3 li { position: relative; border: 1px solid var(--borde); border-radius: var(--r); padding: 26px 24px 24px; background: #fff; }
.pasos-3 .num { width: 40px; height: 40px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; font: 800 18px Montserrat, Inter, sans-serif; margin-bottom: 16px; }
.pasos-3 li:not(:last-child)::after { content: ""; position: absolute; top: 45px; right: -19px; width: 20px; height: 2px; background: #B9C7DC; }
.pasos-3 h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.pasos-3 p { margin: 0; font-size: 15px; line-height: 1.55; }
.pasos-3 .ayuda { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: #067647; background: #ECFDF3; padding: 4px 10px; border-radius: 99px; }
.pasos-3 .ayuda svg { width: 15px; height: 15px; stroke-width: 2.4; }
.pasos-pie { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.pasos-pie .btn { padding: 14px 30px; font-size: 16px; }
.pasos-pie span { color: var(--suave); font-size: 15px; }
.pasos-pie span a { color: inherit; }

.faq { display: grid; grid-template-columns: 1fr 1.7fr; gap: 56px; align-items: start; }
.faq h2 { margin-bottom: 16px; }
.faq-lado p { margin: 0 0 22px; font-size: 16px; line-height: 1.55; }
.faq-wsp { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 1.5px solid #1DA851; color: #0F7A3A; border-radius: 12px; font-weight: 600; text-decoration: none; font-size: 16px; }
.faq-wsp:hover { background: #ECFDF3; }
.faq-wsp svg { width: 20px; height: 20px; fill: #1DA851; stroke: none; }
.faq-wsp.faq-contacto { border-color: var(--azul); color: var(--azul); }
.faq-wsp.faq-contacto:hover { background: #EEF4FF; }
.acordeon { border: 1px solid var(--borde); border-radius: var(--r); background: #fff; overflow: hidden; }
.acordeon details + details { border-top: 1px solid var(--borde); }
.acordeon summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 16.5px; color: var(--navy); }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary:focus-visible { outline: 3px solid var(--azul); outline-offset: -3px; }
.acordeon summary svg { width: 20px; height: 20px; color: var(--azul); transition: transform .2s; }
.acordeon details[open] summary svg { transform: rotate(45deg); }
.acordeon details[open] summary { color: var(--azul); }
.acordeon .resp { padding: 0 22px 20px; margin-top: -4px; font-size: 15.5px; line-height: 1.6; max-width: 62ch; }
.acordeon .resp p { margin: 0; }

.wsp { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; align-items: center; }
.wsp-btn { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 16px; border-radius: 99px; background: #25D366; color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; box-shadow: 0 8px 22px rgba(11,31,68,.22); }
.wsp-btn:hover { background: #1DA851; }
.wsp-btn:focus-visible, .wsp-x:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.wsp-btn svg { width: 28px; height: 28px; fill: #fff; stroke: none; }
.wsp-x { position: absolute; top: -8px; left: -8px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--borde); background: #fff; color: #6B7A90; display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 2px 6px rgba(11,31,68,.12); }
.wsp-x svg { width: 12px; height: 12px; stroke-width: 2.6; }
.wsp.solo .wsp-btn { width: 56px; padding: 0; justify-content: center; }
.wsp.solo .wsp-txt, .wsp.solo .wsp-x { display: none; }

@media (max-width: 1100px) {
  .pr-dest { grid-template-columns: 1fr; }
  .pr-grilla { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 700px) {
  .pr-dest article { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .pr-grilla { grid-template-columns: 1fr; gap: 12px; }
  .pr-grilla article { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; padding: 18px; }
  .pr-grilla .pr-ico { grid-row: span 2; margin: 0; }
  .pr-full { padding: 16px; }
  .pr-full a { margin-left: 0; }
  .pasos-3 { grid-template-columns: 1fr; gap: 12px; }
  .pasos-3 li { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; padding: 18px; }
  .pasos-3 .num { grid-row: span 3; margin: 0; width: 36px; height: 36px; font-size: 16px; }
  .pasos-3 li:not(:last-child)::after { top: auto; bottom: -13px; left: 35px; right: auto; width: 2px; height: 14px; }
  .pasos-3 .ayuda { justify-self: start; }
  .pasos-pie .btn { width: 100%; justify-content: center; }
  .acordeon summary { padding: 16px; font-size: 15.5px; }
  .acordeon .resp { padding: 0 16px 16px; font-size: 15px; }
  .faq-wsp { width: 100%; justify-content: center; }
}
/* Celular: siempre solo el círculo verde, a 84 px del borde para no tapar la barra «Lo quiero» */
@media (max-width: 767px) {
  .wsp { right: 14px; bottom: 84px; }
  .wsp .wsp-btn { width: 52px; height: 52px; padding: 0; justify-content: center; }
  .wsp .wsp-txt, .wsp .wsp-x { display: none; }
}
/* Al saltar a una sección con el menú fijo de arriba (tablet/celular), que el título no quede tapado */
@media (max-width: 1100px) { .seccion[id] { scroll-margin-top: 84px; } }

/* v1.81.0 · «Pruébalo gratis» */
.btn-borde-probar { background: #fff; color: var(--azul); border: 2px solid var(--azul); box-shadow: none; }
.btn-borde-probar:hover { background: #EEF4FF; color: var(--azul-2); }
.plan-probar { display: block; text-align: center; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--azul); text-decoration: none; }
.plan-probar:hover { text-decoration: underline; }
.hero-botones .hero-link + .hero-link { margin-left: 4px; }
.barra-probar { font-size: 14px; font-weight: 600; color: var(--azul); text-decoration: none; white-space: nowrap; margin-left: auto; margin-right: 10px; }@media (max-width: 480px) { .barra-movil:has(.barra-probar) > span { display: none; } .barra-movil:has(.barra-probar) .barra-probar { margin-left: 4px; } }

/* Términos del servicio y Política de privacidad (borrador 21-11-2026) */
.legal { background: #fff; border: 1px solid var(--borde); border-radius: 18px; padding: 40px 48px; box-shadow: 0 2px 10px rgba(11,31,68,.05); color: #334155; font-size: 16px; line-height: 1.65; }
.legal h1 { font-family: Montserrat, Inter, sans-serif; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; color: var(--navy); margin: 0 0 8px; }
.legal-meta { color: var(--suave); font-size: 14px; margin: 0 0 22px; }
.legal-intro { font-size: 17px; margin: 0 0 24px; }
.legal-borrador { background: #FFF7E6; border: 1px solid #F5C26B; color: #7A4B00; border-radius: 12px; padding: 12px 16px; margin: 0 0 22px; font-size: 14.5px; }
.legal mark.pc { background: #FFF1C2; color: #7A4B00; border-radius: 4px; padding: 0 4px; font-weight: 600; font-size: .9em; }
.legal-indice { background: #F7FAFF; border: 1px solid var(--borde); border-radius: 14px; padding: 16px 22px; margin: 0 0 30px; }
.legal-indice b { color: var(--navy); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.legal-indice ol { columns: 2; column-gap: 32px; margin: 10px 0 0; padding-left: 22px; font-size: 15px; }
.legal-indice li { margin: 3px 0; break-inside: avoid; }
.legal-indice a { text-decoration: none; }
.legal-indice a:hover { text-decoration: underline; }
.legal section { scroll-margin-top: 100px; padding-top: 6px; }
.seccion .legal h2 { font-size: 20px; max-width: none; margin: 26px 0 10px; }
.legal ul { padding-left: 22px; margin: 0 0 12px; }
.legal li { margin: 5px 0; }
.legal p { margin: 0 0 12px; }
.legal-tabla { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 4px 0 14px; }
.legal-tabla th { background: var(--navy); color: #fff; text-align: left; padding: 9px 12px; font-weight: 600; }
.legal-tabla td { border-bottom: 1px solid var(--borde); padding: 9px 12px; vertical-align: top; }
.legal-tabla td:last-child { width: 38%; color: var(--suave); }
.legal-volver { border-top: 1px solid var(--borde); margin-top: 30px !important; padding-top: 16px; font-size: 14.5px; }
@media (max-width: 640px) {
  .legal { padding: 24px 18px; border-radius: 14px; font-size: 15.5px; }
  .legal-indice ol { columns: 1; }
  .legal-tabla, .legal-tabla tbody, .legal-tabla tr, .legal-tabla td { display: block; width: 100% !important; }
  .legal-tabla thead { display: none; }
  .legal-tabla tr { border-bottom: 1px solid var(--borde); padding: 8px 0; }
  .legal-tabla td { border: 0; padding: 2px 0; }
}
/* Casilla «Acepto los Términos…» de /contratar y /probar */
label.acepto, .campos label.acepto { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 14.5px; color: #334155; line-height: 1.45; margin: 4px 0 14px; cursor: pointer; }
label.acepto input { width: 20px; height: 20px; flex: 0 0 20px; margin: 1px 0 0; accent-color: var(--azul); }
.pie-legal { display: flex; gap: 16px; flex-shrink: 0; }
.pie-legal a { white-space: nowrap; }
.pie-in .pie-legal a { margin-left: 0; font-weight: 500; color: var(--suave); }
.pie-in .pie-legal a:hover { color: var(--azul); }
/* v1.83.0 · El «(opcional)» o «(mínimo 8)» va en la misma línea del título: así los campos de al lado quedan alineados */
.campos label > span small { display: inline; margin-left: 2px; }

/* v1.87.0 · Franja de arriba: Pruébalo gratis + WhatsApp (sobre la portada, sin tocar la imagen) */
.franja-top { background: #071B3D; color: #fff; }
.franja-top-in { display: flex; align-items: center; gap: 14px; min-height: 46px; padding-top: 6px; padding-bottom: 6px; }
.ft-txt { margin-right: auto; font-size: 14px; color: #C9D6EA; }
.ft-wsp { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 6px 12px; border-radius: 999px; }
.ft-wsp svg { width: 20px; height: 20px; fill: #25D366; }
.ft-contacto svg { fill: none; stroke: #8FD3FF; stroke-width: 2; stroke-linejoin: round; }
.ft-wsp:hover { background: rgba(255,255,255,.1); }
.ft-probar { display: inline-flex; align-items: center; gap: 8px; background: #25B5F0; color: #071B3D; text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 8px 16px; border-radius: 999px; }
.ft-probar:hover { background: #5AC8F5; }
.ft-probar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 700px) {
  .ft-txt { display: none; }
  .franja-top-in { justify-content: space-between; gap: 8px; }
  .ft-wsp span { display: none; }
  .ft-probar { font-size: 14px; padding: 8px 14px; }
}
/* v1.93.0 · Medio de pago (Webpay o transferencia) y página con los datos de la transferencia */
.res-medios { display: grid; gap: 8px; margin: 16px 0 0; }
.res-medio { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1.5px solid var(--borde); border-radius: 12px; cursor: pointer; }
.res-medio:has(input:checked) { border-color: var(--azul); background: #EEF4FF; }
.res-medio input { margin: 3px 0 0; accent-color: var(--azul); }
.res-medio b { display: block; color: var(--navy); font-size: 15px; }
.res-medio small { display: block; color: var(--suave); font-size: 13px; }
.tr-ico { background: #EEF4FF; color: var(--azul); }
.tr-datos { display: grid; grid-template-columns: auto 1fr; gap: 0; text-align: left; max-width: 460px; margin: 0 auto 22px; border: 1px solid var(--borde); border-radius: 14px; overflow: hidden; }
.tr-datos dt, .tr-datos dd { margin: 0; padding: 11px 16px; border-bottom: 1px solid var(--borde); font-size: 15px; }
.tr-datos dt { color: var(--suave); background: #F7F9FC; }
.tr-datos dd { font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tr-datos dt:nth-last-of-type(1), .tr-datos dd:last-child { border-bottom: 0; }
.tr-monto small { font-weight: 500; color: var(--suave); font-size: 13px; }
.tr-codigo { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 1px; }
.tr-copiar { border: 1px solid var(--borde); background: #fff; color: var(--azul); border-radius: 8px; padding: 3px 10px; font: 600 12px Inter, sans-serif; cursor: pointer; }
.tr-copiar:hover { background: #EEF4FF; }
.res-webpay[hidden] { display: none; }
/* v1.94.0 · Contratar con la sesión abierta (y desde la prueba gratis) */
.cuenta-ya { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: #EEF4FF; border: 1px solid #C9DBFF; color: var(--navy); font-size: 14.5px; line-height: 1.5; }
.cuenta-ingresa { padding: 22px 24px; font-size: 16px; } .cuenta-ingresa p { margin: 0 0 12px; } .cuenta-ingresa .plan-btn { display: inline-flex; width: auto; margin-top: 4px; }
