.site-header {
  position: relative;
  z-index: 10;
  padding: 10px 0;
  background: var(--azul-oscuro);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__container {
  width: min(1120px, 90%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-header__logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-header__logo-image {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(22, 131, 255, 0.2));
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.site-header__logo:hover .site-header__logo-image {
  transform: scale(1.05);
  filter: drop-shadow(0 0 14px rgba(22, 131, 255, 0.4));
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-header__nav a {
  position: relative;
  color: var(--blanco);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}
.site-header__nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--azul-brillante);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.site-header__nav a:hover {
  color: var(--azul-brillante);
}
.site-header__nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__menu-button,
.site-header__mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  .site-header__logo-image {
    width: 100px;
    height: 100px;
  }

  .site-header__mobile-menu {
    top: 100px;
    min-height: calc(100dvh - 100px);
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 100px;
    padding: 0;
  }

  .site-header__container {
    position: relative;
    z-index: 1002;
    width: min(1120px, calc(100% - 28px));
    height: 100%;
    flex-direction: row;
    gap: 24px;
  }

  .site-header__logo {
    font-size: 32px;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__menu-button {
    position: relative;
    z-index: 1003;
    display: flex;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }

  .site-header__menu-button span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--blanco);
    border-radius: 999px;
    transition:
      transform 0.25s ease,
      background-color 0.25s ease;
  }

  .site-header__menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .site-header__menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .site-header__mobile-menu {
    position: fixed;
    z-index: 1001;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 28px 20px 48px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: var(--azul-oscuro);
    transform: translateY(-16px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
  }

  .site-header__mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header__mobile-nav {
    display: flex;
    width: min(100%, 520px);
    margin: 20% auto;
    flex-direction: column;
  }

  .site-header__mobile-link {
    padding: 20px 4px;
    color: var(--blanco);
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(28px, 8vw, 36px);
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition:
      color 0.25s ease,
      padding-left 0.25s ease;
  }

  .site-header__mobile-link:hover {
    padding-left: 10px;
    color: var(--azul-brillante);
  }

  .site-header__mobile-cta {
    display: flex;
    min-height: 54px;
    margin-top: 32px;
    padding: 0 24px;
    color: var(--blanco);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    background: var(--azul-brillante);
    border-radius: 999px;
    align-items: center;
    justify-content: center;
  }

  body.srgarage-menu-open {
    overflow: hidden;
  }
}
