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

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

/* 导航栏 */
.my-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid #e6ebf2;
}
.my-nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.my-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.my-logo {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #142642;
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}
.my-brand strong { display: block; font-size: 16.5px; color: #142642; line-height: 1.15; }
.my-brand small { display: block; font-size: 10px; color: #7a869a; letter-spacing: 0.06em; }

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

.my-nav-right {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.my-tel {
  font-size: 13.5px;
  font-weight: 700;
  color: #142642;
  text-decoration: none;
}
.my-cta {
  padding: 8px 16px;
  border-radius: 5px;
  background: #142642;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s;
}
.my-cta:hover { background: #1d355b; }

.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;
  border-radius: 6px;
  margin-left: auto;
}
.mob-nav-burger span { display: block; width: 20px; height: 2px; background: #142642; border-radius: 2px; }

@media (max-width: 1024px) {
  .my-links { gap: 14px; }
  .my-tel { display: none; }
}
@media (max-width: 768px) {
  .my-nav-right { display: none; }
  .mob-nav-burger { display: inline-flex; }
  .my-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 #e6ebf2;
    border-bottom: 1px solid #e6ebf2;
    box-shadow: 0 16px 32px rgba(20, 38, 66, 0.12);
    z-index: 90;
  }
  .mob-nav-chk:checked ~ .my-links { display: flex; }
  .my-links .nav-item { display: block; width: 100%; }
  .my-links a,
  .my-links .nav-item > a {
    display: block;
    width: 100%;
    padding: 12px 4px;
    border-bottom: 1px solid #f0f3f7;
    font-size: 15px;
  }
  .my-links a.active::after,
  .my-links .nav-item > a.active::after,
  .my-links .nav-item.active > a::after { display: none; }
  .my-links .nav-dropdown { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 14px; }
}

/* Hero 首屏 */
.my-hero {
  position: relative;
  min-height: 460px;
  background: #142642;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.my-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  z-index: 1;
}
.my-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.my-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #142642 0%, rgba(20, 38, 66, 0.32) 45%, rgba(20, 38, 66, 0.08) 100%);
  z-index: 2;
}
.my-hero-slant {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 54%;
  background: #142642;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  border-right: 2px solid #b8893c;
  z-index: 3;
}
.my-hero-goldline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 46.5%;
  width: 1.5px;
  background: rgba(184, 137, 60, 0.72);
  transform: skewX(-10deg);
  z-index: 4;
  pointer-events: none;
}
.my-hero-in {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 58px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.my-hero-copy { max-width: 480px; color: #ffffff; }
.my-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;
}
.my-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8893c;
}
.my-hero-copy h1 {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.my-hero-copy p {
  margin: 0 0 26px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}
.my-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.my-btn-gold {
  padding: 10px 22px;
  border-radius: 5px;
  background: #b8893c;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}
.my-btn-gold:hover { background: #c89a4b; }
.my-btn-out {
  padding: 10px 20px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #ffffff;
  font-size: 13.5px;
  text-decoration: none;
}
.my-btn-out:hover { background: rgba(255, 255, 255, 0.08); }

.my-hero-float {
  background: #ffffff;
  border-radius: 8px;
  padding: 16px 20px;
  max-width: 260px;
  box-shadow: 0 16px 36px rgba(10, 20, 38, 0.35);
}
.my-hero-float small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #b8893c;
  margin-bottom: 4px;
}
.my-hero-float strong {
  display: block;
  font-size: 15px;
  color: #142642;
  margin-bottom: 4px;
}
.my-hero-float p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: #64748b;
}

@media (max-width: 900px) {
  .my-hero-slant, .my-hero-goldline { display: none; }
  .my-hero-bg { width: 100%; opacity: 0.28; }
  .my-hero-in { flex-direction: column; align-items: flex-start; padding: 48px 0; }
}

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

/* 核心产品 4列 */
.my-pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.my-pcard {
  background: #ffffff;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
}
.my-pcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 38, 66, 0.08);
}
.my-pimg { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #eef2f7; }
.my-pimg img { width: 100%; height: 100%; object-fit: cover; }
.my-pnum {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(20, 38, 66, 0.86);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}
.my-pb { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.my-ptag { font-size: 11px; color: #b8893c; font-weight: 700; margin-bottom: 4px; }
.my-pb h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 800; color: #142642; }
.my-pb p { margin: 0 0 14px; font-size: 12.5px; line-height: 1.6; color: #64748b; flex: 1; }
.my-pb a { font-size: 12px; font-weight: 700; color: #142642; text-decoration: none; }
.my-pb a:hover { color: #b8893c; }
@media (max-width: 1024px) { .my-pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .my-pgrid { grid-template-columns: 1fr; } }

/* 关于麦源烘焙 */
.my-about-box {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border-radius: 10px;
  overflow: hidden;
  background: #142642;
  box-shadow: 0 18px 40px rgba(20, 38, 66, 0.14);
}
.my-about-l { padding: 40px 44px; color: #ffffff; }
.my-about-l h3 { margin: 0 0 14px; font-size: 22px; font-weight: 800; line-height: 1.35; }
.my-about-l p { margin: 0 0 14px; font-size: 13px; line-height: 1.75; color: rgba(255, 255, 255, 0.78); }
.my-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.my-stat-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 12px 14px;
}
.my-stat-item strong { display: block; font-size: 22px; font-weight: 800; color: #ffffff; margin-bottom: 2px; }
.my-stat-item span { font-size: 11.5px; color: rgba(255, 255, 255, 0.68); }
.my-about-r { position: relative; min-height: 340px; }
.my-about-r img { width: 100%; height: 100%; object-fit: cover; }
.my-about-badge {
  position: absolute;
  top: 50%;
  left: 52.5%;
  transform: translate(-50%, -50%);
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #b8893c;
  border: 4px solid #ffffff;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  z-index: 4;
}
.my-about-badge strong { font-size: 22px; font-weight: 900; line-height: 1; }
.my-about-badge span { font-size: 10px; margin-top: 3px; }
@media (max-width: 900px) {
  .my-about-box { grid-template-columns: 1fr; }
  .my-about-badge { display: none; }
  .my-about-l { padding: 28px 24px; }
}

/* 从需求到量产 6格 */
.my-fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.my-fcard {
  background: #ffffff;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  padding: 22px;
}
.my-fcard-step { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; color: #b8893c; margin-bottom: 10px; }
.my-fcard h3 { margin: 0 0 8px; font-size: 16px; font-weight: 800; color: #142642; }
.my-fcard p { margin: 0; font-size: 12.5px; line-height: 1.65; color: #64748b; }
.my-fcard.is-dark {
  background: #142642;
  border-color: #142642;
  color: #ffffff;
}
.my-fcard.is-dark .my-fcard-step { color: #d4a656; }
.my-fcard.is-dark h3 { color: #ffffff; }
.my-fcard.is-dark p { color: rgba(255, 255, 255, 0.78); }
@media (max-width: 900px) { .my-fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .my-fgrid { grid-template-columns: 1fr; } }

/* 新闻动态 3列 */
.my-ngrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.my-ncard {
  background: #ffffff;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
}
.my-ncard:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(20, 38, 66, 0.08); }
.my-ncard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.my-nb { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.my-nmeta { display: flex; justify-content: space-between; font-size: 11px; color: #94a3b8; margin-bottom: 8px; }
.my-nmeta span:first-child { color: #b8893c; font-weight: 700; }
.my-nb h3 { margin: 0 0 8px; font-size: 15px; font-weight: 800; color: #142642; line-height: 1.45; }
.my-nb p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #64748b; }
@media (max-width: 900px) { .my-ngrid { grid-template-columns: 1fr; } }

/* CTA + 页脚 */
.my-cta-band { padding: 0 0 36px; background: #ffffff; }
.my-cta-box {
  background: #223b63;
  border-radius: 10px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #ffffff;
}
.my-cta-box h3 { margin: 0; font-size: 19px; font-weight: 700; }
.my-cta-box-r { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.my-cta-box-r strong { font-size: 20px; font-weight: 800; letter-spacing: 0.03em; }
@media (max-width: 768px) { .my-cta-box { flex-direction: column; align-items: flex-start; } }

.my-footer {
  background: #142642;
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 26px;
}
.my-foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.my-foot-grid h4 { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: #ffffff; }
.my-foot-grid p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.65); }
.my-foot-grid a { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.68); text-decoration: none; margin-bottom: 8px; }
.my-foot-grid a:hover { color: #ffffff; }
.my-qrs { display: flex; gap: 14px; }
.my-qr-card { text-align: center; }
.my-qr-box {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  background: #ffffff;
  padding: 6px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #142642;
  font-size: 10px;
  font-weight: 700;
  border: 2px solid rgba(184, 137, 60, 0.45);
}
.my-qr-card span { font-size: 11px; color: rgba(255, 255, 255, 0.62); }
.my-foot-links {
  padding: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.my-foot-links a { color: rgba(255, 255, 255, 0.65); text-decoration: none; }
.my-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) { .my-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .my-foot-grid { grid-template-columns: 1fr; } }

/* 子页面通用样式 */
.my-sub-banner {
  background: #142642;
  color: #ffffff;
  padding: 44px 0;
}
.my-sub-banner h1 { margin: 0 0 8px; font-size: 30px; font-weight: 800; }
.my-sub-banner p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.74); }
.my-crumb { font-size: 12px; color: rgba(255, 255, 255, 0.6); margin-bottom: 10px; }
.my-crumb a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.my-panel {
  background: #ffffff;
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  padding: 28px 32px;
}
.my-art-list { display: grid; gap: 14px; }
.my-art-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  text-decoration: none;
}
.my-art-row:hover { border-color: #b8893c; }
.my-art-row h3 { margin: 0 0 6px; font-size: 16px; color: #142642; }
.my-art-row p { margin: 0; font-size: 13px; color: #64748b; }
.my-art-date { font-size: 12px; color: #94a3b8; white-space: nowrap; }
.my-detail-body { font-size: 15px; line-height: 1.85; color: #2b384e; }
.my-detail-body img { border-radius: 8px; margin: 16px 0; }

/* 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: #142642;
  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; }
}
