/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(255,255,255,0);
  transition: all 0.32s ease;
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1200px;
  height: 72px;
  margin: 0 auto;
  padding: 0 clamp(18px,4vw,32px);
  position: relative;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #DDE5F5;
  box-shadow: 0 2px 16px rgba(15,23,42,0.06);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 46px;
  width: auto;
}

.logo-text {
  font-family: 'Outfit',sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: 0;
}

.logo-accent {
  color: #2952E3;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 auto;
}

.navbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: 'Inter',sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.navbar-links a:hover {
  color: #0F172A;
  background: rgba(15,23,42,0.05);
}

.navbar-links a.active {
  color: #2952E3;
  background: rgba(41,82,227,0.06);
}

@media (min-width: 769px) and (max-width: 1100px) {
  .navbar-inner { gap: 14px; padding-inline: 20px; }
  .navbar-links a { padding-inline: 7px; font-size: 13px; }
}

.navbar-cta {
  flex-shrink: 0;
}

.navbar-cta .btn-primary {
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg,#5A9EFF 0%,#2952E3 58%,#1A3AAF 100%);
  box-shadow: none !important;
}

.navbar-cta .btn-primary:hover {
  background: linear-gradient(135deg,#6CA8FF 0%,#3563EC 58%,#1938A7 100%);
  box-shadow: none !important;
  transform: none;
}

.navbar-cta .btn-primary svg {
  flex: 0 0 auto;
}

.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 1002; /* Always above both backdrop and menu */
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hamburger:hover {
  background: rgba(15,23,42,0.04);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #0F172A;
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
  transform-origin: center;
}

.hamburger.open {
  background: transparent;
}

.hamburger.open span {
  background: #0F172A;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ── NAV BACKDROP (freeze effect) ── */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .nav-backdrop {
    display: block;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .navbar-inner {
    height: 70px;
    padding-left: clamp(16px,5vw,24px);
    padding-right: clamp(16px,5vw,24px);
    gap: 14px;
  }

  .navbar-logo img {
    height: 40px;
  }

  .logo-text {
    font-size: 1.04rem;
  }

  .navbar-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .navbar-links.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .navbar-links li {
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .navbar-links.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar-links.open li:nth-child(1) { transition-delay: 0.1s; }
  .navbar-links.open li:nth-child(2) { transition-delay: 0.15s; }
  .navbar-links.open li:nth-child(3) { transition-delay: 0.2s; }
  .navbar-links.open li:nth-child(4) { transition-delay: 0.25s; }
  .navbar-links.open li:nth-child(5) { transition-delay: 0.3s; }
  .navbar-links.open li:nth-child(6) { transition-delay: 0.35s; }
  .navbar-links.open li:nth-child(7) { transition-delay: 0.4s; }

  .navbar-links a {
    width: auto;
    justify-content: center;
    text-align: center;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #64748B;
    background: transparent !important;
    box-shadow: none !important;
    transition: color 0.2s ease;
  }

  .navbar-links a:hover,
  .navbar-links a.active {
    color: #0F172A;
  }

  .navbar-cta .btn {
    display: none;
  }

}

@media (max-width: 480px) {
  .navbar-inner {
    height: 76px;
    padding-left: 18px;
    padding-right: 18px;
  }



}

body:not(.page-customer-care-call) main {
  padding: 72px 0 0;
}

body:not(.page-customer-care-call) .footer {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 768px) {
  body:not(.page-customer-care-call) main {
    padding-top: 70px;
  }
}

@media (max-width: 480px) {
  body:not(.page-customer-care-call) main {
    padding-top: 76px;
  }
}
