:root {
  /* Paleta de colores principal */
  --navy: #0d1f3c;
  --blue: #1a5eb8;
  --blue-light: #2e78d9;
  --gold: #e8a820;
  --gold-light: #f5c842;
  --white: #ffffff;
  --off-white: #f8f6f2;
  --gray: #6b7280;
  --gray-light: #f1f5f9;
  --red: #c0392b;
  
  /* Degradados y Sombras */
  --gradient-hero: linear-gradient(135deg, #0d1f3c 0%, #1a3a6b 50%, #1a5eb8 100%);
  --gradient-gold: linear-gradient(135deg, #e8a820, #f5c842);
  --nav-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESETEO Y ESTILOS BASE PROFESIONALES ── */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  /* Mejora de accesibilidad: resalta el foco de navegación */
  outline-offset: 3px;
}

html { 
  scroll-behavior: smooth; 
  font-size: 16px;
  /* Evita el parpadeo de barras de scroll */
  scrollbar-gutter: stable;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  
  /* Mejoras de renderizado tipográfico (Elegancia visual) */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ── NAVEGACIÓN MEJORADA ── */
nav {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 5%;
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-smooth);
}

/* Efecto cuando se hace scroll */
nav.scrolled {
  height: 70px;
  background: rgba(13, 31, 60, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--nav-shadow);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; 
  font-weight: 900;
  color: var(--white); 
  letter-spacing: -0.5px;
  display: flex; 
  align-items: center; 
  gap: 12px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-logo:hover {
  opacity: 0.9;
}

.nav-logo span { 
  color: var(--gold); 
}

.nav-logo-badge {
  width: 40px; 
  height: 40px;
  background: var(--gradient-gold);
  border-radius: 10px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 0.8rem; 
  font-weight: 800; 
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 4px 10px rgba(232, 168, 32, 0.3);
}

.nav-links {
  display: flex; 
  align-items: center; 
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8); 
  font-size: 0.95rem; 
  font-weight: 500;
  text-decoration: none; 
  transition: var(--transition-smooth);
  padding: 8px 0;
}

/* Animación de subrayado en hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition-smooth);
}

.nav-links a:hover { 
  color: var(--white); 
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 15px rgba(232, 168, 32, 0.2);
  transition: all 0.3s ease !important;
}

.nav-cta:hover { 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 168, 32, 0.4);
  filter: brightness(1.05);
}

.nav-cta::after {
  display: none !important; /* Quita el subrayado del botón CTA */
}

.hamburger {
  display: none; 
  flex-direction: column; 
  gap: 6px; 
  cursor: pointer;
  background: none; 
  border: none;
  padding: 10px;
}

.hamburger span {
  display: block; 
  width: 28px; 
  height: 2px;
  background: var(--white); 
  border-radius: 4px;
  transition: var(--transition-smooth);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav-links { 
    display: none; 
  }
  .hamburger { 
    display: flex; 
  }
  nav {
    height: 70px;
  }
}

.nav-mobile {
  display: none; 
  position: fixed; 
  top: 70px; 
  left: 0; 
  right: 0; 
  z-index: 999;
  background: var(--navy); 
  padding: 40px 5%;
  flex-direction: column; 
  gap: 25px;
  border-bottom: 3px solid var(--gold);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-mobile.open { 
  display: flex; 
}

.nav-mobile a {
  color: var(--white); 
  text-decoration: none;
  font-size: 1.2rem; 
  font-weight: 600;
  transition: color 0.3s;
}

.nav-mobile a:hover {
  color: var(--gold);
}

/* ── HERO Y SECCIONES ── */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex; 
  align-items: center;
  padding: 120px 5% 60px;
  position: relative; 
  overflow: hidden;
}

/* ... Resto de estilos originales ... */