:root {
  color-scheme: light;
  --green-900: #153f2a;
  --green-800: #245836;
  --green-700: #2f7a45;
  --green-500: #67a85c;
  --green-100: #edf7ed;
  --green-50: #f7fbf5;
  --blue-700: #15518f;
  --ink: #26362d;
  --muted: #69756d;
  --line: #dfe9dd;
  --paper: #ffffff;
  --soft: #f6faf4;
  --amber: #b46f32;
  --whatsapp: #25d366;
  --shadow: 0 22px 60px rgba(31, 77, 48, 0.12);
  font-family:
    "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(24px, 5vw, 78px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(223, 233, 221, 0.7);
  backdrop-filter: blur(18px);
  transition:
    box-shadow 0.25s ease,
    padding 0.25s ease;
}

.site-header.scrolled {
  padding-block: 12px;
  box-shadow: 0 10px 34px rgba(31, 77, 48, 0.1);
}

.brand {
  display: grid;
  gap: 1px;
  min-width: 190px;
}

.brand-name,
.footer-logo {
  color: var(--blue-700);
  font-size: 32px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0;
}

.brand-name strong,
.footer-logo strong {
  color: #4da43f;
}

.brand-subtitle {
  color: var(--green-900);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

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

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-cta {
  padding: 10px 20px;
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 12px 28px rgba(47, 122, 69, 0.2);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: clamp(26px, 5vw, 72px);
  padding: 128px clamp(24px, 6vw, 92px) 70px;
  background:
    radial-gradient(circle at 76% 32%, rgba(105, 168, 92, 0.22), transparent 36%),
    linear-gradient(110deg, #ffffff 0%, #fbfdf9 55%, #eef8ec 100%);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
}

.hero-actions {
  justify-content: center;
}

.feature-row {
  justify-content: center;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--green-800);
  font-size: clamp(46px, 7vw, 86px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--green-800);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  color: var(--green-800);
  font-size: 25px;
  line-height: 1.22;
}

.hero-lead {
  max-width: 570px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
}

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

.button {
  padding: 12px 24px;
  border: 1px solid transparent;
}

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

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-800);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(84px, 1fr));
  gap: 12px;
  max-width: 560px;
  margin-top: 54px;
}

.feature-row article {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 800;
}

.feature-row p {
  margin: 0;
}

.feature-icon {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid #c7dac4;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
}

.feature-icon::before {
  color: var(--green-700);
  font-size: 24px;
}

.feature-icon.leaf::before {
  content: "葉";
}

.feature-icon.truck::before {
  content: "車";
}

.feature-icon.shield::before {
  content: "盾";
}

.feature-icon.headset::before {
  content: "詢";
}

.section-block {
  padding: 92px clamp(24px, 6vw, 92px);
}

.about {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  background: linear-gradient(90deg, #f9fcf7, #ffffff);
}

.about-image {
  overflow: hidden;
  min-height: 390px;
  border-radius: 0 34px 34px 0;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
}

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

.about-copy p:not(.section-kicker),
.contact p,
.section-heading p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
}

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

.categories {
  background:
    radial-gradient(circle at left 80%, rgba(93, 160, 78, 0.12), transparent 24%),
    radial-gradient(circle at right 85%, rgba(180, 111, 50, 0.09), transparent 22%),
    #fff;
}

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

.category-card {
  overflow: hidden;
  border: 1px solid #cfe2cb;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fcf5, #ffffff);
  box-shadow: 0 16px 42px rgba(31, 77, 48, 0.09);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(31, 77, 48, 0.14);
}

.category-card.blue {
  border-color: #cbddea;
  background: linear-gradient(180deg, #f5faff, #ffffff);
}

.category-card.amber {
  border-color: #eadbc8;
  background: linear-gradient(180deg, #fff9f1, #ffffff);
}

.category-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  margin: 18px 18px 0;
  border-radius: 12px;
  background: #eef7eb;
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(0.99);
}

.category-card.blue .category-media img,
.category-card.amber .category-media img {
  object-position: center;
}

.category-body {
  padding: 22px 24px 28px;
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 900;
}

.category-card.blue .category-icon {
  background: #e8f2fb;
  color: var(--blue-700);
}

.category-card.amber .category-icon {
  background: #fff1df;
  color: var(--amber);
}

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

.sales {
  min-height: 230px;
  display: grid;
  place-items: center;
  padding: 60px 24px;
  text-align: center;
  background:
    linear-gradient(rgba(18, 61, 37, 0.7), rgba(18, 61, 37, 0.84)),
    url("hopfresh-warehouse.jpg")
      center / cover;
}

.sales .section-kicker,
.sales h2,
.sales p {
  color: #fff;
}

.sales p {
  max-width: 650px;
  margin: 0 auto;
  opacity: 0.82;
}

.sales-cards {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  background: var(--soft);
}

.sales-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sales-person {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(31, 77, 48, 0.08);
}

.sales-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.avatar {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  background: #eef1ff;
}

.avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.wa-dot {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
}

.wa-dot img {
  width: 24px;
  height: 24px;
  display: block;
}

.sales-person small {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sales-person h3 {
  margin-bottom: 0;
  font-size: 22px;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f7f5ed;
  color: var(--green-800);
  font-weight: 900;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef9f1;
  color: var(--green-800);
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: #fff;
}

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

.contact-list a,
.contact-list p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--green-50);
}

.contact-list span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-list strong {
  color: var(--green-800);
  font-size: 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 36px clamp(24px, 6vw, 92px);
  background: linear-gradient(180deg, #183d2a, #10291e);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer p {
  margin: 0;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 28px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-grid;
    justify-self: end;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--green-800);
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  body.nav-open .site-nav {
    position: fixed;
    inset: 78px 16px auto;
    display: grid;
    justify-content: stretch;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav a {
    padding: 12px;
  }

  .hero,
  .about,
  .sales-cards,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .category-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
}

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

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

  .hero {
    padding: 112px 18px 52px;
  }

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

  .feature-row,
  .sales-card-list {
    grid-template-columns: 1fr 1fr;
  }

  .section-block {
    padding: 68px 18px;
  }

  .about-image,
  .about-image img {
    min-height: 300px;
    border-radius: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
