/* Apex Mobile Roadside & Auto Care - one stylesheet, mobile-first, no external requests */
:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #444444;
  --red: #e01313;
  --accent: #cc1010;
  --on-red: #ffffff;
  --surface: #f4f4f4;
  --border: #767676;
  --hero-bg: #111111;
  --hero-fg: #ffffff;
  --link: #b30e0e;
  --focus: #111111;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --fg: #ffffff;
    --muted: #d0d0d0;
    --accent: #ff6b6b;
    --surface: #1f1f1f;
    --border: #8c8c8c;
    --hero-bg: #1f1f1f;
    --link: #ff8a8a;
    --focus: #ffffff;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  padding-bottom: 5rem;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.wrap { width: 100%; max-width: 62rem; margin: 0 auto; padding: 0 1rem; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 0.15em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: #ffffff; }
h1, h2, h3 { line-height: 1.25; margin: 1.6rem 0 0.6rem; }
h1 { font-size: 1.9rem; margin-top: 1rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.2rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.35rem; }

.skip {
  position: absolute; left: 0.5rem; top: -4rem;
  background: var(--fg); color: var(--bg);
  padding: 0.75rem 1rem; z-index: 20; font-weight: 700;
}
.skip:focus { top: 0.5rem; }

/* header */
.site-header { border-bottom: 3px solid var(--red); background: var(--bg); }
.head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding-top: 0.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--fg); text-decoration: none; font-weight: 800; font-size: 1.25rem; min-height: 44px; }
.brand:hover { text-decoration: none; }
.head-actions { display: flex; align-items: center; gap: 0.75rem; }
.lang { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 0.5rem; font-weight: 700; }
.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 0.25rem; margin: 0; padding: 0 0 0.5rem; }
.main-nav li { margin: 0; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.7rem;
  color: var(--fg); font-weight: 600; text-decoration: none;
}
.main-nav a:hover { text-decoration: underline; }
.main-nav a[aria-current="page"] { border-bottom: 3px solid var(--red); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 0.6rem 1.1rem;
  background: var(--red); color: var(--on-red);
  font-weight: 800; font-size: 1.05rem; text-decoration: none;
  border-radius: 0.5rem; border: 2px solid var(--red);
}
.btn:hover { text-decoration: underline; }
.btn-hero { font-size: 1.3rem; padding: 0.85rem 1.5rem; }
.btn-small { font-size: 1rem; }
.btn-alt { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn-head { display: none; }
.btn-foot { font-size: 1rem; }

/* hero */
.hero { background: var(--hero-bg); color: var(--hero-fg); margin: 1rem 0; padding: 1.25rem; border-radius: 0.75rem; border-left: 8px solid var(--red); }
.hero h1 { margin-top: 0; }
.lead { font-size: 1.2rem; }

/* content blocks */
.price-list { list-style: none; padding: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--border); margin: 0; }
.amt { font-weight: 800; white-space: nowrap; color: var(--accent); }
.price { font-size: 1.15rem; margin-bottom: 0.4rem; }
.steps li { margin-bottom: 0.6rem; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { background: var(--surface); border: 1px solid var(--border); border-radius: 2rem; padding: 0.25rem 0.9rem; margin: 0; }
.svc, .policy, .callout { background: var(--surface); border: 1px solid var(--border); border-radius: 0.6rem; padding: 0.25rem 1rem 0.5rem; margin: 0 0 1rem; }
.callout { border-left: 8px solid var(--red); }
.area-list { padding-left: 1.2rem; }
.eff { color: var(--muted); font-weight: 600; }

/* footer */
.site-footer { background: var(--hero-bg); color: var(--hero-fg); margin-top: 2rem; padding: 1.25rem 0 1rem; border-top: 3px solid var(--red); }
.site-footer a { color: var(--hero-fg); }
.site-footer .btn { color: var(--on-red); }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.foot-h { font-size: 1.1rem; margin: 0 0 0.5rem; }
.plain { list-style: none; padding: 0; }
.plain a { display: inline-flex; align-items: center; min-height: 44px; }
.copy { margin: 1rem auto 0; font-size: 0.95rem; }

/* sticky call bar (small screens) */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--red); padding: 0.5rem; }
.callbar-link {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; min-width: 44px; color: var(--on-red);
  font-weight: 800; font-size: 1.25rem; text-decoration: none;
}
.callbar-link:focus-visible { outline: 3px solid #ffffff; outline-offset: -6px; }

@media (min-width: 40rem) {
  .btn-head { display: inline-flex; }
  h1 { font-size: 2.3rem; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .hero { padding: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
