/* ==========================================================================
   Lumberton Offroad — styles.css
   Hybrid theme: dark hero/feature bands + light content sections
   ========================================================================== */

:root {
  --red: #d31920;
  --red-dark: #a30f16;
  --black: #0c0d0f;
  --charcoal: #15171b;
  --charcoal-2: #1d2025;
  --steel: #8a8f98;
  --line-dark: #2a2d33;
  --light: #f4f3f1;
  --white: #ffffff;
  --ink: #17181a;
  --ink-soft: #4b4e54;
  --line-light: #e2e0dc;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.45rem; letter-spacing: .03em; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--red);
  margin-bottom: .75rem;
}

.eyebrow-red { color: var(--red); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .8em 1.9em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }

.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--red); }

.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { background: var(--black); color: var(--white); }

.btn-block { width: 100%; }

/* ---------- Image placeholders ----------
   Any .img-slot renders a labeled placeholder. Replace the div with an
   <img> (or set a background-image) and the layout stays identical. */

.img-slot {
  position: relative;
  background:
    repeating-linear-gradient(-45deg,
      rgba(255, 255, 255, .035) 0 14px,
      transparent 14px 28px),
    var(--charcoal-2);
  border: 1px dashed #3a3e46;
  overflow: hidden;
}

.img-slot::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6b7079;
}

.section-light .img-slot {
  background:
    repeating-linear-gradient(-45deg,
      rgba(0, 0, 0, .03) 0 14px,
      transparent 14px 28px),
    #e9e7e3;
  border-color: #c9c6c0;
}

.section-light .img-slot::after { color: #9a978f; }

/* ---------- Top bar ---------- */

.topbar {
  background: var(--black);
  border-bottom: 1px solid var(--line-dark);
  font-size: .82rem;
  letter-spacing: .04em;
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  padding-top: .45rem;
  padding-bottom: .45rem;
  color: var(--steel);
}

.topbar-phone {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.topbar-phone:hover { color: var(--red); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 13, 15, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-right: auto;
}

.brand-logo { height: 52px; width: auto; }

.footer-logo { height: 72px; }

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: .06em;
  color: var(--white);
  background: var(--red);
  padding: .1em .45em;
  border-radius: 3px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
}

.brand-name em { font-style: normal; color: var(--red); }

.nav-links {
  display: flex;
  gap: 1.8rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #c9ccd2;
  padding: .3em 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

.nav-links a:hover { color: var(--white); border-bottom-color: var(--red); }

.nav-cta { font-size: .95rem; padding: .6em 1.4em; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: min(88vh, 860px);
}

.hero-media {
  position: absolute;
  inset: 0;
  border: 0;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85);
}

img.service-media,
img.build-item,
img.about-media {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

img.about-media { aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(12, 13, 15, .92) 0%, rgba(12, 13, 15, .6) 45%, rgba(163, 15, 22, .38) 100%),
    linear-gradient(to top, rgba(12, 13, 15, .95) 0%, transparent 45%),
    rgba(211, 25, 32, .12);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(4rem, 10vw, 8rem);
  padding-bottom: 4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-size: .95rem;
  color: #ff5a60;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
  margin-bottom: 1rem;
}

.hero-content h1 {
  max-width: 12ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .5);
}

.hero-sub {
  max-width: 46ch;
  margin-top: 1.2rem;
  font-size: 1.15rem;
  color: #d6d8dc;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(12, 13, 15, .75);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--line-dark);
}

.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--white);
}

.stat-star { color: #f5b301; font-size: 1.3rem; vertical-align: .15em; }

.stat-label {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- Sections ---------- */

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }

.section-light { background: var(--light); color: var(--ink); }

.section-dark { background: var(--charcoal); color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 3rem; }

.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.section-sub { margin-top: 1rem; color: var(--ink-soft); }

.section-note {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: right;
  color: var(--steel);
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--red);
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
}

.service-media { aspect-ratio: 4 / 3; }

.service-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .35em .9em;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.service-body { padding: 1.3rem 1.4rem 1.6rem; }

.service-body h3 { margin-bottom: .5rem; }

.service-body p { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Builds gallery ---------- */

.builds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}

.build-item {
  border-radius: var(--radius);
  transition: transform .2s ease;
}

.build-item:hover { transform: scale(1.02); }

.build-feature {
  grid-column: span 2;
  grid-row: span 2;
}

/* ---------- Brands ---------- */

.brands-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.brand-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}

.brand-tile:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-3px);
}

.brand-tile img { max-height: 48px; width: auto; filter: grayscale(1); transition: filter .15s ease; }

.brand-tile:hover img { filter: none; }

/* ---------- Reviews ---------- */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.review {
  background: var(--charcoal-2);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}

.review-stars {
  color: #f5b301;
  letter-spacing: .2em;
  margin-bottom: .8rem;
  font-size: .95rem;
}

.review p { color: #dcdee2; font-size: 1.02rem; }

.review footer {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--steel);
}

.reviews-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.reviews-badge {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .95rem;
  color: var(--white);
  background: var(--charcoal-2);
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  padding: .55em 1.4em;
}

.reviews-badge-bbb { border-color: var(--red); }

/* ---------- About ---------- */

.about-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}

.about-body h2 { margin-bottom: 1.2rem; }

.about-body p { color: var(--ink-soft); margin-bottom: 1rem; }

.about-body .btn { margin-top: .8rem; }

/* ---------- Request a Quote ---------- */

.quote {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(211, 25, 32, .12), transparent 60%),
    var(--charcoal);
}

.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.quote-pitch h2 { margin-bottom: 1.2rem; }

.quote-pitch p { color: #c9ccd2; }

.quote-points {
  list-style: none;
  margin-top: 1.6rem;
  display: grid;
  gap: .8rem;
}

.quote-points li {
  position: relative;
  padding-left: 1.6rem;
  color: #dcdee2;
}

.quote-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: .7em;
  height: .7em;
  background: var(--red);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.quote-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  padding: 2rem;
  display: grid;
  gap: 1.2rem;
}

.form-row { display: grid; gap: 1.2rem; }
.form-row-3 { grid-template-columns: .8fr 1fr 1.2fr; }
.form-row-2 { grid-template-columns: 1fr 1fr; }

.field { display: grid; gap: .35rem; }

.field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #faf9f7;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: .65em .8em;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(211, 25, 32, .15);
}

.field textarea { resize: vertical; min-height: 96px; }

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.btn-suggest {
  background: var(--ink);
  color: var(--white);
  font-size: .85rem;
  padding: .5em 1.1em;
  border-radius: 100px;
}

.btn-suggest:hover { background: var(--red); }

.suggest-panel {
  background: #faf9f7;
  border: 1px dashed var(--line-light);
  border-radius: var(--radius);
  padding: .9rem 1rem;
}

.suggest-title {
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: .6rem;
}

.suggest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.chip {
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 100px;
  padding: .4em 1em;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.chip:hover { border-color: var(--red); color: var(--red); }

.chip-added {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.chip-added:hover { color: var(--white); }

.form-fine {
  font-size: .85rem;
  color: var(--ink-soft);
  text-align: center;
}

.form-success {
  text-align: center;
  font-weight: 600;
  color: #1a7a2e;
  background: #ecf7ee;
  border: 1px solid #bfe4c7;
  border-radius: var(--radius);
  padding: .8em 1em;
}

.form-success a { color: inherit; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--red-dark), var(--red));
  color: var(--white);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.cta-inner { text-align: center; }

.cta-inner p { margin: .8rem 0 1.6rem; font-size: 1.1rem; opacity: .9; }

/* ---------- Footer ---------- */

.footer {
  background: var(--black);
  color: #c9ccd2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.footer-brand { margin-bottom: 1rem; }

.footer-tag {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .88rem;
  color: var(--steel);
}

.footer-bbb {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .9rem;
  color: var(--white);
  border: 1px solid var(--red);
  border-radius: 100px;
  padding: .35em 1em;
  display: inline-block;
}

.btn-fb {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  margin-top: 1.1rem;
  background: #1877f2;
  color: var(--white) !important;
  font-size: .95rem;
  padding: .6em 1.3em;
}

.btn-fb:hover { background: #0e63d3; color: var(--white); }

.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  letter-spacing: .16em;
  margin-bottom: .9rem;
}

.footer p { font-size: .95rem; margin-bottom: .8rem; }

.footer a { color: var(--white); text-decoration: none; }

.footer a:hover { color: var(--red); }

.map-slot { min-height: 200px; border-radius: var(--radius); }

.footer-bottom { border-top: 1px solid var(--line-dark); }

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  font-size: .85rem;
  color: var(--steel);
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .builds-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .topbar-inner { justify-content: center; }
  .topbar-hours { display: none; }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line-dark);
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 1rem 24px;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); row-gap: 1.4rem; }

  .section-head-row { flex-direction: column; align-items: flex-start; }
  .section-note { text-align: left; }

  .about-inner,
  .quote-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar-inner { gap: 1rem; flex-wrap: wrap; font-size: .78rem; }

  .brand-logo { height: 40px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }

  .service-body { padding: .9rem 1rem 1.1rem; }
  .service-body h3 { font-size: 1.05rem; }
  .service-body p { display: none; }

  .service-tag { font-size: .68rem; top: 8px; left: 8px; }

  .brands-grid { grid-template-columns: repeat(2, 1fr); }

  .builds-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .build-feature { grid-column: span 2; }

  .form-row-3,
  .form-row-2 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }
}
