/* ================================
   Navbar
   ================================ */

.navbar {
  width: 100%;
  background: #000;
  color: #fff;
}

.navbar-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 107px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.logo img {
  width: auto;
  height: clamp(38px, 4vw, 51px);
  max-width: 171px;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  color: #e5e5e5;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

/* CTA Button */
.btn-outline {
  padding: 0.55rem 1.1rem;
  border: 1.5px solid #fff;
  border-radius: 35px;
  transition: all 0.2s ease;
  font-size: 13px;
  line-height: 25px;
  font-weight: 400;
  width: 147px;
  height: 45px;
  text-align: center;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  line-height: 0;
}

.menu-toggle__bar {
  display: block;
  width: 23px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
  pointer-events: none;
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 998;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(320px, 86vw);
  background: #000000;
  transform: translateX(110%);
  -webkit-transform: translateX(110%);
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  -webkit-transition: -webkit-transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  z-index: 999;
  padding: 60px 20px 24px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav__inner a {
  color: #ffffff;
  font-size: 16px;
  line-height: 22px;
}

.mobile-nav__inner a.btn-outline {
  border-radius: 0;
  border: none;
  padding: 0;
  text-align: left;
  height: auto;
}

body.mobile-nav-open {
  overflow: hidden;
}

body.mobile-nav-open .mobile-nav-overlay {
  opacity: 1;
  visibility: visible;
}

body.mobile-nav-open .mobile-nav {
  transform: translateX(0);
  -webkit-transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-cta {
  /* gap: 80px; */
  gap: 30px;
}

.nav-cta a:hover {
  color: #FAFF48;
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 992px) {
  .nav-cta {
    /* gap: 80px; */
    gap: 24px;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav,
  .mobile-nav-overlay {
    display: block;
  }

}