/* =========================================================
   WHSCS — Wilfried Hugebaert Supply Chain Solutions
   Global Supply Chain & Transportation Consultancy
   Stylesheet
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #071528;
  --navy-800: #0b2545;
  --navy-700: #113563;
  --navy-600: #17457f;
  --gold-500: #c8a24c;
  --gold-400: #d6b667;
  --gold-300: #e5cf9a;
  --slate-700: #33475b;
  --slate-500: #5a6b7b;
  --slate-300: #98a6b4;
  --paper: #f7f8fa;
  --paper-2: #eef1f5;
  --white: #ffffff;
  --ink: #0f1a26;

  --maxw: 1200px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(7, 21, 40, 0.08), 0 1px 2px rgba(7, 21, 40, 0.06);
  --shadow-md: 0 10px 30px rgba(7, 21, 40, 0.10);
  --shadow-lg: 0 24px 60px rgba(7, 21, 40, 0.18);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-600); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold-500); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 92px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}

.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.18rem; color: var(--slate-700); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.btn-primary { background: var(--gold-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-400); color: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: var(--gold-400); color: var(--gold-300); }
.btn-dark { background: var(--navy-800); color: var(--white); }
.btn-dark:hover { background: var(--navy-700); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--paper-2);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--navy-800);
  letter-spacing: 0.5px;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-top: 4px;
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-700);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold-500);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy-800); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--navy-800);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  margin: 0 auto;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(7,21,40,0.94) 0%, rgba(11,37,69,0.86) 45%, rgba(17,53,99,0.72) 100%),
    radial-gradient(1200px 600px at 80% -10%, rgba(200,162,76,0.22), transparent 60%),
    var(--navy-900);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 500px at 70% 20%, #000, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 760px; padding: 120px 0 128px; }
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--gold-400); }
.hero-lead {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-meta .stat-num { font-family: var(--font-head); font-size: 2.2rem; color: var(--gold-400); line-height: 1; }
.hero-meta .stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 8px; letter-spacing: 0.4px; }

/* page hero (interior) */
.page-hero {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7,21,40,0.95), rgba(17,53,99,0.78)),
    var(--navy-900);
  padding: 84px 0 74px;
  position: relative;
}
.page-hero .breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 14px; letter-spacing: 0.4px; }
.page-hero .breadcrumb a { color: var(--gold-300); }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 640px; font-size: 1.12rem; margin: 0; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--navy-800);
  color: rgba(255,255,255,0.85);
  padding: 34px 0;
}
.trust-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 22px 44px; justify-content: center; }
.trust-label { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-400); }
.trust-items { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: center; }
.trust-items span {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  display: inline-flex; align-items: center; gap: 8px;
}
.trust-items span::before { content: ""; width: 6px; height: 6px; background: var(--gold-500); border-radius: 50%; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-600));
  color: var(--gold-400);
  margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate-700); font-size: 0.98rem; margin: 0; }

.card-num {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--gold-500);
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}

/* alt background */
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy-900); color: rgba(255,255,255,0.85); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy .lead { color: rgba(255,255,255,0.78); }
.bg-navy .eyebrow { color: var(--gold-400); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 360px;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  position: relative;
  display: grid; place-items: center;
}
.split-media .media-badge {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(7,21,40,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--white);
}
.split-media .media-badge strong { color: var(--gold-400); font-family: var(--font-head); }

.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.checklist li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(200,162,76,0.16);
  color: var(--gold-500);
  display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700;
  margin-top: 2px;
}

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats-band .stat-num { font-family: var(--font-head); font-size: 2.8rem; color: var(--gold-400); line-height: 1; }
.stats-band .stat-label { color: rgba(255,255,255,0.72); margin-top: 10px; font-size: 0.9rem; }

/* ---------- Leadership ---------- */
.leader {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}
.leader-photo {
  aspect-ratio: 3 / 3.4;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  display: grid; place-items: center;
  color: var(--gold-400);
  font-family: var(--font-head);
  font-size: 3.4rem;
  box-shadow: var(--shadow-md);
}
.leader h3 { margin-bottom: 4px; }
.leader .role { color: var(--gold-500); font-weight: 600; letter-spacing: 0.4px; margin-bottom: 18px; }

/* ---------- Sector list ---------- */
.sector {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--paper-2);
  align-items: start;
}
.sector:last-child { border-bottom: 1px solid var(--paper-2); }
.sector .sector-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: var(--navy-800);
  color: var(--gold-400);
  display: grid; place-items: center;
}
.sector .sector-icon svg { width: 30px; height: 30px; }
.sector h3 { margin-bottom: 6px; }
.sector p { color: var(--slate-700); margin: 0; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.step:last-child { border-bottom: none; }
.step .step-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--gold-400);
  line-height: 1;
}
.step h3 { color: var(--white); margin-bottom: 6px; }
.step p { color: rgba(255,255,255,0.72); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(120deg, rgba(200,162,76,0.14), transparent 60%),
    var(--navy-900);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 30px; font-size: 1.12rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-detail { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-detail .ci {
  width: 46px; height: 46px; flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(200,162,76,0.14);
  color: var(--gold-500);
  display: grid; place-items: center;
}
.contact-detail .ci svg { width: 22px; height: 22px; }
.contact-detail h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--slate-500); margin: 2px 0 4px; }
.contact-detail a, .contact-detail p { font-size: 1.05rem; color: var(--navy-800); margin: 0; font-weight: 500; }

.form-card {
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--slate-700); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--paper-2);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(200,162,76,0.18);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--slate-500); margin-top: 4px; }
.form-status { margin-top: 16px; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #1f7a4d; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--paper-2); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 40px 24px 0;
  font-family: var(--font-head);
  font-size: 1.18rem;
  color: var(--navy-800);
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--gold-500); font-family: var(--font-body);
  transition: transform 0.25s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-a p { color: var(--slate-700); padding-bottom: 24px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 72px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: var(--slate-300); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin-top: 16px; max-width: 320px; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-400); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255,255,255,0.68); font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .leader { grid-template-columns: 1fr; text-align: center; }
  .leader-photo { max-width: 260px; margin: 0 auto; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  section { padding: 66px 0; }
  .nav-links {
    position: fixed;
    top: 74px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 28px;
    box-shadow: var(--shadow-md);
    transform: translateY(-140%);
    transition: transform 0.35s var(--ease);
    height: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { border-bottom: 1px solid var(--paper-2); }
  .nav-links a { display: block; padding: 16px 0; }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-inner { padding: 84px 0 90px; }
  .hero-meta { gap: 28px; }
}
