/* ===================================================================
   GlobalBridge Sourcing — Design System
   Palette:  Navy #0B1B33 / Deep Navy #071426 / Paper #F6F4EE
             Charcoal #1B1F27 / Gray #8891A0 / Gold #B4924C / Gold Light #D9BE84
   Display:  Manrope (700/800)   Body: Inter (400/500/600)
   =================================================================== */

:root {
  --navy: #0b1b33;
  --navy-deep: #071426;
  --navy-mid: #12294a;
  --paper: #f6f4ee;
  --paper-dim: #efece3;
  --white: #ffffff;
  --ink: #1b1f27;
  --gray: #8891a0;
  --gray-light: #c7cbd3;
  --gold: #b4924c;
  --gold-light: #d9be84;
  --gold-dim: #8a6f3a;
  --line: rgba(11, 27, 51, 0.1);
  --line-on-dark: rgba(217, 190, 132, 0.18);

  --font-display: "Manrope", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1180px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --section-pad: clamp(4.5rem, 9vw, 8.5rem);

  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 800; letter-spacing: -0.01em; color: var(--navy); }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding: var(--section-pad) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--dark { background: var(--navy); color: var(--paper); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--alt { background: var(--paper-dim); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.section--dark .eyebrow { color: var(--gold-light); }
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.65rem); line-height: 1.15; margin-top: 0.9rem; }
.section-head p { margin-top: 1.1rem; color: var(--gray); font-size: 1.05rem; line-height: 1.65; }
.section--dark .section-head p { color: #b9c0cd; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.7rem;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: rgba(255,255,255,0.3); color: var(--white); }
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-outline-dark { border-color: var(--line); color: var(--navy); }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold-dim); }
.btn-ghost { color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--gold); padding: 0.2rem 0; border-radius: 0; }
.section--dark .btn-ghost { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 27, 51, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-on-dark);
  transition: padding 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 0;
  transition: padding 0.3s ease;
}
.site-header.is-scrolled .header-inner { padding: 0.8rem 0; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.1;
}
.brand-name span { display: block; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.24em; color: var(--gold-light); text-transform: uppercase; margin-top: 0.25rem; }

.nav-desktop { display: flex; align-items: center; gap: 2.4rem; }
.nav-desktop a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #d3d8e0;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s ease;
}
.nav-desktop a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--gold);
  transition: right 0.3s var(--ease);
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--white); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 1.4rem; }
.nav-toggle {
  display: none;
  background: none; border: none; padding: 0.4rem;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--white); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed; inset: 0; top: 64px;
  background: var(--navy-deep);
  z-index: 99;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
  flex-direction: column;
  gap: 0.4rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-mobile.is-open { display: flex; opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-mobile a { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--white); padding: 0.85rem 0; border-bottom: 1px solid var(--line-on-dark); }
.nav-mobile .btn { margin-top: 1.5rem; align-self: flex-start; }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .header-actions .btn-gold { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  padding: clamp(6rem, 13vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 78% 15%, rgba(180, 146, 76, 0.16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 60%);
  z-index: 0;
}
.hero-graphic { position: absolute; inset: 0; z-index: 0; opacity: 0.9; }
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero .eyebrow { color: var(--gold-light); margin-bottom: 1.6rem; }
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-sub {
  margin-top: 1.6rem;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: #c3cad6;
  max-width: 560px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }
.hero-meta {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: clamp(1.75rem, 4vw, 3.5rem);
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-on-dark);
}
.hero-meta div span { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--white); }
.hero-meta div small { display: block; margin-top: 0.35rem; font-size: 0.78rem; color: #9aa3b3; letter-spacing: 0.03em; }

/* ---------- Value strip ---------- */
.value-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.value-item {
  padding: 2.6rem 1.6rem;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.9rem;
}
.value-item:last-child { border-right: none; }
.value-item svg { width: 26px; height: 26px; color: var(--gold); }
.value-item h3 { font-size: 0.98rem; font-weight: 700; letter-spacing: -0.005em; }
@media (max-width: 980px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(2) { border-right: none; }
  .value-item { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } .value-item { border-right: none !important; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.about-visual { position: sticky; top: 110px; }
.about-copy p { color: var(--gray); font-size: 1.05rem; line-height: 1.75; }
.about-copy p + p { margin-top: 1.3rem; }
.about-points { margin-top: 2.4rem; display: grid; gap: 1.1rem; }
.about-point { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.about-point svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 0.2rem; }
.about-point strong { display: block; font-family: var(--font-display); font-size: 0.98rem; margin-bottom: 0.25rem; color: var(--navy); }
.about-point span { color: var(--gray); font-size: 0.94rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-visual { position: static; } }

/* ---------- Services ---------- */
.service-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-row {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 90px 1.1fr 1.4fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  transition: background 0.35s ease;
}
.service-row:hover { background: var(--paper-dim); }
.service-index { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--gold-light); -webkit-text-stroke: 1px var(--gold); color: transparent; }
.service-row h3 { font-size: 1.32rem; line-height: 1.25; }
.service-row .service-tag { display: block; margin-top: 0.6rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dim); }
.service-body p { color: var(--gray); line-height: 1.7; font-size: 1rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.2rem; }
.service-tags span { font-size: 0.82rem; padding: 0.4rem 0.8rem; border: 1px solid var(--line); border-radius: 2px; color: var(--navy); background: var(--paper); }
.service-note { margin-top: 1.2rem; font-size: 0.88rem; color: var(--gray); font-style: italic; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; } .service-index { font-size: 1.1rem; } }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.industry-card {
  background: var(--navy);
  color: var(--white);
  padding: 2.2rem 1.7rem;
  min-height: 168px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}
.industry-card:hover { background: var(--navy-mid); }
.industry-card .num { font-family: var(--font-display); font-size: 0.78rem; color: var(--gold-light); letter-spacing: 0.08em; }
.industry-card h3 { color: var(--white); font-size: 1.08rem; font-weight: 700; margin-top: auto; }
.industry-card svg { position: absolute; right: -8px; bottom: -8px; width: 64px; height: 64px; opacity: 0.08; }

/* ---------- Process ---------- */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2rem); counter-reset: step; }
.process-step { position: relative; padding-top: 1.6rem; }
.process-step::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 1px; background: var(--gold); }
.process-num { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--gold-dim); letter-spacing: 0.05em; }
.process-step h3 { margin-top: 0.9rem; font-size: 1.12rem; line-height: 1.3; }
.process-step p { margin-top: 0.7rem; color: var(--gray); font-size: 0.94rem; line-height: 1.6; }
@media (max-width: 860px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }

/* ---------- Opportunities ---------- */
.opp-empty {
  border: 1px dashed var(--line-on-dark);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  background: var(--navy-mid);
  border-radius: 2px;
}
.opp-empty svg { width: 46px; height: 46px; color: var(--gold-light); }
.opp-empty h3 { color: var(--white); font-size: 1.3rem; max-width: 480px; }
.opp-empty p { color: #b9c0cd; max-width: 480px; line-height: 1.6; }
.opp-filters { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 2.6rem; }
.opp-filters span { font-size: 0.85rem; padding: 0.55rem 1.1rem; border: 1px solid var(--line-on-dark); border-radius: 2px; color: #c3cad6; }
.opp-filters span:first-child { border-color: var(--gold); color: var(--gold-light); }

/* ---------- Why cards ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 3rem; }
.why-card { background: var(--white); padding: 2.4rem; display: flex; flex-direction: column; gap: 1rem; }
.why-card svg { width: 24px; height: 24px; color: var(--gold); }
.why-card h3 { font-size: 1.05rem; }
.why-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.65; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 90% at 12% 100%, rgba(180,146,76,0.14), transparent 60%);
}
.cta-band-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2.5rem; }
.cta-band h2 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.7rem); max-width: 560px; }
.cta-band p { margin-top: 1rem; color: #c3cad6; max-width: 480px; line-height: 1.6; }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
.contact-info { color: var(--paper); }
.contact-info h2 { color: var(--white); }
.contact-info > p { margin-top: 1.2rem; color: #b9c0cd; line-height: 1.7; }
.contact-detail { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-on-dark); }
.contact-detail dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.contact-detail dd { margin: 0.4rem 0 1.6rem; color: #d3d8e0; font-size: 0.98rem; }

.form-card { background: var(--white); padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.form-field label .opt { color: var(--gray); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.85rem 1rem;
  font-size: 0.96rem;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 1.8rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.form-note { font-size: 0.82rem; color: var(--gray); }
.form-success { display: none; padding: 1.4rem; border: 1px solid var(--gold); background: var(--paper-dim); color: var(--navy); font-size: 0.95rem; margin-top: 1.4rem; }
.form-success.is-visible { display: block; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aeb5c2; padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: clamp(2rem, 5vw, 3rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line-on-dark); }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { margin-top: 1.1rem; font-size: 0.92rem; line-height: 1.65; max-width: 300px; color: #9aa3b3; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col a { font-size: 0.92rem; color: #b9c0cd; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 0.4rem; }
.footer-social a { width: 34px; height: 34px; border: 1px solid var(--line-on-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color 0.25s ease; }
.footer-social svg { width: 15px; height: 15px; }
.footer-social a:hover { border-color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.8rem; font-size: 0.82rem; color: #7c8494; }
.footer-bottom a { color: #7c8494; }
.footer-bottom a:hover { color: var(--gold-light); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Disclaimer bar ---------- */
.disclaimer {
  background: var(--paper-dim);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.6rem 0;
}
.disclaimer p { font-size: 0.83rem; color: var(--gray); line-height: 1.6; max-width: 900px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy-deep);
  color: var(--white);
  padding: clamp(4.5rem, 9vw, 6.5rem) 0 clamp(3rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 85% 0%, rgba(180,146,76,0.14), transparent 60%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin-top: 1rem; line-height: 1.12; }
.page-hero p { margin-top: 1.3rem; color: #c3cad6; font-size: 1.05rem; line-height: 1.65; max-width: 600px; }
.breadcrumb { font-size: 0.85rem; color: #8f97a6; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.35rem; margin-top: 2.6rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--gray); font-size: 1rem; line-height: 1.75; margin-top: 1rem; }
.legal-body ul { margin-top: 1rem; padding-left: 1.3rem; }
.legal-body li { list-style: disc; margin-top: 0.5rem; }
.legal-updated { font-size: 0.85rem; color: var(--gray); margin-top: 0.8rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }
