/* ============== 全局样式 ============== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif; color: #333; line-height: 1.7; background: #f8f5f0; }
a { color: #b8412a; text-decoration: none; transition: color 0.2s; }
a:hover { color: #8a2a18; }
img { max-width: 100%; height: auto; display: block; border: 0; }
ul, li { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; color: #2b2118; }
.container { width: 1200px; max-width: 96%; margin: 0 auto; }
.clearfix::after { content: ""; display: block; clear: both; }

/* ============== 顶部条 ============== */
.top-bar { background: #2b2118; color: #d4c5a9; font-size: 13px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar .left span { margin-right: 18px; }
.top-bar .left i { color: #e8a35a; margin-right: 4px; }
.top-bar .right a { color: #d4c5a9; margin-left: 14px; }
.top-bar .right a:hover { color: #fff; }

/* ============== 头部导航 ============== */
.header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark { width: 56px; height: 56px; background: linear-gradient(135deg, #b8412a 0%, #8a2a18 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; font-weight: bold; box-shadow: 0 4px 10px rgba(184,65,42,0.3); }
.logo .text h1 { font-size: 22px; color: #2b2118; margin-bottom: 2px; }
.logo .text p { font-size: 12px; color: #888; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 22px; color: #2b2118; font-size: 16px; font-weight: 500; border-radius: 4px; position: relative; }
.nav a:hover, .nav a.active { color: #b8412a; background: #fdf2eb; }
.nav a.active::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 4px; height: 2px; background: #b8412a; }
.cta-call { background: linear-gradient(135deg, #e8a35a, #d48032); color: #fff !important; padding: 10px 22px; border-radius: 30px; font-weight: 600; box-shadow: 0 4px 10px rgba(232,163,90,0.3); }
.cta-call:hover { background: linear-gradient(135deg, #d48032, #b8412a); transform: translateY(-1px); }

/* ============== Banner 轮播 ============== */
.banner { position: relative; height: 540px; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; background-size: cover; background-position: center; }
.slide.active { opacity: 1; }
.slide-1 { background: linear-gradient(rgba(43,33,24,0.45), rgba(43,33,24,0.45)), url('../images/beef-noodle-3.jpg') center/cover; }
.slide-2 { background: linear-gradient(rgba(43,33,24,0.45), rgba(43,33,24,0.45)), url('../images/cold-beef-noodle-dish.jpg') center/cover; }
.slide-3 { background: linear-gradient(rgba(43,33,24,0.45), rgba(43,33,24,0.45)), url('../images/cold-black-rice-beef-noodle.jpg') center/cover; }
.slide-4 { background: linear-gradient(rgba(43,33,24,0.45), rgba(43,33,24,0.45)), url('../images/golden-silk-noodle-dish.jpg') center/cover; }
.slide-content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 0 20px; }
.slide-content h2 { font-size: 48px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.4); margin-bottom: 16px; }
.slide-content p { font-size: 20px; margin-bottom: 30px; text-shadow: 0 1px 5px rgba(0,0,0,0.3); }
.btn { display: inline-block; padding: 12px 32px; border-radius: 30px; font-size: 15px; font-weight: 600; transition: all 0.25s; }
.btn-primary { background: linear-gradient(135deg, #e8a35a, #d48032); color: #fff; box-shadow: 0 4px 14px rgba(232,163,90,0.4); }
.btn-primary:hover { background: linear-gradient(135deg, #d48032, #b8412a); color: #fff; transform: translateY(-2px); }
.btn-outline { background: rgba(255,255,255,0.1); border: 2px solid #fff; color: #fff; margin-left: 12px; }
.btn-outline:hover { background: #fff; color: #b8412a; }
.banner-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.banner-dots span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s; }
.banner-dots span.active { background: #e8a35a; width: 36px; border-radius: 6px; }

/* ============== 通用板块 ============== */
section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 34px; color: #2b2118; margin-bottom: 12px; }
.section-title .deco { display: inline-flex; align-items: center; gap: 14px; color: #b8412a; font-size: 14px; letter-spacing: 4px; }
.section-title .deco::before, .section-title .deco::after { content: ""; width: 50px; height: 1px; background: #d4c5a9; }
.section-title p { color: #888; font-size: 14px; margin-top: 10px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ============== 核心卖点 ============== */
.advantages { background: #fff; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card { text-align: center; padding: 36px 22px; border-radius: 8px; background: #fdf8f3; border: 1px solid #f0e6d4; transition: all 0.3s; }
.adv-card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(184,65,42,0.12); border-color: #e8a35a; }
.adv-icon { width: 70px; height: 70px; line-height: 70px; border-radius: 50%; background: linear-gradient(135deg, #b8412a, #e8a35a); color: #fff; font-size: 30px; margin: 0 auto 18px; }
.adv-card h3 { font-size: 18px; margin-bottom: 10px; }
.adv-card p { color: #777; font-size: 14px; }

/* ============== 产品板块 ============== */
.products { background: linear-gradient(180deg, #f8f5f0 0%, #fdf8f3 100%); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.06); transition: all 0.3s; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,0.12); }
.product-card .img-wrap { height: 220px; overflow: hidden; position: relative; background: #f0e6d4; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .img-wrap img { transform: scale(1.06); }
.product-card .badge { position: absolute; top: 12px; left: 12px; background: #b8412a; color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 12px; }
.product-card .badge.gold { background: linear-gradient(135deg, #e8a35a, #d48032); }
.product-card .info { padding: 22px 22px 26px; }
.product-card .info h3 { font-size: 20px; margin-bottom: 8px; }
.product-card .info .tag { color: #b8412a; font-size: 13px; margin-bottom: 10px; }
.product-card .info p { color: #888; font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.product-card .meta { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px dashed #e0d4ba; font-size: 13px; color: #666; }

/* ============== 客户群体 ============== */
.customers { background: #2b2118; color: #f0e6d4; }
.customers .section-title h2 { color: #f0e6d4; }
.customers .section-title .deco { color: #e8a35a; }
.customers .section-title p { color: #b8a98a; }
.cust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cust-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(232,163,90,0.18); border-radius: 8px; padding: 26px 22px; transition: all 0.3s; }
.cust-card:hover { background: rgba(232,163,90,0.08); transform: translateY(-4px); }
.cust-card .num { display: inline-block; width: 44px; height: 44px; line-height: 44px; text-align: center; border-radius: 50%; background: #e8a35a; color: #2b2118; font-weight: 700; margin-bottom: 14px; }
.cust-card h3 { color: #f0e6d4; font-size: 17px; margin-bottom: 8px; }
.cust-card p { color: #b8a98a; font-size: 13px; line-height: 1.6; }

/* ============== 地域批发板块 ============== */
.regions { background: #fff; }
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.region-card { position: relative; height: 180px; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); cursor: pointer; }
.region-card .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s; }
.region-card:hover .bg { transform: scale(1.08); }
.region-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%); }
.region-card .txt { position: absolute; left: 24px; right: 24px; bottom: 22px; color: #fff; }
.region-card .txt h3 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.region-card .txt p { color: rgba(255,255,255,0.85); font-size: 13px; }
.region-card .arrow { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; line-height: 36px; text-align: center; background: rgba(255,255,255,0.2); border-radius: 50%; color: #fff; }

/* ============== 工厂实力 ============== */
.factory { background: linear-gradient(180deg, #f8f5f0 0%, #fdf8f3 100%); }
.factory-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.factory-img { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.factory-img img { width: 100%; height: 360px; object-fit: cover; }
.factory-stats { position: absolute; right: -20px; bottom: -20px; background: #b8412a; color: #fff; padding: 22px 30px; border-radius: 8px; box-shadow: 0 8px 20px rgba(184,65,42,0.3); }
.factory-stats strong { font-size: 36px; display: block; line-height: 1; }
.factory-stats span { font-size: 13px; }
.factory-text h2 { font-size: 32px; margin-bottom: 16px; }
.factory-text p { color: #666; font-size: 15px; margin-bottom: 22px; }
.factory-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.factory-list li { display: flex; gap: 10px; align-items: flex-start; color: #555; font-size: 14px; }
.factory-list li i { color: #e8a35a; font-weight: bold; margin-top: 2px; }

/* ============== 联系方式板块 ============== */
.contact { background: linear-gradient(135deg, #2b2118 0%, #4a3a28 100%); color: #f0e6d4; }
.contact .section-title h2 { color: #f0e6d4; }
.contact .section-title p { color: #b8a98a; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 18px; padding: 18px; background: rgba(255,255,255,0.04); border-radius: 8px; border: 1px solid rgba(232,163,90,0.2); }
.contact-item .ic { width: 50px; height: 50px; line-height: 50px; text-align: center; background: #e8a35a; color: #2b2118; border-radius: 50%; font-size: 22px; flex-shrink: 0; }
.contact-item .lbl { color: #b8a98a; font-size: 13px; margin-bottom: 2px; }
.contact-item .val { color: #f0e6d4; font-size: 20px; font-weight: 600; }
.contact-form { background: #fff; padding: 30px; border-radius: 10px; color: #333; }
.contact-form h3 { font-size: 20px; margin-bottom: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #e0d4ba; border-radius: 6px; font-size: 14px; font-family: inherit; }
.contact-form textarea { min-height: 100px; resize: vertical; margin-bottom: 12px; }
.contact-form button { width: 100%; padding: 14px; background: linear-gradient(135deg, #b8412a, #e8a35a); color: #fff; border: none; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; }
.contact-form button:hover { background: linear-gradient(135deg, #8a2a18, #d48032); }

/* ============== 底部 ============== */
.footer { background: #1a1410; color: #b8a98a; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #f0e6d4; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: #e8a35a; }
.footer p, .footer a { color: #b8a98a; font-size: 13px; line-height: 1.9; }
.footer a:hover { color: #e8a35a; }
.footer-links li { margin-bottom: 6px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact .item { display: flex; align-items: center; gap: 8px; }
.copyright { border-top: 1px solid #3a2e22; padding: 18px 0; text-align: center; font-size: 12px; color: #8a7a5a; }

/* ============== 悬浮按钮 ============== */
.float-contact { position: fixed; right: 18px; bottom: 80px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.float-contact a { width: 60px; height: 60px; line-height: 60px; text-align: center; background: linear-gradient(135deg, #b8412a, #8a2a18); color: #fff; border-radius: 50%; font-size: 22px; box-shadow: 0 6px 18px rgba(184,65,42,0.4); transition: all 0.3s; }
.float-contact a:hover { transform: scale(1.1); color: #fff; }
.float-contact a.wechat { background: linear-gradient(135deg, #07c160, #059048); box-shadow: 0 6px 18px rgba(7,193,96,0.4); }
.float-contact a.top { background: #2b2118; }
.float-contact .label { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); background: rgba(43,33,24,0.9); color: #fff; padding: 6px 12px; border-radius: 4px; font-size: 13px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.float-contact a:hover .label { opacity: 1; }
.float-contact > a { position: relative; }

/* 弹窗 */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9999; align-items: center; justify-content: center; }
.modal.active { display: flex; }
.modal-content { background: #fff; border-radius: 10px; width: 420px; max-width: 92%; padding: 30px; position: relative; }
.modal-close { position: absolute; right: 14px; top: 10px; font-size: 26px; color: #999; cursor: pointer; }
.modal-content h3 { font-size: 22px; color: #b8412a; margin-bottom: 6px; }
.modal-content .sub { color: #888; font-size: 13px; margin-bottom: 18px; }
.modal-content input, .modal-content textarea { width: 100%; padding: 11px 12px; margin-bottom: 10px; border: 1px solid #e0d4ba; border-radius: 6px; font-size: 14px; font-family: inherit; }
.modal-content button { width: 100%; padding: 12px; background: linear-gradient(135deg, #b8412a, #e8a35a); color: #fff; border: none; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; }
.modal-phone { background: #fdf8f3; border: 1px dashed #e8a35a; border-radius: 6px; padding: 12px; text-align: center; margin-bottom: 14px; }
.modal-phone strong { color: #b8412a; font-size: 18px; }

/* ============== 内页通用 ============== */
.page-banner { background: linear-gradient(rgba(43,33,24,0.7), rgba(43,33,24,0.7)), url('../images/beef-noodle-3.jpg') center/cover; color: #fff; padding: 80px 0; text-align: center; }
.page-banner h2 { color: #fff; font-size: 38px; margin-bottom: 10px; }
.page-banner .crumb { color: rgba(255,255,255,0.7); font-size: 14px; }
.page-banner .crumb a { color: rgba(255,255,255,0.7); }
.page-banner .crumb a:hover { color: #e8a35a; }

.content-wrap { padding: 60px 0; }
.content-wrap .container { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.sidebar { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.sidebar h3 { background: linear-gradient(135deg, #b8412a, #8a2a18); color: #fff; padding: 16px 20px; font-size: 17px; }
.sidebar ul li a { display: block; padding: 12px 20px; border-bottom: 1px solid #f0e6d4; color: #555; font-size: 14px; }
.sidebar ul li a:hover, .sidebar ul li a.active { background: #fdf2eb; color: #b8412a; padding-left: 26px; }
.main-content { background: #fff; border-radius: 8px; padding: 36px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.main-content h2 { font-size: 28px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 2px solid #f0e6d4; }
.main-content h3 { font-size: 20px; margin: 24px 0 12px; color: #b8412a; }
.main-content p { color: #555; font-size: 15px; margin-bottom: 14px; line-height: 1.85; }
.main-content ul.list { padding-left: 24px; margin-bottom: 16px; }
.main-content ul.list li { list-style: disc; color: #555; font-size: 15px; line-height: 1.85; margin-bottom: 6px; }
.main-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.main-content th, .main-content td { border: 1px solid #e0d4ba; padding: 10px 14px; text-align: left; font-size: 14px; }
.main-content th { background: #fdf2eb; color: #b8412a; font-weight: 600; }

/* 响应式 */
@media (max-width: 1024px) {
  .nav a { padding: 10px 14px; font-size: 15px; }
  .adv-grid, .cust-grid, .product-grid, .region-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-content, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .content-wrap .container { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .adv-grid, .cust-grid, .product-grid, .region-grid { grid-template-columns: 1fr; }
  .slide-content h2 { font-size: 28px; }
  .slide-content p { font-size: 16px; }
  .section-title h2 { font-size: 26px; }
  .nav { display: none; }
}
