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

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

/* 导航 */
.qy-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid #e3ebe6;
}
.qy-nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.qy-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.qy-logo {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #122b24;
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qy-brand strong { display: block; font-size: 16.5px; color: #122b24; line-height: 1.15; }
.qy-brand small { display: block; font-size: 9.5px; color: #71877e; letter-spacing: 0.08em; }

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

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

.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: #122b24; border-radius: 2px; }

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

/* 全幅 Hero */
.qy-hero {
  position: relative;
  background: #122b24;
  color: #ffffff;
  overflow: hidden;
}
.qy-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.qy-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.qy-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 35, 29, 0.94) 0%, rgba(18, 43, 36, 0.72) 55%, rgba(18, 43, 36, 0.48) 100%);
}
.qy-hero-in {
  position: relative;
  z-index: 2;
  padding: 76px 0 62px;
  max-width: 580px;
}
.qy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 18px;
}
.qy-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b88d55; }
.qy-hero-in h1 { margin: 0 0 16px; font-size: 42px; line-height: 1.22; font-weight: 800; }
.qy-hero-in p { margin: 0 0 28px; font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, 0.78); }
.qy-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.qy-btn-gold {
  padding: 10px 22px;
  border-radius: 6px;
  background: #b88d55;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}
.qy-btn-gold:hover { background: #c99d63; }
.qy-btn-out {
  padding: 10px 20px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #ffffff;
  font-size: 13.5px;
  text-decoration: none;
}
.qy-hero-kpis {
  position: relative;
  z-index: 2;
  background: rgba(10, 26, 21, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.qy-hkpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.qy-hkpi-item {
  padding: 18px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 24px;
  padding-left: 24px;
}
.qy-hkpi-item:first-child { padding-left: 0; }
.qy-hkpi-item:last-child { border-right: 0; }
.qy-hkpi-item strong { display: block; font-size: 24px; font-weight: 800; color: #ffffff; }
.qy-hkpi-item span { font-size: 11.5px; color: rgba(255, 255, 255, 0.65); }
@media (max-width: 768px) {
  .qy-hero-in h1 { font-size: 30px; }
  .qy-hkpi-grid { grid-template-columns: 1fr; }
  .qy-hkpi-item { padding-left: 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
}

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

/* 核心服务 2x2 大图卡 */
.qy-sgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.qy-scard {
  background: #ffffff;
  border: 1px solid #e1e9e4;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
}
.qy-scard:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(18, 43, 36, 0.08); }
.qy-simg { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #e9efec; }
.qy-simg img { width: 100%; height: 100%; object-fit: cover; }
.qy-sbadge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(14, 35, 29, 0.86);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}
.qy-sb { padding: 18px 20px; }
.qy-sb small { display: block; font-size: 11px; color: #b88d55; font-weight: 700; margin-bottom: 4px; }
.qy-sb h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 800; color: #122b24; }
.qy-sb p { margin: 0; font-size: 12.5px; color: #546d64; line-height: 1.6; }
@media (max-width: 768px) { .qy-sgrid { grid-template-columns: 1fr; } }

/* 关于清源乳品 三栏 + 暖金追溯条 */
.qy-about-grid {
  display: grid;
  grid-template-columns: 180px 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
}
.qy-about-dark {
  background: #122b24;
  color: #ffffff;
  border-radius: 10px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.qy-about-dark small { font-size: 10px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.55); }
.qy-about-dark strong { display: block; font-size: 36px; font-weight: 900; margin: 12px 0; }
.qy-about-dark p { margin: 0; font-size: 12px; line-height: 1.65; color: rgba(255, 255, 255, 0.72); }
.qy-about-mid h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; color: #122b24; line-height: 1.4; }
.qy-about-mid > p { margin: 0 0 18px; font-size: 13px; line-height: 1.7; color: #546d64; }
.qy-mkpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qy-mkpi {
  background: #ffffff;
  border: 1px solid #d9e3dd;
  border-radius: 8px;
  padding: 12px 14px;
}
.qy-mkpi strong { display: block; font-size: 20px; font-weight: 800; color: #122b24; }
.qy-mkpi span { font-size: 11px; color: #71877e; }
.qy-about-pic { border-radius: 10px; overflow: hidden; }
.qy-about-pic img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.qy-trace-bar {
  background: #b88d55;
  color: #ffffff;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.qy-trace-bar strong { font-size: 13px; }
@media (max-width: 960px) { .qy-about-grid { grid-template-columns: 1fr; } }

/* 标准化生产流程 5步横向工艺看板 */
.qy-flow-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding-top: 8px;
}
.qy-flow-board::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, #d4e0d9 0%, #b88d55 50%, #122b24 100%);
  z-index: 1;
}
.qy-flow-card {
  position: relative;
  z-index: 2;
  background: #f5f8f6;
  border: 1px solid #dce6e0;
  border-radius: 12px;
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.qy-flow-card:hover {
  transform: translateY(-4px);
  border-color: #b88d55;
  box-shadow: 0 14px 28px rgba(18, 43, 36, 0.08);
}
.qy-flow-card.is-core {
  background: #122b24;
  border-color: #122b24;
  color: #ffffff;
}
.qy-flow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.qy-flow-node {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #122b24;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #ffffff;
}
.qy-flow-card.is-core .qy-flow-node {
  background: #b88d55;
  box-shadow: 0 0 0 4px rgba(184, 141, 85, 0.25);
}
.qy-flow-ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #d9e3dd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #122b24;
  font-weight: 700;
}
.qy-flow-card.is-core .qy-flow-ico {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #e6c28e;
}
.qy-flow-card strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #122b24;
  margin-bottom: 8px;
}
.qy-flow-card.is-core strong { color: #ffffff; }
.qy-flow-dept {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 4px;
  background: #e4ede8;
  color: #2f5447;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}
.qy-flow-card.is-core .qy-flow-dept {
  background: rgba(184, 141, 85, 0.22);
  color: #ebd0a5;
}
.qy-flow-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: #546d64;
  flex: 1;
}
.qy-flow-card.is-core .qy-flow-desc { color: rgba(255, 255, 255, 0.78); }
@media (max-width: 1024px) {
  .qy-flow-board { grid-template-columns: repeat(2, 1fr); }
  .qy-flow-board::before { display: none; }
}
@media (max-width: 600px) {
  .qy-flow-board { grid-template-columns: 1fr; }
}

/* 新闻动态 3行横向 */
.qy-news-list { display: grid; gap: 14px; }
.qy-news-row {
  display: grid;
  grid-template-columns: 90px 148px 1fr;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #e1e9e4;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.18s;
}
.qy-news-row:hover { border-color: #b88d55; }
.qy-ndate { text-align: center; }
.qy-ndate strong { display: block; font-size: 24px; font-weight: 800; color: #122b24; line-height: 1.1; }
.qy-ndate span { font-size: 11px; color: #71877e; }
.qy-news-row img { width: 148px; height: 88px; border-radius: 6px; object-fit: cover; }
.qy-ninfo small { display: block; font-size: 11px; color: #b88d55; font-weight: 700; margin-bottom: 4px; }
.qy-ninfo h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: #122b24; }
.qy-ninfo p { margin: 0; font-size: 12.5px; color: #546d64; }
@media (max-width: 768px) {
  .qy-news-row { grid-template-columns: 1fr; }
  .qy-ndate { text-align: left; }
  .qy-news-row img { width: 100%; height: 160px; }
}

/* 胶囊 CTA + 墨绿页脚 */
.qy-cta-band { padding: 12px 0 36px; background: #ffffff; }
.qy-cta-pill {
  background: #122b24;
  border-radius: 999px;
  padding: 20px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #ffffff;
}
.qy-cta-pill h3 { margin: 0; font-size: 18px; font-weight: 700; }
.qy-cta-pill-r { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.qy-cta-pill-r strong { font-size: 19px; font-weight: 800; }
@media (max-width: 768px) { .qy-cta-pill { border-radius: 14px; flex-direction: column; align-items: flex-start; } }

.qy-footer {
  background: #0e231d;
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 26px;
}
.qy-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);
}
.qy-foot-grid h4 { margin: 0 0 14px; font-size: 14px; color: #ffffff; }
.qy-foot-grid p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.62); }
.qy-foot-grid a { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.68); text-decoration: none; margin-bottom: 8px; }
.qy-foot-grid a:hover { color: #ffffff; }
.qy-qrs { display: flex; gap: 14px; }
.qy-qr-card { text-align: center; }
.qy-qr-box {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  background: #ffffff;
  color: #122b24;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.qy-qr-card span { font-size: 11px; color: rgba(255, 255, 255, 0.62); }
.qy-foot-links { padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.qy-foot-links a { color: rgba(255, 255, 255, 0.65); text-decoration: none; }
.qy-foot-bot { padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11.5px; color: rgba(255, 255, 255, 0.48); }
@media (max-width: 900px) { .qy-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .qy-foot-grid { grid-template-columns: 1fr; } }

/* 子页面样式 */
.qy-sub-banner { background: #122b24; color: #ffffff; padding: 44px 0; }
.qy-sub-banner h1 { margin: 0 0 8px; font-size: 30px; font-weight: 800; }
.qy-sub-banner p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.74); }
.qy-crumb { font-size: 12px; color: rgba(255, 255, 255, 0.6); margin-bottom: 10px; }
.qy-crumb a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.qy-panel { background: #ffffff; border: 1px solid #e1e9e4; border-radius: 10px; padding: 28px 32px; }
.qy-pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.qy-pcard { background: #ffffff; border: 1px solid #e1e9e4; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.qy-pcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.qy-pb { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.qy-pb h3 { margin: 0 0 6px; font-size: 15.5px; color: #122b24; }
.qy-pb p { margin: 0 0 12px; font-size: 12.5px; color: #546d64; flex: 1; }
.qy-pb a { font-size: 12px; font-weight: 700; color: #b88d55; text-decoration: none; }
@media (max-width: 1024px) { .qy-pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .qy-pgrid { grid-template-columns: 1fr; } }
.qy-art-list { display: grid; gap: 14px; }
.qy-art-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: #ffffff; border: 1px solid #e1e9e4; border-radius: 8px; text-decoration: none; }
.qy-art-row h3 { margin: 0 0 6px; font-size: 16px; color: #122b24; }
.qy-art-row p { margin: 0; font-size: 13px; color: #546d64; }
.qy-detail-body { font-size: 15px; line-height: 1.85; color: #1e352d; }

/* 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: #122b24;
  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; }
}
