/* =====================================================
   MOBILE SLIDE NAV
===================================================== */

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(420px, 85%);
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  padding: 30px;
  transition: transform 0.45s ease;
  transform: translateX(0);
  overflow-y: auto;
}

/* open state */
.mobile-nav.open {
  transform: translateX(-100%);
}

/* =====================================================
   MOBILE HEADER
===================================================== */

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-header img {
  height: 32px;
}

.mobile-header span {
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
}

/* =====================================================
   MOBILE LINKS
===================================================== */

.mobile-links {
  margin-top: 45px;
  list-style: none;
  padding: 0;
}

.mobile-links li {
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

/* =====================================================
   MOBILE DROPDOWN
===================================================== */

.mobile-dropdown > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.mobile-dropdown > span::after {
  content: "+";
  font-size: 22px;
  transition: transform 0.3s ease;
}

.mobile-dropdown.open > span::after {
  content: "–";
}

.mobile-dropdown ul {
  display: none;
  padding-left: 15px;
  margin-top: 12px;
}

.mobile-dropdown.open ul {
  display: block;
}

.mobile-dropdown ul li {
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  color: #444;
}

/* =====================================================
   MOBILE CTA
===================================================== */

.mobile-cta {
  display: block;
  margin-top: 25px;
  background: #e4002b;
  color: #ffffff;
  text-align: center;
  padding: 14px;
  border-radius: 30px;
  font-weight: 600;
}

/* =====================================================
   BACKDROP
===================================================== */

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-backdrop.show {
  opacity: 1;
  pointer-events: all;
}

/* =====================================================
   HAMBURGER BUTTON
===================================================== */

/* ==========================================
   HAMBURGER → X ANIMATION
========================================== */
.mobile-toggle {
  width: 32px;
  height: 24px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 3000;
  position: fixed;
  top: 28px;
  right: 20px;
}

.mobile-toggle span {
  height: 3px;
  width: 100%;
  background: #111;
  border-radius: 3px;
  transition: 0.35s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}



/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {
  .mobile-toggle {
    display: flex;
  }
}
