@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #0f0e0d;
  --bg-alt: #0a0908;
  --card: #1a1816;
  --border: #2e2b27;
  --border-light: #3a3632;
  --fg: #f0ede8;
  --muted: #8c8480;
  --body: #c8c2b8;
  --accent: #f5a623;
  --accent-hover: #fbbf47;
  --font-display: 'Roboto Slab', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
button { font-family: inherit; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(15,14,13,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { text-decoration: none; display: flex; align-items: baseline; gap: 8px; }
.logo-brand { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--fg); letter-spacing: -0.02em; }
.logo-tag { font-size: 13px; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }

.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--body); text-decoration: none;
  letter-spacing: .04em; text-transform: uppercase; transition: color .2s;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.active { border-bottom-color: var(--accent); }

.btn-quote {
  font-size: 13px; font-weight: 600; color: #0f0e0d; background-color: var(--accent);
  padding: 10px 24px; text-decoration: none; letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s; display: inline-block;
}
.btn-quote:hover { background-color: var(--accent-hover); }

.mobile-toggle { background: none; border: none; cursor: pointer; color: var(--fg); font-size: 22px; padding: 4px; display: none; }

.mobile-menu { display: none; border-top: 1px solid var(--border); padding-bottom: 24px; background: rgba(15,14,13,0.98); }
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--body);
  text-decoration: none; border-bottom: 1px solid var(--border);
}
.mobile-menu a.active { color: var(--accent); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
}

/* ---------- Footer ---------- */
.site-footer { background-color: var(--bg-alt); border-top: 1px solid var(--border); padding: 48px 0; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 32px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; color: var(--muted); text-decoration: none; letter-spacing: .06em; text-transform: uppercase; transition: color .2s; }
.footer-nav a:hover { color: var(--fg); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--fg); }

/* ---------- Shared bits ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.eyebrow-line { width: 40px; height: 2px; background-color: var(--accent); }
.eyebrow-text { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }

.btn-primary {
  background-color: var(--accent); color: #0f0e0d; border: none; padding: 16px 36px;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; display: inline-block; cursor: pointer; transition: background .2s; white-space: nowrap;
}
.btn-primary:hover { background-color: var(--accent-hover); }
.btn-outline {
  color: var(--fg); border: 1px solid var(--border-light); padding: 16px 36px; font-size: 14px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; display: inline-block; transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.page-header { border-bottom: 1px solid var(--border); padding: 64px 0 48px; background: linear-gradient(to bottom, var(--bg-alt), var(--bg)); }
.page-header h1 { font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; color: var(--fg); letter-spacing: -0.02em; margin-bottom: 16px; }
.page-header p { font-size: 17px; line-height: 1.7; color: var(--body); max-width: 600px; }

.section { padding: 72px 0; }
.section-alt { background-color: var(--bg-alt); }

.card { background-color: var(--card); border: 1px solid var(--border); }

.cta-banner { background-color: var(--card); border-top: 1px solid var(--border); padding: 64px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.cta-row h3 { font-weight: 700; font-size: 28px; color: var(--fg); margin-bottom: 8px; }
.cta-row p { font-size: 15px; color: var(--muted); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.grid-3col { display: grid; grid-template-columns: 3fr 2fr; gap: 80px; }
.grid-7-5 { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.grid-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 64px; align-items: start; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-2, .grid-3col, .grid-7-5, .grid-3-2 { grid-template-columns: 1fr !important; gap: 40px !important; }
  .grid-3 { grid-template-columns: 1fr !important; }
}
@media (min-width: 600px) and (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 500px) { .grid-4 { grid-template-columns: 1fr !important; } }

/* Fact panel / spec rows */
.fact-row, .spec-row { padding: 18px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.fact-row .k, .spec-row .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fact-row .v { font-size: 15px; font-weight: 500; color: var(--fg); line-height: 1.5; }
.spec-row { flex-direction: row; justify-content: space-between; align-items: flex-start; }
.spec-row .v { font-weight: 600; font-size: 13px; text-align: right; max-width: 55%; }

/* Timeline */
.timeline-item { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--border); align-items: start; }
.timeline-item .year { font-size: 22px; font-weight: 800; color: var(--accent); }
.timeline-item .event { font-size: 15px; line-height: 1.7; color: var(--body); }

/* Team */
.team-card img { width: 100%; height: 220px; object-fit: cover; display: block; background-color: var(--border); object-position: center top; }
.team-card .body { padding: 20px 20px 24px; }
.team-card .name { font-size: 17px; font-weight: 700; color: var(--fg); margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--accent); margin-bottom: 6px; }
.team-card .joined { font-size: 12px; color: var(--muted); letter-spacing: .06em; }

/* Home hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-color: #1a1410; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .55; }
.hero-scrim-1 { position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,14,13,.95) 40%, rgba(15,14,13,.3) 100%); }
.hero-scrim-2 { position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(to top, var(--bg), transparent); }
.hero-ticker {
  position: absolute; top: 100px; right: 0; writing-mode: vertical-rl; font-size: 11px; letter-spacing: .25em;
  text-transform: uppercase; color: var(--muted); padding: 16px 20px; border-left: 1px solid var(--border);
}
.hero-inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 24px 100px; width: 100%; }
.hero-copy { max-width: 720px; }
.hero-copy h1 { font-weight: 800; font-size: clamp(48px,7vw,88px); line-height: 1; color: var(--fg); letter-spacing: -0.02em; margin-bottom: 32px; }
.hero-copy h1 .accent { color: var(--accent); }
.hero-copy p { font-size: 18px; font-weight: 300; line-height: 1.7; color: var(--body); max-width: 520px; margin-bottom: 48px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid var(--border); padding-top: 40px; }
.stats-grid .stat { padding-right: 32px; border-right: 1px solid var(--border); }
.stats-grid .stat:last-child { border-right: none; }
.stats-grid .stat:not(:first-child) { padding-left: 32px; }
.stats-grid .value { font-size: clamp(28px,3.5vw,44px); font-weight: 800; color: var(--accent); line-height: 1; }
.stats-grid .value .unit { font-size: .45em; color: var(--muted); margin-left: 4px; font-weight: 400; }
.stats-grid .label { font-size: 13px; color: var(--muted); margin-top: 6px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid .stat { border-right: none; padding-left: 0; padding-right: 0; }
}

.quicklinks { background-color: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quicklinks-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quicklinks-grid a {
  display: block; padding: 36px 32px; text-decoration: none; border-right: 1px solid var(--border); transition: background .2s;
}
.quicklinks-grid a:last-child { border-right: none; }
.quicklinks-grid a:hover { background-color: #211f1d; }
.quicklinks-grid .title { font-size: 18px; font-weight: 700; color: var(--fg); margin-bottom: 8px; }
.quicklinks-grid .desc { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 700px) {
  .quicklinks-grid { grid-template-columns: 1fr; }
  .quicklinks-grid a { border-right: none; border-bottom: 1px solid var(--border); }
}

/* Services tabs */
.tab-row { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 64px; overflow-x: auto; }
.tab-btn {
  font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  background: none; border: none; border-bottom: 2px solid transparent; padding: 16px 28px; cursor: pointer;
  white-space: nowrap; transition: color .2s; display: flex; align-items: center; gap: 8px;
}
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; }
.service-img { width: 100%; height: 360px; object-fit: cover; display: block; background-color: var(--card); margin-bottom: 40px; }
.service-title { font-weight: 700; font-size: 32px; color: var(--fg); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.service-title .icon { color: var(--accent); }
.service-desc { font-size: 17px; line-height: 1.8; color: var(--body); margin-bottom: 40px; }
.service-note { font-size: 16px; line-height: 1.8; color: var(--muted); }
.spec-box { background-color: var(--card); border: 1px solid var(--border); padding: 32px; }
.spec-box .heading { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.contact-box { margin-top: 24px; background-color: var(--card); border: 1px solid var(--border); padding: 24px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.contact-box .phone { color: var(--accent); font-weight: 600; }

/* Fleet routes */
.route-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border); }
.route-row .dot { width: 8px; height: 8px; border-radius: 50%; background-color: var(--border-light); flex-shrink: 0; }
.route-row .dot.hq { background-color: var(--accent); }
.route-row .city { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-size: 16px; font-weight: 600; color: var(--fg); }
.route-row .note { font-size: 13px; color: var(--muted); padding-left: 18px; }
.route-row .state { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.route-map-legend { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px; display: flex; gap: 20px; font-size: 11px; }
.route-map-legend .item { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.route-map-legend .dot { width: 8px; height: 8px; border-radius: 50%; }

.fleet-card img { width: 100%; height: 200px; object-fit: cover; display: block; background-color: var(--border); }
.fleet-card .body { padding: 24px 24px 28px; }
.fleet-card .head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.fleet-card h3 { font-size: 20px; font-weight: 700; color: var(--fg); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fleet-card .count { font-size: 28px; font-weight: 800; color: var(--accent); }
.badge { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border-light); padding: 3px 8px; }
.badge.hq { color: var(--accent); border-color: var(--accent); }

/* Contact form */
.form-group { display: flex; flex-direction: column; gap: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .form-row-2 { grid-template-columns: 1fr; } }
label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
label .optional { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }
input, select, textarea {
  width: 100%; background-color: var(--card); border: 1px solid var(--border); color: var(--fg);
  padding: 14px 16px; font-family: var(--font-body); font-size: 15px; outline: none; transition: border-color .2s; border-radius: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; }
select { cursor: pointer; }

.upload-box {
  border: 1px dashed var(--border-light); background-color: var(--card); padding: 28px 20px; text-align: center; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.upload-box.dragging { border-color: var(--accent); background-color: rgba(245,166,35,0.04); }
.upload-box .hint { font-size: 13px; color: var(--muted); line-height: 1.6; }
.upload-box .browse { color: var(--accent); font-weight: 600; }
.thumb-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb { position: relative; width: 80px; height: 80px; }
.thumb img { width: 80px; height: 80px; object-fit: cover; display: block; border: 1px solid var(--border); }
.thumb-remove {
  position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; background-color: var(--bg);
  border: 1px solid var(--border-light); color: var(--fg); font-size: 10px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}

.success-box { background-color: var(--card); border: 1px solid var(--accent); padding: 56px; text-align: center; }
.success-box .check { font-size: 48px; color: var(--accent); margin-bottom: 20px; }
.success-box h3 { font-size: 26px; font-weight: 700; color: var(--fg); margin-bottom: 12px; }
.success-box p { font-size: 16px; color: var(--muted); line-height: 1.7; }
.success-box .phone { color: var(--accent); font-weight: 600; }

.enquiry-box { padding: 32px; margin-bottom: 24px; }
.enquiry-box h3 { font-size: 18px; font-weight: 700; color: var(--fg); margin-bottom: 24px; }
.enquiry-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.enquiry-item:last-child { border-bottom: none; }
.enquiry-item .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.enquiry-item .v { font-size: 15px; font-weight: 500; color: var(--fg); }
.enquiry-item .v.accent { color: var(--accent); }

.depot-card { padding: 20px 24px; margin-bottom: 12px; }
.depot-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.depot-city { font-size: 16px; font-weight: 700; color: var(--fg); }
.depot-phone { font-size: 13px; color: var(--accent); }
.depot-address { font-size: 13px; color: var(--muted); }
