:root {
  --charcoal: #181818;
  --ink: #252321;
  --slate: #3c4746;
  --concrete: #d8d3c9;
  --light: #f5f1e9;
  --paper: #fffaf0;
  --earth: #9f7c4f;
  --green: #34483e;
  --line: rgba(37, 35, 33, 0.16);
  --shadow: 0 18px 42px rgba(24, 24, 24, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--light);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 241, 233, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand img { display: block; width: 240px; max-width: 240px; max-height: 78px; height: auto; object-fit: contain; background: transparent; margin-left: 8px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; font-weight: 800; font-size: 0.93rem; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--green); }
.nav-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid var(--green);
}

.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(37, 35, 33, 0.34);
}

.hero {
  background:
    linear-gradient(90deg, rgba(24, 24, 24, 0.88), rgba(24, 24, 24, 0.60)),
    url("/assets/images/Driveways/driveway-pour.jpg") center / cover;
  color: #fff;
  padding: 82px 0;
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr); gap: 42px; align-items: center; }
.hero-copy { max-width: 720px; }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: 0; font-size: 0.78rem; font-weight: 900; color: var(--earth); margin-bottom: 10px; }
.hero .eyebrow { color: #d9b77a; }
h1, h2, h3 { margin: 0; line-height: 1.08; color: inherit; }
h1 { font-size: clamp(2.45rem, 6vw, 5rem); max-width: 760px; }
h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); }
h3 { font-size: 1.18rem; }
p { margin: 14px 0 0; }
.lead { font-size: 1.17rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .btn.secondary { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  padding: 8px 11px;
  font-weight: 900;
  color: #fff;
}

.hero-image {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--charcoal);
}
.hero-image img { aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { font-size: 0.88rem; font-weight: 800; color: var(--slate); padding: 10px 12px; background: var(--paper); }

.section { padding: 72px 0; }
.section-head { max-width: 820px; margin-bottom: 28px; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 24px; align-items: end; }
.section-head.split p { margin: 0; color: #5d5a54; }

.cards, .gallery { display: grid; gap: 18px; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.card p { color: #5d5a54; }

.work-section { background: #e7e2d8; }
.gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.about-section { background: var(--charcoal); color: #fff; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr); gap: 36px; align-items: start; }
.about-grid p { color: #e5ded2; font-size: 1.08rem; }
.cred-list { display: grid; gap: 12px; }
.cred-list span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 900;
}
.legacy-panel { display: grid; gap: 18px; }
.legacy-signature {
  width: 100%;
  max-width: 460px;
  justify-self: start;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px;
}

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr); gap: 34px; align-items: start; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.contact-card ul { margin: 14px 0 0; padding-left: 20px; }
.contact-card li + li { margin-top: 8px; }
.note { color: #67625b; font-size: 0.94rem; }

.site-footer {
  background: #111;
  color: #eee7dc;
  padding: 44px 0 22px;
}
.footer-grid { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(210px, 0.35fr); gap: 28px; align-items: center; }
.footer-logo { display: block; width: 120px; max-width: 120px; height: auto; object-fit: contain; background: transparent; }
.footer-grid h2 { font-size: 1.45rem; }
.footer-grid p { color: #c9c2b7; }
.footer-contact { display: grid; gap: 8px; font-weight: 900; }
.footer-contact a { color: #fff; text-decoration: none; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 28px; padding-top: 18px; color: #bdb7ad; font-size: 0.9rem; }

@media (max-width: 980px) {
  .nav-wrap { flex-wrap: wrap; padding: 12px 0; }
  .brand img { width: 200px; max-width: 200px; max-height: 68px; }
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    font-weight: 900;
  }
  .site-nav {
    display: none;
    width: 100%;
    order: 4;
    margin: 0;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .site-nav.open { display: grid; gap: 10px; }
  .nav-cta { margin-left: 0; }
  .footer-logo { width: 105px; max-width: 105px; }
  .hero-grid, .about-grid, .contact-grid, .section-head.split { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .nav-wrap { width: min(100% - 24px, 1200px); gap: 12px; }
  .brand img { width: 165px; max-width: 165px; max-height: 62px; }
  .nav-cta { width: 100%; }
  .hero { padding: 56px 0; }
  .section { padding: 54px 0; }
  .service-grid, .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-logo { width: 95px; max-width: 95px; }
}
