:root {
  --ink: #18211f;
  --muted: #5d6966;
  --line: #d8dfd6;
  --paper: #f6f4ee;
  --white: #ffffff;
  --field: #f1f3ee;
  --green: #2b6650;
  --green-dark: #193f34;
  --gold: #b56f28;
  --orange: #c9552f;
  --blue: #285c73;
  --asphalt: #252c2f;
  --shadow: 0 18px 42px rgba(24, 33, 31, 0.14);
  --shadow-soft: 0 10px 26px rgba(24, 33, 31, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfaf5 0, var(--paper) 520px, #f8f8f4 100%);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 245, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(24, 33, 31, 0.06);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: 7px;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(25, 63, 52, 0.22);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.nav a,
.phone,
.button,
.method-list a,
.quote-card button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
}

.nav a {
  padding: 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(43, 102, 80, 0.08);
}

.nav .nav-cta {
  color: var(--green-dark);
  border: 1px solid var(--line);
  background: var(--white);
}

.phone {
  position: relative;
  gap: 8px;
  padding: 0 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, #1a2423, #153d35 58%, #c9552f 160%);
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 14px 26px rgba(24, 33, 31, 0.2),
    0 0 0 4px rgba(201, 85, 47, 0.08);
  transform: translateZ(0);
}

.phone::before {
  content: "Call";
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 24px;
  color: #1a2423;
  background: #ffffff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.phone::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border: 1px solid rgba(201, 85, 47, 0.22);
  border-radius: 11px;
}

.phone:hover {
  background:
    linear-gradient(135deg, #173d34, #255f4b 58%, #d45c33 150%);
  box-shadow:
    0 16px 30px rgba(24, 33, 31, 0.24),
    0 0 0 5px rgba(201, 85, 47, 0.12);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(105deg, rgba(248,250,245,0.96) 0%, rgba(248,250,245,0.92) 42%, rgba(248,250,245,0.72) 62%, rgba(33,77,51,0.38) 100%),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=82") center right / cover;
  min-height: 650px;
}

.hero-upgraded {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: clamp(34px, 5vw, 72px);
  padding-bottom: clamp(34px, 5vw, 72px);
  background:
    radial-gradient(circle at 86% 18%, rgba(201,85,47,0.14), transparent 28%),
    linear-gradient(112deg, rgba(251,250,245,1) 0%, rgba(246,244,238,0.98) 48%, rgba(232,238,228,0.94) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 120px;
  background: linear-gradient(0deg, rgba(248,250,245,1), rgba(248,250,245,0));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(44px, 5.8vw, 74px);
}

h2 {
  font-size: clamp(28px, 3vw, 44px);
}

h3 {
  font-size: 20px;
}

.lede {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--asphalt);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(216, 223, 216, 0.9);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 780px;
  margin-top: 24px;
}

.hero-proof div {
  display: grid;
  gap: 4px;
  min-height: 96px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(216, 223, 214, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.hero-proof strong {
  color: var(--green-dark);
}

.hero-proof span {
  color: var(--muted);
  font-size: 14px;
}

.mobile-proof-photo {
  display: none;
}

.button {
  padding: 0 18px;
  border: 1px solid transparent;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 12px 24px rgba(43, 102, 80, 0.22);
}

.button.secondary {
  color: var(--green-dark);
  background: var(--white);
  border-color: var(--line);
}

.button.secondary.dark {
  color: var(--white);
  background: transparent;
  border-color: rgba(255,255,255,0.32);
}

.microcopy,
.form-note {
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.photo-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  background: var(--asphalt);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.real-photo {
  background:
    linear-gradient(180deg, rgba(24,33,31,0.02), rgba(24,33,31,0.62)),
    url("assets/concrete-driveway-crew.jpg") center / cover;
}

.photo-card,
.mobile-proof-photo {
  outline: 1px solid rgba(255,255,255,0.62);
  outline-offset: -8px;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23,32,27,0.02), rgba(23,32,27,0.6)),
    linear-gradient(90deg, rgba(23,32,27,0.42), transparent 62%);
}

.photo-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 4px;
  color: var(--white);
}

.photo-label strong {
  font-size: 20px;
}

.photo-label span {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
}

.quote-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-card.compact {
  padding: 22px;
}

.quote-card h2 {
  font-size: 24px;
  margin-bottom: 18px;
}

.quote-card label {
  display: grid;
  gap: 7px;
  margin-bottom: 11px;
  font-weight: 700;
  color: var(--ink);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #c9d2ca;
  background: var(--field);
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

textarea {
  resize: vertical;
}

.quote-card button {
  width: 100%;
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  font: inherit;
  cursor: pointer;
}

.quote-card button:hover,
.button.primary:hover {
  filter: brightness(1.04);
}

.visual-band {
  height: clamp(170px, 24vw, 330px);
  overflow: hidden;
}

.visual-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(24px, 4vw, 42px);
  background: var(--paper);
}

.trust-strip div {
  display: grid;
  gap: 3px;
  min-height: 92px;
  align-content: center;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

.trust-strip div:first-child {
  border-radius: 8px 0 0 8px;
}

.trust-strip div:last-child {
  border-radius: 0 8px 8px 0;
}

.trust-strip strong {
  color: var(--green-dark);
  font-size: 18px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(44px, 7vw, 82px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  gap: 28px;
  align-items: end;
  background: var(--white);
}

.intro-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.photo-proof-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.9fr;
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(44px, 6vw, 72px);
  background: var(--white);
}

.photo-proof-grid article {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--asphalt);
  box-shadow: var(--shadow-soft);
}

.photo-proof-grid img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  display: block;
  object-fit: cover;
}

.photo-proof-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 25%, rgba(24,33,31,0.76)),
    linear-gradient(90deg, rgba(24,33,31,0.28), transparent 56%);
}

.photo-proof-grid div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 5px;
  color: var(--white);
}

.photo-proof-grid strong {
  font-size: 20px;
}

.photo-proof-grid span {
  max-width: 420px;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.problem-grid article {
  padding: 22px;
  min-height: 170px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.problem-grid article::before {
  content: "";
  display: block;
  width: 44px;
  height: 5px;
  margin-bottom: 18px;
  background: var(--orange);
  border-radius: 999px;
}

.problem-grid p,
.split p,
.service-area p,
.article p,
.page-hero p,
.quote-page p {
  color: var(--muted);
}

.split,
.service-area,
.quote-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 34px;
  align-items: start;
}

.method-list {
  display: grid;
  gap: 10px;
}

.method-list a {
  justify-content: flex-start;
  padding: 16px;
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.method-list a::after {
  content: ">";
  margin-left: auto;
  color: var(--orange);
  font-weight: 900;
}

.service-area {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(43,102,80,0.1), rgba(40,92,115,0.08)),
    #eef4e9;
}

.process-section {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-grid article {
  position: relative;
  min-height: 210px;
  padding: 24px;
  overflow: hidden;
  color: var(--white);
  background: var(--asphalt);
  border-radius: 8px;
}

.process-grid article:nth-child(2) {
  background: var(--green-dark);
}

.process-grid article:nth-child(3) {
  background: var(--blue);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  color: var(--asphalt);
  background: var(--white);
  border-radius: 50%;
  font-weight: 900;
}

.process-grid p {
  color: rgba(255,255,255,0.78);
}

.faq-preview details {
  max-width: 860px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq-preview summary {
  cursor: pointer;
  font-weight: 800;
}

.page {
  min-height: 70vh;
}

.page-hero {
  padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 72px);
  background: #eef4e9;
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background:
    radial-gradient(circle at 88% 20%, rgba(201,85,47,0.12), transparent 28%),
    linear-gradient(120deg, rgba(255,255,255,0.95), rgba(232,238,228,0.9));
}

.page-hero p {
  max-width: 820px;
  font-size: 18px;
}

.page-hero .button {
  margin-top: 18px;
}

.article {
  max-width: 900px;
}

.article-grid {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 390px);
  gap: 34px;
  align-items: start;
}

.article h2 {
  margin-top: 28px;
  font-size: 30px;
}

.article h2:first-child {
  margin-top: 0;
}

.article li {
  margin: 8px 0;
}

.service-hero-photo {
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(216,223,214,0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.concrete-photo {
  background:
    linear-gradient(180deg, rgba(24,33,31,0.02), rgba(24,33,31,0.34)),
    url("assets/concrete-driveway-crew.jpg") center / cover;
}

.lifting-photo {
  background:
    linear-gradient(180deg, rgba(24,33,31,0.02), rgba(24,33,31,0.34)),
    url("assets/concrete-lifting-process-representative.png") center / cover;
}

.mudjacking-photo {
  background:
    linear-gradient(180deg, rgba(24,33,31,0.02), rgba(24,33,31,0.34)),
    url("assets/mudjacking-process-representative.png") center / cover;
}

.trowel-photo {
  background:
    linear-gradient(180deg, rgba(24,33,31,0.02), rgba(24,33,31,0.34)),
    url("assets/concrete-trowel-worker.jpg") center / cover;
}

.foam-photo {
  background:
    linear-gradient(180deg, rgba(24,33,31,0.02), rgba(24,33,31,0.34)),
    url("assets/foam-lifting-injection-representative.png") center / cover;
}

.surface-photo {
  background:
    linear-gradient(180deg, rgba(24,33,31,0.02), rgba(24,33,31,0.34)),
    url("assets/road-repair-workers.jpg") center / cover;
}

.quote-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.quote-aside h2 {
  font-size: 26px;
}

.quote-aside p {
  margin-top: 0;
  color: var(--muted);
}

.quote-aside .button {
  width: 100%;
}

.quote-page {
  padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(232,238,228,0.72)),
    var(--paper);
}

.quote-card.standalone {
  box-shadow: var(--shadow);
}

.callout {
  padding: 16px;
  background: var(--white);
  border-left: 5px solid var(--blue);
}

.quote-sidebar {
  margin-top: 22px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.quote-sidebar h2 {
  font-size: 24px;
}

.quote-sidebar ul {
  margin-bottom: 0;
  padding-left: 20px;
  color: var(--muted);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(42px, 6vw, 74px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(24,33,31,0.96), rgba(25,63,52,0.94)),
    var(--asphalt);
}

.final-cta h2 {
  max-width: 760px;
}

.final-cta p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255,255,255,0.76);
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #dfe9df;
  background: var(--ink);
}

.site-footer p {
  max-width: 820px;
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nav {
    grid-column: 1 / -1;
    overflow-x: visible;
    padding-bottom: 4px;
  }

  .phone {
    justify-self: end;
  }

  .hero,
  .hero-upgraded,
  .service-hero,
  .article-grid,
  .split,
  .service-area,
  .quote-page {
    grid-template-columns: 1fr;
  }

  .quote-aside {
    position: static;
  }

  .hero {
    min-height: 560px;
  }

  .hero-upgraded {
    min-height: auto;
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
    align-items: start;
  }

  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-proof,
  .process-grid,
  .intro-band,
  .photo-proof-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand span:last-child {
    max-width: 240px;
  }

  .nav {
    display: none;
  }

  .phone {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .phone::before {
    min-width: 30px;
    height: 20px;
    font-size: 11px;
  }

  h1 {
    font-size: 40px;
  }

  .lede {
    font-size: 18px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-proof {
    gap: 8px;
  }

  .hero-proof div {
    min-height: auto;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel .photo-card {
    display: none;
  }

  .mobile-proof-photo {
    position: relative;
    display: block;
    min-height: 190px;
    margin: 20px 0 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(23, 32, 27, 0.12);
  }

  .mobile-proof-photo span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 10px 12px;
    color: var(--white);
    background: rgba(23, 32, 27, 0.78);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
  }

  .photo-card {
    min-height: 210px;
  }

  .quote-card.compact {
    padding: 20px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    padding-left: 18px;
    padding-right: 18px;
  }

  .trust-strip div,
  .trust-strip div:first-child,
  .trust-strip div:last-child {
    border-radius: 8px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .photo-proof-grid article,
  .photo-proof-grid img {
    min-height: 230px;
  }

  .site-footer {
    display: grid;
  }
}
