/* =========================================================
   responsive.css – Writer Worldwide Relocations
   ========================================================= */

/* ---- Tablet: ≤1100px ---- */
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr 420px;
    gap: 40px;
  }
  .hero-headline { font-size: 2.8rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(5, 1fr); }
  .why-grid { grid-template-columns: 1fr 380px; gap: 50px; }
  .about-grid { gap: 50px; }
  .faq-grid { grid-template-columns: 300px 1fr; gap: 50px; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
  .intl-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { justify-content: center; }
  .process-step { min-width: 130px; }
  .process-connector { width: 28px; }
}

/* ---- Tablet portrait: ≤900px ---- */
@media (max-width: 900px) {
  .section-pad { padding: 60px 0; }
  .section-heading { font-size: 1.85rem; }

  .header-top { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px 28px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    gap: 4px;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    z-index: 998;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li a { display: block; padding: 12px 16px; font-size: 0.98rem; }
  .nav-links .nav-btn {
    display: block;
    text-align: center;
    margin-top: 8px;
    padding: 14px;
  }

  .hero-section { min-height: auto; padding: 50px 0 60px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content { padding-right: 0; }
  .hero-headline { font-size: 2.4rem; }
  .hero-btns { justify-content: center; }
  .hero-trust-row { justify-content: center; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-scroll-hint { display: none; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(4) { border-right: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(3) { border-right: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-block { max-width: 520px; margin: 0 auto; }
  .about-badge-card { right: 0; }

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

  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-image-block { order: -1; }
  .why-image-block img { height: 260px; }

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

  .process-steps { gap: 0; justify-content: flex-start; }
  .process-step { min-width: 120px; padding: 0 8px; }
  .process-connector { width: 20px; margin-top: 58px; }

  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-sidebar { max-width: 460px; }

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

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

  .cta-strip-inner { flex-direction: column; text-align: center; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ---- Mobile: ≤600px ---- */
@media (max-width: 600px) {
  .section-pad { padding: 48px 0; }
  .section-heading { font-size: 1.6rem; }

  .container { padding: 0 18px; }

  .hero-headline { font-size: 2rem; }
  .hero-sub { font-size: 0.98rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-trust-row { flex-direction: column; align-items: center; gap: 10px; }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(5) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(4) { border-right: none; }
  .stat-number { font-size: 2rem; }

  .about-points { grid-template-columns: 1fr; }
  .about-img-main img { height: 300px; }
  .about-badge-card { position: relative; right: auto; bottom: auto; margin: -20px auto 0; display: flex; flex-direction: row; gap: 12px; max-width: 240px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card .service-img img { height: 200px; }

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

  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .process-connector {
    width: 2px;
    height: 28px;
    margin: 0 auto;
    display: block;
  }
  .process-step { text-align: center; padding: 16px 0; min-width: auto; width: 100%; max-width: 320px; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  .cta-strip-btns { flex-direction: column; width: 100%; }
  .cta-strip-btns .btn { width: 100%; justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }

  .whatsapp-float { bottom: 80px; right: 16px; width: 52px; height: 52px; font-size: 1.35rem; }
  .call-float { display: flex; right: 16px; bottom: 16px; width: 52px; height: 52px; }

  .branch-strip { gap: 8px; }
  .branch-city { font-size: 0.83rem; padding: 8px 16px; }
}

/* ---- Small mobile: ≤400px ---- */
@media (max-width: 400px) {
  .hero-headline { font-size: 1.75rem; }
  .section-heading { font-size: 1.45rem; }
  .logo-text { font-size: 0.9rem; }
  .logo-mark { width: 38px; height: 38px; font-size: 1.3rem; }
}
