/* ==========================================================================
   NexBridge Staffing stylesheet.
   Brand: navy dominant on header and hero, teal is a minor accent
   (icons, badges, secondary borders), amber is reserved for CTAs.
   ========================================================================== */

:root {
  --navy: #013670;
  --navy-ink: #011f40;
  --teal: #017270;
  --teal-dark: #014f4d;
  --teal-deeper: #013634;
  --teal-tint: #e7f3f2;
  --teal-tint-2: #d3ebe9;
  --amber: #d9a331;
  --amber-dark: #b5811f;
  --amber-tint: #fbeed2;
  --white: #ffffff;
  --ink: #142430;
  --ink-soft: #45565f;
  --line: #d9e6e5;
  --shadow: 0 20px 45px -20px rgba(1, 31, 64, 0.4);
  --shadow-sm: 0 10px 25px -12px rgba(1, 31, 64, 0.32);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --font-head: "Sora", "Segoe UI", sans-serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
@media (max-width: 640px) {
  section { padding: 56px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .97rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-amber {
  background: var(--amber);
  color: var(--navy-ink);
  box-shadow: 0 10px 24px -10px rgba(217, 163, 49, .65);
}
.btn-amber:hover { background: var(--amber-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.65);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.14); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-ink); transform: translateY(-2px); }
.btn-ghost-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-ghost-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img { height: 56px; width: auto; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.1;
}
.brand-name span { display: block; font-weight: 400; font-size: .68rem; letter-spacing: .06em; opacity: .7; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--teal-tint); color: var(--teal-dark); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch { position: relative; }
.lang-switch button {
  display: flex; align-items: center; gap: 6px;
  background: var(--teal-tint);
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 150px;
  padding: 6px;
  display: none;
  z-index: 50;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu a {
  display: flex; justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
}
.lang-menu a:hover { background: var(--teal-tint); }
.lang-menu a.active { color: var(--teal-dark); }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--teal-tint);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.hamburger span { width: 20px; height: 2px; background: var(--navy); display: block; transition: transform .2s, opacity .2s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-header { position: sticky; }
.mobile-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: calc(100vh - 76px);
  overflow-y: auto;
  background: var(--navy-ink);
  padding: 18px 24px 40px;
}
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: block;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.mobile-panel .mobile-langs {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.mobile-panel .mobile-langs a {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .85rem;
  flex: 1;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.35);
}
.mobile-panel .mobile-cta { margin-top: 22px; }

@media (max-width: 960px) {
  .main-nav, .header-actions .lang-switch { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 560px) {
  .header-actions .btn-amber { display: none; }
  .brand-name { font-size: .92rem; }
  .brand-name span { display: none; }
  .brand img { height: 46px; }
  .header-row { height: 70px; }
  .mobile-panel { height: calc(100vh - 70px); }
  .hero-stats { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 26px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-ink) 68%, var(--teal-dark) 130%);
  color: var(--white);
  overflow: hidden;
  padding: 90px 0 130px;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 90px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 40%, 0 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255,255,255,.88); font-size: 1.12rem; max-width: 52ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3.1;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
  position: relative;
  z-index: 2;
}
.hero-stats .stat {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  padding: 16px 14px;
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--white);
}
.hero-stats .stat span { font-size: .82rem; color: rgba(255,255,255,.8); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

/* Page header (non-home hero, smaller) */
.page-head {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-ink) 70%, var(--teal-dark) 140%);
  color: var(--white);
  padding: 64px 0 96px;
  position: relative;
}
.page-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 55%, 0 100%);
}
.page-head .crumb {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.75);
  margin-bottom: 14px;
}
.page-head h1 { color: var(--white); margin-bottom: .3em; }
.page-head p { color: rgba(255,255,255,.85); max-width: 62ch; font-size: 1.05rem; }

/* ---------- Sections / bands ---------- */
.band-tint { background: var(--teal-tint); }
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-tint-2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  border-top: 4px solid var(--teal);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: var(--teal-tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: .5em; }
.card p { margin-bottom: 0; font-size: .95rem; }

/* Industry / country photo cards */
.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-card:hover img { transform: scale(1.06); }
.photo-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(1,39,38,.88) 0%, rgba(1,39,38,.15) 55%, rgba(1,39,38,0) 75%);
}
.photo-card .caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px;
  color: var(--white);
}
.photo-card .caption h3 { color: var(--white); margin-bottom: .25em; font-size: 1.1rem; }
.photo-card .caption p { color: rgba(255,255,255,.85); font-size: .86rem; margin: 0; }

/* ---------- Process steps ---------- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  position: relative;
  padding-bottom: 48px;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  border: 4px solid var(--amber);
  position: relative;
  z-index: 2;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 29px; top: 60px; bottom: -6px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--teal-tint-2) 0 8px, transparent 8px 16px);
}
.step-body {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
}
.step-body img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; }
.step-body h3 { margin-bottom: .4em; }
.step-body p { margin-bottom: 0; }
@media (max-width: 760px) {
  .step-body { grid-template-columns: 1fr; }
  .step-body img { order: -1; aspect-ratio: 16/9; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: 52px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; max-width: 55ch; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: rgba(255,255,255,.85); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-brand img { height: 40px; background: #fff; border-radius: 6px; padding: 3px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,.68); font-size: .92rem; max-width: 32ch; }
.footer-col h4 { color: var(--white); font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.72); font-size: .92rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding-top: 22px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.7); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: .96rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fbfdfd;
  color: var(--ink);
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(1, 114, 112, .14);
}
.field-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .86rem;
  color: var(--ink-soft);
  margin: 6px 0 22px;
}
.field-consent input { margin-top: 3px; }
.field-consent a { color: var(--teal-dark); font-weight: 600; text-decoration: underline; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 14px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Two-col content ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split img, .split .media-frame { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.media-frame { overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Stat / value strip ---------- */
.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .value-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .value-strip { grid-template-columns: 1fr; } }
.value-strip .item {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--radius-sm);
  background: var(--teal-tint);
}
.value-strip .item .icon { color: var(--teal-dark); margin-bottom: 10px; }
.value-strip .item h4 { margin: 0 0 6px; font-size: 1rem; }
.value-strip .item p { margin: 0; font-size: .86rem; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--white);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: transform .2s ease;
}
.faq-item[open] .faq-q .plus { transform: rotate(45deg); background: var(--amber); color: var(--navy-ink); }
.faq-a { padding: 0 22px 22px; color: var(--ink-soft); }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---------- Country tabs ---------- */
.region-block { margin-bottom: 20px; }
.region-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--white); background: var(--teal-dark);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .country-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .country-grid { grid-template-columns: 1fr; } }
.country-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--white);
}
.country-card h3 { display: flex; align-items: center; gap: 10px; }
.country-flag { width: 30px; height: 22px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

/* ---------- Misc ---------- */
.breadcrumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumbs a { color: var(--teal-dark); font-weight: 600; }
.divider { height: 1px; background: var(--line); margin: 60px 0; border: none; }
.list-check { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.list-check li .tick {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: .75rem; margin-top: 2px;
}
.badge-amber {
  display: inline-block; background: var(--amber-tint); color: var(--amber-dark);
  font-family: var(--font-head); font-weight: 700; font-size: .74rem;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
}
