/* ==========================================================================
   BSR Truck Training School — Global Stylesheet
   Palette taken from the business card: Blue (#1470b5) · L-plate Yellow (#ffd200) · White
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-900: #071f36;
  --navy-800: #0c2c4a;
  --navy-700: #114063;
  --navy-600: #17557f;
  --navy-100: #dfeaf6;
  --navy-050: #f1f7fc;

  --brand-blue-dark: #0f5990;
  --brand-blue: #1470b5;
  --brand-blue-light: #4aa3e2;
  --brand-blue-tint: #e5f1fb;

  --brand-yellow: #ffd200;
  --brand-yellow-dark: #d9b200;

  --white: #ffffff;
  --gray-050: #f7f8fa;
  --gray-100: #eef0f4;
  --gray-200: #dfe3ea;
  --gray-400: #a2abbb;
  --gray-600: #5b6577;
  --gray-800: #2c3444;

  --text: #1d2432;
  --muted: #5b6577;

  --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(6, 21, 48, .08), 0 1px 2px rgba(6, 21, 48, .06);
  --shadow: 0 10px 30px rgba(6, 21, 48, .10);
  --shadow-lg: 0 24px 60px rgba(6, 21, 48, .18);

  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img,
svg,
video { max-width: 100%; display: block; }

img { height: auto; }

a { color: var(--navy-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-blue); }

ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .4rem; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy-800);
  margin: 0 0 .6em;
  letter-spacing: .2px;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); text-transform: uppercase; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; color: var(--navy-800); }

table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.container--narrow { max-width: 880px; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 68px) 0; }
.section--alt { background: var(--navy-050); }
.section--dark { background: var(--navy-800); color: #cfd8ea; }
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1.5rem; }
.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;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--brand-blue); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 4. Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 600;
  letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--brand-blue); margin-bottom: 12px;
}
.eyebrow::before {
  content: ""; width: 30px; height: 3px; background: var(--brand-blue); border-radius: 2px;
}
.section--dark .eyebrow { color: var(--brand-yellow); }
.section--dark .eyebrow::before { background: var(--brand-yellow); }
.text-center .eyebrow { justify-content: center; }

.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.text-center { margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.section--dark .section-head p { color: #b9c4da; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--brand-blue);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-head); font-size: 1.12rem; font-weight: 600;
  letter-spacing: 1.1px; text-transform: uppercase;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; text-align: center;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 112, 181, .3);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--dark { --btn-bg: var(--navy-800); }
.btn--dark:hover { box-shadow: 0 12px 24px rgba(10, 31, 68, .3); }

.btn--white { --btn-bg: #fff; --btn-fg: var(--navy-800); }
.btn--white:hover { box-shadow: 0 12px 24px rgba(0, 0, 0, .22); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--navy-800); box-shadow: none; }

.btn--yellow { --btn-bg: var(--brand-yellow); --btn-fg: var(--navy-900); }
.btn--yellow:hover { box-shadow: 0 12px 24px rgba(255, 210, 0, .38); }

.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--navy-800);
  border-color: var(--navy-800);
}
.btn--outline:hover { --btn-bg: var(--navy-800); --btn-fg: #fff; }

.btn--sm { padding: 10px 20px; font-size: 1rem; }
.btn--lg { padding: 17px 36px; font-size: 1.22rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--brand-blue); font-size: .96rem;
}
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- 6. Header ---------- */
.topbar {
  background: var(--navy-900); color: #b9c4da;
  font-size: .87rem; line-height: 1.4;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 40px; flex-wrap: wrap;
}
.topbar a { color: #dfe6f5; }
.topbar a:hover { color: var(--brand-yellow); }
.topbar-list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar-list li { display: flex; align-items: center; gap: 7px; margin: 0; }
.topbar svg { width: 15px; height: 15px; fill: var(--brand-yellow); flex: none; }
.topbar-social { display: flex; gap: 12px; align-items: center; }
.topbar-social a { display: inline-flex; }
.topbar-social svg { fill: #b9c4da; transition: fill .2s; }
.topbar-social a:hover svg { fill: var(--brand-yellow); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 8px 26px rgba(6, 21, 48, .12); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: var(--header-h);
}

.brand { display: flex; align-items: center; flex: none; }
.brand:hover { color: inherit; }
.brand-logo { width: auto; height: 54px; }
.brand-logo--footer { height: 66px; margin-bottom: 4px; }

.nav-toggle {
  display: none; width: 46px; height: 42px; border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); background: #fff; cursor: pointer;
  padding: 0; place-items: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--navy-800);
  position: relative; transition: background .2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px;
  background: var(--navy-800); transition: transform .25s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; margin: 0; }
.nav-list > li > a,
.nav-list > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  color: var(--navy-800); border-radius: var(--radius-sm);
}
.nav-list > li > a:hover,
.nav-list > li > button:hover,
.nav-list > li.is-open > button { color: var(--brand-blue); background: var(--navy-050); }
.nav-list > li > a[aria-current="page"] { color: var(--brand-blue); }
.nav-list > li > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 3px; background: var(--brand-blue); border-radius: 2px;
}
.caret { width: 10px; height: 10px; fill: currentColor; transition: transform .2s var(--ease); }
.nav-list > li.is-open .caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 264px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  box-shadow: var(--shadow); list-style: none; margin: 0; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-list > li:hover > .submenu,
.nav-list > li.is-open > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li { margin: 0; }
.submenu a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: .93rem; font-weight: 500; color: var(--gray-800);
}
.submenu a:hover { background: var(--navy-050); color: var(--brand-blue); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(6, 21, 48, .96) 0%, rgba(6, 21, 48, .88) 38%, rgba(10, 31, 68, .42) 68%, rgba(10, 31, 68, .18) 100%),
    url("../img/hero-truck.svg") center right / cover no-repeat,
    var(--navy-800);
  color: #d8e0f0;
  padding: clamp(64px, 9vw, 130px) 0 clamp(64px, 8vw, 110px);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(to top, rgba(6, 21, 48, .55), transparent);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 18px; text-shadow: 0 4px 26px rgba(0, 0, 0, .35); }
.hero h1 span { color: var(--brand-yellow); }
.hero-sub { font-size: clamp(1.06rem, 1.9vw, 1.32rem); color: #cdd7ea; max-width: 620px; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; list-style: none; padding: 0; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 7px 15px; font-size: .87rem; font-weight: 600; color: #eaf0fb;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 100px; backdrop-filter: blur(4px);
}
.hero-badges svg { width: 16px; height: 16px; fill: var(--brand-yellow); }
.hero-note { margin-top: 22px; font-size: .92rem; color: #a9b6d1; }
.hero-note strong { color: #fff; }

.page-hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-600) 100%);
  color: #cdd7ea; padding: clamp(48px, 6.5vw, 84px) 0;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/pattern-grid.svg") center / 340px repeat;
  opacity: .18;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { max-width: 720px; font-size: 1.08rem; color: #c3cee6; margin-bottom: 0; }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 16px; font-size: .87rem; }
.breadcrumb li { margin: 0; color: #93a2c2; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #64749b; }
.breadcrumb a { color: #cdd7ea; }
.breadcrumb a:hover { color: var(--brand-yellow); }

/* ---------- 8. Stats ---------- */
.stats-band { background: var(--brand-blue); color: #fff; }
.stats-band .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding-block: 34px;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1; color: #fff;
}
.stat-label { font-size: .88rem; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, .88); }

/* ---------- 9. Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 30px 26px; height: 100%;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--navy-100); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .97rem; }

.card-icon {
  width: 58px; height: 58px; border-radius: var(--radius-sm);
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--navy-050); color: var(--navy-700);
}
.card-icon svg { width: 30px; height: 30px; fill: var(--brand-blue); }

.card--dark {
  background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #b9c4da;
}
.card--dark:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); }
.card--dark p { color: #b3bfd6; }
.card--dark .card-icon { background: rgba(255, 255, 255, .08); }

/* Course / vehicle media cards */
.media-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.media-card__img { position: relative; aspect-ratio: 16 / 10; background: var(--navy-050); overflow: hidden; }
.media-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.media-card:hover .media-card__img img { transform: scale(1.05); }
.media-card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--brand-blue); color: #fff; font-size: .74rem; font-weight: 700;
  letter-spacing: 1.1px; text-transform: uppercase; padding: 6px 12px; border-radius: 100px;
}
.media-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.media-card__body h3 { margin-bottom: .4em; }
.media-card__body p { color: var(--muted); font-size: .96rem; }
.media-card__meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 16px; padding: 0;
  list-style: none; font-size: .85rem; color: var(--gray-600); font-weight: 600;
}
.media-card__meta li { display: flex; align-items: center; gap: 6px; margin: 0; }
.media-card__meta svg { width: 15px; height: 15px; fill: var(--brand-blue); }
.media-card__foot { margin-top: auto; padding-top: 18px; }

/* Feature list */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.check-list li {
  position: relative; padding-left: 32px; margin-bottom: 11px; color: var(--muted);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--brand-blue-tint) url("../img/check.svg") center / 12px no-repeat;
}
.section--dark .check-list li { color: #c2cde3; }
.section--dark .check-list li::before { background-color: rgba(255, 255, 255, .12); }

.licence-classes {
  font-size: 1rem;
  line-height: 1.6;
}
.licence-classes li {
  display: block;
  padding-left: 32px;
  text-align: left;
}
.licence-classes strong {
  font-family: var(--font-body);
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.num-list { list-style: none; counter-reset: n; padding: 0; }
.num-list li {
  counter-increment: n; position: relative; padding-left: 52px; margin-bottom: 20px;
}
.num-list li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: -2px;
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--brand-blue);
  background: var(--brand-blue-tint); width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
}

/* Split layout */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split__media { position: relative; }

.media-badge {
  position: absolute; bottom: -22px; right: -14px;
  background: var(--brand-blue); color: #fff; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-lg); text-align: center; max-width: 210px;
}
.media-badge strong { display: block; font-family: var(--font-head); font-size: 2.1rem; line-height: 1; color: #fff; }
.media-badge span { font-size: .8rem; letter-spacing: 1.2px; text-transform: uppercase; }

/* ---------- 10. Steps / timeline ---------- */
.steps { display: grid; gap: 22px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 74px 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--gray-200); border-left: 5px solid var(--brand-blue);
  border-radius: var(--radius); padding: 26px 28px;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.step:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.step__num {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: #fff;
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
}
.step h3 { margin-bottom: .35em; }
.step p { color: var(--muted); margin-bottom: .6rem; }
.step .check-list { margin-bottom: 0; }

/* ---------- 11. Accordion ---------- */
.accordion { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; background: #fff; }
.accordion + .accordion { margin-top: 14px; }
.accordion__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; background: #fff; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-size: 1.03rem; font-weight: 600; color: var(--navy-800);
  transition: background .2s var(--ease);
}
.accordion__btn:hover { background: var(--navy-050); }
.accordion__btn::after {
  content: ""; width: 14px; height: 14px; flex: none;
  border-right: 2.5px solid var(--brand-blue); border-bottom: 2.5px solid var(--brand-blue);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease);
}
.accordion__btn[aria-expanded="true"] { background: var(--navy-050); color: var(--brand-blue); }
.accordion__btn[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-3px, -3px); }
.accordion__panel { display: none; padding: 0 24px 22px; color: var(--muted); border-top: 1px solid var(--gray-100); }
.accordion__panel.is-open { display: block; animation: fadeIn .3s var(--ease); }
.accordion__panel > *:first-child { margin-top: 18px; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 12. Testimonials ---------- */
.slider { position: relative; }
.slider__track { display: flex; overflow: hidden; }
.slide {
  display: none; min-width: 100%;
}
.slide.is-active { display: block; animation: fadeIn .4s var(--ease); }

.quote {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow-sm); position: relative; height: 100%;
}
.quote::before {
  content: "”"; position: absolute; top: 6px; right: 26px;
  font-family: Georgia, serif; font-size: 6rem; line-height: 1; color: var(--navy-100);
}
.quote__text { font-size: 1.06rem; color: var(--gray-800); position: relative; z-index: 1; }
.quote__stars { display: flex; gap: 3px; margin-bottom: 14px; }
.quote__stars svg { width: 19px; height: 19px; fill: var(--brand-yellow); }
.quote__stars--four svg:last-child { opacity: .22; }
.quote__stars--text { color: var(--brand-yellow); font-size: 1.2rem; letter-spacing: 2px; line-height: 19px; }
.quote__star--empty { color: var(--gray-400); }
.quote__person { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.quote__avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: var(--navy-800); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 700;
}
.quote__name { font-weight: 700; color: var(--navy-800); line-height: 1.3; }
.quote__role { font-size: .86rem; color: var(--muted); }
.testimonials-grid .quote { padding: 28px; }
.testimonials-grid .quote__text { font-size: 1rem; line-height: 1.6; }
.reviews-more { margin-top: 32px; }

.slider__nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.slider__btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gray-200);
  background: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.slider__btn:hover { background: var(--brand-blue); border-color: var(--brand-blue); transform: scale(1.06); }
.slider__btn svg { width: 17px; height: 17px; fill: var(--navy-800); }
.slider__btn:hover svg { fill: #fff; }
.slider__dots { display: flex; gap: 8px; }
.slider__dot {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--gray-200); transition: background .2s, width .2s;
}
.slider__dot.is-active { background: var(--brand-blue); width: 28px; border-radius: 6px; }

/* ---------- 13. Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 20px; border-radius: 100px; border: 1px solid var(--gray-200);
  background: #fff; cursor: pointer; font-family: var(--font-body);
  font-size: .9rem; font-weight: 600; color: var(--gray-800);
  transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.filter-btn.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  border: 0; padding: 0; background: var(--navy-050); aspect-ratio: 4 / 3; display: block; width: 100%;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 21, 48, .82), rgba(6, 21, 48, 0) 55%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item__label {
  position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 2;
  color: #fff; font-weight: 600; font-size: .95rem; text-align: left;
  opacity: 0; transform: translateY(10px); transition: all .3s var(--ease);
}
.gallery-item:hover .gallery-item__label { opacity: 1; transform: none; }

/* Filter utility — applies to gallery tiles and blog cards alike. */
.is-hidden { display: none !important; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(6, 21, 48, .93); padding: 24px;
  align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; animation: fadeIn .25s var(--ease); }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: var(--radius); }
.lightbox__caption { color: #fff; text-align: center; margin-top: 16px; font-size: .95rem; }
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute; background: rgba(255, 255, 255, .14); border: 0; color: #fff;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.4rem;
  display: grid; place-items: center; transition: background .2s;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: var(--brand-blue); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- 14. Forms ---------- */
.form-card {
  background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow); border: 1px solid var(--gray-200);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .89rem; font-weight: 600; color: var(--navy-800); }
.field label .req { color: var(--brand-blue); }
.field input,
.field select,
.field textarea {
  width: 100%; padding: 13px 15px; font-family: var(--font-body); font-size: .97rem;
  color: var(--text); background: var(--gray-050);
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; background: #fff; border-color: var(--navy-600);
  box-shadow: 0 0 0 4px rgba(23, 55, 107, .12);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--brand-blue); background: var(--brand-blue-tint); }
.field .error { font-size: .8rem; color: var(--brand-blue-dark); font-weight: 600; min-height: 1em; }
.field select { appearance: none; background-image: url("../img/caret.svg"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }

.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brand-blue); }

.form-note { font-size: .83rem; color: var(--gray-600); margin-top: 14px; }
.form-status {
  margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: .93rem; font-weight: 600; display: none;
}
.form-status.is-success { display: block; background: #e7f7ee; color: #14663c; border: 1px solid #b9e6cd; }
.form-status.is-error { display: block; background: var(--brand-blue-tint); color: var(--brand-blue-dark); border: 1px solid #f5c2c6; }

/* ---------- 15. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--brand-blue-dark) 165%);
  color: #d3dcee; padding: clamp(48px, 7vw, 88px) 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/pattern-grid.svg") center / 320px repeat; opacity: .16;
}
.cta-band .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr auto; gap: 34px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: #c3cee6; margin-bottom: 0; font-size: 1.05rem; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fadc8; padding-top: 68px; font-size: .95rem; }
.site-footer h4 {
  color: #fff; font-size: 1.25rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px;
  position: relative; padding-bottom: 12px;
}
.site-footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px;
  background: var(--brand-yellow); border-radius: 2px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 52px; }
.footer-brand p { margin-top: 18px; color: #9fadc8; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #9fadc8; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: "›"; color: var(--brand-yellow); font-size: 1.1rem; line-height: 1; }
.footer-links a:hover { color: #fff; }

.footer-contact { list-style: none; padding: 0; margin: 0 0 22px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact svg { width: 18px; height: 18px; fill: var(--brand-yellow); flex: none; margin-top: 4px; }
.footer-contact a { color: #cbd5e8; }
.footer-contact a:hover { color: #fff; }

.newsletter { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.newsletter input {
  flex: 1 1 180px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: #fff;
  font-family: var(--font-body); font-size: .93rem;
}
.newsletter input::placeholder { color: #8b9ab8; }
.newsletter input:focus { outline: none; border-color: var(--brand-blue-light); background: rgba(255, 255, 255, .12); }

.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); transition: background .2s, transform .2s;
}
.social-row a:hover { background: var(--brand-blue); transform: translateY(-3px); }
.social-row svg { width: 17px; height: 17px; fill: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 26px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: .87rem; color: #7f8fae;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: #9fadc8; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 17. Floating actions ---------- */
.float-actions {
  position: fixed; right: 18px; bottom: 18px; z-index: 120;
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); border: 0; cursor: pointer; position: relative;
  transition: transform .2s var(--ease);
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 28px; height: 28px; fill: #fff; }
.float-btn--wa { background: #25d366; }
.float-btn--call { background: var(--brand-blue); }
.float-btn--top { background: var(--navy-800); width: 46px; height: 46px; opacity: 0; pointer-events: none; align-self: center; }
.float-btn--top svg { width: 20px; height: 20px; }
.float-btn--top.is-visible { opacity: 1; pointer-events: auto; }
.float-btn::after {
  content: attr(data-label); position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(6px); white-space: nowrap;
  background: var(--navy-900); color: #fff; font-size: .8rem; font-weight: 600;
  padding: 7px 12px; border-radius: var(--radius-sm); opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.float-btn:hover::after { opacity: 1; transform: translateY(-50%); }
.pulse-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor;
  animation: pulse 2.4s ease-out infinite; pointer-events: none;
}
.float-btn--wa .pulse-ring { color: #25d366; }
.float-btn--call .pulse-ring { color: var(--brand-blue); }
@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- 18. Blog ---------- */
.post-card__meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .82rem; color: var(--gray-600);
  margin-bottom: 12px; font-weight: 600;
}
.post-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.badge {
  display: inline-block; background: var(--navy-050); color: var(--navy-700);
  font-size: .74rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
}
.badge--accent { background: var(--brand-blue-tint); color: var(--brand-blue-dark); }

.article { max-width: 780px; margin-inline: auto; }
.article h2 { margin-top: 2.2rem; }
.article h3 { margin-top: 1.8rem; }
.article img { border-radius: var(--radius); margin: 1.6rem 0; }
.article blockquote {
  margin: 1.8rem 0; padding: 22px 26px; border-left: 5px solid var(--brand-blue);
  background: var(--navy-050); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.06rem; color: var(--gray-800);
}
.article ul li,
.article ol li { color: var(--muted); }

.share-row { display: flex; gap: 10px; align-items: center; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--gray-200); }

/* ---------- 19. Misc components ---------- */
.info-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-tile {
  display: flex; gap: 16px; padding: 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--gray-200);
}
.info-tile svg { width: 26px; height: 26px; fill: var(--brand-blue); flex: none; margin-top: 4px; }
.info-tile h4 { margin-bottom: .3em; }
.info-tile p { font-size: .94rem; color: var(--muted); margin: 0; }
.info-tile a { font-weight: 600; }

.map-embed {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200); line-height: 0;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; }

.hours-table td { padding: 11px 0; border-bottom: 1px solid var(--gray-200); font-size: .95rem; }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--navy-800); }

.logo-strip { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; }
.logo-chip {
  padding: 12px 22px; border-radius: var(--radius-sm); background: #fff;
  border: 1px solid var(--gray-200); font-family: var(--font-head);
  font-size: 1.12rem; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--gray-600); font-weight: 600;
}

.pricing-note {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px 24px;
  background: var(--navy-050); border-radius: var(--radius); border: 1px dashed var(--navy-100);
  font-size: .94rem; color: var(--muted);
}
.pricing-note svg { width: 22px; height: 22px; fill: var(--brand-blue); flex: none; margin-top: 3px; }

.video-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9;
  background: var(--navy-800); display: grid; place-items: center; border: 0; cursor: pointer; width: 100%; padding: 0;
}
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.video-card__play {
  position: relative; z-index: 2; width: 70px; height: 70px; border-radius: 50%;
  background: var(--brand-blue); display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease);
}
.video-card:hover .video-card__play { transform: scale(1.12); }
.video-card__play svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.video-card__title {
  position: absolute; z-index: 2; bottom: 18px; left: 20px; right: 20px;
  color: #fff; font-weight: 600; text-align: left;
}

.tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 2px solid var(--gray-200); margin-bottom: 32px; }
.tab {
  padding: 12px 22px; border: 0; background: none; cursor: pointer; position: relative;
  font-family: var(--font-body); font-size: .97rem; font-weight: 600; color: var(--gray-600);
}
.tab.is-active { color: var(--brand-blue); }
.tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--brand-blue); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeIn .3s var(--ease); }

.rating-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 26px;
  padding: 26px 30px; background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.rating-score { font-family: var(--font-head); font-size: 3.4rem; line-height: 1; color: var(--navy-800); }
.rating-summary .quote__stars svg { width: 22px; height: 22px; }

/* ---------- 20. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .nav-list > li > a,
  .nav-list > li > button { padding: 10px 9px; font-size: .9rem; }
  .main-nav { gap: 14px; }
  .brand-logo { height: 46px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 92px 22px 32px; overflow-y: auto; box-shadow: var(--shadow-lg);
    z-index: 110;
    /* Clipped rather than translated off-canvas: a transform would widen the
       document and trip "content wider than screen" audits. */
    visibility: hidden;
    clip-path: inset(0 0 0 100%);
    transition: clip-path .3s var(--ease), visibility .3s;
  }
  .main-nav.is-open { visibility: visible; clip-path: inset(0 0 0 0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li > a,
  .nav-list > li > button { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1rem; }
  .nav-list > li > a[aria-current="page"]::after { display: none; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--gray-200);
    border-radius: 0; margin: 0 0 6px 14px; padding: 0 0 0 6px; display: none;
  }
  .nav-list > li.is-open > .submenu { display: block; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 20px; }
  .nav-cta .btn { width: 100%; }
  .nav-backdrop {
    /* Must stay below .site-header (z-index 100), which is the stacking context for .main-nav. */
    position: fixed; inset: 0; background: rgba(6, 21, 48, .5); z-index: 95;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease);
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 900px) {
  /* Keep hero text legible once the copy sits over the artwork. */
  .hero {
    background:
      linear-gradient(180deg, rgba(6, 21, 48, .93) 0%, rgba(6, 21, 48, .86) 60%, rgba(10, 31, 68, .78) 100%),
      url("../img/hero-truck.svg") center right / cover no-repeat,
      var(--navy-800);
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .cta-band .container { grid-template-columns: 1fr; text-align: center; }
  .cta-band .btn-row { justify-content: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .info-tiles { grid-template-columns: 1fr; }
  .media-badge { position: static; margin-top: 18px; max-width: none; display: flex; align-items: center; gap: 14px; justify-content: center; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .topbar-list li:nth-child(3) { display: none; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .rating-summary { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-social { display: none; }
  .float-actions { right: 12px; bottom: 12px; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}

/* ---------- 22. Print ---------- */
@media print {
  .site-header, .site-footer, .float-actions, .cta-band, .topbar { display: none !important; }
  body { color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: .8em; }
}
