/* =========================================================
   Blalock Customs — Auto Restoration & Collision
   Design system  (Light theme)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Barlow+Condensed:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg:         #ffffff;   /* page background */
  --bg-2:       #f5f4f0;   /* alt section / panel */
  --bg-3:       #efede7;   /* raised panel */
  --ink:        #16181d;   /* primary text (near-black) */
  --ink-soft:   #3a3f47;
  --muted:      #5c626c;   /* secondary text */
  --muted-2:    #8b909a;
  --line:       #e3e0d8;   /* hairlines / borders */
  --line-2:     #d3cfc4;
  --dark:       #14161b;   /* footer / hero overlay */
  --accent:     #d24623;   /* hot-rod red/orange */
  --accent-2:   #e8642f;
  --accent-ink: #ffffff;
  --gold:       #b5872e;

  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --cond:    'Barlow Condensed', 'Oswald', sans-serif;
  --body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1240px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(20,22,27,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: .01em; line-height: 1.02; color: var(--ink); }

.eyebrow {
  font-family: var(--cond);
  text-transform: uppercase; letter-spacing: .28em;
  font-size: .82rem; font-weight: 600; color: var(--accent); margin: 0 0 14px;
}
.section-title { font-size: clamp(2rem, 4.5vw, 3.4rem); text-transform: uppercase; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 62ch; }

/* ---------- Top bar / nav ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand .mark { font-family: var(--display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.brand .mark b { color: var(--accent); }
.brand .sub { font-family: var(--cond); text-transform: uppercase; letter-spacing: .2em; font-size: .62rem; color: var(--muted-2); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .12em;
  font-weight: 600; font-size: .98rem; color: var(--ink-soft);
  padding: 6px 0; position: relative; transition: color .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; padding: 10px 18px; border-radius: var(--radius);
  font-family: var(--cond); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem;
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; font-size: 1.4rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .09em; font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Hero layout (Layout 1) ---------- */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: flex-end; overflow: hidden;
  background: var(--dark);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,11,14,.35) 0%, rgba(10,11,14,.05) 30%, rgba(10,11,14,.35) 62%, rgba(10,11,14,.92) 100%),
    linear-gradient(90deg, rgba(10,11,14,.7) 0%, rgba(10,11,14,0) 55%);
}
.hero-inner { position: relative; z-index: 2; padding-bottom: 64px; padding-top: 120px; width: 100%; color: #fff; }
.hero .eyebrow { color: var(--accent-2); }
.hero h1 {
  font-size: clamp(3rem, 9vw, 7rem); color: #fff;
  text-transform: uppercase; letter-spacing: .005em; line-height: .95;
  text-shadow: 0 4px 30px rgba(0,0,0,.55);
}
.hero h1 .accent { color: var(--accent-2); }
.hero .tag {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em;
  font-size: clamp(1rem, 2.4vw, 1.5rem); color: #f3f1ea; margin-top: 14px; font-weight: 600;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.hero .hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Alternating tagline sections (Layouts 2–4) ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px;
  padding: 96px 0; border-top: 1px solid var(--line);
}
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2); aspect-ratio: 4 / 3; box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .badge {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,255,255,.9); border: 1px solid var(--line);
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  padding: 6px 12px; border-radius: 3px; color: var(--muted);
}
.split h2 { font-size: clamp(2.2rem, 5vw, 4rem); text-transform: uppercase; }
.split h2 .accent { color: var(--accent); }
.split .tag { font-family: var(--cond); text-transform: uppercase; letter-spacing: .16em; color: var(--gold); font-weight: 600; margin: 4px 0 18px; font-size: 1.05rem; }
.split p { color: var(--muted); }
.split .split-actions { margin-top: 26px; }

/* ---------- Generic section ---------- */
.section { padding: 92px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 52px; }

/* ---------- Feature / service cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .15s, border-color .15s, box-shadow .15s; box-shadow: var(--shadow);
}
.section.alt .card { background: #fff; }
.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 16px 40px rgba(20,22,27,.12); }
.card .num { font-family: var(--display); font-weight: 700; color: var(--accent); font-size: 1.1rem; letter-spacing: .1em; }
.card h3 { font-size: 1.5rem; text-transform: uppercase; margin: 10px 0 10px; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
.card ul { color: var(--muted); font-size: .96rem; margin: 12px 0 0; padding-left: 18px; }
.card ul li { margin-bottom: 6px; }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stat { background: #fff; padding: 30px 24px; text-align: center; }
.stat .n { font-family: var(--display); font-weight: 700; font-size: 2.6rem; color: var(--ink); line-height: 1; }
.stat .l { font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-size: .82rem; margin-top: 8px; }

/* ---------- Steps / process ---------- */
.steps { display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
  padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.step .idx {
  font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: #fff; background: var(--accent);
  border-radius: 3px; width: 64px; height: 64px; display: grid; place-items: center;
}
.step h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  border-bottom: 1px solid var(--line);
  padding: 96px 0 64px;
  background:
    radial-gradient(1200px 420px at 15% -10%, rgba(210,70,35,.10), transparent 60%),
    var(--bg-2);
}
.page-hero .eyebrow { color: var(--accent); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); text-transform: uppercase; }
.page-hero p { color: var(--muted); max-width: 66ch; margin-top: 16px; font-size: 1.12rem; }

/* ---------- Insurance / trust callout ---------- */
.callout {
  background: linear-gradient(90deg, rgba(210,70,35,.08), rgba(210,70,35,0) 60%), #fff;
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow);
}
.callout h3 { text-transform: uppercase; font-size: 1.6rem; margin-bottom: 10px; }
.callout p { color: var(--muted); margin: 0; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: var(--ink); }
.checklist li span.tick { color: var(--accent); font-weight: 700; }
.checklist li em { color: var(--muted); font-style: normal; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.info-row { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { color: var(--accent); font-size: 1.2rem; }
.info-row .k { font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-size: .8rem; }
.info-row .v { font-size: 1.12rem; color: var(--ink); }
.info-row .v a { color: var(--ink); }
.info-row .v .big { font-family: var(--display); font-weight: 700; font-size: 1.7rem; color: var(--accent); }

form.card label { display: block; font-family: var(--cond); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: var(--muted); margin: 16px 0 6px; }
form.card input, form.card select, form.card textarea {
  width: 100%; background: #fff; border: 1px solid var(--line-2); color: var(--ink);
  padding: 12px 14px; border-radius: var(--radius); font-family: var(--body); font-size: 1rem;
}
form.card input::placeholder, form.card textarea::placeholder { color: var(--muted-2); }
form.card input:focus, form.card select:focus, form.card textarea:focus { outline: none; border-color: var(--accent); }
form.card .btn { margin-top: 22px; width: 100%; justify-content: center; }
.form-note { font-size: .82rem; color: var(--muted-2); margin-top: 12px; text-align: center; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 72px 0; text-align: center;
  background: radial-gradient(900px 320px at 50% 0%, rgba(210,70,35,.10), transparent 60%), var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; }
.cta-band p { color: var(--muted); max-width: 60ch; margin: 14px auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer (dark, for contrast) ---------- */
.footer { background: var(--dark); border-top: 3px solid var(--accent); padding: 56px 0 30px; color: #cfd2d8; }
.footer h4 { font-family: var(--cond); text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; color: #9aa0ab; margin: 0 0 16px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer a { color: #b7bcc4; font-size: .96rem; display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer .brand .mark { font-size: 1.4rem; color: #fff; }
.footer .brand .mark b { color: var(--accent-2); }
.footer .blurb { color: #8b909a; font-size: .94rem; max-width: 34ch; margin-top: 14px; }
.footer .phone { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--accent-2); margin-top: 8px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  color: #8b909a; font-size: .86rem;
}
.footer-bottom .tags { font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.pill {
  display: inline-block; font-family: var(--cond); text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; color: var(--accent); border: 1px solid rgba(210,70,35,.4); border-radius: 100px;
  padding: 5px 14px; margin-bottom: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px;
  }
  .split { grid-template-columns: 1fr; gap: 34px; padding: 68px 0; }
  .split.reverse .split-media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
}

/* =========================================================
   Home I — drawing-faithful layouts + nav dropdown
   ========================================================= */

/* ---- Nav dropdown (Home ▾) ---- */
.nav-links li.has-dropdown { position: relative; }
.nav-links li.has-dropdown > a::after { content: ""; }
.nav-links li.has-dropdown::after {          /* invisible hover bridge */
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px;
}
.nav-links .dropdown {
  display: none; position: absolute; top: calc(100% + 14px); left: -14px; min-width: 180px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px 0; margin: 0; list-style: none; z-index: 60;
}
.nav-links li.has-dropdown:hover .dropdown,
.nav-links li.has-dropdown:focus-within .dropdown { display: block; }
.nav-links .dropdown li { display: block; }
.nav-links .dropdown a { display: block; padding: 9px 20px; opacity: 1; }
.nav-links .dropdown a::after { display: none; }
.nav-links .dropdown a:hover { color: var(--accent); background: var(--bg-2); }

/* ---- Layout 1: header image, text below (no overlay, no buttons) ---- */
.feature-1 { padding: 40px 0 80px; }
.feature-1-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature-1-media img { width: 100%; height: clamp(320px, 54vh, 640px); object-fit: cover; display: block; }
.img-caption { font-size: .92rem; color: var(--muted); font-style: italic; margin: 14px 2px 0; }
.feature-1-copy { margin-top: 20px; }
.feature-1-copy .eyebrow { color: var(--accent); }
.feature-1-copy h1 { font-size: clamp(2.8rem, 8.5vw, 6.2rem); text-transform: uppercase; line-height: .95; }
.feature-1-copy h1 .accent { color: var(--accent-2); }
.feature-1-copy .tag {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em;
  font-size: clamp(1rem, 2.2vw, 1.4rem); color: var(--ink-soft); margin-top: 10px; font-weight: 600;
}
.call-scott-line {
  margin-top: 14px; font-family: var(--cond); text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); font-size: 1rem;
}
.call-scott-line a { color: var(--accent); font-weight: 700; }

/* ---- Layouts 2-4: big image + side text; title/tagline/CTA below ---- */
.showcase { padding: 80px 0; border-top: 1px solid var(--line); }
.showcase-top { display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; align-items: center; }
.showcase.reverse .showcase-media { order: 2; }
.showcase-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; display: block; }
.showcase-side .eyebrow { color: var(--accent); }
.showcase-side p { color: var(--muted); font-size: 1.06rem; margin: 0; }

.showcase-caption {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 28px;
  margin-top: 32px; flex-wrap: wrap;
}
.cap-title h2 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); text-transform: uppercase; }
.cap-title h2 .accent { color: var(--accent); }
.cap-title .tag {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .16em;
  color: var(--gold); font-weight: 600; margin: 4px 0 0; font-size: 1.05rem;
}
.cap-cta {
  border: 2px solid var(--ink); border-radius: var(--radius); padding: 10px 22px; text-align: center;
  transition: border-color .15s, transform .15s;
}
.cap-cta:hover { border-color: var(--accent); transform: translateY(-2px); }
.cap-cta .cs-label {
  display: block; font-family: var(--cond); text-transform: uppercase; letter-spacing: .16em;
  font-size: .72rem; color: var(--muted);
}
.cap-cta .cs-num { font-family: var(--display); font-weight: 700; font-size: 1.55rem; color: var(--accent); }

@media (max-width: 860px) {
  .showcase-top { grid-template-columns: 1fr; gap: 26px; }
  .showcase.reverse .showcase-media { order: 0; }
  .showcase-media img { aspect-ratio: 16 / 10; }
  .showcase-caption { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 960px) {
  /* Dropdown becomes inline sub-list inside the open mobile menu */
  .nav-links .dropdown {
    display: block; position: static; box-shadow: none; border: 0; background: transparent;
    padding: 4px 0 4px 16px; margin: 0; min-width: 0;
  }
  .nav-links li.has-dropdown::after { display: none; }
  .nav-links .dropdown a { padding: 6px 0; }
}

/* ---------- Collision: before & after gallery ---------- */
.ba-grid { display: grid; grid-template-columns: 1.9fr 1fr; gap: 22px; align-items: start; }
.ba-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba-card img { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--line); }
.ba-card figcaption { padding: 16px 18px; color: var(--muted); font-size: .95rem; }
.ba-card figcaption strong { color: var(--ink); }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } }
