/* Garage Rafid — shared stylesheet
   Design language: "honest workshop" — warm cream paper, warm ink,
   one disciplined rust accent, system type with a mono eyebrow voice.
   No external fonts, no images, no frameworks. */

:root {
  --paper:        #f7f2e9;  /* warm cream page */
  --paper-panel:  #fbf7f0;  /* lifted surface */
  --paper-band:   #efe6d6;  /* recessed band */
  --ink:          #241f19;  /* warm near-black text */
  --ink-soft:     #4a4238;  /* secondary text */
  --ink-mute:     #6f665a;  /* labels, meta */
  --line:         #ddd1bd;  /* hairlines on paper */
  --line-strong:  #cabf a9; /* placeholder, overwritten below */
  --accent:       #b8461e;  /* rust / brick — buttons, decor */
  --accent-strong:#9c3a13;  /* accent text & links (AA on cream) */
  --accent-tint:  #f2e0cf;  /* soft accent fill */
  --footer-bg:    #201b15;  /* dark grounding footer */
  --footer-ink:   #ece3d3;
  --footer-mute:  #b3a998;
  --radius:       12px;
  --radius-sm:    8px;
  --maxw:         70rem;
  --measure:      42rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas,
          "Liberation Mono", monospace;
}

:root { --line-strong: #cabfa9; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: -0.018em;
  font-weight: 700;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; max-width: var(--measure); }

a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-color: var(--accent); }

strong { font-weight: 650; }

img, svg { max-width: 100%; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }

section { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.section-band { background: var(--paper-band); border-block: 1px solid var(--line); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: 0.75rem; top: -3rem;
  background: var(--ink); color: var(--paper);
  padding: 0.6rem 0.9rem; border-radius: var(--radius-sm);
  z-index: 100; transition: top 0.15s ease;
}
.skip-link:focus { top: 0.75rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.1) blur(6px);
  backdrop-filter: saturate(1.1) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 0.6rem 1.25rem; padding-block: 0.7rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-right: auto; text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand .mark { color: var(--accent); flex: none; }
.brand .mark svg { display: block; }
.brand b { font-weight: 800; }

.nav {
  order: 2; flex-basis: 100%;
  display: flex; gap: 0.35rem;
  border-top: 1px solid var(--line); padding-top: 0.5rem; margin-top: 0.15rem;
}
.nav a {
  color: var(--ink-soft); text-decoration: none;
  font-weight: 550; font-size: 0.98rem;
  padding: 0.4rem 0.7rem; border-radius: var(--radius-sm);
}
.nav a:hover { background: var(--paper-band); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent-strong); background: var(--accent-tint); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 600; font-size: 0.98rem;
  padding: 0.7rem 1.15rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.06s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); background: var(--paper-panel); }
.btn-call { padding-block: 0.55rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 4.25rem); }
.hero .eyebrow { margin-bottom: 1rem; }
.hero h1 { max-width: 18ch; }
.hero .lead { max-width: 40ch; }
.hero-meta {
  font-family: var(--mono); font-size: 0.8rem; color: var(--ink-mute);
  margin-top: 1.6rem; letter-spacing: 0.01em;
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.85rem; align-items: center;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #3f8b4f; flex: none; }

/* ---------- service list ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.svc-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.1rem;
  padding-block: 1.4rem; border-top: 1px solid var(--line); align-items: start;
}
.svc-item:last-child { border-bottom: 1px solid var(--line); }
.svc-icon {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent-strong);
  display: grid; place-items: center; flex: none;
}
.svc-item h3 { margin: 0.15rem 0 0.35rem; }
.svc-item p { margin: 0; color: var(--ink-soft); max-width: 52ch; }

/* ---------- why / trust rows ---------- */
.why-grid {
  display: grid; gap: 1.5rem 2rem; margin-top: 2rem;
  grid-template-columns: 1fr;
}
.why-item { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.why-num {
  font-family: var(--mono); font-size: 0.78rem; color: var(--accent-strong);
  border: 1.5px solid var(--accent-tint); background: var(--paper-panel);
  width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center; flex: none; margin-top: 0.1rem;
}
.why-item h3 { margin-bottom: 0.25rem; }
.why-item p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; margin-top: 1.5rem; max-width: 48rem; }
.faq details {
  border-top: 1px solid var(--line); padding: 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 2.25rem 1.15rem 0; position: relative;
  font-weight: 600; font-size: 1.06rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%;
  transform: translateY(-50%); font-weight: 400; font-size: 1.5rem;
  color: var(--accent-strong); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; } /* en-dash */
.faq summary:hover { color: var(--accent-strong); }
.faq .faq-a { padding: 0 2.25rem 1.3rem 0; margin: 0; color: var(--ink-soft); max-width: 60ch; }
.faq .faq-a p { margin: 0 0 0.6rem; }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- callout ---------- */
.callout {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid; gap: 1rem; margin-top: 1rem;
}
.callout h2 { color: var(--paper); }
.callout p { color: #d8cfbf; max-width: 46ch; }
.callout .btn-outline { color: var(--paper); border-color: #52493c; }
.callout .btn-outline:hover { border-color: var(--paper); background: rgba(255,255,255,0.06); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
}
.contact-card {
  background: var(--paper-panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
}
.contact-card h3 { margin-top: 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.contact-list .svc-icon { width: 2.3rem; height: 2.3rem; }
.contact-list .c-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: 0.1rem; }
.contact-list a { font-weight: 600; font-size: 1.08rem; text-decoration: none; color: var(--ink); }
.contact-list a:hover { color: var(--accent-strong); }

.hours { width: 100%; border-collapse: collapse; margin-top: 0.25rem; }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.98rem; }
.hours th { font-weight: 550; color: var(--ink-soft); }
.hours td { font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours .closed { color: var(--ink-mute); }

.address-block { font-style: normal; line-height: 1.7; }
.note { font-size: 0.9rem; color: var(--ink-mute); }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); margin-top: 2rem; }
.footer-inner {
  display: grid; gap: 2rem; padding-block: 3rem 2rem;
  grid-template-columns: 1fr;
}
.footer-brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700;
  font-size: 1.1rem; color: var(--footer-ink); }
.footer-brand .mark { color: var(--accent); }
.site-footer p { color: var(--footer-mute); max-width: 34ch; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--footer-mute); margin: 0 0 0.9rem; font-weight: 600; }
.footer-col a { color: var(--footer-ink); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-nap { font-style: normal; line-height: 1.75; color: var(--footer-ink); font-size: 0.95rem; }
.footer-nap a { color: var(--footer-ink); }
.footer-bottom { border-top: 1px solid #3a3227; padding-block: 1.25rem 2rem;
  color: var(--footer-mute); font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

/* ---------- focus ---------- */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- responsive ---------- */
@media (min-width: 46rem) {
  body { font-size: 1.09rem; }
  .header-inner { flex-wrap: nowrap; padding-block: 0.85rem; }
  .nav { order: 0; flex-basis: auto; border-top: 0; padding-top: 0; margin-top: 0;
         margin-left: 0.5rem; margin-right: 0.5rem; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1.2fr; gap: 3rem; }
  .svc-item { grid-template-columns: auto 1fr; gap: 1.1rem 1.4rem; }
}

@media (min-width: 62rem) {
  .hero { padding-top: 4.5rem; padding-bottom: 3.5rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
