:root {
  --black: #030504;
  --black-soft: #080d0a;
  --panel: #0d1410;
  --panel-strong: #111a14;
  --white: #ffffff;
  --text: #f5fff7;
  --muted: #b6c1b9;
  --muted-2: #87938b;
  --green: #9dff00;
  --green-2: #47f25f;
  --green-dark: #173f1e;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(157, 255, 0, 0.34);
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.36);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  padding: 10px 14px;
  color: #061006;
  background: var(--green);
  border-radius: 6px;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 5, 4, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-bar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 178px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.42));
}

.brand-wordmark {
  display: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-menu a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.nav-menu .nav-cta {
  color: #071006;
  background: var(--green);
  border-color: var(--green);
}

.nav-menu .nav-call {
  color: var(--text);
  border-color: var(--line-strong);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  content: "";
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-media img {
  object-fit: cover;
  filter: saturate(1.06) contrast(1.05);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 5, 4, 0.94) 0%, rgba(3, 5, 4, 0.72) 45%, rgba(3, 5, 4, 0.28) 100%),
    linear-gradient(0deg, rgba(3, 5, 4, 0.92) 0%, rgba(3, 5, 4, 0.08) 44%, rgba(3, 5, 4, 0.34) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding: 74px 0 58px;
}

.ce-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  padding: 8px 12px 8px 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ce-badge img {
  width: 58px;
  height: 42px;
  object-fit: contain;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  background: var(--green);
  content: "";
}

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

h1 {
  margin-bottom: 18px;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  max-width: 68ch;
  color: var(--muted);
  font-size: 19px;
}

.hero .lead {
  color: #d7e3dc;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-size: 15px;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(157, 255, 0, 0.1);
}

.button.primary {
  color: #071006;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 12px 34px rgba(157, 255, 0, 0.18);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--green-2);
}

.button.dark {
  color: #071006;
  background: var(--white);
  border-color: var(--white);
}

.button.full {
  width: 100%;
}

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

.trust-ribbon span {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  color: var(--text);
  background: #060908;
  font-weight: 900;
  text-align: center;
}

.section {
  padding: 92px 0;
}

.section.tight {
  padding: 64px 0;
}

.section.alt {
  background: var(--black-soft);
}

.section-header {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-header.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-header.center .eyebrow {
  justify-content: center;
}

.section-header.center .eyebrow::before {
  display: none;
}

.muted {
  color: var(--muted);
}

.small {
  color: var(--muted-2);
  font-size: 14px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.service-card,
.value-card,
.payment-card,
.quick-card,
.contact-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card p,
.value-card p,
.payment-card p,
.quick-card p,
.contact-card p {
  color: var(--muted);
}

.service-card .service-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.feature-list li::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.commercial-band {
  background:
    linear-gradient(90deg, rgba(3, 5, 4, 0.96), rgba(3, 5, 4, 0.72)),
    url("../../images/work4.jpg") center / cover;
}

.commercial-panel {
  max-width: 790px;
}

.target-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.target-list li,
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
  font-weight: 800;
}

.chip.green {
  color: #071006;
  background: var(--green);
  border-color: var(--green);
}

.media-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.media-tile {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.media-tile.small {
  min-height: 212px;
}

.media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.media-tile:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.media-tile figcaption,
.gallery-card figcaption,
.compare-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  color: var(--text);
  background: rgba(3, 5, 4, 0.78);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.stack {
  display: grid;
  gap: 18px;
}

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

.compare-card {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.compare-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-label {
  top: 14px;
  bottom: auto;
}

.compare-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 16px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(3, 5, 4, 0.6), rgba(3, 5, 4, 0.92));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-card {
  position: relative;
  min-height: 300px;
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.gallery-card.wide {
  grid-column: span 8;
}

.gallery-card.tall {
  min-height: 520px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.1) contrast(1.04);
}

.logo-card {
  background:
    radial-gradient(circle at 72% 26%, rgba(157, 255, 0, 0.18), transparent 36%),
    #020302;
}

.gallery-card.logo-card img,
.media-tile.logo-card img {
  object-fit: contain;
  padding: 28px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(157, 255, 0, 0.14), rgba(255, 255, 255, 0.035)),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.cta-band::after {
  position: absolute;
  right: 24px;
  bottom: -54px;
  width: 270px;
  height: 200px;
  background: url("../../images/clean-edge-ce-mark-tight.png") center / contain no-repeat;
  opacity: 0.09;
  content: "";
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band.split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.page-hero {
  padding: 82px 0 62px;
  background:
    linear-gradient(90deg, rgba(3, 5, 4, 0.94), rgba(3, 5, 4, 0.78)),
    url("../../images/rock-install-sideyard-opt.jpg") center / cover;
  border-bottom: 1px solid var(--line);
}

.page-hero.services-bg {
  background:
    linear-gradient(90deg, rgba(3, 5, 4, 0.94), rgba(3, 5, 4, 0.7)),
    url("../../images/mulch-after-landscape-opt.jpg") center / cover;
}

.page-hero.gallery-bg {
  background:
    linear-gradient(90deg, rgba(3, 5, 4, 0.94), rgba(3, 5, 4, 0.64)),
    url("../../images/mulch-after-walkway-opt.jpg") center / cover;
}

.page-hero.estimate-bg {
  background:
    linear-gradient(90deg, rgba(3, 5, 4, 0.95), rgba(3, 5, 4, 0.72)),
    url("../../images/mulch-after-landscape-opt.jpg") center / cover;
}

.page-hero.pay-bg {
  background:
    linear-gradient(90deg, rgba(3, 5, 4, 0.95), rgba(3, 5, 4, 0.72)),
    url("../../images/work1.jpg") center / cover;
}

.page-hero h1 {
  max-width: 820px;
}

.form-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  min-height: 760px;
}

.form-frame iframe {
  width: 100%;
  min-height: 760px;
  border: 0;
}

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

.payment-status {
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: rgba(157, 255, 0, 0.08);
}

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

.method-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.footer {
  padding: 44px 0;
  color: var(--muted);
  background: #020302;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, auto);
  gap: 30px;
  align-items: start;
}

.footer img {
  width: 190px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.42));
}

.footer-links {
  display: grid;
  gap: 8px;
}

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

.subfooter {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 13px;
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: 78px;
    right: 18px;
    left: 18px;
    display: none;
    grid-template-columns: 1fr;
    padding: 16px;
    background: rgba(7, 11, 8, 0.96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: grid;
  }

  .nav-menu a {
    width: 100%;
  }

  .hero {
    min-height: 680px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 34px;
  }

  .grid.three,
  .grid.four,
  .contact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .brand img {
    width: 148px;
  }

  .brand-wordmark {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(3, 5, 4, 0.86) 0%, rgba(3, 5, 4, 0.7) 42%, rgba(3, 5, 4, 0.94) 100%),
      linear-gradient(90deg, rgba(3, 5, 4, 0.64), rgba(3, 5, 4, 0.34));
  }

  .hero-content {
    padding: 76px 0 56px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.05;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 17px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .trust-ribbon,
  .grid.two,
  .grid.three,
  .grid.four,
  .media-grid,
  .before-after,
  .contact-strip,
  .cta-band.split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-ribbon span {
    min-height: 58px;
  }

  .section {
    padding: 68px 0;
  }

  .section.tight {
    padding: 50px 0;
  }

  .media-tile,
  .compare-card {
    min-height: 360px;
  }

  .gallery-card,
  .gallery-card.wide,
  .gallery-card.tall {
    grid-column: span 12;
    min-height: 360px;
  }

  .cta-band {
    padding: 28px 20px;
  }

  .page-hero {
    padding: 64px 0 50px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 27px;
  }

  .service-card,
  .value-card,
  .payment-card,
  .quick-card,
  .contact-card {
    padding: 20px;
  }
}
