/* ==========================================================================
   B-KAY LOGISTICS GH LTD — site stylesheet
   Edit colours, fonts and spacing in the :root block below. Nothing else
   in this file hard-codes a colour.
   ========================================================================== */

:root {
  /* --- Brand colours (one main, one neutral, one accent) --- */
  --ink:      #17202A;   /* main: near-black from the truck cabs and the logo */
  --paper:    #F4F1EA;   /* neutral: warm off-white page background */
  --amber:    #E8A317;   /* accent: the amber stripe on the DAF trucks */

  /* --- Tints of the same three colours (not new colours) --- */
  --paper-2:  #E9E4D8;   /* slightly darker paper for bands */
  --ink-soft: #4A5563;   /* secondary text, 6.7:1 on paper */
  --white:    #FFFFFF;

  /* --- Fonts (loaded from Google Fonts in each page <head>) --- */
  --font-head: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', Arial, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Roboto, Arial, sans-serif;

  /* --- Spacing & layout --- */
  --gutter: 16px;
  --maxw: 1120px;
  --section-y: 56px;
  --rule: 3px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-bottom: 60px;            /* room for the mobile call bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5.5vw, 3.1rem); }
h3 { font-size: 1.6rem; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--ink); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.on-ink :focus-visible, .section--ink :focus-visible { outline-color: var(--amber); }

/* ---------- Small labels ---------- */
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 14px;
}
.bar { display: block; width: 64px; height: 8px; background: var(--amber); margin-bottom: 18px; }
.lead { font-size: 1.2rem; max-width: 40em; }
.muted { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  --btn-border: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .35em;
  min-height: 52px; padding: 10px 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  letter-spacing: 0.04em; line-height: 1.15; text-transform: uppercase; text-decoration: none; text-align: center;
  border: 2px solid var(--btn-border); border-radius: 0;
  cursor: pointer; background: transparent; color: var(--ink);
  transition: background .15s, color .15s;
}
.btn--primary { background: var(--amber); }
.btn--primary:hover { background: var(--ink); color: var(--amber); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.on-ink .btn, .section--ink .btn { --btn-border: var(--amber); }
.on-ink .btn--primary:hover, .section--ink .btn--primary:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.on-ink .btn--line, .section--ink .btn--line { --btn-border: var(--white); color: var(--white); }
.on-ink .btn--line:hover, .section--ink .btn--line:hover { background: var(--white); color: var(--ink); }
.btn--small { min-height: 44px; padding: 6px 16px; font-size: 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: var(--rule) solid var(--ink);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: block; line-height: 0; }
.brand img { height: 44px; width: auto; }
.nav-toggle {
  display: none; min-height: 44px; padding: 6px 14px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .06em;
  background: transparent; color: var(--ink); border: 2px solid var(--ink); cursor: pointer;
}
.js .nav-toggle { display: inline-block; }
.nav { width: 100%; order: 3; }
.js .nav { display: none; }
.js .nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 12px 0; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .05em;
  border-top: 2px solid var(--paper-2);
}
.nav a[aria-current="page"] { box-shadow: inset 6px 0 0 var(--amber); padding-left: 14px; }
.header-cta { display: none; }
.site-header .wrap { flex-wrap: wrap; }

@media (min-width: 900px) {
  .js .nav-toggle, .nav-toggle { display: none; }
  .nav, .js .nav { display: block; width: auto; order: 0; margin-left: auto; }
  .nav ul { display: flex; gap: 22px; }
  .nav a { border-top: 0; padding: 8px 0; font-size: 1.2rem; border-bottom: 4px solid transparent; }
  .nav a:hover { border-bottom-color: var(--ink); }
  .nav a[aria-current="page"] { box-shadow: none; padding-left: 0; border-bottom-color: var(--amber); }
  .header-cta { display: inline-flex; margin-left: 12px; }
  .site-header .wrap { flex-wrap: nowrap; }
}

/* ---------- Mobile call bar (always visible) ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: var(--rule) solid var(--ink);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; min-height: 56px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
}
.callbar .call { background: var(--ink); color: var(--white); }
.callbar .wa { background: var(--amber); color: var(--ink); }
@media (min-width: 900px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* ---------- Hero (split: solid text panel + untouched photo) ---------- */
.hero { display: grid; grid-template-columns: 1fr; border-bottom: var(--rule) solid var(--ink); }
.hero__text { background: var(--ink); color: var(--white); padding: 44px var(--gutter) 48px; display: flex; flex-direction: column; justify-content: center; }
.hero__text .eyebrow { color: var(--amber); }
.hero__text h1 { color: var(--white); margin-bottom: 20px; font-size: clamp(2.4rem, 6.2vw, 4rem); }
.hero__text p { color: var(--paper); max-width: 34em; }
.hero__note { font-size: .98rem; margin-top: 18px; margin-bottom: 0; color: var(--paper); }
.hero__img { background: var(--paper-2); position: relative; }
.hero__img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); min-height: 600px; }
  .hero__text { padding: 64px 48px 64px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
  .hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
}

/* ---------- Page head (inner pages: text only) ---------- */
.pagehead { background: var(--paper-2); border-bottom: var(--rule) solid var(--ink); padding: 44px 0 40px; }
.pagehead h1 { max-width: 14em; }
.pagehead .lead { margin: 0; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--band { background: var(--paper-2); border-top: var(--rule) solid var(--ink); border-bottom: var(--rule) solid var(--ink); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink .eyebrow { color: var(--amber); }
.section--ink p { color: var(--paper); }
.section-head { margin-bottom: 28px; max-width: 44em; }

/* ---------- Service rows (numbered ruled list) ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-bottom: 2px solid var(--ink); }
.row {
  display: grid; grid-template-columns: 52px 1fr; gap: 6px 16px;
  padding: 22px 0; border-top: 2px solid var(--ink); align-items: start;
}
.row__no {
  grid-row: span 2;
  background: var(--amber); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
}
.row h3 { margin: 0; align-self: center; }
.row p { margin: 0; color: var(--ink-soft); }
.row a { grid-column: 2; font-weight: 600; }
@media (min-width: 800px) {
  .row { grid-template-columns: 52px 0.8fr 1.4fr auto; gap: 0 28px; align-items: center; }
  .row__no { grid-row: auto; }
  .row a { grid-column: auto; }
}

/* ---------- Route strip ---------- */
.route { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: stop; }
.route li { position: relative; padding: 0 0 26px 44px; border-left: 3px solid var(--ink); margin-left: 12px; }
.route li::before {
  counter-increment: stop; content: counter(stop);
  position: absolute; left: -15px; top: 0; width: 27px; height: 27px;
  background: var(--amber); color: var(--ink); border: 2px solid var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; justify-content: center;
}
.route li:last-child { border-left-color: transparent; padding-bottom: 0; }
.route h3 { font-size: 1.5rem; margin: 0 0 4px; }
.route p { margin: 0; color: var(--ink-soft); }
.section--ink .route li { border-left-color: var(--amber); }
.section--ink .route li:last-child { border-left-color: transparent; }
.section--ink .route p { color: var(--paper); }
.route--across li:last-child { border-left-color: transparent; }
@media (min-width: 900px) {
  .route--across { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .route--across li { border-left: 0; margin-left: 0; padding: 44px 0 0 0; border-top: 3px solid var(--ink); }
  .route--across li::before { left: 0; top: -15px; }
  .route--across li:last-child { border-top-color: var(--ink); }
  .section--ink .route--across li, .section--ink .route--across li:last-child { border-top-color: var(--amber); }
}

/* ---------- Split layout (photo + text) ---------- */
.split { display: grid; gap: 28px; align-items: center; }
.split img { width: 100%; border: var(--rule) solid var(--ink); }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split--flip .split__media { order: 2; } }
figure { margin: 0; }
figcaption { font-size: .95rem; color: var(--ink-soft); padding-top: 8px; }

/* ---------- Ticks list ---------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding: 6px 0 6px 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 14px; width: 14px; height: 14px; background: var(--amber); border: 2px solid var(--ink); }

/* ---------- Service detail blocks ---------- */
.service { display: grid; gap: 14px; padding: 40px 0; border-top: 2px solid var(--ink); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service__no { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; background: var(--amber); display: inline-block; padding: 2px 10px; letter-spacing: .1em; margin-bottom: 10px; }
.service h2 { margin: 0; font-size: clamp(2rem, 6vw, 2.8rem); }
.service h4 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.1rem; letter-spacing: .1em; margin: 18px 0 6px; }
@media (min-width: 800px) { .service { grid-template-columns: 0.8fr 1.4fr; gap: 56px; } }

/* ---------- Team ---------- */
.team { display: grid; gap: 28px; grid-template-columns: 1fr; max-width: 760px; }
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border: var(--rule) solid var(--ink); }
.team figcaption { color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; padding-top: 10px; }
@media (min-width: 560px) { .team { grid-template-columns: 1fr 1fr; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 28px; }
.gallery img { width: 100%; border: var(--rule) solid var(--ink); }
@media (min-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .wide { grid-column: 1 / -1; }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 2px solid var(--ink); border-radius: 0;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.field--row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field--row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.form__status { margin: 0; padding: 12px 14px; border-left: 6px solid var(--amber); background: var(--white); display: none; }
.form__status.show { display: block; }
.section--ink .form__note { color: var(--paper); }
.section--ink .field label { color: var(--white); }
.section--ink .field input, .section--ink .field textarea, .section--ink .field select { border-color: var(--white); }
.section--ink .form__status { color: var(--ink); }

/* ---------- Contact layout ---------- */
.contact { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.2fr 0.8fr; gap: 64px; } }
.details { border: var(--rule) solid var(--ink); background: var(--white); padding: 24px; align-self: start; }
.details dl { margin: 0; }
.details dt { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; font-size: 1rem; margin-top: 18px; color: var(--ink-soft); }
.details dt:first-child { margin-top: 0; }
.details dd { margin: 2px 0 0; font-size: 1.15rem; }
.details dd a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 48px 0 28px; border-top: var(--rule) solid var(--amber); }
.site-footer a { color: var(--white); }
.site-footer .grid { display: grid; gap: 32px; }
.site-footer h3 { font-size: 1.1rem; letter-spacing: .14em; color: var(--amber); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer .logo { height: 72px; width: auto; margin-bottom: 14px; }
.site-footer .legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--ink-soft); font-size: .92rem; }
@media (min-width: 800px) { .site-footer .grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* ---------- Print ---------- */
@media print { .site-header, .callbar, .site-footer { display: none; } body { background: #fff; } }
