/* ═══════════════════════════════════════════════
   SUPPLY CHAIN SERVICES — style.css
   Benchmarked against top consulting firms
   Mobile-first, semantic, conversion-optimized
   ═══════════════════════════════════════════════ */

/* ── Reset & Variables ── */
:root {
  --navy:   #0d1f4e;
  --blue:   #1a4db8;
  --blue-hover: #163fa0;
  --teal:   #0891b2;
  --teal-light: #e0f2fe;
  --accent: #f59e0b;
  --white:  #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.15);
  --radius: 12px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-w: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ═══ NAVIGATION ═══ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--navy);
}
.logo-mark {
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .1em;
  padding: .3rem .55rem;
  border-radius: 6px;
}
.logo-text {
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
  letter-spacing: -.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: .55rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--blue-hover) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: .3s;
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 1.5rem 5rem;
  background: linear-gradient(135deg, var(--navy) 0%, #1a2f6e 50%, #0d3a5e 100%);
  position: relative;
  overflow: hidden;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { max-width: 620px; padding: 0 3rem 0 calc((100vw - var(--max-w)) / 2 + 1.5rem); position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
.hero-accent {
  background: linear-gradient(90deg, var(--accent) 0%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 48ch;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.stat { display: flex; flex-direction: column; }
.stat strong { color: var(--white); font-size: 1.4rem; font-weight: 800; line-height: 1; }
.stat span { color: rgba(255,255,255,.6); font-size: .75rem; margin-top: .2rem; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding-right: calc((100vw - var(--max-w)) / 2 + 1.5rem);
}
.hero-card-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 320px;
}
.hc {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: transform .3s, background .3s;
}
.hc:hover { transform: translateY(-4px); background: rgba(255,255,255,.15); }
.hc-icon { font-size: 2rem; margin-bottom: .5rem; }
.hc-label { color: var(--white); font-size: .82rem; font-weight: 600; }
.hc-2 { margin-top: 1.5rem; }
.hc-4 { margin-top: -1.5rem; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  padding: .75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  transition: all .2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,77,184,.35); }
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.25);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
  font-weight: 700;
}
.btn-white:hover { background: var(--gray-100); transform: translateY(-1px); }
.btn-large { padding: 1rem 2.25rem; font-size: 1rem; }

/* ═══ TRUST BAR ═══ */
.trust-bar {
  background: var(--gray-900);
  padding: 1.25rem 0;
}
.trust-bar .container { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.trust-label { color: var(--gray-400); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.trust-items {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-items span {
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  font-weight: 500;
  padding: .2rem .75rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
}

/* ═══ SECTIONS ═══ */
.section { padding: 5rem 0; }
.section-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.03em;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.section-sub {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ═══ TEAMS ═══ */
.teams-section { background: var(--gray-50); }
.teams-section .container { text-align: center; }
.teams-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
.team-solutions { border-top: 4px solid var(--blue); }
.team-support { border-top: 4px solid var(--teal); }
.team-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.team-card h3 { font-size: 1.4rem; color: var(--navy); font-weight: 800; margin-bottom: .3rem; }
.team-tagline { color: var(--gray-400); font-size: .82rem; font-style: italic; margin-bottom: 1rem; }
.team-card > p { color: var(--gray-600); line-height: 1.7; margin-bottom: 1.25rem; font-size: .95rem; }
.team-list { padding: 0; }
.team-list li {
  color: var(--gray-700);
  font-size: .88rem;
  padding: .4rem 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.team-list li::before { content: '→'; color: var(--blue); font-weight: 700; }
.team-support .team-list li::before { color: var(--teal); }

/* ═══ PILLARS ═══ */
.pillars-section { background: var(--navy); }
.pillars-section .section-label { color: var(--accent); }
.pillars-section .section-title { color: var(--white); }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pillar {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: background .3s;
}
.pillar:hover { background: rgba(255,255,255,.1); }
.pillar-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.1);
  line-height: 1;
  margin-bottom: .75rem;
}
.pillar h3 { color: var(--white); font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; }
.pillar p { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.7; }

/* ═══ PROCESS ═══ */
.process-section { background: var(--white); }
.process-section .container { text-align: center; }
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 3rem;
  text-align: left;
}
.process-step {
  flex: 1;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
}
.ps-num {
  width: 40px; height: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin-bottom: 1rem;
}
.process-step h4 { color: var(--navy); font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.process-step p { color: var(--gray-600); font-size: .9rem; line-height: 1.6; }
.process-arrow {
  font-size: 1.5rem;
  color: var(--gray-400);
  padding-top: 2.75rem;
  flex-shrink: 0;
}

/* ═══ CTA BANNER ═══ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  padding: 5rem 0;
}
.cta-content { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-content h2 { color: var(--white); font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,.85); font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; }

/* ═══ FOOTER ═══ */
.site-footer {
  background: var(--gray-900);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 2rem;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 1rem;
}
.footer-brand p { color: var(--gray-400); font-size: .88rem; line-height: 1.6; margin-bottom: 1rem; }
.footer-email { color: var(--teal); font-size: .88rem; }
.footer-email:hover { color: var(--white); }
.site-footer h4 { color: var(--white); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer-nav ul li, .footer-services ul li { padding: .35rem 0; }
.footer-nav a { color: var(--gray-400); font-size: .88rem; transition: color .2s; }
.footer-nav a:hover { color: var(--white); }
.footer-services ul li { color: var(--gray-400); font-size: .88rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { color: var(--gray-400); font-size: .8rem; }

/* ═══ SERVICES PAGE ═══ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2f6e 100%);
  padding: 120px 0 5rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 52ch; margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow .3s, transform .3s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card .sc-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--navy); font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.service-card p { color: var(--gray-600); font-size: .88rem; line-height: 1.6; }

/* ═══ CONTACT PAGE ═══ */
.contact-section { padding: 5rem 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
.contact-form { background: var(--gray-50); border-radius: var(--radius); padding: 2.5rem; border: 1px solid var(--gray-200); }
.contact-form h3 { color: var(--navy); font-size: 1.4rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--gray-700); margin-bottom: .4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,77,184,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info h3 { color: var(--navy); font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.contact-info p { color: var(--gray-600); line-height: 1.7; margin-bottom: 2rem; }
.ci-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.ci-icon { width: 40px; height: 40px; background: var(--teal-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ci-text strong { display: block; color: var(--navy); font-size: .88rem; margin-bottom: .2rem; }
.ci-text span, .ci-text a { color: var(--gray-600); font-size: .9rem; }
.ci-text a:hover { color: var(--blue); }

/* ═══ TEAM PAGE ═══ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.member-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s;
}
.member-card:hover { box-shadow: var(--shadow); }
.member-avatar {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.member-info { padding: 1.5rem; }
.member-info h3 { color: var(--navy); font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; }
.member-role { color: var(--blue); font-size: .82rem; font-weight: 600; margin-bottom: .75rem; }
.member-bio { color: var(--gray-600); font-size: .85rem; line-height: 1.6; }

/* ═══ MOBILE ═══ */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 100px 1.5rem 3rem;
    min-height: auto;
  }
  .hero-content { padding: 0; max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .teams-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); padding: 0; align-self: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--gray-100); }
  .nav-links a { padding: 1rem 1.5rem; display: block; }
  .nav-cta { margin: .75rem 1.5rem; text-align: center; }
  .trust-bar .container { flex-direction: column; gap: 1rem; }
  .trust-items { justify-content: center; }
}

@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .btn-large { padding: .85rem 1.75rem; }
}
