/* =============================================
   NETPLAY 2026 - Estilos Globales
   Basado en Brand Guide Oficial Netplay 2026
   ============================================= */

:root {
  /* Paleta oficial Netplay 2026 */
  --color-primary: #1c85ed;        /* Azul Netplay principal */
  --color-primary-dark: #0a4070;   /* Azul oscuro */
  --color-primary-light: #54a6f5;  /* Azul claro */
  --color-accent: #f7ab29;         /* Naranja (CTA, dinamismo) */
  --color-accent-red: #e04a0d;     /* Rojo/naranja */
  --color-accent-dark: #96380d;    /* Bordó */
  --color-neutral: #d4d4d6;        /* Gris neutro */
  --color-dark: #0e1420;           /* Base oscura oficial */
  --color-dark-card: #111c2e;      /* Cards / superficies */
  --color-text: #F0F4FF;
  --color-text-muted: #8fa3bf;
  --color-border: rgba(255,255,255,0.08);
  --color-white: #FFFFFF;
  --color-success: #22C55E;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.35);
  --shadow-card: 0 8px 32px rgba(28,133,237,0.18);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  /* Tipografía oficial: Futura Bd (títulos) → Josefin Sans como equivalente web */
  /* Lato Bold / Regular (bajadas y textos) */
  font-family: 'Lato', 'Segoe UI', system-ui, sans-serif;
  background: var(--color-dark);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- TIPOGRAFÍA ---- */
h1, h2, h3, h4 {
  /* Futura Bd oficial → Josefin Sans (equivalente geométrica web) */
  font-family: 'Josefin Sans', 'Futura', 'Trebuchet MS', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.6rem); }
p { color: var(--color-text-muted); }

/* ---- NAV ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 15, 30, 0.97);
  box-shadow: var(--shadow);
}
.nav-logo img { height: 48px; }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--color-white); }
.nav-cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--color-primary-light) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- BOTONES ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(28,133,237,0.4);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28,133,237,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-white);
  background: rgba(28,133,237,0.1);
}
/* CTA naranja: color oficial para llamados a la acción */
.btn-accent {
  background: var(--color-accent);
  color: var(--color-dark);
  font-weight: 800;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(247,171,41,0.4);
}
.btn-accent:hover {
  background: #ffc240;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247,171,41,0.5);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.9rem; }

/* ---- SECCIONES ---- */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  /* Naranja oficial como acento para etiquetas de sección */
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-family: 'Lato', sans-serif;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 560px;
}

/* ---- CARDS ---- */
.card {
  background: var(--color-dark-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover {
  border-color: rgba(0,87,184,0.4);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

/* ---- WHATSAPP FLOTANTE ---- */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: all var(--transition);
  animation: pulse-wa 2.5s infinite;
}
.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.whatsapp-fab svg { width: 32px; height: 32px; fill: white; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* ---- FOOTER ---- */
.footer {
  background: #060A14;
  border-top: 1px solid var(--color-border);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
}
.footer-brand p { font-size: 0.9rem; margin-top: 1rem; max-width: 280px; }
.footer-col h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-white); }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-socials a:hover { color: var(--color-white); }

/* ---- BADGE / CHIP ---- */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-popular {
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  color: var(--color-white);
}
.badge-new { background: rgba(34,197,94,0.15); color: var(--color-success); }

/* ---- DIVIDER ---- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: 1rem 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(10,15,30,0.98);
    padding: 2rem;
    border-bottom: 1px solid var(--color-border);
    gap: 1.5rem;
  }
  .section { padding: 3rem 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
