/* HEADER — estilos propios y responsive */
.site-header {
  & {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(16, 16, 27, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
  }

  & .header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  & .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 750;
    white-space: nowrap;
  }

  & .brand img {
    object-fit: contain;
    border-radius: 10px;
  }

  & .brand strong {
    color: #a879f8;
  }

  & .site-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
  }

  & .site-nav a {
    font-size: 0.84rem;
    color: #d9d7e4;
  }

  & .site-nav a:hover {
    color: #c5a5ff;
  }

  & .site-nav .nav-contact {
    border: 1px solid #74559d;
    padding: 9px 15px;
    border-radius: 999px;
    color: #fff;
  }

  & .menu-toggle {
    display: none;
  }

  @media (max-width: 900px) {
    & .menu-toggle {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 44px;
      height: 44px;
      border: 1px solid #6b577b;
      border-radius: 10px;
      background: transparent;
      cursor: pointer;
    }
    & .menu-toggle span {
      display: block;
      height: 2px;
      width: 20px;
      background: #fff;
      margin-inline: auto;
    }
    & .site-nav {
      display: none;
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      background: #161322;
      padding: 22px max(20px, calc((100vw - 1160px) / 2));
      flex-direction: column;
      align-items: stretch;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
    & .site-nav.is-open {
      display: flex;
    }
    & .site-nav a {
      padding: 8px 0;
    }
  }
}
