/* ==========================================================================
   layout.css — estructura del header (escritorio primero)
   ========================================================================== */

.container {
  width: min(1200px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- Fila 1: barra de confianza (ancho completo) ---------- */

.site-header {
  position: relative; /* en celular no se queda fijo; en tablet y PC se activa "sticky" en responsive.css */
  z-index: 100;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.topbar {
  width: 100%;
  background: linear-gradient(90deg, var(--color-black) 0%, #2a0508 50%, var(--color-red-dark) 100%);
  color: var(--color-white);
}

.topbar__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 10px var(--gutter);
  gap: 8px 16px;
}

.topbar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
}

/* Íconos de la barra superior: tamaño fijo y solo contorno */
.topbar__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Fila 2: logo · menú · botones ---------- */

.navbar {
  position: relative; /* ancla del menú desplegable en móvil */
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.brand__name {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.brand__accent {
  color: var(--color-red);
}

.brand__sub {
  margin-top: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gray);
}

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

.nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* El botón hamburguesa solo aparece en pantallas pequeñas (ver responsive.css) */
.menu-toggle {
  display: none;
}
