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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;

  padding: 16px 0;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, .92),
      rgba(0, 0, 0, .46)
    );

  border-bottom: 1px solid rgba(255, 255, 255, .10);

  backdrop-filter: blur(20px);

  box-shadow:
    0 18px 50px rgba(0, 0, 0, .28);
}


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

.nav {
  min-height: 68px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 22px;
}


/* =========================
   BRAND
========================= */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;

  flex: 0 0 auto;

  font-weight: 900;

  letter-spacing: .14em;
}

.brand img {
  width: 62px;

  filter:
    drop-shadow(0 0 18px rgba(225, 6, 0, .28))
    drop-shadow(0 0 6px rgba(255, 255, 255, .06));
}

.brand span {

  color: #ffffff;

  font-size: 15px;
  font-weight: 900;

  letter-spacing: .22em;

  text-shadow:
    0 0 16px rgba(255, 255, 255, .10);
}


/* =========================
   NAV LINKS WRAPPER
========================= */

.nav-links {

  display: flex;
  align-items: center;

  gap: 8px;

  padding: 8px;

  border: 1px solid rgba(255, 255, 255, .10);

  border-radius: 999px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .07),
      rgba(255, 255, 255, .025)
    );

  backdrop-filter: blur(16px);

  box-shadow:
    0 10px 26px rgba(0, 0, 0, .20),
    inset 0 1px 0 rgba(255, 255, 255, .04);
}


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

.nav-links a {

  position: relative;

  padding: 13px 18px;

  border-radius: 999px;

  color: rgba(255, 255, 255, .96);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: .08em;

  text-transform: uppercase;

  transition:
    color .25s ease,
    background .25s ease,
    transform .25s ease;
}


/* =========================
   LINEA INFERIOR
========================= */

.nav-links a::before {

  content: "";

  position: absolute;

  left: 16px;
  right: 16px;
  bottom: 7px;

  height: 2px;

  border-radius: 999px;

  background: #ff2a2a;

  transform: scaleX(0);
  transform-origin: center;

  transition: transform .25s ease;
}


/* =========================
   HOVER SIMPLE PROFESIONAL
========================= */

.nav-links a:hover {

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      rgba(225, 6, 0, .20),
      rgba(225, 6, 0, .08)
    );

  transform: translateY(-1px);

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.nav-links a:hover::before {
  transform: scaleX(1);
}


/* =========================
   ACTIVE LINK
========================= */

.nav-links a.active {

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      rgba(225, 6, 0, .28),
      rgba(225, 6, 0, .12)
    );

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.nav-links a.active::before {
  transform: scaleX(1);
}


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

.header-cta {

  position: relative;

  isolation: isolate;
  overflow: hidden;

  height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 0 15px 0 18px;

  border-radius: 999px;

  color: #ffffff;

  font-size: 11px;
  font-weight: 900;

  letter-spacing: .07em;

  text-transform: uppercase;

  white-space: nowrap;

  background:
    linear-gradient(
      135deg,
      #ff2a2a 0%,
      #e10600 45%,
      #7d0000 100%
    );

  border: 1px solid rgba(255, 255, 255, .18);

  box-shadow:
    0 14px 34px rgba(225, 6, 0, .34);

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.header-cta::after {

  content: "";

  position: absolute;

  top: 0;
  left: -120%;

  width: 70%;
  height: 100%;

  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(255, 255, 255, .38),
      transparent
    );

  transform: skewX(-22deg);

  transition: left .65s ease;
}

.header-cta:hover {

  transform:
    translateY(-3px)
    scale(1.01);

  box-shadow:
    0 18px 44px rgba(225, 6, 0, .46);
}

.header-cta:hover::after {
  left: 135%;
}


/* =========================
   CTA ICON
========================= */

.header-cta strong {

  width: 22px;
  height: 22px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  font-size: 12px;

  background: rgba(255, 255, 255, .16);
}


/* =========================
   MOBILE MENU
========================= */

.menu-toggle {
  display: none;
}


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

@media (max-width: 980px) {

  .nav-links,
  .header-cta {
    display: none;
  }

  .menu-toggle {

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, .14);

    border-radius: 14px;

    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, .08),
        rgba(255, 255, 255, .03)
      );

    backdrop-filter: blur(12px);

    box-shadow:
      0 10px 24px rgba(0, 0, 0, .22);
  }

  .menu-toggle span {

    width: 22px;
    height: 2px;

    background: #ffffff;
  }

}