:root {
  --green: #2f7a33;
  --green-dark: #18572b;
  --navy: #10294a;
  --blue: #2f6f9f;
  --yellow: #f4d642;
  --ink: #182235;
  --muted: #657184;
  --line: #dfe6ee;
  --paper: #fbfaf5;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(22, 40, 62, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(18px, 4vw, 52px);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(246, 252, 239, 0.96) 52%, rgba(255, 249, 218, 0.92)),
    repeating-linear-gradient(135deg, rgba(47, 122, 51, 0.055) 0 1px, transparent 1px 18px);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(16, 41, 74, 0.08);
}

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

.brand-mark {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(237, 248, 229, 0.96)),
    radial-gradient(circle at 70% 24%, rgba(244, 214, 66, 0.46), transparent 28%);
  border: 1px solid rgba(47, 122, 51, 0.22);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(47, 122, 51, 0.15);
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  border-radius: 999px 999px 999px 0;
  transform: rotate(-35deg);
}

.brand-mark::before {
  right: 7px;
  bottom: 12px;
  width: 16px;
  height: 10px;
  background: #75a843;
}

.brand-mark::after {
  left: 7px;
  bottom: 13px;
  width: 15px;
  height: 9px;
  background: #4a9638;
  transform: rotate(215deg);
}

.tree-crown {
  position: absolute;
  left: 15px;
  top: 8px;
  width: 19px;
  height: 28px;
  background: linear-gradient(180deg, #5ca846, var(--green));
  border-radius: 999px 999px 999px 0;
  transform: rotate(45deg);
}

.tree-crown::before,
.tree-crown::after {
  position: absolute;
  content: "";
  background: inherit;
  border-radius: 999px 999px 999px 0;
}

.tree-crown::before {
  width: 15px;
  height: 22px;
  left: -10px;
  top: 8px;
  transform: rotate(-25deg);
}

.tree-crown::after {
  width: 15px;
  height: 22px;
  right: -8px;
  top: 10px;
  transform: rotate(25deg);
}

.tree-trunk {
  position: absolute;
  left: 23px;
  bottom: 9px;
  width: 4px;
  height: 16px;
  background: #9a6a38;
  border-radius: 99px;
}

.brand-copy {
  display: block;
}

.brand small,
.header-phone small,
.eyebrow {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1.1;
}

.brand em {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 9px;
  color: var(--green-dark);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
  background: rgba(244, 214, 66, 0.28);
  border: 1px solid rgba(47, 122, 51, 0.16);
  border-radius: 999px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy);
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

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

.header-phone {
  position: relative;
  text-align: right;
  color: var(--navy);
  padding: 8px 12px 8px 46px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(47, 122, 51, 0.14);
  border-radius: 8px;
}

.header-phone::before {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  content: "";
  border: 3px solid var(--green);
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: translateY(-50%) rotate(-35deg);
}

.header-phone::after {
  position: absolute;
  left: 26px;
  top: 21px;
  width: 9px;
  height: 3px;
  content: "";
  background: var(--green);
  border-radius: 999px;
  transform: rotate(35deg);
}

.header-phone span {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(26px, 4vw, 58px);
  padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 72px) 34px;
  min-height: 84vh;
  background:
    linear-gradient(90deg, rgba(251, 250, 245, 0.98), rgba(251, 250, 245, 0.78)),
    radial-gradient(circle at 82% 20%, rgba(244, 214, 66, 0.18), transparent 30%),
    linear-gradient(180deg, #ffffff, var(--paper));
}

.hero h1 {
  max-width: 760px;
  margin: 10px 0 18px;
  color: var(--navy);
  font-size: clamp(2.15rem, 5vw, 4.6rem);
  line-height: 1.12;
}

.hero p {
  max-width: 680px;
  margin: 0;
  font-size: 1.06rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 800;
}

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

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-image {
  margin: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  transform: translateY(-16px);
}

.quick-info div {
  padding: 18px 22px;
  background: var(--white);
}

.quick-info span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.quick-info strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}

.section {
  padding: clamp(50px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.section h2 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1.25;
}

.section h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.35;
}

.section p {
  margin: 0;
}

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

.service-panel {
  min-height: 320px;
  padding: clamp(24px, 4vw, 42px);
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(16, 41, 74, 0.88), rgba(16, 41, 74, 0.42)),
    url("assets/mori-hero.png") center / cover;
}

.service-panel.gravel {
  background:
    linear-gradient(90deg, rgba(24, 87, 43, 0.9), rgba(24, 87, 43, 0.42)),
    url("assets/mori-hero.png") center / cover;
}

.service-panel h3 {
  max-width: 540px;
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.service-panel p {
  max-width: 470px;
}

.service-panel a {
  display: inline-flex;
  margin-top: 24px;
  padding: 10px 18px;
  color: var(--navy);
  font-weight: 800;
  background: var(--white);
  border-radius: 6px;
}

.panel-label {
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 800;
  color: var(--yellow);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  background: var(--white);
}

#gravel.split {
  grid-template-columns: 1fr;
  align-items: start;
}

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

.material-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 128px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.material-card img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f5f1e9;
}

.material-card h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 1.08rem;
}

.material-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.material-card span {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 8px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  background: #eef6ec;
  border-radius: 4px;
}

.price-section {
  background: #eef4f8;
}

.advice-grid,
.price-notes,
.price-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.advice-grid article,
.price-notes article,
.price-summary article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-notes strong,
.price-summary span {
  display: block;
  color: var(--navy);
  font-weight: 800;
}

.price-notes p,
.price-summary p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-summary article {
  border-left: 5px solid var(--green);
}

.price-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--green-dark);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.25;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(22, 40, 62, 0.08);
}

.table-wrap + .table-wrap {
  margin-top: 22px;
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.pickup-table table {
  min-width: 1080px;
}

caption {
  padding: 16px 18px;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 800;
  text-align: left;
}

th,
td {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  text-align: right;
  vertical-align: top;
  white-space: nowrap;
}

th {
  color: var(--white);
  background: var(--navy);
}

thead th:first-child,
tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  min-width: 150px;
  box-shadow: 1px 0 0 var(--line);
}

tbody th {
  color: var(--navy);
  background: #e5e7e8;
}

th small {
  display: block;
  color: inherit;
  font-size: 0.8rem;
  line-height: 1.35;
}

tr:nth-child(even) td {
  background: #f8fbfd;
}

.price-footnote {
  max-width: 1120px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.demolition-detail {
  background: var(--paper);
}

.free-estimate {
  padding: clamp(24px, 5vw, 44px);
  color: var(--navy);
  background: var(--yellow);
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
}

.free-estimate span {
  font-weight: 800;
}

.free-estimate strong {
  display: block;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  min-height: 180px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--white);
  font-weight: 800;
  background: var(--blue);
  border-radius: 50%;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  color: var(--navy);
  margin-bottom: 8px;
}

.steps span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 28px;
  padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 41, 74, 0.94), rgba(47, 122, 51, 0.82)),
    url("assets/mori-hero.png") center / cover;
}

.contact .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.contact h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.3;
}

.contact p {
  margin: 0;
}

.contact-box {
  padding: 26px;
  color: var(--navy);
  background: var(--white);
  border-radius: 8px;
}

.phone-large {
  display: block;
  color: var(--green-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
}

address {
  margin-top: 12px;
  font-style: normal;
}

.footer {
  padding: 22px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--navy);
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-image img {
    max-height: none;
  }

  .quick-info,
  .service-grid,
  .advice-grid,
  .price-notes,
  .price-summary,
  .steps {
    grid-template-columns: 1fr;
  }
}

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

  .brand {
    gap: 10px;
    min-width: auto;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand strong {
    font-size: 1.35rem;
  }

  .brand em {
    font-size: 0.68rem;
  }

  .header-phone {
    width: 100%;
    text-align: left;
  }

  .hero {
    padding: 30px 16px;
  }

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

  .quick-info,
  .section,
  .contact {
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .quick-info {
    transform: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .material-list {
    grid-template-columns: 1fr;
  }

  .service-panel {
    min-height: 260px;
  }
}
