/* =========================================================
   WMSL (Pty) Ltd — website styles
   To change the main colours, edit the values just below.
   ========================================================= */
:root {
  --ink: #0a1020;        /* near-black background */
  --ink-2: #111a2f;      /* slightly lighter dark */
  --blue: #1d56d6;       /* main blue */
  --blue-deep: #0d2c73;  /* dark blue */
  --blue-soft: #e8effd;  /* light blue tint */
  --amber: #f5a623;      /* headlight amber – buttons & highlights */
  --amber-dark: #d98a06;
  --text: #1a2233;
  --muted: #5a6478;
  --line: #e3e8f0;
  --bg-alt: #f4f6fa;
  --white: #ffffff;
  --radius: 14px;
  --max: 1180px;
  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #c9d2e3; }
.section-dark h2, .section-dark h3 { color: var(--white); }

/* Small label above headings, with a road-dash line like the logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 3px;
  background: repeating-linear-gradient(90deg, currentColor 0 7px, transparent 7px 11px);
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--amber); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: #9fabc2; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 10px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #ffb53d; }
.btn-outline { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: #1849b8; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(10,16,32,.0); transition: background .25s, box-shadow .25s;
}
.site-header.scrolled { background: rgba(10,16,32,.96); box-shadow: 0 4px 24px rgba(0,0,0,.25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #dfe5f0; text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--amber); }
.nav-links .btn { padding: 10px 18px; font-size: .92rem; color: var(--ink); }
.nav-links .btn:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 80px; color: var(--white);
  background: var(--ink) url("images/hero-truck.jpg") center right / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,16,32,.96) 0%, rgba(10,16,32,.85) 42%, rgba(13,44,115,.35) 100%);
}
.hero .container { position: relative; }
.hero-content { max-width: 640px; }
.hero h1 {
  color: var(--white); font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 20px;
}
.hero h1 span { color: var(--amber); }
.hero p.lead { font-size: 1.15rem; color: #c5cee0; max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,.15); max-width: 860px;
}
.hero-stats div { padding: 22px 20px 0 0; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--white); line-height: 1.1; }
.hero-stats span { font-size: .88rem; color: #9fabc2; }

/* ---------- Trusted by ---------- */
.trusted { padding: 40px 0; border-bottom: 1px solid var(--line); }
.trusted .container { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 48px; justify-content: center; }
.trusted p { margin: 0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.client {
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: #8a93a6;
  letter-spacing: .02em; white-space: nowrap;
}
.client img { height: 40px; width: auto; filter: grayscale(1); opacity: .7; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.about-text p { color: var(--muted); font-size: 1.05rem; }
.about-text .lead-dark { color: var(--text); font-size: 1.2rem; font-weight: 500; }
.sectors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sectors span {
  background: var(--blue-soft); color: var(--blue-deep); font-weight: 600; font-size: .9rem;
  padding: 8px 16px; border-radius: 999px;
}
.pillars { display: grid; gap: 16px; }
.pillar {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: var(--radius); padding: 24px 26px;
}
.pillar h3 { margin-bottom: 6px; }
.pillar p { margin: 0; color: var(--muted); font-size: .97rem; }
.pillar:nth-child(2) { border-left-color: var(--amber); }
.pillar:nth-child(3) { border-left-color: var(--ink); }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 14px 40px rgba(13,44,115,.10); transform: translateY(-2px); }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: var(--amber); margin-bottom: 20px;
}
.icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Fleet ---------- */
.fleet {
  position: relative; background: var(--ink) url("images/fleet-lineup.jpg") center / cover no-repeat;
}
.fleet::before { content: ""; position: absolute; inset: 0; background: rgba(10,16,32,.78); }
.fleet .container { position: relative; }
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.truck {
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px;
  background: rgba(255,255,255,.04); backdrop-filter: blur(4px);
}
.truck .ton { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--amber); line-height: 1; }
.truck .ton small { font-size: 1rem; color: #c5cee0; font-weight: 600; margin-left: 4px; }
.truck h3 { margin: 12px 0 0; font-size: 1.08rem; }

/* ---------- Coverage ---------- */
.coverage-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.route { list-style: none; margin: 0; padding: 0; position: relative; }
.route::before {
  content: ""; position: absolute; left: 13px; top: 12px; bottom: 12px; width: 6px;
  background: var(--ink); border-radius: 3px;
}
.route::after {
  content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--white) 0 8px, transparent 8px 14px);
}
.route li { position: relative; padding: 0 0 26px 54px; }
.route li:last-child { padding-bottom: 0; }
.route li::before {
  content: ""; position: absolute; left: 6px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--amber); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--ink); z-index: 1;
}
.route strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.route span { color: var(--muted); font-size: .95rem; }
.coverage-note {
  margin-top: 28px; background: var(--ink); color: #c9d2e3; border-radius: var(--radius); padding: 26px 28px;
}
.coverage-note strong { color: var(--amber); }

/* ---------- History timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.year {
  background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.year::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 14px, transparent 14px 20px);
}
.year .yr { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 12px; }
.year p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 20px; }
.member img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 4px solid var(--blue-soft); }
.member h3 { margin-bottom: 2px; }
.member .role { color: var(--blue); font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
.member a { display: block; color: var(--muted); text-decoration: none; font-size: .9rem; overflow-wrap: anywhere; }
.member a:hover { color: var(--blue); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--blue);
}
.faq[open] summary::after { content: "\2013"; }
.faq p { color: var(--muted); margin: 0 0 20px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.quote p { font-size: 1.02rem; }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink); }
.quote cite span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }

/* ---------- Quote form ---------- */
.quote-section { background: linear-gradient(135deg, var(--blue-deep), var(--ink) 70%); color: #c9d2e3; }
.quote-wrap { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; }
.quote-wrap h2 { color: var(--white); }
.quote-wrap .eyebrow { color: var(--amber); }
.checks { list-style: none; padding: 0; margin: 26px 0 0; }
.checks li { padding-left: 32px; position: relative; margin-bottom: 12px; color: #dfe5f0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1020' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
form.quote-form {
  background: var(--white); color: var(--text); border-radius: 18px; padding: 34px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcfe;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,86,214,.15); background: var(--white); }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.form-foot small { color: var(--muted); }
.form-msg { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.form-msg.ok { display: block; background: #e7f6ec; color: #17603a; }
.form-msg.err { display: block; background: #fdecec; color: #9b1c1c; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.contact-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: border-color .15s, box-shadow .15s;
}
a.contact-card:hover { border-color: var(--blue); box-shadow: 0 10px 30px rgba(13,44,115,.08); }
.contact-card .icon { background: var(--blue); color: var(--white); width: 46px; height: 46px; margin-bottom: 16px; }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.socials { display: flex; gap: 12px; justify-content: center; margin-top: 36px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--white);
}
.socials a:hover { background: var(--blue); }
.socials svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #8f9ab0; padding: 56px 0 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top img { height: 44px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #c9d2e3; text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: .88rem; }
.footer-bottom a { color: #c9d2e3; text-decoration: none; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: var(--white); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Tablet & mobile ---------- */
@media (max-width: 1020px) {
  .cards, .fleet-grid, .quotes { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .coverage-grid, .quote-wrap { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px 20px 20px; display: none; box-shadow: 0 16px 30px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links li:last-child a { border: 0; margin-top: 14px; }
  .site-header.menu-open { background: var(--ink); }
}
@media (max-width: 640px) {
  section { padding: 68px 0; }
  .container { padding: 0 16px; }
  .nav-logo img { height: 32px; }
  .hero { padding-top: 110px; background-position: 70% center; }
  .hero::before { background: linear-gradient(180deg, rgba(10,16,32,.82) 0%, rgba(10,16,32,.94) 100%); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cards, .fleet-grid, .quotes, .team-grid, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  form.quote-form { padding: 24px 18px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
