.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: rgba(8, 8, 8, .97);
  border-top: 5px solid #4d372c;
  backdrop-filter: blur(16px);
}

.top-contact-bar {
  color: #d7d7d7;
  background: #151515;
  border-bottom: 1px solid #292929;
}

.top-contact-inner {
  display: flex;
  width: min(1390px, calc(100% - 64px));
  min-height: 34px;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin: auto;
  font-size: 10px;
}

.top-contact-inner a,
.top-contact-inner span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.top-contact-inner a:hover {
  color: #fff;
}

.top-contact-inner i {
  color: var(--red);
}

.nav-wrap {
  width: min(1390px, calc(100% - 64px));
  min-height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-word {
  color: #fff;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -1.7px;
}

.brand-word span {
  color: var(--red);
}

.brand-mark {
  position: relative;
  display: block;
  width: 29px;
  height: 32px;
}

.brand-mark:before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 29px;
  height: 18px;
  content: "";
  background: var(--red);
  border-radius: 100% 0 100% 0;
  transform: skewY(-15deg) rotate(-7deg);
}

.brand-mark:after {
  position: absolute;
  top: 19px;
  left: 2px;
  width: 21px;
  height: 7px;
  content: "";
  border-top: 3px solid var(--red);
  border-radius: 100% 0 0 0;
  transform: rotate(-12deg);
}

.brand-mark span {
  position: absolute;
  top: 24px;
  left: 4px;
  width: 13px;
  height: 3px;
  background: #fff;
  transform: rotate(-14deg);
}

.brand-mark i {
  display: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: 12px;
}

.nav-link {
  position: relative;
  color: #d7d7d7;
  font-size: 14px;
  font-weight: 600;
  transition: color .2s;
}

.nav-link:after {
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transition: width .25s;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

.chevron {
  margin-left: 3px;
  font-size: 18px;
}

.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown::after {
  position: absolute;
  top: 100%;
  left: -24px;
  width: 370px;
  height: 18px;
  content: "";
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  font-family: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.dropdown-toggle:focus-visible,
.nav-link:focus-visible,
.services-dropdown a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}

.dropdown-toggle .chevron {
  font-size: 11px;
  transition: transform .2s ease;
}

.nav-item-dropdown:hover .dropdown-toggle .chevron,
.nav-item-dropdown:focus-within .dropdown-toggle .chevron,
.nav-item-dropdown.is-open .dropdown-toggle .chevron {
  transform: rotate(180deg);
}

.services-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -24px;
  z-index: 60;
  width: 370px;
  padding: 17px;
  color: #fff;
  background: #101010;
  border: 1px solid #303030;
  box-shadow: 0 20px 55px #0009;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.nav-item-dropdown:hover .services-dropdown,
.nav-item-dropdown:focus-within .services-dropdown,
.nav-item-dropdown.is-open .services-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 4px 12px;
  border-bottom: 1px solid #2c2c2c;
}

.dropdown-heading > span {
  color: #8c8c8c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.dropdown-heading > a {
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
}

.dropdown-heading > a i {
  margin-left: 4px;
  transition: transform .2s ease;
}

.dropdown-heading > a:hover i {
  transform: translateX(3px);
}

.dropdown-service-list {
  display: grid;
  gap: 3px;
  padding-top: 8px;
}

.dropdown-service {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 11px;
  padding: 9px 7px;
  transition: background .2s ease, color .2s ease;
}

.dropdown-service:hover {
  background: #1c1c1c;
}

.dropdown-service-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--red);
  font-size: 14px;
  background: #f0182d16;
}

.dropdown-service-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.dropdown-service-copy strong {
  overflow: hidden;
  color: #f4f4f4;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-service-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: #929292;
  font-size: 9px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.dropdown-service-arrow {
  color: #666;
  font-size: 10px;
  transition: color .2s ease, transform .2s ease;
}

.dropdown-service:hover .dropdown-service-arrow {
  color: var(--lime);
  transform: translateX(3px);
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-left: auto;
}

.nav-socials a {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #e2e2e2;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 1px solid #525252;
  border-radius: 50%;
  transition: .2s;
}

.nav-socials a:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
}

.nav-socials a svg {
  display: block;
  width: 14px;
  height: 14px;
}

.nav-socials .social-letter {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.nav-socials .social-x {
  font-size: 14px;
}

.nav-socials a i {
  display: inline-block;
  font-family: "Font Awesome 6 Brands";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.menu-toggle {
  display: none;
  color: #fff;
  background: none;
  border: 0;
}

@media (max-width: 1050px) {
  .nav-wrap {
    gap: 25px;
  }

  .main-nav {
    gap: 22px;
  }

  .nav-socials {
    gap: 9px;
  }
}

@media (max-width: 820px) {
  .top-contact-inner {
    width: calc(100% - 40px);
    justify-content: center;
    gap: 18px;
  }

  .top-contact-inner > span {
    display: none;
  }

  .nav-wrap {
    width: calc(100% - 40px);
    min-height: 75px;
    justify-content: space-between;
  }

  .brand-logo {
    height: 42px;
    max-width: 190px;
  }

  .brand-word {
    font-size: 26px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-left: auto;
    cursor: pointer;
  }

  .menu-toggle i {
    font-size: 22px;
  }

  .menu-toggle .menu-close,
  .menu-toggle[aria-expanded=true] .menu-bars {
    display: none;
  }

  .menu-toggle[aria-expanded=true] .menu-close {
    display: inline-block;
  }

  .main-nav {
    position: fixed;
    inset: 109px 0 auto;
    z-index: 49;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
    padding: 22px 25px 28px;
    background: #090909;
    border-top: 1px solid #292929;
    opacity: 0;
    transform: translateY(-130%);
    transition: transform .3s, opacity .3s;
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-item-dropdown {
    width: 100%;
  }

  .nav-item-dropdown::after {
    display: none;
  }

  .dropdown-toggle {
    min-height: 28px;
  }

  .services-dropdown {
    position: static;
    display: none;
    width: 100%;
    max-height: min(52vh, 360px);
    margin-top: 12px;
    padding: 12px;
    overflow-y: auto;
    background: #111;
    border-color: #292929;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item-dropdown.is-open .services-dropdown {
    display: block;
  }

  .dropdown-service {
    grid-template-columns: 32px minmax(0, 1fr) 12px;
    gap: 9px;
    padding: 8px 5px;
  }

  .dropdown-service-icon {
    width: 30px;
    height: 30px;
  }

  .nav-socials {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .top-contact-inner {
    width: calc(100% - 24px);
    min-height: 30px;
    justify-content: space-between;
    gap: 10px;
    font-size: 9px;
  }

  .top-contact-inner a {
    gap: 5px;
  }

  .nav-wrap {
    width: calc(100% - 36px);
    min-height: 70px;
  }

  .site-header {
    border-top-width: 3px;
  }

  .brand-logo {
    height: 38px;
    max-width: 165px;
  }

  .nav-socials {
    display: none;
  }

  .main-nav {
    inset: 100px 0 auto;
  }
}
