/* ============================================
   VEEJIA 唯加调味品 官网 - 全局样式
   配色：绛红 #B71C1C | 亚麻米 #F5EBD8 | 深咖 #705540 | 古铜金 #997243
   ============================================ */
:root {
    --red: #B71C1C;
    --red-dark: #8E1515;
    --red-light: #C62828;
    --cream: #F5EBD8;
    --cream-light: #FBF6EC;
    --brown: #705540;
    --brown-light: #8A6A50;
    --gold: #997243;
    --gold-light: #C09A6B;
    --white: #FFFFFF;
    --bg: #FFFFFF;
    --text: #3A2E26;
    --text-muted: #6B5D52;
    --border: #E8DCC8;
    --shadow: 0 4px 20px rgba(112, 85, 64, 0.12);
    --shadow-lg: 0 12px 40px rgba(112, 85, 64, 0.18);
    --radius: 12px;
    --radius-sm: 8px;
    --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", -apple-system, sans-serif;
    --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 标题字体 */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.3; }

/* ===== 顶部招商联系条 ===== */
.topbar {
    background: linear-gradient(90deg, var(--red-dark), var(--red));
    color: #fff;
    font-size: 13px;
}
.topbar .container {
    display: flex; justify-content: space-between; align-items: center;
    height: 36px;
}
.topbar a { color: #fff; }
.topbar a:hover { text-decoration: underline; }
.topbar .topbar-right { display: flex; gap: 20px; }

/* ===== 导航栏 ===== */
.navbar {
    background: var(--white);
    border-bottom: 2px solid var(--cream);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.navbar .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 56px; width: auto; }
.nav-logo .logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo .logo-text .cn { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--red); }
.nav-logo .logo-text .en { font-size: 11px; color: var(--brown); letter-spacing: 1px; }

.nav-menu { display: flex; gap: 6px; align-items: center; }
.nav-menu a {
    padding: 8px 16px; font-size: 15px; color: var(--text);
    border-radius: var(--radius-sm); position: relative; transition: all .25s;
}
.nav-menu a:hover { color: var(--red); }
.nav-menu a.active { color: var(--red); font-weight: 600; }
.nav-menu a.active::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 20px; height: 3px; background: var(--red); border-radius: 2px;
}
.nav-cta {
    background: var(--red); color: #fff !important; padding: 9px 20px !important;
    border-radius: 30px; font-weight: 600;
}
.nav-cta:hover { background: var(--red-dark); }

/* 汉堡按钮 */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--red); border-radius: 2px; transition: all .3s; }

/* ===== 按钮 ===== */
.btn {
    display: inline-block; padding: 14px 34px; border-radius: 40px;
    font-size: 16px; font-weight: 600; transition: all .3s; text-align: center;
    border: 2px solid transparent;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(183,28,28,.3); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--brown); transform: translateY(-2px); }
.btn-outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-outline-white { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: var(--red); }
.btn-lg { padding: 16px 44px; font-size: 18px; }

/* ===== Banner 轮播 ===== */
.hero { position: relative; overflow: hidden; }
.hero-slide {
    position: relative; min-height: 560px; display: flex; align-items: center;
    background-size: cover; background-position: center;
}
.hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(60,20,15,.78), rgba(60,20,15,.25));
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 620px; }
.hero-content .hero-tag {
    display: inline-block; background: var(--gold); color: #fff;
    padding: 6px 18px; border-radius: 30px; font-size: 14px; margin-bottom: 20px;
    letter-spacing: 1px;
}
.hero-content h1 { font-size: 52px; margin-bottom: 16px; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero-content .hero-sub { font-size: 20px; margin-bottom: 32px; opacity: .95; }
.hero-content .hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-slide { display: none; }
.hero-slide.active { display: flex; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots span { width: 32px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.4); cursor: pointer; transition: all .3s; }
.hero-dots span.active { background: var(--gold); width: 48px; }

/* 渐入动画 */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-slide.active .hero-content > * { animation: fadeInUp .8s ease both; }
.hero-slide.active .hero-content > *:nth-child(2) { animation-delay: .15s; }
.hero-slide.active .hero-content > *:nth-child(3) { animation-delay: .3s; }
.hero-slide.active .hero-content > *:nth-child(4) { animation-delay: .45s; }

/* ===== 通用区块 ===== */
.section { padding: 80px 0; }
.section.cream-bg { background: var(--cream-light); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .section-sub {
    color: var(--gold); font-size: 15px; letter-spacing: 3px;
    margin-bottom: 8px; text-transform: uppercase;
}
.section-head h2 { font-size: 38px; color: var(--text); margin-bottom: 12px; }
.section-head .section-desc { color: var(--text-muted); max-width: 720px; margin: 0 auto; font-size: 16px; }

/* 装饰分隔线 */
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 12px 0; }
.divider::before, .divider::after { content: ''; width: 40px; height: 1px; background: var(--gold); }
.divider .diamond { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* ===== 关于我们简介 ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 34px; margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.about-trust { display: flex; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.trust-item {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; text-align: center; flex: 1; min-width: 140px; transition: all .3s;
}
.trust-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--gold); }
.trust-item img { height: 56px; width: auto; margin: 0 auto 12px; }
.trust-item .trust-title { font-weight: 600; color: var(--brown); }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ===== 荣誉展示 ===== */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===== 发展历程（上下两排结构） ===== */
/* 上排：3 个重要节点（1925 / 1993 / 2024） */
/* 下排：6 个普通节点（1956 / 1966 / 1980 / 2002 / 2023 / 2025）*/
/* 中间一条横向时间轴贯穿 */
.timeline-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--cream-light) 100%);
    position: relative;
    padding: 72px 0 56px;
}
.timeline-section::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 96px; height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.timeline {
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}
/* 上排：3 列 */
.timeline-row {
    display: grid;
    gap: 18px;
    position: relative;
}
.timeline-row-top { grid-template-columns: repeat(3, 1fr); }
/* 中间轴线区域 */
.timeline-axis {
    position: relative;
    height: 56px;
    margin: 12px 0;
}
.timeline-axis::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 50%;
    height: 2px; transform: translateY(-50%);
    background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px);
    opacity: .55;
}
/* 轴两端装饰圆珠 */
.timeline-axis::after {
    content: '';
    position: absolute; left: -6px; top: 50%;
    width: 12px; height: 12px; transform: translateY(-50%);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #d8a878);
    box-shadow: 0 0 0 4px rgba(153,114,67,0.12);
}
/* 下排：6 列 */
.timeline-row-bottom { grid-template-columns: repeat(6, 1fr); }

/* 节点基本 */
.timeline-item {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
}
/* 上排：body 在上，dot 在下 */
.timeline-row-top .timeline-item {
    flex-direction: column;
}
/* 下排：dot 在上，body 在下 */
.timeline-row-bottom .timeline-item {
    flex-direction: column;
}

/* 文本块 */
.timeline-item .timeline-body {
    display: flex; flex-direction: column; align-items: center;
    padding: 0 4px;
}
.timeline-item .timeline-year {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--brown);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 6px;
    line-height: 1;
}
.timeline-item .timeline-event {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.65;
    padding: 0 4px;
    max-width: 220px;
    text-align: center;
}
.timeline-item .timeline-tag {
    display: inline-block;
    font-size: 11px;
    color: var(--white);
    background: var(--gold);
    padding: 2px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
    letter-spacing: 1.5px;
}

/* dot 通用 */
.timeline-item .timeline-dot {
    width: 14px; height: 14px;
    background: var(--white); border: 2.5px solid var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(153, 114, 67, 0.10);
    flex: 0 0 auto;
    position: relative; z-index: 2;
}
/* 上排：dot 在 body 下方，靠向时间轴（不画连接线，靠位置） */
.timeline-row-top .timeline-item .timeline-dot {
    margin-top: 14px;
}
/* 下排：dot 在 body 上方，紧靠时间轴 */
.timeline-row-bottom .timeline-item .timeline-dot {
    margin-bottom: 14px;
}

/* 上排 featured 卡片化容器 */
.timeline-row-top .timeline-item .timeline-body {
    background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(183,28,28,0.03));
    border-radius: 14px;
    padding: 18px 18px 20px;
    border: 1px solid rgba(183,28,28,0.10);
    box-shadow: 0 4px 18px rgba(183, 28, 28, 0.08);
    transition: transform .3s, box-shadow .3s;
    width: 100%;
    max-width: 320px;
}
.timeline-row-top .timeline-item:hover .timeline-body {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(183, 28, 28, 0.18);
}

/* featured 凸出：1925 / 1993 */
.timeline-row-top .timeline-item.timeline-featured .timeline-dot {
    background: var(--red);
    border-color: var(--white);
    box-shadow: 0 0 0 5px rgba(183, 28, 28, 0.18), 0 0 12px rgba(183, 28, 28, 0.35);
    width: 20px; height: 20px;
}
.timeline-row-top .timeline-item.timeline-featured .timeline-year {
    color: var(--red);
    font-size: 28px;
    font-weight: 700;
}
.timeline-row-top .timeline-item.timeline-featured .timeline-tag {
    background: var(--red);
    box-shadow: 0 2px 6px rgba(183, 28, 28, 0.30);
}
.timeline-row-top .timeline-item.timeline-featured .timeline-event {
    font-size: 13.5px;
    color: var(--text);
    font-weight: 500;
    max-width: 280px;
}

/* main 最凸出：2024 商务部认定 */
.timeline-row-top .timeline-item.timeline-main .timeline-dot {
    width: 24px; height: 24px;
    background: linear-gradient(135deg, var(--red), var(--red-light));
    border-color: var(--gold);
    box-shadow: 0 0 0 6px rgba(183, 28, 28, 0.25), 0 0 22px rgba(183, 28, 28, 0.45);
}
.timeline-row-top .timeline-item.timeline-main .timeline-year {
    color: var(--red);
    font-size: 34px;
    font-weight: 800;
    background: linear-gradient(180deg, var(--red), var(--red-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.timeline-row-top .timeline-item.timeline-main .timeline-tag {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    padding: 4px 14px;
    font-size: 12px;
    letter-spacing: 2px;
    box-shadow: 0 2px 8px rgba(183, 28, 28, 0.40);
}
.timeline-row-top .timeline-item.timeline-main .timeline-body {
    background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(183,28,28,0.06));
    border: 1px solid rgba(183,28,28,0.22);
    box-shadow: 0 8px 28px rgba(183, 28, 28, 0.18);
}
.timeline-row-top .timeline-item.timeline-main .timeline-event {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    max-width: 300px;
}

/* 下排普通节点 */
.timeline-row-bottom .timeline-item .timeline-year { font-size: 20px; }
.timeline-row-bottom .timeline-item .timeline-event { font-size: 12px; max-width: 170px; }

/* 装饰：section 标题下方副信息条 */
.timeline-key {
    display: flex; justify-content: center; align-items: center; gap: 18px;
    margin-top: 36px; flex-wrap: wrap;
}
.timeline-key span {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; color: var(--text-muted); letter-spacing: .5px;
}
.timeline-key i {
    display: inline-block; width: 10px; height: 10px; border-radius: 50%;
}
.timeline-key .key-dot-gold { background: var(--white); border: 2px solid var(--gold); }
.timeline-key .key-dot-red { background: var(--red); box-shadow: 0 0 0 3px rgba(183,28,28,.18); }
.timeline-key .key-dot-main { background: linear-gradient(135deg, var(--red), var(--red-light)); box-shadow: 0 0 0 3px rgba(183,28,28,.25); }

/* 较窄屏微调 */
@media (max-width: 1100px) and (min-width: 769px) {
    .timeline-row-bottom { gap: 10px; }
    .timeline-row-bottom .timeline-item .timeline-year { font-size: 17px; }
    .timeline-row-bottom .timeline-item .timeline-event { font-size: 11.5px; max-width: 130px; line-height: 1.55; }
    .timeline-row-top .timeline-item.timeline-featured .timeline-year { font-size: 24px; }
    .timeline-row-top .timeline-item.timeline-main .timeline-year { font-size: 30px; }
}

/* 移动端：水平改为垂直时间轴 */
@media (max-width: 768px) {
    .timeline-section { padding: 56px 0 40px; }
    .timeline { padding: 0 8px; }
    .timeline-row-top, .timeline-row-bottom { grid-template-columns: 1fr; gap: 0; }
    .timeline-axis {
        display: none;
    }
    .timeline-row-top .timeline-item,
    .timeline-row-bottom .timeline-item {
        flex-direction: row !important;
        align-items: flex-start;
        text-align: left;
        padding: 14px 0 14px 28px;
        position: relative;
    }
    .timeline-row-top .timeline-item { margin-bottom: 0; }
    .timeline-row-bottom .timeline-item { margin-top: 0; }
    /* 移动端竖向连接线 */
    .timeline-row-top,
    .timeline-row-bottom {
        position: relative;
    }
    .timeline-row-top::before,
    .timeline-row-bottom::before {
        content: '';
        position: absolute; left: 8px; top: 0; bottom: 0;
        width: 2px;
        background: repeating-linear-gradient(180deg, var(--gold) 0 8px, transparent 8px 14px);
        opacity: .5;
    }
    .timeline-row-top .timeline-item .timeline-dot,
    .timeline-row-bottom .timeline-item .timeline-dot {
        position: absolute; left: -28px; top: 14px;
        margin: 0;
    }
    .timeline-row-top .timeline-item .timeline-body,
    .timeline-row-bottom .timeline-item .timeline-body {
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0 0 0 8px;
        align-items: flex-start;
        max-width: none;
        width: auto;
    }
    .timeline-row-top .timeline-item .timeline-year,
    .timeline-row-bottom .timeline-item .timeline-year { font-size: 18px; }
    .timeline-row-top .timeline-item.timeline-featured .timeline-year,
    .timeline-row-top .timeline-item.timeline-main .timeline-year { font-size: 20px; }
    .timeline-row-top .timeline-item .timeline-event,
    .timeline-row-bottom .timeline-item .timeline-event {
        text-align: left; max-width: none; font-size: 12.5px;
    }
    .timeline-key { display: none; }
}
.honor-item {
    background: var(--white); border-radius: var(--radius); padding: 20px;
    text-align: center; box-shadow: var(--shadow); transition: all .3s;
    border: 1px solid var(--border);
}
.honor-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.honor-item img { height: 90px; width: auto; margin: 0 auto 12px; object-fit: contain; }

/* ===== 产品卡片 ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid var(--border); transition: all .3s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card .prod-img { height: 220px; overflow: hidden; background: var(--cream-light); display: flex; align-items: center; justify-content: center; padding: 16px; }
.product-card .prod-img img { max-height: 100%; width: auto; transition: transform .4s; }
.product-card:hover .prod-img img { transform: scale(1.08); }
.product-card .prod-body { padding: 18px; }
.product-card .prod-cat { font-size: 12px; color: var(--gold); margin-bottom: 4px; }
.product-card .prod-name { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.product-card .prod-btn {
    display: inline-block; padding: 8px 20px; border-radius: 30px;
    background: var(--red); color: #fff; font-size: 14px; transition: all .25s;
}
.product-card .prod-btn:hover { background: var(--red-dark); }

/* 品类入口卡片 */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.category-card {
    background: var(--red); color: #fff; border-radius: var(--radius);
    padding: 36px 28px; text-align: center; cursor: pointer; transition: all .3s;
    position: relative; overflow: hidden;
}
.category-card:nth-child(2) { background: var(--brown); }
.category-card:nth-child(3) { background: var(--gold); }
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-card h3 { font-size: 26px; margin-bottom: 8px; }
.category-card p { opacity: .9; font-size: 14px; }
.category-card .cat-count { font-size: 13px; opacity: .8; margin-top: 8px; }

/* ===== 招商合作 ===== */
.coop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.coop-card {
    background: var(--white); border-radius: var(--radius); padding: 28px;
    text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--gold);
    transition: all .3s;
}
.coop-card.core { border-top-color: var(--red); background: linear-gradient(180deg, #fff, var(--cream-light)); }
.coop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.coop-card .coop-icon { font-size: 40px; margin-bottom: 14px; }
.coop-card h4 { font-size: 20px; margin-bottom: 10px; color: var(--red); }
.coop-card.core h4 { font-size: 22px; }
.coop-card p { color: var(--text-muted); font-size: 14px; }

/* 合作流程 */
.flow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 48px 0; }
.flow-step { text-align: center; position: relative; }
.flow-step .flow-num {
    width: 60px; height: 60px; border-radius: 50%; background: var(--red);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 700; margin: 0 auto 12px; position: relative; z-index: 2;
    font-family: var(--serif);
}
.flow-step:not(:last-child)::after {
    content: '→'; position: absolute; top: 20px; right: -14px;
    color: var(--gold); font-size: 24px; z-index: 1;
}
.flow-step .flow-title { font-weight: 600; font-size: 16px; }

/* ===== FAQ 折叠 ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: 14px; overflow: hidden;
}
.faq-q {
    padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; font-weight: 600; font-size: 16px; color: var(--text);
    transition: all .25s;
}
.faq-q:hover { color: var(--red); }
.faq-q .faq-icon { font-size: 20px; color: var(--gold); transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a .faq-a-inner { padding: 0 24px 20px; color: var(--text-muted); font-size: 15px; }

/* ===== 表单 ===== */
.form-wrap { max-width: 680px; margin: 0 auto; }
.form-card {
    background: var(--white); border-radius: var(--radius-lg, 16px);
    padding: 44px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--red);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; color: var(--brown); }
.form-group label .req { color: var(--red); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 13px 16px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-size: 15px; transition: border .25s;
    background: var(--cream-light);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--gold); background: #fff;
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-radio { display: flex; gap: 20px; }
.form-radio label { display: flex; align-items: center; gap: 6px; font-weight: 400; cursor: pointer; white-space: nowrap; }
.form-radio label input[type="radio"] { margin: 0; cursor: pointer; accent-color: var(--red); }

/* 意向类型：标签与选项横向同行排列 */
.form-group-inline { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-group-inline > label { margin-bottom: 0 !important; flex-shrink: 0; }
.form-group-inline .form-radio { flex: 1; }
.form-submit { width: 100%; padding: 15px; font-size: 17px; }
.form-tip { text-align: center; color: var(--text-muted); font-size: 13px; margin-top: 14px; }

/* ===== 悬浮留言按钮 ===== */
.float-tools { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
    width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: #fff; font-size: 22px; box-shadow: 0 4px 16px rgba(0,0,0,.2);
    transition: all .3s; position: relative;
}
.float-btn.message { background: var(--red); }
.float-btn.top { background: var(--gold); }
.float-btn:hover { transform: scale(1.1); }
.float-btn .float-tip {
    position: absolute; right: 62px; top: 50%; transform: translateY(-50%);
    background: var(--text); color: #fff; padding: 6px 14px; border-radius: 6px;
    font-size: 13px; white-space: nowrap; opacity: 0; pointer-events: none; transition: all .3s;
}
.float-btn:hover .float-tip { opacity: 1; }

/* 留言弹窗 */
.modal-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55);
    z-index: 2000; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-box {
    background: #fff; border-radius: 16px; max-width: 520px; width: 100%;
    padding: 36px; position: relative; max-height: 90vh; overflow-y: auto;
}
.modal-close { position: absolute; top: 14px; right: 18px; font-size: 28px; color: var(--text-muted); cursor: pointer; }
.modal-box h3 { text-align: center; margin-bottom: 24px; color: var(--red); font-size: 24px; }

/* 微信二维码弹窗 */
.wechat-qr-box { text-align: center; padding: 8px 0 4px; }
.wechat-qr-box img { width: 230px; height: auto; border-radius: 12px; margin: 0 auto 12px; box-shadow: var(--shadow); }
.wechat-qr-box p { color: var(--text-muted); font-size: 14px; }
.wechat-qr-box .wechat-hint { color: var(--gold); font-weight: 600; font-size: 15px; margin-bottom: 4px; }

/* ===== 页脚 ===== */
.footer { background: #2A1E17; color: #d5c8bb; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-logo img { height: 72px; margin-bottom: 12px; }
.footer-logo p { font-size: 14px; opacity: .8; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-family: var(--font); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; opacity: .8; transition: all .25s; }
.footer-links a:hover { opacity: 1; color: var(--gold-light); text-decoration: underline; }
.footer-contact li { font-size: 14px; margin-bottom: 10px; opacity: .85; display: flex; gap: 8px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
    text-align: center; font-size: 13px; opacity: .7;
}
.footer-bottom a { color: var(--gold-light); }

/* ===== 内页 banner ===== */
.page-hero {
    background: linear-gradient(135deg, var(--red-dark), var(--red));
    color: #fff; padding: 90px 0 70px; text-align: center; position: relative;
}
.page-hero h1 { font-size: 44px; margin-bottom: 14px; }
.page-hero p { font-size: 17px; opacity: .92; max-width: 640px; margin: 0 auto; }
.page-hero .breadcrumb { margin-top: 20px; font-size: 14px; opacity: .8; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .coop-grid { grid-template-columns: repeat(2, 1fr); }
    .honor-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .section-head h2 { font-size: 28px; }
    .hero-slide { min-height: 440px; }
    .hero-content h1 { font-size: 34px; }
    .hero-content .hero-sub { font-size: 16px; }
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none; position: absolute; top: 72px; left: 0; right: 0;
        background: #fff; flex-direction: column; padding: 16px;
        box-shadow: var(--shadow); border-bottom: 2px solid var(--cream);
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { width: 100%; text-align: center; padding: 12px; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .category-grid { grid-template-columns: 1fr; }
    .coop-grid { grid-template-columns: 1fr; }
    .honor-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-grid { grid-template-columns: 1fr; }
    .flow-step:not(:last-child)::after { content: '↓'; right: 50%; transform: translateX(50%); top: auto; bottom: -14px; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-card { padding: 28px; }
    .topbar .topbar-right { display: none; }
    .float-tools { right: 12px; }
    .float-btn { width: 48px; height: 48px; font-size: 20px; }
}

/* 滚动淡入动画 */
.fade-in { opacity: 0; transform: translateY(24px); transition: all .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* 成功提示 */
.form-success {
    display: none; text-align: center; padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success .success-icon {
    width: 80px; height: 80px; border-radius: 50%; background: #e8f5e9;
    color: #2e7d32; font-size: 44px; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 20px;
}
