/* =========================================================
   Western Global Talent — Brand Stylesheet v1
   ---------------------------------------------------------
   Drop this file into <head> on every page:
     <link rel="stylesheet" href="/assets/css/wgt-styles.css">
   ---------------------------------------------------------
   Last updated: 2026-05-18
   ========================================================= */

/* =========================================================
   1. DESIGN TOKENS
   Use these variables anywhere — never hard-code colours,
   radii, or shadows in components.
   ========================================================= */
:root {
  /* Brand */
  --amber:        #F2A900;   /* Primary brand colour. Industrial amber, deliberately offset from CAT trademark yellow #FFCD11. */
  --amber-dark:   #D99500;   /* Hover / pressed state for primary buttons and links */
  --amber-tint:   #FFF4D6;   /* Subtle amber backgrounds (chips, icon wells) */

  /* Neutrals */
  --ink:          #141414;   /* Near-black — primary text, dark surfaces */
  --ink-2:        #2A2A2A;   /* Dark surface variation (cards on dark sections) */
  --charcoal:     #3F3F3F;   /* Secondary text, borders on dark sections */
  --steel:        #6B6B6B;   /* Muted body text, labels, placeholders */
  --concrete:     #F7F5F1;   /* Warm off-white — alternating section backgrounds */
  --line:         #E5E2DC;   /* Default borders on light surfaces */
  --white:        #FFFFFF;

  /* Accents (use sparingly) */
  --green-tick:   #2BB673;   /* Reserved for success ticks if needed */

  /* Elevation */
  --shadow:       0 4px 24px rgba(20,20,20,0.08);
  --shadow-lg:    0 12px 40px rgba(20,20,20,0.18);

  /* Geometry */
  --radius:       10px;       /* Default for cards, image slots, inputs */
  --radius-sm:    6px;        /* Small chips, tags, badges */
  --radius-pill:  999px;      /* Pill-shaped elements */

  /* Spacing rhythm (use multiples for consistent vertical flow) */
  --space-section: 88px;      /* Default top/bottom padding for sections */
  --space-block:   48px;      /* Space between major content blocks within a section */
  --space-item:    24px;      /* Space between cards/items */

  /* Type */
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  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; }

/* =========================================================
   3. LAYOUT
   ========================================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--space-section) 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--concrete); }    /* Alternating section colour */
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .section-head h2 { color: var(--white); }
.section-dark .section-head p { color: rgba(255,255,255,0.7); }

.section-head { max-width: 720px; margin: 0 auto var(--space-block); text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-head h2 .accent { color: var(--amber-dark); }
.section-dark .section-head h2 .accent { color: var(--amber); }
.section-head p { color: var(--steel); font-size: 17px; }
.section-dark .section-head p { color: rgba(255,255,255,0.7); }

/* =========================================================
   4. TYPOGRAPHY
   ========================================================= */
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 17px; font-weight: 700; }
h5 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

.eyebrow {
  display: inline-block;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.accent { color: var(--amber-dark); }
.section-dark .accent,
.hero .accent { color: var(--amber); }

.lede {
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 32px;
}
.section-light .lede { color: var(--charcoal); }

/* =========================================================
   5. BUTTONS
   Variants: .btn-primary, .btn-dark, .btn-ghost, .btn-ghost-light
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary { background: #f2a900; color: var(--ink); }
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }

.btn-dark { background: var(--ink); color: var(--amber); }
.btn-dark:hover { background: var(--ink-2); }

.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--amber); }

.btn-ghost-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost-light:hover { border-color: var(--amber); color: var(--amber); }

/* =========================================================
   6. NAVIGATION
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--amber);
  font-weight: 900;
  font-size: 16px;
}
.logo-text { line-height: 1.1; }
.logo-text small {
  display: block;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--steel);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-weight: 500;
  font-size: 14px;
}
.nav-links a:hover { color: var(--amber-dark); }
.nav-links a.active {
  color: var(--amber-dark);
  position: relative;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--amber);
}
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* =========================================================
   7. FOOTER
   ========================================================= */
.footer {
  background: #0E0E0E;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer .logo { color: var(--white); margin-bottom: 18px; }
.footer .badges { display: flex; gap: 12px; margin: 18px 0; flex-wrap: wrap; }
.badge {
  background: var(--ink-2);
  border: 1px solid var(--charcoal);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.footer p { font-size: 14px; line-height: 1.7; }
.footer h5 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid var(--ink-2);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* =========================================================
   8. CARDS — base + variants
   ========================================================= */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.15s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.card-accent { border-top: 3px solid var(--amber); }
.card-left-accent { border-left: 4px solid var(--amber); }
.card-dark {
  background: var(--ink-2);
  color: var(--white);
  border: 1px solid var(--charcoal);
}
.card-dark:hover { border-color: var(--amber); background: #232323; }

/* Stat card (figure + label, used in problem callouts) */
.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-left: 4px solid var(--amber);
}
.stat .figure {
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.stat .figure .unit { font-size: 18px; color: var(--steel); font-weight: 600; }
.stat .label { font-size: 14px; color: var(--charcoal); line-height: 1.5; }

/* Offer card (icon + heading + body, used for "what we do") */
.offer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.15s ease;
  border-top: 3px solid var(--amber);
}
.offer-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.offer-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber-tint);
  color: var(--amber-dark);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 16px;
}
.offer-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.offer-card p { font-size: 14px; color: var(--steel); line-height: 1.55; }

/* Industry card (numbered, used on dark backgrounds) */
.industry-card {
  background: var(--ink-2);
  border: 1px solid var(--charcoal);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: all 0.15s ease;
  cursor: pointer;
}
.industry-card:hover { border-color: var(--amber); background: #232323; }
.industry-card .num {
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}
.industry-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.industry-card p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.55; }

/* Category tile (count + name, used on home for popular categories) */
.cat-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.15s ease;
  cursor: pointer;
  border-left: 3px solid var(--line);
}
.cat-tile:hover {
  border-left-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.cat-tile .count {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-dark);
  background: var(--amber-tint);
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}
.cat-tile .name { font-weight: 600; font-size: 15px; color: var(--ink); }

/* Resume / candidate card */
.resume-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  margin-bottom: 14px;
  transition: all 0.15s ease;
}
.resume-card:hover { border-color: var(--amber); box-shadow: var(--shadow); }
.resume-card .role { font-weight: 700; font-size: 16px; }
.resume-card .meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--steel);
  margin: 4px 0 8px;
}
.resume-card .meta strong { color: var(--amber-dark); }
.resume-card .bio { font-size: 14px; color: var(--charcoal); margin-bottom: 8px; }

/* Tags / chips */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px;
  background: var(--concrete);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--steel);
}

/* Trust badge (icon + title + body, used on About) */
.trust-badge {
  background: var(--concrete);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  border-left: 4px solid var(--amber);
}
.trust-badge .badge-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--amber);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
}
.trust-badge h5 { font-size: 14px; font-weight: 700; margin-bottom: 2px; text-transform: none; letter-spacing: normal; color: var(--ink); }
.trust-badge p { font-size: 13px; color: var(--steel); line-height: 1.5; }

/* =========================================================
   9. HERO PATTERNS
   Two variants: .hero (full-bleed with search) and .hero-split (image + text)
   ========================================================= */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  /* IMPORTANT: set the hero image and overlay inline on the element
     using --hero-image:
     <section class="hero" style="--hero-image: url('/img/hero.jpg');"> ... </section>
     and adjust ::before in the page style to use it.
  */
}
.hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero h1 { color: var(--white); margin-bottom: 14px; }
.hero h1 .accent { color: var(--amber); }
.hero p.lede { color: rgba(255,255,255,0.85); }

/* Split hero (image on right, copy on left — used on About) */
.hero-split {
  background: var(--ink);
  color: var(--white);
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-split::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.08;
}
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-split-image {
  border-radius: var(--radius);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow-lg);
  background-size: cover;
  background-position: center;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   10. SEARCH BAR (landing hero)
   ========================================================= */
.search-card {
  background: var(--white);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 8px;
  align-items: stretch;
  max-width: 980px;
}
.search-field {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  background: var(--concrete);
  border-radius: 8px;
  min-width: 0;
}
.search-field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-bottom: 2px;
}
.search-field input,
.search-field select {
  border: 0;
  background: transparent;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  padding: 4px 0;
  font-family: inherit;
}
.advanced-link { display: block; margin-top: 14px; color: rgba(255,255,255,0.7); font-size: 13px; }
.advanced-link a { color: var(--amber); font-weight: 600; }

/* =========================================================
   11. VALUE BAND (dark CTA strip with checklist + image collage)
   ========================================================= */
.value-band {
  background: var(--ink);
  color: var(--white);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.value-band::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: var(--amber);
  border-radius: 50%;
  opacity: 0.06;
}
.value-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.value-grid h2 .accent { color: var(--amber); }
.checklist { list-style: none; margin-bottom: 32px; }
.checklist li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 16px;
  color: rgba(255,255,255,0.9);
}
.checklist .tick {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
}
.value-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 1;
}
.value-collage > *:nth-child(1) { grid-row: span 2; }

/* =========================================================
   12. TESTIMONIALS
   ========================================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 4px solid var(--amber);
  position: relative;
}
.testimonial.featured {
  background: var(--ink);
  color: var(--white);
  border-top-color: var(--amber);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.testimonial.featured .quote { color: rgba(255,255,255,0.92); }
.testimonial.featured .author-name { color: var(--white); }
.testimonial.featured .author-role { color: var(--amber); }
.quote-mark {
  font-size: 48px;
  line-height: 0.5;
  color: var(--amber);
  font-family: Georgia, serif;
  margin-bottom: 10px;
  height: 24px;
}
.quote { font-size: 15px; color: var(--charcoal); margin-bottom: 22px; min-height: 96px; }
.author { display: flex; align-items: center; gap: 12px; }
.author-name { font-weight: 700; font-size: 14px; }
.author-role { font-size: 12px; color: var(--steel); }

/* =========================================================
   13. FAQ ACCORDION
   ========================================================= */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--amber-dark);
  font-size: 22px;
  font-weight: 700;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 24px 22px; font-size: 15px; color: var(--charcoal); line-height: 1.65; }

/* =========================================================
   14. FULL-BLEED CTA BANNER
   (Used at the bottom of pages above the footer)
   ========================================================= */
.cta-banner {
  position: relative;
  min-height: 360px;
  background: var(--ink);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* Set the image inline on the section:
     <section class="cta-banner" style="--cta-image: url('/img/banner.jpg');"> ... </section>
     then in page CSS:
     .cta-banner::before { background-image: linear-gradient(...), var(--cta-image); }
  */
}
.cta-banner h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  max-width: 760px;
  padding: 0 24px;
  letter-spacing: -0.02em;
}
.cta-banner h2 .accent { color: var(--amber); }
.cta-banner .btn { position: relative; z-index: 1; margin-top: 24px; }

/* =========================================================
   15. UTILITIES
   ========================================================= */

/* Image placeholder system — for mockups only.
   Add data-label="WHAT GOES HERE" to label image slots while design is in flux.
   Remove this once real images are wired in. */
.img-slot {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
}
.img-slot::after {
  content: attr(data-label);
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(20,20,20,0.78);
  color: var(--amber);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
  pointer-events: none;
}
.img-slot.real::after { display: none; }

/* Grids */
.grid-auto-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid-auto-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-2-13 { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
.grid-2-31 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; }

/* =========================================================
   16. RESPONSIVE
   Single breakpoint: 900px.
   Below this, multi-column grids collapse to single column.
   ========================================================= */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .search-card { grid-template-columns: 1fr; }
  .grid-2, .grid-2-13, .grid-2-31,
  .hero-split-grid, .value-grid, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial.featured { transform: none; }
  .hero-split-image { height: 280px; }
  :root { --space-section: 64px; }
}
