/* Quality Truck And Bus Repair - site styles */
:root {
  --navy: #16283c;
  --navy-dark: #0e1a29;
  --steel: #33475e;
  --orange: #f26722;
  --orange-dark: #d5561a;
  --bg: #ffffff;
  --bg-alt: #f2f5f8;
  --text: #1c2733;
  --muted: #5a6b7d;
  --line: #dde4ea;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(14, 26, 41, 0.10);
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar {
  background: var(--navy-dark);
  color: #cfd9e4;
  font-size: 0.85rem;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #ffffff; text-decoration: none; font-weight: 600; }

/* Header / nav */
header.site {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}
.navwrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; max-width: var(--maxw); margin: 0 auto; }
.brand { color: #ffffff; text-decoration: none; line-height: 1.2; }
.brand .brand-top { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.04em; }
.brand .brand-sub { font-size: 0.72rem; color: #9fb2c5; letter-spacing: 0.14em; text-transform: uppercase; }
.brand-logo { height: 64px; width: auto; background: #ffffff; padding: 5px 12px; border-radius: 8px; }
@media (max-width: 880px) { .brand-logo { height: 52px; } }
nav.main { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav.main a {
  color: #e6edf3;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 6px;
}
nav.main a:hover { background: var(--steel); }
nav.main a.cta {
  background: var(--orange);
  color: #ffffff;
  margin-left: 6px;
}
nav.main a.cta:hover { background: var(--orange-dark); }
#nav-toggle { display: none; }
label.nav-toggle-btn { display: none; color: #ffffff; font-size: 1.6rem; cursor: pointer; user-select: none; padding: 2px 10px; }

@media (max-width: 880px) {
  label.nav-toggle-btn { display: block; }
  nav.main {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 10px;
  }
  #nav-toggle:checked ~ nav.main { display: flex; }
  .navwrap { flex-wrap: wrap; }
}

/* Hero */
.hero {
  background: linear-gradient(rgba(14,26,41,0.72), rgba(14,26,41,0.72)), var(--navy);
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  padding: 84px 20px;
}
.hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.9rem); line-height: 1.2; margin-bottom: 14px; }
.hero h1 .accent { color: var(--orange); }
.hero p.sub { font-size: 1.12rem; color: #dbe4ec; max-width: 720px; margin: 0 auto 26px; }
.btn {
  display: inline-block;
  background: var(--orange);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}
.btn:hover { background: var(--orange-dark); }
.btn.ghost { background: transparent; border: 2px solid #ffffff; }
.btn.ghost:hover { background: rgba(255,255,255,0.12); }
.hero .btnrow { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section.block { padding: 56px 0; }
section.block.alt { background: var(--bg-alt); }
.block h1 { color: var(--navy); margin-bottom: 10px; line-height: 1.25; }
.block h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--navy); margin-bottom: 10px; }
.block p.lead { color: var(--muted); max-width: 760px; margin-bottom: 24px; }
.center { text-align: center; }
.center p.lead { margin-left: auto; margin-right: auto; }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin-top: 8px; }
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { color: var(--navy); font-size: 1.08rem; margin-bottom: 6px; }
.card p { font-size: 0.92rem; color: var(--muted); }
.card .more { color: var(--orange-dark); font-weight: 700; font-size: 0.88rem; }

/* Two-column */
.twocol { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 780px) { .twocol { grid-template-columns: 1fr; } }
.twocol img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Checklist */
ul.checks { list-style: none; margin: 14px 0; }
ul.checks li { padding: 6px 0 6px 30px; position: relative; }
ul.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  clip-path: none;
}
ul.checks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 15px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

/* Offer banner */
.offer {
  background: var(--orange);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  font-weight: 600;
  font-size: 1.05rem;
}
.offer a { color: #ffffff; }

/* CTA band */
.ctaband { background: var(--navy); color: #ffffff; text-align: center; padding: 56px 20px; }
.ctaband h2 { color: #ffffff; margin-bottom: 8px; }
.ctaband p { color: #cfd9e4; margin-bottom: 22px; }

/* Info rows (NAP) */
.infogrid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); text-align: center; }
.infogrid .item { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.infogrid .item strong { display: block; color: var(--navy); margin-bottom: 4px; }
.infogrid .item a { text-decoration: none; }

/* Map */
.mapwrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.mapwrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Prose pages (terms/privacy/faq) */
.prose { max-width: 820px; margin: 0 auto; }
.prose h1 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); color: var(--navy); margin-bottom: 18px; }
.prose h2 { font-size: 1.2rem; color: var(--navy); margin: 26px 0 8px; }
.prose p, .prose li { margin-bottom: 10px; }
.prose ul { margin: 0 0 12px 24px; }

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #ffffff; }
.faq-item summary { padding: 16px 20px; font-weight: 700; color: var(--navy); cursor: pointer; }
.faq-item div { padding: 0 20px 16px; color: var(--muted); }

/* Forms */
form.contact { max-width: 640px; margin: 0 auto; display: grid; gap: 14px; }
form.contact label { font-weight: 600; font-size: 0.92rem; color: var(--navy); }
form.contact input, form.contact textarea, form.contact select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  margin-top: 4px;
}
form.contact input:focus, form.contact textarea:focus { outline: 2px solid var(--orange); border-color: transparent; }
form.contact .fineprint { font-size: 0.8rem; color: var(--muted); }

/* Breadcrumbs */
.crumbs { font-size: 0.85rem; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); }

/* Footer */
footer.site { background: var(--navy-dark); color: #b9c7d4; padding: 46px 0 26px; font-size: 0.92rem; }
footer.site .cols { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 26px; }
footer.site h4 { color: #ffffff; margin-bottom: 10px; font-size: 1rem; }
footer.site a { color: #d7e0e9; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 6px; }
footer.site .legal { border-top: 1px solid #22374e; padding-top: 18px; text-align: center; color: #8ea0b2; font-size: 0.82rem; }
footer.site .legal a { color: #8ea0b2; }

/* Utility */
.mt { margin-top: 22px; }
.small { font-size: 0.85rem; color: var(--muted); }
