/* BoletaPlus · página de venta (boletaplus.cl), v1.14.0. Colores de la marca: los mismos del sistema (bp.css). */
:root {
  --navy: #071B3D; --navy2: #0B2A5B; --azul: #0866F5; --azul2: #2F7BF6; --turquesa: #08D7E8; --cian: #22C3EE;
  --texto: #172B4D; --suave: #5B6B85; --borde: #D3DCE7; --fondo: #F4F7FB;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 15px/1.55 Inter, system-ui, sans-serif; color: var(--texto); background: #fff; }
img { max-width: 100%; }
a { color: inherit; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 8px; font: 600 14px Inter, sans-serif; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn .i { width: 18px; height: 18px; }
.btn-grande { height: 50px; padding: 0 26px; font-size: 16px; border-radius: 10px; }
.btn-ancho { width: 100%; }
.btn-azul { background: var(--azul); color: #fff; }
.btn-azul:hover { background: #0656D0; }
.btn-borde { border-color: var(--azul); color: var(--azul); background: #fff; }
.btn-borde:hover { background: #EEF4FF; }
.btn-turquesa { background: var(--turquesa); color: var(--navy); }
.btn-turquesa:hover { background: #2BE3F2; transform: translateY(-1px); }
.btn-blanco-borde { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-blanco-borde:hover { background: rgba(255,255,255,.1); }

/* Encabezado */
.cab { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid #E6ECF3; }
.cab-in { max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; gap: 28px; }
.marca { display: flex; align-items: center; gap: 18px; text-decoration: none; flex: none; }
.marca-bp { height: 52px; width: auto; }
.marca-sep { width: 1px; height: 34px; background: #CBD5E1; }
.marca-as { display: flex; align-items: center; gap: 8px; }
.marca-as small { font: 600 9.5px Inter, sans-serif; letter-spacing: .04em; color: var(--suave); }
.marca-as img { height: 36px; width: auto; }
.menu { display: flex; gap: 22px; margin-left: auto; white-space: nowrap; }
.menu a { font: 600 14px Inter, sans-serif; color: var(--navy); text-decoration: none; padding: 24px 0 22px; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a.on { color: var(--azul); border-bottom-color: var(--azul); }
.cab-botones { display: flex; gap: 10px; }

/* Portada */
.heroe { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 520px at 80% 20%, #0F5BD8 0%, transparent 60%), linear-gradient(135deg, #061535 0%, #0A2A66 55%, #0B3C8F 100%); }
.heroe .ondas { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; pointer-events: none; }
.heroe-in { position: relative; max-width: 1240px; margin: 0 auto; padding: 48px 24px 70px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 30px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font: 500 14px Inter, sans-serif; }
.bandera { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(to bottom, transparent 50%, #D52B1E 50%), linear-gradient(to right, #0039A6 42%, #fff 42%); position: relative; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.bandera::after { content: ""; position: absolute; left: 5px; top: 4px; width: 5px; height: 5px; background: #fff; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.heroe h1 { margin: 18px 0 14px; font: 800 52px/1.08 Montserrat, sans-serif; letter-spacing: -.5px; }
.heroe h1 span { color: var(--turquesa); }
.heroe-txt > p { margin: 0 0 26px; font-size: 18px; color: #DCE6F5; max-width: 520px; }
.heroe-botones { display: flex; flex-wrap: wrap; gap: 14px; }

/* Notebook con la pantalla del sistema */
.notebook { position: relative; }
.nb-pantalla { background: #0D1220; border-radius: 16px 16px 4px 4px; padding: 12px 12px 14px; box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12) inset; }
.nb-pantalla img { display: block; width: 100%; aspect-ratio: 1440 / 820; object-fit: cover; object-position: top left; border-radius: 4px; }
.nb-base { height: 16px; margin: 0 -6%; background: linear-gradient(#D7DDE6, #9AA6B6); border-radius: 0 0 14px 14px; position: relative; box-shadow: 0 18px 30px rgba(0,0,0,.35); }
.nb-base::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 18%; height: 6px; background: #8792A3; border-radius: 0 0 8px 8px; }

/* Sellos */
.sellos { background: #fff; border-bottom: 1px solid #E6ECF3; }
.sellos-in { max-width: 1240px; margin: 0 auto; padding: 24px; display: grid; grid-template-columns: repeat(4, 1fr); }
.sello { display: flex; align-items: center; gap: 14px; padding: 4px 24px; border-left: 1px solid #E1E7EF; }
.sello:first-child { border-left: 0; padding-left: 0; }
.sello .i { width: 40px; height: 40px; color: var(--azul); stroke-width: 1.7; }
.sello b { display: block; font: 700 17px Inter, sans-serif; color: var(--navy); }
.sello span { color: var(--suave); font-size: 14px; }

/* Secciones */
.seccion { padding: 72px 0; }
.seccion-in { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.seccion-angosta { max-width: 860px; }
.antetitulo { font: 700 13px Inter, sans-serif; letter-spacing: .18em; color: var(--azul); }
.seccion h2 { margin: 8px 0 30px; font: 800 36px/1.15 Montserrat, sans-serif; color: var(--navy); letter-spacing: -.3px; }

.funciones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.funciones article { border: 1px solid #E1E7EF; border-radius: 14px; padding: 22px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.funciones article:hover { border-color: #BFD3F5; box-shadow: 0 10px 26px rgba(8,40,100,.08); }
.fi { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; }
.fi .i { width: 24px; height: 24px; }
.fi-azul { background: #E8F0FF; color: #0866F5; } .fi-turquesa { background: #E0F8FB; color: #0AA5B5; } .fi-lila { background: #EEE8FF; color: #6D4AE0; }
.fi-verde { background: #E2F6EB; color: #18A058; } .fi-ambar { background: #FFF0D6; color: #D97706; } .fi-celeste { background: #E0F1FF; color: #1F8BE0; }
.funciones h3 { margin: 0 0 6px; font: 700 17px Inter, sans-serif; color: var(--navy); }
.funciones p { margin: 0; color: var(--suave); font-size: 14.5px; }

/* Planes */
.seccion-planes { background: linear-gradient(180deg, #F4F8FE 0%, #EEF4FC 100%); position: relative; overflow: hidden; }
.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid #E1E7EF; border-radius: 16px; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 6px 20px rgba(8,40,100,.05); }
.plan-destacado { border: 2px solid var(--azul2); padding-top: 0; overflow: visible; box-shadow: 0 16px 40px rgba(8,102,245,.18); }
.plan-cinta { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--azul2); color: #fff; font: 600 14px Inter, sans-serif; padding: 4px 18px; border-radius: 20px; z-index: 2; }
.plan-cab { display: flex; align-items: center; gap: 14px; }
.plan-destacado .plan-cab { margin: 0 -26px; padding: 26px 26px 18px; background: linear-gradient(135deg, #0A3A9C, #0866F5); color: #fff; border-radius: 14px 14px 0 0; }
.plan-ic { width: 56px; height: 56px; border-radius: 14px; background: #E8F0FF; color: var(--azul); display: grid; place-items: center; flex: none; }
.plan-ic .i { width: 30px; height: 30px; }
.plan-destacado .plan-ic { background: rgba(255,255,255,.15); color: #fff; }
.plan h3 { margin: 0; font: 800 24px Montserrat, sans-serif; color: var(--navy); }
.plan-destacado h3 { color: #fff; }
.plan-cab span { font-size: 14.5px; color: var(--suave); }
.plan-destacado .plan-cab span { color: #DCE8FF; }
.plan-precio { text-align: center; }
.plan-precio b { font: 800 38px Montserrat, sans-serif; color: var(--navy); }
.plan-precio > span { font-size: 18px; color: var(--suave); margin-left: 4px; }
.plan-precio small { display: block; font-size: 14px; color: var(--suave); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; }
.plan li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.plan li .i { width: 18px; height: 18px; color: #18A058; stroke-width: 2.4; }
.planes-nota { margin: 22px 0 0; text-align: center; color: var(--suave); }

/* Preguntas */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid #E1E7EF; border-radius: 12px; background: #fff; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font: 600 16px Inter, sans-serif; color: var(--navy); display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--azul); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--suave); }

/* Contacto */
.contacto { background: linear-gradient(135deg, #061535, #0B3C8F); color: #fff; }
.contacto-in { max-width: 1240px; margin: 0 auto; padding: 48px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.contacto h2 { margin: 0 0 6px; font: 800 30px Montserrat, sans-serif; }
.contacto p { margin: 0; color: #DCE6F5; font-size: 17px; }
.contacto-botones { display: flex; gap: 12px; flex-wrap: wrap; }

/* Pie */
.pie { background: var(--navy); color: #AFC0DA; }
.pie-in { max-width: 1240px; margin: 0 auto; padding: 28px 24px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.pie-logo { height: 54px; width: auto; }
.pie nav { display: flex; gap: 20px; margin-left: auto; }
.pie nav a { text-decoration: none; font-size: 14px; }
.pie nav a:hover { color: #fff; }
.pie small { width: 100%; font-size: 13px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; }

/* Responsive */
@media (max-width: 1100px) {
  .menu { display: none; }
  .heroe-in { grid-template-columns: 1fr; padding-top: 36px; }
  .heroe h1 { font-size: 42px; }
  .sellos-in { grid-template-columns: 1fr 1fr; gap: 16px; }
  .sello:nth-child(3) { border-left: 0; padding-left: 0; }
  .funciones, .planes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .cab-in { height: 60px; gap: 10px; padding: 0 14px; }
  .marca-sep, .marca-as { display: none; }
  .marca-bp { height: 40px; }
  .cab-botones .btn-borde { padding: 0 10px; } .cab-botones .btn-borde .i { display: none; }
  .cab-botones .btn { height: 36px; font-size: 13px; }
  .heroe h1 { font-size: 33px; }
  .heroe-txt > p { font-size: 16px; }
  .btn-grande { width: 100%; }
  .sellos-in { grid-template-columns: 1fr; }
  .sello, .sello:nth-child(3) { border-left: 0; padding-left: 0; }
  .funciones, .planes { grid-template-columns: 1fr; }
  .plan-destacado { margin-top: 10px; }
  .seccion { padding: 52px 0; }
  .seccion h2 { font-size: 28px; }
  .pie nav { margin-left: 0; flex-wrap: wrap; }
}
/* v1.15.0 · Logos nuevos */
.marca-bp { height: 38px; }
.marca-as img { height: 22px; }
.pie-logos { display: flex; align-items: center; gap: 16px; background: #fff; padding: 10px 16px; border-radius: 10px; }
.pie-logos img { height: 30px; width: auto; }
.pie-logos img + img { height: 22px; padding-left: 16px; border-left: 1px solid #E1E7EF; }
@media (max-width: 700px) { .marca-bp { height: 28px; } }
@media (max-width: 1480px) { .marca-as small { display: none; } .menu { gap: 16px; } .menu a { font-size: 13.5px; } .cab-in { gap: 18px; } }
