/* GS Manpower Services – components and layout. Uses only tokens from tokens.css. Mobile first. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: var(--text-3xl); line-height: 1.1; }
h2 { font-size: var(--text-2xl); line-height: var(--leading-snug); }
h3 { font-size: var(--text-xl); line-height: var(--leading-snug); letter-spacing: 0; }
h4 { font-size: var(--text-lg); line-height: var(--leading-snug); letter-spacing: 0; }
[lang="mr"], [lang="hi"] { font-family: var(--font-devanagari); letter-spacing: 0; }
h1[lang], h2[lang], p[lang].display { font-weight: 800; }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--color-navy); text-underline-offset: 3px; }
a:hover { color: var(--color-navy); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--color-navy); color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-weight: 600;
}
.skip-link:focus { top: var(--space-4); color: var(--color-text-inverse); }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--surface { background: var(--color-surface); }
.section--navy { background: var(--color-navy); color: var(--color-text-inverse); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section-head { max-width: 46rem; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--color-text-muted); font-size: var(--text-lg); margin: 0; }
.section--navy .section-head p { color: var(--color-text-inverse-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-steel);
  margin-bottom: var(--space-4);
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--color-steel-light); }
.lead { font-size: var(--text-lg); color: var(--color-text-muted); }

.grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-5);
  font: 600 var(--text-base)/1 var(--font-body);
  border-radius: var(--radius-md); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-primary { background: var(--color-saffron); color: var(--color-navy); }
.btn-primary:hover { background: var(--color-saffron-strong); color: var(--color-navy); }
.btn-navy { background: var(--color-navy); color: #fff; }
.btn-navy:hover { background: var(--color-navy-80); color: #fff; }
.btn-secondary { background: transparent; color: var(--color-navy); border-color: var(--color-line-strong); }
.btn-secondary:hover { border-color: var(--color-navy); color: var(--color-navy); }
.btn-on-dark.btn-secondary { color: var(--color-text-inverse); border-color: rgba(246, 244, 239, .4); }
.btn-on-dark.btn-secondary:hover { border-color: var(--color-text-inverse); background: rgba(246, 244, 239, .06); color: var(--color-text-inverse); }
.btn-sm { min-height: 40px; padding: 0 var(--space-4); font-size: var(--text-sm); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600; text-decoration: none; color: var(--color-navy);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 239, .92);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--color-line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--space-5); }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--color-navy); }
/* Primary horizontal lockup: mark + GS MANPOWER wordmark + descriptor. Never add shadows or effects to it. */
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; letter-spacing: 0.01em; text-transform: uppercase; }
.brand-sub { font-family: var(--font-body); font-size: 0.5625rem; font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-steel); margin-top: 5px; white-space: nowrap; }
@media (max-width: 359px) { .brand-sub { display: none; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--color-line); border-radius: var(--radius-md);
  background: var(--color-surface); cursor: pointer; color: var(--color-navy);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 1.75px; background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--color-paper);
  padding: var(--space-5) var(--gutter) var(--space-7);
  display: flex; flex-direction: column; gap: var(--space-5);
  overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.site-nav ul { list-style: none; display: flex; flex-direction: column; }
.site-nav li a {
  display: block; padding: var(--space-4) 0; border-bottom: 1px solid var(--color-line);
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl);
  color: var(--color-navy); text-decoration: none;
}
.site-nav a[aria-current="page"] { color: var(--color-navy); }
.nav-cta { display: flex; flex-direction: column; gap: var(--space-3); }
body.nav-open { overflow: hidden; }
/* backdrop-filter would make the header the containing block of the fixed menu panel */
body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--color-paper); }
body.nav-open .wa-float { display: none; }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; inset: auto; padding: 0; background: none; overflow: visible;
    flex-direction: row; align-items: center; gap: var(--space-6);
    visibility: visible; opacity: 1; transform: none; transition: none;
  }
  .site-nav ul { flex-direction: row; gap: var(--space-1); }
  .site-nav li a {
    border: 0; padding: var(--space-2) var(--space-3);
    font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500;
    color: var(--color-text-muted); position: relative;
  }
  .site-nav li a:hover { color: var(--color-navy); }
  .site-nav li a[aria-current="page"] { color: var(--color-navy); font-weight: 600; }
  .site-nav li a[aria-current="page"]::after {
    content: ""; position: absolute; left: var(--space-3); right: var(--space-3); bottom: -2px;
    height: 3px; background: var(--color-saffron); border-radius: 2px;
  }
  .nav-cta { flex-direction: row; }
  .nav-cta .btn-secondary { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--color-navy); color: var(--color-text-inverse);
  padding-block: clamp(3rem, 2rem + 6vw, 6.5rem) clamp(3.5rem, 2rem + 6vw, 7rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(91, 100, 119, .35), transparent 60%),
    radial-gradient(40rem 24rem at -10% 110%, rgba(91, 100, 119, .18), transparent 60%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: var(--space-8); } }
.hero h1 { color: #fff; font-size: var(--text-4xl); font-weight: 900; line-height: 1.02; max-width: 12ch; margin-bottom: var(--space-3); }
.hero .tagline-mr { font-family: var(--font-devanagari); font-weight: 600; font-size: var(--text-xl); color: var(--color-steel-light); margin-bottom: var(--space-5); }
.hero .lead { color: var(--color-text-inverse-muted); max-width: 36rem; margin-bottom: var(--space-6); }
.hero-note { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-6); color: var(--color-text-inverse-muted); font-size: var(--text-sm); list-style: none; }
.hero-note li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero-note .icon { color: var(--color-steel-light); width: 18px; height: 18px; }
.hero .btn-row .btn { flex: 1 1 200px; }
@media (min-width: 640px) { .hero .btn-row .btn { flex: 0 0 auto; } }

.page-hero {
  background: var(--color-navy); color: var(--color-text-inverse);
  padding-block: clamp(2.75rem, 2rem + 4vw, 5rem);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50rem 24rem at 90% -20%, rgba(91, 100, 119, .32), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: var(--text-3xl); max-width: 22ch; }
.page-hero .lead { color: var(--color-text-inverse-muted); max-width: 40rem; margin: 0; }
.breadcrumb { display: flex; gap: var(--space-2); list-style: none; font-size: var(--text-sm); color: var(--color-text-inverse-muted); margin-bottom: var(--space-5); }
.breadcrumb a { color: var(--color-text-inverse-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); opacity: .5; }

/* ---------- Photo (placeholder until commissioned photography is supplied) ---------- */
.photo {
  position: relative; margin: 0; border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--color-navy-80);
  isolation: isolate;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo-art {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(170deg, rgba(38, 55, 89, .2), rgba(20, 33, 61, .9) 75%),
    repeating-linear-gradient(135deg, rgba(246, 244, 239, .045) 0 6px, transparent 6px 16px),
    var(--color-navy-80);
}
.photo-brief {
  position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-4);
  display: flex; gap: var(--space-3); align-items: flex-start;
  padding: var(--space-3) var(--space-4);
  background: rgba(20, 33, 61, .72); color: var(--color-text-inverse-muted);
  border: 1px solid rgba(201, 205, 214, .25); border-radius: var(--radius-md);
  font-size: var(--text-xs); line-height: 1.5;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.photo-brief strong { color: var(--color-text-inverse); font-weight: 600; display: block; }
.photo-brief .icon { width: 18px; height: 18px; color: var(--color-steel-light); margin-top: 2px; }
.hero-photo { position: relative; }
.hero-photo .badge-float {
  position: absolute; left: -12px; top: 24px;
  display: none;
}
@media (min-width: 960px) { .hero-photo .badge-float { display: flex; } }

/* ---------- Trust strip ---------- */
.trust { background: var(--color-surface); border-bottom: 1px solid var(--color-line); }
.trust-inner { padding-block: var(--space-6); }
.trust-label { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-4); }
.trust-list { list-style: none; display: grid; gap: var(--space-4) var(--space-5); }
@media (min-width: 640px) { .trust-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-list { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; gap: var(--space-3); align-items: flex-start; }
.trust-item .icon { color: var(--color-navy); margin-top: 2px; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: var(--text-base); }
.trust-item span { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.5; display: block; }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-lg); padding: var(--space-6);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card p { color: var(--color-text-muted); }
.card > :last-child { margin-bottom: 0; }
.card--link:hover { border-color: var(--color-navy); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card--link .link-arrow { margin-top: auto; }
.card--link .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--color-navy-tint); color: var(--color-navy);
  margin-bottom: var(--space-5);
}
.card-icon .icon { width: 26px; height: 26px; }
.card-meta { font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-2); }
.section--navy .card { background: var(--color-navy-90); border-color: rgba(201, 205, 214, .18); color: var(--color-text-inverse); }
.section--navy .card p { color: var(--color-text-inverse-muted); }
.section--navy .card-icon { background: rgba(91, 100, 119, .18); color: var(--color-steel-light); }

.feature { display: flex; gap: var(--space-4); }
.feature .card-icon { margin: 0; width: 44px; height: 44px; flex: none; }
.feature .card-icon .icon { width: 22px; height: 22px; }
.feature h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.feature p { color: var(--color-text-muted); margin: 0; font-size: var(--text-sm); }
.section--navy .feature p { color: var(--color-text-inverse-muted); }
.section--navy .feature .card-icon { background: rgba(91, 100, 119, .18); color: var(--color-steel-light); }

.check-list { list-style: none; display: grid; gap: var(--space-3); }
.check-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.check-list .icon { color: var(--color-navy); width: 20px; height: 20px; margin-top: 3px; }
.section--navy .check-list .icon { color: var(--color-steel-light); }
.check-list--cols { gap: var(--space-3) var(--space-5); }
@media (min-width: 640px) { .check-list--cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; gap: var(--space-5); counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: var(--space-6); border-top: 1px solid rgba(201, 205, 214, .35); counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -1px; left: 0; padding-top: var(--space-3);
  border-top: 3px solid var(--color-saffron);
  font-family: var(--font-display); font-size: var(--text-sm); font-weight: 700; color: var(--color-navy);
  width: 48px;
}
.step h3 { font-size: var(--text-lg); margin-top: var(--space-4); }
.step p { color: var(--color-text-muted); font-size: var(--text-sm); margin: 0; }
.section--navy .step p { color: var(--color-text-inverse-muted); }
.section--navy .step::before { color: var(--color-steel-light); border-color: var(--color-steel-light); }

/* ---------- Industry tiles ---------- */
.tile {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-5); background: var(--color-surface);
  border: 1px solid var(--color-line); border-radius: var(--radius-lg);
}
.tile .card-icon { margin: 0; width: 44px; height: 44px; }
.tile strong { font-family: var(--font-display); font-size: var(--text-base); display: block; }
.tile span { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---------- Badges / notices ---------- */
.badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-1) var(--space-3); border-radius: 999px;
  font-size: var(--text-xs); font-weight: 600; line-height: 1.6;
  background: var(--color-navy-tint); color: var(--color-navy);
}
.badge .icon { width: 14px; height: 14px; }
.badge--success { background: var(--color-success-tint); color: var(--color-success); }
.badge--warning { background: var(--color-warning-tint); color: var(--color-warning); }
.badge--neutral { background: var(--color-line); color: var(--color-text-muted); }
.badge-float {
  align-items: center; gap: var(--space-3);
  background: var(--color-surface); color: var(--color-navy);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  font-size: var(--text-sm); font-weight: 600;
}
.badge-float .icon { color: var(--color-navy); }
.notice {
  display: flex; gap: var(--space-3); align-items: flex-start;
  padding: var(--space-4) var(--space-5); border-radius: var(--radius-md);
  background: var(--color-navy-tint); color: var(--color-navy); font-size: var(--text-sm);
}
.notice .icon { color: var(--color-navy); width: 20px; height: 20px; margin-top: 1px; }
.notice p { margin: 0; }
.notice--warning { background: var(--color-warning-tint); }
.notice--warning .icon { color: var(--color-warning); }

/* ---------- Service detail ---------- */
.service-block { padding-block: var(--space-8); border-top: 1px solid var(--color-line); }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block h2 { font-size: var(--text-2xl); }
.service-block .card-icon { margin-bottom: var(--space-4); }
.subhead { font-family: var(--font-body); font-weight: 700; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--color-text-muted); margin: var(--space-6) 0 var(--space-3); }
.toc { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; }
.toc a {
  display: inline-flex; padding: var(--space-2) var(--space-4); border-radius: 999px;
  border: 1px solid var(--color-line); background: var(--color-surface);
  font-size: var(--text-sm); font-weight: 500; color: var(--color-navy); text-decoration: none;
}
.toc a:hover { border-color: var(--color-navy); color: var(--color-navy); }

/* ---------- CTA band ---------- */
.cta-band {
  display: grid; gap: var(--space-5); align-items: center;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  border-radius: var(--radius-xl); background: var(--color-navy); color: var(--color-text-inverse);
  position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(30rem 16rem at 100% 0, rgba(91, 100, 119, .35), transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: var(--text-2xl); margin-bottom: var(--space-2); }
.cta-band p { color: var(--color-text-inverse-muted); margin: 0; }
@media (min-width: 960px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------- Forms ---------- */
.form-card {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-xl); padding: clamp(1.25rem, 0.75rem + 2.5vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: var(--text-xl); }
.form-grid { display: grid; gap: var(--space-5) var(--space-4); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.field label, .field legend { font-size: var(--text-sm); font-weight: 600; color: var(--color-navy); padding: 0; }
.field .req { color: var(--color-text-muted); font-weight: 400; }
.field-hint { font-size: var(--text-xs); color: var(--color-text-muted); margin: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4);
  font: inherit; font-size: 1rem; color: var(--color-text);
  background: var(--color-paper); border: 1.5px solid var(--color-line); border-radius: var(--radius-md);
  transition: border-color .15s, background-color .15s;
  appearance: none; -webkit-appearance: none;
}
.textarea { min-height: 112px; resize: vertical; }
.select {
  padding-right: var(--space-7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5668' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--color-line-strong); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--color-navy); background-color: var(--color-surface); box-shadow: 0 0 0 3px rgba(91, 100, 119, .2); }
.input[type="file"] { padding: var(--space-2); min-height: 52px; font-size: var(--text-sm); }
.input[type="file"]::file-selector-button {
  font: inherit; font-weight: 600; margin-right: var(--space-3); padding: var(--space-2) var(--space-4);
  border: 0; border-radius: var(--radius-sm); background: var(--color-navy-tint); color: var(--color-navy); cursor: pointer;
}
.choice-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-4);
  border: 1.5px solid var(--color-line); border-radius: 999px; background: var(--color-paper);
  font-size: var(--text-sm); font-weight: 500; cursor: pointer; transition: all .15s;
}
.choice input:checked + span { border-color: var(--color-navy); background: var(--color-navy-tint); color: var(--color-navy); }
.choice input:focus-visible + span { box-shadow: var(--focus-ring); }
.consent-check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); color: var(--color-text-muted); }
.consent-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--color-navy); }
.privacy-note {
  font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.6;
  padding: var(--space-4); background: var(--color-paper); border-radius: var(--radius-md); border: 1px solid var(--color-line);
}
.privacy-note p { margin: 0; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--color-error); }
.field-error { display: flex; gap: var(--space-2); align-items: center; font-size: var(--text-xs); font-weight: 500; color: var(--color-error); margin: 0; }
.field-error .icon { width: 16px; height: 16px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: var(--space-4); }
.form-status.is-visible { display: flex; }
.form-status--success { background: var(--color-success-tint); }
.form-status--success .icon { color: var(--color-success); }
.form-status--error { background: var(--color-error-tint); }
.form-status--error .icon { color: var(--color-error); }
.form-actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-5); }
.form-actions small { color: var(--color-text-muted); font-size: var(--text-xs); }

/* ---------- Contact ---------- */
.contact-list { list-style: none; display: grid; gap: var(--space-4); }
.contact-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-item .card-icon { margin: 0; width: 44px; height: 44px; flex: none; }
.contact-item strong { display: block; font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 500; }
.contact-item a, .contact-item span { font-family: var(--font-display); font-weight: 700; color: var(--color-navy); text-decoration: none; font-size: var(--text-lg); }
.contact-item a:hover { color: var(--color-navy); }
.map-card {
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-3);
  min-height: 240px; padding: var(--space-5); border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(45deg, rgba(20, 33, 61, .04) 0 2px, transparent 2px 22px),
    var(--color-navy-tint);
  border: 1px solid var(--color-line);
}

/* ---------- Prose (privacy etc.) ---------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--text-2xl); margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-6); }
.prose ul { padding-left: 1.25rem; margin-bottom: var(--space-4); }
.prose li { margin-bottom: var(--space-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-navy); color: var(--color-text-inverse-muted); padding-top: var(--space-8); font-size: var(--text-sm); }
.footer-grid { display: grid; gap: var(--space-7); padding-bottom: var(--space-7); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer .brand { color: #fff; margin-bottom: var(--space-4); }
.site-footer .brand-sub { color: var(--color-steel-light); }
.footer-title { font-family: var(--font-display); color: #fff; font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-4); }
.footer-links { list-style: none; display: grid; gap: var(--space-3); }
.site-footer a { color: var(--color-text-inverse-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: var(--space-3); align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--color-steel-light); margin-top: 3px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-5);
  padding-block: var(--space-5) calc(var(--space-5) + 64px);
  border-top: 1px solid rgba(201, 205, 214, .18); font-size: var(--text-xs);
}
@media (min-width: 640px) { .footer-bottom { padding-bottom: var(--space-5); } }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-4); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-button:hover { color: #fff; text-decoration: underline; }
.lang-switch { display: inline-flex; gap: var(--space-2); align-items: center; }
.lang-switch [aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: var(--space-4); bottom: var(--space-4); z-index: 40;
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 52px; padding: 0 var(--space-5) 0 var(--space-4);
  border-radius: 999px; background: var(--color-navy); color: #fff; text-decoration: none;
  font-weight: 600; font-size: var(--text-sm); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201, 205, 214, .3);
}
.wa-float:hover { background: var(--color-navy-80); color: #fff; }
.wa-float .icon { color: var(--color-steel-light); }

/* ---------- Consent banner ---------- */
.consent {
  position: fixed; left: var(--space-4); right: var(--space-4); bottom: var(--space-4); z-index: 60;
  max-width: 34rem; padding: var(--space-5);
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); font-size: var(--text-sm);
}
.consent[hidden] { display: none; }
.consent h2 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.consent p { color: var(--color-text-muted); }
.consent-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.consent-actions .btn { flex: 1 1 140px; }
.consent--static { position: static; max-width: none; }

/* ---------- Component library page helpers ---------- */
.swatch { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-line); background: var(--color-surface); }
.swatch-chip { height: 88px; }
.swatch-body { padding: var(--space-3) var(--space-4); font-size: var(--text-xs); }
.swatch-body strong { display: block; font-size: var(--text-sm); }
.chip-navy { background: var(--color-navy); }
.chip-saffron { background: var(--color-saffron); }
.chip-paper { background: var(--color-paper); }
.chip-steel { background: var(--color-steel); }
.chip-teal { background: var(--color-teal); }
.chip-white { background: var(--color-surface); }
.chip-navy-tint { background: var(--color-navy-tint); }
.chip-line { background: var(--color-line); }
.logo-tile { display: flex; flex-direction: column; gap: var(--space-3); }
.logo-stage { display: flex; align-items: center; justify-content: center; min-height: 150px; padding: var(--space-6); border-radius: var(--radius-lg); border: 1px solid var(--color-line); background: var(--color-surface); }
.logo-stage--navy { background: var(--color-navy); border-color: var(--color-navy); }
.logo-stage--black { background: #2A2A2A; border-color: #2A2A2A; }
.logo-stage .brand { pointer-events: none; }
.logo-stack { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); }
.logo-stack img { width: 64px; height: 64px; }
.logo-tile p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }
.brand--mono-black, .brand--mono-black .brand-sub { color: #000; }
.brand--mono-white, .brand--mono-white .brand-sub, .brand--reversed { color: #fff; }
.brand--reversed .brand-sub { color: var(--color-steel-light); }
.demo-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.demo-dark { background: var(--color-navy); padding: var(--space-5); border-radius: var(--radius-lg); }
.type-sample { border-bottom: 1px solid var(--color-line); padding-block: var(--space-4); }
.type-sample small { display: block; color: var(--color-text-muted); font-size: var(--text-xs); margin-bottom: var(--space-2); }
.lib-section + .lib-section { margin-top: var(--space-8); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Utilities ---------- */
.mt-6 { margin-top: var(--space-6); }
.section-foot { margin: var(--space-6) 0 0; }
.page-hero .lead a { color: #fff; }

/* ---------- Divisions ---------- */
.division { border-top: 4px solid var(--color-navy); }
.division--care { border-top-color: var(--color-teal); }
.division-head { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.division-head img { width: 52px; height: 52px; flex: none; }
.division-name { font-family: var(--font-display); font-weight: 900; font-size: var(--text-xl); text-transform: uppercase; margin: 0; line-height: 1; }
.division-of { font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-steel); margin: var(--space-1) 0 0; }
.division--care .division-name { color: var(--color-teal); }
.division--care .check-list .icon { color: var(--color-teal); }
.tag { display: inline-block; font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-steel); margin-bottom: var(--space-2); }
.tag--care { color: var(--color-teal); }
.tagline { font-family: var(--font-display); font-weight: 900; color: #fff; font-size: var(--text-xl); margin: 0 0 var(--space-1); }
.tagline-mr-sm { font-family: var(--font-devanagari); font-weight: 600; color: var(--color-steel-light); margin: 0 0 var(--space-4); }
.lang-lead { font-family: var(--font-devanagari); font-weight: 600; font-size: var(--text-lg); color: var(--color-text-inverse-muted); margin-bottom: var(--space-2); }
.lang-lead--hi { font-size: var(--text-base); }
.division-group { margin: var(--space-8) 0 0; padding-top: var(--space-6); border-top: 4px solid var(--color-navy); }
.division-group:first-child { margin-top: 0; }
#care.division-group { border-top-color: var(--color-teal); }
.division-group + .service-block { border-top: 0; padding-top: var(--space-6); }
.page-hero .lang-lead { color: #fff; }
.on-light { color: var(--color-navy); }
/* Letter-spacing breaks Devanagari conjuncts: never track Marathi or Hindi text. */
[lang="mr"][class], [lang="hi"][class], [class] [lang="mr"], [class] [lang="hi"] { letter-spacing: 0; }

/* ---------- Marathi pages ---------- */
/* Devanagari needs taller lines (matras above and below) and must never be letter-spaced. */
:lang(mr), :lang(hi) { letter-spacing: 0; }
:lang(mr) body, body:lang(mr) { line-height: 1.75; }
:lang(mr) h1, :lang(mr) h2, :lang(mr) h3, :lang(mr) h4, :lang(mr) .tagline, :lang(mr) .division-name { line-height: 1.35; letter-spacing: 0; }
:lang(mr) .hero h1 { line-height: 1.2; max-width: 14ch; }
:lang(mr) .eyebrow, :lang(mr) .subhead, :lang(mr) .card-meta, :lang(mr) .trust-label, :lang(mr) .division-of { letter-spacing: 0; }
.brand-text:lang(en) .brand-sub { letter-spacing: var(--tracking-label); }

/* ---------- Compact forms ---------- */
.form-card { padding: clamp(1.25rem, 0.75rem + 1.6vw, 2rem); }
.form-card h3 { margin-bottom: var(--space-1); }
.form-card > .lead { font-size: var(--text-sm); margin-bottom: var(--space-4); }
.form-grid { gap: var(--space-3) var(--space-4); }
.field { gap: 6px; }
.field label, .field legend { font-size: var(--text-xs); }
.input, .select { min-height: 44px; padding: 9px 14px; }
.select { padding-right: var(--space-7); }
.textarea { min-height: 72px; padding: 9px 14px; }
.choice span { min-height: 36px; padding: 0 var(--space-3); }
.privacy-note { padding: var(--space-3); font-size: 0.75rem; }
.consent-check { font-size: var(--text-xs); }
.form-actions { margin-top: var(--space-4); }
@media (min-width: 640px) {
  .form-actions { flex-direction: row; align-items: center; justify-content: space-between; }
  .form-actions .btn-block { width: auto; }
}
.hp-field { user-select: none; }
/* Contact details next to a form: give the form more room */
@media (min-width: 960px) { .split--form { grid-template-columns: 0.8fr 1.2fr; gap: var(--space-7); } }

/* ---------- Home improvements ---------- */
/* Job-seeker band */
.jobs-band .eyebrow { color: var(--color-steel-light); }
.jobs-band h2 { font-size: var(--text-2xl); }
.jobs-band .btn-row { justify-content: flex-start; }
@media (min-width: 960px) { .jobs-band .btn-row { justify-content: flex-end; } }

/* Industry tiles as links */
.tile--link { text-decoration: none; color: inherit; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.tile--link > div { flex: 1; min-width: 0; }
.tile--link .tile-arrow { width: 18px; height: 18px; color: var(--color-steel); transition: transform .2s var(--ease); }
.tile--link:hover { border-color: var(--color-navy); box-shadow: var(--shadow-md); color: inherit; }
.tile--link:hover .tile-arrow { transform: translateX(3px); color: var(--color-navy); }
.card[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.card:target { border-color: var(--color-navy); box-shadow: 0 0 0 3px var(--color-navy-tint); }

/* Training photo: zoom into the top-left to leave out the blurred face at the bottom right */
.photo--crop-tl img { transform: scale(1.3); transform-origin: 0 0; }

/* What happens next (beside the enquiry form) */
.next-steps { margin: var(--space-6) 0; padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); }
.next-steps h3 { font-size: var(--text-lg); margin-bottom: var(--space-4); }
.next-steps ol { list-style: none; counter-reset: nx; display: grid; gap: var(--space-4); }
.next-steps li { counter-increment: nx; display: grid; grid-template-columns: 32px 1fr; column-gap: var(--space-3); }
.next-steps li::before {
  content: counter(nx); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-navy); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: var(--text-sm);
}
.next-steps strong { font-family: var(--font-display); font-weight: 800; }
.next-steps span { font-size: var(--text-sm); color: var(--color-text-muted); }

/* Phone: Call / WhatsApp bar instead of the floating button */
.mobile-cta { display: none; }
@media (max-width: 639px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr;
    background: var(--color-navy); border-top: 1px solid rgba(255, 255, 255, .12);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 56px;
    color: #fff; font-weight: 700; text-decoration: none;
  }
  .mobile-cta a + a { border-left: 1px solid rgba(255, 255, 255, .15); }
  .mobile-cta .icon { width: 20px; height: 20px; color: var(--color-saffron); }
  .wa-float { display: none; }
  body { padding-bottom: 56px; }
  body.nav-open .mobile-cta { display: none; }
  .consent { bottom: calc(56px + var(--space-3)); }
}

/* Phone: shorter page */
@media (max-width: 639px) {
  :root { --section-y: 3rem; }
  .section-head { margin-bottom: var(--space-5); }
  .hero { padding-block: var(--space-6) var(--space-7); }
  .hero .lead { margin-bottom: var(--space-5); }
  .hero-note { margin-top: var(--space-5); gap: var(--space-2) var(--space-4); }
  .hero-grid { gap: var(--space-6); }
  .hero-photo .photo--tall { aspect-ratio: 4 / 3; }
  .hero-photo .photo img { object-position: 50% 40%; }
  .trust-inner { padding-block: var(--space-5); }
  .trust-list { grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-3); }
  .trust-item span { font-size: var(--text-xs); }
  .card { padding: var(--space-5); }
  .division .check-list--cols { grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-3); font-size: var(--text-sm); }
  .division .check-list .icon { width: 16px; height: 16px; margin-top: 4px; }
  .division-head { margin-bottom: var(--space-3); }
  .division .mt-6 { margin-top: var(--space-4); }
  .grid { gap: var(--space-4); }
  .grid-3 .tile--link, .grid-3 .tile { padding: var(--space-4); }
  .steps { gap: var(--space-4); }
  .step { padding-top: var(--space-5); }
  .step h3 { margin-top: var(--space-3); margin-bottom: var(--space-2); }
  .split { gap: var(--space-6); }
  .photo:not(.photo--tall) { aspect-ratio: 16 / 9; }
  .next-steps { margin: var(--space-5) 0 0; }
  .next-steps ~ .contact-list { display: none; }
  .footer-bottom { padding-bottom: var(--space-5); }
  .site-footer { padding-top: var(--space-7); }
  .footer-grid { gap: var(--space-6); padding-bottom: var(--space-6); }
}
@media (max-width: 639px) {
  /* Industries: 2 compact columns, icon above text */
  .grid-3:has(> .tile--link) { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .tile--link { flex-direction: column; align-items: flex-start; gap: var(--space-2); padding: var(--space-3) !important; }
  .tile--link .card-icon { width: 36px; height: 36px; }
  .tile--link .card-icon .icon { width: 20px; height: 20px; }
  .tile--link strong { font-size: var(--text-sm); line-height: 1.3; }
  .tile--link span { font-size: var(--text-xs); line-height: 1.4; display: block; }
  .tile--link .tile-arrow { display: none; }
  /* How it works: 2 columns */
  .steps { grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-3); }
  .step h3 { font-size: var(--text-base); }
  .step p { font-size: var(--text-xs); }
  /* Why GS Manpower: 2 columns, icons above */
  .section--navy .grid-2 { grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-3); }
  .section--navy .feature { flex-direction: column; gap: var(--space-2); }
  .section--navy .feature h3 { font-size: var(--text-base); }
  .section--navy .feature p { font-size: var(--text-xs); }
  /* What happens next: compact */
  .next-steps { padding: var(--space-4); }
  .next-steps h3 { margin-bottom: var(--space-3); }
  .next-steps ol { gap: var(--space-3); }
  .next-steps span { font-size: var(--text-xs); }
}

/* ---------- Hover effects (cards, tiles, features) ---------- */
/* Only on devices with a real pointer, so phones don't get "stuck" hover states. */
.card, .tile, .trust-item, .feature, .step, .contact-item, .next-steps li {
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.card-icon { transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  /* White cards: lift, shadow, navy border, icon tile turns navy */
  .card:hover, .tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px -18px rgba(20, 33, 61, .35);
    border-color: var(--color-navy);
  }
  .card:hover .card-icon, .tile:hover .card-icon { background: var(--color-navy); color: #fff; transform: scale(1.05); }
  .division--care:hover { border-color: var(--color-teal); border-top-color: var(--color-teal); }
  .division--care:hover .card-icon { background: var(--color-teal); }
  .division:hover { border-top-width: 6px; }
  /* Cards on navy sections */
  .section--navy .card:hover { border-color: rgba(201, 205, 214, .45); background: var(--color-navy-80); }
  .section--navy .card:hover .card-icon { background: var(--color-saffron); color: var(--color-navy); }
  /* Feature points on navy ("Why GS Manpower") */
  .section--navy .feature { padding: var(--space-3); margin: calc(var(--space-3) * -1); border-radius: var(--radius-md); }
  .section--navy .feature:hover { background: rgba(255, 255, 255, .05); }
  .section--navy .feature:hover .card-icon { background: var(--color-saffron); color: var(--color-navy); }
  .feature:hover .card-icon { transform: scale(1.08); }
  /* Steps: the number line grows */
  .step::before { transition: width .3s var(--ease); }
  .step:hover::before { width: 100%; }
  /* Trust strip and contact items */
  .trust-item:hover { transform: translateY(-2px); }
  .trust-item .icon { transition: transform .25s var(--ease); }
  .trust-item:hover .icon { transform: scale(1.15); }
  .contact-item:hover .card-icon { background: var(--color-navy); color: #fff; }
  /* Photos: gentle zoom */
  .photo img { transition: transform .6s var(--ease); }
  .photo:hover img { transform: scale(1.03); }
  .photo--crop-tl:hover img { transform: scale(1.34); }
  /* Swatches and logo tiles in the component library stay still */
  .swatch:hover, .logo-stage:hover { transform: none; }
}

/* ---------- Section rhythm ---------- */
/* Two neighbouring sections on the same plain background would add their paddings together and leave a large empty
   gap. Remove the top padding of the second one so the space between them equals one normal section gap. */
.section:not(.section--navy):not(.section--surface) + .section:not(.section--navy):not(.section--surface),
.section--surface + .section--surface,
.section--navy + .section--navy { padding-top: 0; }

/* ---------- Home layout refinements ---------- */
/* Hero: compact, text and photo balanced side by side */
@media (min-width: 960px) {
  .hero { padding-block: clamp(2.5rem, 1rem + 3vw, 4rem); }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-7); align-items: center; }
  .hero h1 { font-size: clamp(2.5rem, 1.5rem + 2.6vw, 3.4rem); }
  .hero .lead { margin-bottom: var(--space-5); }
  .hero-photo .photo--tall { aspect-ratio: 5 / 4; }
  .hero-photo .photo img { object-position: 50% 62%; }
}

/* Division cards: a little smaller */
.division { padding: var(--space-5); }
.division .division-head { margin-bottom: var(--space-3); }
.division .division-head img { width: 44px; height: 44px; }
.division .division-name { font-size: var(--text-lg); }
.division > p { font-size: var(--text-sm); margin-bottom: var(--space-3); }
.division .check-list { gap: var(--space-2); font-size: var(--text-sm); }
.division .check-list .icon { width: 16px; height: 16px; margin-top: 3px; }
.division .mt-6 { margin-top: var(--space-4); }
.division .link-arrow { font-size: var(--text-sm); }

/* Why GS Manpower: heading, then four equal cards in a row */
.why-grid { margin-top: calc(var(--space-7) * -0.4); }
.why-card { padding: var(--space-5); gap: 0; }
.why-card .card-icon { width: 44px; height: 44px; margin-bottom: var(--space-4); }
.why-card .card-icon .icon { width: 22px; height: 22px; }
.why-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.why-card p { font-size: var(--text-sm); margin: 0; }
@media (max-width: 639px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: 0; }
  .why-card { padding: var(--space-4); }
  .why-card .card-icon { width: 36px; height: 36px; margin-bottom: var(--space-3); }
  .why-card h3 { font-size: var(--text-base); }
  .why-card p { font-size: var(--text-xs); }
}

/* ---------- Responsive: tablets (640–1099 px) ---------- */
/* Hero: text and photo side by side from 768 px instead of a full-width stacked photo */
@media (min-width: 768px) and (max-width: 959px) {
  .hero { padding-block: var(--space-7); }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-6); align-items: center; }
  .hero h1 { font-size: 2.6rem; }
  .hero .lead { font-size: var(--text-base); margin-bottom: var(--space-5); }
  .hero .btn-row .btn { flex: 0 0 auto; }
  .hero-photo .photo--tall { aspect-ratio: 4 / 5; }
}
/* Small tablets / large phones in landscape (640–767): stacked, but the photo is a short banner */
@media (min-width: 640px) and (max-width: 767px) {
  .hero-photo .photo--tall { aspect-ratio: 16 / 9; }
  .hero-photo .photo img { object-position: 50% 60%; }
}
/* Division cards: one per row until there is room for two, with their lists in three columns */
@media (max-width: 959px) {
  .grid-2:has(> .division) { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 959px) {
  .division .check-list--cols { grid-template-columns: repeat(3, 1fr); }
}
/* Enquiry section on tablets: "What happens next" and contact details as rows of three above the form */
@media (min-width: 640px) and (max-width: 959px) {
  .next-steps ol { grid-template-columns: repeat(3, 1fr); }
  .next-steps li { grid-template-columns: 1fr; row-gap: var(--space-2); }
  .next-steps li::before { grid-row: auto; }
  #enquiry .contact-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
  #enquiry .contact-item a, #enquiry .contact-item span { font-size: var(--text-sm); overflow-wrap: anywhere; }
  .form-card { max-width: 720px; }
}
/* Touch tablets get the Call / WhatsApp bar too, instead of the floating button */
@media (min-width: 640px) and (max-width: 959px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr;
    background: var(--color-navy); border-top: 1px solid rgba(255, 255, 255, .12); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 56px; color: #fff; font-weight: 700; text-decoration: none; }
  .mobile-cta a + a { border-left: 1px solid rgba(255, 255, 255, .15); }
  .mobile-cta .icon { width: 20px; height: 20px; color: var(--color-saffron); }
  .wa-float { display: none; }
  body { padding-bottom: 56px; }
  body.nav-open .mobile-cta { display: none; }
  .consent { bottom: calc(56px + var(--space-3)); }
}
/* Open menu on tablets: a centred panel rather than stretched full-width links */
@media (min-width: 640px) and (max-width: 1099px) {
  .site-nav { padding-inline: max(var(--gutter), calc((100vw - 560px) / 2)); }
  .nav-cta { flex-direction: row; }
  .nav-cta .btn { flex: 1; }
}
