/* Francisco's Auto Repair - shared site styles
   Linked by every page:  <link rel="stylesheet" href="/styles.css" />
   Change a token in the .fa-page block to retheme the whole site at once.
   Lives at the web root, next to the landing page's index.html. */

.fa-page {
  /* ---- Color ---- */
  --red:        maroon;  /* was #c8201f */
  --red-hover:  #a01c1c;  /* maroon hover */
  --red-bright: #ff5a4d;
  --gold:       #ffce4d;
  --ink:        #1c1f24;   /* primary dark */
  --ink-deep:   #15181c;   /* footer */
  --ink-low:    #121417;   /* hero gradient floor */
  --light:      #f7f7f8;   /* light section */
  --white:      #ffffff;
  --text:       #1c1f24;
  --text-soft:  #4a4f57;
  --text-dim:   #9aa0a8;
  --border:     #e6e7ea;
  --line-dark:  rgba(255,255,255,0.10);

  /* ---- Type ---- */
  --font-head: 'Barlow Condensed', system-ui, sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, sans-serif;

  /* ---- Space & shape ---- */
  --pad-y:   clamp(44px, 6vw, 78px);
  --pad-x:   clamp(20px, 5vw, 56px);
  --maxw:        980px;
  --maxw-narrow: 780px;
  --radius:    10px;
  --radius-sm:  9px;
  --ease: 0.14s ease;

  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.fa-page * { box-sizing: border-box; }
.fa-page h1, .fa-page h2, .fa-page h3 {
  font-family: var(--font-head);
  line-height: 1.05;
  margin: 0;
}

/* ---------- Shared button system ---------- */
.fa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 15px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--ease), background var(--ease), box-shadow var(--ease), color var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.fa-btn svg { flex: none; width: 22px; height: 22px; }
.fa-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.fa-btn--text  { background: var(--red); color: #fff; box-shadow: 0 4px 16px rgba(128,0,0,0.40); }
.fa-btn--text:hover, .fa-btn--text:focus-visible { background: var(--red-hover); transform: translateY(-2px); }
.fa-btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.55); }
.fa-btn--ghost:hover, .fa-btn--ghost:focus-visible { background: #fff; color: var(--ink); transform: translateY(-2px); }
.fa-btn--dark  { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.fa-btn--dark:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* ---------- Logo bar ---------- */
.fa-logobar {
  display: block;
  background: var(--ink);
  text-align: center;
  padding: 20px 20px 14px;
  line-height: 0;
}
.fa-logobar img { display: inline-block; width: 100%; max-width: 440px; height: auto; }

/* ---------- Hero ---------- */
.fa-hero {
  background:
    radial-gradient(120% 120% at 70% 0%, rgba(128,0,0,0.18) 0%, rgba(128,0,0,0) 55%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-low) 100%);
  color: #f4f4f5;
  padding: clamp(36px, 5vw, 60px) var(--pad-x) var(--pad-y);
  text-align: center;
}
.fa-hero__inner { max-width: var(--maxw-narrow); margin: 0 auto; }
.fa-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red-bright); margin: 0 0 16px;
}
.fa-hero__title { font-size: clamp(2.1rem, 5.4vw, 3.4rem); font-weight: 700; margin: 0 0 16px; }
.fa-hero__title span { color: var(--red-bright); }
.fa-hero__sub {
  font-size: clamp(1.05rem, 2.4vw, 1.22rem); line-height: 1.55;
  color: #c9ccd2; max-width: 620px; margin: 0 auto 26px;
}
.fa-hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 30px; }
.fa-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; font-size: 0.9rem; font-weight: 600; color: #f4f4f5;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px; white-space: nowrap; text-decoration: none;
}
a.fa-chip--star:link, a.fa-chip--star:visited { color: var(--gold); }
a.fa-chip--star:hover, a.fa-chip--star:focus-visible {
  background: rgba(255,255,255,0.14); border-color: rgba(255,206,77,0.6);
}
.fa-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; max-width: 520px; margin: 0 auto; }
.fa-hero__cta .fa-btn { flex: 1 1 210px; }

/* ---------- Why Francisco's (photo + trust) ---------- */
.fa-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,48px); align-items: center; }
.fa-why__figure { margin: 0; }
.fa-why__photo { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,0.18); display: block; }
.fa-why__cap { font-size: 0.85rem; color: var(--text-dim); text-align: center; margin: 10px 0 0; }
.fa-why .fa-h2 { text-align: left; margin-bottom: 18px; }
.fa-why__points { list-style: none; margin: 0; padding: 0; }
.fa-why__points li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; }
.fa-why__points li:last-child { margin-bottom: 0; }
.fa-why__points li::before { content:""; flex:none; width:22px; height:22px; border-radius:50%; margin-top:2px; 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat; }
.fa-why__points strong { display:block; font-size:1.05rem; color: var(--text); }
.fa-why__points p { margin: 2px 0 0; font-size: 0.95rem; color: var(--text-soft); line-height:1.5; }
.fa-why__points a { color: var(--red); text-decoration: none; font-weight:700; }
.fa-why__points a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .fa-why__grid { grid-template-columns: 1fr; }
  .fa-why .fa-h2 { text-align: center; }
}

/* ---------- Customer reviews (static) ---------- */
.fa-reviews { background: var(--ink); color: #f4f4f5; padding: var(--pad-y) var(--pad-x); }
.fa-reviews__inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.fa-reviews .fa-h2 { color: #fff; }
.fa-reviews__overall { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin: 0 0 4px; font-size: 1.05rem; }
.fa-reviews__stars { color: var(--gold); letter-spacing: 2px; font-size: 1.2rem; }
.fa-reviews__overall a { color: var(--gold); text-decoration: none; font-weight: 700; }
.fa-reviews__overall a:hover { text-decoration: underline; }
.fa-reviews__sub { color: var(--text-dim); margin: 0 0 34px; font-size: 0.95rem; }
.fa-reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; text-align: left; }
.fa-reviews__card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 22px; margin: 0; }
.fa-reviews__card .stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; margin: 0 0 10px; }
.fa-reviews__quote { margin: 0 0 14px; font-size: 1rem; line-height: 1.6; color: #e6e7ea; }
.fa-reviews__by { margin: 0; font-size: 0.9rem; font-weight: 700; color: #fff; }
.fa-reviews__src { color: var(--text-dim); font-weight: 400; }
.fa-reviews__more { margin: 30px 0 0; }
.fa-reviews__more a { color: var(--gold); text-decoration: none; font-weight: 700; }
.fa-reviews__more a:hover { text-decoration: underline; }

/* ---------- Generic section heading ---------- */
.fa-section { padding: var(--pad-y) var(--pad-x); }
.fa-section--light { background: var(--light); }
.fa-section--white { background: var(--white); }
.fa-section__inner { max-width: var(--maxw); margin: 0 auto; }
.fa-h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); font-weight: 700; text-align: center; margin: 0 0 12px; }
.fa-lead {
  font-size: clamp(1.02rem, 2.3vw, 1.15rem); line-height: 1.6;
  color: var(--text-soft); text-align: center; max-width: 640px; margin: 0 auto 34px;
}

/* ---------- Services grid ---------- */
.fa-services__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px;
}
.fa-services__item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.97rem; font-weight: 600; line-height: 1.25;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.fa-services__item:hover { border-color: var(--red); box-shadow: 0 4px 14px rgba(0,0,0,0.07); transform: translateY(-2px); }
.fa-services__item::before {
  content: ""; flex: none; 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
}
.fa-note { text-align: center; font-size: 1rem; color: var(--text-soft); margin: 32px 0 0; }
.fa-note a { color: var(--red); font-weight: 700; text-decoration: none; }
.fa-note a:hover { text-decoration: underline; }

/* ---------- Vehicle types ---------- */
.fa-makes__inner { max-width: var(--maxw-narrow); margin: 0 auto; text-align: center; }
.fa-makes__specialty {
  display: inline-block; background: rgba(128,0,0,0.07); border: 1px solid rgba(128,0,0,0.22);
  border-radius: var(--radius); padding: 14px 20px; font-size: 1rem; line-height: 1.5; margin: 0 0 28px;
}
.fa-makes__specialty strong { color: var(--red); }
.fa-makes__details { text-align: left; max-width: 640px; margin: 0 auto; border-top: 1px solid var(--border); }
.fa-makes__summary {
  list-style: none; cursor: pointer; text-align: center; font-weight: 700; font-size: 0.95rem;
  color: var(--red); padding: 16px 0; user-select: none;
}
.fa-makes__summary::-webkit-details-marker { display: none; }
.fa-makes__summary::after { content: " +"; font-weight: 800; }
.fa-makes__details[open] .fa-makes__summary::after { content: " -"; }
.fa-makes__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px 28px; padding: 8px 0 24px; }
.fa-makes__cols h3 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 6px; }
.fa-makes__cols p { margin: 0; font-size: 0.95rem; line-height: 1.7; color: #3a3f47; }

/* ---------- Footer ---------- */
.fa-footer { background: var(--ink-deep); color: #c9ccd2; padding: var(--pad-y) var(--pad-x) 0; font-size: 0.95rem; }
.fa-footer a { color: #c9ccd2; text-decoration: none; }
.fa-footer a:hover { color: var(--red-bright); }
.fa-footer__top { max-width: var(--maxw); margin: 0 auto 36px; text-align: center; }
.fa-footer__name { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 700; color: #fff; margin: 0 0 8px; }
.fa-footer__tag { color: var(--text-dim); margin: 0 0 22px; }
.fa-footer__cta { display: inline-flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fa-footer__cta .fa-btn { min-height: 48px; padding: 12px 22px; font-size: 1rem; }
.fa-footer__cols {
  max-width: var(--maxw); margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
  padding-bottom: 40px; border-bottom: 1px solid var(--line-dark);
}
.fa-footer__col h3 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-bright); margin: 0 0 12px; }
.fa-footer__col p { margin: 0 0 6px; }
.fa-footer__col strong { color: #f4f4f5; }
.fa-footer__social { display: flex; gap: 16px; margin-top: 4px; }
.fa-footer__area { max-width: var(--maxw); margin: 24px auto 0; text-align: center; color: var(--text-dim); font-size: 0.85rem; }
.fa-footer__bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 20px 0 28px;
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: #7f858d;
}
.fa-footer__bottom a { color: #7f858d; }

/* ---------- Sticky mobile CTA bar ---------- */
.fa-sticky {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(21,24,28,0.97); border-top: 1px solid var(--line-dark);
  backdrop-filter: blur(6px);
}
.fa-sticky .fa-btn { flex: 1; min-height: 50px; padding: 12px 16px; font-size: 1rem; }
@media (max-width: 600px) {
  .fa-sticky { display: flex; }
  .fa-page { padding-bottom: 76px; }   /* room so the bar never covers the footer */
  .fa-hero__cta { flex-direction: column; }
  .fa-hero__cta .fa-btn { flex: 1 1 auto; width: 100%; }
}

/* ---------- Prose (service / article pages) ---------- */
.fa-section__inner.fa-prose { max-width: var(--maxw-narrow); }
.fa-prose h2 { font-size: clamp(1.7rem,3.8vw,2.4rem); font-weight:700; margin:0 0 16px; }
.fa-prose h3 { font-size:1.3rem; font-weight:700; margin:28px 0 10px; }
.fa-prose p { margin:0 0 16px; font-size:1.05rem; line-height:1.65; color:var(--text-soft); }
.fa-prose ul { margin:0 0 16px; padding:0; list-style:none; }
.fa-prose li { display:flex; gap:10px; align-items:flex-start; margin:0 0 10px; font-weight:600; color:var(--text); }
.fa-prose li::before { content:""; flex:none; width:20px; height:20px; margin-top:2px; 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat; }