/* Barra de navegación fija */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 60px;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

/* Logo */
.logo img {
  width: 110px;
  transition: opacity 0.3s ease;
}

.logo {
  width: auto;
}

/* Enlaces de la barra de navegación */
.nav-links {
  display: flex;
  gap: 40px;
  margin-left: auto;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a {
  color: #001f3f;
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00498c, #0066bf);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-links a:hover {
  color: #00498c;
}

.nav-links a:hover::after {
  width: 100%;
}

body {
  margin-top: 80px;
}

/* Botón Hamburguesa */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #001f3f;
  transition: color 0.3s ease;
}

/* RESPONSIVIDAD */
@media (max-width: 768px) {
  .navbar {
    padding: 0 24px;
    height: 70px;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    width: 100%;
    transform: translateX(100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 30px 40px;
    gap: 24px;
  }

  .nav-links.show {
    transform: translateX(0);
  }

  .hamburger {
    display: block;
  }

  body {
    margin-top: 70px;
  }
}
