* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: #f6f2ea;
  color: #2b211a;
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.hs-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* 导航 */
.hs-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #faf7f2;
  border-bottom: 1px solid rgba(143, 98, 57, 0.14);
}
.hs-nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.hs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.hs-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2b211a;
  color: #f6f2ea;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hs-brand strong { display: block; font-size: 16.5px; color: #2b211a; line-height: 1.15; }
.hs-brand small { display: block; font-size: 9.5px; color: #8c7a6b; letter-spacing: 0.08em; }

.hs-links { display: flex; align-items: center; gap: 26px; }
.hs-links .nav-item { position: relative; display: inline-flex; align-items: center; }
.hs-links a,
.hs-links .nav-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 2px;
  font-size: 14px;
  font-weight: 500;
  color: #5c4b3d;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s;
}
.hs-links a:hover,
.hs-links a.active,
.hs-links .nav-item > a:hover,
.hs-links .nav-item > a.active,
.hs-links .nav-item.active > a {
  color: #8f6239;
  font-weight: 700;
}
.hs-links a.active::after,
.hs-links .nav-item > a.active::after,
.hs-links .nav-item.active > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2.5px;
  background: #8f6239;
  border-radius: 2px;
}
.hs-links .nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 150px;
  padding: 8px 0;
  background: #faf7f2;
  border: 1px solid rgba(143, 98, 57, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(43, 33, 26, 0.12);
  z-index: 80;
}
.hs-links .nav-item:hover > .nav-dropdown { display: block; }
.hs-links .nav-dropdown a { display: block; padding: 8px 16px; font-size: 13px; }
.hs-links .nav-dropdown a.active::after { display: none; }

.hs-nav-right { display: inline-flex; align-items: center; gap: 16px; flex-shrink: 0; }
.hs-tel { font-size: 13.5px; font-weight: 700; color: #2b211a; text-decoration: none; }
.hs-cta {
  padding: 8px 16px;
  border-radius: 6px;
  background: #2b211a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.hs-cta:hover { background: #8f6239; }

.mob-nav-chk { display: none; }
.mob-nav-burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 6px;
  margin-left: auto;
}
.mob-nav-burger span { display: block; width: 20px; height: 2px; background: #2b211a; border-radius: 2px; }

@media (max-width: 1024px) {
  .hs-links { gap: 14px; }
  .hs-tel { display: none; }
}
@media (max-width: 768px) {
  .hs-nav-right { display: none; }
  .mob-nav-burger { display: inline-flex; }
  .hs-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: #faf7f2;
    border-top: 1px solid rgba(143, 98, 57, 0.16);
    box-shadow: 0 16px 32px rgba(43, 33, 26, 0.12);
    z-index: 90;
  }
  .mob-nav-chk:checked ~ .hs-links { display: flex; }
  .hs-links .nav-item { display: block; width: 100%; }
  .hs-links a,
  .hs-links .nav-item > a { display: block; width: 100%; padding: 12px 4px; border-bottom: 1px solid rgba(143, 98, 57, 0.1); font-size: 15px; }
  .hs-links a.active::after,
  .hs-links .nav-item > a.active::after,
  .hs-links .nav-item.active > a::after { display: none; }
  .hs-links .nav-dropdown { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 14px; }
}

/* 居中 Hero */
.hs-hero {
  background: #f6f2ea;
  padding: 56px 0 0;
  text-align: center;
}
.hs-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: #ede5d8;
  color: #7c5430;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hs-hero h1 {
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.24;
  font-weight: 800;
  color: #2b211a;
}
.hs-hero h1 span { color: #8f6239; }
.hs-hero-sub {
  max-width: 560px;
  margin: 0 auto 26px;
  font-size: 14px;
  line-height: 1.75;
  color: #6b5a4d;
}
.hs-hero-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}
.hs-btn-brown {
  padding: 10px 22px;
  border-radius: 6px;
  background: #8f6239;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}
.hs-btn-brown:hover { background: #764f2c; }
.hs-btn-white {
  padding: 10px 22px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d9cebe;
  color: #2b211a;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.hs-hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
  text-align: left;
}
.hs-hcard {
  background: #ffffff;
  border: 1px solid #e6ddd0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(43, 33, 26, 0.05);
}
.hs-hcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hs-hcard-cap {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #2b211a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hs-hcard-cap span { font-size: 11px; color: #8f6239; font-weight: 800; }

.hs-cert-bar {
  background: #2b211a;
  color: rgba(246, 242, 234, 0.86);
  padding: 16px 0;
}
.hs-cert-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .hs-hero h1 { font-size: 30px; }
  .hs-hero-cards { grid-template-columns: 1fr; }
}

/* 通用区块头 */
.hs-sec { padding: 62px 0; }
.hs-sec-white { background: #ffffff; }
.hs-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 26px;
}
.hs-sec-title { position: relative; padding-left: 14px; }
.hs-sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: #8f6239;
  border-radius: 2px;
}
.hs-sec-title h2 { margin: 0 0 4px; font-size: 24px; font-weight: 800; color: #2b211a; }
.hs-sec-title small { display: block; font-size: 10.5px; letter-spacing: 0.14em; color: #a19081; }
.hs-sec-sub { margin: 8px 0 0; font-size: 13px; color: #6b5a4d; }
.hs-more { font-size: 12.5px; color: #8f6239; text-decoration: none; font-weight: 600; white-space: nowrap; }

/* 核心业务 2x2 图文橱窗卡片网格 */
.hs-biz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.hs-biz-card {
  background: #faf7f2;
  border: 1px solid #e7dccd;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.hs-biz-card:hover {
  transform: translateY(-4px);
  border-color: #8f6239;
  box-shadow: 0 16px 32px rgba(43, 33, 26, 0.08);
}
.hs-biz-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9e0d3;
}
.hs-biz-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.hs-biz-card:hover .hs-biz-media img { transform: scale(1.04); }
.hs-biz-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(43, 33, 26, 0.86);
  color: #f6f2ea;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hs-biz-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hs-biz-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #2b211a;
}
.hs-biz-body p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.65;
  color: #6b5a4d;
  flex: 1;
}
.hs-biz-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e3d6c5;
}
.hs-biz-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.hs-biz-tags span {
  padding: 3px 9px;
  border-radius: 4px;
  background: #efe7da;
  color: #7c5430;
  font-size: 11px;
  font-weight: 600;
}
.hs-biz-go {
  font-size: 12.5px;
  font-weight: 700;
  color: #8f6239;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .hs-biz-grid { grid-template-columns: 1fr; }
}

/* 关于禾膳食品 */
.hs-about-wrap {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}
.hs-about-rail {
  background: #3d2e24;
  color: #f6f2ea;
  border-radius: 8px;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  letter-spacing: 0.25em;
  font-weight: 700;
  padding: 18px 0;
}
.hs-about-main h3 { margin: 0 0 12px; font-size: 22px; font-weight: 800; color: #2b211a; }
.hs-about-texts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.hs-about-texts p { margin: 0; font-size: 13px; line-height: 1.75; color: #6b5a4d; }
.hs-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.hs-kpi-card {
  background: #ffffff;
  border: 1px solid #e6ddd0;
  border-radius: 8px;
  padding: 14px 16px;
}
.hs-kpi-card strong { display: block; font-size: 22px; font-weight: 800; color: #2b211a; }
.hs-kpi-card span { font-size: 11.5px; color: #8c7a6b; }
.hs-about-banner {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.hs-about-banner img { width: 100%; height: 240px; object-fit: cover; }
.hs-about-banner span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: 5px;
  background: rgba(43, 33, 26, 0.85);
  color: #ffffff;
  font-size: 12px;
}
@media (max-width: 900px) {
  .hs-about-wrap { grid-template-columns: 1fr; }
  .hs-about-rail { writing-mode: horizontal-tb; padding: 10px 16px; }
  .hs-about-texts { grid-template-columns: 1fr; }
  .hs-kpis { grid-template-columns: repeat(2, 1fr); }
}

/* 五步交付轴 */
.hs-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  padding: 18px 0;
}
.hs-step {
  background: #faf7f2;
  border: 1px solid #eadfd1;
  border-radius: 8px;
  padding: 18px 16px;
  text-align: center;
}
.hs-step:nth-child(even) { transform: translateY(16px); }
.hs-step small { display: block; font-size: 10.5px; font-weight: 700; color: #8f6239; margin-bottom: 6px; }
.hs-step strong { display: block; font-size: 15px; color: #2b211a; margin-bottom: 6px; }
.hs-step p { margin: 0; font-size: 12px; line-height: 1.55; color: #6b5a4d; }
@media (max-width: 900px) {
  .hs-steps { grid-template-columns: 1fr; }
  .hs-step:nth-child(even) { transform: none; }
}

/* 新闻动态 交错两行 */
.hs-news-rows { display: grid; gap: 18px; }
.hs-nrow {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: #ffffff;
  border: 1px solid #e6ddd0;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
}
.hs-nrow.is-rev { grid-template-columns: 1.15fr 1fr; }
.hs-nrow img { width: 100%; height: 220px; object-fit: cover; }
.hs-nrow-body { padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; }
.hs-nrow-body small { font-size: 11px; color: #8f6239; font-weight: 700; margin-bottom: 8px; }
.hs-nrow-body h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; color: #2b211a; }
.hs-nrow-body p { margin: 0 0 10px; font-size: 13px; line-height: 1.65; color: #6b5a4d; }
.hs-nrow-body span { font-size: 12px; color: #a19081; }
@media (max-width: 768px) {
  .hs-nrow, .hs-nrow.is-rev { grid-template-columns: 1fr; }
}

/* CTA + 深咖页脚 */
.hs-cta-band { padding: 0 0 36px; }
.hs-cta-box {
  background: #2b211a;
  border-radius: 10px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #ffffff;
}
.hs-cta-box h3 { margin: 0; font-size: 19px; font-weight: 700; }
.hs-cta-box-r { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hs-cta-box-r strong { font-size: 20px; font-weight: 800; }
.hs-btn-light {
  padding: 9px 20px;
  border-radius: 6px;
  background: #ffffff;
  color: #2b211a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 768px) { .hs-cta-box { flex-direction: column; align-items: flex-start; } }

.hs-footer {
  background: #221913;
  color: rgba(246, 242, 234, 0.72);
  padding: 48px 0 26px;
}
.hs-foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.hs-foot-grid h4 { margin: 0 0 14px; font-size: 14px; color: #ffffff; }
.hs-foot-grid p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.7; color: rgba(246, 242, 234, 0.62); }
.hs-foot-grid a { display: block; font-size: 12.5px; color: rgba(246, 242, 234, 0.68); text-decoration: none; margin-bottom: 8px; }
.hs-foot-grid a:hover { color: #ffffff; }
.hs-qrs { display: flex; gap: 14px; }
.hs-qr-card { text-align: center; }
.hs-qr-box {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  background: #ffffff;
  color: #2b211a;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.hs-qr-card span { font-size: 11px; color: rgba(246, 242, 234, 0.62); }
.hs-foot-links { padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: rgba(246, 242, 234, 0.55); }
.hs-foot-links a { color: rgba(246, 242, 234, 0.65); text-decoration: none; }
.hs-foot-bot { padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11.5px; color: rgba(246, 242, 234, 0.48); }
@media (max-width: 900px) { .hs-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hs-foot-grid { grid-template-columns: 1fr; } }

/* 子页面样式 */
.hs-sub-banner { background: #2b211a; color: #ffffff; padding: 44px 0; }
.hs-sub-banner h1 { margin: 0 0 8px; font-size: 30px; font-weight: 800; }
.hs-sub-banner p { margin: 0; font-size: 13.5px; color: rgba(246, 242, 234, 0.74); }
.hs-crumb { font-size: 12px; color: rgba(246, 242, 234, 0.6); margin-bottom: 10px; }
.hs-crumb a { color: rgba(246, 242, 234, 0.78); text-decoration: none; }
.hs-panel { background: #ffffff; border: 1px solid #e6ddd0; border-radius: 10px; padding: 28px 32px; }
.hs-pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hs-pcard { background: #ffffff; border: 1px solid #e6ddd0; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.hs-pcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hs-pb { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.hs-pb h3 { margin: 0 0 6px; font-size: 15.5px; color: #2b211a; }
.hs-pb p { margin: 0 0 12px; font-size: 12.5px; color: #6b5a4d; flex: 1; }
.hs-pb a { font-size: 12px; font-weight: 700; color: #8f6239; text-decoration: none; }
@media (max-width: 1024px) { .hs-pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hs-pgrid { grid-template-columns: 1fr; } }
.hs-art-list { display: grid; gap: 14px; }
.hs-art-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: #ffffff; border: 1px solid #e6ddd0; border-radius: 8px; text-decoration: none; }
.hs-art-row h3 { margin: 0 0 6px; font-size: 16px; color: #2b211a; }
.hs-art-row p { margin: 0; font-size: 13px; color: #6b5a4d; }
.hs-detail-body { font-size: 15px; line-height: 1.85; color: #3a2e25; }

/* cms-lang-slot */
.cms-lang-slot {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 8px;
}
.cms-lang-slot:empty { display: none; }
.cms-lang-slot .lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(6px);
}
.cms-lang-slot .lang-btn {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  color: inherit;
  opacity: 0.8;
  transition: all 0.16s ease;
  white-space: nowrap;
}
.cms-lang-slot .lang-btn:hover { opacity: 1; }
.cms-lang-slot .lang-btn.active {
  background: #8f6239;
  color: #ffffff !important;
  opacity: 1;
}
@media (max-width: 768px) {
  .cms-lang-slot { margin-left: 6px; }
  .cms-lang-slot .lang-btn { padding: 2px 7px; font-size: 11px; }
}
