:root {
  --green-900: #173d2f;
  --green-700: #236a4b;
  --green-100: #e9f6ed;
  --orange-600: #f28b25;
  --orange-100: #fff1df;
  --ink: #17211b;
  --muted: #637068;
  --line: #dce7df;
  --paper: #fbfdf9;
  --white: #ffffff;
  --shadow: 0 16px 36px rgba(28, 64, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(251, 253, 249, 0.92);
  border-bottom: 1px solid rgba(220, 231, 223, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-900);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-700), #3c8e51);
  border-radius: 8px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 8px;
}

.nav-links a:hover {
  color: var(--green-900);
  background: var(--green-100);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 6vw, 80px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(17, 49, 36, 0.86), rgba(17, 49, 36, 0.48), rgba(17, 49, 36, 0.12)),
    url("assets/hero-grocery-aisle.jpg") center / cover;
}

.hero-content {
  width: min(720px, 100%);
}

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

.hero .eyebrow {
  color: #ffd39a;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 20px;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.2vw, 24px);
}

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

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

.btn.primary {
  color: var(--green-900);
  background: var(--orange-600);
}

.btn.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 6vw, 80px);
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.deal-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.deal-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.deal-body {
  padding: 22px;
}

.deal-body p {
  min-height: 52px;
  margin: 10px 0 16px;
  color: var(--muted);
}

.deal-body strong {
  color: var(--orange-600);
  font-size: 18px;
}

.deal-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.categories {
  background: var(--white);
}

.category-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: stretch;
}

.category-list {
  display: grid;
  gap: 12px;
}

.category-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 6px 16px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.category-item span {
  grid-row: span 2;
  color: var(--orange-600);
  font-size: 24px;
  font-weight: 900;
}

.category-item strong {
  color: var(--green-900);
  font-size: 18px;
}

.category-item p {
  margin: 0;
  color: var(--muted);
}

.category-image {
  width: 100%;
  min-height: 420px;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.features {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  background: var(--green-100);
}

.feature-photo {
  min-height: 430px;
  border-radius: 8px;
  background: url("assets/vegetable-aisle.png") center / cover;
  box-shadow: var(--shadow);
}

.feature-content {
  max-width: 650px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feature-list article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(35, 106, 75, 0.16);
  border-radius: 8px;
}

.feature-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.contact-item {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-600);
  font-size: 14px;
  font-weight: 800;
}

.contact-item strong {
  color: var(--green-900);
  font-size: 20px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 6vw, 80px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--green-900);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 660px;
    padding-top: 72px;
    background-position: center;
  }

  .deal-grid,
  .category-layout,
  .features,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .category-image,
  .feature-photo {
    min-height: 300px;
  }

  .deal-body p {
    min-height: auto;
  }
}

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

  .brand {
    font-size: 16px;
  }

  .nav-links a {
    padding: 6px 8px;
    font-size: 14px;
  }

  .hero {
    min-height: 620px;
    padding: 54px 18px;
  }

  h1 {
    font-size: 44px;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 48px 18px;
  }

  .category-item {
    grid-template-columns: 42px 1fr;
    padding: 16px;
  }

  .category-item span {
    font-size: 20px;
  }
}
