/* ==========================================================================
   ADAC Cargo Cameroon — shared stylesheet
   Plain CSS, no build step, no framework dependency.
   ========================================================================== */

:root {
  --brand-50:  #eef3ff;
  --brand-100: #dce6ff;
  --brand-200: #b3c9ff;
  --brand-500: #2f5bea; /* royal blue */
  --brand-600: #2247c2;
  --brand-700: #1a3798;
  --navy-900:  #0b1a3a; /* dark navy */
  --navy-800:  #0f2148;
  --accent:      #e0a63a; /* gold/orange for key CTAs */
  --accent-dark: #c8871f;
  --surface-light: #f5f8fc;
  --surface-pale:  #eef3fb;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --white: #ffffff;
  --shadow-card: 0 2px 10px 0 rgba(11, 26, 58, 0.08);
  --shadow-card-hover: 0 8px 24px 0 rgba(11, 26, 58, 0.14);
  --radius: 1.25rem;
  --max-width: 1280px;
}

* { 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;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--navy-900);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand-600);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
}

/* Layout helpers -------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) { .container { padding: 0 2rem; } }

.section { padding: 3.5rem 0; }
.section-sm { padding: 2.5rem 0; }
@media (min-width: 640px) {
  .section { padding: 5rem 0; }
}

.bg-navy { background: var(--navy-900); color: #fff; }
.bg-light { background: var(--surface-light); }
.bg-pale { background: var(--surface-pale); }
.bg-brand { background: var(--brand-600); color: #fff; }
.text-center { text-align: center; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-600);
}
.bg-navy .eyebrow, .bg-brand .eyebrow { color: var(--brand-200); }

/* Grid utilities ---------------------------------------------------------*/
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}
.grid-center { align-items: center; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1.5rem; }

/* Buttons ----------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-align: center;
}
.btn-primary { background: var(--brand-500); color: #fff; }
.btn-primary:hover { background: var(--brand-600); }
.btn-accent { background: var(--accent); color: var(--navy-900); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--brand-600); }
.btn-outline-navy { border-color: var(--brand-500); color: var(--brand-600); background: transparent; }
.btn-outline-navy:hover { background: var(--brand-500); color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.btn-block { width: 100%; }

/* Header / Nav -------------------------------------------------------------*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--slate-200);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}
.brand-text {
  display: none;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong { font-size: 0.82rem; letter-spacing: 0.03em; }
.brand-text span { font-size: 0.7rem; letter-spacing: 0.03em; color: var(--slate-600); }
@media (min-width: 640px) { .brand-text { display: flex; } }

.primary-nav { display: none; }
@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }
}
.primary-nav a, .nav-dropdown > button {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  font-weight: 500;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  color: var(--navy-900);
}
.primary-nav a:hover, .nav-dropdown > button:hover { background: var(--surface-pale); color: var(--brand-600); }

.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: 14rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 0.6rem;
  padding: 0.4rem 0;
  box-shadow: var(--shadow-card-hover);
}
.nav-dropdown-panel a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  color: var(--navy-900);
}
.nav-dropdown-panel a:hover { background: var(--surface-pale); color: var(--brand-600); }
.nav-dropdown.open .nav-dropdown-panel,
.nav-dropdown:hover .nav-dropdown-panel { display: block; }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: block; } }

.hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--navy-900);
}
@media (min-width: 1024px) { .hamburger { display: none; } }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--slate-200);
  background: #fff;
}
.mobile-nav.open { display: block; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }
.mobile-nav ul { list-style: none; padding: 0.75rem 0; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-900);
}
.mobile-nav a:hover { background: var(--surface-pale); }
.mobile-nav .sub-list { list-style: none; margin-left: 1rem; padding-left: 0.75rem; border-left: 1px solid var(--slate-200); }
.mobile-nav .sub-list a { font-size: 0.85rem; color: var(--slate-600); }
.mobile-nav .mobile-cta { padding: 0.5rem 0.75rem 0; }

/* Hero ---------------------------------------------------------------------*/
.hero {
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.8;
  width: 100%;
  height: 100%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,26,58,0.78), rgba(11,26,58,0.58) 55%, rgba(11,26,58,0.32));
}
.hero-content { position: relative; max-width: 640px; }
.hero h1 { color: #fff; font-size: 2rem; margin-top: 0.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.55); }
.hero p.lede { color: #f1f5f9; font-size: 1rem; max-width: 34rem; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.hero .eyebrow { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
@media (min-width: 640px) { .hero h1 { font-size: 2.6rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3rem; } }

.page-hero {
  background-color: var(--navy-900);
  background-image: linear-gradient(to right, rgba(11,26,58,0.72), rgba(11,26,58,0.55) 60%, rgba(11,26,58,0.35)), url("../images/hero-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero h1 { color: #fff; font-size: 2rem; max-width: 42rem; text-shadow: 0 2px 10px rgba(0,0,0,0.55); }
.page-hero .eyebrow { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.page-hero p { color: var(--slate-200); max-width: 40rem; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
@media (min-width: 640px) { .page-hero h1 { font-size: 2.5rem; } }

/* Cards ----------------------------------------------------------------- */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease;
  padding: 1.5rem;
}
.card:hover { box-shadow: var(--shadow-card-hover); }
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 3rem;
  border-radius: 0.6rem;
  background: var(--brand-50);
  color: var(--brand-600);
  margin-bottom: 1rem;
}
.bg-navy .card-icon, .icon-on-dark {
  background: var(--brand-500);
  color: #fff;
}
.card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.card p { font-size: 0.9rem; color: var(--slate-600); margin-bottom: 0.9rem; }
.card-link { font-size: 0.88rem; font-weight: 600; color: var(--brand-600); display: inline-flex; align-items: center; gap: 0.3rem; }

.step-card {
  position: relative;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.fact-strip { background: var(--navy-900); }
.fact-item { text-align: center; }
.fact-item .value { font-size: 1.6rem; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .fact-item .value { font-size: 1.9rem; } }
.fact-item .label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand-200); margin-top: 0.25rem; }

/* CTA band ---------------------------------------------------------------*/
.cta-band {
  background: var(--brand-600);
  padding: 3rem 0;
}
.cta-band .inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .cta-band .inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cta-band h2 { color: #fff; font-size: 1.5rem; margin-bottom: 0.4rem; }
.cta-band p { color: var(--brand-50); font-size: 0.95rem; margin: 0; max-width: 36rem; }

/* Notifications ------------------------------------------------------------*/
.notice {
  border-radius: 0.6rem;
  border: 1px solid;
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}
.notice-title { font-weight: 700; margin-bottom: 0.25rem; display: block; }
.notice-info { border-color: var(--brand-200); background: var(--brand-50); color: var(--brand-700); }
.notice-success { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }
.notice-warning { border-color: #fcd34d; background: #fffbeb; color: #78350f; }

.placeholder-note {
  border: 1px dashed var(--accent-dark);
  background: #fffaf0;
  border-radius: 0.4rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy-900);
  display: inline-block;
}

/* Forms --------------------------------------------------------------------*/
form fieldset { border: none; padding: 0; margin: 0 0 2rem; }
form legend { font-size: 1.1rem; font-weight: 700; color: var(--navy-900); padding: 0 0 1rem; }
.form-label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.3rem; }
.required { color: #b91c1c; }
.form-input {
  width: 100%;
  border: 1px solid var(--slate-300);
  border-radius: 0.4rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--navy-900);
  background: #fff;
}
.form-input:focus { border-color: var(--brand-500); }
textarea.form-input { min-height: 7rem; resize: vertical; }
.form-row { margin-bottom: 1rem; }
.form-error { color: #b91c1c; font-size: 0.78rem; margin-top: 0.25rem; }
.form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid-4 { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .form-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.checkbox-row { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.88rem; }
.checkbox-row input { margin-top: 0.25rem; }
.payment-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--slate-300);
  border-radius: 0.4rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.88rem;
  cursor: pointer;
}
.payment-method.selected { border-color: var(--brand-500); background: var(--brand-50); }
.payment-method .tag { margin-left: auto; font-size: 0.72rem; color: var(--slate-400); }

/* FAQ accordion -------------------------------------------------------- */
.faq-list { border: 1px solid var(--slate-200); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-item + .faq-item { border-top: 1px solid var(--slate-200); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-900);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}
.faq-question:hover { background: var(--surface-pale); }
.faq-question .chev { transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 1.25rem 1rem; font-size: 0.9rem; color: var(--slate-600); }
.faq-item.open .faq-answer { display: block; }

/* Footer ------------------------------------------------------------------*/
.site-footer { background: var(--navy-900); color: var(--slate-200); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding: 3.5rem 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-brand img { height: 44px; width: 44px; border-radius: 50%; background: #fff; padding: 4px; object-fit: contain; }
.footer-brand strong { color: #fff; font-size: 0.85rem; letter-spacing: 0.03em; }
.site-footer h3 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.88rem; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; font-size: 0.88rem; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom .inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: var(--slate-400);
}
@media (min-width: 640px) { .footer-bottom .inner { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; } }
.footer-bottom ul { flex-direction: row; flex-wrap: wrap; gap: 0.3rem 1rem; }

/* Map / misc ---------------------------------------------------------------*/
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--slate-200); box-shadow: var(--shadow-card); }
.map-frame iframe { width: 100%; height: 18rem; border: 0; display: block; }
.img-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4 / 3; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

.route-graphic {
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  background: var(--surface-pale);
  padding: 2rem 1.5rem;
}
.route-points { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; }
.route-point { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.route-point .dot {
  height: 3.5rem; width: 3.5rem; border-radius: 50%;
  background: var(--brand-500); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
}
.route-point .name { font-size: 0.85rem; font-weight: 600; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--slate-600); }
.check-list svg { color: var(--brand-500); flex-shrink: 0; margin-top: 0.15rem; }

.value-card { border: 1px solid var(--slate-200); border-radius: 0.6rem; padding: 1.1rem; background: #fff; }
.value-card p:first-child { font-weight: 700; color: var(--navy-900); margin-bottom: 0.25rem; }
.value-card p:last-child { font-size: 0.88rem; color: var(--slate-600); margin: 0; }

.legal-body h2 { font-size: 1rem; margin-top: 1.5rem; }
.legal-body p { font-size: 0.9rem; color: var(--slate-600); }

.max-w-sm { max-width: 40rem; }
.max-w-md { max-width: 48rem; }
.max-w-lg { max-width: 56rem; }
.mt-lg { margin-top: 2.5rem; }
.mb-lg { margin-bottom: 2.5rem; }
