/* ZK Manpower Services — Responsive */

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-track {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4) var(--space-3);
  }

  .process-track::before { display: none; }
}

@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding: var(--space-8) 0 var(--space-6);
    background:
      linear-gradient(180deg, rgba(4,27,61,0.94) 0%, rgba(4,27,61,0.82) 55%, rgba(4,27,61,0.55) 100%),
      url('../images/hero-manpower-bg.webp') center 30% / cover no-repeat;
  }

  .hero-grid,
  .split,
  .feature-service,
  .service-detail,
  .service-steps,
  .why-grid,
  .editorial-row,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .editorial-row.reverse .editorial-media,
  .editorial-row.reverse .editorial-body { order: initial; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-sidebar { position: static; }
  .service-featured-img img { height: 260px; }

  .feature-service img,
  .why-media img,
  .split-media .main-img {
    min-height: 240px;
    height: 280px;
  }

  .why-media img { height: 320px; }

  .split-media {
    padding-bottom: 20px;
    margin-bottom: var(--space-3);
  }

  .split-media .overlap-img {
    width: 42%;
    height: 130px;
    right: 12px;
    bottom: 0;
  }

  /* Process: vertical timeline on tablet+mobile */
  .process-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: var(--space-4);
    padding-left: 0;
  }

  .process-track::before { display: none; }

  .process-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    row-gap: 4px;
    align-items: start;
    text-align: left;
    position: relative;
    padding: 0 0 28px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .process-step:last-child { padding-bottom: 0; }

  .process-step::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), rgba(11, 78, 162, 0.35));
  }

  .process-step:last-child::before { display: none; }

  .section-bg .process-step {
    background: transparent;
  }

  .process-step .step-n {
    margin: 0;
    width: 44px;
    height: 44px;
    font-size: 0.8rem;
    border-width: 2px;
    grid-row: 1 / span 2;
    z-index: 1;
    background: var(--white);
  }

  .section-bg .process-step .step-n {
    background: var(--bg);
  }

  .process-step h4 {
    font-size: 1.05rem;
    margin: 4px 0 0;
    align-self: end;
  }

  .process-step p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
  }

  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }

  .industry-collage {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav,
  .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }

  .topbar-left .hide-tablet { display: none; }

  .header-inner { gap: var(--space-2); }
  .logo img { height: 46px; }

  .section { padding: var(--space-8) 0; }
}

@media (max-width: 768px) {
  :root {
    --header-top: 0px;
    --header-main: 70px;
  }

  html, body { overflow-x: hidden; }

  .topbar { display: none; }

  .hero {
    min-height: auto;
    padding: calc(var(--space-6) + 8px) 0 var(--space-5);
    background:
      linear-gradient(180deg, rgba(4,27,61,0.95) 0%, rgba(4,27,61,0.88) 48%, rgba(4,27,61,0.62) 100%),
      url('../images/hero-manpower-bg.webp') center 25% / cover no-repeat;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .hero .lead { font-size: 0.975rem; max-width: none; }

  .hero-form {
    padding: var(--space-3);
    width: 100%;
    max-width: 100%;
  }

  .form-row,
  .check-list { grid-template-columns: 1fr; }

  .form-group input,
  .form-group textarea,
  .form-group select,
  form input,
  form textarea,
  form select {
    max-width: 100%;
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-media { aspect-ratio: 16 / 9; }

  .industry-collage {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .industry-tile,
  .industry-tile img { min-height: 150px; }

  .industry-tile span {
    left: 12px;
    bottom: 12px;
    font-size: 0.95rem;
  }

  .service-rail {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Process timeline: tighter on small phones */
  .process-step {
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
    padding-bottom: 24px;
  }

  .process-step::before {
    left: 19px;
    top: 40px;
  }

  .process-step .step-n {
    width: 40px;
    height: 40px;
    font-size: 0.75rem;
  }

  .process-step h4 {
    font-size: 0.975rem;
  }

  .process-step p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .trust-pills {
    gap: 8px;
    flex-wrap: wrap;
  }
  .trust-pill { font-size: 0.75rem; }

  .section-intro { margin-bottom: var(--space-4); }
  .section-intro p { max-width: none; }

  .logo img { height: 42px; }
  .footer-brand img { width: min(160px, 100%); }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .cta-banner {
    padding: var(--space-8) 0;
    text-align: left;
    background-position: 70% center;
  }

  .cta-banner h2 {
    font-size: clamp(1.45rem, 6vw, 2rem);
    max-width: none;
  }

  .cta-banner p {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .cta-actions,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn,
  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .page-hero { padding: calc(var(--space-8) + 12px) 0 var(--space-5); }
  .page-hero h1 { font-size: clamp(1.6rem, 7vw, 2.1rem); }

  .tabs {
    flex-wrap: wrap;
    gap: 8px;
  }

  .tab-btn { flex: 1 1 auto; min-width: calc(50% - 8px); }

  .service-steps { grid-template-columns: 1fr; }

  .why-point {
    grid-template-columns: 36px 1fr;
  }

  .why-point .n {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .contact-grid,
  .contact-cards,
  .map-embed {
    width: 100%;
    max-width: 100%;
  }

  .map-embed iframe {
    width: 100%;
    min-height: 240px;
    border: 0;
  }

  .split-media .main-img,
  .split img,
  .service-featured-img img,
  img {
    max-width: 100%;
    height: auto;
  }

  .faq-question {
    text-align: left;
    min-height: 48px;
    padding: 14px 16px;
  }

  .btn { min-height: 44px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }

  .counter-grid,
  .trust-strip-grid,
  .industry-collage,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 48px 0;
    background-position: 72% center;
  }

  .cta-banner .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .industry-tile,
  .industry-tile img { min-height: 180px; }

  .hero-form { margin-top: 8px; }

  .split-media {
    padding-bottom: 16px;
  }

  .split-media .overlap-img {
    width: 46%;
    height: 100px;
    right: 8px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 14px;
    bottom: 14px;
  }

  .mobile-nav { width: min(100%, 360px); }

  .tab-btn { min-width: 100%; text-align: center; }

  .counter-item .num {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .header-inner {
    min-height: 64px;
  }

  .logo img { height: 38px; }
}
