:root {
  --bg: #fbf7ee;
  --surface: #ffffff;
  --surface-warm: #f4ead9;
  --ink: #273029;
  --muted: #667166;
  --line: #e3d7c5;
  --green: #2f6b43;
  --green-deep: #1e4c31;
  --brown: #8a5a2f;
  --gold: #bd8b41;
  --shadow: 0 18px 44px rgba(39, 48, 41, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 238, 0.94);
  border-bottom: 1px solid rgba(138, 90, 47, 0.18);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--green), var(--brown));
  box-shadow: 0 8px 18px rgba(47, 107, 67, 0.22);
}

.brand-name {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  min-width: 44px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green-deep);
  background: var(--surface);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 14px;
  border-radius: var(--radius);
  color: #364238;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-deep);
  background: #e9f0e6;
}

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

.hero {
  min-height: calc(78vh - 72px);
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 32, 26, 0.82), rgba(24, 32, 26, 0.46) 48%, rgba(24, 32, 26, 0.18)),
    linear-gradient(0deg, rgba(24, 32, 26, 0.28), rgba(24, 32, 26, 0.08));
}

.hero-inner,
.section-inner,
.page-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-copy {
  width: min(760px, 100%);
  padding: 84px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  color: #fff7e7;
  background: rgba(255, 255, 255, 0.12);
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 0 0 30px;
  color: #f7ecd8;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.65;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

.btn-primary {
  color: #fff;
  background: var(--green);
}

.btn-secondary {
  color: var(--green-deep);
  background: #fff8ea;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
  color: var(--green-deep);
  background: transparent;
  border-color: var(--green);
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: #f0e5d2;
}

.section-head {
  width: min(760px, 100%);
  margin-bottom: 30px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--brown);
  font-size: 14px;
  font-weight: 900;
}

.section h2,
.section-title {
  margin: 0 0 12px;
  color: var(--green-deep);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

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

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

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

.product-card,
.info-card,
.contact-card,
.step-card,
.photo-card {
  overflow: hidden;
  border: 1px solid rgba(138, 90, 47, 0.16);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(39, 48, 41, 0.08);
}

.product-card img,
.photo-card img,
.step-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.product-card.tall img {
  height: 360px;
}

.card-body {
  padding: 22px;
}

.card-body h3,
.info-card h3,
.contact-card h3,
.step-card h3 {
  margin: 0 0 8px;
  color: var(--green-deep);
  font-size: 21px;
  line-height: 1.3;
}

.card-body p,
.info-card p,
.contact-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 5px 9px;
  border-radius: var(--radius);
  color: var(--green-deep);
  background: #edf3e7;
  font-size: 13px;
  font-weight: 800;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.feature-item {
  min-height: 132px;
  padding: 22px;
  background: #fffaf1;
}

.feature-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 20px;
}

.feature-item span {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 34px;
  align-items: center;
}

.split-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

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

.check-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  color: #3b443c;
  background: #fff8ea;
  font-weight: 700;
}

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.page-hero p {
  width: min(720px, 100%);
  margin: 0;
  color: #f7ecd8;
  font-size: 18px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(39, 48, 41, 0.08);
}

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

.spec-table th {
  width: 180px;
  color: var(--green-deep);
  background: #f6eee0;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

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

.step-card {
  position: relative;
}

.step-card .card-body {
  padding-top: 28px;
}

.step-card h3::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: start;
}

.contact-card {
  padding: 26px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.contact-list a,
.contact-list div {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: var(--green-deep);
  background: #f6eee0;
  font-weight: 800;
}

.map-panel {
  min-height: 430px;
  padding: 34px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(30, 76, 49, 0.95), rgba(138, 90, 47, 0.86)),
    url("../images/drying-yard.jpg") center / cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
}

.map-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.map-panel p {
  margin: 0;
  color: #fff3df;
  font-size: 18px;
}

.cta-band {
  padding: 44px 0;
  color: #fff;
  background: var(--green-deep);
}

.cta-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-content h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
}

.cta-content p {
  margin: 0;
  color: #dce9d8;
}

.site-footer {
  padding: 42px 0 86px;
  color: #dbe4d8;
  background: #17231b;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 26px;
}

.footer-inner h2,
.footer-inner h3 {
  margin: 0 0 12px;
  color: #fff;
}

.footer-inner p {
  margin: 0 0 8px;
  color: #c3cec0;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  gap: 8px;
}

.floating-contact a {
  min-height: 44px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brown);
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(39, 48, 41, 0.18);
}

.floating-contact a:first-child {
  background: var(--green);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 12px;
  }

  .header-call {
    display: none;
  }

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

  .grid-3,
  .grid-2,
  .split,
  .contact-layout,
  .footer-inner,
  .cta-content {
    grid-template-columns: 1fr;
  }

  .cta-content {
    display: grid;
  }

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

  .split-media img {
    height: 420px;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .hero-inner,
  .section-inner,
  .page-hero-inner,
  .cta-content,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    min-height: calc(76vh - 72px);
  }

  .hero-copy {
    padding: 58px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .section {
    padding: 52px 0;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .timeline,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .product-card img,
  .photo-card img,
  .step-card img,
  .product-card.tall img,
  .split-media img {
    height: 310px;
  }

  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table th {
    border-bottom: 0;
  }

  .floating-contact {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .floating-contact a {
    flex: 1;
    padding: 0 10px;
  }
}
