/* B&H Automotive — main site · Direction B: clean white & racing green (2026-09) */

:root {
  --bg: #FFFFFF;
  --surface: #F5F6F4;
  --ink: #111418;
  --muted: #5E656D;
  --line: #E7E9EC;
  --line-strong: #D5D9DE;
  --green: #1F4D3A;
  --green-hover: #173B2C;
  --green-tint: #E6EFEA;
  --green-soft: #A9C4B6;
  --gold: #E3B32A;

  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --radius: 8px;
  --radius-lg: 14px;
  --wrap: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr { height: 68px; display: flex; align-items: center; gap: 32px; }
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: -0.01em; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav { display: flex; gap: 4px; flex: 1; justify-content: flex-end; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none;
  padding: 8px 12px; border-radius: var(--radius); transition: color 150ms, background 150ms;
}
.nav a:hover { color: var(--ink); background: var(--surface); }
.hdr-tel {
  font-size: 14px; font-weight: 600; color: var(--green); text-decoration: none;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.hdr-tel:hover { color: var(--green-hover); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-size: 15px; font-weight: 500;
  padding: 12px 22px; border-radius: var(--radius); text-decoration: none;
  border: 1px solid transparent; transition: background 150ms, border-color 150ms, color 150ms;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); color: #fff; }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { background: var(--green-tint); color: var(--green-hover); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding: 96px 0 80px; text-align: center; }
.pill {
  display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--green); background: var(--green-tint);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 24px;
}
h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em;
}
.hero p {
  font-size: 18px; line-height: 1.65; color: var(--muted);
  max-width: 560px; margin: 24px auto 32px;
}
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.badge { width: 100%; max-width: 720px; height: auto; margin: 0 auto; }

/* ── Sections ───────────────────────────────────────────── */
.sec { padding: 96px 0; scroll-margin-top: 68px; }
.sec-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--green); margin-bottom: 16px;
}
.sec-label::after { content: ''; width: 32px; height: 1px; background: currentColor; opacity: 0.5; }
h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.025em;
  margin-bottom: 28px;
}

/* Parts: racing-green band */
.parts { background: var(--green); color: #fff; }
.parts .sec-label { color: var(--green-soft); }
.parts h2 { color: #fff; }
.parts-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; }
.lede { font-size: 19px; line-height: 1.65; color: #fff; max-width: 560px; margin-bottom: 16px; }
.sub { font-size: 16px; line-height: 1.7; color: var(--green-soft); max-width: 520px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; }
.about-lede { font-size: 21px; line-height: 1.6; letter-spacing: -0.01em; }
.about-sub { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: var(--surface); border-radius: var(--radius-lg); padding: 20px 16px; min-width: 0; }
.stat-v {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  letter-spacing: -0.02em; line-height: 1; color: var(--green); white-space: nowrap;
}
.stat-l { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.35; }

/* Visit */
.visit { background: var(--surface); }
.visit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.v-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.v-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px;
}
.v-line { font-size: 15px; line-height: 1.6; }
.v-tel {
  font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em;
  color: var(--green); text-decoration: none; white-space: nowrap;
}
.v-tel:hover { color: var(--green-hover); text-decoration: underline; text-underline-offset: 4px; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #C9CDD2; }
.ftr { padding: 56px 40px 40px; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.ftr-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; letter-spacing: -0.01em; }
.ftr-tag { font-size: 14px; color: #8C939B; margin-top: 6px; }
.ftr-right { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; text-align: right; font-size: 14px; }
.ftr-tel { font-weight: 600; color: #fff; text-decoration: none; font-size: 16px; }
.ftr-tel:hover { color: var(--gold); }
.ftr-bar { border-top: 1px solid #262B31; }
.ftr-bar .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: #8C939B; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  .ftr { padding: 48px 24px 32px; }
  .hero { padding: 64px 0 56px; }
  .sec { padding: 72px 0; }
  .hdr-tel { display: none; }
  .parts-grid, .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-row { justify-content: flex-start; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .ftr-right { align-items: flex-start; text-align: left; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .ftr { padding: 40px 16px 28px; }
  .nav a { padding: 8px 8px; font-size: 13px; }
  .brand { font-size: 16px; }
  .hdr { gap: 12px; }
  .hero p { font-size: 17px; }
  .ctas .btn, .cta-row .btn { flex: 1 1 100%; }
  .visit-grid, .stats { grid-template-columns: 1fr; }
  .ftr-bar .wrap { flex-direction: column; gap: 4px; }
}
