/* =========================================================
           HEADER
        ========================================================= */

.site-header {
  position: fixed;

  top: 18px;
  left: 50%;

  transform: translateX(-50%);

  width: min(94%, 1380px);

  z-index: 1000;

  background: rgba(255, 255, 255, 0.88);

  backdrop-filter: blur(18px);

  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.9);

  border-radius: 18px;

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);

  transition:
    top 0.35s ease,
    box-shadow 0.35s ease;
}

.site-header.scrolled {
  top: 10px;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1);
}

.nav-container {
  min-height: 82px;

  padding: 0 26px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;
}

/* LOGO */

.logo {
  display: flex;

  align-items: center;

  perspective: 700px;

  flex-shrink: 0;
}

.logo img {
  width: 158px;

  height: auto;

  display: block;

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.logo:hover img {
  transform: rotateY(-8deg) translateY(-1px) scale(1.025);

  filter: drop-shadow(0 8px 15px rgba(0, 151, 165, 0.16));
}

/* DESKTOP NAV */

.desktop-nav {
  display: flex;

  align-items: center;

  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 11px 14px;
  color: #25282a;
  font-size: 16px;
  border-radius: 10px;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

.nav-link::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 5px;

  width: 0;
  height: 2px;

  border-radius: 20px;

  background: var(--teal);

  transform: translateX(-50%);

  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--teal);

  background: rgba(0, 151, 165, 0.06);

  transform: translateY(-1px);
}

.nav-link:hover::after {
  width: 18px;
}

/* HEADER CTA */

.nav-cta {
  min-height: 45px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--teal);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 151, 165, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-3px);

  background: var(--teal-dark);

  box-shadow: 0 14px 30px rgba(0, 151, 165, 0.28);
}

/* =========================================================
           MOBILE MENU
        ========================================================= */

.menu-toggle {
  width: 45px;
  height: 45px;

  display: none;

  align-items: center;
  justify-content: center;

  border: 1px solid var(--border);

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.8);

  cursor: pointer;
}

.menu-icon {
  width: 21px;
  height: 16px;

  position: relative;
}

.menu-icon span {
  position: absolute;

  left: 0;

  width: 100%;
  height: 2px;

  background: var(--charcoal);

  border-radius: 10px;

  transition: 0.3s ease;
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2) {
  top: 7px;
}

.menu-icon span:nth-child(3) {
  top: 14px;
}

.menu-toggle.active .menu-icon span:nth-child(1) {
  top: 7px;

  transform: rotate(45deg);
}

.menu-toggle.active .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-icon span:nth-child(3) {
  top: 7px;

  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;

  padding: 0 20px 20px;
}

.mobile-nav-inner {
  padding: 10px;

  border-radius: 15px;

  background: var(--off-white);

  border: 1px solid rgba(0, 151, 165, 0.08);
}

.mobile-link {
  display: block;

  padding: 14px 15px;

  color: var(--charcoal);

  font-size: 15px;

  font-weight: 600;

  border-radius: 10px;

  transition: 0.25s ease;
}

.mobile-link:hover {
  color: var(--teal);

  background: rgba(0, 151, 165, 0.07);

  transform: translateX(4px);
}

.mobile-cta {
  display: flex;

  min-height: 48px;

  margin-top: 8px;

  align-items: center;
  justify-content: center;

  color: white;

  background: var(--teal);

  border-radius: 11px;

  font-size: 14px;

  font-weight: 700;
}
@media (max-width: 991px) {
  .mobile-nav.active {
    display: block;
  }
}
