/* ============================================================
   ALM — Africa Logistics & Marine | style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root {
  --ink:    #0E1117;
  --paper:  #F5F2ED;
  --ocean:  #0C3B5E;
  --rust:   #C45A22;
  --mist:   #8EA8BB;
  --white:  #FFFFFF;
  --border: rgba(14,17,23,0.12);
  --display:'Bebas Neue', sans-serif;
  --body:   'Inter', sans-serif;
  --mono:   'Space Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--paper); color: var(--ink); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  background: rgba(245,242,237,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: var(--display); font-size: 26px; letter-spacing: 3px; color: var(--ocean); text-decoration: none; }
.nav-logo span { color: var(--rust); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink); text-decoration: none; opacity: .55; transition: opacity .2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a.active { border-bottom: 2px solid var(--rust); padding-bottom: 2px; }
.nav-cta {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--ocean); color: var(--white); border: none;
  padding: 10px 20px; cursor: pointer; text-decoration: none; transition: background .2s; display: inline-block;
}
.nav-cta:hover { background: var(--rust); }
.nav-lang { display: flex; gap: 10px; margin-left: 20px; }
.nav-lang a { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--ink); opacity: .4; text-decoration: none; text-transform: uppercase; transition: opacity .2s; }
.nav-lang a:hover, .nav-lang a.active { opacity: 1; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: .3s; }
.nav-mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--paper); border-bottom: 2px solid var(--rust);
  padding: 24px 32px; z-index: 99; flex-direction: column; gap: 18px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a { font-family: var(--mono); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); text-decoration: none; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top: 68px; min-height: 280px;
  background: var(--ocean);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-left: 64px; padding-right: 64px; padding-bottom: 56px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.04) 39px, rgba(255,255,255,.04) 40px),
              repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.04) 39px, rgba(255,255,255,.04) 40px);
}
.page-hero-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--mist); margin-bottom: 12px; position: relative; }
.page-hero-title { font-family: var(--display); font-size: clamp(48px,5vw,80px); line-height: .95; color: var(--white); position: relative; }
.page-hero-title .accent { color: var(--rust); }
.page-hero-sub { font-size: 15px; color: rgba(255,255,255,.6); margin-top: 16px; max-width: 560px; position: relative; }
.breadcrumb { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 24px; position: relative; }
.breadcrumb a { color: var(--mist); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── TICKER ── */
.ticker { background: var(--rust); padding: 11px 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-block; animation: ticker 28s linear infinite; }
.ticker-inner span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--white); padding: 0 36px; }
.ticker-inner span::after { content: '·'; margin-left: 36px; opacity: .5; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── SHARED LAYOUT ── */
section { padding: 88px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section-label { font-family: var(--mono); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--rust); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.section-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--rust); }
.section-title { font-family: var(--display); font-size: clamp(36px,4vw,60px); line-height: 1; color: var(--ink); margin-bottom: 18px; }
.section-sub { font-size: 15.5px; line-height: 1.7; color: rgba(14,17,23,.6); max-width: 560px; }

/* light label variant for dark sections */
.light .section-label { color: var(--mist); }
.light .section-label::before { background: var(--mist); }
.light .section-title { color: var(--white); }
.light .section-sub { color: rgba(255,255,255,.5); }

/* ── BUTTONS ── */
.btn { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; padding: 13px 26px; text-decoration: none; transition: .2s; border: none; cursor: pointer; }
.btn-primary { background: var(--rust); color: var(--white); }
.btn-primary:hover { opacity: .85; }
.btn-ocean { background: var(--ocean); color: var(--white); }
.btn-ocean:hover { background: var(--rust); }
.btn-outline-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--ocean); border: 1px solid var(--ocean); }
.btn-outline-dark:hover { background: var(--ocean); color: var(--white); }

/* ── CARDS ── */
.card-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 56px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-top: 56px; }

/* ── SERVICE CARD ── */
.service-card { background: var(--white); padding: 44px 36px; border-left: 4px solid transparent; transition: border-color .25s; }
.service-card:hover { border-left-color: var(--rust); }
.service-num { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--rust); margin-bottom: 18px; opacity: .7; }
.service-title { font-family: var(--display); font-size: 28px; color: var(--ocean); margin-bottom: 14px; line-height: 1.1; }
.service-list { list-style: none; margin-top: 14px; }
.service-list li { font-size: 13px; color: rgba(14,17,23,.6); padding: 7px 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.service-list li::before { content: '→'; color: var(--rust); flex-shrink: 0; font-size: 11px; margin-top: 2px; }

/* ── INTEGRATED CARD ── */
.int-card { background: rgba(255,255,255,.06); padding: 32px 26px; transition: background .25s; }
.int-card:hover { background: rgba(255,255,255,.10); }
.int-icon { font-size: 30px; margin-bottom: 18px; }
.int-title { font-family: var(--display); font-size: 20px; color: var(--white); margin-bottom: 10px; letter-spacing: .5px; line-height: 1.15; }
.int-desc { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.5); }

/* ── VALUE CARD ── */
.value-card { background: rgba(255,255,255,.04); padding: 36px 26px; border-top: 3px solid transparent; transition: border-color .25s, background .25s; cursor: default; }
.value-card:hover { border-top-color: var(--rust); background: rgba(255,255,255,.07); }
.value-icon { font-size: 26px; margin-bottom: 18px; }
.value-name { font-family: var(--display); font-size: 22px; color: var(--white); margin-bottom: 10px; }
.value-desc { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.45); }

/* ── STRENGTH ITEM ── */
.strength-item { background: var(--white); padding: 26px 30px; display: flex; gap: 18px; align-items: flex-start; border-left: 3px solid transparent; transition: border-color .2s; }
.strength-item:hover { border-left-color: var(--rust); }
.str-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.str-title { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ocean); margin-bottom: 5px; }
.str-desc { font-size: 13px; line-height: 1.65; color: rgba(14,17,23,.55); }

/* ── CONTACT / FORM ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.4); }
.form-label.dark { color: rgba(14,17,23,.5); }
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: var(--white); padding: 13px 15px; font-family: var(--body); font-size: 14px; outline: none; transition: border-color .2s;
}
.form-input.light-field, .form-select.light-field, .form-textarea.light-field {
  background: var(--paper); border: 1px solid var(--border); color: var(--ink);
}
.form-select option { background: var(--ink); }
.form-select.light-field option { background: var(--white); color: var(--ink); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--rust); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,.2); }
.form-input.light-field::placeholder, .form-textarea.light-field::placeholder { color: rgba(14,17,23,.3); }
.contact-block .cb-label { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--mist); margin-bottom: 7px; }
.contact-block .cb-value { font-size: 15px; color: var(--white); line-height: 1.65; }
.contact-block .cb-value a { color: var(--rust); text-decoration: none; }
.contact-block .cb-value a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer { background: rgba(0,0,0,.38); padding: 36px 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-logo { font-family: var(--display); font-size: 22px; letter-spacing: 3px; color: var(--white); text-decoration: none; }
.footer-logo span { color: var(--rust); }
.footer-copy { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: rgba(255,255,255,.3); text-transform: uppercase; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--rust); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── TRACKING LOGOS ── */
.tracking-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 28px; }
.tracking-logo { border: 1px solid var(--border); padding: 12px 20px; background: var(--white); display: flex; align-items: center; justify-content: center; transition: border-color .2s; text-decoration: none; min-width: 120px; }
.tracking-logo:hover { border-color: var(--ocean); }
.tracking-logo span { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ocean); font-weight: 700; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links, .nav-cta, .nav-lang { display: none; }
  .nav-hamburger { display: flex; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .container { padding: 0 22px; }
  .page-hero { padding-left: 24px; padding-right: 24px; }
  footer { flex-direction: column; align-items: flex-start; }
}
