:root {
  --ink: #18201e;
  --muted: #62706c;
  --line: #dfe8e4;
  --surface: #ffffff;
  --soft: #f3f8f6;
  --brand: #117864;
  --brand-dark: #0d5f50;
  --accent: #e68a2e;
  --accent-soft: #fff1df;
  --shadow: 0 18px 48px rgba(24, 32, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fbfa;
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(223, 232, 228, 0.86);
  background: rgba(248, 251, 250, 0.92);
  backdrop-filter: blur(18px);
}

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

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

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: #3c4a46;
  font-size: 14px;
}

.top-nav a {
  padding: 8px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 1.06fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(34px, 6vw, 80px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.58)),
    url("./assets/products/mop-spin-bucket.png") center right / cover no-repeat;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-text {
  max-width: 540px;
  margin-bottom: 28px;
  color: #45534f;
  font-size: clamp(16px, 2vw, 20px);
}

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

.primary-btn,
.secondary-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 800;
}

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

.secondary-btn {
  border: 1px solid var(--line);
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.82);
}

.hero-visual {
  justify-self: center;
  width: min(440px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.section-block {
  padding: clamp(44px, 7vw, 88px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto 26px;
}

.hot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.hot-card,
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(24, 32, 30, 0.07);
}

.hot-card {
  position: relative;
  min-height: 430px;
}

.hot-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  background: var(--soft);
}

.hot-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  padding: 7px 12px;
  color: #fff;
  background: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.hot-content,
.product-content {
  padding: 18px;
}

.hot-content h3,
.product-content h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.hot-content p,
.product-content p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--brand-dark);
  background: var(--soft);
  font-size: 12px;
  font-weight: 700;
}

.products-section {
  background: #fff;
}

.product-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--soft);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.contact-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 1fr);
  gap: 24px;
  padding: clamp(38px, 6vw, 70px) clamp(18px, 4vw, 56px);
  color: #fff;
  background: #152320;
}

.contact-footer .eyebrow {
  color: #86decf;
}

.contact-list {
  display: grid;
  gap: 12px;
  align-self: center;
  color: #d8e7e3;
  font-style: normal;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.7)),
      url("./assets/products/mop-spin-bucket.png") center / cover no-repeat;
  }

  .hero-visual {
    justify-self: start;
    max-width: 390px;
  }

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

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

@media (max-width: 560px) {
  .top-nav {
    gap: 10px;
    font-size: 13px;
  }

  .hero-actions a {
    width: 100%;
  }

  .hot-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .product-toolbar {
    display: block;
  }

  .product-toolbar span {
    display: block;
    margin-top: 6px;
  }
}
