/* =========================================================
   DIGITALOMARK — responsive.css
   Breakpoints: Desktop > 1200 / Laptop 992-1200 / Tablet 768-991
   iPad 820 / Mobile 576-767 / Small Mobile < 576
   ========================================================= */

/* ---------- Laptop ---------- */
@media (max-width: 1199.98px) {
  :root { --section-pad: 100px; }
  .process-steps { grid-template-columns: repeat(4, 1fr); gap: 30px 20px; }
  .why-timeline { grid-template-columns: repeat(4, 1fr); }
  .dashboard-illustration { height: 400px; }
  .spec-row { padding: 32px; gap: 34px; }
  .spec-text h3 { font-size: 20px; }
}

/* ---------- Tablet / iPad ---------- */
@media (max-width: 991.98px) {
  :root { --section-pad: 80px; }

  .navbar-collapse {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(340px, 82%);
    background: var(--dark); padding: 100px 30px 30px; transition: right 0.4s ease;
    flex-direction: column; align-items: flex-start !important; z-index: 1001;
    box-shadow: -20px 0 50px rgba(0,0,0,0.3);
  }
  .navbar-collapse.show-mobile { right: 0; }
  .navbar-nav { width: 100%; margin: 0 !important; }
  .navbar-nav .nav-item { width: 100%; }
  .navbar-nav .nav-link { padding: 14px 4px !important; border-bottom: 1px solid rgba(255,255,255,0.08); width: 100%; }
  .btn-nav-cta { margin-top: 20px; width: 100%; text-align: center; justify-content: center; display: flex !important; }

  .hero { padding-top: 100px; }
  .hero .row.min-vh-100 { min-height: auto !important; padding: 40px 0 90px; }
  .dashboard-illustration { height: 380px; margin-top: 50px; }

  .why-timeline { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(4, 1fr); }

  .contact-form { padding: 28px; }

  .spec-row, .spec-row-reverse { flex-direction: column; gap: 26px; padding: 30px; }
  .spec-chips { width: 100%; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
  :root { --section-pad: 64px; }

  .section-title { font-size: 28px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .counters-row { gap: 24px; justify-content: space-between; }
  .counter-item h3 { font-size: 26px; }

  .dashboard-illustration { height: 340px; }
  .dash-panel-main { padding: 16px; }
  .dash-chart { height: 100px; }

  .why-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .spec-row { padding: 24px 20px; }
  .spec-text h3 { font-size: 19px; }

  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; text-align: center; }

  .testimonial-card { padding: 28px 22px; }
  .testimonial-card p { font-size: 16px; }

  .footer-bottom { flex-direction: column; text-align: center; }

  #backToTop { width: 42px; height: 42px; bottom: 18px; right: 18px; }
}

/* ---------- Small Mobile ---------- */
@media (max-width: 479.98px) {
  .hero-title { font-size: 27px; }
  .section-title { font-size: 24px; }
  .eyebrow { font-size: 11px; padding: 6px 12px; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .service-card, .contact-form { padding: 26px 20px; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .why-icon { width: 56px; height: 56px; font-size: 20px; }
}

/* ---------- Large Desktop polish ---------- */
@media (min-width: 1400px) {
  .container { max-width: 1260px; }
}
