/* ── HEADER ─────────────────────────────────────────────── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 56px;
  background: var(--color-white);
  border-bottom: 1px solid #e8e8e8;
  position: relative;
  z-index: 1;
}

.header__nav {
  display: flex;
  gap: 36px;
}

.header__nav a {
  font-family: var(--font-main);
  font-size: 12.5px;
  font-weight: 500;
  color: #2c2c2c;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.header__nav a:hover {
  color: var(--color-primary);
}

.header__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header__logo-img {
  height: 46px;
  width: auto;
  display: block;
}

.header__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  padding: 7px 18px;
  border-radius: 3px;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  border: 1.5px solid;
}

.btn--outline {
  border-color: #2c2c2c;
  background: transparent;
  color: #2c2c2c;
}

.btn--outline:hover {
  background: #2c2c2c;
  color: var(--color-white);
}

.btn--primary {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: #0d1b3e;
  border-color: #0d1b3e;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .header {
    padding: 0 16px;
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    justify-content: space-between;
  }
  .header__nav {
    display: none; /* ocultar nav en móvil — los links están en el footer */
  }
  .header__logo {
    position: relative;
    left: auto;
    transform: none;
    order: 1;
  }
  .header__actions {
    order: 2;
    gap: 8px;
  }
  .btn { padding: 7px 14px; font-size: 12px; }
}

@media (max-width: 480px) {
  /* Mostrar ambos botones siempre */
  .header__actions .btn--outline { display: inline-flex; }
  .header__actions { gap: 6px; }
  .btn { padding: 6px 10px; font-size: 11px; }
}
