/* =============================================
   NAVBAR.CSS · Barra de navegación fija
   + menú móvil overlay
   ============================================= */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.3s ease;
  background: rgba(10, 22, 40, 0.3);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(245, 166, 35, 0.15);
}
.navbar.scrolled {
  background: rgba(10, 22, 40, 0.88);
  border-bottom: 1px solid rgba(245, 166, 35, 0.4);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(1.1);
}

/* Links */
.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-menu a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-menu a:hover { color: var(--naranja); }

/* CTA botón */
.nav-cta {
  padding: 11px 22px;
  font-size: 13px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.18);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 166, 35, 0.5);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.3);
  transition: all 0.3s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: rgba(245, 166, 35, 0.35);
  box-shadow: 0 0 30px rgba(245, 166, 35, 0.6);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* ===== MENÚ MÓVIL OVERLAY ===== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 10, 20, 0.97);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 80px 32px 40px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu a {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--naranja); }

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}
.mobile-cta {
  font-size: 16px !important;
  padding: 18px 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--naranja), var(--naranja-oscuro));
  color: #fff !important;
  font-weight: 700 !important;
  margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-menu   { display: none; }
  .hamburger  { display: block; }
}
@media (max-width: 480px) {
  .nav-cta { padding: 9px 16px; font-size: 12px; }
}
