/* ================================
   HEADER
================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;

  display: flex;
  align-items: center;

  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);

  z-index: 1000;
}

/* ================================
   CONTENEDOR
================================ */

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ================================
   LOGO
================================ */

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* ================================
   NAV
================================ */

.nav {
  display: flex;
  align-items: center;

  flex: 1;
  justify-content: center;

  gap: 28px;
  white-space: nowrap;
}

.nav a {
  color: #ffffff;
  text-decoration: none;

  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: uppercase;

  position: relative;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Línea hover / activa */
.nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f5b335;
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

/* ================================
   REDES SOCIALES
================================ */

.header-social {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-social a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.3s ease;
}

.header-social a:hover {
  background: #f5b335;
}

.header-social img {
  width: 16px;
  height: 16px;
}

/* ================================
   MENU HAMBURGUESA
================================ */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1200px) {
  .nav {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .nav {
    font-size: 12px;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);

    flex-direction: column;
    gap: 0;
    display: none;
  }

  .nav a {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}