/* Lavington Tyre & Exhaust Centre — site styles */
:root {
  --red: #e10b14;
  --red-dark: #b8080f;
  --ink: #1b1c1f;
  --ink-2: #2a2c31;
  --text: #2e3036;
  --muted: #5d616b;
  --line: #e4e5e8;
  --bg: #ffffff;
  --bg-soft: #f5f5f6;
  --radius: 10px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: .01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* Top bar */
.topbar { background: var(--ink); color: #c9cbd1; font-size: .9rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .hours { margin-right: auto; }
/* Phones: the header call button already shows the number, so drop the top bar */
@media (max-width: 719px) { .topbar { display: none; } }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.logo { flex: 0 0 auto; display: block; }
.logo img { height: 68px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 10px 10px; white-space: nowrap; border-radius: 6px;
  font-family: var(--head); font-weight: 600; font-size: 1.12rem; letter-spacing: .02em;
  color: var(--ink); text-decoration: none; text-transform: uppercase;
}
.nav a:hover { background: var(--bg-soft); color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); }
.header-call { flex: 0 0 auto; }
.menu-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 46px; height: 46px; cursor: pointer; color: var(--ink);
}
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1340px) {
  .site-header .wrap { min-height: 72px; gap: 12px; }
  .logo img { height: 56px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-call { order: 2; margin-left: auto; }
  .menu-toggle { order: 3; margin-left: 0; }
  .nav {
    order: 4; flex-basis: 100%; margin: 0;
    display: none; padding-bottom: 12px;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 12px 4px; border-top: 1px solid var(--line); border-radius: 0; }
  .site-header .wrap { flex-wrap: wrap; }
}
@media (max-width: 479px) {
  .header-call .btn-label { display: none; }
  .header-call.btn { padding: 0; width: 46px; height: 46px; justify-content: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; border: 2px solid transparent;
  font-family: var(--head); font-weight: 700; font-size: 1.12rem; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; line-height: 1.1; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Hero (home) */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,21,24,.92) 0%, rgba(20,21,24,.78) 45%, rgba(20,21,24,.35) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; }
.hero h1 { color: #fff; max-width: 15em; }
.hero p { font-size: 1.2rem; max-width: 34em; color: #e7e8eb; }
.hero .eyebrow { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 719px) {
  .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .hero::after { background: linear-gradient(180deg, rgba(20,21,24,.75), rgba(20,21,24,.9)); }
}
.eyebrow {
  display: inline-block; font-family: var(--head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: .95rem; color: var(--red); margin-bottom: 10px;
}
.hero .eyebrow::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--red); vertical-align: middle; margin-right: 10px; }

/* Page header (inner pages) */
.page-head { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 260px;
  background: var(--red); transform: skewX(-18deg); opacity: .95;
}
.page-head .wrap { position: relative; padding-top: 44px; padding-bottom: 44px; }
.page-head h1 { color: #fff; margin: 0; max-width: 80%; }
.page-head .eyebrow { color: #ff6a70; }
@media (max-width: 719px) { .page-head::before { width: 90px; right: -40px; } .page-head h1 { max-width: 100%; } }

/* Sections */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 719px) { .section { padding: 52px 0; } }

/* Intro + specialties */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 899px) { .intro { grid-template-columns: 1fr; gap: 28px; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; font-weight: 600; color: var(--ink); line-height: 1.35;
}
.checklist li::before {
  content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
}
@media (max-width: 479px) { .checklist { grid-template-columns: 1fr; } }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1023px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .cards { grid-template-columns: 1fr; } }
.card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--text);
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 14px 32px rgba(0,0,0,.1); color: var(--text); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 1rem; margin-bottom: 14px; }
.card .more { margin-top: auto; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--red); }
.card .more::after { content: " \2192"; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
.timeline li { border-top: 4px solid var(--red); padding-top: 16px; }
.timeline .year { font-family: var(--head); font-size: 2.6rem; font-weight: 700; color: var(--ink); line-height: 1; display: block; margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0; }
@media (max-width: 719px) { .timeline { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--red); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 36px; padding-bottom: 36px; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: 4px 0 0; color: #ffe3e4; }
.cta-band .btn { background: #fff; color: var(--red); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }

/* Visit / contact */
.visit { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; align-items: stretch; }
@media (max-width: 899px) { .visit { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { padding-top: 0; }
.info-list svg { width: 22px; height: 22px; color: var(--red); flex: 0 0 auto; margin-top: 3px; }
.info-list strong { display: block; font-family: var(--head); font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.info-list a { color: var(--text); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 340px; box-shadow: var(--shadow); background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Inner page layout */
.page { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }
@media (max-width: 959px) { .page { grid-template-columns: 1fr; gap: 32px; } }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }
.prose .lead { font-size: 1.2rem; color: var(--ink); }
.prose figure { margin: 0 0 1.5em; }
.prose figure img { border-radius: var(--radius); }
.prose .float-img { float: right; width: 42%; max-width: 300px; margin: 4px 0 18px 28px; }
@media (max-width: 559px) { .prose .float-img { float: none; width: 100%; max-width: 260px; margin: 0 0 20px; } }
.prose::after { content: ""; display: block; clear: both; }
.callout {
  background: var(--bg-soft); border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin: 1.5em 0;
}
.callout h3 { margin-bottom: .3em; font-size: 1.3rem; }
.callout p:last-child { margin: 0; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.2em; }
.brands li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .95rem; font-weight: 600; color: var(--ink); }
.prose ul.ticks { list-style: none; padding: 0; }
.prose ul.ticks li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.prose ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.service-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0 0 1.4em; }
.service-tiers li { border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 18px; text-align: center; font-family: var(--head); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
@media (max-width: 559px) { .service-tiers { grid-template-columns: 1fr; } }

.sidebar { position: sticky; top: 110px; display: grid; gap: 18px; }
@media (max-width: 959px) { .sidebar { position: static; } }
.side-card { background: var(--ink); color: #d6d8dd; border-radius: var(--radius); padding: 24px; }
.side-card h2 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.side-card p { font-size: 1rem; }
.side-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.side-card .phone-big { display: block; font-family: var(--head); font-size: 2rem; font-weight: 700; color: #fff; text-decoration: none; line-height: 1.1; margin: 4px 0 12px; }
.side-card .phone-big:hover { color: #fff; text-decoration: underline; }
.side-info { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; font-size: 1rem; }
.side-info h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.side-info p { margin-bottom: 14px; }
.side-info p:last-child { margin-bottom: 0; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.contact-card svg { width: 28px; height: 28px; color: var(--red); margin-bottom: 10px; }
.contact-card h2 { font-size: 1.4rem; margin-bottom: 6px; }
.contact-card p { margin: 0 0 6px; }
.contact-card .big { font-family: var(--head); font-weight: 700; font-size: 1.5rem; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-card .big:hover { color: var(--red); }
.contact-photo { border-radius: var(--radius); overflow: hidden; }
.contact-photo img { width: 100%; }

/* Footer */
.site-footer { background: var(--ink); color: #b9bcc4; font-size: .98rem; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: #fff; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-logo { background: #fff; border-radius: 8px; padding: 8px; display: inline-block; margin-bottom: 14px; }
.footer-logo img { height: 64px; width: auto; }
.footer-chat { margin-top: 10px; }
.legal {
  border-top: 1px solid #34363c; margin-top: 40px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; font-size: .9rem; color: #8d919a;
}
.legal a { color: #c9cbd1; }
.legal span + span::before { content: none; }
/* Leave room for the Podium chat bubble at the bottom right */
@media (max-width: 559px) { .legal { padding-bottom: 64px; } }

/* 404 */
.notfound { text-align: center; padding: 96px 0; }
.notfound .code { font-family: var(--head); font-size: 6rem; font-weight: 700; color: var(--red); line-height: 1; }

:focus-visible { outline: 3px solid #1e6fd9; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Laptop widths: keep the full nav on one line by shrinking the header call button to an icon */
@media (min-width: 1341px) and (max-width: 1800px) {
  .nav a { padding: 10px 8px; font-size: 1.06rem; }
  .header-call .btn-label { display: none; }
  .header-call.btn { padding: 0; width: 46px; height: 46px; justify-content: center; }
}
