/* El Maestro — páginas del producto dentro del sitio de Bacatá Dynamics (presentación, empresas y Suite Empresas).
   Colores de la app: pizarra, amarillo y niebla. */
:root {
  --pizarra: #243447;
  --pizarra-2: #1B2633;
  --amarillo: #F59E0B;
  --amarillo-suave: #FEF3C7;
  --niebla: #F5F7FA;
  --borde: #E3E8EF;
  --texto: #1B2633;
  --texto-2: #5B6B7D;
  --verde: #16A34A;
  --rojo: #DC2626;
  --sombra: 0 4px 18px rgba(36, 52, 71, .08);
  --sombra-lg: 0 24px 60px rgba(36, 52, 71, .18);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--texto); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; color: var(--pizarra); }
p { margin: 0; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Barra superior */
.top { position: sticky; top: 0; z-index: 10; background: rgba(36, 52, 71, .97); backdrop-filter: blur(8px); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.marca { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.marca img { width: 40px; height: 40px; border-radius: 10px; background: #fff; padding: 2px; }
.marca small { display: block; font-size: 11px; font-weight: 500; opacity: .65; letter-spacing: .02em; }
.top nav { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { padding: 9px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; opacity: .8; }
.top nav a:hover, .top nav a.on { opacity: 1; background: rgba(255, 255, 255, .1); }
.top nav a.cta { background: var(--amarillo); color: var(--pizarra); opacity: 1; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 16px; border: 0;
  border-radius: 14px; padding: 15px 26px; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-amarillo { background: var(--amarillo); color: var(--pizarra); box-shadow: 0 10px 26px rgba(245, 158, 11, .32); }
.btn-borde { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn-pizarra { background: var(--pizarra); color: #fff; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }

/* Secciones */
.hero { background: var(--pizarra); color: #fff; padding: clamp(56px, 8vw, 104px) 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(36px, 5.6vw, 64px); }
.hero h1 em { font-style: normal; color: var(--amarillo); }
.hero p.lead { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .78); max-width: 560px; }
.hero .acciones { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.etiqueta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amarillo); }
.etiqueta::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--amarillo); }
.telefonos { display: flex; justify-content: center; gap: 16px; }
.telefonos img { width: min(46%, 260px); border-radius: 22px; box-shadow: var(--sombra-lg); }
.telefonos img:nth-child(2) { margin-top: 56px; }

.seccion { padding: clamp(64px, 9vw, 112px) 0; }
.seccion.niebla { background: var(--niebla); }
.seccion.oscura { background: var(--pizarra); color: #fff; }
.seccion.oscura h2 { color: #fff; }
.titulo { max-width: 720px; margin-bottom: 44px; }
.titulo h2 { margin-top: 12px; font-size: clamp(30px, 4vw, 46px); }
.titulo p { margin-top: 14px; color: var(--texto-2); font-size: 18px; }
.seccion.oscura .titulo p { color: rgba(255, 255, 255, .72); }

.rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.rejilla.tres { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tarjeta { background: #fff; border: 1px solid var(--borde); border-radius: 18px; padding: 26px; }
.tarjeta .icono { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--amarillo-suave); margin-bottom: 16px; }
.tarjeta h3 { font-size: 19px; }
.tarjeta p { margin-top: 8px; color: var(--texto-2); font-size: 15px; }
.seccion.oscura .tarjeta { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.seccion.oscura .tarjeta h3 { color: #fff; }
.seccion.oscura .tarjeta p { color: rgba(255, 255, 255, .7); }
.tarjeta.dolor { border-left: 4px solid var(--rojo); }

.pasos { counter-reset: paso; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.paso { position: relative; padding: 26px; border-radius: 18px; background: #fff; box-shadow: var(--sombra); }
.paso::before { counter-increment: paso; content: counter(paso); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--amarillo); color: var(--pizarra); font-weight: 800; margin-bottom: 14px; }
.paso h3 { font-size: 18px; }
.paso p { margin-top: 6px; color: var(--texto-2); font-size: 15px; }

.cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.cifra b { display: block; font-size: clamp(32px, 4vw, 44px); color: var(--amarillo); letter-spacing: -.02em; }
.cifra span { color: rgba(255, 255, 255, .75); font-size: 15px; }

.dividido { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lista-check { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.lista-check li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 16px; }
.lista-check li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--amarillo); color: var(--pizarra); font-weight: 800; font-size: 14px; }
.lista-check b { color: var(--pizarra); }

.cierre { text-align: center; }
.cierre h2 { font-size: clamp(30px, 4vw, 44px); max-width: 760px; margin: 0 auto; }
.cierre p { margin: 16px auto 0; max-width: 620px; color: var(--texto-2); font-size: 18px; }
.cierre .acciones { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.pie { background: var(--pizarra-2); color: rgba(255, 255, 255, .6); padding: 32px 0; font-size: 14px; }
.pie .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.pie a:hover { color: #fff; }

/* Promoción del bono de registro */
.promo { background: var(--amarillo-suave); }
.promo h2 em { font-style: normal; color: #B45309; }
.promo-texto { margin-top: 16px; color: var(--texto-2); font-size: 18px; max-width: 560px; }
.bono-ticket { position: relative; background: var(--pizarra); color: #fff; border-radius: 26px; padding: 40px 36px; text-align: center; box-shadow: var(--sombra-lg);
  display: flex; flex-direction: column; gap: 6px; max-width: 420px; justify-self: center; width: 100%; box-sizing: border-box; }
.bono-ticket::before, .bono-ticket::after { content: ""; position: absolute; top: 62%; width: 34px; height: 34px; border-radius: 50%; background: var(--amarillo-suave); }
.bono-ticket::before { left: -17px; } .bono-ticket::after { right: -17px; }
.bono-eti { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amarillo); }
.bono-monto { font-size: clamp(54px, 7vw, 76px); line-height: 1; letter-spacing: -.03em; color: var(--amarillo); margin-top: 8px; }
.bono-sub { font-size: 18px; color: rgba(255, 255, 255, .85); }
.bono-ticket hr { width: 100%; border: 0; border-top: 2px dashed rgba(255, 255, 255, .25); margin: 22px 0 16px; }
.bono-cupos { font-size: 16px; } .bono-cupos b { color: var(--amarillo); }
.bono-ticket small { color: rgba(255, 255, 255, .6); font-size: 13px; margin-top: 4px; }

@media (max-width: 860px) {
  .hero .wrap, .dividido { grid-template-columns: 1fr; }
  .top nav a:not(.cta) { display: none; }
}
