/* ==========================================================================
   DREAM WEB STUDIOS — RESPONSIVE MEDIA QUERIES
   Breakpoints: 1280px, 1024px, 768px, 480px, 360px
   Zero Horizontal Overflow Guarantee
   ========================================================================== */

/* Large Desktop (1280px and below) */
@media (max-width: 1280px) {
  .mega-menu {
    width: 900px;
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 2rem;
  }
}

/* Tablet Landscape & Small Desktop (1024px and below) */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .header-cta {
    display: none; /* Accessible in mobile drawer */
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual-card {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .differentiator-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .footer-brand-info {
    grid-column: span 2;
    padding-right: 0;
  }

  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Mobile & Tablet Portrait (768px and below) */
@media (max-width: 768px) {
  .section-pad {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .differentiator-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-badge {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand-info {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .pricing-card.featured {
    order: -1; /* Highlight feature package on mobile first */
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .site-header {
    height: 68px;
  }

  .brand-text-name {
    font-size: 1.05rem;
  }

  .brand-text-sub {
    font-size: 0.6rem;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .card {
    padding: 1.25rem;
  }

  .pill-label {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  .pricing-amount {
    font-size: 2.15rem;
  }

  .faq-question-btn {
    padding: 1rem 1.15rem;
    font-size: 1rem;
  }

  .faq-answer-inner {
    padding: 0 1.15rem 1.15rem 1.15rem;
  }
}

/* Ultra-compact Mobile (360px and below) */
@media (max-width: 360px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-logo {
    gap: 0.5rem;
  }

  .brand-symbol {
    width: 38px;
    height: 38px;
    font-size: 0 !important;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}
