/* Wao Cargo — waocargo.com — DRAFT styles
   Spec: waocargo_site_instructions.md / waocargo_site_instructions-2.md (user, 2026-11-08)
   Font SUSE · Primary #0e0e34 · Secondary #fc410e · Backgrounds #eeeeee / #272727
   Footer background #eeeeee (spec wrote "#eeeee" — 5 digits, invalid; using #eeeeee)
   Footer font colour: spec wrote "#9999A" (invalid); using #99999a as closest valid value.
*/
:root {
  --primary: #0e0e34;
  --secondary: #fc410e;
  --light-bg: #eeeeee;
  --dark-bg: #272727;
  --footer-bg: #eeeeee;
  --footer-text: #99999a;
  --white: #ffffff;
  --ink: #1a1a2e;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'SUSE', 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  display: flex; flex-direction: column; min-height: 100vh;
}
a { color: var(--secondary); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---- Fixed header, primary colour ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--primary); color: var(--white);
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; flex-direction: row; align-items: center; gap: 16px; text-decoration: none; color: var(--white); }
.brand img { height: 90px; width: auto; }
.brand-slogan { color: var(--secondary); font-size: 22px; font-weight: 700; line-height: 1.2; }
.brand-name { font-weight: 800; letter-spacing: .04em; font-size: 1.25rem; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a, .main-nav .drop-btn {
  color: var(--white); text-decoration: none; background: none; border: 0;
  font: inherit; font-size: 1rem; padding: 8px 12px; cursor: pointer;
}
.main-nav a:hover, .main-nav .drop-btn:hover { color: var(--secondary); }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.9rem; line-height: 1; padding: 8px; cursor: pointer; }
.menu-toggle:hover { color: var(--secondary); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--primary); padding: 6px 0; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 8px 16px; }
.lang-switch { display: flex; gap: 4px; margin-left: 12px; }
.lang-switch button {
  background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.4);
  font: inherit; font-size: .85rem; padding: 4px 8px; cursor: pointer;
}
.lang-switch button.active, .lang-switch button:hover { background: var(--secondary); border-color: var(--secondary); }
main { padding-top: 110px; flex: 1; }

/* ---- Buttons: 0px radius, 15px right border in opposite colour, hover swaps ---- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 1rem;
  padding: 12px 28px; border-radius: 0; cursor: pointer;
  border-top: 0; border-bottom: 0; border-left: 0; border-right: 15px solid;
  transition: background-color .2s, border-right-color .2s, color .2s;
}
/* Primary button on light background: primary bg, secondary right border */
.btn-primary { background: var(--primary); color: var(--white); border-right-color: var(--secondary); }
.btn-primary:hover { background: var(--secondary); border-right-color: var(--primary); }
/* Secondary button on light background: secondary bg, primary right border */
.btn-secondary { background: var(--secondary); color: var(--white); border-right-color: var(--primary); }
.btn-secondary:hover { background: var(--primary); border-right-color: var(--secondary); }
/* Primary button on dark background: secondary bg, primary right border */
.on-dark .btn-primary { background: var(--secondary); border-right-color: var(--primary); }
.on-dark .btn-primary:hover { background: var(--primary); border-right-color: var(--secondary); }
/* Secondary button on dark background: primary bg, secondary right border */
.on-dark .btn-secondary { background: var(--primary); color: var(--white); border-right-color: var(--secondary); }
.on-dark .btn-secondary:hover { background: var(--secondary); border-right-color: var(--primary); }
/* Outlined buttons */
.btn-outline-light { background: transparent; color: var(--primary); border: 1px solid var(--primary); border-right: 15px solid var(--primary); }
.btn-outline-light:hover { background: var(--primary); color: var(--white); }
.on-dark .btn-outline-dark { background: transparent; color: var(--secondary); border: 1px solid var(--secondary); border-right: 15px solid var(--secondary); }
.on-dark .btn-outline-dark:hover { background: var(--secondary); color: var(--white); }

/* ---- Sections ---- */
section { padding: 64px 0; }
section.on-dark { background: var(--dark-bg); color: var(--white); }
section.on-light { background: var(--light-bg); }
section h2 { font-size: 1.9rem; margin-bottom: 12px; color: var(--primary); }
section.on-dark h2 { color: var(--white); }
section h2 .accent { color: var(--secondary); }
.lead { font-size: 1.15rem; max-width: 720px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.card { background: var(--white); padding: 24px; border-top: 4px solid var(--secondary); }
.on-dark .card { background: #33333d; color: var(--white); }
.card h3 { color: var(--primary); margin-bottom: 8px; }
.on-dark .card h3 { color: var(--white); }
.card .price { font-size: 2rem; font-weight: 800; color: var(--secondary); }
.checklist { list-style: none; margin-top: 16px; }
.checklist li { padding: 6px 0 6px 28px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--secondary); font-weight: 800; }

/* ---- Hero + animated message ---- */
.hero { background: var(--primary); color: var(--white); padding: 88px 0 72px; }
.hero .wrap { padding-top: 40px; }
.home-banner { display: block; width: 100%; height: auto; }
.hero h1 { font-size: 2.6rem; line-height: 1.15; max-width: 720px; }
.hero h1 .accent { color: var(--secondary); }
.hero-rotator { margin-top: 20px; font-size: 1.35rem; font-weight: 600; color: var(--secondary); min-height: 2.2em; }
.hero-rotator .fade { animation: fadeSwap 0.6s ease; display: inline-block; }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero p.lead { color: rgba(255,255,255,.9); margin-top: 12px; }
.hero-cta { margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges span { border: 1px solid rgba(255,255,255,.35); padding: 6px 12px; font-size: .9rem; }

/* ---- Forms ---- */
.contact-form { display: grid; gap: 12px; max-width: 560px; margin-top: 24px; }
.contact-form label { font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; padding: 10px 12px; border: 1px solid #bbb; border-radius: 0; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--secondary); outline-offset: 0; border-color: var(--secondary);
}

/* ---- Footer: 4 columns, #eeeeee, links underline + secondary on hover ---- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 48px 0 24px; font-size: .95rem; border-top: 50px solid var(--primary); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.site-footer h4 { color: var(--primary); margin-bottom: 12px; font-size: 1.05rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--footer-text); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--secondary); }
.footer-brand { grid-column: 1 / -1; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; text-align: left; padding-top: 8px; }
.footer-brand-id { display: flex; align-items: center; gap: 20px; }
.footer-brand-text { display: flex; flex-direction: column; gap: 4px; }
.footer-brand img { height: 80px; width: auto; }
.footer-brand .company { color: var(--footer-text); font-weight: 400; }
.footer-brand p { margin: 0; }
.social-icons { display: flex; gap: 12px; margin-top: 0; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: var(--primary); color: var(--white);
  font-weight: 800; font-size: .8rem; text-decoration: none;
}
.social-icons a:hover { background: var(--secondary); color: var(--white); text-decoration: none; }
.footer-bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid #d5d5d5; font-size: .85rem; }
.draft-note {
  background: #fff3cd; color: #664d03; padding: 10px 14px; font-size: .9rem;
  border-left: 4px solid var(--secondary); margin: 16px 0;
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .header-inner { gap: 12px; }
  .brand { gap: 10px; }
  .brand img { flex-shrink: 0; }
  .brand-slogan { font-size: 18px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.3); }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a, .main-nav .drop-btn { display: block; padding: 12px 4px; font-size: 1.05rem; }
  .main-nav .dropdown-menu { position: static; display: block; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .main-nav .dropdown-menu a { padding: 10px 4px; }
  .main-nav .lang-switch { margin-top: 12px; }
  main { padding-top: 110px; }
}

/* ---- Splash / language gateway (index.html) ---- */
main.splash { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 56px; padding: 40px 20px; text-align: center; background: linear-gradient(rgba(14,14,52,.45), rgba(14,14,52,.45)), url("assets/cargo-banner.jpg") center/cover no-repeat var(--dark-bg); }
.splash-logo { width: min(485px, 80vw); height: auto; }
.splash-langs { display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; }
.splash-langs a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-weight: 700; font-size: 1rem; }
.splash-langs img { width: 76px; height: auto; border-radius: 4px; box-shadow: 0 2px 16px rgba(0,0,0,.45); }
.splash-langs a:hover span { color: var(--secondary); }

/* ---- Onboarding: animated banner, pills, timeline ---- */
.onb-banner { max-width: 900px; margin: 0 auto; }
.onb-banner img { display: block; width: 100%; height: auto; }
.onb h3 { color: var(--primary); margin: 36px 0 4px; font-size: 1.3rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pill { display: inline-block; padding: 8px 16px; border: 1px solid var(--primary); border-radius: 999px; background: var(--white); color: var(--primary); font-weight: 600; font-size: .95rem; }
.timeline { list-style: none; margin-top: 24px; counter-reset: step; }
.timeline li { position: relative; padding: 0 0 28px 56px; border-left: 3px solid var(--secondary); margin-left: 18px; }
.timeline li:last-child { border-left: 3px solid transparent; padding-bottom: 0; }
.timeline li::before { counter-increment: step; content: counter(step); position: absolute; left: -18px; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--secondary); color: var(--white); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.timeline h4 { color: var(--primary); margin-bottom: 4px; }

/* ---- Legal pages ---- */
.legal h3 { color: var(--primary); margin: 28px 0 8px; }
.legal p { max-width: 780px; }

/* ---- Cookie consent banner ---- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; background: var(--dark-bg); color: var(--white); padding: 14px 20px; font-size: .9rem; box-shadow: 0 -2px 16px rgba(0,0,0,.25); }
.cookie-banner p { margin: 0; max-width: 640px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 8px 18px; }

/* ---- Legal tables & quotes ---- */
.legal-table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: .92rem; }
.legal-table th, .legal-table td { border: 1px solid #d5d5d5; padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--primary); color: var(--white); }
.legal-table td { background: var(--white); }
.legal blockquote { margin: 16px 0; padding: 4px 20px; border-left: 4px solid var(--secondary); background: #fafafa; }

/* ---- Content pages (Nov 15 build): animated text, icon cards, timeline pills ---- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.anim { animation: fadeUp .7s ease both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; }
.d4 { animation-delay: .32s; } .d5 { animation-delay: .4s; } .d6 { animation-delay: .48s; }
@keyframes pulseLine { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.page-hero { padding: 56px 0 8px; }
.page-hero h2 { font-size: 2.2rem; }
.page-hero .lead { margin-top: 10px; }
.kicker { display: inline-block; font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); margin-bottom: 8px; }
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.icon-card { background: var(--white); border: 1px solid #e3e3e3; border-top: 4px solid var(--secondary); padding: 22px; }
.icon-card .material-symbols-outlined { font-size: 40px; color: var(--secondary); display: block; margin-bottom: 10px; }
.icon-card h3 { color: var(--primary); margin-bottom: 6px; font-size: 1.1rem; }
.icon-card p { font-size: .95rem; }
.on-dark .icon-card { background: #33333d; color: var(--white); border-color: #44444f; }
.on-dark .icon-card h3 { color: var(--white); }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 40; vertical-align: middle; }
/* Timeline pills: numbered pills joined by a line — horizontal on desktop, stacked on mobile */
.tl-pills { list-style: none; margin: 36px 0 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px 20px; position: relative; }
.tl-pills::before { content: ""; position: absolute; top: 22px; left: 6%; right: 6%; height: 3px; background: var(--secondary); opacity: .4; animation: pulseLine 3s ease-in-out infinite; }
.tl-pills li { position: relative; text-align: center; padding: 0 4px; }
.tl-pills .pill-num { display: inline-flex; width: 44px; height: 44px; border-radius: 999px; background: var(--secondary); color: var(--white); font-weight: 800; font-size: 1.05rem; align-items: center; justify-content: center; position: relative; z-index: 1; margin-bottom: 12px; box-shadow: 0 0 0 6px var(--white); }
.tl-pills h4 { color: var(--primary); margin-bottom: 4px; font-size: 1.05rem; }
.tl-pills p { font-size: .93rem; }
.tl-pills .pill-tag { display: inline-block; margin-top: 8px; padding: 3px 12px; border-radius: 999px; background: var(--light-bg); color: var(--primary); font-size: .8rem; font-weight: 700; }
/* Vertical numbered timeline (existing .timeline) — pill variant for step chips */
.step-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.step-pills .pill { border-color: var(--secondary); }
.callout { background: var(--light-bg); border-left: 4px solid var(--secondary); padding: 16px 20px; margin: 24px 0; }
.callout strong { color: var(--primary); }
.sub-h { color: var(--primary); margin: 40px 0 4px; font-size: 1.35rem; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.check-card { border: 1px solid #e3e3e3; border-top: 4px solid var(--primary); padding: 20px 22px; background: var(--white); }
.check-card h4 { color: var(--primary); margin-bottom: 8px; }
.check-card ul { list-style: none; }
.check-card li { padding: 5px 0 5px 26px; position: relative; font-size: .95rem; }
.check-card li::before { content: "✓"; position: absolute; left: 0; color: var(--secondary); font-weight: 800; }
@media (max-width: 760px) {
  .icon-grid, .check-grid { grid-template-columns: 1fr; }
  .tl-pills { grid-template-columns: 1fr; gap: 28px; }
  .tl-pills::before { top: 0; bottom: 0; left: 21px; right: auto; width: 3px; height: auto; }
  .tl-pills li { text-align: left; padding-left: 64px; }
  .tl-pills .pill-num { position: absolute; left: 0; top: 0; margin-bottom: 0; }
}
