/* Motorbike Medics — static site styles. No external fonts or libraries. */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #181818;
  --line: #262626;
  --text: #ffffff;
  --muted: #a3a3a3;
  --accent: #e10600;
  --accent-hover: #ff1a12;
  --accent-text: #ff3b30; /* lighter red for small text on black (AA contrast) */
  --accent-ink: #ffffff;
  --accent-soft: rgba(225, 6, 0, .12);
  --hero-photo: url("../images/workshop.jpg");
  --radius: 4px;
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", 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(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .925rem; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: .6em 1em; border-radius: 6px; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.5em; border-radius: 2px; text-transform: uppercase; letter-spacing: .08em; font-size: .88rem; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; line-height: 1.2; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { padding: 1.1em 1.9em; font-size: .92rem; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: #fff; background: #fff; color: #0a0a0a; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.25rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 10, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-mark { width: 46px; height: auto; aspect-ratio: 459 / 345; color: #fff; }
.brand-text { font-family: var(--display); font-size: 1.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; padding-left: 14px; border-left: 1px solid var(--line); }
.brand-text b { color: var(--accent-text); margin-left: .35em; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: .5em .9em; color: #d4d4d4; text-decoration: none; font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.site-nav ul a:hover { color: #fff; }
.site-nav ul a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); }
.nav-call { padding: .75em 1.2em; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 2px; width: 46px; height: 46px; cursor: pointer; color: var(--text); }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s, opacity .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero — full-bleed workshop photo with dark overlay */
.hero, .page-hero { position: relative; isolation: isolate; border-bottom: 1px solid var(--line); background-color: var(--bg); }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--hero-photo) 70% center / cover no-repeat;
  filter: grayscale(1) contrast(1.05);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.72) 45%, rgba(10,10,10,.35) 100%),
    linear-gradient(0deg, rgba(10,10,10,.9) 0%, rgba(10,10,10,0) 35%);
}
.hero { min-height: min(88vh, 820px); display: flex; align-items: center; padding: 96px 0; }
.hero-inner { width: 100%; }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); letter-spacing: .01em; }
.hero h1::after { content: ""; display: block; width: 72px; height: 4px; background: var(--accent); margin-top: 28px; }
.hl { color: var(--accent); }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--accent-text); font-weight: 700; text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; margin-bottom: 1.1em; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex: none; }
.center .kicker { justify-content: center; }
.lead { font-size: 1.15rem; color: #d4d4d4; max-width: 40em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 2rem 0 0; }
.chips li { display: inline-flex; align-items: center; gap: .5em; background: rgba(10,10,10,.6); border: 1px solid rgba(255,255,255,.14); padding: .55em .95em; border-radius: 2px; font-size: .85rem; font-weight: 600; letter-spacing: .03em; backdrop-filter: blur(4px); }
.chips .ico { color: var(--accent-text); }

.page-hero { padding: 120px 0 72px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 18em; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 48px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 48px; height: 3px; background: var(--accent); }
.card:hover { border-color: #3a3a3a; transform: translateY(-2px); }
.card p { color: #c4c4c4; }
.card.big h2 { font-size: 1.7rem; }
.card-ico { width: 48px; height: 48px; fill: var(--accent-text); border: 1px solid rgba(225,6,0,.5); padding: 11px; border-radius: 2px; margin-bottom: 22px; }
.more { margin-top: auto; font-weight: 700; text-decoration: none; }
.more::after { content: " \2192"; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.feature { display: flex; gap: 16px; }
.feature p { color: var(--muted); margin: 0; }
.f-ico { width: 30px; height: 30px; fill: var(--accent-text); flex: none; margin-top: 2px; }

.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.panel { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section.alt .panel { background: var(--bg); }
.panel h2, .panel h3 { display: flex; align-items: center; gap: .4em; }
.panel h2 { font-size: 1.5rem; }
.panel h2 .ico { color: var(--accent-text); }
.panel-urgent { border-color: var(--accent); border-left-width: 4px; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 1.7em; margin-bottom: .5em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: .9em; height: .5em; border-left: 3px solid var(--accent-text); border-bottom: 3px solid var(--accent-text); transform: rotate(-45deg); }

/* Contact tiles */
.contact-strip { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.contact-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.contact-tiles.big { grid-template-columns: repeat(4, 1fr); }
.contact-tiles a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color .15s; }
.contact-tiles a:hover { border-color: var(--accent); color: var(--text); }
.contact-tiles span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; font-size: .95rem; color: var(--muted); }
.contact-tiles b { color: var(--text); font-size: 1.05rem; }
.t-ico { width: 44px; height: 44px; flex: none; fill: var(--accent-text); border: 1px solid rgba(225,6,0,.5); padding: 10px; border-radius: 2px; }
.contact-tiles.big a { flex-direction: column; align-items: flex-start; padding: 24px; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .6em 1.5em; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; background: var(--accent); color: #fff; padding: 64px 0; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 28px, rgba(0,0,0,.06) 28px 56px); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { margin: 0; font-weight: 500; color: rgba(255,255,255,.9); }
.cta-band .btn-row { margin-top: 0; }
.cta-band .btn-accent { background: #0a0a0a; color: #fff; }
.cta-band .btn-accent:hover { background: #fff; color: #0a0a0a; }
.cta-band .btn-ghost { border-color: #fff; color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--accent); }
.cta-band :focus-visible { outline-color: #fff; }

/* Footer */
.site-footer { background: #050505; border-top: 1px solid var(--line); padding: 56px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px; }
.footer-grid .brand { margin-bottom: 14px; }
.foot-h { font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 1em; }
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { margin-bottom: .55em; }
.foot-list a { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: .5em; overflow-wrap: anywhere; }
.foot-list a:hover { color: #fff; }
.foot-list .ico { color: var(--accent-text); }
.foot-base { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; padding-bottom: 24px; color: var(--muted); font-size: .85rem; }
.foot-base p { margin: 0; }

/* Floating call button (mobile only) */
.fab { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .split, .contact-strip { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .contact-tiles.big { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 12px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; display: none; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: .85em .4em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav ul a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: .9em; }
  .no-js .site-nav { position: static; display: flex; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { min-height: 78vh; padding: 64px 0 72px; }
  :root { --hero-photo: url("../images/workshop-1200.jpg"); }
  .hero::before, .page-hero::before { background-position: center 30%; }
  .hero::after, .page-hero::after { background: linear-gradient(0deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.62) 100%); }
  .page-hero { padding: 72px 0 48px; }
  .section { padding: 52px 0; }
  .cards, .cards.two, .features, .info-grid, .contact-tiles, .contact-tiles.big { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .brand-text { font-size: .95rem; letter-spacing: .12em; padding-left: 10px; }
  .brand-mark { width: 38px; }
  .brand { gap: 10px; }
  .fab { display: inline-flex; align-items: center; gap: .5em; position: fixed; right: 16px; bottom: 16px; z-index: 60;
    background: var(--accent); color: #fff; padding: .95em 1.3em; border-radius: 2px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem;
    text-decoration: none; box-shadow: 0 6px 24px rgba(0,0,0,.5); }
  .fab .ico { width: 1.2em; height: 1.2em; }
  .site-footer { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
