/* ============ RINEHARTS REMOVAL ============
   Brand: navy from trailer banner, green from logo
============================================== */
:root {
  --navy: #16294e;
  --navy-deep: #0e1c38;
  --green: #4aa528;
  --green-dark: #3c8a20;
  --bg: #f5f7fa;
  --ink: #131c2c;
  --muted: #55627a;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(14, 28, 56, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, .btn, .step-num, .tag {
  font-family: 'Oswald', sans-serif;
  letter-spacing: .02em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: #e8edf5; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-lg { padding: 16px 30px; font-size: 1.1rem; }
.btn-call { background: var(--green); color: var(--white); font-size: .95rem; padding: 10px 18px; }
.btn-call:hover { background: var(--green-dark); }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 5vw;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  white-space: nowrap;
}
.brand img { height: 44px; width: auto; }
.brand em { font-style: normal; color: var(--green); }
.header-nav { display: flex; gap: 26px; }
.header-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  opacity: .9;
}
.header-nav a:hover { opacity: 1; color: var(--green); }

/* ---------- Hero: split, photo fades into white ---------- */
.hero {
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
}
.hero-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 0;
  padding: 0 0 0 5vw;
}
.hero-copy { padding: 70px 0 70px; }
.hero-kicker {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  color: var(--green);
  letter-spacing: .14em;
  font-size: 1rem;
  margin-bottom: 10px;
}
.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 4.6rem);
  line-height: .98;
  text-transform: uppercase;
  color: var(--navy);
}
.hero-sub {
  margin: 16px 0 18px;
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 30rem;
}
.hero-checks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 26px;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .97rem;
}
.hero-checks li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof {
  margin-top: 22px;
  font-size: .95rem;
  color: var(--muted);
  font-weight: 600;
}
.stars { color: #f5b301; letter-spacing: 2px; }
.hero-photo {
  position: relative;
  align-self: stretch;
  justify-self: start;
  width: calc(100% + max((100vw - 1150px) / 2, 0px));
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 15% 22%;
}
.hero-photo::before,
.hero-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.hero-photo::before {
  inset: 0;
  background: linear-gradient(to right, var(--white) 0%, rgba(255,255,255,0) 52%);
}
.hero-photo::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 26%;
  background: linear-gradient(to top, var(--white) 0%, rgba(255,255,255,0) 100%);
}

/* ---------- Sections ---------- */
.section { padding: 72px 5vw; max-width: 1150px; margin: 0 auto; }
.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  text-transform: uppercase;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 10px auto 42px;
  max-width: 40rem;
}
.section-dark {
  background: var(--navy);
  color: var(--white);
  max-width: none;
}
.section-dark .section-sub { color: #cdd6e6; }
.section-gray { background: var(--bg); max-width: none; }
.section-dark > *, .section-gray > * { max-width: 1150px; margin-left: auto; margin-right: auto; }
.section-dark .section-sub, .section-gray .section-sub { margin-bottom: 42px; }

/* ---------- Services checklist ---------- */
.checklist-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #e3e8f0;
  border-top: 5px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 38px 28px;
}
.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 30px;
}
.checklist li {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.checklist li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checklist-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e3e8f0;
  color: var(--muted);
  font-size: .95rem;
  text-align: center;
}
.checklist-note a { color: var(--green); font-weight: 600; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
}
.step-num {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 1.25rem; text-transform: uppercase; margin-bottom: 6px; }
.step p { color: #cdd6e6; font-size: .98rem; }

/* ---------- Before/After swipe cards ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}
.ba-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ba-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.ba-track::-webkit-scrollbar { display: none; }
.ba-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.ba-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 12px;
  border-radius: 5px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--white);
}
.tag-before { background: rgba(14, 28, 56, .88); }
.tag-after { background: var(--green); }
.ba-toggle {
  position: absolute;
  right: 12px;
  top: calc((100% - 51px) - 12px);
  transform: translateY(-100%);
  z-index: 2;
  border: none;
  border-radius: 100px;
  padding: 9px 16px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
  transition: background .15s ease;
}
.ba-toggle:hover { background: var(--green); color: var(--white); }
.ba-card figcaption {
  padding: 13px 16px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
}

/* ---------- Reviews carousel ---------- */
.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviews-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 18px;
  scrollbar-width: none;
  flex: 1;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 min(340px, 82vw);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review p { color: var(--ink); font-size: .97rem; }
.review-name { color: var(--muted); font-weight: 600; font-size: .92rem; margin-top: auto; }
.car-btn {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease;
}
.car-btn:hover { background: var(--green); }
.reviews-link { text-align: center; margin-top: 20px; }
.reviews-link a { color: var(--navy); font-weight: 600; }

/* ---------- Service area ---------- */
.area-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.area-badges span {
  background: var(--navy);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: 100px;
  font-size: 1rem;
}

/* ---------- Form ---------- */
#quote-form { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#quote-form input, #quote-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
}
#quote-form input:focus, #quote-form textarea:focus { outline: 3px solid var(--green); }
.inline-phone { color: var(--green); font-weight: 700; text-decoration: none; }
.form-status { text-align: center; min-height: 1.4em; font-weight: 600; }
.form-status.ok { color: #7ee06a; }
.form-status.err { color: #ff9d9d; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #cdd6e6;
  text-align: center;
  padding: 48px 5vw 110px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.site-footer img { height: 70px; width: auto; }
.footer-slogan {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: var(--green);
  font-size: 1.15rem;
  letter-spacing: .06em;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-legal { font-size: .82rem; color: #8593ab; margin-top: 8px; }

/* ---------- Mobile call bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  box-shadow: 0 -4px 14px rgba(0,0,0,.25);
}
.mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 16px 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.05rem;
}
.mb-call { background: var(--green); color: var(--white); }
.mb-quote { background: var(--navy); color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .hero-inner { grid-template-columns: 1fr; padding: 0 5vw; }
  .hero-copy { padding: 54px 0 34px; }
  .hero-photo { width: 100%; }
  .hero-photo::before, .hero-photo::after { display: none; }
  .hero-photo img {
    position: static;
    aspect-ratio: 4 / 3;
    height: auto;
    border-radius: var(--radius);
  }
  .car-btn { display: none; }
  .section { padding: 60px 5vw; }
  .section-sub { margin: 10px auto 32px; }
  .section-dark .section-sub, .section-gray .section-sub { margin-bottom: 32px; }
}
@media (max-width: 640px) {
  .btn-call { display: none; }
  .mobile-bar { display: flex; }
  .form-row { grid-template-columns: 1fr; }

  /* tighter mobile rhythm — shorter scroll, consistent spacing */
  .section { padding: 40px 5vw; }
  .section-sub { margin: 8px auto 24px; }
  .section-dark .section-sub, .section-gray .section-sub { margin-bottom: 24px; }

  /* hero: kicker + rating restored (smaller), subtext wraps naturally, checks stay trimmed */
  .hero-copy { padding: 30px 0 26px; }
  .hero-kicker { font-size: .85rem; margin-bottom: 6px; }
  .hero-checks { display: none; }
  .hero-proof { font-size: .85rem; margin-top: 14px; }

  /* hero photo: short fading banner instead of a big image sitting under the header */
  .hero-photo {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
  }
  .hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-photo::after { display: block; height: 55%; }

  /* services checklist: compact 2-column grid instead of one long stack */
  .checklist-card { padding: 22px 16px 18px; }
  .checklist { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .checklist li { font-size: .88rem; gap: 8px; }
  .checklist li::before { width: 20px; height: 20px; font-size: .78rem; }

  /* before/after: horizontal swipe carousel, same pattern as reviews — toggle still works per card */
  .gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 4px 2px 4px;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .ba-card { flex: 0 0 100%; scroll-snap-align: start; }

  /* reviews: unchanged from last pass */
  .reviews-track { gap: 14px; padding: 6px 2px 16px; }
  .review { flex: 0 0 100%; padding: 20px; }

  /* "where we work" section hidden on mobile — HTML untouched, replaced by one footer line */
  #area { display: none; }

  /* footer: smaller + tighter on mobile, still clears the sticky call bar */
  .site-footer { padding: 26px 5vw 76px; gap: 6px; }
  .site-footer img { height: 46px; }
  .footer-slogan { font-size: 1rem; }
  .footer-legal { font-size: .76rem; }
  .site-footer::after {
    content: "Serving Northampton, Lehigh & Monroe counties";
    display: block;
    font-size: .72rem;
    color: #8593ab;
    margin-top: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reviews-track { scroll-behavior: auto; }
  * { transition: none !important; }
}
