:root {
  --ink: #192027;
  --muted: #66717c;
  --concrete: #f2f0eb;
  --paper: #fffdf8;
  --line: #d8d3c8;
  --safety: #e46a2b;
  --steel: #315566;
  --asphalt: #24292e;
  --green: #697a52;
  --shadow: 0 20px 60px rgba(25, 32, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 1px 20px rgba(25, 32, 39, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--safety);
  border: 3px solid rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.93rem;
  font-weight: 700;
}

.nav a {
  opacity: 0.9;
}

.nav-cta {
  padding: 10px 16px;
  color: #fff;
  background: var(--safety);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/municipal-concrete-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 20, 22, 0.86) 0%, rgba(17, 20, 22, 0.62) 38%, rgba(17, 20, 22, 0.18) 72%),
    linear-gradient(0deg, rgba(17, 20, 22, 0.46), rgba(17, 20, 22, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 780px;
  padding: 150px clamp(18px, 5vw, 64px) 92px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--safety);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 2px solid transparent;
  font-weight: 900;
}

.button-primary {
  color: #fff;
  background: var(--safety);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--asphalt);
  color: #fff;
}

.trust-strip div {
  padding: 30px clamp(18px, 4vw, 52px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.section {
  padding: 96px clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading h2 {
  color: var(--ink);
}

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

.service-card {
  min-height: 325px;
  padding: 0 0 26px;
  background: var(--concrete);
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.service-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #ddd6ca;
}

.service-card h3,
.service-card p {
  padding-left: 24px;
  padding-right: 24px;
}

.service-card h3 {
  margin-top: 22px;
}

.service-card p,
.municipal-copy p,
.process-step p,
.contact-section p {
  color: var(--muted);
}

.municipal-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
  padding: 96px clamp(18px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(49, 85, 102, 0.94), rgba(36, 41, 46, 0.96)),
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(255, 255, 255, 0.08) 16px 18px);
  color: #fff;
}

.municipal-copy {
  max-width: 780px;
}

.municipal-copy p,
.municipal-copy .check-list {
  color: rgba(255, 255, 255, 0.76);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--safety);
  border-bottom: 3px solid var(--safety);
  transform: rotate(-45deg);
}

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

.stat-panel div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.stat-panel span {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.stat-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.process-section {
  background:
    linear-gradient(180deg, rgba(242, 240, 235, 0.72), rgba(255, 253, 248, 1)),
    repeating-linear-gradient(90deg, rgba(49, 85, 102, 0.06) 0 1px, transparent 1px 110px);
}

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

.process-step {
  min-height: 220px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(25, 32, 39, 0.06);
}

.process-step span {
  display: block;
  width: 52px;
  height: 10px;
  margin-bottom: 42px;
  background: var(--green);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 42px;
  align-items: center;
  padding: 96px clamp(18px, 5vw, 64px);
  color: #fff;
  background: var(--asphalt);
}

.contact-section h2 {
  max-width: 900px;
}

.contact-section p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label,
.contact-form span {
  display: grid;
}

.contact-form span {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(228, 106, 43, 0.24);
  border-color: var(--safety);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 64px);
  background: #171b1f;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .nav a {
    padding: 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .menu-button {
    display: block;
    color: inherit;
    position: absolute;
    top: 14px;
    right: 18px;
  }

  .trust-strip,
  .service-grid,
  .process-grid,
  .municipal-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .contact-form {
    grid-template-columns: 1fr;
  }
}

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

  .brand {
    font-size: 0.96rem;
  }

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

  .hero {
    min-height: 88vh;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-content {
    width: 100vw;
    max-width: 100vw;
    padding: 122px 18px 58px;
  }

  h1 {
    max-width: 7.6ch;
    font-size: clamp(2.45rem, 12vw, 3.2rem);
    line-height: 0.98;
  }

  .hero-copy {
    max-width: 31ch;
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .trust-strip span {
    max-width: 31ch;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section,
  .municipal-band,
  .contact-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .service-card,
  .process-step {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
