/* ==========================================================================
   GT Info Services — main stylesheet
   1. Fonts & tokens   2. Base   3. Layout   4. Buttons   5. Header & nav
   6. Hero & page hero 7. Sections & cards   8. Page-specific blocks
   9. Forms            10. Footer & floating buttons   11. Motion   12. Utilities
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --navy: #0B1F3A;
  --navy-2: #12305A;
  --blue: #1E6FE8;
  --blue-dark: #1859BD;
  --blue-soft: #E8F0FD;
  --teal: #12B5A6;
  --teal-soft: #E3F6F4;
  --bg-alt: #F5F7FB;
  --border: #E3E8F0;
  --text: #5B6475;
  --heading: #0F172A;
  --white: #FFFFFF;
  --on-dark: #C5D1E3;
  --error: #C62828;
  --success: #0E7C5A;

  --font-heading: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow: 0 8px 24px rgba(11, 31, 58, .08);
  --shadow-lg: 0 18px 48px rgba(11, 31, 58, .14);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
ul, ol { padding-left: 1.2em; }
strong { color: var(--heading); font-weight: 600; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
::selection { background: var(--blue); color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section-sm { padding: calc(var(--section-y) * .6) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 720px; margin: 0 0 clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.075rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: #8DB8FF; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.7; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-wide { grid-template-columns: 1.1fr .9fr; }

/* 4. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-heading); font-size: .975rem; font-weight: 700; line-height: 1.2;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 16px rgba(30, 111, 232, .28); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline { border-color: var(--border); color: var(--heading); background: var(--white); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--blue-soft); color: var(--navy); transform: translateY(-1px); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: var(--white); background: transparent; }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 1.025rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn[disabled] { opacity: .65; cursor: progress; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-heading); font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--blue);
}
.text-link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* 5. Header & navigation -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed-position mobile menu inside the header box. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 20px rgba(11, 31, 58, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { flex-shrink: 0; display: block; border-radius: 8px; }
.brand img { width: 224px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; padding: 10px 12px; border-radius: 8px;
  font-family: var(--font-heading); font-size: .95rem; font-weight: 600; color: var(--heading); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-link:hover, .nav-link.is-active { color: var(--blue); }
.nav-link.is-active { background: var(--blue-soft); }
.nav-split { display: flex; align-items: center; }
.nav-split .nav-link { padding-right: 4px; }
.dropdown-toggle {
  display: inline-grid; place-items: center; width: 30px; height: 36px; padding: 0;
  background: none; border: 0; border-radius: 8px; color: var(--heading); cursor: pointer;
}
.dropdown-toggle .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.dropdown-toggle:hover { color: var(--blue); }
.has-dropdown { position: relative; }
.has-dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }

.dropdown {
  list-style: none; margin: 0; padding: 10px;
  position: absolute; left: -12px; top: calc(100% + 10px); width: 330px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1081px) {
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
}
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px;
  color: var(--heading); text-decoration: none; font-size: .925rem; font-weight: 500; line-height: 1.35;
}
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--bg-alt); color: var(--blue); }
.dropdown-icon {
  display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px;
  border-radius: 9px; background: var(--blue-soft); color: var(--blue);
}
.dropdown-icon .icon { width: 18px; height: 18px; }
.dropdown-all { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.dropdown-all a { color: var(--blue); font-weight: 700; font-family: var(--font-heading); }
.dropdown-all .icon { width: 16px; height: 16px; }

.nav-cta { min-height: 44px; padding: 10px 20px; }

.nav-toggle {
  display: none; place-items: center; width: 46px; height: 46px; padding: 0;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--heading); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 16px var(--gutter) 32px; background: var(--white);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--border); }
  .nav-link { width: 100%; padding: 14px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav-link.is-active { background: none; }
  .nav-split { justify-content: space-between; }
  .dropdown-toggle { width: 48px; height: 48px; }
  .dropdown {
    position: static; width: auto; padding: 0 0 12px; border: 0; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .dropdown::before { display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .nav-cta { width: 100%; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand img { width: 190px; }
}

/* 6. Hero & page hero ------------------------------------------------------ */
.hero, .page-hero { position: relative; isolation: isolate; color: var(--on-dark); background: var(--navy); overflow: hidden; }
.hero-media, .page-hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(11, 31, 58, .97) 0%, rgba(11, 31, 58, .9) 42%, rgba(11, 31, 58, .62) 100%),
    radial-gradient(circle at 85% 15%, rgba(30, 111, 232, .35), transparent 55%);
}
.hero { padding: clamp(80px, 12vw, 150px) 0 clamp(88px, 12vw, 140px); }
.hero-content { max-width: 720px; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 .accent { color: #7DB2FF; }
.hero .lead { color: var(--on-dark); max-width: 620px; margin-bottom: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 34px 0 0; padding: 0; font-size: .95rem; color: var(--white); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: #5EEAD4; }

.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 8vw, 88px); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); max-width: 820px; margin-bottom: 16px; }
.page-hero .lead { max-width: 700px; color: var(--on-dark); }
.page-hero .btn-row { margin-top: 28px; }
.page-hero-plain::before { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%), var(--navy); }

.breadcrumb { margin-bottom: 22px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, .4); }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--white); font-weight: 500; }

/* 7. Sections & cards ------------------------------------------------------ */
/* Three pillars strip */
.pillars { position: relative; z-index: 2; margin-top: -56px; }
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.pillar { display: flex; gap: 16px; padding: 28px clamp(20px, 2.6vw, 32px); text-decoration: none; color: var(--text); transition: background-color .2s; }
.pillar + .pillar { border-left: 1px solid var(--border); }
.pillar:hover { background: var(--bg-alt); color: var(--text); }
.pillar h2 { font-size: 1.1rem; margin-bottom: 4px; }
.pillar p { font-size: .925rem; line-height: 1.55; }
.pillar:hover h2 { color: var(--blue); }

.icon-box {
  display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px;
  border-radius: 14px; background: var(--blue-soft); color: var(--blue);
}
.icon-box .icon { width: 26px; height: 26px; }
.icon-box.teal { background: var(--teal-soft); color: #0B7F74; }
.icon-box.dark { background: rgba(255, 255, 255, .08); color: #7DB2FF; }
.icon-box.sm { width: 42px; height: 42px; border-radius: 11px; }
.icon-box.sm .icon { width: 21px; height: 21px; }

/* Generic card */
.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 2.6vw, 32px);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card h3 { margin: 20px 0 10px; }
.card p { font-size: .975rem; }
.card .text-link { margin-top: auto; padding-top: 18px; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CCD7E8; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.card-hover:has(.card-link:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.section-alt .card { border-color: transparent; box-shadow: var(--shadow-sm); }
.card-compact { padding: 22px 24px; }
.card-compact h3 { margin: 14px 0 8px; font-size: 1.075rem; }

.service-card .icon-box { transition: background-color .25s, color .25s; }
.service-card:hover .icon-box { background: var(--blue); color: var(--white); }
.services-grid { grid-template-columns: repeat(4, 1fr); }
.cta-card {
  background: var(--navy); border-color: var(--navy); color: var(--on-dark);
  background-image: radial-gradient(circle at 100% 0%, rgba(30, 111, 232, .45), transparent 60%);
}
.cta-card h3 { color: var(--white); }
.cta-card .btn { margin-top: auto; align-self: flex-start; }

/* Why choose us */
.why-grid { grid-template-columns: repeat(3, 1fr); }
.why-item { display: flex; gap: 18px; padding: 8px 0; }
.why-item h3 { margin: 4px 0 8px; font-size: 1.1rem; }
.why-item p { font-size: .975rem; }

/* Process steps */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 28px); counter-reset: step; }
.process-step { position: relative; padding: 28px 24px 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; margin-bottom: 18px;
  font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px #5D8FDB;
}
.process-step::after {
  content: ""; position: absolute; top: 46px; right: -22px; width: 16px; height: 2px; background: var(--teal);
}
.process-step:last-child::after { display: none; }
.process-step h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 8px; }
.process-step p { font-size: .95rem; color: var(--on-dark); }
.process-light .process-step { background: var(--white); border-color: var(--border); }
.process-light .process-step h3 { color: var(--heading); }
.process-light .process-step p { color: var(--text); }
.process-light .process-step::before { -webkit-text-stroke-color: var(--blue); }
.process.steps-5 { grid-template-columns: repeat(5, 1fr); }
.process.steps-6 { grid-template-columns: repeat(3, 1fr); }
.process.steps-6 .process-step::after, .process.steps-5 .process-step::after { display: none; }

/* Industry tiles */
.industry-grid { grid-template-columns: repeat(4, 1fr); }
.industry-tile { line-height: 1.35;
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-heading); font-weight: 700; color: var(--heading); text-decoration: none;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.industry-tile:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }
.industry-tile .icon-box { width: 44px; height: 44px; border-radius: 11px; }
.industry-tile .icon-box .icon { width: 22px; height: 22px; }
.industry-tile small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--text); line-height: 1.45; margin-top: 2px; }

/* Image blocks */
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; background: var(--bg-alt); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-badge {
  position: absolute; left: 18px; bottom: 18px; right: 18px; max-width: 330px;
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: rgba(255, 255, 255, .96); border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: .9rem; line-height: 1.4; color: var(--heading);
}
.media-badge .icon-box { width: 40px; height: 40px; border-radius: 10px; }
.media-badge .icon-box .icon { width: 20px; height: 20px; }

/* CTA bands */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--on-dark);
  padding: clamp(56px, 7vw, 88px) 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 90% 10%, rgba(30, 111, 232, .5), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(18, 181, 166, .22), transparent 45%);
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.cta-band-inner > div:first-child { max-width: 680px; }
.cta-band-blue { background: var(--blue); }
.cta-band-blue::before { background: radial-gradient(circle at 95% 0%, rgba(255, 255, 255, .22), transparent 50%), radial-gradient(circle at 0% 100%, rgba(11, 31, 58, .35), transparent 55%); }
.cta-band-blue, .cta-band-blue p { color: #EAF2FF; }
.cta-band-blue .eyebrow { color: var(--white); }
.cta-band-blue .eyebrow::before { background: var(--white); }

.manpower-band { padding: 0 0 var(--section-y); background: none; }
.manpower-card {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; overflow: hidden;
  background: var(--navy); border-radius: var(--radius-lg); color: var(--on-dark);
}
.manpower-copy { padding: clamp(32px, 5vw, 60px); }
.manpower-copy h2 { color: var(--white); }
.manpower-copy ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.manpower-copy li { display: flex; gap: 10px; align-items: flex-start; color: var(--white); font-size: .95rem; }
.manpower-copy li .icon { width: 20px; height: 20px; color: #5EEAD4; flex-shrink: 0; margin-top: 3px; }
.manpower-media { position: relative; min-height: 280px; }
.manpower-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Check lists */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; color: var(--teal); }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; gap: 14px 28px; }

/* 8. Page-specific blocks ------------------------------------------------- */
/* Alternating service rows */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.service-row + .service-row { margin-top: clamp(64px, 8vw, 104px); }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.service-row .check-list { margin: 22px 0 28px; }

/* Values */
.value-card { padding: 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); }
.value-card h3 { margin: 16px 0 8px; font-size: 1.1rem; }
.value-card p { font-size: .95rem; }

/* Mission & vision */
.mv-card { padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--navy); color: var(--on-dark); }
.mv-card h2 { color: var(--white); font-size: 1.5rem; }
.mv-card.light { background: var(--blue-soft); color: var(--text); }
.mv-card.light h2 { color: var(--heading); }

/* Info / address card */
.info-card { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); }
.info-card h3 { font-size: 1rem; margin: 0 0 4px; }
.info-card p, .info-card a { font-size: .95rem; word-break: break-word; }

/* FAQ accordion */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.faq-item h3 { margin: 0; font-size: 1.025rem; }
.faq-q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; background: none; border: 0; text-align: left; cursor: pointer;
  font: inherit; font-family: var(--font-heading); font-weight: 700; color: var(--heading); line-height: 1.4;
}
.faq-q:hover { color: var(--blue); }
.faq-q:focus-visible { outline-offset: -3px; }
.faq-q .icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform .25s var(--ease); color: var(--blue); }
.faq-q[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq-a { padding: 0 22px 22px; }
.faq-a[hidden] { display: none; }

/* Jobs */
.job-list { display: grid; gap: 16px; }
.job-card { display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center; padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.job-card h3 { margin: 0 0 8px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 10px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); font-size: .8rem; font-weight: 500; color: var(--heading); }
.tag .icon { width: 14px; height: 14px; color: var(--blue); }
.job-card p { font-size: .95rem; margin: 0; }
.empty-state { padding: 36px; text-align: center; border: 1px dashed #C8D3E3; border-radius: var(--radius-lg); background: var(--white); }

/* Legal pages */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .updated { font-size: .925rem; color: var(--text); padding: 12px 16px; background: var(--bg-alt); border-radius: var(--radius); display: inline-block; }

/* Map */
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 9; background: var(--bg-alt); }
@media (max-width: 640px) { .map-frame { aspect-ratio: auto; height: 340px; } }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Thank you / 404 */
.status-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--section-y) 0; }
.status-icon { width: 84px; height: 84px; margin: 0 auto 26px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-soft); color: #0B7F74; }
.status-icon .icon { width: 42px; height: 42px; }
.status-code { font-family: var(--font-heading); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--blue); margin-bottom: 10px; }
.status-page .btn-row { justify-content: center; margin-top: 28px; }
.status-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 32px 0 0; }

/* 9. Forms ----------------------------------------------------------------- */
.form-wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 44px); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .field .label { font-family: var(--font-heading); font-size: .9rem; font-weight: 600; color: var(--heading); }
.req { color: var(--error); }
.field .optional { font-weight: 400; color: var(--text); font-family: var(--font-body); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--heading);
  background: var(--white); border: 1.5px solid #D3DBE7; border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6475' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #8A93A3; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B5C2D6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 111, 232, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .file-drop { border-color: var(--error); }
.field-error { font-size: .85rem; color: var(--error); font-weight: 500; }
.field-error:empty { display: none; }
.field-hint { font-size: .85rem; color: var(--text); }

.file-drop {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px;
  border: 1.5px dashed #B5C2D6; border-radius: 10px; background: var(--bg-alt); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.file-drop:hover, .file-drop.is-dragover { border-color: var(--blue); background: var(--blue-soft); }
.file-drop:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 111, 232, .15); }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; min-height: 0; }
.file-drop .icon-box { width: 42px; height: 42px; border-radius: 10px; }
.file-drop .icon-box .icon { width: 20px; height: 20px; }
.file-drop strong { display: block; font-size: .95rem; }
.file-drop span { font-size: .85rem; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 22px; border-radius: 10px; font-size: .95rem; }
.form-alert .icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
.form-alert.error { background: #FDECEC; color: #8E1C1C; border: 1px solid #F5C2C2; }
.form-footnote { font-size: .85rem; margin-top: 14px; }
.form-actions { margin-top: 26px; }

.contact-aside { display: grid; gap: 16px; }

/* 10. Footer & floating buttons ------------------------------------------ */
.site-footer { background: var(--navy); color: var(--on-dark); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1.3fr; gap: 40px; padding-top: clamp(56px, 7vw, 80px); padding-bottom: 48px; }
.footer-brand { display: inline-block; margin-bottom: 18px; border-radius: 8px; }
.footer-brand img { width: 224px; }
.footer-about p { max-width: 340px; }
.footer-title { font-size: 1rem; color: var(--white); margin-bottom: 18px; letter-spacing: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.footer-contact .icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: #5EEAD4; }
.footer-contact a { word-break: break-all; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 22px; font-size: .875rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }

.whatsapp-float, .back-to-top {
  position: fixed; right: 20px; z-index: 90; display: grid; place-items: center;
  border-radius: 50%; box-shadow: var(--shadow-lg); border: 0; cursor: pointer;
  transition: transform .2s var(--ease), opacity .2s, background-color .2s;
}
.whatsapp-float { bottom: 20px; width: 58px; height: 58px; background: #1FA855; color: var(--white); }
.whatsapp-float .icon { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.06); color: var(--white); background: #198F48; }
.back-to-top { bottom: 20px; width: 46px; height: 46px; background: var(--white); color: var(--navy); border: 1px solid var(--border); }
.whatsapp-float ~ .back-to-top { bottom: 90px; }
.back-to-top .icon { width: 20px; height: 20px; }
.back-to-top:hover { background: var(--blue); color: var(--white); }
.back-to-top[hidden] { display: none; }

/* 11. Motion --------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 12. Utilities & responsive ---------------------------------------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(32px, 4vw, 48px); }
.text-center { text-align: center; }
.center-row { display: flex; justify-content: center; }

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid, .grid-4, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process.steps-5 { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
}
@media (max-width: 900px) {
  .services-grid, .why-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split-wide, .service-row, .form-wrap { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row-media { order: 0; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--border); }
  .manpower-card { grid-template-columns: 1fr; }
  .manpower-media { min-height: 240px; order: -1; }
  .process.steps-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid, .why-grid, .grid-2, .grid-3, .grid-4, .industry-grid, .process, .process.steps-5, .process.steps-6 { grid-template-columns: 1fr; }
  .form-grid, .check-list.cols-2, .manpower-copy ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .job-card { grid-template-columns: 1fr; padding: 22px; }
  .btn-row .btn { flex: 1 1 100%; }
  .pillars { margin-top: -40px; }
  .hero-points { gap: 10px 18px; }
  .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .back-to-top { right: 20px; }
  .whatsapp-float ~ .back-to-top { bottom: 82px; }
}

/* Page additions */
.card .card-list { margin-top: 10px; gap: 8px; font-size: .95rem; }
.card .card-list .icon { width: 20px; height: 20px; }
.card h3.mt-0 { margin-top: 0; margin-bottom: 16px; }
.empty-state .icon-box { margin: 0 auto 16px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state .btn { margin-top: 18px; }
.mv-card .icon-box + h2 { margin-top: 22px; }
.prose code { font-size: .9em; background: var(--bg-alt); padding: 2px 6px; border-radius: 6px; }
.status-page .container { max-width: 760px; }
.status-page .lead { margin-bottom: 14px; }

/* WCAG AA: brand blue is 4.35:1 on the grey section background, so use the darker blue there */
.section-alt .eyebrow,
.section-alt a:not(.btn):not(.card-link):not(.industry-tile),
.section-alt .text-link { color: var(--blue-dark); }

.footer-label { display: block; color: var(--white); font-weight: 600; font-size: .875rem; margin-bottom: 2px; }
