/* ============================================================
   羽翎运动官网 — 运动专业感风格
   主色：羽翎蓝 #0a4b9c / 羽翎红 #d91b24
   参考 YONEX 官网专业运动器材调性
   ============================================================ */
:root {
  --blue: #0a4b9c;
  --blue-dark: #062c61;
  --blue-deep: #041c3d;
  --red: #d91b24;
  --red-dark: #b3141b;
  --ink: #0d1b2a;
  --gray: #4a5a6a;
  --gray-light: #8a96a4;
  --line: #e4e9ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-card: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 4px 20px rgba(10, 27, 42, 0.06);
  --shadow-lg: 0 16px 48px rgba(10, 27, 42, 0.12);
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用图标 ---------- */
.ico { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-lg { width: 28px; height: 28px; }

/* ---------- 导航 ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--gray); transition: all .15s; }
.nav-links a:hover { color: var(--blue); background: var(--bg-soft); }
.nav-links a.active { color: var(--blue); font-weight: 700; }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-weight: 700; font-size: 14px; padding: 9px 18px; border-radius: 8px; transition: all .15s; }
.nav-cta:hover { background: var(--red-dark); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; color: var(--blue-dark); }
.lang-switch { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 8px; font-weight: 700; font-size: 14px; color: var(--blue); border: 1.5px solid var(--line); transition: all .15s; margin-left: 4px; }
.lang-switch:hover { border-color: var(--blue); background: var(--bg-soft); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-weight: 700; font-size: 15px; transition: all .2s; line-height: 1; border: none; cursor: pointer; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 8px 24px rgba(10,75,156,.3); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 8px 24px rgba(217,27,36,.3); }
.btn-ghost { border: 1.5px solid var(--blue); color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { box-shadow: var(--shadow-lg); }

/* ---------- 区块 ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--red); text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: 36px; font-weight: 800; line-height: 1.25; color: var(--ink); letter-spacing: -0.3px; }
.section-desc { margin-top: 16px; color: var(--gray); font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 80% -20%, rgba(217,27,36,.22), transparent 60%),
    radial-gradient(700px 400px at -10% 120%, rgba(10,75,156,.35), transparent 55%),
    linear-gradient(160deg, #041c3d 0%, #062c61 60%, #0a4b9c 100%);
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 88px 24px 84px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.hero-content { max-width: 660px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.hero h1 { font-size: 50px; font-weight: 900; line-height: 1.14; letter-spacing: -0.5px; }
.hero h1 .accent { color: #ff6b72; }
.hero-sub { margin-top: 22px; font-size: 18px; color: rgba(255,255,255,.82); max-width: 620px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { margin-top: 52px; display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stat .num { font-size: 30px; font-weight: 900; }
.hero-stat .num span { color: #ff6b72; }
.hero-stat .label { font-size: 13px; color: rgba(255,255,255,.66); margin-top: 2px; }

.hero-visual {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
  background: transparent;
  aspect-ratio: 2 / 3;
}
.hero-visual picture { display: block; height: 100%; }
.hero-visual-img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 旧版玻璃卡片（英文站 en/ 仍在引用，保留兼容） */
.hero-brand {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px; padding: 40px 28px; text-align: center;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.hero-brand-logo { width: 160px; height: 160px; object-fit: contain; margin: 0 auto; }
.hero-brand-name { font-size: 22px; font-weight: 900; margin-top: 18px; letter-spacing: 3px; }
.hero-brand-tag { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.7); }

/* ---------- 业务卡片 ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all .25s; position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--red); transition: height .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { height: 100%; }
.service-card .icon {
  width: 52px; height: 52px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--blue);
  background: linear-gradient(135deg, rgba(10,75,156,.1), rgba(10,75,156,.02));
}
.service-card h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.service-card p { color: var(--gray); font-size: 15px; flex: 1; }
.service-card .tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--red); background: rgba(217,27,36,.08); padding: 4px 12px; border-radius: 999px; align-self: flex-start; }

/* ---------- 详细业务卡片（首页业务总览） ---------- */
.svc-detail { padding: 28px 26px; }
.svc-detail .svc-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.svc-detail .svc-head .icon { margin-bottom: 0; }
.svc-detail .svc-head h3 { margin-bottom: 3px; }
.svc-detail .svc-mini { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-light); }
.svc-detail .svc-desc { flex: none; margin-bottom: 16px; }
.svc-points { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; flex: 1; }
.svc-points li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--gray); line-height: 1.5; }
.svc-points li .ico { width: 16px; height: 16px; color: var(--blue); margin-top: 3px; flex: none; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--blue); transition: gap .15s, color .15s; }
.svc-more .ico { width: 16px; height: 16px; }
.svc-detail:hover .svc-more { gap: 10px; color: var(--red); }

/* ---------- 产品卡片 ---------- */
.product-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--gray); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }

.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-thumb { aspect-ratio: 4/3; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--blue); overflow: hidden; }
.product-thumb .ico { width: 56px; height: 56px; }
.product-thumb .ph-img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: 1px; text-transform: uppercase; }
.product-name { font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.4; }
.product-desc { font-size: 13px; color: var(--gray); flex: 1; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.product-price .cur { font-size: 20px; font-weight: 900; color: var(--red); }
.product-price .cur .yen { font-size: 13px; font-weight: 700; }
.product-price .old { font-size: 13px; color: var(--gray-light); text-decoration: line-through; }
.sold-out { opacity: .55; }
.sold-out .product-price { opacity: 1; }

/* 英文版产品卡片附加信息（批发价 / MOQ / 双入口） */
.product-extra { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: 12px; }
.product-extra .wholesale { color: var(--red); font-weight: 700; }
.product-extra .moq { color: var(--gray); }
.product-actions { display: flex; gap: 8px; margin-top: 14px; }
.btn-sm { padding: 8px 16px; font-size: 13px; font-weight: 700; }

/* ---------- 品牌信任条 ---------- */
.trust-bar { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 40px; padding: 28px 24px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
.trust-item .ico { color: var(--blue); }
.trust-item span { color: var(--gray); font-weight: 600; }

/* ---------- 高亮 CTA ---------- */
.highlight-box { background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep)); color: #fff; border-radius: var(--radius); padding: 48px; position: relative; overflow: hidden; }
.highlight-box::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(217,27,36,.3), transparent 70%); }

/* ---------- RFQ 表单（英文联系页） ---------- */
.rfq-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.rfq-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--ink); }
.form-group .req { color: var(--red); }
.form-group input, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .15s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { resize: vertical; }
.form-error { color: var(--red); font-size: 13px; font-weight: 600; }
.form-success { color: var(--blue); font-size: 14px; font-weight: 700; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.highlight-box h2 { font-size: 30px; font-weight: 900; margin-bottom: 14px; position: relative; }
.highlight-box p { color: rgba(255,255,255,.82); position: relative; }
.highlight-box .btn { margin-top: 24px; position: relative; }

/* ---------- 左右分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .visual { aspect-ratio: 1/1; border-radius: var(--radius); background: transparent; display: flex; align-items: center; justify-content: center; }
.split .visual img { width: min(82%, 340px); aspect-ratio: 1/1; object-fit: contain; background: #fff; border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
/* Brand Story 用整张竖版海报（v2）替换原方标：仅作用于 .brand-poster，不影响其它 .split */
.split .visual.brand-poster { aspect-ratio: 2 / 3; background: transparent; }
.split .visual.brand-poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: transparent; border-radius: 20px; padding: 0; box-shadow: var(--shadow); }
/* 穿线服务实拍图（3:2 横版，cover 填充，无白底留白） */
.split .visual.stringing-photo { aspect-ratio: 3 / 2; background: transparent; }
.split .visual.stringing-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: transparent; border-radius: 20px; padding: 0; box-shadow: var(--shadow); }
.visual-icon { width: 140px; height: 140px; border-radius: 28px; display: flex; align-items: center; justify-content: center; color: var(--blue); background: linear-gradient(135deg, rgba(10,75,156,.1), rgba(217,27,36,.06)); box-shadow: var(--shadow); }
.visual-icon .ico { width: 64px; height: 64px; }
.split ul { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; list-style: none; }
.split ul li { display: flex; gap: 12px; align-items: flex-start; color: var(--gray); }
.split ul li .ico { color: var(--blue); margin-top: 2px; }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 0 8px; }
.step .n { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 16px; background: var(--blue); color: #fff; font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.step h4 { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--gray); }

/* ---------- 页脚 ---------- */
.footer { background: var(--blue-deep); color: rgba(255,255,255,.78); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 16px; }
.footer .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer .logo .mark { width: 34px; height: 34px; border-radius: 8px; overflow: hidden; flex: none; }
.footer .logo .mark img { width: 100%; height: 100%; object-fit: cover; }
.footer .logo span:not(.mark) { color: #fff; font-weight: 800; font-size: 18px; }
.footer p, .footer a { font-size: 14px; }
.footer a { display: block; padding: 4px 0; transition: color .15s; }
.footer a:hover { color: #ff6b72; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* 企业微信客服悬浮入口（全站） */
.float-service {
  position: fixed; right: 22px; bottom: 22px; z-index: 999;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 14px;
  padding: 12px 18px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(217,27,36,.35);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.float-service:hover { transform: translateY(-2px); background: var(--red-dark); box-shadow: 0 14px 38px rgba(217,27,36,.45); }
.float-service .fs-ico { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- 页面页头 ---------- */
.page-hero { background: linear-gradient(160deg, #041c3d, #062c61); color: #fff; padding: 72px 0 64px; text-align: center; }
.page-hero h1 { font-size: 42px; font-weight: 900; }
.page-hero p { margin-top: 14px; font-size: 17px; color: rgba(255,255,255,.78); }
.badge-list { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.badge-list span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; }

/* ============================================================
   平台功能组件（改版新增）
   ============================================================ */

/* ---------- 核心功能金刚区 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 12px;
  transition: all .25s; position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card .fico {
  width: 54px; height: 54px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 8px 20px rgba(10, 75, 156, .25);
}
.feature-card.fc-orange .fico { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 8px 20px rgba(245, 158, 11, .25); }
.feature-card.fc-red .fico { background: linear-gradient(135deg, #e23a42, #b3141b); box-shadow: 0 8px 20px rgba(217, 27, 36, .25); }
.feature-card.fc-green .fico { background: linear-gradient(135deg, #0fa57c, #0a6b52); box-shadow: 0 8px 20px rgba(15, 165, 124, .25); }
.feature-card.fc-purple .fico { background: linear-gradient(135deg, #8a5cf6, #5f35c9); box-shadow: 0 8px 20px rgba(138, 92, 246, .25); }
.feature-card.fc-cyan .fico { background: linear-gradient(135deg, #0ea5e9, #0369a1); box-shadow: 0 8px 20px rgba(14, 165, 233, .25); }
.feature-card .fico .ico { width: 26px; height: 26px; }
.feature-card h3 { font-size: 20px; font-weight: 800; color: var(--ink); }
.feature-card p { color: var(--gray); font-size: 14px; flex: 1; }
.feature-card .fmore { font-weight: 700; color: var(--blue); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: gap .15s, color .15s; }
.feature-card .fmore .ico { width: 16px; height: 16px; }
.feature-card:hover .fmore { gap: 10px; color: var(--red); }

/* ---------- 板块图标色变体 ---------- */
.icon-teal .visual-icon, .icon-teal .service-card .icon { color: #0fa57c; }
.icon-purple .visual-icon, .icon-purple .service-card .icon { color: #8a5cf6; }
.icon-red .visual-icon, .icon-red .service-card .icon { color: #d91b24; }

/* ---------- 功能特性点（带编号） ---------- */
.cap-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.cap-list li { display: flex; gap: 14px; align-items: flex-start; }
.cap-list .cap-n {
  width: 26px; height: 26px; border-radius: 8px; flex: none; margin-top: 2px;
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.cap-list .cap-t b { display: block; font-size: 15px; color: var(--ink); }
.cap-list .cap-t span { font-size: 13.5px; color: var(--gray); }

/* ---------- 板块编号徽标 ---------- */
.section-num { display: inline-flex; align-items: center; gap: 10px; }
.section-num .num-badge { font-size: 12px; font-weight: 900; letter-spacing: 1px; color: var(--red); border: 1.5px solid rgba(217,27,36,.35); padding: 3px 10px; border-radius: 6px; }

/* ---------- 小程序码弹窗 ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(4, 28, 61, .62);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.mini-modal {
  background: #fff; border-radius: 18px; padding: 36px 32px 32px;
  max-width: 320px; width: 100%; text-align: center;
  position: relative; box-shadow: var(--shadow-lg);
  transform: translateY(8px); transition: transform .2s;
}
.modal-overlay.show .mini-modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border: none; background: var(--bg-soft);
  border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; color: var(--gray);
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--line); color: var(--ink); }
.mini-qr { width: 200px; height: 200px; margin: 0 auto 16px; background: var(--bg-soft); border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mini-qr img { width: 100%; height: 100%; object-fit: contain; }
.mini-qr .qr-tip { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--gray-light); font-size: 12px; text-align: center; line-height: 1.7; }
.mini-modal h3 { font-size: 20px; font-weight: 800; color: var(--ink); }
.mini-modal p { color: var(--gray); font-size: 14px; margin-top: 8px; }

/* ---------- 同城急送弹窗 ---------- */
.flash-modal {
  background: #fff; border-radius: 18px; padding: 30px 28px 26px;
  max-width: 560px; width: 100%;
  position: relative; box-shadow: var(--shadow-lg);
  transform: translateY(8px); transition: transform .2s;
  text-align: center;
}
.modal-overlay.show .flash-modal { transform: translateY(0); }
.flash-modal h3 { font-size: 22px; font-weight: 800; color: var(--ink); }
.flash-modal .fm-sub { color: var(--gray); font-size: 14px; margin: 8px 0 22px; }
.flash-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flash-item {
  border: 1.5px solid #ffe08a; border-radius: 16px;
  background: linear-gradient(160deg, #fffdf6 0%, #fff7dd 100%);
  padding: 18px 14px 16px; text-align: center;
}
.flash-item img {
  width: 132px; height: 132px; object-fit: contain;
  border-radius: 10px; background: #fff; padding: 6px;
  margin: 0 auto 12px; display: block;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .06);
}
.flash-item .fi-name { font-size: 16px; font-weight: 800; color: var(--ink); }
.flash-item .fi-desc { font-size: 13px; color: var(--gray); margin-top: 4px; }
.flash-item .fi-hint {
  display: inline-block; margin-top: 10px; padding: 4px 12px;
  font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #ff7a3d, #f7440b);
  border-radius: 999px; letter-spacing: .2px;
}
@media (max-width: 560px) {
  .flash-cols { grid-template-columns: 1fr; }
  .flash-item img { width: 150px; height: 150px; }
}

/* ---------- 卡片内图片（店铺码/宣传图） ---------- */
.service-card .card-img {
  margin-bottom: 16px;
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.service-card .card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}
.service-card .card-img .icon { margin-bottom: 0; }

/* 纯二维码美化框（美团这类无品牌设计的码） */
.service-card .card-img.qr-frame {
  background: linear-gradient(160deg, #fff9e6 0%, #fff3cf 100%);
  border: 1.5px solid #ffe08a;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 8px 22px rgba(255, 196, 0, .18);
}
.service-card .card-img.qr-frame img {
  border-radius: 10px;
  background: #fff;
  padding: 7px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
}

/* 抖音二维码美化框（深色系，呼应抖音品牌） */
.service-card .card-img.qr-frame.douyin-frame {
  background: linear-gradient(160deg, #18181a 0%, #2b2b2e 100%);
  border: 1.5px solid #3a3a3d;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}
.service-card .card-img.qr-frame.douyin-frame img {
  image-rendering: pixelated;  /* 小尺寸二维码放大保持锐利 */
}

/* 小红书二维码美化框（粉色系，呼应小红书品牌） */
.service-card .card-img.qr-frame.xhs-frame {
  background: linear-gradient(160deg, #fff1f3 0%, #ffe4e9 100%);
  border: 1.5px solid #ffc9d4;
  box-shadow: 0 8px 22px rgba(255, 36, 66, .12);
}

/* 快手二维码美化框（橙色系，呼应快手品牌） */
.service-card .card-img.qr-frame.kuaishou-frame {
  background: linear-gradient(160deg, #fff4ed 0%, #ffe8d9 100%);
  border: 1.5px solid #ffd0b3;
  box-shadow: 0 8px 22px rgba(255, 73, 6, .12);
}

/* 二维码卡片说明文字 */
.service-card .qr-hint {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .2px;
}

/* 同城急送标记（美团闪购 / 淘宝闪购） */
.service-card .flash-badge {
  display: inline-flex; align-items: center; gap: 3px;
  margin-left: 7px; padding: 3px 9px;
  background: linear-gradient(135deg, #ff7a3d, #f7440b);
  color: #fff; font-size: 11px; font-weight: 800;
  border-radius: 999px; vertical-align: middle;
  letter-spacing: .3px; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(247, 68, 11, .3);
}
.service-card .flash-badge svg { width: 11px; height: 11px; fill: currentColor; }
/* 闪购卡橙色描边 + 微暖底色，进一步区分 */
.service-card.quick-flash {
  border-color: #ffc9a8;
  background: linear-gradient(180deg, #fffdfb 0%, #ffffff 45%);
}

/* ---------- 微信公众号区块 ---------- */
.mp-card {
  display: flex; align-items: center; gap: 40px;
  background: linear-gradient(135deg, #f2fdf6 0%, #e6f9ee 100%);
  border: 1.5px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 36px 40px; flex-wrap: wrap;
}
.mp-qr {
  width: 160px; height: 160px; flex: none;
  background: #fff; border-radius: 14px; padding: 10px;
  box-shadow: 0 10px 26px rgba(7, 193, 96, .16);
}
.mp-qr img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; display: block; }
.mp-info { flex: 1; min-width: 260px; }
.mp-info .kicker { color: #07a552; }
.mp-info h2 { font-size: 24px; font-weight: 800; color: var(--ink); margin: 8px 0 10px; }
.mp-info p { color: var(--gray); font-size: 15px; line-height: 1.8; }
.mp-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; }
.mp-points li { display: flex; align-items: center; gap: 8px; color: var(--gray); font-size: 14px; }
.mp-points li::before { content: "✓"; color: #07c160; font-weight: 900; }

/* 页脚公众号二维码 */
.footer-mp { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.footer-mp img { width: 72px; height: 72px; border-radius: 8px; background: #fff; padding: 4px; display: block; flex: none; }
.footer-mp strong { display: block; font-size: 13.5px; color: #fff; font-weight: 700; }
.footer-mp span { font-size: 12px; color: rgba(255, 255, 255, .55); }

/* ---------- 移动端 / 微信内触摸反馈 ---------- */
a, button, .btn, [data-miniprogram] { -webkit-tap-highlight-color: transparent; }

@media (hover: none) {
  .btn:active, .nav-cta:active { transform: translateY(1px) scale(.985); }
  .service-card:active, .feature-card:active, .product-card:active, .step:active { transform: scale(.985); }
  .product-thumb:active, .card-img:active { opacity: .88; }
  .nav-links a:active, .footer a:active { opacity: .6; }
  .float-service:active { transform: scale(.92); }
  .modal-close:active { background: var(--line); }
}

/* ---------- 同城急送提示条 ---------- */
.quick-delivery {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff; border-radius: var(--radius); padding: 24px 32px; flex-wrap: wrap;
  box-shadow: 0 12px 32px rgba(10, 75, 156, .18);
}
.quick-delivery .qd-left { display: flex; align-items: center; gap: 16px; }
.quick-delivery .qd-icon {
  width: 48px; height: 48px; border-radius: 12px; flex: none;
  background: rgba(255, 255, 255, .16);
  display: flex; align-items: center; justify-content: center;
}
.quick-delivery .qd-icon .ico { width: 26px; height: 26px; }
.quick-delivery h3 { font-size: 19px; font-weight: 800; }
.quick-delivery p { color: rgba(255, 255, 255, .84); font-size: 14px; margin-top: 4px; }
@media (max-width: 640px) { .quick-delivery { padding: 20px; } }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; padding: 10px 20px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(10, 75, 156, .10);
  }
  .nav-links.open a {
    padding: 15px 10px; font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open a:last-child { border-bottom: none; }
  .nav-links.open a.active { color: var(--blue); font-weight: 800; background: rgba(10, 75, 156, .06); border-radius: 8px; }
  .nav-burger { display: block; font-size: 26px; padding: 4px 10px; line-height: 1; }
  .nav-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 20px 52px; }
  .hero h1 { font-size: 36px; }
  .hero-visual { max-width: 460px; margin: 0 auto; border-radius: 18px; }
  .grid-3, .grid-4, .feature-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split .visual { max-width: 340px; margin: 0 auto; order: -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .section-title { font-size: 26px; }
  /* 防横向溢出 */
  html, body { overflow-x: hidden; }
  img, picture, video { max-width: 100%; height: auto; }
  /* 移动端留白收紧 */
  .service-card { padding: 24px 20px; }
  .mp-card { padding: 24px 20px; gap: 22px; }
  .mp-qr { width: 132px; height: 132px; }
  /* 急送提示条按钮整行 */
  .quick-delivery .btn { width: 100%; justify-content: center; }
  /* iPhone 底部安全区 */
  .float-service { bottom: calc(18px + env(safe-area-inset-bottom)); }
}

/* ---------- 移动端底部操作栏 ---------- */
.mobile-bar { display: none; }

@media (max-width: 900px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
    display: flex; align-items: stretch;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -6px 22px rgba(10, 30, 60, .09);
  }
  .mobile-bar a {
    flex: 1 1 0; min-width: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 9px 2px 8px;
    font-size: 11.5px; font-weight: 700; line-height: 1.2;
    color: var(--gray); text-decoration: none;
    transition: color .15s, background .15s;
  }
  .mobile-bar a svg {
    width: 21px; height: 21px; flex: none;
    stroke: currentColor; fill: none;
    stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
  }
  .mobile-bar a:active { background: var(--bg-soft); }
  .mobile-bar a.is-active { color: var(--blue); }
  .mobile-bar a.bar-cta { color: var(--red); }
  .mobile-bar a.bar-cta.is-active { color: var(--red); }

  /* 底部栏占据的空间，避免遮挡页脚内容 */
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  /* 移动端由底部栏承担客服入口，隐藏右下角悬浮按钮 */
  .float-service { display: none !important; }
}
