/* ===================================================================
   Off The Rim Mobile Tyres, Site Stylesheet
   Palette pulled directly from the van livery + logo:
   asphalt black, chrome steel, racing red, hazard yellow.
   =================================================================== */

:root {
  --asphalt: #15171B;
  --asphalt-soft: #1E2126;
  --white: #FFFFFF;
  --off-white: #F6F6F4;
  --steel: #9198A0;
  --steel-light: #C7CBCF;
  --red: #D3241A;
  --red-dark: #A81C14;
  --yellow: #F4C21D;
  --ink: #1B1D20;
  --ink-soft: #4B4F55;
  --border: #E3E3E0;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1120px;
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin: 0 0 0.5em 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); }
h3 { font-size: 1.2rem; letter-spacing: 0.02em; }

p { max-width: 62ch; margin: 0 0 1em 0; color: var(--ink-soft); }
.center p { margin-left: auto; margin-right: auto; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Chevron motif (from the van's rear-door hazard stripe) ---------- */
.chevron-strip {
  height: 14px;
  width: 100%;
  background: repeating-linear-gradient(
    45deg,
    var(--yellow) 0, var(--yellow) 22px,
    var(--asphalt) 22px, var(--asphalt) 44px
  );
}

/* ---------- Header ---------- */
.site-header {
  background: var(--asphalt);
  border-bottom: 3px solid var(--red);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo-link { display: flex; align-items: center; }
.logo-link img { height: 46px; width: auto; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-cta .avail {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: none;
}
@media (min-width: 640px) {
  .header-cta .avail { display: block; }
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--red-dark);
  white-space: nowrap;
}
.btn-call:hover { background: var(--red-dark); }
.btn-call svg { width: 18px; height: 18px; flex-shrink: 0; }

.nav-toggle { display: none; }

.site-nav {
  background: var(--asphalt-soft);
}
.site-nav ul {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
  display: flex;
  gap: 26px;
  overflow-x: auto;
}
.site-nav a {
  display: block;
  padding: 12px 0;
  color: var(--steel-light);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--white);
  border-bottom-color: var(--yellow);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--asphalt);
  color: var(--white);
  padding: 56px 0 44px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 860px) {
  .hero .wrap { grid-template-columns: 1.1fr 0.9fr; }
}
.hero .eyebrow {
  display: inline-block;
  color: var(--asphalt);
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.hero h1 { color: var(--white); }
.hero p.lead {
  color: var(--steel-light);
  font-size: 1.08rem;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  align-items: center;
}
/* Hero media: main photo plus overlapping detail shot */ .hero-media { position: relative; padding: 0 14px 22px 0; } .hero-media-main { width: 100%; height: 240px; object-fit: cover; object-position: center 35%; border-radius: var(--radius); border: 1px solid #2A2D33; display: block; box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35); } @media (min-width: 480px) { .hero-media-main { height: 300px; } } @media (min-width: 640px) { .hero-media-main { height: 360px; } } @media (min-width: 860px) { .hero-media-main { height: 420px; } } .hero-media-accent { position: absolute; right: 0; bottom: 0; width: 46%; max-width: 200px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 4px solid var(--white); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45); display: block; } @media (max-width: 479px) { .hero-media-accent { width: 42%; border-width: 3px; } }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
}
.btn-secondary:hover { border-color: var(--white); }

/* ---------- Sections ---------- */
section { padding: 46px 0; }
section.tight { padding: 30px 0; }
.section-title { margin-bottom: 8px; }
.section-sub { color: var(--ink-soft); margin-bottom: 28px; max-width: 60ch; }

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
} .grid > * { min-width: 0; }
@media (min-width: 640px) {
  .grid.cols-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--off-white);
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.96rem; }
.card a.card-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
}

/* ---------- Vehicle / area tags ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--asphalt);
  color: var(--white);
  padding: 6px 11px;
  border-radius: var(--radius);
}

/* ---------- Band (dark section) ---------- */
.band {
  background: var(--asphalt);
  color: var(--white);
}
.band h2, .band h3 { color: var(--white); }
.band p { color: var(--steel-light); }
.band .card { background: var(--asphalt-soft); border-color: #2A2D33; }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.trust-item svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; }

/* ---------- Location list ---------- */
.loc-list { columns: 2; gap: 24px; }
@media (min-width: 640px) { .loc-list { columns: 3; } }
.loc-list li { break-inside: avoid; margin-bottom: 8px; }
.loc-list a { text-decoration: none; color: var(--ink); border-bottom: 1px solid transparent; } .loc-list a { overflow-wrap: break-word; word-break: break-word; }
.loc-list a:hover { border-bottom-color: var(--red); color: var(--red); }
.band .loc-list a { color: var(--white); }
.band .loc-list a:hover { color: var(--yellow); border-bottom-color: var(--yellow); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item h3 { margin-bottom: 8px; font-size: 1.05rem; }
.faq-item p { margin-bottom: 0; }

/* ---------- Contact page specifics ---------- */
.call-block {
  background: var(--asphalt);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
}
.call-block .btn-call { font-size: 1.5rem; padding: 16px 30px; margin-top: 10px; }
.call-block p.lead { color: var(--steel-light); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; font-family: var(--font-display); color: var(--red); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--asphalt);
  color: var(--steel-light);
  padding: 40px 0 20px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  margin-bottom: 26px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 7px; }
.footer-grid a { color: var(--steel-light); text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #2A2D33;
  padding-top: 16px;
  font-size: 0.82rem;
  color: var(--steel);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.footer-logo { height: 34px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 14px; }

/* ---------- Sticky mobile call bar ---------- */
.sticky-call {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  z-index: 50;
  border-top: 1px solid var(--red-dark);
}
.sticky-call svg { width: 19px; height: 19px; }
body { padding-bottom: 58px; }
@media (min-width: 860px) {
  .sticky-call { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 14px 0 0;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.small { font-size: 0.88rem; }
