/* Responsive Breakpoints & Viewport Optimizations */

/* Mobile Navigation Drawer Styles (Global Base Styles for Drawer) */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9990;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: #fff8f2;
  border-left: 2px solid rgba(140, 18, 53, 0.15);
  z-index: 9999;
  transform: translateX(110%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -12px 0 60px rgba(18, 15, 12, 0.2);
  display: flex;
  flex-direction: column;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(18, 15, 12, 0.08);
  background: #fff8f2;
  position: sticky;
  top: 0;
  z-index: 2;
}

.drawer-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #120f0c;
  letter-spacing: -0.01em;
}

.drawer-logo .logo-accent {
  color: var(--color-wine);
}

.drawer-close {
  background: none;
  border: 1px solid rgba(18, 15, 12, 0.15);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: #120f0c;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.drawer-close:hover {
  background: rgba(140, 18, 53, 0.05);
}

.drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  flex: 1;
}

.drawer-item {
  border-bottom: 1px solid rgba(18, 15, 12, 0.07);
  margin: 0;
}

.drawer-link {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #5d5650;
  transition: color 0.2s;
}

.drawer-link:hover,
.drawer-link.active {
  color: var(--color-wine);
}

.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(18, 15, 12, 0.08);
}

.drawer-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #25d366, #1da851);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1rem;
  border-radius: 99px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.drawer-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}

/* Medium Laptops & Large Tablets (1024px and below) */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none !important;
  }
  .nav-toggle {
    display: flex !important;
  }
  
  /* Animated Hamburger Menu Button */
  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-v2 {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
    padding-top: 2rem;
  }
  .hero-eyebrow {
    justify-content: center;
  }
  .hero-eyebrow::before {
    display: none;
  }
  .hero-badges {
    justify-content: center;
  }
  .hero-actions-v2 {
    justify-content: center;
  }
  .hero-video-container {
    max-width: 480px;
    margin: 0 auto;
  }
  .ba-grid {
    gap: 2rem;
  }
  .projects-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .creator-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .creator-img {
    max-width: 380px;
    margin: 0 auto;
  }
  .creator-info {
    align-items: center;
  }
  .steps-container {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .benefits-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

/* Small Tablets & Portrait iPads (768px and below) */
@media (max-width: 768px) {
  .new-home {
    gap: 6rem;
    padding-bottom: 6rem;
    padding-top: 5.5rem;
  }
  .section-heading {
    margin-bottom: 3rem;
  }
  .ba-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .ba-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
  .testi-card {
    width: 290px;
    padding: 2rem;
  }
  .testi-card p {
    font-size: 1.1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  .footer-right {
    align-items: center;
    text-align: center;
  }
  .footer-desc {
    margin: 0 auto;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .wa-cta-banner {
    padding: 4.5rem 0 4rem;
  }
  .wa-cta-title {
    font-size: 2rem;
  }
  .wa-cta-actions {
    flex-direction: column;
    gap: 1.25rem;
  }
  .wa-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
  .new-home {
    gap: 5rem;
    padding-bottom: 5rem;
    padding-top: 5rem;
  }
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .navbar {
    height: 70px;
  }
  .logo {
    font-size: 1.35rem;
  }
  .hero-v2-content .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .hero-video-container {
    padding: 0.85rem;
    border-radius: 8px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .steps-container {
    grid-template-columns: 1fr;
  }
  .benefits-list {
    grid-template-columns: 1fr;
  }
  .benefits-list li {
    padding: 2.25rem 1.25rem 2rem;
  }
  .faq-q {
    font-size: 1.05rem;
  }
  .faq-a {
    font-size: 0.88rem;
    padding-right: 1rem;
  }
  .btn-wa-hero {
    width: 100%;
  }
  .btn-luxury {
    width: 100%;
  }
}

/* Custom Cursor Auto-Hide on Touch Devices */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor, .custom-cursor-dot {
    display: none !important;
  }
}
