.site-layout {
  min-width: 0;
}

.site-header {
  position: relative;
  z-index: 100;
  height: 94px;
  min-width: 1078px;
  background: #cc0000;
  overflow: hidden;
}

.site-header__inner {
  width: min(1078px, calc(100% - 32px));
  max-width: 1078px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 18px);
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-brand {
  width: 129px;
  flex: 0 0 129px;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.site-brand img {
  width: 129px;
  height: 47px;
  display: block;
  object-fit: cover;
  transform: translateY(-1px);
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 35px);
  min-width: 0;
}

.site-nav a {
  font-family: poppins-semibold, poppins, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.75px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
  min-height: 39px;
  padding: 8px 0;
  transition: color 0.2s ease;
  border-radius: 999px;
}

.site-nav a::before {
  content: "";
  position: absolute;
  inset: 0 5px;
  border-radius: 999px;
  background: transparent;
  transition: background-color 0.2s ease;
  pointer-events: none;
  z-index: -1;
}

.site-nav a:hover::before {
  background: #ffffff;
}

.site-nav a.is-active::before {
  background: rgba(255, 255, 255);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #c62828;
}

@media (min-width: 1200px) {
  .site-header__inner {
    padding-right: 0;
  }
}

@media (max-width: 1024px) {
  .site-header {
    height: 94px;
    min-height: 94px;
  }

  .site-header__inner {
    width: 1078px;
    height: 100%;
    padding: 0 clamp(12px, 2vw, 18px);
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
  }

  .site-brand {
    width: 129px;
    flex: 0 0 129px;
  }

  .site-brand img {
    width: 129px;
    height: 47px;
  }

  .site-nav {
    width: auto;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(10px, 1.8vw, 35px);
  }

  .site-nav a {
    min-height: 39px;
    padding: 8px 0;
    font-size: 15px;
    letter-spacing: 0.75px;
  }
}

@media (max-width: 1080px) {
  .site-header {
    width: 100%;
    min-width: 0;
  }

  .site-header__inner {
    width: min(100%, 980px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: auto;
    min-height: 128px;
    overflow: visible;
  }

  .site-header__inner {
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 12px 16px 14px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px 14px;
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }

  .site-nav a {
    min-height: 32px;
    padding: 7px 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.15;
    letter-spacing: 0.2px;
    text-align: center;
    white-space: normal;
  }
}

@media (min-width: 1181px) {
  .site-brand {
    transform: translateX(-33px);
  }

  .site-nav {
    gap: 0;
    width: 609px;
    justify-content: flex-start;
    transform: translateX(129px);
  }

  .site-nav a:nth-child(1),
  .site-nav a:nth-child(4) {
    width: 168px;
  }

  .site-nav a:nth-child(2) {
    width: 75px;
  }

  .site-nav a:nth-child(3) {
    width: 198px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    width: 100%;
    min-width: 0;
    height: 94px;
    min-height: 94px;
    max-height: 94px;
    padding: 0;
    overflow: hidden;
  }

  .site-header__inner {
    width: 1110px;
    max-width: none;
    height: 94px;
    min-height: 94px;
    margin: 0;
    padding: 0;
    display: flex;
    grid-template-columns: none;
    align-items: center;
    gap: 0;
    position: relative;
    left: calc((100vw - 1110px) / 2 + 1px);
  }

  .site-brand {
    width: 129px;
    flex: 0 0 129px;
    transform: none;
    justify-self: auto;
  }

  .site-brand img {
    width: 129px;
    height: 47px;
    object-fit: cover;
  }

  .site-nav {
    grid-column: auto;
    width: 609px;
    flex: 0 0 609px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    margin-left: 190px;
    transform: none;
  }

  .site-nav a {
    min-height: 39px;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.75px;
    text-align: center;
  }

  .site-nav a:nth-child(1),
  .site-nav a:nth-child(2),
  .site-nav a:nth-child(3),
  .site-nav a:nth-child(4) {
    width: auto;
  }
}

@media (max-width: 980px) {
  .site-header__inner {
    left: -64px;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .site-header__inner {
    left: 0;
    width: 100%;
    padding: 0 28px;
  }

  .site-nav {
    width: auto;
    max-width: 540px;
    flex: 1 1 540px;
    justify-content: space-between;
    gap: clamp(10px, 2vw, 28px);
    margin-left: clamp(28px, 5vw, 56px);
  }

  .site-nav a {
    width: auto;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 128px;
    max-height: none;
    overflow: visible;
  }

  .site-header__inner {
    left: auto;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 12px 16px 14px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px 14px;
  }

  .site-brand {
    width: 112px;
    flex: 0 0 auto;
  }

  .site-brand img {
    width: 112px;
    height: auto;
    object-fit: contain;
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    flex: 0 1 auto;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }

  .site-nav a,
  .site-nav a:nth-child(1),
  .site-nav a:nth-child(2),
  .site-nav a:nth-child(3),
  .site-nav a:nth-child(4) {
    width: auto;
    min-height: 32px;
    padding: 7px 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.15;
    letter-spacing: 0.2px;
    text-align: center;
    white-space: normal;
  }

  .site-nav a::before {
    inset: 0;
  }
}


@media (min-width: 901px) {
  .site-header__inner {
    position: relative;
  }

  .site-header .site-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    white-space: nowrap;
  }

  .site-header .site-nav a {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto !important;
    min-width: max-content;
    min-height: 40px;
    padding: 0 18px !important;
    border: 0;
    border-radius: 999px !important;
    background: transparent !important;
    color: #fff !important;
    line-height: 1;
    white-space: nowrap !important;
    text-decoration: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    transition:
      background-color 180ms ease,
      color 180ms ease,
      transform 180ms ease;
  }

  .site-header .site-nav a::before,
  .site-header .site-nav a::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .site-header .site-nav a:hover,
  .site-header .site-nav a:focus-visible,
  .site-header .site-nav a.is-active {
    background: #fff !important;
    color: #d90000 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transform: translateY(-1px);
  }

  .site-header .site-nav a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
  }
}

.site-header__toggle {
  display: none;
}

@media (max-width: 760px) {
  .site-header {
    height: auto;
    min-height: 0;
  }

  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
  }

  .site-header__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .site-header__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header .site-nav {
    display: none;
    grid-column: auto;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 14px 16px 18px;
    background: #cc0000;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.28);
  }

  .site-header .site-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }
}

