/* Dusty's Heavy Diesel — site styles */
:root {
  --blue: #22409a;
  --blue-dark: #162a66;
  --green: #138a3a;
  --green-dark: #0e6b2d;
  --ink: #16202e;
  --ink-soft: #4a5566;
  --line: #dfe3ea;
  --bg: #ffffff;
  --bg-alt: #f3f5f8;
  --night: #0f1a2e;
  --radius: 10px;
  --wrap: 1160px;
  --shadow: 0 6px 24px rgba(15, 26, 46, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: "Barlow Condensed", "Inter", system-ui, sans-serif; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); font-weight: 700; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; z-index: 99; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { border-color: currentColor; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--night); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }

/* Top bar + header */
.topbar { background: var(--night); color: #c9d2e3; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1em; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .portal-link { background: var(--green); padding: 2px 10px; border-radius: 999px; }
.topbar .portal-link:hover { background: var(--green-dark); }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); background: var(--bg-alt); }
.nav .btn { margin-left: 8px; padding: .6em 1.1em; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--green-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .topbar .hide-sm { display: none; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--night) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 18, 34, .92) 0%, rgba(10, 18, 34, .75) 45%, rgba(10, 18, 34, .35) 100%); }
.hero .wrap { position: relative; padding-top: 110px; padding-bottom: 110px; }
.hero p { font-size: 1.2rem; max-width: 36em; color: #dbe2ee; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.hero-sm .wrap { padding-top: 70px; padding-bottom: 70px; }
.hero .eyebrow { color: #6fd38f; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5em; }
.tag { font-size: .85rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); }

/* Sections */
section { padding: 80px 0; }
.alt { background: var(--bg-alt); }
.dark { background: var(--night); color: #fff; }
.dark .lead, .dark p { color: #c9d2e3; }
.section-head { margin-bottom: 40px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .15s; }
a.card:hover { transform: translateY(-3px); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card .icon-band { aspect-ratio: 4/3; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.card .icon-band svg { width: 84px; height: 84px; fill: #fff; opacity: .95; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--ink-soft); font-size: .97rem; }
.card-body .more { margin-top: auto; font-weight: 700; color: var(--green); }
.badge-new { display: inline-block; background: var(--green); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; padding: 2px 8px; border-radius: 4px; vertical-align: middle; margin-left: 6px; }

/* Split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.reverse > :first-child { order: 2; } }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; }
.cols-2 { columns: 2; column-gap: 40px; }
.cols-2 li { break-inside: avoid; }
@media (max-width: 640px) { .cols-2 { columns: 1; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 3rem; line-height: 1; color: #6fd38f; }
.stat span { color: #c9d2e3; font-weight: 600; }

/* Partner badges */
.badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 40px; }
.badges figure { margin: 0; text-align: center; }
.badges img { height: 56px; width: auto; margin: 0 auto 8px; }
.badges figcaption { font-size: .8rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }

/* Callout / licence box */
.callout { border-left: 5px solid var(--green); background: #fff; padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.callout h3 { margin-bottom: .3em; }
.todo { background: #fff3a3; color: #5a4a00; padding: 0 4px; border-radius: 3px; font-weight: 700; }

/* Breakdown band */
.band { background: linear-gradient(100deg, var(--blue-dark), var(--blue)); color: #fff; padding: 50px 0; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { margin: 0 0 .2em; }
.band p { margin: 0; color: #dbe2ee; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.info-list strong { color: var(--ink-soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.map { width: 100%; min-height: 380px; height: 100%; border: 0; border-radius: var(--radius); }
.hours { border-collapse: collapse; width: 100%; }
.hours td { padding: 4px 0; }
.hours td:last-child { text-align: right; font-weight: 600; }

/* Footer */
.site-footer { background: var(--night); color: #aeb8cb; padding: 60px 0 30px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-family: inherit; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4em; }
.foot-logo { background: #fff; display: inline-block; padding: 8px 12px; border-radius: 8px; margin-bottom: 14px; }
.foot-logo img { height: 44px; width: auto; }
.social { display: flex; flex-direction: column; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.social svg { width: 18px; height: 18px; fill: #6fd38f; }
.legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } section { padding: 56px 0; } .hero .wrap { padding-top: 70px; padding-bottom: 70px; } }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(0, 0, 0, .15); }
  .callbar a { flex: 1; text-align: center; padding: 14px 8px; font-weight: 700; color: #fff; text-decoration: none; }
  .callbar .call { background: var(--green); }
  .callbar .mail { background: var(--blue); }
  body { padding-bottom: 52px; }
}
