@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&family=Figtree:wght@600;700;800&display=swap');
/* Letra oficial Kaizen (21/nov/2026): títulos Figtree 700, texto Source Sans 3. Poppins retirada del texto. */
h1, h2, h3 { font-family: 'Figtree', 'Source Sans 3', Arial, sans-serif; }

:root {
  --ink: #1E2329;
  --asfalto: #2C3E50;
  --gris: #45525F;
  --muted: #8A949E;
  --line: #E9E6E1;
  --paper: #FAFAF8;
  --naranja: #F26B1D;
  --durazno: #FFF3EB;
  --rojo: #D7121B;
  --ak: #F5C400; /* Akademia: amarillo cálido, nunca rojo */
  --verde: #1F9D55;
  --ambar: #E0A100;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body { font-family: 'Source Sans 3', Arial, sans-serif; color: var(--ink); background: var(--paper); overflow-x: hidden; }

/* Navegación flotante */
.nav { transition: transform .5s var(--ease);
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 10;
  display: flex; align-items: center; gap: 36px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(30, 35, 41, 0.06), 0 12px 40px -18px rgba(30, 35, 41, 0.25);
}
.nav img { height: 42px; display: block; }
.nav ul { display: flex; gap: 28px; white-space: nowrap; list-style: none; font-size: 14px; color: var(--gris); }
.nav a { color: inherit; text-decoration: none; transition: color .4s var(--ease); }
.nav a:hover { color: var(--ink); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
  font: 500 15px 'Source Sans 3', Arial, sans-serif; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer;
  transition: transform .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-main { background: var(--naranja); color: #fff; box-shadow: 0 10px 30px -12px rgba(242, 107, 29, 0.7); }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(242, 107, 29, 0.8); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: 0 0 0 1px var(--muted); }
.nav .btn { padding: 10px 20px; font-size: 14px; color: #fff; }
.wa { width: 16px; height: 16px; fill: #25D366; }

/* Celular */
.phone {
  width: 260px; padding: 9px; border-radius: 42px; background: #15181C;
  box-shadow: 0 40px 80px -30px rgba(30, 35, 41, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.screen { height: 520px; border-radius: 34px; background: #fff; overflow: hidden; position: relative; }
.notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 20px; background: #15181C; z-index: 2; }

/* Notificación flotante */
.toast {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  border-radius: 18px; background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 1px rgba(30, 35, 41, 0.05), 0 20px 40px -16px rgba(30, 35, 41, 0.3);
  white-space: nowrap; z-index: 3;
}
.toast img { width: 36px; height: 36px; border-radius: 10px; }
.toast b { display: block; font-size: 14px; font-weight: 600; }
.toast span { font-size: 12px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.etq { position: fixed; bottom: 18px; left: 18px; font-size: 12px; color: var(--muted); z-index: 10; }

@media (max-width: 860px) {
  .nav ul { display: none; }
  .nav { top: 10px; background: #fff; backdrop-filter: none; }
  .nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
.nav.oculta { transform: translate(-50%, calc(-100% - 30px)); }
.marcas small { font-size: inherit; }

/* Menú lateral (celular) y sección activa (PC) */
html { scroll-behavior: smooth; }
section[id], div[id="s2"], footer[id] { scroll-margin-top: 90px; }
.nav-logo { display: block; }
.nav ul a { position: relative; padding: 6px 0; }
.nav ul a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--naranja); transform: translateX(-50%) scale(0); transition: transform .5s var(--ease); }
.nav ul a.activo { color: var(--ink); font-weight: 500; }
.nav ul a.activo::after { transform: translateX(-50%) scale(1); }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--durazno); cursor: pointer;
  position: relative; flex-shrink: 0; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; right: 18px; }

.velo { position: fixed; inset: 0; z-index: 20; background: rgba(30, 35, 41, .38); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.cajon { position: fixed; top: 0; bottom: 0; left: 0; z-index: 21; width: min(84vw, 340px); display: flex; flex-direction: column;
  padding: 22px 20px 20px; background: var(--paper); overflow-y: auto; box-shadow: none;
  border-radius: 0 26px 26px 0; transform: translateX(-104%); transition: transform .6s var(--ease); }
.cajon-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; }
.cajon-top img { height: 38px; }
.cerrar { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; position: relative; }
.cerrar::before, .cerrar::after { content: ""; position: absolute; left: 12px; right: 12px; top: 19px; height: 2px; background: var(--ink); border-radius: 2px; transform: rotate(45deg); }
.cerrar::after { transform: rotate(-45deg); }
.grupo { display: flex; flex-direction: column; padding: 8px 0; border-top: 1px solid var(--line); }
.grupo a { display: flex; align-items: center; gap: 14px; padding: 13px 4px; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500;
  border-radius: 12px; opacity: 0; transform: translateX(-18px); transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s; }
.grupo a:active { background: var(--durazno); }
.grupo svg, .cajon-wa svg { width: 22px; height: 22px; fill: none; stroke: var(--gris); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.grupo a.activo { color: var(--naranja); } .grupo a.activo svg { stroke: var(--naranja); }
.cajon-card { margin-top: auto; padding: 18px; border-radius: 20px; background: var(--durazno); display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.cajon-card b { font-size: 17px; font-weight: 600; } .cajon-card span { font-size: 13px; color: var(--gris); line-height: 1.5; margin-bottom: 10px; }
.cajon-card .btn { justify-content: center; }
.cajon-wa { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; font-size: 14px; color: var(--ink); text-decoration: none; }
.cajon-wa svg { stroke: #25D366; width: 18px; height: 18px; }

body.cajon-abierto { overflow: hidden; }
body.cajon-abierto .velo { opacity: 1; pointer-events: auto; }
body.cajon-abierto .cajon { transform: none; box-shadow: 30px 0 60px -30px rgba(30, 35, 41, .35); }
body.cajon-abierto .grupo a, body.cajon-abierto .cajon-card { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .nav { left: 12px; right: 12px; transform: none; justify-content: space-between; padding: 8px 8px 8px 16px; }
  .nav.oculta { transform: translateY(calc(-100% - 30px)); }
  .nav > .btn { display: none; }
  .nav img { height: 36px; }
  .burger { display: block; }
}
@media (min-width: 861px) { .velo, .cajon { display: none; } }
