/* ============================================================
   Al Shroq Limited — Responsive Stylesheet
   ============================================================ */

/* ── Large Desktop ── */
@media (max-width: 1280px) {
  :root {
    --section-py: 80px;
  }

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

  .partners-grid,
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Laptop / Tablet Landscape ── */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + 24px) 32px 32px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
  }

  html[dir="rtl"] .nav-menu {
    right: auto;
    left: 0;
    transform: translateX(-100%);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu a {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

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

  .location-card {
    grid-template-columns: 1fr;
    padding: 40px;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .process-timeline {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    flex: 0 0 calc(33.333% - 16px);
  }
}

/* ── Tablet Portrait ── */
@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --nav-height: 64px;
  }

  .hero-content {
    padding: 60px 0 100px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

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

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

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

  .partners-grid,
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .testimonial-card {
    padding: 32px 24px;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .contact-form {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-step {
    flex: 0 0 calc(50% - 12px);
  }

  .fab-whatsapp { bottom: 88px; }
  .fab-call { bottom: 148px; }

  .fab,
  .scroll-top {
    width: 48px;
    height: 48px;
  }
}

/* ── Mobile ── */
@media (max-width: 480px) {
  :root {
    --section-py: 48px;
  }

  .container {
    width: 92%;
  }

  .nav-menu {
    width: 100%;
  }

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

  .section-title {
    font-size: 1.5rem;
  }

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

  .stat-card {
    padding: 28px 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

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

  .location-card {
    padding: 28px;
  }

  .slider-btn {
    opacity: 1;
    width: 32px;
    height: 32px;
  }

  .fab-whatsapp,
  .fab-call {
    right: 16px;
    width: 44px;
    height: 44px;
  }

  html[dir="rtl"] .fab-whatsapp,
  html[dir="rtl"] .fab-call {
    left: 16px;
  }

  .scroll-top {
    right: 16px;
    width: 40px;
    height: 40px;
  }

  html[dir="rtl"] .scroll-top {
    left: 16px;
  }

  .process-step {
    flex: 0 0 100%;
  }
}

/* ── Small Mobile ── */
@media (max-width: 360px) {
  .hero-badge {
    font-size: 0.75rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.875rem;
  }
}
