/* ==========================================================================
   HEADER COMPARTIDO — COLECTIVO DOBLE CARA
   Lo usan el landing y Eventos para que el header sea idéntico en ambos.
   Medidas en px (1rem del landing = 16px) para no depender del font-size
   base de cada página.
   ========================================================================== */

.navbar_wrap {
  --header-margin: clamp(16px, 2.5vw, 36px);
  --header-font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-mono: 'Space Mono', 'Suisse Mono', monospace;
  --header-ease: cubic-bezier(0.16, 1, 0.3, 1);

  z-index: 999;
  width: 100%;
  padding: var(--header-margin);
  position: fixed;
  inset: 0% 0% auto;
  pointer-events: none;
  background: transparent;
  font-family: var(--header-font);
  font-size: 16px;
  line-height: normal;
  color: #e8e8e3;
}

.navbar_contain {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  mix-blend-mode: difference;
  /* Se adapta solo a fondos claros y oscuros */
}

/* Izquierda: logo */
.navbar_left_contain {
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.navbar_home {
  display: flex;
  align-items: center;
  position: relative;
}

.navbar_home_logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.navbar_home:hover .navbar_home_logo {
  opacity: 0.75;
}

/* Centro: enlaces */
.navbar_links {
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.navbar_links_ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar_links_li {
  display: flex;
  position: relative;
}

.navbar_link {
  display: inline-flex;
  align-items: center;
  gap: 5.6px;
  padding: 8px 4px;
  font-size: 14.08px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.navbar_span.is-soon {
  font-family: var(--header-mono);
  font-size: 10.4px;
  color: #a3a097;
  transition: color 0.25s ease;
}

/* Subrayado: parte desde el medio hacia los lados (fijo en la página actual) */
.navbar_link::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.45s var(--header-ease);
}

.navbar_link:hover::before,
.navbar_link:focus-visible::before,
.navbar_link.is-active::before {
  transform: scaleX(1);
  transform-origin: center;
}

/* Derecha: botón Galería */
.navbar_cta_wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.navbar_cta_contain {
  display: flex;
}

.g_btn_main {
  display: inline-flex;
  align-items: center;
  gap: 10.4px;
  padding: 5.6px 5.6px 5.6px 12px;
  border-radius: 4px;
  background-color: #e5e5e3;
  color: #000000;
  font-size: 13.12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.g_btn_main:hover {
  background-color: #ffffff;
  opacity: 1;
}

.g_btn_main:active {
  transform: scale(0.97);
}

.g_btn_text_contain {
  position: relative;
  overflow: hidden;
  height: 1.25em;
  line-height: 1.25em;
  display: flex;
  align-items: center;
}

.g_btn_text {
  display: block;
  font-family: var(--header-font);
  font-size: 13.6px;
  font-weight: 600;
  color: #000000;
  transition: transform 0.4s var(--header-ease);
}

.g_btn_main:hover .g_btn_text {
  transform: translateY(-1.25em);
  text-shadow: 0px 1.25em 0px #000000;
}

.g_btn_aside_wrap {
  width: 23.2px;
  height: 23.2px;
  border-radius: 3px;
  background-color: #0d0d0c;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.g_btn_aside_bg {
  display: none;
}

.g_btn_svg {
  width: 11.2px;
  height: 11.2px;
  color: #ffffff;
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--header-ease);
}

.g_btn_svg.is-absolute {
  position: absolute;
  transform: translate(-100%, 100%);
}

.g_btn_main:hover .g_btn_svg:not(.is-absolute) {
  transform: translate(100%, -100%);
}

.g_btn_main:hover .g_btn_svg.is-absolute {
  transform: translate(0, 0);
}

/* Tablet y celular: se ocultan los enlaces (igual que el landing) */
@media screen and (max-width: 991px) {
  .navbar_links {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .g_btn_main {
    padding: 5.6px 7.2px 5.6px 13.6px;
    font-size: 12.48px;
  }
}
