/* ============ Tokens ============ */
:root {
  --color-bg: #f7f5f2;
  --color-bg-alt: #efe9e1;
  --color-ink: #1b1d1f;
  --color-ink-soft: #565c62;
  --color-primary: #d9631f;
  --color-primary-dark: #b84f15;
  --color-accent: #2f5d62;
  --color-steel: #3c4650;
  --color-line: #e0d9cd;

  --sky-day-top: #8ecae6;
  --sky-day-bottom: #eaf4e1;
  --sky-night-top: #0b1220;
  --sky-night-bottom: #1c2a3d;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-h: 76px;
  --radius: 14px;
  --shadow: 0 20px 40px -20px rgba(27, 29, 31, 0.35);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
section[id] { scroll-margin-top: var(--nav-h); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  opacity: .85;
  margin-bottom: .75em;
}
.eyebrow--dark { color: var(--color-primary-dark); opacity: 1; }
.eyebrow--light { color: #ffd9b8; text-shadow: 0 2px 8px rgba(0,0,0,.5); }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
.btn--ghost {
  border-color: rgba(255,255,255,.7);
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn--ghost-dark {
  border-color: rgba(27,29,31,.25);
  color: var(--color-ink);
}
.btn--ghost-dark:hover { border-color: var(--color-ink); transform: translateY(-2px); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__actions--center { justify-content: center; }

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Nav ============ */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-nav.is-scrolled {
  background: rgba(247, 245, 242, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.site-nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; align-self: flex-start; }
.brand__mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  flex-shrink: 0;
}
.brand__mark--small { width: 34px; height: 34px; font-size: .8rem; border-radius: 10px; }
.brand__logo {
  display: block;
  height: 108px;
  width: auto;
  max-width: 46vw;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 500;
  font-size: .95rem;
  color: #fff;
  transition: color .3s ease, opacity .2s ease;
  opacity: .9;
}
.nav-links a:hover { opacity: 1; }
.site-nav.is-scrolled .nav-links a { color: var(--color-ink); }
.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--color-primary) !important;
  color: #fff !important;
  opacity: 1 !important;
}
.nav-cta:hover { background: var(--color-primary-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
.site-nav.is-scrolled .nav-toggle span { background: var(--color-ink); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Parallax scenes ============ */
.parallax {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.restoration.parallax,
.footer-parallax.parallax { min-height: 70vh; }
.footer-parallax { min-height: auto; padding: 90px 0 40px; }

.parallax__layer {
  position: absolute;
  inset: -10% -10%;
  will-change: transform;
}
.hero__photo,
.services__photo,
.restoration__photo {
  inset: -40% -10%;
}
.hero__photo {
  background: url('../assets/fall_road.jpg') center/cover no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 10, .5) 0%, rgba(8, 9, 10, .78) 100%);
}
.hero .eyebrow { text-shadow: 0 2px 8px rgba(0,0,0,.5); }

.parallax__sky {
  background: linear-gradient(180deg, var(--sky-day-top) 0%, var(--sky-day-bottom) 60%);
}
.parallax__sky--night { background: linear-gradient(180deg, var(--sky-night-top) 0%, var(--sky-night-bottom) 100%); }

.parallax__stars {
  background-image:
    radial-gradient(2px 2px at 10% 20%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 25% 45%, #fff, transparent),
    radial-gradient(2px 2px at 40% 15%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 60% 30%, #fff, transparent),
    radial-gradient(2px 2px at 75% 10%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 85% 40%, #fff, transparent),
    radial-gradient(2px 2px at 92% 22%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 15% 55%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 50% 60%, #fff, transparent);
  opacity: .8;
}

.parallax__hills-far {
  bottom: 0; top: auto; height: 55%;
  background: #f2b98c;
  clip-path: polygon(0% 60%, 12% 40%, 28% 55%, 45% 30%, 60% 50%, 78% 35%, 100% 55%, 100% 100%, 0% 100%);
}
.parallax__hills-far--night { background: #16233a; }

.parallax__hills-near {
  bottom: 0; top: auto; height: 38%;
  background: var(--color-accent);
  clip-path: polygon(0% 70%, 15% 45%, 35% 65%, 55% 35%, 75% 60%, 90% 42%, 100% 65%, 100% 100%, 0% 100%);
}
.parallax__hills-near--night { background: #0d1626; }

.hero__content, .restoration__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 0 24px;
  max-width: 760px;
}
.hero__content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  text-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.hero__lede {
  font-size: 1.2rem;
  opacity: .95;
  margin-bottom: 1.6em;
}
.hero__actions { justify-content: center; }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 30px; height: 46px;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  background: #fff;
  border-radius: 50%;
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 0; transform: translateY(16px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue span { animation: none; }
}

/* ============ About ============ */
.about { padding: 100px 0; }
.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
.about__copy p { color: var(--color-ink-soft); }
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--color-primary);
}
.stat__label {
  display: block;
  font-size: .82rem;
  color: var(--color-ink-soft);
  margin-top: 4px;
}

/* ============ Services ============ */
.services {
  padding: 100px 0;
}
.services__photo {
  background: url('../assets/bkg_road_alabama3c.jpg') center/cover no-repeat;
}
.services__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, .55);
}
.services .wrap { position: relative; z-index: 1; }
.services .eyebrow--dark { color: #ffb677; }
.services h2 { color: #fff; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .5);
}
.service-card svg {
  width: 34px; height: 34px;
  stroke: #ffb677;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 16px;
}
.service-card h3 { margin-bottom: .3em; color: #fff; }
.service-card p { color: rgba(255, 255, 255, .82); font-size: .92rem; margin: 0; }

/* ============ Gallery / Slideshow ============ */
.gallery { padding: 100px 0; }
.slideshow {
  max-width: 920px;
  margin: 56px auto 0;
}
.slideshow__viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-steel);
}
.slideshow__viewport:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}
.slideshow__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease;
}
.slideshow__img.is-active { opacity: 1; }
.slideshow__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .2s ease;
  z-index: 2;
}
.slideshow__arrow:hover { background: rgba(0, 0, 0, .7); }
.slideshow__arrow--prev { left: 14px; }
.slideshow__arrow--next { right: 14px; }
.slideshow__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.slideshow__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--color-line);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.slideshow__dot.is-active { background: var(--color-primary); transform: scale(1.2); }
.slideshow--portrait { max-width: 420px; }
.slideshow--portrait .slideshow__viewport { aspect-ratio: 3 / 4; }

/* ============ Restoration Progress Gallery ============ */
.restoration-gallery { padding: 100px 0; }
.restoration-gallery__callouts {
  max-width: 920px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.callout {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.callout p {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: .95rem;
  line-height: 1.6;
}
.callout strong { color: var(--color-ink); }

/* ============ Restoration ============ */
.restoration__photo {
  background: url('../assets/airstream2.jpg') center/cover no-repeat;
}
.restoration__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 10, .5) 0%, rgba(8, 9, 10, .78) 100%);
}
.restoration__content h2 { color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.4); }
.restoration__quote {
  font-style: italic;
  font-size: 1.05rem;
  opacity: .92;
  max-width: 560px;
  margin: 0 auto 1.8em;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

/* ============ Service area / pills ============ */
.area { padding: 100px 0; text-align: center; }
.area__lede { color: var(--color-ink-soft); max-width: 520px; margin: 0 auto; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}
.pill {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(217, 99, 31, .35);
  background: rgba(217, 99, 31, .06);
  color: var(--color-primary-dark);
  font-size: .9rem;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pill:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ============ Notice ============ */
.notice { padding: 40px 0 100px; }
.notice__box {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 32px;
  border: 1px solid rgba(217, 99, 31, .25);
  background: rgba(217, 99, 31, .06);
  border-radius: var(--radius);
}
.notice__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin: 0 0 .5em;
}
.notice__text p:not(.notice__title) {
  margin: 0 0 .4em;
  color: var(--color-ink-soft);
  font-size: .95rem;
  line-height: 1.6;
}
.notice__text p:last-child:not(.notice__title) { margin-bottom: 0; }

/* ============ Payments ============ */
.payments { padding: 60px 0; background: var(--color-steel); text-align: center; }
.payments__label {
  color: #fff;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 24px;
}
.payments__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}
.payments__row span {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: .82rem;
  opacity: .85;
}

/* ============ Reviews ============ */
.reviews { padding: 100px 0; text-align: center; background: var(--color-bg); }
.reviews .wrap { max-width: 640px; }
.reviews p { color: var(--color-ink-soft); }

/* ============ Contact ============ */
.contact { padding: 100px 0; background: var(--color-bg-alt); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 22px;
}
.contact__list li { color: var(--color-ink-soft); }
.contact__list strong { color: var(--color-ink); display: block; margin-bottom: 2px; }
.contact__list a { color: var(--color-primary-dark); font-weight: 600; }
.muted { font-size: .88rem; opacity: .85; }
.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.contact__map iframe { width: 100%; height: 100%; border: 0; }

/* ============ Footer / glass nav ============ */
.footer-parallax { color: #fff; }
.footer__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.glass-nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-bottom: 48px;
}
.glass-nav a {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.glass-nav a:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.3);
}
.footer__meta { opacity: .85; font-size: .88rem; }
.footer__meta p { margin: 0 0 6px; }
.footer__meta .brand__mark { margin: 0 auto 14px; }
.footer__copy { opacity: .6; font-size: .8rem; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .about__grid, .contact__grid, .restoration-gallery__callouts { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .contact__map { aspect-ratio: 16 / 10; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .brand__logo { height: 64px; max-width: 62vw; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    height: 100vh;
    background: rgba(20, 22, 24, .97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { color: #fff !important; font-size: 1.1rem; }
  .nav-cta { align-self: flex-start; }

  .stats { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .glass-nav { flex-direction: column; align-items: stretch; border-radius: 20px; }
  .glass-nav a { text-align: center; }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr; }
  .about, .services, .area, .reviews, .contact { padding: 72px 0; }
  .hero__actions, .hero__actions--center { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
}
