/* 不再 @import 第三方字体 CSS（原来每次首屏都要多一个外部请求，且阻塞渲染）；
   标题字体改用系统衬线栈兜底，见 --font-serif */
/* ============================================================
   郑州星泰新材料有限公司官网 - 全站样式
   主色：工业蓝 #1a5fb4   强调色：星泰红 #C8102E
   ============================================================ */
:root {
  --blue: #1a5fb4;
  --blue-dark: #10407f;
  --blue-light: #eaf1fb;
  --red: #C8102E;
  --bg: #f5f7fa;
  --text: #333;
  --muted: #6b7683;
  --border: #e3e8ef;
  --white: #fff;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(16, 64, 127, 0.08);
  --shadow-lg: 0 6px 24px rgba(16, 64, 127, 0.14);
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
  /* 内容再少也不让页脚悬空：整页竖向撑满视口 */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }
img { max-width: 100%; display: block; }
/* <picture> 只用于格式协商，不参与布局 */
picture { display: contents; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
/* 流式容器：始终占满视口宽度（只保留左右留白），大屏不再被锁死在 1200px */
.container {
  width: 100%;
  margin: 0 auto;
  padding-inline: clamp(16px, 2.4vw, 64px);
}

/* ---------------- 页头（公司名 + 热线） ---------------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand .brand-logo { height: 46px; width: auto; max-width: 120px; object-fit: contain; flex: 0 0 auto; }
.brand .brand-text { min-width: 0; }
.brand .brand-name { font-size: 24px; font-weight: 900; color: var(--red); font-family: "Noto Serif SC", "Source Han Serif SC", "SimSun", serif; letter-spacing: 3px; white-space: nowrap; line-height: 1.2; }
.brand .brand-sub { font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.header-contact { text-align: right; }
.header-contact .label { font-size: 12px; color: var(--muted); }
.header-contact .tel { font-size: 22px; font-weight: 700; color: var(--red); letter-spacing: 1px; }

/* ---------------- 主导航（含 slogan + 热线） ---------------- */
.main-nav { background: var(--blue); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(16,64,127,0.25); }
.main-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; }
.main-nav .nav-slogan {
  /* 网格叠放：两段文字占同一格，天然共享同一中心轴 */
  position: relative; display: inline-grid; align-items: center; justify-items: center;
  flex: 0 1 auto; min-width: 0;
  font-size: 21px; font-weight: 900;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, sans-serif;
  color: #ffd166; letter-spacing: 2px; margin-right: 16px; white-space: nowrap;
  /* 行高贴合文字：默认的 1.7 行高会把盒子撑高，导致文字看起来偏下 */
  line-height: 1.2;
}
.main-nav .nav-slogan .sl-a, .main-nav .nav-slogan .sl-b {
  grid-area: 1 / 1;            /* 同一格 */
  display: block; white-space: nowrap; text-align: center;
  line-height: 1.2;            /* 与容器一致，避免行高把文字推偏 */
  transition: opacity 0.25s ease;
}
.main-nav .nav-slogan .sl-b { opacity: 0; }
.main-nav .nav-hotline { font-size: 13px; color: #dfe9f7; margin-left: 16px; white-space: nowrap; }
.main-nav .nav-hotline .hotline { color: #fff; font-weight: 700; letter-spacing: 0.5px; }
.main-nav .nav-hotline .hotline i { font-style: normal; color: #ffd166; margin-right: 4px; }
.main-nav ul { display: flex; }
.main-nav ul li a {
  display: block; color: #fff; padding: 13px 26px; font-size: 15px; transition: background 0.2s;
}
.main-nav ul li a:hover, .main-nav ul li a.active { background: var(--blue-dark); }
.nav-toggle {
  display: none; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; padding: 8px;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  /* 背景图改为真正的 <img>（.hero-media），可被浏览器提前加载、支持 WebP 协商 */
  background: linear-gradient(135deg, rgba(8,36,72,0.34) 0%, rgba(14,54,104,0.26) 50%, rgba(24,72,132,0.22) 100%);
  color: #fff;
  /* 首屏始终撑满视口高度，大屏不留空 */
  min-height: clamp(440px, 74vh, 900px);
  display: flex;
  align-items: center;
  padding: clamp(44px, 6vh, 92px) 0;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg, rgba(8,36,72,0.34) 0%, rgba(14,54,104,0.26) 50%, rgba(24,72,132,0.22) 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; right: -140px; top: -140px; width: 480px; height: 480px; z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 65%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(28px, 3.1vw, 62px); font-weight: 800; letter-spacing: 4px; line-height: 1.3; text-shadow: 0 2px 16px rgba(0,0,0,0.5); }
.hero .hero-sub { margin-top: 14px; font-size: clamp(15px, 1.05vw, 22px); color: #d7e6f8; letter-spacing: 2px; text-shadow: 0 1px 8px rgba(0,0,0,0.45); max-width: 72ch; }
.hero .hero-points { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .hero-points span {
  background: rgba(10,30,60,0.38); border: 1px solid rgba(255,255,255,0.5);
  padding: 6px 18px; border-radius: 999px; font-size: 14px;
  backdrop-filter: blur(3px); text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.hero .hero-more { margin-top: 36px; }
/* 主按钮：全站通用（原来只写在 .hero 下，导致 hero 之外的 CTA 没有样式） */
.btn-primary {
  display: inline-block; background: var(--red); color: #fff; padding: 11px 30px;
  border-radius: 999px; font-size: 15px; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(200,16,46,0.4); }
.hero .btn-primary { color: #fff; }

/* ---------------- 通用区块 ---------------- */
.section { padding: clamp(40px, 4.2vw, 84px) 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; margin-bottom: clamp(24px, 2.2vw, 44px); }
.section-head .en { font-size: 12px; color: var(--muted); letter-spacing: 4px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(22px, 1.8vw, 34px); color: var(--blue-dark); font-weight: 700; margin-top: 4px; letter-spacing: 1px; }
.section-head h2::after {
  content: ""; display: block; width: 46px; height: 3px; background: var(--red); margin: 12px auto 0; border-radius: 2px;
}
.section-head p { color: var(--muted); margin-top: 10px; max-width: 78ch; margin-inline: auto; }

/* ---------------- 产品卡片 ---------------- */
/* 自适应列数：屏越宽列越多，卡片始终把容器填满 */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 15vw, 340px), 1fr)); gap: clamp(14px, 1.2vw, 26px); }
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .card-img { position: relative; aspect-ratio: 4/3; background: var(--blue-light); overflow: hidden; }
.product-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card .card-img .ph-img { width: 100%; height: 100%; }
.product-card .card-img .ph-img svg { width: 100%; height: 100%; }
.product-card .card-cat {
  position: absolute; left: 10px; top: 10px; background: var(--red); color: #fff;
  font-size: 12px; padding: 2px 12px; border-radius: 999px;
}
.product-card .card-body { padding: 14px 16px 16px; }
.product-card .card-body h3 { font-size: 16px; color: var(--blue-dark); font-weight: 700; }
.product-card .card-body p { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 分类筛选 */
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-bar button {
  border: 1px solid var(--border); background: var(--white); color: var(--text);
  padding: 6px 20px; border-radius: 999px; cursor: pointer; font-size: 14px; transition: all 0.2s;
}
.filter-bar button.active, .filter-bar button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------------- 优势条 ---------------- */
.advantage-strip { background: var(--blue-dark); color: #fff; padding: 30px 0; }
.advantage-strip .strip-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.advantage-strip .strip-title { font-size: 22px; font-weight: 700; }
.advantage-strip .strip-title small { display: block; font-size: 13px; color: #b9cdf0; font-weight: 400; margin-top: 2px; }
.advantage-strip ul { display: flex; flex-wrap: wrap; gap: 20px; }
.advantage-strip ul li { color: #d7e6f8; font-size: 14px; }
.advantage-strip ul li::before { content: "√"; color: #ffd166; font-weight: 700; margin-right: 6px; }

/* ---------------- 工程案例轮播 ---------------- */
.case-carousel { position: relative; max-width: min(1180px, 100%); margin: 0 auto; }
.case-track { overflow: hidden; border-radius: var(--radius); }
.case-slides { display: flex; transition: transform 0.5s ease; }
.case-slide { flex: 0 0 100%; min-width: 100%; position: relative; }
.case-slide .slide-img { aspect-ratio: 21/8; background: var(--blue-light); }
.case-slide .slide-img svg, .case-slide .slide-img img { width: 100%; height: 100%; object-fit: cover; }
.case-slide .slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 24px 16px;
  background: linear-gradient(transparent, rgba(16,64,127,0.82)); color: #fff; font-size: 16px;
}
.case-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.case-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #c3d2e8; cursor: pointer; padding: 0; }
.case-dots button.active { background: var(--red); }

/* ---------------- 数据统计 ---------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(160px, 12vw, 260px), 1fr)); gap: clamp(12px, 1vw, 22px); margin-top: 30px; }
.stat { text-align: center; padding: 22px 10px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.stat .num { font-size: 34px; font-weight: 800; color: var(--blue); }
.stat .lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------------- 关于 ---------------- */
.about-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 2.6vw, 56px); align-items: start; }
.about-text { max-width: 78ch; }
.about-text p { margin-bottom: 14px; color: #4a5561; }
.about-figure { position: relative; min-height: 280px; background: var(--blue-light); border-radius: var(--radius); overflow: hidden; }
.about-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-figure .fig-main { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; }
.about-figure .fig-sub {
  position: absolute; right: -14px; bottom: -14px; width: 52%;
  border: 6px solid #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 26px rgba(0,0,0,0.22);
  aspect-ratio: 3/2; background: #fff;
}

/* 四大优势 */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 22vw, 460px), 1fr)); gap: clamp(14px, 1.2vw, 24px); }
.adv-item { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 22px 24px; transition: box-shadow 0.2s; }
.adv-item:hover { box-shadow: var(--shadow-lg); }
.adv-item h3 { font-size: 17px; color: var(--blue-dark); }
.adv-item h3 span { color: var(--red); margin-right: 8px; }
.adv-item p { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

/* ---------------- 新闻 ---------------- */
.news-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(320px, 30vw, 900px), 1fr)); gap: clamp(14px, 1.2vw, 24px); }
.news-item {
  display: flex; gap: 18px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px; cursor: pointer; transition: box-shadow 0.2s;
}
.news-item:hover { box-shadow: var(--shadow-lg); }
.news-item .date-box { flex: 0 0 74px; text-align: center; background: var(--blue-light); border-radius: var(--radius); padding: 10px 0; align-self: center; }
.news-item .date-box .d { font-size: 22px; font-weight: 800; color: var(--blue); line-height: 1.2; }
.news-item .date-box .m { font-size: 12px; color: var(--muted); }
.news-item .news-body h3 { font-size: 16px; color: var(--text); font-weight: 600; }
.news-item .news-body p { font-size: 13px; color: var(--muted); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 新闻详情弹层 */
.news-modal { position: fixed; inset: 0; background: rgba(16,32,52,0.55); z-index: 200; display: none; align-items: flex-start; justify-content: center; padding: 60px 20px; overflow-y: auto; }
.news-modal.open { display: flex; }
.news-modal .modal-box { background: #fff; border-radius: 10px; max-width: 760px; width: 100%; padding: 30px 34px; position: relative; }
.news-modal .modal-close { position: absolute; right: 16px; top: 12px; font-size: 26px; color: #999; cursor: pointer; border: 0; background: none; line-height: 1; }
.news-modal .modal-close:hover { color: var(--red); }
.news-modal .modal-title { font-size: 21px; color: var(--blue-dark); padding-right: 30px; }
.news-modal .modal-date { font-size: 13px; color: var(--muted); margin: 10px 0 18px; }
.news-modal .modal-content p { margin-bottom: 12px; }

/* ---------------- 联系页 ---------------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; }
.contact-card h3 { font-size: 18px; color: var(--blue-dark); margin-bottom: 16px; }
.contact-card .row { display: flex; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.contact-card .row:last-child { border-bottom: 0; }
.contact-card .row .k { flex: 0 0 86px; color: var(--muted); }
.contact-card .row .v { color: var(--text); }
.contact-card .row .v.tel { color: var(--red); font-weight: 700; font-size: 17px; }
.msg-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; }
.msg-form h3 { font-size: 18px; color: var(--blue-dark); margin-bottom: 16px; }
.msg-form label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 6px; }
.msg-form input, .msg-form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; font-size: 14px; font-family: inherit;
}
.msg-form input:focus, .msg-form textarea:focus { outline: none; border-color: var(--blue); }
.msg-form textarea { min-height: 120px; resize: vertical; }
.msg-form .btn-submit {
  margin-top: 16px; background: var(--blue); color: #fff; border: 0; border-radius: 6px;
  padding: 11px 34px; font-size: 15px; cursor: pointer; transition: background 0.2s;
}
.msg-form .btn-submit:hover { background: var(--blue-dark); }
.form-tip { margin-top: 12px; font-size: 13px; }
.form-tip.ok { color: #1a8f4c; }
.form-tip.err { color: var(--red); }

/* ---------------- 发展历程（时间轴） ---------------- */
.milestones { position: relative; max-width: min(860px, 100%); margin: 0 auto; padding-left: 30px; }
.milestones::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--blue);
}
.milestones li { position: relative; padding: 0 0 26px 22px; }
.milestones li::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--white); border: 3px solid var(--blue);
}
.milestones li:last-child { padding-bottom: 0; }
.milestones strong {
  display: inline-block; background: var(--blue-light); color: var(--blue); border-radius: 6px;
  padding: 2px 14px; font-size: 15px; margin-right: 14px;
}
.milestones span { color: var(--text); font-size: 15px; }

/* 荣誉资质 */
.honor-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 20vw, 430px), 1fr)); gap: 18px; max-width: min(1200px, 100%); margin: 0 auto; }
.honor-list li {
  background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--red);
  border-radius: var(--radius); padding: 16px 20px; font-size: 15px; color: var(--blue-dark); font-weight: 600;
}
@media (max-width: 768px) { .honor-list { grid-template-columns: 1fr; } }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #16304f; color: #b9c9de; font-size: 13.5px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 48px); padding: 42px 0 30px; }
.footer-main h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-main .footer-tag { color: #ffd166; font-weight: 700; letter-spacing: 1px; }
.footer-main p { margin-bottom: 6px; }
.footer-main a { color: #b9c9de; }
.footer-main a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 14px 0; text-align: center; font-size: 12.5px; color: #8fa4c0; }
.footer-bottom a.admin-link { color: #8fa4c0; text-decoration: underline; }

/* ---------------- 页面横幅（内页） ---------------- */
.page-banner {
  background: linear-gradient(135deg, #12437f, #1a5fb4 60%, #2f7bd4);
  color: #fff; padding: 40px 0; text-align: center;
}
.page-banner h1 { font-size: 30px; letter-spacing: 2px; }
.page-banner .crumb { margin-top: 8px; font-size: 13px; color: #c4d6f0; }

/* ---------------- 响应式 ---------------- */
/* 中等宽度：收起右侧热线，给放大的 slogan 腾位置，避免压到菜单 */
@media (max-width: 1599px) and (min-width: 1025px) {
  .main-nav .nav-hotline { display: none; }
  .main-nav .nav-slogan { font-size: 20px; letter-spacing: 1px; margin-right: 12px; }
  .main-nav ul li a { padding: 13px 18px; }
}

/* 大屏（2K 及以上）：整体放大一档，内容继续铺满 */
@media (min-width: 1600px) {
  body { font-size: 16px; }
  .main-nav ul li a { padding: 15px 30px; font-size: 16px; }
  .hero .hero-points span { font-size: 15px; padding: 7px 20px; }
  .product-card .card-body h3 { font-size: 17px; }
  .product-card .card-body p { font-size: 14px; }
  .adv-item h3 { font-size: 19px; }
  .adv-item p { font-size: 15px; }
  .news-item .news-body h3 { font-size: 17px; }
  .stat .num { font-size: 40px; }
  .footer-main { font-size: 14.5px; }
}
@media (min-width: 2200px) {
  body { font-size: 17px; }
  .stat .num { font-size: 46px; }
}

/* 平板 / 小桌面：导航切换为汉堡菜单 */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .header-contact .tel { font-size: 18px; }
  .brand .brand-name { font-size: 17px; letter-spacing: 2px; }
  .brand .brand-sub { display: none; }
  .hero h1 { font-size: 36px; }
  .main-nav ul {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--blue); flex-direction: column; box-shadow: 0 6px 14px rgba(16,64,127,0.3);
  }
  .main-nav ul.open { display: flex; }
  .main-nav ul li a { padding: 13px 24px; border-top: 1px solid rgba(255,255,255,0.15); }
  .nav-toggle { display: block; }
  .nav-slogan { display: none; }
}
/* 手机 */
@media (max-width: 768px) {
  .nav-slogan { display: inline; font-size: 16px; letter-spacing: 1px; }
  .nav-hotline { display: none; }
  .brand .brand-logo { height: 34px; max-width: 90px; }
  .brand .brand-name { font-size: 16px; letter-spacing: 1px; }
  .brand .brand-sub { display: none; }
  .header-contact .label { display: none; }
  .header-contact .tel { font-size: 17px; }
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero { padding: 52px 0; }
  .hero h1 { font-size: 30px; letter-spacing: 2px; }
  .hero .hero-sub { font-size: 15px; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .news-list { grid-template-columns: 1fr; }
  .adv-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-head h2 { font-size: 23px; }
  .section-head p { font-size: 13px; }
  .advantage-strip .strip-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding: 44px 0; }
  .hero h1 { font-size: 26px; }
  .hero .hero-points { gap: 8px; }
  .hero .hero-points span { padding: 5px 12px; font-size: 13px; }
  .case-slide .slide-cap { font-size: 14px; padding: 24px 16px 12px; }
  .stat .num { font-size: 26px; }
  .news-item { padding: 14px 16px; gap: 12px; }
  .news-item .date-box { flex: 0 0 60px; }
  .news-item .date-box .d { font-size: 18px; }
  .adv-item { padding: 18px 16px; }
  .page-banner { padding: 30px 0; }
  .page-banner h1 { font-size: 24px; }
  .contact-card, .msg-form { padding: 18px; }
  .edit-modal .edit-box, .news-modal .modal-box { padding: 20px 18px; }
}
/* 小屏手机 */
@media (max-width: 420px) {
  .site-header .container { padding: 8px 14px; }
  .brand .brand-name { font-size: 15px; letter-spacing: 0.5px; }
  .header-contact .tel { font-size: 15px; }
  .product-card .card-body { padding: 10px 12px; }
  .product-card .card-body h3 { font-size: 14px; }
  .product-card .card-body p { font-size: 12px; }
  .filter-bar button { padding: 5px 14px; font-size: 13px; }
  .site-footer, .footer-bottom { font-size: 12px; }
  .footer-main { gap: 22px; padding: 30px 0 20px; }
}

/* ============================================================
   诚招人才
   ============================================================ */
.join-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 20vw, 340px), 1fr)); gap: clamp(14px, 1.2vw, 22px); }
.join-perk { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 18px 20px; }
.join-perk strong { display: block; color: var(--blue-dark); font-size: 16px; }
.join-perk span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }

.job-list { display: grid; gap: clamp(14px, 1.2vw, 20px); }
.job-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 20px 22px; transition: box-shadow 0.2s; }
.job-card:hover { box-shadow: var(--shadow-lg); }
.job-card.is-closed { opacity: 0.62; }
.job-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.job-head h3 { font-size: 18px; color: var(--blue-dark); }
.job-status { font-size: 12px; color: #fff; background: #1a8f4c; border-radius: 999px; padding: 2px 12px; white-space: nowrap; }
.job-card.is-closed .job-status { background: #8a94a3; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.job-salary { color: var(--red); font-weight: 700; }
.job-req, .job-desc { margin-top: 12px; font-size: 14px; color: #4a5561; line-height: 1.8; }
.job-req strong, .job-desc strong { display: block; color: var(--blue-dark); margin-bottom: 4px; }
.job-toggle { margin-top: 12px; background: none; border: 0; color: var(--blue); font-size: 13.5px; cursor: pointer; padding: 0; font-family: inherit; }
.job-toggle:hover { text-decoration: underline; }

.join-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: var(--blue-light); border-radius: 12px; padding: clamp(20px, 2vw, 30px); }
.join-cta h3 { color: var(--blue-dark); font-size: clamp(18px, 1.4vw, 22px); }
.join-cta p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.join-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 首页职位速览 */
.job-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 24vw, 440px), 1fr)); gap: clamp(12px, 1vw, 18px); margin-top: 20px; }
.job-teaser-item a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; transition: border-color 0.2s, box-shadow 0.2s; }
.job-teaser-item a:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.job-teaser-item strong { grid-column: 1 / -1; font-size: 16px; color: var(--blue-dark); }
.job-teaser-meta { grid-column: 1; font-size: 13px; color: var(--muted); }
.job-teaser-salary { grid-column: 2; text-align: right; margin-left: 0; color: var(--red); font-weight: 700; font-size: 14px; }
.job-teaser-empty { color: var(--muted); text-align: center; padding: 10px; grid-column: 1 / -1; }

/* ============================================================
   一键咨询悬浮按钮
   ============================================================ */
.xtc-root { position: fixed; right: 22px; bottom: 26px; z-index: 500; }
/* 位置变化时平滑过渡（拖动过程中会移除该类，保证跟手） */
.xtc-root.xtc-anim { transition: top 0.22s ease, left 0.22s ease; }
@media (prefers-reduced-motion: reduce) {
  .xtc-root.xtc-anim { transition: none; }
}
.xtc-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; border: 0; border-radius: 999px;
  padding: 12px 18px; font-size: 15px; font-weight: 600; font-family: inherit;
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.35);
  cursor: grab; touch-action: none; user-select: none;
  transition: transform 0.15s, box-shadow 0.2s;
}
.xtc-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200, 16, 46, 0.42); }
.xtc-btn:active { cursor: grabbing; }
.xtc-btn svg { flex: 0 0 auto; }
.xtc-label { white-space: nowrap; }

.xtc-panel {
  position: absolute; right: 0; bottom: calc(100% + 14px);
  width: 344px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 48px rgba(16, 64, 127, 0.26);
  display: none;
}
/* JS 计算位置时使用 fixed，保证面板始终完整落在视口内 */
.xtc-panel.xtc-floating { position: fixed; }
.xtc-root.xtc-left .xtc-panel { right: auto; left: 0; }
.xtc-panel.open { display: flex; flex-direction: column; }
/* 按钮靠近顶部时改为向下展开，避免面板超出视口 */
.xtc-panel.xtc-panel-below { bottom: auto; top: calc(100% + 14px); }

.xtc-head {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff; padding: 13px 16px;
  flex: 0 0 auto;
}
.xtc-title { font-size: 15px; letter-spacing: 1px; }
.xtc-close {
  background: none; border: 0; color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer; padding: 0 2px; opacity: 0.85;
}
.xtc-close:hover { opacity: 1; }

.xtc-body { padding: 14px 16px 16px; flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.xtc-bubble {
  background: var(--blue-light); color: #2a3b52; font-size: 13.5px; line-height: 1.65;
  padding: 11px 13px; border-radius: 10px; border-top-left-radius: 2px;
}
.xtc-bubble.ok { background: #e8f7ee; color: #1a7f4b; margin-top: 10px; border-radius: 10px; }

.xtc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.xtc-chip {
  background: #fff; border: 1px solid var(--border); color: var(--blue);
  border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; font-family: inherit;
}
.xtc-chip:hover { border-color: var(--blue); background: var(--blue-light); }

.xtc-form { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.xtc-input {
  width: 100%; border: 1px solid var(--border); border-radius: 8px;
  padding: 9px 11px; font-size: 13.5px; font-family: inherit; resize: vertical;
}
.xtc-input:focus { outline: none; border-color: var(--blue); }
.xtc-content { min-height: 76px; }
.xtc-submit {
  background: var(--red); color: #fff; border: 0; border-radius: 8px;
  padding: 10px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.xtc-submit:hover { background: #a80d26; }
.xtc-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.xtc-tip { font-size: 12.5px; min-height: 16px; }
.xtc-tip.err { color: var(--red); }

.xtc-extra { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.xtc-link { color: var(--red); font-weight: 600; }

@media (max-width: 640px) {
  .xtc-btn { padding: 11px 14px; font-size: 14px; }
  .xtc-root { right: 14px; bottom: 16px; }
  .xtc-panel {
    position: fixed; left: 12px; right: 12px; bottom: 78px; width: auto; max-width: none;
    max-height: calc(100vh - 110px);
  }
  .xtc-root.xtc-left .xtc-panel { left: 12px; right: 12px; }
}
@media print { .xtc-root { display: none; } }

/* ============================================================
   管理后台
   ============================================================ */

.admin-body { background: #eef1f6; }
.admin-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #12437f, #1a5fb4);
}
.admin-login .login-box { background: #fff; border-radius: 12px; padding: 38px 42px; width: 360px; box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.admin-login .login-box h1 { font-size: 22px; color: var(--blue-dark); text-align: center; margin-bottom: 4px; }
.admin-login .login-box .sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.admin-login label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.admin-login input {
  width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 11px 12px;
  font-size: 14px; margin-bottom: 18px;
}
.admin-login input:focus { outline: none; border-color: var(--blue); }
.admin-login .btn-login {
  width: 100%; background: var(--blue); color: #fff; border: 0; border-radius: 6px;
  padding: 12px; font-size: 15px; cursor: pointer;
}
.admin-login .btn-login:hover { background: var(--blue-dark); }
/* 邮箱验证码登录 */
.admin-login .code-row { display: flex; gap: 10px; align-items: stretch; }
.admin-login .code-row input { flex: 1; margin-bottom: 0; }
.admin-login .btn-code {
  flex: 0 0 auto; background: #fff; border: 1px solid var(--blue); color: var(--blue);
  border-radius: 6px; padding: 0 14px; font-size: 13px; cursor: pointer; white-space: nowrap;
}
.admin-login .btn-code:hover { background: var(--blue-light); }
.admin-login .btn-code:disabled { opacity: 0.55; cursor: not-allowed; }
.admin-login .pwd-fallback { margin-top: 18px; border-top: 1px dashed var(--border); padding-top: 12px; }
.admin-login .pwd-fallback summary { font-size: 13px; color: var(--muted); cursor: pointer; }
.admin-login .pwd-fallback input { margin-top: 8px; }
.admin-login .btn-pwd { margin-top: 10px; background: #6b7683; font-size: 14px; padding: 9px; }
.admin-login .btn-pwd:hover { background: #55606d; }
.admin-login .login-err { color: var(--red); font-size: 13px; text-align: center; min-height: 20px; margin-bottom: 8px; }

.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 200px; background: #16304f; color: #c8d6ea; flex-shrink: 0; padding: 20px 0; }
.admin-sidebar .side-brand { padding: 0 20px 18px; font-size: 16px; color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 12px; }
.admin-sidebar .side-item { display: block; padding: 11px 20px; cursor: pointer; font-size: 14px; transition: background 0.2s; }
.admin-sidebar .side-item:hover, .admin-sidebar .side-item.active { background: rgba(255,255,255,0.12); color: #fff; }
.admin-main { flex: 1; padding: 24px 28px; min-width: 0; }
.admin-main .admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.admin-main .admin-top h2 { font-size: 20px; color: var(--blue-dark); }
.admin-main .admin-top .btn-logout { background: none; border: 1px solid var(--border); border-radius: 6px; padding: 6px 14px; cursor: pointer; font-size: 13px; color: var(--muted); }
.admin-main .admin-top .btn-logout:hover { color: var(--red); border-color: var(--red); }

.panel { display: none; }
.panel.active { display: block; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.btn { border: 0; border-radius: 6px; padding: 9px 18px; cursor: pointer; font-size: 14px; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-red { background: #dc3545; color: #fff; }
.btn-red:hover { background: #b02a37; }
.btn-ghost { background: #fff; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 5px 12px; font-size: 13px; margin-right: 6px; }

.data-table { width: 100%; background: #fff; border-radius: 8px; border-collapse: collapse; overflow: hidden; box-shadow: var(--shadow); }
.data-table th, .data-table td { padding: 11px 14px; text-align: left; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.data-table th { background: #f2f6fb; color: var(--blue-dark); font-weight: 600; white-space: nowrap; }
.data-table td { vertical-align: middle; }
.data-table tr:hover td { background: #f8fafd; }
.data-table .t-name { font-weight: 600; }
.data-table .t-desc { color: var(--muted); max-width: 320px; }
.data-table .t-actions { white-space: nowrap; }

/* 编辑表单弹层 */
.edit-modal { position: fixed; inset: 0; background: rgba(16,32,52,0.5); z-index: 300; display: none; align-items: flex-start; justify-content: center; padding: 50px 20px; overflow-y: auto; }
.edit-modal.open { display: flex; }
.edit-modal .edit-box { background: #fff; border-radius: 10px; width: 620px; max-width: 100%; padding: 26px 30px; }
.edit-modal .edit-box h3 { font-size: 18px; color: var(--blue-dark); margin-bottom: 16px; }
.edit-modal label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 6px; }
.edit-modal input, .edit-modal select, .edit-modal textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 9px 12px; font-size: 14px; font-family: inherit;
}
.edit-modal input:focus, .edit-modal select:focus, .edit-modal textarea:focus { outline: none; border-color: var(--blue); }
.edit-modal textarea { min-height: 100px; resize: vertical; }
.edit-modal .edit-actions { margin-top: 20px; display: flex; gap: 12px; justify-content: flex-end; }
.edit-modal .hint { font-size: 12px; color: #9aa5b1; margin-top: 4px; }

.config-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.config-card { background: #fff; border-radius: 8px; padding: 20px 22px; box-shadow: var(--shadow); }
.config-card h3 { font-size: 16px; color: var(--blue-dark); margin-bottom: 12px; }
.config-card label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 5px; }
.config-card input, .config-card textarea { width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 9px 12px; font-size: 14px; font-family: inherit; }
.config-card input:focus, .config-card textarea:focus { outline: none; border-color: var(--blue); }
.config-card textarea { min-height: 90px; resize: vertical; }
.config-card .btn { margin-top: 16px; }

.admin-empty { color: var(--muted); text-align: center; padding: 40px 0; }
@media (max-width: 768px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; display: flex; overflow-x: auto; padding: 10px 0; }
  .admin-sidebar .side-brand { display: none; }
  .admin-sidebar .side-item { white-space: nowrap; padding: 10px 16px; }
  .admin-main { padding: 16px; }
  .config-grid { grid-template-columns: 1fr; }
  .data-table { display: block; overflow-x: auto; }
}

/* ============================================================
   动效与排版增强
   —— 仅当 html.motion 存在时生效（由 js/motion.js 添加），
      禁用 JS 或不支持时页面保持静态完整呈现。
   ============================================================ */

/* 1. 滚动揭示 */
html.motion .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--reveal-delay, 0ms);
}
html.motion .reveal.is-visible { opacity: 1; transform: none; }
html.motion-reduce .reveal,
html.motion.motion-reduce .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* 2. 顶部滚动进度条 */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--red), var(--blue));
  z-index: 700; pointer-events: none;
}

/* 3. 导航滚动收缩 */
.main-nav { transition: box-shadow 0.25s ease; }
.main-nav.nav-compact { box-shadow: 0 8px 24px rgba(16, 64, 127, 0.3); }
.main-nav ul li a { transition: background 0.2s, padding 0.25s ease; }

/* 4. 首屏：缓慢推近 + 轻微视差 */
.hero-media img {
  scale: 1.04;
  transform: translateY(var(--parallax, 0px));
  animation: heroZoom 34s ease-in-out infinite alternate;
  will-change: scale, transform;
}
@keyframes heroZoom {
  from { scale: 1.04; }
  to { scale: 1.10; }
}
html.motion-reduce .hero-media img { animation: none; scale: 1; transform: none; }

/* 5. 区块标题装饰线展开 */
.section-head h2::after { transform: scaleX(0); transform-origin: center; transition: transform 0.6s ease 0.05s; }
html.motion .section-head.is-visible h2::after,
html.motion-reduce .section-head h2::after { transform: scaleX(1); }

/* 6. 卡片悬停反馈 */
.product-card { transition: transform 0.28s ease, box-shadow 0.28s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .card-img { overflow: hidden; }
.product-card .card-img img { transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); }
.product-card:hover .card-img img { transform: scale(1.06); }

.news-item { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.news-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfdcf0; }

.adv-item { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.adv-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.join-perk { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.join-perk:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.job-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.job-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: #cfdcf0; }

.job-teaser-item a { transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease; }
.job-teaser-item a:hover { transform: translateY(-2px); }

/* 7. 按钮扫光 */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.35) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(120%); }

/* 8. 数字滚动时避免宽度抖动 */
.stat .num { font-variant-numeric: tabular-nums; }

/* 9. 版面节奏：区块标题与留白更松弛 */
.section-head .en { transition: letter-spacing 0.5s ease; letter-spacing: 5px; }
html.motion .section-head.is-visible .en { letter-spacing: 7px; }
.page-banner h1 { letter-spacing: 2px; }

/* 10. 移动端减弱动效开销 */
@media (max-width: 640px) {
  .hero-media img { animation-duration: 48s; }
  .product-card:hover, .news-item:hover, .adv-item:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; scale: 1; transform: none; }
  .scroll-progress { display: none; }
}

/* ============================================================
   版面重构（视觉层）
   —— 不改动 HTML 结构，只重排既有元素的呈现方式
   ============================================================ */

/* 1. 区块底色：浅灰区块加一层极淡径向光晕，避免大面积死平 */
.section.alt {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(26, 95, 180, 0.06), transparent 62%),
    radial-gradient(760px 360px at 88% 100%, rgba(200, 16, 46, 0.04), transparent 60%),
    var(--bg);
}

/* 2. 区块标题：英文小标与汉字标题更紧凑 */
.section-head .en { margin-bottom: 2px; }
.section-head h2 { margin-top: 0; }

/* 3. 产品卡：更大圆角、图片底部渐隐、分类标签半透明玻璃感 */
.product-card {
  border-radius: 14px;
  border-color: #e6ecf5;
  background: #fff;
}
.product-card .card-img { border-radius: 14px 14px 0 0; }
.product-card .card-img::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 46%;
  background: linear-gradient(to top, rgba(8, 24, 48, 0.42), transparent);
  opacity: 0; transition: opacity 0.35s ease;
  pointer-events: none;
}
.product-card:hover .card-img::after { opacity: 1; }
.product-card .card-cat {
  left: 12px; top: 12px;
  background: rgba(200, 16, 46, 0.92);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.28);
  font-weight: 600; letter-spacing: 0.5px;
}
.product-card .card-body { padding: 16px 18px 20px; }
.product-card .card-body h3 { transition: color 0.2s ease; }
.product-card:hover .card-body h3 { color: var(--blue); }

/* 4. 数据统计：改成深色渐变色块，数字更醒目 */
.stats {
  background: linear-gradient(135deg, #0f3a72 0%, #1a5fb4 55%, #2a72c4 100%);
  border-radius: 18px;
  padding: clamp(18px, 1.8vw, 28px);
  box-shadow: 0 18px 44px rgba(16, 64, 127, 0.26);
  margin-top: 34px;
}
.stats .stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 20px 10px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.stats .stat:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.stats .stat .num { color: #fff; font-size: clamp(28px, 2.2vw, 38px); }
.stats .stat .lbl { color: rgba(255, 255, 255, 0.75); letter-spacing: 1px; }

/* 5. 四大优势：序号做成圆形徽标，左侧竖条改为顶部渐变线 */
.adv-item {
  border-left: 0;
  border-radius: 14px;
  border-color: #e6ecf5;
  position: relative;
  overflow: hidden;
  padding: 24px 24px 22px;
}
.adv-item::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(1); transform-origin: left;
  opacity: 0.35;
  transition: opacity 0.35s ease;
}
.adv-item:hover::before { opacity: 1; }
.adv-item h3 { display: flex; align-items: center; gap: 10px; }
.adv-item h3 span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; flex: 0 0 28px;
  margin-right: 0;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.1);
  color: var(--red);
  font-size: 14px; font-weight: 800;
}

/* 6. 新闻卡：左侧强调条 + 日期块更精致 */
.news-item {
  border-radius: 12px;
  border-color: #e6ecf5;
  position: relative;
  overflow: hidden;
}
.news-item::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--blue);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.35s ease;
}
.news-item:hover::before { transform: scaleY(1); }
.news-item .date-box { border-radius: 10px; }

/* 7. 工程案例：更圆润的容器 + 玻璃质感说明条 */
.case-track { border-radius: 18px; box-shadow: var(--shadow-lg); }
.case-slide .slide-cap {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.case-dots button { transition: width 0.25s ease, background 0.25s ease; }
.case-dots button.active { width: 26px; border-radius: 6px; }

/* 8. 按钮：更饱满的圆角与阴影 */
.btn-primary {
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.22);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(200, 16, 46, 0.3); }

/* 9. 页脚：顶部渐变细线，呼应品牌色 */
.site-footer { border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--red), var(--blue)) 1; }

/* 10. 首屏底部与下一区块的过渡更柔和 */
.hero::after { z-index: 1; }

/* 11. 移动端收敛内边距 */
@media (max-width: 640px) {
  .stats { padding: 14px; border-radius: 14px; }
  .adv-item { padding: 20px 18px; }
  .product-card .card-body { padding: 13px 14px 16px; }
}

/* ============================================================
   首页：技术投入栏目 + 诚招人才改版
   ============================================================ */

/* ---------- 技术投入 ---------- */
.tech-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: center;
}
.tech-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tech-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.tech-media:hover img { transform: scale(1.04); }
.tech-badge {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}
.tech-badge strong { display: block; color: var(--blue-dark); font-size: 15px; letter-spacing: 0.5px; }
.tech-badge span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

.tech-body .en,
.join-band-intro .en {
  font-size: 12px; letter-spacing: 4px; color: var(--blue); text-transform: uppercase;
}
.tech-body h2 {
  font-size: clamp(22px, 2vw, 30px);
  color: var(--blue-dark);
  margin: 6px 0 12px;
}
.tech-body h2::after {
  content: ""; display: block; width: 44px; height: 3px; margin-top: 10px;
  background: linear-gradient(90deg, var(--red), var(--blue)); border-radius: 2px;
}
.tech-body > p { color: var(--muted); font-size: 15px; line-height: 1.9; }
.tech-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 26px;
  margin-top: 24px;
}
.tech-list li { position: relative; padding-left: 16px; }
.tech-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
}
.tech-list strong { display: block; color: var(--blue-dark); font-size: 15px; }
.tech-list span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px; line-height: 1.65; }

.tech-stats {
  display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 48px);
  margin-top: 26px; padding-top: 20px;
  border-top: 1px dashed var(--border);
}
.tech-stats b {
  display: block; font-size: clamp(24px, 2vw, 32px); color: var(--blue);
  font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2;
}
.tech-stats span { font-size: 12.5px; color: var(--muted); }

/* ---------- 诚招人才：左文右岗 ---------- */
.join-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 3vw, 60px);
  align-items: center;
}
.join-band-intro h2 {
  font-size: clamp(24px, 2.2vw, 34px);
  color: var(--blue-dark);
  margin: 6px 0 12px;
}
.join-band-intro > p { color: var(--muted); font-size: 15px; line-height: 1.9; }

.join-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.join-chips .join-perk {
  border: 1px solid #e6ecf5;
  border-left: 0;
  border-radius: 10px;
  background: var(--white);
  padding: 12px 14px;
}
.join-chips .join-perk strong { font-size: 14.5px; color: var(--blue-dark); }
.join-chips .join-perk span { font-size: 12.5px; margin-top: 3px; line-height: 1.5; }
.join-band-cta { margin-top: 24px; }

.join-band-jobs {
  background: var(--white);
  border: 1px solid #e6ecf5;
  border-radius: 16px;
  padding: clamp(16px, 1.6vw, 24px);
  box-shadow: var(--shadow);
}
.join-band-jobs-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
  font-size: 15px;
}
/* 左侧标题：独立链接 */
.join-head-title {
  font-weight: 700; font-size: 15px; color: var(--blue-dark);
  text-decoration: none; cursor: pointer;
  border-bottom: 2px solid transparent; padding-bottom: 1px;
  transition: color 0.22s ease, border-color 0.22s ease;
}
.join-head-title:hover { color: var(--blue); border-bottom-color: var(--blue); }
.join-head-title:active { color: #0d4a94; }

/* 「点击查看详情」做成小胶囊，默认就像按钮 */
.join-head-more {
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 600; font-size: 12.5px; color: var(--blue);
  background: rgba(26, 95, 180, 0.08);
  border-radius: 999px; padding: 5px 13px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.join-head-more i { font-style: normal; transition: transform 0.22s ease; }
.join-head-more:hover {
  background: var(--blue); color: #fff;
  box-shadow: 0 6px 16px rgba(26, 95, 180, 0.32);
  transform: translateY(-1px);
}
.join-head-more:hover i { transform: translateX(4px); }
.join-head-more:active { transform: translateY(0); box-shadow: 0 3px 10px rgba(26, 95, 180, 0.28); }
.join-band-jobs .job-teaser {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 2px;
}
.join-band-jobs .job-teaser-item a {
  border: 0; border-bottom: 1px dashed var(--border);
  border-radius: 0; padding: 14px 2px; background: transparent;
}
.join-band-jobs .job-teaser-item:last-child a { border-bottom: 0; }
.join-band-jobs .job-teaser-item a:hover { background: rgba(26, 95, 180, 0.04); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .tech-wrap, .join-band-inner { grid-template-columns: 1fr; }
  .tech-media { order: -1; }
}
@media (max-width: 640px) {
  .join-chips { grid-template-columns: 1fr; }
  .tech-stats { gap: 16px; }
  .tech-list { grid-template-columns: 1fr; }
}

/* ============================================================
   首屏：论述式横幅 + 下拉探索（占比 / 吨钢消耗对比）
   ============================================================ */

.hero-statement { min-height: clamp(560px, 78vh, 820px); display: flex; align-items: center; }
.hero-statement .hero-content { position: relative; z-index: 3; padding-bottom: 96px; }

.hero-kicker {
  display: inline-block;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 999px;
  backdrop-filter: blur(4px);
}

.hero.hero-statement .hero-statement-title {
  max-width: 22em;
  margin: 22px 0 0;
  font-size: clamp(24px, 2.9vw, 46px);
  line-height: 1.42;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-statement .hero-more { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

.btn-ghost-light {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff; font-size: 15px; font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-2px); }

/* ---------- 下拉键 ---------- */
.hero-explore {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 5; width: max-content;
}
.hero-explore-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 6px 10px;
  font-family: inherit; color: rgba(255, 255, 255, 0.9);
}
.hero-explore-hint { font-size: 12.5px; letter-spacing: 2px; opacity: 0.85; }
.hero-explore-chev {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  position: relative;
  transition: transform 0.35s ease, background 0.3s ease, border-color 0.3s ease;
  animation: chevBob 2.4s ease-in-out infinite;
}
.hero-explore-chev::after {
  content: ""; position: absolute; left: 50%; top: 46%;
  width: 8px; height: 8px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
@keyframes chevBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
.hero-explore:hover .hero-explore-chev,
.hero-explore.is-open .hero-explore-chev {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.9);
  transform: rotate(180deg);
  animation: none;
}

/* ---------- 下拉面板 ---------- */
.hero-drawer {
  position: absolute; bottom: calc(100% + 14px); left: 50%;
  transform: translate(-50%, 10px);
  width: min(1080px, 90vw);
  max-height: 0; opacity: 0; overflow: hidden;
  background: rgba(12, 26, 48, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  transition: max-height 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
              opacity 0.3s ease,
              transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  padding: 0 clamp(18px, 2.4vw, 34px);
  color: #eaf1fb;
}
.hero-explore:hover .hero-drawer,
.hero-explore.is-open .hero-drawer {
  max-height: 560px; opacity: 1; transform: translate(-50%, 0);
  padding: clamp(18px, 2.4vw, 30px) clamp(18px, 2.4vw, 34px);
  overflow-y: auto;
}

.hero-drawer-en { font-size: 11.5px; letter-spacing: 4px; color: #8fb6e8; }
.hero-drawer-title { font-size: clamp(20px, 1.8vw, 27px); color: #fff; margin: 6px 0 8px; }
.hero-drawer-sub { font-size: 13.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.7; max-width: 62ch; }

.hero-charts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 44px); margin-top: 20px; }
.chart-col h3 { font-size: 14px; color: #fff; font-weight: 600; margin-bottom: 12px; }
.chart-col h3 em { font-style: normal; color: #8fb6e8; font-size: 12px; margin-left: 4px; }

.chart-list { display: grid; gap: 10px; }
.chart-list li { display: grid; grid-template-columns: 5.4em 1fr 3.4em; align-items: center; gap: 10px; }
.chart-name { font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.chart-track {
  position: relative; height: 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); overflow: hidden;
}
.chart-track i {
  position: absolute; inset: 0;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, #3f8ae0, #6fb1ff);
  border-radius: 999px;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.12s;
}
.chart-track i.is-warn { background: linear-gradient(90deg, #d1585f, #f08a80); }
.hero-explore:hover .chart-track i,
.hero-explore.is-open .chart-track i { transform: scaleX(var(--v)); }

.chart-val { font-size: 13px; font-weight: 700; color: #fff; text-align: right; font-variant-numeric: tabular-nums; }

.hero-drawer-foot {
  margin-top: 18px; padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.55);
}

/* 键盘聚焦也可展开 */
.hero-explore-btn:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.8); outline-offset: 4px; border-radius: 8px; }
.hero-explore:focus-within .hero-drawer {
  max-height: 560px; opacity: 1; transform: translate(-50%, 0);
  padding: clamp(18px, 2.4vw, 30px) clamp(18px, 2.4vw, 34px);
}

@media (max-width: 900px) {
  .hero-charts { grid-template-columns: 1fr; }
  .hero-drawer { width: 92vw; max-height: 0; }
  .hero-explore:hover .hero-drawer, .hero-explore.is-open .hero-drawer { max-height: 70vh; }
}
@media (max-width: 640px) {
  .hero-statement { min-height: 480px; }
  .hero-statement-title { font-size: 21px; line-height: 1.55; }
  .hero-statement .hero-content { padding-bottom: 84px; }
  .chart-list li { grid-template-columns: 4.6em 1fr 3em; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-explore-chev { animation: none; }
}

/* ============================================================
   整屏 Banner 形态 + 滚动吸附
   ============================================================ */

/* 吸附：由 JS 在存在 banner 时给 html 加 has-banners，避免影响内页 */
html.has-banners {
  scroll-snap-type: y proximity;
  scroll-padding-top: 68px;
  scroll-behavior: smooth;
}

.banner {
  min-height: calc(100svh - 68px);
  display: flex;
  align-items: center;
  padding-top: clamp(22px, 3.6vh, 48px);
  padding-bottom: clamp(22px, 3.6vh, 48px);
  scroll-snap-align: start;
  scroll-margin-top: 68px;
  position: relative;
}
.banner > .container { width: 100%; }

/* 板块序号（轻微水印感，首屏不显示） */
main { counter-reset: bannerIdx; }
.banner { counter-increment: bannerIdx; }
.banner:not(.hero) > .container::before {
  content: counter(bannerIdx, decimal-leading-zero);
  position: absolute;
  top: clamp(2px, 0.6vh, 10px);
  right: 0;
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 800;
  line-height: 1;
  color: rgba(16, 64, 127, 0.07);
  letter-spacing: -2px;
  pointer-events: none;
}
.banner:not(.hero) > .container { position: relative; }

/* 首屏 banner 占满可视区（扣掉页头 + 导航，避免底部内容被切） */
.banner.hero { min-height: calc(100svh - 68px); }
html.has-banners .banner.hero.hero-statement { min-height: calc(100svh - var(--banner-offset, 132px)); }

/* 密度：整屏下产品 4 个一行、新闻 3 条一行 */
.banner .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); }
.banner .news-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.banner .section-head { margin-bottom: clamp(16px, 2.6vh, 34px); }
.banner .section-head p { margin-top: 6px; }
.banner .stats { margin-top: clamp(12px, 1.6vh, 22px); }
.banner .about-text p { margin-bottom: 11px; }

/* 整屏里卡片略大，图片比例更稳 */
.banner .product-card .card-body h3 { font-size: 17px; }
.banner .product-card .card-body p { font-size: 13.5px; }

/* ---------- 右侧板块导航点 ---------- */
.banner-dots {
  position: fixed; right: 8px; top: 50%; transform: translateY(-50%);
  z-index: 480; display: flex; flex-direction: column; gap: 12px;
  padding: 9px 5px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(16, 64, 127, 0.14);
}
.banner-dots a {
  display: block; width: 7px; height: 7px; border-radius: 999px;
  background: rgba(16, 64, 127, 0.22);
  transition: background 0.25s ease, height 0.25s ease, transform 0.25s ease;
  position: relative;
}
.banner-dots a:hover { background: var(--blue); transform: scale(1.25); }
.banner-dots a.active { background: var(--blue); height: 24px; }
.banner-dots a::after {
  content: attr(data-label);
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-size: 12px; color: #fff;
  background: rgba(16, 64, 127, 0.94);
  padding: 5px 10px; border-radius: 6px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.banner-dots a:hover::after { opacity: 1; }

/* 吸附提示：板块之间的细线 */
.banner + .banner::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1120px, 88%); height: 1px; background: rgba(16, 64, 127, 0.08);
}

@media (max-width: 1100px) {
  .banner .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .banner-dots { display: none; }
  .banner { min-height: auto; padding-top: 44px; padding-bottom: 44px; }
  .banner.hero { min-height: calc(100svh - 60px); }
  .banner .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner .news-list { grid-template-columns: 1fr; }
  html.has-banners { scroll-snap-type: none; }  /* 移动端关闭吸附，避免卡顿 */
}

/* ============================================================
   探索不定形耐火材料：独立整屏 banner
   ============================================================ */

.explore-banner {
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(63, 138, 224, 0.22), transparent 65%),
    radial-gradient(700px 420px at 8% 92%, rgba(200, 16, 46, 0.14), transparent 62%),
    linear-gradient(150deg, #06172b 0%, #0d2b4d 55%, #123a63 100%);
  color: #e9f1fb;
}
.explore-banner::before { content: none; }

.explore-head { text-align: center; max-width: 62ch; margin: 0 auto clamp(20px, 3vh, 40px); }
.explore-en { font-size: 11.5px; letter-spacing: 5px; color: #7fb0ea; text-transform: uppercase; }
.explore-head h2 {
  font-size: clamp(26px, 3vw, 44px);
  color: #fff;
  margin: 10px 0 12px;
  letter-spacing: 1px;
}
.explore-head h2::after {
  content: ""; display: block; width: 52px; height: 3px; margin: 14px auto 0;
  background: linear-gradient(90deg, #c8102e, #3f8ae0); border-radius: 2px;
}
.explore-head p { color: rgba(233, 241, 251, 0.76); font-size: 15px; line-height: 1.9; }

.explore-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 72px);
}
.explore-col h3 {
  font-size: 15px; font-weight: 600; color: #fff;
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; align-items: baseline; gap: 6px;
}
.explore-col h3 span { font-size: 12px; color: #7fb0ea; }

.explore-list { display: grid; gap: clamp(12px, 1.6vh, 20px); }
.explore-list li {
  display: grid; grid-template-columns: 5.6em 1fr 4.2em;
  align-items: center; gap: 14px;
}
.explore-name { font-size: 14px; color: rgba(233, 241, 251, 0.86); }
.explore-track {
  position: relative; height: 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); overflow: hidden;
}
.explore-track i {
  position: absolute; inset: 0;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, #3f8ae0, #7fb6ff);
  border-radius: 999px;
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s;
}
.explore-track i.is-warn { background: linear-gradient(90deg, #c8102e, #f0685f); }
.explore-banner.is-visible .explore-track i { transform: scaleX(var(--v)); }

.explore-val {
  font-size: clamp(15px, 1.3vw, 19px); font-weight: 800; color: #fff;
  text-align: right; font-variant-numeric: tabular-nums;
}
.explore-list li.is-self .explore-name { color: #ff9d94; font-weight: 600; }
.explore-list li.is-self .explore-val { color: #ff9d94; }
.explore-list li.is-self .explore-track i { background: linear-gradient(90deg, #c8102e, #ff8f83); }

.explore-note {
  margin-top: clamp(22px, 3.4vh, 40px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 48px);
  padding-top: clamp(18px, 2.4vh, 26px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.explore-insight {
  margin: 0; padding-left: 16px;
  border-left: 3px solid #c8102e;
  font-size: clamp(14px, 1.15vw, 16px); line-height: 1.85;
  color: rgba(233, 241, 251, 0.92);
}
.explore-source { margin: 0; font-size: 11.5px; line-height: 1.75; color: rgba(233, 241, 251, 0.5); }

@media (max-width: 900px) {
  .explore-charts { grid-template-columns: 1fr; gap: 24px; }
  .explore-note { grid-template-columns: 1fr; }
  .explore-head { text-align: left; }
  .explore-head h2::after { margin-left: 0; }
}

/* 首屏下拉键：改为跳转到探索 banner 的链接 */
.hero-explore {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none;
}
.hero-explore-hint { color: rgba(255, 255, 255, 0.88); }
.hero-explore:hover .hero-explore-chev { transform: translateY(5px); }

/* ============================================================
   一屏一栏：轻微吸附 + 矮栏目半屏合并
   ============================================================ */

/* 内容偏矮的栏目降为半屏，与相邻栏目共用一屏 */
.banner.banner-short {
  min-height: calc((100svh - 68px) / 2);
  padding-top: clamp(20px, 3vh, 36px);
  padding-bottom: clamp(20px, 3vh, 36px);
}
.banner.banner-short .section-head { margin-bottom: clamp(10px, 1.6vh, 18px); }
.banner.banner-short .explore-head { margin-bottom: clamp(10px, 1.6vh, 20px); }

/* 半屏栏目之间不显示分隔线（同屏内两栏） */
.banner.banner-short + .banner::before { content: none; }
.banner + .banner.banner-short::before { content: none; }

@media (max-width: 900px) {
  .banner.banner-short { min-height: auto; }
}

/* ============================================================
   首屏排版优化 + 第二屏深色到白色的过渡
   ============================================================ */

/* ---------- 首屏：左侧压暗、层次更清楚 ---------- */
.hero-statement .hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 12, 24, 0.9) 0%, rgba(3, 12, 24, 0.72) 38%, rgba(3, 12, 24, 0.32) 62%, rgba(3, 12, 24, 0.05) 82%, transparent 100%),
    linear-gradient(180deg, rgba(3, 12, 24, 0.35) 0%, transparent 28%, rgba(3, 12, 24, 0.55) 88%, #06172b 100%);
}
.hero-statement .hero-content { max-width: min(780px, 64vw); margin-left: 0; margin-right: auto; padding-bottom: 36px; }
.hero-kicker {
  font-size: 12px;
  letter-spacing: 2.6px;
  padding: 6px 14px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}
.hero.hero-statement .hero-statement-title {
  max-width: 23em;
  margin: 18px 0 0;
  font-size: clamp(21px, 2.25vw, 34px);
  line-height: 1.55;
  letter-spacing: 0.3px;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.5);
}
.hero-lead {
  max-width: 34em;
  margin: 18px 0 0;
  font-size: clamp(13.5px, 1.05vw, 16px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.hero-statement .hero-more { margin-top: 26px; gap: 12px; }
.hero-statement .hero-more .btn-primary,
.hero-statement .btn-ghost-light { padding: 12px 26px; font-size: 14.5px; }

/* 首屏底部与第二屏同色，形成无缝过渡 */
.hero-statement::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background: linear-gradient(180deg, transparent, rgba(6, 23, 43, 0.55) 55%, #06172b 100%);
  pointer-events: none; z-index: 1;
}
.hero-explore { z-index: 6; }

/* ---------- 第二屏：上承深色，向下渐变为白 ---------- */
.explore-banner {
  position: relative;
  padding-top: clamp(170px, 25vh, 290px);
  background: #ffffff;
  color: #24313f;
  isolation: isolate;
}
.explore-banner .explore-fade {
  position: absolute; inset: 0 0 auto 0;
  height: clamp(160px, 24vh, 280px);
  background: linear-gradient(
    180deg,
    #06172b 0%,
    #071d37 9%,
    #0a2545 18%,
    #113459 28%,
    #1c4776 38%,
    #2f6191 47%,
    #527fae 56%,
    #83a7cd 65%,
    #b4cbe2 74%,
    #d8e5f1 83%,
    #eef4fa 92%,
    #ffffff 100%
  );
  pointer-events: none;
  z-index: 0;
}
.explore-banner > .container { position: relative; z-index: 1; }

.explore-en { color: #2f74c0; letter-spacing: 5px; }
.explore-head h2 { color: #0f2c4d; }
.explore-head p { color: #5a6b7d; }
.explore-head h2::after { background: linear-gradient(90deg, #c8102e, #3f8ae0); }

.explore-col h3 {
  color: #12324f;
  border-bottom: 1px solid rgba(16, 64, 127, 0.14);
}
.explore-col h3 span { color: #2f74c0; }
.explore-name { color: #4b5c6e; }
.explore-track { background: rgba(16, 64, 127, 0.1); }
.explore-val { color: #12324f; }
.explore-list li.is-self .explore-name,
.explore-list li.is-self .explore-val { color: #c8102e; }

.explore-note { border-top: 1px solid rgba(16, 64, 127, 0.12); }
.explore-insight { color: #2c3c4d; }
.explore-source { color: #8a9aab; }

/* 其余浅色板块统一提亮，保证整页以白为主 */
.section.alt {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(26, 95, 180, 0.045), transparent 62%),
    radial-gradient(760px 360px at 88% 100%, rgba(200, 16, 46, 0.03), transparent 60%),
    #fbfcfe;
}

@media (max-width: 900px) {
  .hero-statement .hero-content { max-width: none; }
  .explore-banner { padding-top: 120px; }
  .explore-banner .explore-fade { height: 120px; }
}

/* ============================================================
   移动端适配（≤900px / ≤640px）
   ============================================================ */

/* 页脚：补回左右内边距（.footer-main 自身 padding 覆盖了 .container 的） */
.footer-main { padding: 42px clamp(16px, 3vw, 40px) 30px; }

@media (max-width: 900px) {
  /* 探索 banner：内容整体下移，避开顶部渐变带 */
  .explore-banner { padding-top: 185px; }
  .explore-banner .explore-fade { height: 170px; }
  .explore-head { text-align: left; }
  .explore-head h2 { font-size: clamp(24px, 4.6vw, 32px); }
  .explore-head p { font-size: 14px; line-height: 1.85; }
  .explore-list li { grid-template-columns: 5em 1fr 3.6em; gap: 10px; }
  .explore-val { font-size: 15px; }
}

@media (max-width: 640px) {
  .job-post-cover { max-height: 200px; }

  /* 一键咨询按钮：收小 */
  .xtc-btn {
    padding: 8px 12px;
    min-height: 40px;
    font-size: 12.5px;
    gap: 6px;
    box-shadow: 0 6px 16px rgba(200, 16, 46, 0.3);
  }
  .xtc-btn svg { width: 15px; height: 15px; }
  .xtc-root { right: 10px; }

  /* 工程案例：说明文字改为图片下方卡片，避免压在被裁的图上 */
  .case-slide .slide-cap {
    position: static;
    margin: 10px 8px 0;
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.6;
  }

  /* 优势卡数量为奇数时，最后一张占满整行 */
  .adv-item:last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* 福利卡两列，减少纵向长度 */
  .join-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .join-chips .join-perk { padding: 10px 12px; }
  .join-chips .join-perk strong { font-size: 13.5px; }
  .join-chips .join-perk span { font-size: 11.5px; }

  /* 招聘区左右栏间距收紧 */
  .join-band-inner { gap: 20px; }
  .join-band-cta { margin-top: 18px; }

  /* 技术投入：图与文字间距收紧 */
  .tech-wrap { gap: 18px; }
  .tech-body h2 { margin: 4px 0 10px; }

  /* 首屏标题在窄屏再收一档 */
  .hero.hero-statement .hero-statement-title { font-size: 20px; line-height: 1.6; }
  .hero-lead { font-size: 13px; }
  .hero-kicker { font-size: 11px; letter-spacing: 1.6px; padding: 5px 12px; }
}

@media (max-width: 380px) {
  .hero.hero-statement .hero-statement-title { font-size: 18.5px; }
  .xtc-btn .xtc-label { font-size: 12px; }
}


/* ============================================================
   导航左侧：广告栏收起时，金色 slogan 渐变为公司 logo
   --nav-progress 由 JS 按滚动进度写入（0=页头展开，1=已收起）
   ============================================================ */
.main-nav .nav-slogan {
  /* 注意：不要在这里声明 --nav-progress，否则会遮蔽 .main-nav 上传下来的值 */
  color: #ffd166;                    /* 金色 slogan */
  position: relative;
  padding-left: 2px;
}
.main-nav .nav-slogan .sl-a,
.main-nav .nav-slogan .sl-b {
  transition: none;                  /* 由滚动驱动，不用过渡，避免抖动 */
  will-change: opacity, transform;
}
.main-nav .nav-slogan .sl-a {
  /* 到 30% 就完全淡出，把位置让给公司名，避免两段文字同时可见 */
  opacity: clamp(0, calc(1 - var(--nav-progress, 0) * 3.3), 1);
  transform: translateY(calc(var(--nav-progress, 0) * -5px));
}
.main-nav .nav-slogan .sl-b {
  /* 30% 之后才开始淡入，55% 完全显示；与 sl-a 的淡出窗口不重叠 */
  opacity: clamp(0, calc((var(--nav-progress, 0) - 0.30) * 4), 1);
  transform: translateY(calc((1 - var(--nav-progress, 0)) * 5px));
  /* 白字，与导航其它文字同色 */
  color: #fff;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 1.5px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
/* 收起态：slogan 变 logo 后字号略收，视觉更像标识 */
.main-nav.nav-compact .nav-slogan { font-size: 20px; letter-spacing: 1.5px; }

/* ============================================================
   一键咨询面板：联系方式栏
   ============================================================ */
.xtc-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #e7eef8;
  border-bottom: 1px solid #e2eaf5;
}
.xtc-contact-item {
  display: flex; align-items: flex-start; gap: 6px;
  padding: 9px 10px;
  background: #f4f8fd;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s ease;
  min-width: 0;
}
a.xtc-contact-item:hover { background: #e9f2fd; }
.xtc-contact-ico {
  flex: 0 0 auto; margin-top: 2px;
  color: var(--red);
  display: inline-flex;
}
.xtc-contact-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.xtc-contact-text i {
  font-style: normal; font-size: 11px; color: var(--muted); letter-spacing: 0.3px;
}
.xtc-contact-text b {
  font-size: 12px; font-weight: 700; color: var(--blue-dark);
  line-height: 1.3;
  overflow-wrap: anywhere;   /* 邮箱等长串允许断行，不再省略 */
}
a.xtc-contact-item:hover .xtc-contact-text b { color: var(--red); }
/* 只剩一项时占满整行（说明行不参与计数，故不用 nth-child） */
.xtc-contact-item:only-of-type { grid-column: 1 / -1; }

@media (max-width: 640px) {
  .xtc-contact { grid-template-columns: 1fr; }
  .xtc-contact-item { padding: 8px 12px; align-items: center; }
  .xtc-contact-text { flex-direction: row; align-items: baseline; gap: 6px; }
  .xtc-contact-text i { font-size: 11px; }
  .xtc-contact-text b { font-size: 12.5px; }
}

/* ============================================================
   首屏加载过渡：公司名 + 小火箭「呲溜」飞过
   ============================================================ */
.page-veil {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px;
  background: #ffffff;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  /* 兜底：即使 JS 未执行，2.6s 后也自动淡出 */
  animation: veilFallback 0.4s ease 2.6s forwards;
}
.page-veil.is-done { opacity: 0; visibility: hidden; animation: none; }

.veil-brand {
  font-family: "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  font-size: clamp(19px, 2.2vw, 28px);
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--red);
  text-align: center;
  animation: veilBrandIn 0.5s ease both;
}

/* 火箭跑道 */
.veil-fly {
  position: relative;
  width: 240px; height: 24px;
  overflow: hidden;
}
.veil-fly::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1px;
  background: repeating-linear-gradient(90deg, #e3e9f2 0 5px, transparent 5px 11px);
}
.veil-trail {
  position: absolute; left: 0; top: calc(50% - 1px);
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200, 16, 46, 0.55), rgba(240, 180, 41, 0.9));
  transform-origin: left center;
  transform: scaleX(0);
  animation: veilTrail 1.15s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.veil-rocket {
  position: absolute; top: 50%; left: 0;
  margin-top: -10px;
  color: var(--red);
  display: block;
  animation: veilFly 1.15s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.veil-rocket svg { display: block; }

@keyframes veilFly {
  0% { transform: translate(-44px, 2px); }
  60% { transform: translate(150px, -1px); }
  100% { transform: translate(288px, -6px); }
}
@keyframes veilTrail {
  0% { transform: scaleX(0); opacity: 0.2; }
  60% { transform: scaleX(0.72); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0.15; }
}
@keyframes veilBrandIn {
  from { opacity: 0; transform: translateY(6px); letter-spacing: 8px; }
  to { opacity: 1; transform: none; letter-spacing: 4px; }
}
@keyframes veilFallback {
  to { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .veil-brand, .veil-rocket, .veil-trail { animation: none; }
  .veil-rocket { transform: translate(96px, 0); }
  .veil-trail { transform: scaleX(0.6); }
}

/* 联系方式栏：仅电话 / 邮箱 两项 */
.xtc-contact-cap {
  grid-column: 1 / -1;
  padding: 8px 12px 6px;
  background: #f4f8fd;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.xtc-contact { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
.xtc-contact-item { padding: 10px 11px; }
.xtc-contact-text b { font-size: 12px; }
@media (max-width: 640px) {
  /* 两项并排即可，不再单列 */
  .xtc-contact { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
  .xtc-contact-item { align-items: flex-start; padding: 9px 10px; }
  .xtc-contact-text { flex-direction: column; align-items: flex-start; gap: 1px; }
  .xtc-contact-text b { font-size: 12px; }
}

/* ============================================================
   博客式职位文章 + Markdown 编辑器
   ============================================================ */

/* 文章卡 */
.job-post {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: clamp(18px, 2vw, 26px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.job-post:hover { box-shadow: var(--shadow-lg); border-color: #cfdcf0; }
.job-post.is-closed { opacity: 0.62; }
.job-post-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.job-post-head h3 { font-size: clamp(18px, 1.5vw, 21px); color: var(--blue-dark); }
.job-post-meta {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px 16px; margin-top: 8px; padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
  font-size: 13.5px; color: var(--muted);
}
.job-post-body { margin-top: 14px; }
.job-post-body.is-clamped { max-height: 220px; overflow: hidden; position: relative; }
.job-post-body.is-clamped::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background: linear-gradient(transparent, #fff);
}
.job-post-toggle {
  margin-top: 12px; background: none; border: 0; padding: 0;
  color: var(--blue); font-size: 13.5px; cursor: pointer; font-family: inherit;
}
.job-post-toggle:hover { text-decoration: underline; }

/* Markdown 正文排版 */
.md-body { color: #3d4b5a; font-size: 15px; line-height: 1.9; }
.md-body h2, .md-body h3, .md-body h4, .md-body h5 {
  color: var(--blue-dark); margin: 22px 0 10px; line-height: 1.4;
}
.md-body h2 { font-size: 20px; }
.md-body h3 { font-size: 17px; }
.md-body h4, .md-body h5 { font-size: 15.5px; }
.md-body > *:first-child { margin-top: 0; }
.md-body p { margin: 0 0 12px; }
.md-body ul, .md-body ol { margin: 0 0 12px; padding-left: 22px; }
.md-body ul { list-style: disc; }
.md-body ol { list-style: decimal; }
.md-body li::marker { color: var(--blue); }
.md-body li { margin-bottom: 6px; }
.md-body blockquote {
  margin: 14px 0; padding: 10px 16px;
  border-left: 3px solid var(--red);
  background: #f7fafd; color: #4a5a6b; border-radius: 0 8px 8px 0;
}
.md-body code {
  background: #eef2f8; padding: 1px 6px; border-radius: 4px;
  font-size: 13px; font-family: ui-monospace, Consolas, monospace;
}
.md-body img { max-width: 100%; border-radius: 10px; margin: 10px 0; }
.md-body a { color: var(--blue); text-decoration: underline; }
.md-body hr { border: 0; border-top: 1px solid var(--border); margin: 22px 0; }

/* 后台 Markdown 编辑器 */
.md-toolbar {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 8px; background: #f4f7fc;
  border: 1px solid #dfe7f2; border-radius: 8px 8px 0 0; border-bottom: 0;
}
.md-toolbar button {
  border: 1px solid #d8e2ef; background: #fff; color: #33465c;
  border-radius: 6px; padding: 4px 10px; font-size: 12.5px; cursor: pointer;
  font-family: inherit; transition: background 0.15s, border-color 0.15s;
}
.md-toolbar button:hover { background: #eaf2fd; border-color: #b9cfeb; }
.md-toolbar .md-preview-btn { margin-left: auto; color: var(--blue); font-weight: 600; }
.md-input {
  width: 100%; border: 1px solid #dfe7f2; border-radius: 0 0 8px 8px;
  padding: 12px 14px; font-size: 14px; line-height: 1.75;
  font-family: ui-monospace, Consolas, "Courier New", monospace;
  resize: vertical; min-height: 200px; color: #2f3f52; background: #fff;
}
.md-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.12); }
.md-preview {
  margin-top: 10px; padding: 14px 16px;
  border: 1px dashed #cfdcf0; border-radius: 8px; background: #fbfdff;
}

/* 公司动态徽标（非招聘类博客） */
.job-status.is-life { background: #eef3fb; color: #2a6fbf; border: 1px solid #d5e3f5; }
.job-post-head h3 { flex: 1; }

/* 博客卡封面图 */
.job-post.has-cover { padding: 0; overflow: hidden; }
.job-post-cover {
  width: 100%;               /* 不加会把宽度交给 aspect-ratio 计算，导致只占卡片一半 */
  aspect-ratio: 16 / 7; max-height: 340px;
  overflow: hidden; background: var(--blue-light);
}
.job-post-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.job-post:hover .job-post-cover img { transform: scale(1.03); }
.job-post-inner { padding: clamp(18px, 2vw, 26px); }
.job-post.has-cover .job-post-head { margin-top: 0; }

/* 后台封面预览 */
.md-cover-preview {
  margin-top: 8px; border: 1px dashed #d8e2ef; border-radius: 8px;
  padding: 8px; background: #fbfdff;
}
.md-cover-preview img {
  display: block; width: 100%; max-height: 160px; object-fit: cover;
  border-radius: 6px;
}

/* 后台上传控件 */
.md-upload-row { display: flex; gap: 8px; align-items: stretch; }
.md-upload-row input[type="text"] { flex: 1; min-width: 0; }
.md-upload-row .btn { flex: 0 0 auto; white-space: nowrap; }
.md-upload-tip { font-size: 12px; color: var(--muted); min-height: 16px; margin-top: 4px; }

/* ============================================================
   移动端：加载过渡层上移，视觉重心更居中偏上
   ============================================================ */
@media (max-width: 640px) {
  .page-veil {
    justify-content: flex-start;
    padding-top: 22vh;
  }
  /* 登录页在手机上收紧留白 */
  .admin-login .login-box { padding: 24px 20px; }
  .admin-login h1 { font-size: 22px; margin-bottom: 18px; }
}
@media (max-width: 380px) {
  .page-veil { padding-top: 20vh; }
}

/* 首页速览：公司动态条目的弱化样式 */
.job-teaser-item.is-life strong { color: var(--blue-dark); }
.job-teaser-item.is-life .job-teaser-meta { color: #2a6fbf; }

/* ============================================================
   招聘管理：视图切换 / 置顶开关 / 组内排序
   ============================================================ */
.jobs-view-switch {
  display: inline-flex; gap: 4px; padding: 4px;
  background: #eef3fa; border-radius: 10px; margin-bottom: 16px;
}
.jobs-view-switch button {
  border: 0; background: transparent; color: #4a5c70;
  padding: 7px 16px; border-radius: 8px; font-size: 13px; cursor: pointer;
  font-family: inherit; transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.jobs-view-switch button:hover { color: var(--blue); }
.jobs-view-switch button.active {
  background: #fff; color: var(--blue); font-weight: 600;
  box-shadow: 0 2px 6px rgba(16, 64, 127, 0.12);
}

.jobs-hint { font-size: 12px; color: var(--muted); margin-left: 4px; }

/* 置顶开关按钮：开=蓝，关=灰 */
.pin-toggle {
  border: 1px solid #d9e2ee; background: #f3f6fb; color: #8497ab;
  border-radius: 999px; padding: 3px 12px; font-size: 12px;
  cursor: pointer; font-family: inherit; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pin-toggle:hover { border-color: #b9cfeb; color: var(--blue); }
.pin-toggle.on {
  background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600;
  box-shadow: 0 2px 8px rgba(26, 95, 180, 0.28);
}

/* 置顶行：明显深于表头（表头 #f2f6fb），避免和表头混为一色 */
.data-table tr.is-pinned td { background: #d8e6fa; }
.data-table tr.is-pinned td:first-child { box-shadow: inset 4px 0 0 var(--blue); }
.data-table tr.is-pinned:hover td { background: #cddff8; }
.data-table tr.is-pinned .t-name { color: var(--blue-dark); }

/* 顺序列：只放拖动把手 */
.t-sort { white-space: nowrap; width: 46px; }

/* ============================================================
   招聘管理：操作栏 / 状态点 / 拖动排序
   ============================================================ */

/* hidden 必须压过组件自身的 display */
[hidden] { display: none !important; }

.jobs-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.jobs-bar-right {
  margin-left: auto; display: flex; align-items: center; gap: 10px;
}

.jobs-view-switch {
  display: inline-flex; gap: 4px; padding: 4px;
  background: #eef3fa; border-radius: 10px;
}
.jobs-view-switch button {
  border: 0; background: transparent; color: #4a5c70;
  padding: 7px 18px; border-radius: 8px; font-size: 13px; cursor: pointer;
  font-family: inherit; transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.jobs-view-switch button:hover { color: var(--blue); }
.jobs-view-switch button.active {
  background: #fff; color: var(--blue); font-weight: 600;
  box-shadow: 0 2px 6px rgba(16, 64, 127, 0.12);
}

/* 保存状态点 */
.jobs-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; padding: 4px 10px; border-radius: 999px;
  white-space: nowrap;
}
.jobs-status::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
}
.jobs-status.is-pending { background: #fff6e5; color: #9a6a12; }
.jobs-status.is-saving { background: #eaf2fe; color: var(--blue); }
.jobs-status.is-saving::before { animation: pulse-dot 1s ease-in-out infinite; }
.jobs-status.is-saved { background: #e9f7ee; color: #1a7f45; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* 表下说明 */
.jobs-tip { margin: 10px 2px 0; font-size: 12px; color: var(--muted); }

/* 分开视图的小标题行 */
.jobs-subbar {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0 10px;
}
.jobs-subbar:first-child { margin-top: 0; }
.jobs-subtitle { font-size: 13px; color: var(--muted); }
.jobs-subtitle b { color: var(--blue-dark); }

/* 拖动把手 */
.drag-handle {
  display: inline-block; margin-right: 6px; color: #a7b6c8;
  cursor: grab; font-size: 15px; line-height: 1; user-select: none;
}
.drag-handle:active { cursor: grabbing; color: var(--blue); }

/* 拖动中的行 */
.data-table tr.dragging td { opacity: 0.45; background: #eef5ff; }

/* 插入位置指示线 */
.data-table tr.drop-above td { box-shadow: inset 0 3px 0 var(--blue); }
.data-table tr.drop-below td { box-shadow: inset 0 -3px 0 var(--blue); }
.data-table tr.is-pinned.drop-above td:first-child { box-shadow: inset 0 3px 0 var(--blue), inset 4px 0 0 var(--blue); }
.data-table tr.is-pinned.drop-below td:first-child { box-shadow: inset 0 -3px 0 var(--blue), inset 4px 0 0 var(--blue); }

/* ============================================================
   博客：卡片网格（左图右文，一排两个）+ 详情页
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  display: flex;
  align-items: stretch;
  min-height: 168px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #cfdcf0;
  transform: translateY(-2px);
}

/* 左侧主图 + 向右淡化 */
.blog-card-media {
  position: relative;
  flex: 0 0 38%;
  min-width: 0;
  background: linear-gradient(135deg, #eaf1fa, #dfe9f6);
  overflow: hidden;
}
.blog-card-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-media-empty { width: 100%; height: 100%; }

/* 淡化遮罩：图片右侧渐隐到卡片底色 */
.blog-card-fade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.55) 72%,
    #ffffff 100%);
  pointer-events: none;
}

.blog-card.no-media .blog-card-body { padding: 20px 22px 18px; }
.blog-card.no-media { border-left: 3px solid var(--blue); }
.blog-card-body {
  flex: 1 1 auto; min-width: 0;
  padding: 18px 20px 16px;
  display: flex; flex-direction: column;
}
.blog-card-type {
  font-size: 11.5px; letter-spacing: 0.08em;
  color: var(--blue); background: rgba(26, 95, 180, 0.08);
  border-radius: 999px; padding: 2px 9px; align-self: flex-start;
}
.blog-card-body h3 {
  margin: 8px 0 6px;
  font-size: 16.5px; line-height: 1.45; color: var(--blue-dark);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-body p {
  margin: 0 0 10px;
  font-size: 13px; line-height: 1.7; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-more {
  margin-top: auto;
  font-size: 12.5px; color: var(--blue); font-weight: 600;
}
.blog-card:hover .blog-card-more { text-decoration: underline; }

/* 详情页 */
.post-page { padding: clamp(28px, 5vw, 60px) 0 clamp(50px, 7vw, 90px); background: #fff; }
.post-wrap { max-width: 860px; }
.post-back {
  display: inline-block; margin-bottom: 18px;
  font-size: 13.5px; color: var(--muted); text-decoration: none;
}
.post-back:hover { color: var(--blue); }
.post-back-bottom { margin: 26px 0 0; }

.post-article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.post-hero { width: 100%; max-height: 380px; overflow: hidden; background: var(--blue-light); }
.post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-inner { padding: clamp(22px, 3vw, 38px); }
.post-head { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.post-head h1 {
  margin: 10px 0 10px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35; color: var(--blue-dark);
}
.post-meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.post-meta i { font-style: normal; color: #c3cfdd; }
.post-salary { color: var(--red); font-weight: 700; }
.post-body { font-size: 15.5px; }
.post-apply {
  margin-top: 26px; padding: 16px 18px;
  background: #f5f9ff; border-radius: 12px; font-size: 13.5px; color: #40506a;
}
.post-apply p { margin: 0; }
.post-apply a { color: var(--blue); }
.post-skeleton { padding: 60px 0; text-align: center; color: var(--muted); }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .blog-card { min-height: 148px; }
  .blog-card-media { flex-basis: 34%; }
  .blog-card-body { padding: 14px 16px 13px; }
  .blog-card-body h3 { font-size: 15.5px; }
  .blog-card-body p { -webkit-line-clamp: 2; }
  .post-inner { padding: 20px 18px; }
}

/* ============================================================
   导航左侧：SVG 标志（公司名 + 副标题）
   ============================================================ */
.nav-logo {
  display: inline-flex; align-items: center;
  flex: 0 0 auto; margin-right: 18px;
  text-decoration: none;
}
.nav-logo-img {
  height: 40px; width: auto; display: block;
}
@media (max-width: 1599px) and (min-width: 1025px) {
  .nav-logo-img { height: 36px; }
  .nav-logo { margin-right: 12px; }
}
@media (max-width: 1024px) {
  .nav-logo-img { height: 32px; }
  .nav-logo { margin-right: 8px; }
}
@media (max-width: 768px) {
  .nav-logo-img { height: 28px; }
}

/* ============================================================
   导航左侧：广告栏展开时显示金色标语，收起后渐变成 SVG 标志
   --nav-progress：0 = 广告栏完整可见，1 = 已滚出
   ============================================================ */
.nav-brand {
  display: inline-grid; place-items: center;
  height: 40px; flex: 0 0 auto;
  margin-right: 18px;
  text-decoration: none;
}
.nav-brand > * { grid-area: 1 / 1; }

.nav-slogan-text {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, sans-serif;
  font-size: 21px; font-weight: 800; line-height: 1.2;
  letter-spacing: 2px; white-space: nowrap;
  color: #ffd166;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.34s ease, transform 0.34s ease;
  will-change: opacity, transform;
}

.nav-logo-img {
  height: 40px; width: auto; display: block;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.34s ease 0.12s, transform 0.34s ease 0.12s;
  will-change: opacity, transform;
}

/* 收起态：标语让位给 SVG 标志（时间驱动的过渡，滚动跳变也能看到动画） */
.main-nav.nav-logo-on .nav-slogan-text {
  opacity: 0;
  transform: translateY(-4px);
}
.main-nav.nav-logo-on .nav-logo-img {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1599px) and (min-width: 1025px) {
  .nav-brand { height: 36px; margin-right: 12px; }
  .nav-logo-img { height: 36px; }
  .nav-slogan-text { font-size: 20px; letter-spacing: 1px; }
}
@media (max-width: 1024px) {
  .nav-brand { height: 32px; margin-right: 8px; }
  .nav-logo-img { height: 32px; }
  .nav-slogan-text { font-size: 18px; letter-spacing: 1px; }
}
@media (max-width: 768px) {
  .nav-brand { height: 28px; }
  .nav-logo-img { height: 28px; }
  .nav-slogan-text { font-size: 16px; letter-spacing: 0.5px; }
}

/* ============================================================
   内页：工程案例网格 / 通用 CTA
   ============================================================ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #c9d8ec;
}
.case-card-img {
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--blue-light);
}
.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.case-card:hover .case-card-img img { transform: scale(1.04); }
.case-card-body { padding: 17px 20px 20px; }
.case-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fdeef0;
  color: var(--red);
  font-size: 11.5px;
  letter-spacing: 0.5px;
  line-height: 1.6;
}
.case-card h3 {
  margin: 10px 0 7px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--blue-dark);
}
.case-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-cta { text-align: center; }
.page-cta h2 {
  font-size: clamp(22px, 2vw, 30px);
  color: var(--blue-dark);
}
.page-cta p {
  max-width: 64ch;
  margin: 10px auto 22px;
  color: var(--muted);
  line-height: 1.85;
}

@media (max-width: 768px) {
  .case-grid { grid-template-columns: 1fr; }
}

