:root {
  --ink: #17211d;
  --muted: #5f6f68;
  --line: #dce4df;
  --paper: #fbfcf8;
  --white: #ffffff;
  --green: #1e5d49;
  --green-dark: #12382e;
  --blue: #1e6c8f;
  --gold: #b98534;
  --wash: #edf5f0;
  --shadow: 0 20px 50px rgba(23, 33, 29, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 0.65rem 0.9rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.8rem max(1rem, calc((100vw - 1180px) / 2));
  background: rgba(251, 252, 248, 0.94);
  border-bottom: 1px solid rgba(220, 228, 223, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a,
.header-call,
.text-link {
  text-decoration: none;
  font-weight: 700;
}

.main-nav a {
  color: #2d3a35;
}

.main-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-call {
  border: 1px solid var(--green);
  color: var(--green);
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(3rem, 8vw, 6.5rem) max(1rem, calc((100vw - 1180px) / 2));
  overflow: hidden;
}

.hero-compact {
  min-height: auto;
  padding-top: clamp(2rem, 6vw, 4rem);
  padding-bottom: clamp(2rem, 6vw, 4rem);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.65rem);
  line-height: 0.97;
  letter-spacing: 0;
  max-width: 12ch;
}

.hero-compact h1 {
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  max-width: 14ch;
}

.lede {
  max-width: 62ch;
  color: #42504b;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-actions,
.cta-actions,
.quote-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  background: var(--green);
  color: var(--white);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button-light {
  background: var(--white);
  color: var(--green-dark);
}

.hero-media {
  position: relative;
}

.hero-image {
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-bar div {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 78px;
  padding: 1rem;
  background: var(--white);
  font-weight: 800;
  font-size: 0.93rem;
}

.trust-bar span {
  color: var(--green);
}

.section {
  padding: clamp(3.25rem, 7vw, 6.5rem) max(1rem, calc((100vw - 1180px) / 2));
}

.band {
  background: var(--wash);
}

.section-head {
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.section h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.8vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid,
.gallery-grid,
.process-grid,
.review-grid,
.area-grid {
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.review-grid article,
.process-grid li,
.gallery-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card {
  padding: 1.25rem;
}

.service-card h3,
.review-grid h3,
.process-grid h3 {
  margin: 0 0 0.55rem;
  font-size: 1.16rem;
  line-height: 1.2;
}

.service-card h3 a {
  text-decoration: none;
}

.service-card p,
.review-grid p,
.process-grid p {
  color: var(--muted);
  margin-top: 0;
}

.text-link {
  color: var(--green);
}

.gallery-grid {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.gallery-item {
  overflow: hidden;
  margin: 0;
}

.gallery-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.85rem 1rem;
  font-weight: 800;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-grid li {
  padding: 1.25rem;
}

.process-grid span {
  display: inline-block;
  margin-bottom: 1.15rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 900px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  color: var(--muted);
  margin-bottom: 0;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: clamp(2.5rem, 6vw, 5rem) max(1rem, calc((100vw - 1180px) / 2));
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(120deg, var(--green-dark), #21483f 58%, #705320);
}

.cta-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
}

.cta-section .eyebrow {
  color: #e8c27b;
}

.area-grid {
  grid-template-columns: repeat(3, 1fr);
}

.area-grid a {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  font-weight: 850;
}

.area-grid a:hover {
  border-color: var(--green);
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-grid article {
  padding: 1.25rem;
}

.article {
  display: grid;
  gap: 2rem;
  max-width: 960px;
}

.article section {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.article h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  max-width: 780px;
}

.article p {
  color: #3f4d48;
  font-size: 1.05rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding: 1rem max(1rem, calc((100vw - 1180px) / 2)) 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--green);
  text-decoration: none;
  font-weight: 750;
}

.quote-wrap {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.quote-intro {
  position: sticky;
  top: 100px;
}

.quote-contact {
  margin-top: 1.25rem;
}

.quote-contact a {
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}

.quote-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 35px rgba(23, 33, 29, 0.07);
}

.quote-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd9d3;
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(30, 108, 143, 0.25);
  outline-offset: 2px;
}

.hidden {
  display: none;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 2rem;
  padding: 3rem max(1rem, calc((100vw - 1180px) / 2)) 5rem;
  color: #d7e2dc;
  background: #111b17;
}

.site-footer p {
  max-width: 560px;
  color: #aab8b1;
}

.site-footer h2 {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer a {
  display: block;
  color: #d7e2dc;
  text-decoration: none;
  margin: 0.35rem 0;
}

.footer-brand {
  color: var(--white);
}

.footer-brand small {
  color: #aab8b1;
}

.mobile-cta {
  display: none;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero,
  .quote-wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1,
  .hero-compact h1 {
    max-width: 13ch;
  }

  .trust-bar,
  .service-grid,
  .gallery-grid,
  .process-grid,
  .review-grid,
  .area-grid,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .quote-intro {
    position: static;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 64px;
  }

  .site-header {
    padding: 0.65rem 1rem;
  }

  .brand small,
  .header-call {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding: 2rem 1rem 3rem;
  }

  .hero h1,
  .hero-compact h1 {
    font-size: clamp(2.15rem, 13vw, 3.6rem);
    max-width: 11.5ch;
  }

  .hero-image {
    aspect-ratio: 1 / 0.9;
  }

  .trust-bar,
  .service-grid,
  .gallery-grid,
  .process-grid,
  .review-grid,
  .area-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-bar div {
    min-height: 58px;
  }

  .section {
    padding: 3rem 1rem;
  }

  .cta-section {
    display: block;
    margin: 2rem 1rem;
  }

  .cta-actions {
    margin-top: 1rem;
  }

  .button {
    width: 100%;
  }

  .breadcrumbs {
    padding-inline: 1rem;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: #101914;
  }

  .mobile-cta a {
    display: grid;
    place-items: center;
    min-height: 58px;
    color: var(--white);
    text-decoration: none;
    font-weight: 900;
  }

  .mobile-cta a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Visual polish pass */
body {
  background:
    linear-gradient(180deg, #f8f6ee 0%, #fbfcf8 42%, #f3f7f4 100%);
}

.site-header {
  background: rgba(248, 246, 238, 0.9);
  box-shadow: 0 12px 30px rgba(18, 28, 23, 0.06);
}

.brand-mark {
  background: #142f27;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.main-nav a {
  position: relative;
  padding-block: 0.25rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.18rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-call {
  background: #142f27;
  color: var(--white);
  border-color: #142f27;
  box-shadow: 0 10px 24px rgba(20, 47, 39, 0.18);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 82svh;
  padding: clamp(4.5rem, 9vw, 7rem) max(1rem, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: #101914;
}

.hero-compact {
  min-height: 52svh;
}

.hero-bg,
.hero-bg picture,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  z-index: -2;
  overflow: hidden;
}

.hero-bg img {
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 19, 16, 0.9) 0%, rgba(11, 19, 16, 0.76) 36%, rgba(11, 19, 16, 0.34) 68%, rgba(11, 19, 16, 0.18) 100%),
    linear-gradient(0deg, rgba(11, 19, 16, 0.42), rgba(11, 19, 16, 0.08));
}

.hero-copy {
  max-width: 760px;
}

.hero h1,
.hero-compact h1 {
  max-width: 12.5ch;
  color: var(--white);
  text-wrap: balance;
}

.hero .lede {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.86);
}

.hero .eyebrow {
  color: #e8c27b;
}

.hero-proof {
  max-width: 58ch;
  margin: 1rem 0 1.35rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  font-weight: 800;
}

.hero .button-primary {
  background: #f2f0e8;
  color: #13231d;
  border-color: #f2f0e8;
}

.hero .button-primary:hover {
  background: var(--white);
}

.hero .button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
}

.trust-bar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #142f27;
  border-block: 0;
}

.trust-bar div {
  min-height: 72px;
  background: transparent;
  color: #f5f0df;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-bar div:last-child {
  border-right: 0;
}

.trust-bar span {
  color: #e8c27b;
}

.section {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.65fr);
  gap: clamp(1rem, 4vw, 3rem);
  max-width: none;
  align-items: end;
}

.section-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -0.45rem;
}

.section-head p:not(.eyebrow) {
  margin: 0;
}

.service-grid {
  gap: 1.15rem;
}

.service-card,
.review-grid article,
.process-grid li,
.gallery-item,
details,
.area-grid a,
.quote-form {
  border-color: rgba(20, 47, 39, 0.12);
  box-shadow: 0 18px 42px rgba(18, 28, 23, 0.07);
}

.service-card {
  position: relative;
  min-height: 230px;
  padding: 1.55rem;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--gold));
}

.service-card h3 {
  font-size: 1.28rem;
}

.text-link {
  display: inline-flex;
  margin-top: 0.35rem;
}

.gallery-item {
  background: #101914;
  color: var(--white);
}

.gallery-image {
  filter: saturate(0.95) contrast(1.02);
}

.gallery-item figcaption {
  color: #f5f0df;
}

.process-grid {
  counter-reset: step;
}

.process-grid li {
  background: #fdfdf9;
}

.process-grid span {
  color: var(--green);
  font-size: 0.9rem;
}

.band {
  background: #edf4ef;
}

.cta-section {
  background:
    linear-gradient(120deg, rgba(14, 28, 23, 0.96), rgba(24, 75, 62, 0.94)),
    url("/assets/images/driveway-before-after-1280.jpg") center / cover;
  box-shadow: 0 24px 60px rgba(18, 28, 23, 0.18);
}

.area-grid a {
  background: rgba(255, 255, 255, 0.84);
}

.quote-form {
  background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 980px) {
  .hero {
    min-height: 72svh;
  }

  .hero-compact {
    min-height: 46svh;
  }

  .section-head {
    display: block;
  }

  .trust-bar {
    grid-template-columns: 1fr 1fr;
  }

  .trust-bar div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 68svh;
    padding: 3.2rem 1rem 2.4rem;
  }

  .hero-compact {
    min-height: 54svh;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(11, 19, 16, 0.92), rgba(11, 19, 16, 0.72)),
      linear-gradient(0deg, rgba(11, 19, 16, 0.38), rgba(11, 19, 16, 0.14));
  }

  .hero h1,
  .hero-compact h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 10.5vw, 3.05rem);
    line-height: 1.02;
  }

  .hero-proof {
    font-size: 0.86rem;
    margin: 0.8rem 0 1rem;
  }

  .hero .button-ghost {
    display: none;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }

  .trust-bar div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .service-card {
    min-height: auto;
  }
}
