/* =============================================================
   云成文轩教育官网 V1 原型 · 全站样式
   设计令牌见 :root；改主题色只需换 --c-primary / --c-accent
   ============================================================= */
:root {
  --c-primary: #1565C0;        /* 主色 深蓝 */
  --c-primary-dark: #0D47A1;   /* 主色-深 */
  --c-primary-soft: #E8F0FA;   /* 主色-浅底 */
  --c-accent: #E8890C;         /* 强调 橙（按钮/高亮，占比≤10%） */
  --c-text: #212121;           /* 正文 */
  --c-muted: #5A6472;          /* 次要文字 */
  --c-border: #E3E8EF;         /* 分割线 */
  --c-bg: #FFFFFF;
  --c-bg-soft: #F6F8FB;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(13, 71, 161, 0.08);
  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 原型提示条 ---------- */
.proto-note {
  background: #FFF7EC;
  color: #8A5A00;
  font-size: 13px;
  text-align: center;
  padding: 6px 40px;
  position: relative;
}
.proto-note button {
  position: absolute; right: 10px; top: 4px;
  background: none; border: none; color: #8A5A00; font-size: 16px; line-height: 1;
}

/* ---------- 顶部：Logo + 右上角四个入口 ---------- */
.topbar { background: var(--c-bg); border-bottom: 1px solid var(--c-border); }
.topbar-in {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 1px;
}
.logo-text b { display: block; font-size: 19px; letter-spacing: 2px; color: var(--c-primary-dark); }
.logo-text span { display: block; font-size: 11.5px; color: var(--c-muted); letter-spacing: .5px; }

/* 页头宣传语 */
.top-slogan {
  font-size: 15px; font-weight: 600; letter-spacing: 1.5px;
  color: var(--c-primary); white-space: nowrap;
  padding-left: 18px; border-left: 1px solid var(--c-border);
}

.top-entries { display: flex; align-items: center; gap: 6px; }
.top-entry {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: var(--radius);
  font-size: 13.5px; color: var(--c-muted);
  border: 1px solid transparent; background: none;
  transition: all .2s;
}
.top-entry:hover { color: var(--c-primary); background: var(--c-primary-soft); }
.top-entry svg { width: 16px; height: 16px; flex: none; }
.top-entry.phone { color: var(--c-accent); font-weight: 600; }
.top-entry.phone:hover { background: #FDF3E5; color: #C56F00; }

/* 二维码悬浮层 */
.qr-pop {
  position: absolute; top: 52px; right: 12px; z-index: 60;
  background: #fff; border: 1px solid var(--c-border); border-radius: 10px;
  box-shadow: var(--shadow); padding: 12px; text-align: center;
  display: none;
}
.qr-pop.open { display: block; }
.qr-pop .qr { width: 120px; height: 120px; border-radius: 6px; }
.qr-pop p { font-size: 12px; color: var(--c-muted); margin-top: 6px; }
.top-entry-wrap { position: relative; }

/* ---------- 导航（六栏，吸顶） ---------- */
.nav {
  background: var(--c-primary-dark);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 8px rgba(13, 71, 161, .18);
}
.nav-in {
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-list { display: flex; }
.nav-list a {
  display: block; color: #CFE0F5; font-size: 15.5px; letter-spacing: 1px;
  padding: 14px 26px; transition: all .2s; position: relative;
}
.nav-list a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-list a.active { color: #fff; }
.nav-list a.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 6px; width: 22px; height: 3px; border-radius: 2px; background: var(--c-accent);
}
.nav-burger {
  display: none; background: none; border: none; padding: 10px;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* ---------- 轮播（3 个广告位，3 秒切换） ---------- */
.carousel { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform .6s ease; }
.slide {
  min-width: 100%; height: 480px;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 calc((100% - var(--maxw)) / 2 + 20px);
  color: #fff; position: relative;
}
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.22), transparent 55%);
}
.slide-in { max-width: 620px; position: relative; z-index: 2; }
.slide h2 { font-size: 42px; line-height: 1.3; letter-spacing: 2px; margin-bottom: 14px; }
.slide p { font-size: 17px; opacity: .92; margin-bottom: 28px; }
.slide-1 {
  background:
    linear-gradient(90deg, rgba(13,71,161,.85) 0%, rgba(13,71,161,.5) 42%, rgba(13,71,161,.12) 75%),
    url('banners/banner-yunnan.jpg') center/cover no-repeat,
    linear-gradient(120deg, #0D47A1 0%, #1565C0 55%, #2A83D8 100%);
}
.slide-2 {
  background:
    linear-gradient(90deg, rgba(19,78,142,.85) 0%, rgba(19,78,142,.5) 42%, rgba(19,78,142,.12) 75%),
    url('banners/banner-zhicheng.jpg') center/cover no-repeat,
    linear-gradient(120deg, #134E8E 0%, #1E6BB8 60%, #3D8FD0 100%);
}
.slide-3 {
  background:
    linear-gradient(90deg, rgba(11,61,122,.87) 0%, rgba(11,61,122,.52) 42%, rgba(11,61,122,.14) 75%),
    url('banners/banner-chuban.jpg') center/cover no-repeat,
    linear-gradient(120deg, #0B3D7A 0%, #1565C0 50%, #E8890C 130%);
}
.slide-4 {
  background:
    linear-gradient(90deg, rgba(13,79,79,.85) 0%, rgba(13,79,79,.5) 42%, rgba(13,79,79,.12) 75%),
    url('banners/banner-pth.jpg') center/cover no-repeat,
    linear-gradient(120deg, #0D4F4F 0%, #1573A8 60%, #2A9DD8 100%);
}
.slide-5 {
  background:
    linear-gradient(90deg, rgba(18,59,120,.85) 0%, rgba(18,59,120,.5) 42%, rgba(18,59,120,.12) 75%),
    url('banners/banner-hezuo.jpg') center/cover no-repeat,
    linear-gradient(120deg, #123B78 0%, #1E5FAE 55%, #E8890C 140%);
}
.slide-6 {
  background:
    linear-gradient(90deg, rgba(13,71,161,.87) 0%, rgba(13,71,161,.52) 42%, rgba(13,71,161,.14) 75%),
    url('banners/banner-zhuanjia-v2.jpg') center/cover no-repeat,
    linear-gradient(120deg, #0D47A1 0%, #1565C0 55%, #2A83D8 100%);
}
.btn {
  display: inline-block; border-radius: var(--radius); font-size: 16px;
  padding: 12px 32px; letter-spacing: 1px; transition: all .2s; border: none;
}
.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { background: #C56F00; transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.7); color: #fff; background: none; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* 轮播控制 */
.car-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.car-dots button {
  width: 34px; height: 4px; border-radius: 2px; border: none;
  background: rgba(255,255,255,.4); transition: .2s;
}
.car-dots button.on { background: #fff; }
.car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.18); color: #fff; font-size: 20px;
  transition: .2s; display: flex; align-items: center; justify-content: center;
}
.car-arrow:hover { background: rgba(255,255,255,.34); }
.car-prev { left: 18px; }
.car-next { right: 18px; }

/* ---------- 通用段落标题 ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--c-bg-soft); }
.sec-head { text-align: center; margin-bottom: 42px; }
.sec-head h2 { font-size: 30px; letter-spacing: 2px; color: var(--c-primary-dark); }
.sec-head h2 em { font-style: normal; color: var(--c-accent); }
.sec-head p { color: var(--c-muted); font-size: 15px; margin-top: 8px; }
.sec-head .bar { width: 46px; height: 4px; background: var(--c-accent); border-radius: 2px; margin: 14px auto 0; }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.p-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: 12px;
  padding: 30px 22px; text-align: center; transition: all .25s;
  display: flex; flex-direction: column; align-items: center;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #BBD2EE; }
.p-icon {
  width: 76px; height: 76px; border-radius: 18px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.p-icon svg { width: 38px; height: 38px; }
.bg-pth { background: linear-gradient(135deg, #1565C0, #42A5F5); }
.bg-jc  { background: linear-gradient(135deg, #00897B, #4DB6AC); }
.bg-zgk { background: linear-gradient(135deg, #E8890C, #F2B355); }
.bg-zc  { background: linear-gradient(135deg, #7B1FA2, #BA68C8); }
.p-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--c-text); }
.p-card p { font-size: 13.5px; color: var(--c-muted); flex: 1; margin-bottom: 18px; }
.p-card .more {
  font-size: 14px; color: var(--c-primary); border: 1px solid var(--c-primary);
  padding: 7px 24px; border-radius: 999px; transition: all .2s;
}
.p-card .more:hover { background: var(--c-primary); color: #fff; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* 新闻卡片为 <a> 链接时去除默认下划线，保持卡片外观一致 */
a.news-card { text-decoration: none; color: inherit; display: flex; }
a.news-card h3 { color: var(--c-text); }
.news-card .news-more { font-size: 13px; color: var(--c-primary); margin-top: auto; }

/* ---------- 信任区（数据 + 院校） ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.stat {
  background: #fff; border-radius: 12px; padding: 30px 10px; text-align: center;
  border: 1px solid var(--c-border);
}
.stat b { display: block; font-size: 42px; color: var(--c-primary); font-weight: 700; line-height: 1.2; }
.stat b i { font-style: normal; font-size: 18px; margin-left: 3px; }
.stat span { font-size: 14px; color: var(--c-muted); }
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 22px 12px 16px; background: #fff; border: 1px solid var(--c-border);
  border-radius: 12px; text-align: center; transition: all .22s;
}
.partner:hover {
  border-color: #BBD2EE; transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(21, 101, 192, .10);
}
.partner-logo {
  width: 68px; height: 68px; flex: none; background: #fff; border-radius: 10px; padding: 5px;
}
.partner-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.partner-name {
  font-size: 13.5px; color: var(--c-text); line-height: 1.45;
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.partner:hover .partner-name { color: var(--c-primary); }

/* ---------- 页脚 ---------- */
.footer { background: #0E2A52; color: #A9BEDC; margin-top: 20px; }
.footer-in {
  max-width: var(--maxw); margin: 0 auto; padding: 46px 20px 0;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 30px;
}
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; letter-spacing: 1px; }
.footer p, .footer a { font-size: 13.5px; line-height: 2.1; color: #A9BEDC; }
.footer a:hover { color: #fff; }
.footer .qr { width: 92px; height: 92px; border-radius: 6px; margin: 6px 0; }
.footer-qr { display: flex; gap: 18px; }
.footer-qr div { text-align: center; }
.footer-beian {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px;
  padding: 16px 20px; text-align: center; font-size: 12.5px; color: #7E96B8;
}
.footer-beian a { color: #7E96B8; font-size: 12.5px; }
.footer-beian a:hover { color: #fff; }

/* ---------- 悬浮咨询 / 移动端底栏 ---------- */
.float-consult {
  position: fixed; right: 18px; top: 44%; z-index: 55;
  display: flex; flex-direction: column; gap: 10px;
}
.float-consult a {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-primary); color: #fff; font-size: 12.5px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(13,71,161,.3); transition: .2s; text-align: center; line-height: 1.3;
}
.float-consult a:hover { transform: scale(1.06); }
.float-consult a.wechat { background: #2AAE67; }
.float-consult a.wechat:hover { background: #229457; }
.m-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
  background: #fff; border-top: 1px solid var(--c-border);
  grid-template-columns: 1fr 1fr 2fr;
}
.m-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11.5px; padding: 8px 0 10px; color: var(--c-muted); }
.m-bar a svg { width: 20px; height: 20px; margin-bottom: 2px; }
.m-bar a.apply { background: var(--c-accent); color: #fff; font-size: 15px; font-weight: 600; }
body.has-mbar { padding-bottom: 62px; }

/* =============================================================
   产品详情页
   ============================================================= */
.crumb { background: var(--c-bg-soft); border-bottom: 1px solid var(--c-border); }
.crumb-in {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 20px;
  font-size: 13.5px; color: var(--c-muted);
}
.crumb-in a:hover { color: var(--c-primary); }
.crumb-in b { color: var(--c-primary); font-weight: 600; }

/* 段一：产品展示（主图 + 图集） */
.pd-hero { display: grid; grid-template-columns: 7fr 5fr; gap: 34px; align-items: start; }
.pd-gallery .main-shot {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--c-border);
  aspect-ratio: 16 / 10; position: relative; background: #EEF3F9;
}
.shot {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #fff; gap: 8px;
}
.shot b { font-size: 22px; letter-spacing: 2px; }
.shot span { font-size: 13px; opacity: .85; }
.shot-1 { background: linear-gradient(135deg, #0D47A1, #1E88E5); }
.shot-2 { background: linear-gradient(135deg, #1558A8, #42A5F5); }
.shot-3 { background: linear-gradient(135deg, #14508F, #3D8FD0); }
.shot-4 { background: linear-gradient(135deg, #123C77, #2A6FC0); }
.shot-5 { background: linear-gradient(135deg, #0F4490, #4D9FEC); }
.shot-6 { background: linear-gradient(135deg, #10407E, #3579C9); }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.thumbs .th {
  aspect-ratio: 4 / 3; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; opacity: .75; transition: .2s;
}
.thumbs .th:hover, .thumbs .th.on { opacity: 1; border-color: var(--c-accent); }
.thumbs .th .shot { border-radius: 6px; }
.thumbs .th b { font-size: 13px; }

/* 图集：图片版（后台直接替换图片即可） */
.pd-gallery .shot-wrap { margin: 0; width: 100%; height: 100%; position: relative; }
.pd-gallery .shot-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}
.pd-gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 22px 16px; color: #fff;
  background: linear-gradient(180deg, rgba(6,26,54,0), rgba(6,26,54,.84));
}
.pd-gallery figcaption b { display: block; font-size: 19px; letter-spacing: 1px; margin-bottom: 5px; }
.pd-gallery figcaption span { font-size: 13px; opacity: .86; }
.thumbs .th { padding: 0; background: #fff; overflow: hidden; display: block; }
.thumbs .th img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; border-radius: 4px; }
.thumbs .th:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }

.pd-info h1 { font-size: 30px; letter-spacing: 1px; color: var(--c-primary-dark); margin-bottom: 6px; }
.pd-info .tagline { color: var(--c-accent); font-size: 15.5px; margin-bottom: 20px; }
.pd-info .desc { color: var(--c-muted); font-size: 15px; margin-bottom: 24px; }
.pd-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.pd-feats li {
  background: var(--c-primary-soft); border-radius: 8px; padding: 12px 14px;
  font-size: 14px; color: #23456F; display: flex; gap: 8px; align-items: flex-start;
}
.pd-feats li::before { content: "✓"; color: var(--c-primary); font-weight: 700; flex: none; }
.pd-cta { display: flex; gap: 14px; align-items: center; }
.pd-cta .tel { color: var(--c-accent); font-size: 21px; font-weight: 700; }
.pd-cta .tel small { display: block; font-size: 12.5px; color: var(--c-muted); font-weight: 400; }

/* 段二：产品介绍 */
.rich p { margin-bottom: 14px; font-size: 15.5px; }
.rich h3 { font-size: 19px; color: var(--c-primary-dark); margin: 30px 0 12px; padding-left: 12px; border-left: 4px solid var(--c-accent); }
.rich ul li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 15px; }
.rich ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary); }
.rich table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 14.5px; }
.rich th, .rich td { border: 1px solid var(--c-border); padding: 10px 12px; text-align: left; }
.rich th { background: var(--c-primary-soft); color: var(--c-primary-dark); white-space: nowrap; }

/* 段三：合作方案 */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  border: 1.5px solid var(--c-border); border-radius: 14px; padding: 30px 26px;
  background: #fff; position: relative; display: flex; flex-direction: column;
}
.plan.hot { border-color: var(--c-accent); box-shadow: var(--shadow); }
.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--c-accent); color: #fff; font-size: 12.5px;
  padding: 3px 16px; border-radius: 999px; letter-spacing: 2px;
}
.plan h3 { font-size: 19px; text-align: center; color: var(--c-primary-dark); margin-bottom: 6px; }
.plan .price { text-align: center; font-size: 13px; color: var(--c-muted); margin-bottom: 18px; }
.plan .price b { font-size: 30px; color: var(--c-accent); }
.plan .price i { font-style: normal; font-size: 14px; }
.plan ul { flex: 1; margin-bottom: 22px; }
.plan ul li { padding: 8px 0; border-bottom: 1px dashed var(--c-border); font-size: 14px; color: var(--c-muted); }
.plan ul li::before { content: "·"; color: var(--c-accent); font-weight: 900; margin-right: 8px; }
.plan .btn { text-align: center; display: block; }
.btn-line { border: 1.5px solid var(--c-primary); color: var(--c-primary); background: none; }
.btn-line:hover { background: var(--c-primary); color: #fff; }

/* 段四：合作登记 */
.apply-wrap { display: grid; grid-template-columns: 7fr 4fr; gap: 36px; align-items: start; }
.form { background: #fff; border: 1px solid var(--c-border); border-radius: 14px; padding: 32px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; margin-bottom: 6px; font-weight: 600; }
.form-row label i { color: #D33; font-style: normal; margin-left: 2px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; border: 1px solid var(--c-border); border-radius: 8px;
  padding: 11px 14px; font-size: 15px; font-family: inherit; color: var(--c-text);
  transition: border-color .2s, box-shadow .2s; background: #FBFCFE;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(21,101,192,.12); background: #fff;
}
.form-row .err { display: none; color: #D33; font-size: 12.5px; margin-top: 4px; }
.form-row.invalid input, .form-row.invalid select, .form-row.invalid textarea { border-color: #D33; }
.form-row.invalid .err { display: block; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { width: 100%; font-size: 16.5px; padding: 14px; }
.form-tip { font-size: 12.5px; color: var(--c-muted); text-align: center; margin-top: 12px; }

/* 表单分组标题与选项组（性别等） */
.form-group-title {
  font-size: 13px; font-weight: 700; color: var(--c-primary); letter-spacing: .06em;
  margin: 4px 0 16px; padding-left: 10px; line-height: 1.2;
  border-left: 3px solid var(--c-accent);
}
.form-group-title + .form-group-title { margin-top: 26px; }
.form-row .hint { font-size: 12.5px; color: var(--c-muted); margin-top: 5px; line-height: 1.5; }
.radio-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pills label {
  display: inline-flex; align-items: center; gap: 7px; margin: 0; cursor: pointer;
  padding: 9px 18px; border: 1.5px solid var(--c-border); border-radius: 8px;
  background: #fff; font-size: 14px; font-weight: 400; transition: all .18s;
}
.radio-pills label:hover { border-color: var(--c-accent); }
.radio-pills input {
  width: auto; margin: 0; padding: 0; border: none; background: none;
  accent-color: var(--c-primary); box-shadow: none;
}
.radio-pills label:has(input:checked) {
  border-color: var(--c-primary); background: var(--c-primary-soft);
  color: var(--c-primary); font-weight: 600;
}
.form-ok {
  display: none; text-align: center; padding: 40px 10px;
}
.form-ok.show { display: block; }
.form-ok .ok-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #E6F5EC; color: #2AAE67;
  font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.form-ok h3 { color: #2AAE67; margin-bottom: 8px; }
.form-ok p { color: var(--c-muted); font-size: 14px; }

.contact-card {
  background: linear-gradient(160deg, var(--c-primary-dark), var(--c-primary));
  color: #fff; border-radius: 14px; padding: 30px 26px; text-align: center;
}
.contact-card h3 { font-size: 18px; margin-bottom: 6px; }
.contact-card p { font-size: 13.5px; opacity: .85; margin-bottom: 20px; }
.contact-card .qr { width: 150px; height: 150px; border-radius: 10px; margin: 0 auto 8px; background: #fff; }
.contact-card .tel { font-size: 22px; font-weight: 700; margin-top: 14px; }
.contact-card .tel small { display: block; font-size: 12px; opacity: .8; font-weight: 400; }

/* 占位二维码图形 */
.qr {
  position: relative; overflow: hidden;
}
.qr svg { width: 100%; height: 100%; }


/* ---------- 联系我们页 ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 4fr; gap: 36px; align-items: start; }
.c-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 4px; border-bottom: 1px dashed var(--c-border); font-size: 15px;
}
.c-list li:last-child { border-bottom: none; }
.c-list .ic {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--c-primary-soft); color: var(--c-primary);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.c-list .ic svg { width: 20px; height: 20px; }
.c-list b { display: block; font-size: 13px; color: var(--c-muted); font-weight: 400; margin-bottom: 2px; }

/* 业务联系人（可多位，按负责区域区分） */
.people-list { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 4px; }
.people-list .person {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 6px 12px; border: 1px solid var(--c-border); border-radius: 10px;
  background: #F8FAFD; font-size: 13.5px; line-height: 1.5;
}
.people-list .pn { font-style: normal; font-weight: 700; color: var(--c-ink, #1B2A3D); }
.people-list .pt { font-weight: 600; color: var(--c-accent); text-decoration: none; letter-spacing: .2px; }
.people-list .pt:hover { text-decoration: underline; }
.people-list .pw {
  font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 5px;
  background: #E8F5E9; color: #2E7D32; white-space: nowrap;
}
.people-list .pa { font-style: normal; font-size: 12.5px; color: var(--c-muted); }
@media (max-width: 640px) {
  .people-list { flex-direction: column; align-items: flex-start; }
  .people-list .person { width: 100%; }
}

/* 产品页咨询区 · 区域对接人 */
.apply-people {
  display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap;
  max-width: 760px; margin: 0 auto 20px;
}
.apply-people .ap-label {
  flex: none; font-size: 13px; font-weight: 600; color: var(--c-primary);
  background: var(--c-primary-soft); padding: 6px 12px; border-radius: 10px; margin-top: 2px;
}

.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.tab-btn {
  border: 1.5px solid var(--c-border); background: #fff; color: var(--c-muted);
  padding: 9px 24px; border-radius: 999px; font-size: 14.5px; transition: all .2s;
}
.tab-btn:hover { border-color: var(--c-accent); color: var(--c-accent); }
.tab-btn.on { border-color: var(--c-accent); color: var(--c-accent); background: #FDF3E5; font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.on { display: block; }
.reg-wrap { max-width: 760px; margin: 0 auto; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(4, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .slide { height: 400px; }
  .slide h2 { font-size: 32px; }
  .pd-hero, .apply-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top-entries .top-entry:not(.phone) { display: none; }
  .top-slogan { display: none; }
  .nav-burger { display: block; }
  .nav-list {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--c-primary-dark); flex-direction: column;
    box-shadow: 0 10px 20px rgba(0,0,0,.2);
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 13px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .slide { height: 340px; padding: 0 22px; }
  .slide h2 { font-size: 26px; }
  .slide p { font-size: 14.5px; }
  .section { padding: 44px 0; }
  .sec-head h2 { font-size: 23px; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .partners { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partner { padding: 16px 10px 12px; gap: 10px; }
  .partner-logo { width: 56px; height: 56px; }
  .stat { padding: 20px 10px; }
  .stat b { font-size: 32px; }
  .footer-in { grid-template-columns: 1fr; }
  .m-bar { display: grid; }
  body.has-mbar { padding-bottom: 62px; }
  .float-consult { display: none; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .form-2col { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .pd-feats { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pd-cta { flex-wrap: wrap; }
}
