@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 300 900; /* Esto cubre todos los pesos si es variable */
  font-display: swap;   /* Evita texto invisible [cite: 1] */
  src: url('../fonts/league-spartan-main.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  /* Brand palette */
  --bg-deep:    #0f131b;
  --bg:         #0f131b;
  --bg2:        #0f131b;
  --bg3:        #0f131b;
  --surface:    #131f42;
  --border:     rgba(255,255,255,0.07);
  --border-glow:rgba(0,102,255,0.25);

  /* Acentos */
  --blue:       #0050ff;
  --blue-light: #3b82ff;
  --blue-glow:  rgba(0,80,255,0.18);
  --orange:     #f97316;
  --violet:     #8b5cf6;
  --cyan:       #06d6e0;

  --text:       #dce8ff;
  --text-muted: #6b85b8;
  --text-dim:   #2d4070;
  --white:      #ffffff;

  --font: 'League Spartan', sans-serif;
  --radius: 14px;
}



*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* LOGO */
.logo-svg { display:flex; align-items:center; gap:10px; text-decoration:none; }
.logo-wordmark {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

/* NAV */
nav {
  position: fixed;
  top:0; left:0; right:0;
  z-index: 200;
  height: 68px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f131b;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: 8px;
  transition: all 0.2s !important;
}
.nav-cta:hover { background: var(--blue-light) !important; transform: translateY(-1px); box-shadow: 0 4px 20px var(--blue-glow); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left:0; right:0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 5%;
  flex-direction: column;
  gap: 1rem;
  z-index: 199;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

/* MARQUEE */
.marquee-wrap { padding: 20px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; position: relative; z-index: 2; }
.marquee-track { display:flex; gap:2.5rem; white-space:nowrap; animation: marquee 22s linear infinite; width: max-content; }
.marquee-item { display:flex; align-items:center; gap:0.6rem; font-size:0.8rem; font-weight:700; color:var(--text-main, #ffffff); letter-spacing:0.08em; text-transform:uppercase; }
.mdot { width:4px;height:4px;background:var(--blue-light);border-radius:50%; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* COMPONENTES GLOBALES */
section { position:relative; z-index:1; }
.container { max-width:1200px; margin:0 auto; padding:0 5%; }
.section-pad { padding:90px 0; }

.tag { display:inline-block; font-size:0.72rem; font-weight:800; letter-spacing:0.14em; text-transform:uppercase; color:var(--blue-light); margin-bottom:0.85rem; }
.section-title { font-size: clamp(1.9rem,3.5vw,2.8rem); font-weight:900; letter-spacing:-0.025em; color:var(--white); line-height:1.08; margin-bottom:0.9rem; }
.section-desc { color:var(--text-muted); font-size:0.95rem; max-width:500px; line-height:1.7; font-weight:400; }

.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--blue); color: var(--white); padding: 0.85rem 1.75rem; border-radius: 10px; font-weight: 700; font-size: 0.95rem; font-family: var(--font); text-decoration: none; letter-spacing: 0.02em; transition: all 0.25s;marg }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,80,255,0.4); }

.btn-ghost { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: var(--text); padding: 0.85rem 1.75rem; border-radius: 10px; font-weight: 600; font-size: 0.95rem; font-family: var(--font); text-decoration: none; border: 1px solid var(--border); transition: all 0.25s; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.04); }

/* FOOTER */
footer { background:var(--bg2); border-top:1px solid var(--border); padding:3rem 5%; position:relative; z-index:1; }
.footer-inner { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:3rem; }
.footer-brand p { color:var(--text-muted); font-size:0.85rem; line-height:1.7; margin-top:0.75rem; max-width:270px; font-weight:400; }
.footer-col h5 { font-size:0.72rem; font-weight:900; color:var(--white); letter-spacing:0.12em; text-transform:uppercase; margin-bottom:1rem; }
.footer-col a { display:block; color:var(--text-muted); text-decoration:none; font-size:0.875rem; font-weight:500; margin-bottom:0.55rem; transition:color 0.2s; }
.footer-col a:hover { color:var(--text); }
.footer-bottom { max-width:1200px; margin:2rem auto 0; padding-top:1.75rem; border-top:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; font-size:0.78rem; color:var(--text-main, #ffffff); font-weight:500; }

/* ANIMACIONES */
.reveal { opacity:0; transform:translateY(22px); transition:opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

@media (max-width:900px) {
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .footer-inner { grid-template-columns:1fr 1fr; gap:2rem; }
  .footer-bottom { flex-direction:column; gap:0.5rem; text-align:center; }
}
@media (max-width:600px) {
  .footer-inner { grid-template-columns:1fr; }
}