/* G&C Auto Repair: plain, fast and readable. System fonts, no animation, no images to load. */
:root {
  --ink: #141414; --ink-2: #3b3b3b; --muted: #5f5f5f; --paper: #f6f4f1; --card: #fff; --line: #dedad4;
  --red: #c0121f; --red-dark: #8f0d17; --red-soft: #ff6b73;
  --max: 68rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--paper); }
img, svg { max-width: 100%; }
a { color: var(--red-dark); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: .5rem; top: -4rem; background: #fff; color: var(--ink); padding: .6rem 1rem; z-index: 10; }
.skip:focus { top: .5rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6rem; }
h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
[hidden] { display: none !important; }

/* Header */
.masthead { background: var(--ink); color: #fff; }
.masthead-in { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; padding-block: .8rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; margin-right: auto; }
.logo { display: grid; place-items: center; min-width: 3rem; height: 3rem; padding-inline: .4rem; border-radius: .6rem; background: var(--red); font: 800 1.25rem/1 system-ui, sans-serif; letter-spacing: -.02em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.2rem; }
.brand-text small { color: #cfcfcf; font-size: .82rem; }
.nav { display: flex; gap: .2rem; }
.nav a { color: #fff; text-decoration: none; padding: .5rem .8rem; border-radius: .4rem; font-weight: 600; }
.nav a:hover { background: #2a2a2a; color: #fff; }
.nav a[aria-current="page"] { background: #2a2a2a; box-shadow: inset 0 -3px 0 var(--red); }
.call { color: #fff; background: var(--red); text-decoration: none; font-weight: 700; padding: .55rem 1rem; border-radius: .4rem; white-space: nowrap; }
.call:hover { background: var(--red-dark); color: #fff; }

/* Banners from Reception */
.banners { background: var(--red-dark); color: #fff; }
.banner { width: min(100% - 2rem, var(--max)); margin: 0 auto; padding: .9rem 0; background-size: cover; background-position: center; }
.banner.has-img { background-image: linear-gradient(#000a, #000a), var(--img); padding: 1.4rem 1rem; }
.banner h2 { font-size: 1.15rem; margin: 0 0 .2rem; }
.banner p { margin: 0 0 .3rem; }
.banner .when { font-weight: 700; }
.banner a { color: #fff; font-weight: 700; }
.banner + .banner { border-top: 1px solid #ffffff44; }

/* Hero */
.hero { padding-block: clamp(2.2rem, 7vw, 4.5rem); background: var(--card); border-bottom: 4px solid var(--red); }
.hero h1 { max-width: 20ch; }
.lead { font-size: 1.2rem; max-width: 42rem; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 1rem; }
.btn { display: inline-block; border: 2px solid var(--red); background: var(--red); color: #fff; font: 700 1rem/1.2 inherit; padding: .75rem 1.3rem; border-radius: .4rem; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn.alt { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.alt:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.recovery { font-weight: 650; margin-bottom: .5rem; }
.status { display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-weight: 600; color: #146c2e; }
.status i { width: .7rem; height: .7rem; border-radius: 50%; background: currentColor; }
.status.closed { color: var(--muted); }

/* Sections */
.band { padding-block: clamp(2rem, 5vw, 3.2rem); }
.band.alt { background: var(--card); border-block: 1px solid var(--line); }
.intro { max-width: 44rem; color: var(--ink-2); }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); margin-block: 1.4rem; }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: .5rem; padding: 1.2rem; }
.card p:last-child { margin-bottom: 0; }
.more { margin-top: 1rem; font-weight: 650; }
.note { color: var(--muted); max-width: 44rem; }
.split { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); align-items: start; }
.split.top { margin-top: 1.4rem; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: .45rem 0 .45rem 1.8rem; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: .95rem; width: .75rem; height: .4rem; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
address { font-style: normal; margin-bottom: 1rem; }
.inline-call { font-weight: 700; }
.offers { padding-block: 1.6rem; background: #fff3f3; border-bottom: 1px solid var(--line); }
.offer-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.offer .when { color: var(--red-dark); font-weight: 700; margin-bottom: .3rem; }

/* Hours */
.hours { border-collapse: collapse; width: 100%; max-width: 22rem; }
.hours th, .hours td { text-align: left; padding: .3rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { font-weight: 700; }
.hours tr.shut td { color: var(--muted); }

/* Reviews, at the bottom of every page */
.reviews { background: #1b1b1b; color: #ececec; padding-block: 2rem; }
.reviews-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.5rem; margin-bottom: 1rem; }
.reviews h2 { font-size: 1.2rem; margin: 0; color: #fff; }
.rating { margin: 0; font-weight: 650; color: #fff; }
.stars { color: #f5b301; letter-spacing: .1em; }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.quote { background: #262626; border-radius: .5rem; padding: 1rem 1.1rem; }
.quote blockquote { margin: 0 0 .6rem; font-size: .98rem; }
.quote .by { margin: 0; color: #b9b9b9; font-size: .88rem; }

/* Footer */
.foot { background: #0e0e0e; color: #d6d6d6; padding-top: 2rem; }
.foot h2 { font-size: 1rem; color: #fff; }
.foot a { color: #ff9ea5; }
.foot .hours th, .foot .hours td { border-color: #333; }
.foot-in { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.foot-tail { margin: 1.6rem 0 0; padding: 1rem 0 1.4rem; border-top: 1px solid #333; color: #9a9a9a; font-size: .9rem; }

/* Contact form */
.contact-form label { display: block; margin-bottom: .8rem; font-weight: 600; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: .25rem; padding: .65rem .75rem; font: inherit; border: 1px solid #8b8680; border-radius: .35rem; background: #fff; color: var(--ink); }
.contact-form .hp { position: absolute; left: -9999px; }
.form-msg { margin-top: .8rem; font-weight: 600; color: #146c2e; }
.form-msg.err { color: var(--red-dark); }

@media (max-width: 40rem) {
  .masthead-in { justify-content: space-between; }
  .nav { order: 3; width: 100%; }
  .nav a { flex: 1; text-align: center; background: #232323; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
}
@media print { .masthead, .reviews, .banners, .contact-form { display: none; } body { background: #fff; } }
