/* ==========================================================================
   DIVY BEAT — RESPONSIVE.CSS
   Mobile-first responsive overrides
   Breakpoints: 1024px (tablet), 768px (mobile), 480px (small phone)
   ========================================================================== */

/* ── Desktop (1024–1200px) ── */
@media (max-width: 1200px) {
  .hero-title { font-size: 46px; }
  .hero-inner { gap: 40px; }
  .hero-logo-large { width: 240px; }
  .hero-logo-ring::before { width: 360px; height: 360px; }
  .hero-logo-ring::after { width: 280px; height: 280px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

/* ── Tablet (768px–1024px) ── */
@media (max-width: 1024px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 38px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual-col { order: -1; }

  .hero-logo-large { width: 200px; }
  .hero-logo-ring::before { width: 300px; height: 300px; }
  .hero-logo-ring::after { width: 230px; height: 230px; }

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

  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: flex; }

  .payment-box { grid-template-columns: 1fr; gap: 28px; }
  .payment-heading { font-size: 28px; }

  .section-title { font-size: 28px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .calc-grid { grid-template-columns: 1fr; }
  .calc-summary { order: -1; }

  .player-console { grid-template-columns: 1fr; }
  .tracklist-col { margin-top: -10px; }
  .tracklist-wrap { max-height: 200px; }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-grid > div:nth-child(1) { grid-column: 1 / -1; }

  .mobile-bar { display: block; }
  .asst-wrapper { bottom: 84px; }
  .toaster { bottom: 84px; }
}

/* ── Mobile (< 768px) ── */
@media (max-width: 768px) {
  html { font-size: 14px; }

  /* Top bar */
  .top-bar-inner { justify-content: center; }
  .top-bar-policy { font-size: 10px; }

  /* Header */
  .header-inner { height: 68px; }
  .brand-logo-img { height: 52px; }
  .btn-wa-header { display: none; }
  .btn-ig-header { display: none; }

  /* Hero */
  .hero-section { padding: 60px 0 50px; }
  .hero-title { font-size: 30px; }
  .hero-tagline { font-size: 17px; }
  .hero-sub { font-size: 14px; }
  .hero-logo-large { width: 170px; }
  .hero-logo-ring::before { width: 250px; height: 250px; }
  .hero-logo-ring::after { width: 195px; height: 195px; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 36px;
    padding-top: 24px;
    gap: 12px;
  }
  .hero-stat-num { font-size: 24px; }

  .hero-book-card { padding: 20px 18px; }

  /* Payment */
  .payment-box { padding: 28px 22px; gap: 24px; }
  .payment-heading { font-size: 26px; }
  .payment-stages { grid-template-columns: 1fr; }
  .payment-db-monogram { font-size: 64px; }

  /* Services */
  .services-section { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 22px 18px; }

  /* Calculator */
  .calculator-section { padding: 60px 0; }
  .calc-grid { padding: 24px 18px; }

  /* Player */
  .player-section { padding: 60px 0; }
  .player-console { padding: 22px 18px; }
  .active-track-name { font-size: 20px; }

  /* Workflow */
  .workflow-section { padding: 60px 0; }
  .workflow-grid { grid-template-columns: 1fr; }

  /* IG banner */
  .ig-banner-section { padding: 20px 0 60px; }
  .ig-banner-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }
  .ig-banner-left { flex-direction: column; }
  .ig-text p { font-size: 13px; }
  .ig-text h3 { font-size: 18px; }
  .ig-logo-badge { width: 60px; height: 60px; font-size: 28px; }

  /* FAQ */
  .faq-section { padding: 60px 0; }
  .faq-question-text { font-size: 13.5px; }

  /* Contact */
  .contact-section { padding: 60px 0; }
  .contact-info-card { padding: 22px 18px; }
  .contact-form-card { padding: 22px 18px; }

  /* Footer */
  .site-footer { padding: 40px 0 100px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  /* Widget */
  .asst-wrapper { right: 14px; bottom: 88px; }
  .asst-panel { width: 280px; }

  /* Toast */
  .toaster {
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: 88px;
  }

  /* Wizard */
  .wizard-card { max-height: 95vh; }
  .wizard-head { padding: 16px 20px; }
  .wizard-body { padding: 20px; }
  .wizard-steps { padding: 12px 16px; gap: 0; }
  .wiz-step span.step-label { display: none; }
  .wiz-actions { flex-direction: column-reverse; }
  .btn-wiz-back, .btn-wiz-next { width: 100%; justify-content: center; }

  /* Mobile bar */
  .mobile-bar { display: block; }
  .mobile-bar-inner { gap: 8px; }
}

/* ── Small phone (< 480px) ── */
@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .hero-chips { gap: 6px; }
  .hero-chip { font-size: 11px; }

  .section-title { font-size: 24px; }

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

  .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-stat { padding: 14px 8px; }
  .hero-stat-num { font-size: 20px; }

  .price-amount { font-size: 28px; }

  .btn-book-service, .btn-wa-service { font-size: 11.5px; padding: 9px 8px; }

  .payment-heading { font-size: 22px; }
  .payment-box { padding: 22px 16px; }

  .service-modal-actions { grid-template-columns: 1fr; }

  .ig-text h3 { font-size: 16px; }
  .btn-ig-follow { font-size: 13px; padding: 12px 20px; }

  .mobile-bar-inner {
    grid-template-columns: 1fr 1fr;
  }

  .btn-mbar-call { display: none; }

  .footer-grid { gap: 20px; }
}

/* ── Prevent horizontal scroll ── */
body { overflow-x: hidden; }

/* ── Reduce motion for accessibility ── */
@media (prefers-reduced-motion: reduce) {
  .hero-logo-large, .eq-bar, .asst-ping,
  .hero-logo-ring::before, .hero-logo-ring::after,
  .hero-badge i { animation: none; }

  * { transition: none !important; }
}
