*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,"Microsoft JhengHei","Microsoft YaHei",sans-serif;color:#172033;background:#fff}
a{text-decoration:none;color:inherit}

/* 顶部资料栏 */
.info-bar{background:#5f2323;color:#fff1ee;font-size:13px}
.info-inner{max-width:1180px;margin:0 auto;padding:8px 22px;display:flex;gap:16px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.info-name{margin-right:auto;font-weight:900;color:#fff}
.info-address{font-weight:700;color:#fff}

/* 企业抬头 */
.top{min-height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 7%;border-bottom:1px solid #f0ddd8;background:rgba(255,255,255,.97);position:sticky;top:0;z-index:10}
.brand-line{display:flex;align-items:center;gap:13px}
.mini-logo{width:52px;height:52px;border-radius:50%;border:2px solid #c9a09a;background:#fffaf7;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 auto}
.mini-logo img{width:100%;height:100%;object-fit:contain}
.mini-logo span{display:none;color:#a33a3a;font-weight:900;font-size:13px}
.brand{font-size:23px;font-weight:900;color:#7f2d2d;letter-spacing:.03em}
.brand-sub{font-size:13px;color:#7a6b66;margin-top:5px;letter-spacing:.08em}
nav{display:flex;gap:18px;color:#3f3f46;font-size:15px;font-weight:700}
nav a:hover{color:#a33a3a}

/* 首屏：手机优先，联系优先 */
.hero{padding:60px 7%;background:linear-gradient(180deg,#fff8f4 0%,#ffffff 100%)}
.hero-main{max-width:960px;margin:0 auto;text-align:center;background:white;border:1px solid #f0ddd8;border-radius:30px;padding:42px;box-shadow:0 18px 50px rgba(143,45,45,.10)}
.hero-logo{width:130px;height:130px;margin:0 auto 18px;border-radius:28px;border:1px solid #f0ddd8;background:#fffaf7;display:flex;align-items:center;justify-content:center;overflow:hidden}
.hero-logo img{width:100%;height:100%;object-fit:contain}
.logo-fallback{display:none;width:100%;height:100%;align-items:center;justify-content:center;font-size:40px;font-weight:900;color:#a33a3a}
.tag,.eyebrow{color:#a33a3a;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin:0 0 10px}
h1{font-size:44px;line-height:1.15;margin:10px 0;color:#0f172a}
.desc,.lead{font-size:18px;line-height:1.8;color:#4b5563}
.quick-contact{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:24px}
.contact-btn{display:inline-block;padding:13px 22px;border-radius:12px;font-weight:900}
.contact-btn.whatsapp{background:#16a34a;color:white}
.contact-btn.wecom{background:#a33a3a;color:white}
.contact-btn.phone{background:#5f2323;color:white}
.hero-tags{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:22px}
.hero-tags span{background:#fff4f2;border:1px solid #efd5cf;color:#8f2d2d;border-radius:999px;padding:9px 14px;font-weight:800;font-size:14px}

/* 通用区 */
.section{padding:70px 7%}
.section-head{max-width:900px;margin-bottom:26px}
.section-head.center{text-align:center;margin-left:auto;margin-right:auto}
.section h2{font-size:34px;margin:0 0 14px;color:#0f172a}
.section p{font-size:17px;line-height:1.85;color:#4b5563}
.light{background:#fffaf7}

/* 产品卡片 */
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.product-card,.adv-card,.step{background:white;border:1px solid #f0ddd8;border-radius:20px;padding:24px;box-shadow:0 8px 26px rgba(143,45,45,.05)}
.product-icon{width:46px;height:46px;border-radius:14px;background:#a33a3a;color:white;display:flex;align-items:center;justify-content:center;font-weight:900;margin-bottom:14px}
.product-card h3,.adv-card h3,.step h3{margin:0 0 12px;color:#7f2d2d}
.product-card span{display:block;margin-top:14px;color:#a33a3a;font-weight:800;font-size:14px;line-height:1.6}

/* 服务客户 */
.client-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.client-grid div{background:white;border:1px solid #f0ddd8;border-radius:16px;padding:18px;text-align:center;font-weight:900;color:#7f2d2d;box-shadow:0 8px 22px rgba(143,45,45,.04)}

/* 优势 */
.adv-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}

/* 流程 */
.timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.step span{display:inline-flex;width:42px;height:42px;border-radius:50%;align-items:center;justify-content:center;background:#a33a3a;color:white;font-weight:900;margin-bottom:14px}

/* 公司简介 */
.about-layout{display:grid;grid-template-columns:1.5fr .8fr;gap:28px;align-items:start}
.about-card{background:#7f2d2d;color:white;border-radius:22px;padding:28px;box-shadow:0 14px 35px rgba(127,45,45,.16)}
.about-card h3{margin-top:0}
.about-card ul{margin:0;padding-left:20px;line-height:2}

/* 品质 */
.quality-box{background:white;border:1px solid #f0ddd8;border-radius:22px;padding:28px;box-shadow:0 8px 26px rgba(143,45,45,.05)}
.quality-list{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.quality-list span{background:#fff4f2;color:#8f2d2d;border-radius:999px;padding:10px 16px;font-weight:800}

/* 联系 */
.contact{background:#5f2323;color:white}
.contact h2,.contact p,.contact .eyebrow{color:white}
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.contact-box{background:#7f2d2d;border:1px solid #b86d64;border-radius:20px;padding:24px}
.contact-box h3{margin-top:0;color:#fff1ee}
.large-link{display:inline-block;margin-top:10px;color:#fff1ee;font-weight:900}
.qr-placeholder{height:150px;border:2px dashed #e7bbb4;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#fff1ee;margin-top:14px}
.info-line{padding:8px 0;color:#fff8f4;line-height:1.6}
.contact-logo{width:150px;height:150px;background:white;border-radius:20px;margin:16px 0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.contact-logo img{width:100%;height:100%;object-fit:contain}

footer{text-align:center;padding:28px;color:#7f2d2d;background:#fffaf7}
.footer-sub{font-size:13px;margin-top:6px}
.mobile-contact{display:none}

/* 手机端：按真实手机浏览优化 */
@media(max-width:760px){
  body{padding-bottom:58px}
  .info-bar{font-size:12px}
  .info-inner{padding:7px 14px;gap:4px;justify-content:flex-start;line-height:1.45}
  .info-name{width:100%;margin-right:0;font-size:13px}
  .info-address{width:100%;font-weight:600}
  .info-inner span:not(.info-name):not(.info-address){width:auto;margin-right:8px;font-size:12px}

  .top{position:relative;min-height:auto;padding:13px 16px;display:block}
  .brand-line{gap:10px}
  .mini-logo{width:43px;height:43px}
  .brand{font-size:19px;line-height:1.25}
  .brand-sub{font-size:12px;margin-top:3px;letter-spacing:.03em}
  nav{display:none}

  .hero{padding:20px 14px 34px}
  .hero-main{padding:20px;border-radius:20px;text-align:left}
  .hero-logo{width:92px;height:92px;border-radius:18px;margin:0 0 14px}
  .tag{font-size:12px}
  h1{font-size:27px;line-height:1.22;margin:8px 0 12px}
  .desc{font-size:15px;line-height:1.75}
  .quick-contact{display:grid;grid-template-columns:1fr;gap:10px;margin-top:18px}
  .contact-btn{text-align:center;padding:13px 16px;font-size:15px}
  .hero-tags{justify-content:flex-start;gap:8px;margin-top:18px}
  .hero-tags span{font-size:13px;padding:8px 11px}

  .section{padding:40px 16px}
  .section-head{margin-bottom:18px}
  .section-head.center{text-align:left}
  .eyebrow{font-size:12px}
  .section h2{font-size:25px;margin-bottom:10px}
  .section p{font-size:15px;line-height:1.75}

  .product-grid,.adv-grid,.timeline,.contact-grid,.about-layout{grid-template-columns:1fr;gap:12px}
  .product-card,.adv-card,.step,.about-card,.quality-box,.contact-box{padding:18px;border-radius:16px}
  .product-icon{width:38px;height:38px;border-radius:12px;margin-bottom:10px}
  .product-card h3,.adv-card h3,.step h3{font-size:18px}
  .product-card p,.adv-card p,.step p{font-size:14px}
  .product-card span{font-size:13px;margin-top:10px}

  .client-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .client-grid div{padding:14px 10px;border-radius:14px;font-size:14px}

  .step span{width:36px;height:36px;font-size:13px}
  .contact-logo{width:116px;height:116px;margin:10px 0}
  .qr-placeholder{height:120px;font-size:14px}
  .info-line{font-size:14px;padding:6px 0}
  footer{padding:22px 16px 74px;font-size:13px}

  .mobile-contact{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;left:0;right:0;bottom:0;z-index:30;background:#5f2323;border-top:1px solid #b86d64;box-shadow:0 -8px 24px rgba(0,0,0,.12)}
  .mobile-contact a{color:white;text-align:center;padding:13px 4px;font-weight:900;font-size:13px}
  .mobile-contact a:nth-child(1){background:#16a34a}
  .mobile-contact a:nth-child(2){background:#a33a3a}
  .mobile-contact a:nth-child(3){background:#5f2323}
}

@media(max-width:380px){
  h1{font-size:24px}
  .brand{font-size:17px}
  .hero-main{padding:16px}
}

/* 首屏产品图片展示 */
.hero-product-gallery{
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr;
  gap:12px;
  margin-top:24px;
}

.product-photo{
  position:relative;
  min-height:150px;
  border-radius:18px;
  overflow:hidden;
  background:#fff8f4;
  border:1px solid #f0ddd8;
  box-shadow:0 8px 24px rgba(143,45,45,.08);
}

.product-photo.main-photo{
  grid-row:span 2;
  min-height:312px;
}

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

.product-photo span{
  position:absolute;
  left:12px;
  bottom:12px;
  background:rgba(95,35,35,.88);
  color:white;
  padding:7px 11px;
  border-radius:999px;
  font-size:13px;
  font-weight:900;
}

/* 手机端：图片不要太占位置 */
@media(max-width:760px){
  .hero-product-gallery{
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:18px;
  }

  .product-photo{
    min-height:118px;
    border-radius:15px;
  }

  .product-photo.main-photo{
    grid-column:1 / -1;
    grid-row:auto;
    min-height:190px;
  }

  .product-photo span{
    font-size:12px;
    padding:6px 9px;
  }
}

/* ===== 修正首屏产品图片区：电脑端缩小 + 牛肉主体不被裁掉 ===== */
@media(min-width:761px){
  .hero-product-gallery{
    max-width:720px;
    margin:22px auto 0;
    grid-template-columns:1.15fr 1fr 1fr;
    gap:10px;
  }

  .product-photo{
    min-height:108px;
    border-radius:15px;
  }

  .product-photo.main-photo{
    min-height:226px;
  }

  .product-photo img{
    object-fit:cover;
  }

  /* 第一张牛扒图显示更多主体，不要只裁到局部 */
  .product-photo.main-photo img{
    object-fit:contain;
    background:#fff8f4;
    padding:6px;
  }

  .product-photo span{
    left:10px;
    bottom:10px;
    padding:6px 10px;
    font-size:12px;
  }
}

/* 大屏也不要无限放大 */
@media(min-width:1200px){
  .hero-main{
    max-width:980px;
  }

  .hero-product-gallery{
    max-width:680px;
  }

  .product-photo{
    min-height:100px;
  }

  .product-photo.main-photo{
    min-height:210px;
  }
}

/* 手机端再压一点，避免首屏过长 */
@media(max-width:760px){
  .hero-product-gallery{
    margin-top:16px;
  }

  .product-photo{
    min-height:96px;
  }

  .product-photo.main-photo{
    min-height:150px;
  }

  .product-photo.main-photo img{
    object-fit:contain;
    background:#fff8f4;
    padding:5px;
  }
}

/* ===== 公司 Logo 下方 4 张冻肉小图：按 Logo 卡片风格排版 ===== */
.product-mini-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  max-width:520px;
  margin:16px auto 18px;
}

.product-mini-card{
  background:#fffaf7;
  border:1px solid #f0ddd8;
  border-radius:20px;
  padding:8px;
  text-align:center;
  box-shadow:0 8px 22px rgba(143,45,45,.06);
}

.product-mini-card img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  border-radius:15px;
  display:block;
  background:#fff8f4;
}

.product-mini-card span{
  display:block;
  margin-top:7px;
  font-size:13px;
  font-weight:900;
  color:#7f2d2d;
  line-height:1.25;
}

/* 电脑端不要太大，跟公司图标视觉一致 */
@media(min-width:761px){
  .hero-logo{
    width:108px;
    height:108px;
    margin-bottom:12px;
  }

  .product-mini-card{
    max-width:122px;
  }
}

/* 手机端 2x2，避免撑高首屏 */
@media(max-width:760px){
  .product-mini-grid{
    grid-template-columns:repeat(2,1fr);
    max-width:260px;
    gap:10px;
    margin:14px 0 16px;
  }

  .product-mini-card{
    border-radius:16px;
    padding:7px;
  }

  .product-mini-card img{
    border-radius:12px;
  }

  .product-mini-card span{
    font-size:12px;
    margin-top:6px;
  }
}

/* ===== 产品小图强制横排版：电脑一行4张，手机横向滑动 ===== */
.product-mini-grid{
  display:flex !important;
  flex-direction:row !important;
  justify-content:center;
  align-items:flex-start;
  gap:12px;
  max-width:620px;
  margin:16px auto 18px;
  overflow:visible;
}

.product-mini-card{
  width:132px;
  flex:0 0 132px;
  background:#fffaf7;
  border:1px solid #f0ddd8;
  border-radius:18px;
  padding:8px;
  text-align:center;
  box-shadow:0 8px 22px rgba(143,45,45,.06);
}

.product-mini-card img{
  width:100%;
  height:104px;
  aspect-ratio:auto;
  object-fit:cover;
  border-radius:13px;
  display:block;
  background:#fff8f4;
}

.product-mini-card span{
  display:block;
  margin-top:7px;
  font-size:13px;
  font-weight:900;
  color:#7f2d2d;
  line-height:1.25;
}

/* 手机端保持横排，不换行，左右滑动 */
@media(max-width:760px){
  .product-mini-grid{
    justify-content:flex-start;
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 2px 8px;
    margin:14px 0 16px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .product-mini-grid::-webkit-scrollbar{
    display:none;
  }

  .product-mini-card{
    width:112px;
    flex:0 0 112px;
    border-radius:15px;
    padding:7px;
  }

  .product-mini-card img{
    height:86px;
    border-radius:11px;
  }

  .product-mini-card span{
    font-size:12px;
    margin-top:6px;
    white-space:nowrap;
  }
}

/* ===== 产品小图强制横排版：电脑一行4张，手机横向滑动 ===== */
.product-mini-grid{
  display:flex !important;
  flex-direction:row !important;
  justify-content:center;
  align-items:flex-start;
  gap:12px;
  max-width:620px;
  margin:16px auto 18px;
  overflow:visible;
}

.product-mini-card{
  width:132px;
  flex:0 0 132px;
  background:#fffaf7;
  border:1px solid #f0ddd8;
  border-radius:18px;
  padding:8px;
  text-align:center;
  box-shadow:0 8px 22px rgba(143,45,45,.06);
}

.product-mini-card img{
  width:100%;
  height:104px;
  aspect-ratio:auto;
  object-fit:cover;
  border-radius:13px;
  display:block;
  background:#fff8f4;
}

.product-mini-card span{
  display:block;
  margin-top:7px;
  font-size:13px;
  font-weight:900;
  color:#7f2d2d;
  line-height:1.25;
}

/* 手机端保持横排，不换行，左右滑动 */
@media(max-width:760px){
  .product-mini-grid{
    justify-content:flex-start;
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 2px 8px;
    margin:14px 0 16px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .product-mini-grid::-webkit-scrollbar{
    display:none;
  }

  .product-mini-card{
    width:112px;
    flex:0 0 112px;
    border-radius:15px;
    padding:7px;
  }

  .product-mini-card img{
    height:86px;
    border-radius:11px;
  }

  .product-mini-card span{
    font-size:12px;
    margin-top:6px;
    white-space:nowrap;
  }
}
