/* ============================================================
   威海鑫航国际货运代理有限公司 企业官网 — 全站样式
   色调：深蓝 #0B2B57 / #123C7A + 浅灰 #F4F6FA + 白
   ============================================================ */
:root {
  --navy-900: #081F3F;
  --navy-800: #0B2B57;
  --navy-700: #123C7A;
  --navy-600: #1B4E9B;
  --blue-500: #2E6FD8;
  --blue-400: #4C8BEA;
  --gold: #C9A24B;
  --gray-bg: #F4F6FA;
  --gray-line: #E3E8F0;
  --text-main: #1F2A3D;
  --text-sub: #5A6B85;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(11, 43, 87, .12);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--navy-900); color: #B9C6DC; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a:hover { color: #fff; }
.topbar .links { display: flex; gap: 18px; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 54px; width: auto; display: block; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  color: #fff; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center; letter-spacing: 1px;
}
.logo-text .cn { font-size: 20px; font-weight: 800; color: var(--navy-800); letter-spacing: 1px; }
.logo-text .en { font-size: 11px; color: var(--text-sub); letter-spacing: 2px; text-transform: uppercase; }
.main-nav { display: flex; gap: 6px; }
.main-nav a {
  padding: 10px 16px; border-radius: 8px; font-size: 15.5px; font-weight: 600;
  color: var(--text-main); transition: .2s;
}
.main-nav a:hover { color: var(--blue-500); background: #EFF4FD; }
.main-nav a.active { color: var(--blue-500); }
.main-nav a.active::after {
  content: ""; display: block; height: 3px; width: 22px; margin: 3px auto 0;
  border-radius: 3px; background: var(--blue-500);
}
.nav-cta {
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  color: #fff !important; padding: 10px 22px !important; border-radius: 24px !important;
}
.menu-btn { display: none; background: none; border: 1px solid var(--gray-line); border-radius: 8px; padding: 8px 12px; font-size: 20px; }

/* ---------- 首页轮播 ---------- */
.hero { position: relative; height: 640px; overflow: hidden; color: #fff; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s;
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide.s1 { background:
  radial-gradient(1000px 500px at 85% 20%, rgba(46,111,216,.45), transparent 60%),
  linear-gradient(120deg, #081F3F 0%, #0B2B57 45%, #123C7A 100%); }
.hero-slide.s2 { background:
  radial-gradient(900px 480px at 15% 80%, rgba(201,162,75,.25), transparent 60%),
  linear-gradient(120deg, #0A2447 0%, #123C7A 55%, #1B4E9B 100%); }
.hero-slide.s3 { background:
  radial-gradient(900px 500px at 80% 75%, rgba(76,139,234,.4), transparent 60%),
  linear-gradient(120deg, #071B37 0%, #0B2B57 60%, #14406F 100%); }
.hero-inner { position: relative; z-index: 2; }
.hero-tag {
  display: inline-block; padding: 6px 16px; border: 1px solid rgba(255,255,255,.4);
  border-radius: 20px; font-size: 13px; letter-spacing: 3px; margin-bottom: 22px; color: #DCE7F8;
}
.hero h1 { font-size: 52px; line-height: 1.25; letter-spacing: 2px; max-width: 720px; }
.hero h1 em { font-style: normal; color: #FFD98A; }
.hero p { margin-top: 18px; font-size: 18px; color: #C7D6EE; max-width: 640px; }
.hero-btns { margin-top: 36px; display: flex; gap: 16px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 34px;
  border-radius: 30px; font-size: 16px; font-weight: 600; border: none; transition: .25s;
}
.btn-gold { background: linear-gradient(135deg, #D8B25E, #C9A24B); color: #fff; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,162,75,.4); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots span { width: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.35); cursor: pointer; transition: .3s; }
.hero-dots span.on { background: #fff; width: 52px; }
.hero-deco {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 560px; opacity: .5; z-index: 1;
}

/* ---------- 数据条 ---------- */
.stats { background: var(--navy-800); color: #fff; padding: 34px 0; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { font-size: 40px; color: #FFD98A; font-weight: 800; }
.stat span { display: block; margin-top: 4px; color: #B9C6DC; font-size: 14px; letter-spacing: 1px; }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--gray-bg); }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .kicker {
  color: var(--blue-500); font-weight: 700; letter-spacing: 4px; font-size: 13px;
  text-transform: uppercase;
}
.sec-head h2 { font-size: 34px; color: var(--navy-800); margin-top: 8px; letter-spacing: 1px; }
.sec-head .bar { width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue-500), var(--gold)); margin: 16px auto 0; }
.sec-head p.desc { color: var(--text-sub); margin-top: 14px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- 业务卡片 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.biz-card {
  background: #fff; border-radius: var(--radius); padding: 34px 26px; position: relative;
  border: 1px solid var(--gray-line); transition: .3s; overflow: hidden;
}
.biz-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.biz-card .no { position: absolute; right: 14px; top: 8px; font-size: 60px; font-weight: 800; color: #EDF2FA; line-height: 1; }
.biz-icon {
  width: 58px; height: 58px; border-radius: 14px; font-size: 26px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  background: linear-gradient(135deg, #E8F0FD, #D5E4FB); color: var(--navy-700);
}
.biz-card h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 10px; }
.biz-card p { font-size: 14px; color: var(--text-sub); }
.biz-card .more { display: inline-block; margin-top: 16px; color: var(--blue-500); font-weight: 600; font-size: 14px; }
.biz-card.star { background: linear-gradient(150deg, var(--navy-800), var(--navy-700)); border: none; color: #fff; }
.biz-card.star h3, .biz-card.star .more { color: #FFD98A; }
.biz-card.star p { color: #C7D6EE; }
.biz-card.star .no { color: rgba(255,255,255,.08); }
.biz-card.star .biz-icon { background: rgba(255,255,255,.12); color: #FFD98A; }
.biz-card .star-badge {
  position: absolute; left: 0; top: 16px; background: var(--gold); color: #fff;
  font-size: 12px; padding: 3px 12px; border-radius: 0 12px 12px 0; letter-spacing: 1px;
}

/* ---------- 关于速览 / 双栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .visual {
  height: 420px; border-radius: 18px; position: relative; overflow: hidden;
  background:
    radial-gradient(400px 240px at 20% 15%, rgba(76,139,234,.5), transparent 60%),
    linear-gradient(135deg, #0B2B57, #1B4E9B);
  display: flex; align-items: flex-end;
}
.split .visual .cap {
  width: 100%; padding: 18px 24px; background: rgba(8,31,63,.55); color: #DCE7F8;
  font-size: 14px; letter-spacing: 1px;
}
.check-list li { display: flex; gap: 10px; margin-bottom: 14px; color: var(--text-sub); font-size: 15px; }
.check-list li::before { content: "✔"; color: var(--gold); font-weight: 800; }
.check-list li b { color: var(--text-main); }

/* ---------- 企业文化 ---------- */
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.culture-card {
  background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius);
  padding: 30px 26px; transition: .3s;
}
.culture-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.culture-card .tag {
  display: inline-block; background: #EAF1FC; color: var(--navy-700); font-weight: 700;
  font-size: 13px; padding: 4px 14px; border-radius: 14px; margin-bottom: 14px; letter-spacing: 2px;
}
.culture-card p { color: var(--text-sub); font-size: 14.5px; }
.culture-card.hl { grid-column: span 2; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); border: none; color: #fff; }
.culture-card.hl p { color: #C7D6EE; }
.culture-card.hl .tag { background: rgba(255,255,255,.15); color: #FFD98A; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  transform: translateX(-50%); background: linear-gradient(var(--blue-400), var(--navy-700));
}
.tl-item { position: relative; width: 50%; padding: 0 44px 44px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::after {
  content: ""; position: absolute; top: 6px; width: 15px; height: 15px; border-radius: 50%;
  background: #fff; border: 4px solid var(--blue-500); z-index: 2;
}
.tl-item:nth-child(odd)::after { right: -9px; }
.tl-item:nth-child(even)::after { left: -9px; }
.tl-item .phase { color: var(--blue-500); font-weight: 800; font-size: 14px; letter-spacing: 2px; }
.tl-item h4 { color: var(--navy-800); font-size: 18px; margin: 6px 0; }
.tl-item p { color: var(--text-sub); font-size: 14px; }

/* ---------- 分支机构 ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.branch-card {
  background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius);
  padding: 28px; display: flex; gap: 20px; transition: .3s;
}
.branch-card:hover { box-shadow: var(--shadow); }
.branch-card .icon {
  width: 54px; height: 54px; flex: none; border-radius: 12px; font-size: 24px;
  background: #EAF1FC; color: var(--navy-700); display: flex; align-items: center; justify-content: center;
}
.branch-card h3 { font-size: 18px; color: var(--navy-800); }
.branch-card p { font-size: 14px; color: var(--text-sub); margin-top: 4px; }
.branch-card .meta { margin-top: 10px; font-size: 14px; }
.branch-card .meta a { color: var(--blue-500); font-weight: 600; }

/* ---------- 实景展示 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; height: 240px;
  display: flex; align-items: flex-end; cursor: pointer;
}
.g-tile .bg { position: absolute; inset: 0; transition: .5s; }
.g-tile:hover .bg { transform: scale(1.06); }
.g-tile .label {
  position: relative; width: 100%; padding: 40px 20px 16px; color: #fff; font-weight: 700; font-size: 17px;
  background: linear-gradient(transparent, rgba(8,31,63,.85));
}
.g-tile .label small { display: block; font-weight: 400; font-size: 12px; color: #C7D6EE; letter-spacing: 1px; }
.bg1 { background: radial-gradient(360px 200px at 25% 20%, rgba(76,139,234,.55), transparent), linear-gradient(135deg, #123C7A, #1B4E9B); }
.bg2 { background: radial-gradient(360px 200px at 75% 25%, rgba(201,162,75,.4), transparent), linear-gradient(135deg, #0B2B57, #123C7A); }
.bg3 { background: radial-gradient(360px 200px at 30% 70%, rgba(46,111,216,.5), transparent), linear-gradient(135deg, #071B37, #0B2B57); }
.bg4 { background: radial-gradient(360px 200px at 70% 70%, rgba(76,139,234,.45), transparent), linear-gradient(135deg, #14406F, #2E6FD8); }
.bg5 { background: radial-gradient(360px 200px at 40% 30%, rgba(201,162,75,.35), transparent), linear-gradient(135deg, #0A2447, #14406F); }
.bg6 { background: radial-gradient(360px 200px at 65% 40%, rgba(46,111,216,.55), transparent), linear-gradient(135deg, #081F3F, #1B4E9B); }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.video-card {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-line);
  background: #fff; transition: .3s;
}
.video-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.video-card .thumb {
  height: 170px; position: relative; display: flex; align-items: center; justify-content: center;
}
.video-card .play {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--navy-700);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.video-card .info { padding: 16px 18px; }
.video-card .info h4 { color: var(--navy-800); font-size: 16px; }
.video-card .info p { font-size: 13px; color: var(--text-sub); margin-top: 4px; }

/* ---------- 询价表单 ---------- */
.quote-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.quote-side {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-700)); color: #fff;
  border-radius: 18px; padding: 36px;
}
.quote-side h3 { font-size: 22px; margin-bottom: 14px; }
.quote-side p { color: #C7D6EE; font-size: 14.5px; margin-bottom: 10px; }
.quote-side .hotline { margin-top: 24px; font-size: 26px; font-weight: 800; color: #FFD98A; }
.form-card { background: #fff; border: 1px solid var(--gray-line); border-radius: 18px; padding: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: span 2; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-line); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #FAFBFE; transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 3px rgba(46,111,216,.12);
}
.submit-btn {
  width: 100%; margin-top: 22px; padding: 15px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: 2px; transition: .25s;
}
.submit-btn:hover { box-shadow: 0 10px 26px rgba(27,78,155,.35); transform: translateY(-2px); }
.form-ok {
  display: none; margin-top: 18px; padding: 14px 16px; border-radius: 10px;
  background: #E9F8EF; color: #177A3E; font-size: 14px; border: 1px solid #BFE8CD;
}

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: .3s;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.news-card .cover { height: 150px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-size: 40px; }
.news-card .body { padding: 20px; }
.news-card .date { font-size: 12px; color: var(--blue-500); letter-spacing: 1px; font-weight: 700; }
.news-card h4 { color: var(--navy-800); font-size: 16.5px; margin: 8px 0; line-height: 1.5; }
.news-card p { font-size: 13.5px; color: var(--text-sub); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 50px; }
.contact-item {
  background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; transition: .3s;
}
.contact-item:hover { box-shadow: var(--shadow); }
.contact-item .ci-icon { font-size: 30px; margin-bottom: 12px; }
.contact-item h4 { color: var(--navy-800); font-size: 16px; margin-bottom: 6px; }
.contact-item p { font-size: 14px; color: var(--text-sub); }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, #081F3F, #123C7A); color: #fff; text-align: center;
  padding: 70px 0;
}
.cta-band h2 { font-size: 30px; letter-spacing: 2px; }
.cta-band p { color: #B9C6DC; margin: 12px 0 28px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-900); color: #8FA3C2; font-size: 14px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 40px; }
.footer-main h4 { color: #fff; font-size: 16px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-main li { margin-bottom: 10px; }
.footer-main a:hover { color: #fff; }
.footer-about p { margin-top: 14px; line-height: 1.9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; font-size: 13px;
}

/* ---------- 悬浮联系按钮 ---------- */
.float-bar {
  position: fixed; right: 22px; bottom: 120px; z-index: 950;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%; border: none; color: #fff; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(11,43,87,.25); transition: .25s;
}
.float-btn:hover { transform: scale(1.1); }
.fb-wechat { background: #2AAE67; }
.fb-qq { background: #12B7F5; }
.fb-tel { background: #FF7A3C; }
.fb-msg { background: var(--navy-700); }
.fb-chat { background: linear-gradient(135deg, #7A4CFF, #4C8BEA); width: 58px; height: 58px; font-size: 24px; }

/* 弹窗 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(8,31,63,.55); z-index: 1000;
  display: none; align-items: center; justify-content: center;
}
.modal-mask.show { display: flex; }
.modal-box {
  background: #fff; border-radius: 18px; padding: 36px; width: min(400px, 90vw);
  text-align: center; position: relative; animation: pop .25s;
}
@keyframes pop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close {
  position: absolute; right: 14px; top: 12px; background: none; border: none;
  font-size: 24px; color: #98A6BD;
}
.qr-ph {
  width: 190px; height: 190px; margin: 18px auto; border-radius: 12px;
  background: repeating-linear-gradient(45deg, #E8EEF8 0 10px, #F7FAFF 10px 20px);
  display: flex; align-items: center; justify-content: center; color: #8FA3C2; font-size: 13px;
  border: 1px dashed #C4D2E8;
}
.modal-box h3 { color: var(--navy-800); }
.modal-box p { color: var(--text-sub); font-size: 14px; }

/* ---------- AI 智能客服 ---------- */
.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 960;
  width: 370px; max-width: 92vw; height: 520px; max-height: 76vh;
  background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(8,31,63,.3);
  display: none; flex-direction: column; overflow: hidden;
}
.chat-panel.show { display: flex; }
.chat-head {
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500)); color: #fff;
  padding: 16px 18px; display: flex; align-items: center; gap: 12px;
}
.chat-head .bot-ava {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.chat-head h4 { font-size: 15.5px; }
.chat-head small { color: #C7D6EE; font-size: 12px; }
.chat-head .chat-x { margin-left: auto; background: none; border: none; color: #fff; font-size: 20px; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: #F7F9FD; }
.msg { display: flex; gap: 10px; margin-bottom: 14px; }
.msg .m-ava {
  width: 32px; height: 32px; flex: none; border-radius: 50%; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.msg.bot .m-ava { background: #E5EEFC; }
.msg.user { flex-direction: row-reverse; }
.msg .bubble {
  max-width: 76%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.65;
}
.msg.bot .bubble { background: #fff; border: 1px solid var(--gray-line); border-top-left-radius: 4px; color: var(--text-main); }
.msg.user .bubble { background: var(--blue-500); color: #fff; border-top-right-radius: 4px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 10px; background: #F7F9FD; }
.chat-quick button {
  border: 1px solid #C9D8F0; background: #fff; color: var(--navy-700); font-size: 12.5px;
  padding: 5px 12px; border-radius: 14px;
}
.chat-quick button:hover { background: #EAF1FC; }
.chat-input { display: flex; border-top: 1px solid var(--gray-line); }
.chat-input input { flex: 1; border: none; padding: 14px 16px; font-size: 14px; font-family: inherit; outline: none; }
.chat-input button {
  border: none; background: var(--blue-500); color: #fff; padding: 0 22px; font-size: 14px; font-weight: 700;
}

/* ---------- 企业歌曲播放器 ---------- */
.music-player {
  position: fixed; left: 22px; bottom: 22px; z-index: 950;
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px;
  background: rgba(11,43,87,.92); border-radius: 40px; color: #fff;
  box-shadow: 0 10px 30px rgba(8,31,63,.35); backdrop-filter: blur(8px);
}
.music-btn {
  width: 42px; height: 42px; border-radius: 50%; border: none; font-size: 17px;
  background: linear-gradient(135deg, #D8B25E, #C9A24B); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.music-btn.playing { animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(201,162,75,.5); } 50% { box-shadow: 0 0 0 10px rgba(201,162,75,0); } }
.music-info { line-height: 1.3; }
.music-info b { font-size: 13.5px; display: block; }
.music-info span { font-size: 11.5px; color: #B9C6DC; }

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: all .8s ease; }
.reveal.on { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .biz-grid, .culture-grid, .news-grid, .video-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .quote-wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
}
@media (max-width: 720px) {
  /* 顶栏与导航 */
  .topbar { display: none; }
  .nav-wrap { height: 62px; }
  .logo-img { height: 42px; }
  .main-nav {
    display: none; position: absolute; top: 62px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 10px 4%; border-bottom: 1px solid var(--gray-line);
    box-shadow: 0 20px 40px rgba(8,31,63,.12); z-index: 99;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 6px; border-bottom: 1px solid #F0F3F9; font-size: 16px; }
  .main-nav a.nav-cta { border: none; margin-top: 8px; text-align: center; }
  .menu-btn { display: block; }
  .nav-cta { display: none; }

  /* 首屏 */
  .hero { height: 78vh; min-height: 480px; }
  .hero h1 { font-size: 30px; letter-spacing: 0; }
  .hero p { font-size: 15px; margin-top: 14px; }
  .hero-tag { font-size: 12px; padding: 5px 12px; }
  .hero-btns { margin-top: 26px; flex-wrap: wrap; gap: 12px; }
  .hero-btns .btn { flex: 1 1 auto; text-align: center; padding: 13px 20px; font-size: 15px; }
  .hero-dots { bottom: 22px; }
  .hero-deco { display: none; }

  /* 数据条 */
  .stats { padding: 26px 0; }
  .stats .container { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stat b { font-size: 30px; }
  .stat span { font-size: 12.5px; }

  /* 各栅格收为单列 */
  .biz-grid, .culture-grid, .news-grid, .video-grid, .gallery-grid, .branch-grid,
  .contact-grid, .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-grid .full { grid-column: span 1; }

  /* 标题与间距 */
  h2 { font-size: 24px !important; }
  .sec-head .desc, .kicker { font-size: 12px; }

  /* 时间线 */
  .tl-item { width: 100% !important; left: 0 !important; text-align: left !important; padding-left: 34px; padding-right: 0; }
  .timeline::before { left: 8px; }
  .tl-item::after { left: 1px !important; right: auto !important; }
  .tl-item .phase { font-size: 12px; }

  /* 表单 */
  input, select, textarea { font-size: 16px; } /* 防 iOS 聚焦自动放大 */

  /* 悬浮按钮区：底部居中一排 */
  .float-bar {
    left: 50%; right: auto; transform: translateX(-50%);
    bottom: 14px; flex-direction: row; gap: 10px; padding: 8px 10px;
  }
  .float-btn { width: 42px; height: 42px; font-size: 17px; }
  .float-btn span { display: none; }

  /* 企业歌曲播放器（左上收窄） */
  .music-player { left: 12px; bottom: 14px; padding: 6px 10px 6px 6px; gap: 8px; }
  .music-info { max-width: 90px; overflow: hidden; }
  .music-info b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .music-info span { display: none; }
  .music-btn { width: 36px; height: 36px; font-size: 15px; }

  /* AI 客服 */
  .chat-panel {
    position: fixed; right: 3vw; left: 3vw; bottom: 74px; width: auto; max-height: 62vh;
  }
  .chat-quick button { font-size: 13px; }

  /* 页脚 */
  .footer-main { grid-template-columns: 1fr; gap: 26px; padding: 40px 0 30px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 25px; }
  .hero { min-height: 440px; }
  .stat b { font-size: 26px; }
  h2 { font-size: 21px !important; }
}
