/* ============================================================
   穆斯林阿拉伯大袍共享工厂官网 - 主样式（中文 / English 双语）
   ============================================================ */
:root {
    --green: #0e4d3c;
    --green-deep: #0a3b2e;
    --green-dark: #072b21;
    --gold: #c8a24b;
    --gold-light: #e0c07a;
    --ivory: #f8f6f1;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e7e2d8;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(10, 59, 46, .10);
    --shadow-sm: 0 4px 14px rgba(10, 59, 46, .08);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

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

/* ---------------- 顶部信息条 ---------------- */
.topbar { background: var(--green-dark); color: rgba(255,255,255,.85); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.topbar-contact { display: flex; align-items: center; gap: 18px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); }
.topbar-contact a:hover { color: var(--gold-light); }
.topbar-contact svg { width: 14px; height: 14px; flex: none; }
.topbar-slogan { color: var(--gold-light); letter-spacing: .5px; }

/* ---------------- 主导航 ---------------- */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(10,59,46,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--green) 0%, #14684f 100%); display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-size: 20px; font-weight: 700; font-family: Georgia, serif; }
.logo-text { line-height: 1.25; }
.logo-text strong { display: block; font-size: 16px; color: var(--green-deep); }
.logo-text span { display: block; font-size: 11px; color: var(--muted); letter-spacing: .4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 8px; font-size: 15px; color: var(--ink); white-space: nowrap; }
.nav a:hover { color: var(--green); background: var(--ivory); }
.nav a.active { color: var(--green); font-weight: 600; background: #ecf3ef; }
.header-right { display: flex; align-items: center; gap: 12px; flex: none; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang-switch button { border: 0; background: var(--white); padding: 6px 12px; font-size: 13px; color: var(--muted); }
.lang-switch button.active { background: var(--green); color: var(--white); }
.hamburger { display: none; border: 1px solid var(--line); background: var(--white); border-radius: 8px; width: 40px; height: 40px; align-items: center; justify-content: center; }
.hamburger svg { width: 20px; height: 20px; color: var(--green-deep); }

/* 移动端抽屉 */
.drawer-mask { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200; }
.drawer { position: fixed; top: 0; right: -290px; width: 280px; height: 100vh; background: var(--white); z-index: 201; transition: right .25s ease; padding: 20px; display: flex; flex-direction: column; }
.drawer.open { right: 0; }
.drawer.open ~ .drawer-mask, .drawer-mask.show { display: block; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer-close { border: 0; background: none; font-size: 26px; color: var(--muted); line-height: 1; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { padding: 13px 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.drawer-nav a.active { color: var(--green); font-weight: 600; }
.drawer-lang { margin-top: 16px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; background: var(--green-deep) center/cover no-repeat; color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(7,43,33,.93) 0%, rgba(10,59,46,.72) 55%, rgba(10,59,46,.45) 100%); }
.hero-inner { position: relative; padding: 130px 0 150px; max-width: 760px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-light); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.hero-kicker::before { content: ""; width: 36px; height: 2px; background: var(--gold); }
.hero-title { font-size: 46px; line-height: 1.25; font-weight: 700; margin-bottom: 18px; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 34px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.stats-strip { position: relative; margin-top: -64px; z-index: 5; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 20px; text-align: center; border-top: 3px solid var(--gold); }
.stat-num { font-size: 32px; font-weight: 700; color: var(--green); line-height: 1.2; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------------- 页面小 Hero ---------------- */
.page-hero { position: relative; background: var(--green-deep) center/cover no-repeat; color: var(--white); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(7,43,33,.92) 0%, rgba(10,59,46,.65) 100%); }
.page-hero-inner { position: relative; padding: 72px 0; text-align: center; }
.page-hero-title { font-size: 34px; font-weight: 700; }
.page-hero-sub { color: rgba(255,255,255,.8); margin-top: 10px; font-size: 15px; }

/* ---------------- 通用 Section ---------------- */
.section { padding: 84px 0; }
.section-alt { background: var(--ivory); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.kicker { color: var(--gold); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.section-head h2 { font-size: 32px; color: var(--green-deep); margin: 10px 0 12px; line-height: 1.3; }
.section-head .sub { color: var(--muted); font-size: 15px; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; }
.ornament::before, .ornament::after { content: ""; width: 44px; height: 1px; background: var(--gold); }
.ornament i { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* ---------------- 按钮 ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 26px; border-radius: 8px; font-size: 15px; font-weight: 600; border: 1px solid transparent; transition: all .2s; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-deep); }
.btn-gold { background: var(--gold); color: #3d2f0f; }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn-ghost:hover { background: #ecf3ef; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ---------------- 分类筛选 ---------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.chip { padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 14px; }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.active { background: var(--green); border-color: var(--green); color: var(--white); }

/* ---------------- 产品卡片 ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pc-img { aspect-ratio: 4/3; overflow: hidden; background: #eef1ec; position: relative; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .pc-img img { transform: scale(1.05); }
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pc-name { font-size: 16px; font-weight: 600; color: var(--ink); }
.pc-summary { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.pc-meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.pc-price { color: #b8860b; font-size: 18px; font-weight: 700; }
.pc-price small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.pc-moq { font-size: 12px; color: var(--muted); }
.pc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pc-tag { font-size: 11px; background: var(--ivory); border: 1px solid var(--line); color: var(--muted); border-radius: 4px; padding: 2px 8px; }

/* ---------------- 工艺卡片 ---------------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.proc-img { aspect-ratio: 4/3; overflow: hidden; background: #eef1ec; position: relative; }
.proc-img img { width: 100%; height: 100%; object-fit: cover; }
.proc-num { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #3d2f0f; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.proc-body { padding: 16px 18px 20px; }
.proc-name { font-size: 16px; font-weight: 600; color: var(--green-deep); margin-bottom: 6px; }
.proc-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ---------------- 视频卡片 ---------------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); cursor: pointer; transition: transform .25s, box-shadow .25s; }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.vc-cover { aspect-ratio: 16/9; position: relative; background: #10231c; overflow: hidden; }
.vc-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .88; }
.vc-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.vc-play i { width: 58px; height: 58px; border-radius: 50%; background: rgba(200,162,75,.92); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.video-card:hover .vc-play i { transform: scale(1.1); }
.vc-play svg { width: 22px; height: 22px; color: #3d2f0f; margin-left: 3px; }
.vc-tag { position: absolute; top: 10px; right: 10px; background: rgba(7,43,33,.75); color: var(--gold-light); font-size: 12px; padding: 3px 10px; border-radius: 4px; }
.vc-title { padding: 14px 16px; font-size: 14px; font-weight: 500; color: var(--ink); }

/* ---------------- 视频弹窗 ---------------- */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.78); z-index: 300; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-mask.show { display: flex; }
.vm-box { position: relative; width: 100%; max-width: 920px; background: #000; border-radius: 10px; overflow: hidden; }
.vm-box video, .vm-box iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; background: #000; }
.vm-title { position: absolute; top: 0; left: 0; right: 0; padding: 14px 52px 14px 18px; color: #fff; font-size: 15px; background: linear-gradient(rgba(0,0,0,.55), transparent); }
.vm-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 20px; line-height: 1; z-index: 2; }
.vm-close:hover { background: rgba(255,255,255,.3); }

/* ---------------- CTA 咨询引导 ---------------- */
.cta-band { background: linear-gradient(120deg, var(--green-deep) 0%, #115943 60%, #0e4d3c 100%); color: var(--white); padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-title { font-size: 28px; font-weight: 700; }
.cta-sub { color: rgba(255,255,255,.8); margin-top: 8px; font-size: 15px; }
.cta-phone { color: var(--gold-light); font-weight: 700; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- 表单 ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-item { display: flex; flex-direction: column; gap: 7px; }
.form-item.full { grid-column: 1 / -1; }
.form-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-label em { color: #c0392b; font-style: normal; margin-left: 2px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 11px 14px; border: 1px solid #d8d3c8; border-radius: 8px; font-size: 14px; color: var(--ink); background: var(--white); outline: none; transition: border-color .2s, box-shadow .2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(14,77,60,.12); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-err { color: #c0392b; font-size: 12px; display: none; }
.form-item.has-error .form-input, .form-item.has-error .form-select, .form-item.has-error .form-textarea { border-color: #c0392b; }
.form-item.has-error .form-err { display: block; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }

/* ---------------- 询盘页布局 ---------------- */
.inquiry-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 26px; align-items: start; }
.inq-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); padding: 30px; }
.side-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); padding: 22px 24px; margin-bottom: 18px; }
.side-card h3 { font-size: 16px; color: var(--green-deep); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.side-card h3 svg { width: 18px; height: 18px; color: var(--gold); }
.side-card p, .side-card a.line { font-size: 14px; color: var(--ink); display: block; padding: 5px 0; }
.side-card a.line:hover { color: var(--green); }
.side-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------------- 联系方式页 ---------------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 34px 26px; text-align: center; }
.cc-icon { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; background: #ecf3ef; display: flex; align-items: center; justify-content: center; }
.cc-icon svg { width: 28px; height: 28px; color: var(--green); }
.cc-title { font-size: 17px; font-weight: 600; color: var(--green-deep); margin-bottom: 8px; }
.cc-value { font-size: 16px; color: var(--ink); font-weight: 500; word-break: break-all; }
.cc-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.contact-card .btn { margin-top: 16px; }

/* ---------------- 关于我们 ---------------- */
.about-intro { display: grid; grid-template-columns: 6fr 6fr; gap: 36px; align-items: center; }
.about-text p { margin-bottom: 14px; color: var(--ink); font-size: 15px; text-align: justify; }
.about-imgs { display: grid; gap: 16px; }
.about-imgs img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); aspect-ratio: 16/9; object-fit: cover; background: #eef1ec; }
.mode-card { background: linear-gradient(120deg, #0a3b2e, #115943); color: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.mode-card h3 { color: var(--gold-light); font-size: 22px; margin-bottom: 14px; }
.mode-card p { color: rgba(255,255,255,.88); font-size: 15px; }
.equip-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; margin-top: 8px; }
.equip-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.equip-item svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert-card { background: var(--white); border: 1px dashed var(--gold); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.cert-card svg { width: 34px; height: 34px; color: var(--gold); margin: 0 auto 12px; }
.cert-card h4 { font-size: 15px; color: var(--green-deep); }
.cert-card p { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------------- 产品详情 ---------------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }
.detail-layout { display: grid; grid-template-columns: 6fr 6fr; gap: 40px; align-items: start; }
.main-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #eef1ec; aspect-ratio: 4/3; }
.main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs img { width: 76px; height: 58px; object-fit: cover; border-radius: 6px; border: 2px solid transparent; cursor: pointer; background: #eef1ec; }
.thumbs img.active { border-color: var(--gold); }
.d-name { font-size: 26px; color: var(--green-deep); line-height: 1.35; margin-bottom: 10px; }
.d-summary { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.d-price-row { background: var(--ivory); border-radius: 8px; padding: 16px 20px; display: flex; align-items: baseline; gap: 18px; margin-bottom: 20px; }
.d-price { color: #b8860b; font-size: 26px; font-weight: 700; }
.d-price small { font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.d-moq { font-size: 13px; color: var(--muted); }
.d-attrs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 22px; }
.d-attr { font-size: 14px; color: var(--ink); display: flex; gap: 8px; }
.d-attr b { color: var(--muted); font-weight: 500; flex: none; }
.d-desc { border-top: 1px solid var(--line); padding-top: 18px; font-size: 14px; color: var(--ink); white-space: pre-line; }
.d-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.related h3 { font-size: 22px; color: var(--green-deep); text-align: center; margin-bottom: 30px; }

/* ---------------- 价格表 ---------------- */
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 26px; }
.price-card-head { padding: 18px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-card-head h3 { font-size: 17px; color: var(--green-deep); }
.price-card-head .note { font-size: 13px; color: var(--muted); }
.file-list { padding: 10px 24px 16px; }
.file-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.file-item:last-child { border-bottom: 0; }
.file-item svg { width: 20px; height: 20px; color: #b8860b; flex: none; }
.file-item .f-name { flex: 1; word-break: break-all; }
.file-item .f-ver { color: var(--muted); font-size: 12px; }
.file-item .f-date { color: var(--muted); font-size: 12px; }
.badge { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 999px; }
.badge-on { background: #ecf3ef; color: var(--green); border: 1px solid #b9d4c6; }
.price-table-wrap { overflow-x: auto; padding: 6px 0 0; }
.price-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 760px; }
.price-table th { background: var(--ivory); color: var(--green-deep); font-weight: 600; text-align: left; padding: 12px 14px; border-bottom: 2px solid var(--gold); white-space: nowrap; }
.price-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:hover td { background: #fbfaf7; }
.price-table .num { font-weight: 600; color: #b8860b; white-space: nowrap; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,.78); margin-top: 0; }
.f-grid { display: grid; grid-template-columns: 4fr 3fr 3fr 3fr; gap: 34px; padding: 58px 0 44px; }
.f-brand .logo-mark { margin-bottom: 14px; }
.f-brand strong { color: var(--white); font-size: 16px; display: block; margin-bottom: 10px; }
.f-brand p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.6); }
.f-col h4 { color: var(--gold-light); font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.f-col a, .f-col p { display: block; font-size: 13px; padding: 5px 0; color: rgba(255,255,255,.75); }
.f-col a:hover { color: var(--gold-light); }
.f-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 12px; color: rgba(255,255,255,.5); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------------- 空态 / 加载 / Toast ---------------- */
.empty { text-align: center; color: var(--muted); font-size: 14px; padding: 60px 0; }
.empty svg { width: 44px; height: 44px; color: #c8c2b4; margin: 0 auto 12px; }
.loading { text-align: center; color: var(--muted); padding: 60px 0; font-size: 14px; }
.loading::before { content: ""; display: block; width: 34px; height: 34px; margin: 0 auto 14px; border: 3px solid #dfe6e0; border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; top: 90px; left: 50%; transform: translateX(-50%) translateY(-16px); background: var(--green-deep); color: #fff; padding: 11px 22px; border-radius: 8px; font-size: 14px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all .25s; z-index: 400; max-width: 86vw; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: #157a4e; }
.toast.error { background: #b03a2e; }
.img-error { background: linear-gradient(135deg, #115943, #0a3b2e) !important; position: relative; }
.img-error img { visibility: hidden; }
.img-error::after { content: "FT"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-family: Georgia, serif; font-size: 26px; letter-spacing: 2px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
    .product-grid, .process-grid { grid-template-columns: repeat(3, 1fr); }
    .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 992px) {
    .nav { display: none; }
    .hamburger { display: inline-flex; }
    .hero-inner { padding: 90px 0 120px; }
    .hero-title { font-size: 36px; }
    .inquiry-layout, .detail-layout, .about-intro { grid-template-columns: 1fr; }
    .about-imgs { grid-template-columns: 1fr 1fr; }
    .video-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid, .cert-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .topbar-slogan { display: none; }
    .section { padding: 56px 0; }
    .product-grid, .process-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 30px; }
    .hero-sub { font-size: 15px; }
    .section-head h2 { font-size: 25px; }
    .page-hero-title { font-size: 26px; }
    .video-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .equip-list { grid-template-columns: 1fr; }
    .f-grid { grid-template-columns: 1fr; gap: 24px; padding: 44px 0 30px; }
    .price-table { min-width: 640px; }
}
@media (max-width: 480px) {
    .product-grid, .process-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 26px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-num { font-size: 24px; }
}
