:root {
  --green: #63b82f;
  --green-dark: #3f8b1d;
  --lime: #b9cd37;
  --ink: #171b18;
  --muted: #667067;
  --surface: #f4f6f2;
  --line: #dfe5dc;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(19, 31, 21, .12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: #fff; padding: 10px 14px; }
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 230px; height: 70px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-weight: 700; font-size: .95rem; }
.site-nav a:hover { color: var(--green-dark); }
.nav-cta { background: var(--ink); color: #fff !important; padding: 12px 18px; border-radius: 999px; }
.menu-button { display: none; border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 700; }

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(17,24,18,.96) 0%, rgba(17,24,18,.85) 42%, rgba(17,24,18,.20) 100%),
    url('assets/images/driveway-after.png') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: auto -12% -45% 40%; width: 760px; height: 760px; border: 120px solid rgba(99,184,47,.18); transform: rotate(45deg); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: center; }
.hero-copy { max-width: 720px; }
.eyebrow { display: inline-block; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; font-size: .76rem; color: var(--green); margin-bottom: 16px; }
.hero h1, .section-heading h2, .about-panel h2, .contact-copy h2 { font-family: Montserrat, Inter, sans-serif; margin: 0; line-height: 1.02; letter-spacing: -.04em; }
.hero h1 { font-size: clamp(3.4rem, 7vw, 6.6rem); }
.hero-copy > p { font-size: 1.18rem; max-width: 650px; color: rgba(255,255,255,.82); margin: 24px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: #10210c; box-shadow: 0 12px 30px rgba(99,184,47,.28); }
.button-secondary { border: 1px solid rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.08); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; color: rgba(255,255,255,.72); font-size: .9rem; }
.trust-row span::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 7px; }
.hero-card { background: rgba(255,255,255,.94); color: var(--ink); padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-card h2 { margin: 0 0 18px; font-size: 1.65rem; }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.hero-card li { padding: 10px 0 10px 25px; border-bottom: 1px solid var(--line); position: relative; }
.hero-card li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); position: absolute; left: 0; top: 18px; }
.text-link { color: var(--green-dark); font-weight: 800; text-decoration: none; }

.intro-strip { padding: 36px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.stats-grid div { display: flex; flex-direction: column; }
.stats-grid strong { font-family: Montserrat, sans-serif; font-size: 1.18rem; }
.stats-grid span { color: var(--muted); }

.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2, .about-panel h2, .contact-copy h2 { font-size: clamp(2.4rem, 5vw, 4.25rem); }
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(99,184,47,.55); }
.service-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--surface); color: var(--green-dark); display: grid; place-items: center; font-weight: 900; margin-bottom: 50px; }
.service-card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.service-card p { margin: 0; color: var(--muted); }

.section-dark { background: #141915; color: #fff; }
.section-heading.light p { color: rgba(255,255,255,.68); }
.gallery-grid { display: grid; gap: 34px; }
.gallery-project { background: #202721; border: 1px solid rgba(255,255,255,.08); border-radius: 28px; overflow: hidden; }
.gallery-project header { display: flex; justify-content: space-between; gap: 20px; align-items: end; padding: 28px 30px; }
.gallery-project h3 { margin: 0; font-size: 1.5rem; }
.gallery-project p { margin: 4px 0 0; color: rgba(255,255,255,.62); }
.gallery-badge { color: var(--green); font-weight: 800; white-space: nowrap; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; }
.image-card { position: relative; min-height: 420px; overflow: hidden; }
.image-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.image-card:hover img { transform: scale(1.025); }
.image-label { position: absolute; left: 20px; top: 20px; background: rgba(17,27,17,.88); color: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 900; }
.image-card.after .image-label { background: var(--green); color: #10210c; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.review-card { margin: 0; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.review-card.featured { background: var(--surface); transform: translateY(-10px); }
.stars { color: var(--green-dark); letter-spacing: .1em; margin-bottom: 18px; }
.review-card blockquote { margin: 0 0 22px; font-size: 1.08rem; }
.review-card figcaption { font-weight: 800; }
.reviews-note { margin-top: 28px; color: var(--muted); text-align: center; }

.about-section { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: stretch; }
.about-panel, .quote-panel { border-radius: 28px; }
.about-panel { background: #fff; padding: 54px; }
.about-panel p { color: var(--muted); }
.quote-panel { background: var(--green); padding: 46px; display: flex; flex-direction: column; justify-content: center; color: #10210c; }
.quote-mark { font-size: 6rem; font-family: Georgia, serif; line-height: .7; }
.quote-panel p { font-family: Montserrat, sans-serif; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.15; margin: 20px 0 30px; }
.quote-source { font-weight: 800; }

.contact-section { background: var(--ink); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.contact-copy p { color: rgba(255,255,255,.7); }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; text-decoration: none; background: rgba(255,255,255,.04); }
a.contact-card:hover { border-color: var(--green); }
.contact-card span { color: var(--green); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.contact-card strong { margin-top: 4px; font-size: 1.18rem; overflow-wrap: anywhere; }

.site-footer { background: #0d110e; color: rgba(255,255,255,.72); padding: 54px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
.footer-logo { width: 230px; background: #fff; border-radius: 12px; padding: 6px; margin-bottom: 12px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-grid strong { color: #fff; margin-bottom: 7px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: .86rem; }
.footer-bottom a { text-decoration: none; color: var(--green); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 84px; left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 12px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 12px; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .hero { min-height: auto; padding: 90px 0; background-position: 60% center; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 600px; }
  .services-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .review-card.featured { transform: none; }
  .before-after { grid-template-columns: 1fr; }
  .image-card { min-height: 360px; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .brand img { width: 185px; height: 62px; }
  .nav-wrap { min-height: 74px; }
  .site-nav { top: 74px; }
  .hero { padding: 72px 0; }
  .hero h1 { font-size: 3.2rem; }
  .hero-copy > p { font-size: 1.02rem; }
  .hero-actions .button { width: 100%; }
  .trust-row { flex-direction: column; gap: 8px; }
  .stats-grid, .services-grid, .reviews-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 22px; }
  .service-icon { margin-bottom: 28px; }
  .gallery-project header { align-items: flex-start; flex-direction: column; }
  .image-card { min-height: 300px; }
  .about-panel, .quote-panel { padding: 34px 26px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
