:root {
  color-scheme: light;
  --ink: #182028;
  --muted: #5e6872;
  --line: #dfe4e8;
  --paper: #ffffff;
  --soft: #f4f6f3;
  --coal: #263238;
  --sand: #c99954;
  --sand-dark: #8f6632;
  --steel: #426173;
  --green: #3f6f5c;
  --focus: #0b6bcb;
  --shadow: 0 18px 45px rgba(24, 32, 40, 0.14);
  --radius: 8px;
  --container: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 10px max(20px, calc((100% - 1120px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 228, 232, 0.86);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 48px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--coal);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
  color: #2d3943;
  font-size: 15px;
}

.site-nav a {
  padding: 10px 0;
}

.site-nav a:hover {
  color: var(--sand-dark);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--coal);
}

.hero {
  position: relative;
  min-height: 76svh;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
}

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

.hero-media {
  background:
    image-set(
      url("assets/hero-sand-gravel-yard.webp") type("image/webp"),
      url("assets/hero-sand-gravel-yard.png") type("image/png")
    ) center / cover no-repeat;
  transform: scale(1.01);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 16, 21, 0.82) 0%, rgba(10, 16, 21, 0.66) 42%, rgba(10, 16, 21, 0.22) 100%),
    linear-gradient(0deg, rgba(10, 16, 21, 0.48), rgba(10, 16, 21, 0.05) 44%);
}

.hero-content {
  padding: 76px 0 46px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--sand);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 5rem, 64px);
  line-height: 1.12;
  font-weight: 800;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
}

.btn-primary {
  color: #111820;
  background: var(--sand);
}

.btn-primary:hover {
  background: #d7a960;
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  color: var(--coal);
  border-color: var(--line);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--steel);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(820px, 100%);
  margin: 48px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.trust-strip div {
  min-height: 94px;
  padding: 18px;
  background: rgba(14, 22, 29, 0.54);
}

.trust-strip dt {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.trust-strip dd {
  margin: 5px 0 0;
  color: #fff;
  font-weight: 800;
}

.section {
  padding: 78px 0;
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.section h2,
.contact-section h2 {
  margin: 0;
  color: var(--coal);
  font-size: clamp(28px, 3rem, 42px);
  line-height: 1.18;
}

.section-heading p:not(.section-kicker),
.intro-grid p,
.contact-layout p {
  color: var(--muted);
}

.section-intro {
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1.15fr);
  gap: 42px;
  align-items: start;
}

.intro-grid p {
  margin: 0;
  font-size: 17px;
}

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

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

.product-card,
.case-item,
.proof-list article,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.product-card {
  min-height: 500px;
  padding: 18px;
}

.product-photo {
  display: block;
  height: 176px;
  overflow: hidden;
  border: 1px solid rgba(24, 32, 40, 0.08);
  border-radius: 6px;
  background: #eef1f2;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-swatch {
  height: 152px;
  border-radius: 6px;
  border: 1px solid rgba(24, 32, 40, 0.08);
  background-size: 130px 130px, 100% 100%;
}

.swatch-sand {
  background:
    radial-gradient(circle at 18px 22px, rgba(255, 255, 255, 0.28) 0 2px, transparent 3px),
    linear-gradient(135deg, #d5b06d, #ae7c3c 45%, #e1c57f);
}

.swatch-gravel {
  background:
    radial-gradient(circle at 18px 18px, #b7bec3 0 10px, transparent 11px),
    radial-gradient(circle at 78px 34px, #69747c 0 14px, transparent 15px),
    radial-gradient(circle at 42px 82px, #929da5 0 18px, transparent 19px),
    linear-gradient(135deg, #c8ced1, #69747c);
}

.swatch-mix {
  background:
    radial-gradient(circle at 26px 22px, rgba(255, 255, 255, 0.3) 0 2px, transparent 3px),
    radial-gradient(circle at 70px 68px, rgba(38, 50, 56, 0.34) 0 8px, transparent 9px),
    linear-gradient(135deg, #b9b19e, #6f7775 55%, #9d8b67);
}

.product-card h3,
.case-item h3,
.proof-list h3 {
  margin: 18px 0 8px;
  color: var(--coal);
  font-size: 22px;
  line-height: 1.25;
}

.product-card p,
.case-item p,
.proof-list p {
  color: var(--muted);
}

.product-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: #38444d;
}

.product-card li + li {
  margin-top: 6px;
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(24, 32, 40, 0.06);
}

.price-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 16px;
}

.price-table th,
.price-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.price-table th {
  color: #fff;
  background: var(--coal);
  font-weight: 900;
}

.price-table tbody tr:nth-child(even) {
  background: #f8faf8;
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table td:last-child {
  color: var(--sand-dark);
  font-weight: 900;
  white-space: nowrap;
}

.strength-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 36px;
  align-items: start;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list article {
  position: relative;
  padding: 20px 20px 20px 76px;
}

.proof-list span {
  position: absolute;
  top: 22px;
  left: 20px;
  color: var(--sand-dark);
  font-weight: 900;
}

.proof-list h3 {
  margin-top: 0;
}

.case-item {
  min-height: 230px;
  padding: 22px;
}
.case-type {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 0 0 0 10px;
  color: #8a5a16;
  background: transparent;
  border-left: 3px solid #c8872d;
  border-radius: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}
/* .case-type {
  display: inline-flex;
  margin: 0;
  padding: 4px 9px;
  color: #fff;
  background: var(--steel);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
} */
/* .case-type {
  display: inline-flex;
  margin: 0;
  padding: 4px 9px;
  color: #fff;
  background: var(--steel);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
} */

.section-process {
  background: var(--coal);
  color: #fff;
}

.section-process h2 {
  color: #fff;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-list li {
  min-height: 160px;
  padding: 22px;
  background: #314047;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  font-size: 20px;
}

.process-list span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  padding: 76px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(24, 32, 40, 0.95), rgba(63, 111, 92, 0.9)),
    var(--coal);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 420px);
  gap: 34px;
  align-items: center;
}

.contact-section h2,
.contact-layout p {
  color: #fff;
}

.contact-panel {
  padding: 24px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.phone-big {
  display: inline-block;
  color: var(--coal);
  font-size: clamp(30px, 3rem, 42px);
  font-weight: 900;
  line-height: 1.15;
}

.contact-panel p {
  color: var(--muted);
}

.copy-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  padding: 24px 0 86px;
  color: #d6dde1;
  background: #151d22;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.footer-layout p {
  margin: 0;
}

.footer-layout a {
  color: inherit;
  text-decoration: none;
}

.footer-layout a:hover {
  text-decoration: underline;
}

.float-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 48px;
  padding: 0 18px;
  color: #111820;
  background: var(--sand);
  border-radius: 6px;
  box-shadow: var(--shadow);
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(24, 32, 40, 0.12);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .header-phone {
    display: none;
  }

  .hero {
    min-height: 72svh;
  }

  .trust-strip,
  .product-grid,
  .case-grid,
  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .intro-grid,
  .strength-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 68px;
    padding: 9px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    max-width: 178px;
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 78px 0 38px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-strip,
  .product-grid,
  .case-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .section,
  .contact-section {
    padding: 56px 0;
  }

  .section h2,
  .contact-section h2 {
    font-size: 30px;
  }

  .product-card {
    min-height: 0;
  }

  .material-swatch,
  .product-photo {
    height: 132px;
  }

  .process-list li {
    min-height: 132px;
  }

  .footer-layout {
    display: grid;
  }
}
