/* ============================================
   江苏盈瑞电子科技 — 前台全站样式
   B 方案：洁净科技白（白色背景 + 深蓝 + 橙色点缀）
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0F172A;
  --blue:        #1E40AF;
  --blue-light:  #3B82F6;
  --blue-bg:     #F0F4FF;
  --orange:      #F97316;
  --orange-light:#FDBA74;
  --text-main:   #1E293B;
  --text-sub:    #4B5563;
  --text-muted:  #64748B;
  --text-faint:  #94A3B8;
  --bg-white:    #FFFFFF;
  --bg-light:    #F8FAFF;
  --border:      #E2E8F0;
  --shadow:      0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg:   0 8px 24px rgba(0,0,0,0.08);
  --radius:      12px;
  --radius-lg:   16px;
  --font:        'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.6;
  font-size: 15px;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ---------- Container ---------- */
.container       { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-wide  { max-width: 1440px; margin: 0 auto; padding: 0 48px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1440px; margin: 0 auto; padding: 0 48px; height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 46px; height: 46px; flex-shrink: 0; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-zh { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.logo-en { font-size: 11px; font-weight: 400; color: var(--text-muted); letter-spacing: 0.02em; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--blue); font-weight: 500; }

.header-cta {
  padding: 10px 20px; background: var(--blue); color: #fff;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  transition: background 0.2s;
}
.header-cta:hover { background: var(--blue-light); }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
  color: #fff;
  padding: 72px 48px 64px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(59,130,246,0.15) 0%, transparent 60%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; background: rgba(59,130,246,0.18);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 999px; font-size: 12px; color: #93C5FD;
  margin-bottom: 20px;
}
.hero-badge::before { content:''; width:6px; height:6px; border-radius:50%; background:#60A5FA; }
.hero h1 {
  font-size: 48px; font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 16px;
}
.hero p { font-size: 16px; color: #CBD5E1; line-height: 1.8; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 28px; background: var(--blue-light); color: #fff;
  border-radius: 8px; font-size: 15px; font-weight: 600;
  transition: background 0.2s;
}
.btn-primary:hover { background: #2563EB; }
.btn-ghost {
  padding: 14px 28px; background: transparent; color: #CBD5E1;
  border: 1.5px solid rgba(156,163,175,0.5); border-radius: 8px;
  font-size: 15px; font-weight: 500; transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: #94A3B8; color: #fff; }

/* Hero 右侧装饰：晶圆 die 线稿（仅 PC 端显示；宽高比与 viewBox 680:230 一致，避免拉伸变形） */
.hero-deco {
  position: absolute; right: 0; bottom: 0;
  width: 739px; height: 250px;
  pointer-events: none; z-index: 0;
}
@media (min-width: 1025px) {
  /* 锁定标题栏高度：装饰层为绝对定位，不会影响高度；此处固定视觉高度避免抖动 */
  .hero { min-height: 440px; }
}
@media (min-width: 1025px) and (max-width: 1439px) {
  .hero-deco { width: 621px; height: 210px; }
}

/* 浅色背景上的次级按钮：蓝框蓝字（与首页主色调一致） */
.btn-outline {
  padding: 10px 20px; background: #fff; color: var(--blue);
  border: 1.5px solid var(--blue); border-radius: 8px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--blue-bg); border-color: var(--blue); color: var(--blue); }

/* ---------- Stats Bar ---------- */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg-light);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 32px 24px; gap: 4px;
}
.stat-item + .stat-item { border-left: 1px solid var(--border); }
.stat-num { font-size: 32px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.stat-num.blue   { color: var(--blue); }
.stat-num.orange { color: var(--orange); }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ---------- Section ---------- */
.section { padding: 64px 0; }
.section-light { background: var(--bg-light); }
.section-header { margin-bottom: 40px; }
.section-title { font-size: 28px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.section-desc  { font-size: 14px; color: var(--text-muted); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.card p  { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ---------- Grid Helpers ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ---------- Certs ---------- */
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.cert-card .cert-title { font-size: 15px; font-weight: 600; color: var(--navy); }
.cert-card .cert-sub   { font-size: 12px; color: var(--text-muted); }
.cert-card iatf .cert-title { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0F172A; color: var(--text-faint); padding: 48px 0 24px;
}
.footer-inner {
  display: flex; gap: 0;
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  flex-wrap: wrap;
}
.footer-col { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 180px; }
.footer-col:first-child { padding-right: 32px; }
.footer-logo { font-size: 15px; font-weight: 700; color: #fff; }
.footer-tag  { font-size: 12px; color: var(--text-faint); }
.footer-addr { font-size: 12px; color: var(--text-faint); margin-top: 8px; }
.footer-col-h { font-size: 13px; font-weight: 600; color: #94A3B8; margin-bottom: 4px; }
.footer-l  { font-size: 12px; color: var(--text-faint); }
.footer-bottom {
  text-align: center; font-size: 12px; color: #4B5563;
  max-width: 1200px; margin: 32px auto 0; padding: 0 32px;
}

/* 页脚备案信息（ICP / 公安备案） */
.footer-beian {
  margin-top: 8px; font-size: 12px; color: var(--text-faint);
  line-height: 1.8;
}
.footer-beian a {
  color: var(--text-faint); text-decoration: none;
  transition: color 0.2s;
}
.footer-beian a:hover { color: #CBD5E1; text-decoration: underline; }
.footer-beian .sep { color: #334155; margin: 0 6px; }

/* ---------- Page Title (inner pages) ---------- */
.page-title {
  background: var(--bg-light);
  padding: 48px 0 40px;
  text-align: center;
}
.page-title h1 { font-size: 36px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; margin-bottom: 10px; }
.page-title p  { font-size: 14px; color: var(--text-muted); }

/* ---------- Product Cards ---------- */
.product-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card-img {
  position: relative; overflow: hidden;
  height: 168px;
  background: linear-gradient(135deg, #EEF2FF, #DBEAFE);
  display: flex; align-items: flex-start; justify-content: flex-start;
  padding: 12px;
}
/* 有图时：图片铺满卡片顶部，型号角标浮在图片左上角 */
.product-card-img img {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.3s;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-img.has-img { padding: 0; }
.product-card-img .cat-label {
  position: relative; z-index: 1;
  font-size: 11px; font-weight: 600; color: var(--blue);
  background: rgba(255,255,255,0.7); padding: 3px 10px; border-radius: 999px;
}
.product-card-img.has-img .cat-label {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 1px 6px rgba(15,23,42,0.18);
}
.product-card-img .cat-label.orange { color: var(--orange); }
.product-card-body { padding: 16px 18px; }
.product-card-body h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.product-card-body .desc { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.product-card-body .spec { font-size: 11px; color: var(--text-faint); }

/* Filter tabs */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-tab {
  padding: 7px 16px; border-radius: 8px;
  border: 1px solid var(--border); background: #fff;
  font-size: 12px; color: var(--text-sub); cursor: pointer;
  transition: all 0.15s;
}
.filter-tab:hover { border-color: var(--blue-light); color: var(--blue); }
.filter-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }

/* ---------- Quality / Flow Steps ---------- */
.flow-row {
  display: flex; align-items: stretch; gap: 0;
}
.flow-step {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 16px;
  text-align: center;
}
.flow-step + .flow-step { margin-left: 0; }
.flow-step-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-bg);
  display: flex; align-items: center; justify-content: center;
}
.flow-step h4 { font-size: 14px; font-weight: 600; color: var(--navy); }
.flow-step p  { font-size: 12px; color: var(--text-muted); }
.flow-arrow {
  display: flex; align-items: center; padding: 0 4px;
  color: var(--text-faint); font-size: 20px;
}

/* ---------- Job Cards ---------- */
.job-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
  box-shadow: var(--shadow);
}
.job-badge {
  padding: 4px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 600;
  background: var(--blue-bg); color: var(--blue);
  white-space: nowrap; flex-shrink: 0;
}
.job-badge.orange { background: #FFF7ED; color: var(--orange); }
.job-info { flex: 1; }
.job-info h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.job-meta  { font-size: 12px; color: var(--text-muted); }
.job-desc  { font-size: 13px; color: var(--text-sub); margin-top: 8px; line-height: 1.7; white-space: pre-line; }
.job-req   { font-size: 12px; color: var(--text-faint); margin-top: 6px; line-height: 1.7; }
.job-req-body { white-space: pre-line; }

/* 锚点定位偏移：求职投递表单(#apply-form) / 在线留言表单(#contact-form)
   sticky 头部占 72px，留 88px 避免标题被遮住 */
#apply-form, #contact-form { scroll-margin-top: 88px; }
#apply-form.is-flash form { animation: applyFlash 1.8s ease-out; }
@keyframes applyFlash {
  0%   { box-shadow: 0 0 0 4px rgba(59,130,246,0.45), var(--shadow); border-color: #93C5FD; }
  100% { box-shadow: 0 0 0 0 rgba(59,130,246,0), var(--shadow); border-color: var(--border); }
}

/* ---------- 通用「提交成功」弹窗（在线招聘投递 / 在线留言共用） ---------- */
.apply-success-mask {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(15,23,42,0.45);
  animation: applyMaskIn 0.18s ease-out;
}
.apply-success-box {
  width: 100%; max-width: 380px;
  background: #fff; border-radius: 16px;
  padding: 32px 28px 24px; text-align: center;
  box-shadow: 0 24px 60px rgba(15,23,42,0.28);
  animation: applyBoxIn 0.24s cubic-bezier(0.2,0.9,0.3,1.2);
}
.apply-success-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 50%; background: #ECFDF5; border: 1px solid #A7F3D0;
  display: flex; align-items: center; justify-content: center;
}
.apply-success-box h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.apply-success-box p  { font-size: 13px; color: var(--text-sub); line-height: 1.8; margin-bottom: 22px; }
.apply-success-actions .btn-primary {
  display: block; width: 100%; padding: 12px 0;
  font-size: 14px; border: 0; cursor: pointer;
}
@keyframes applyMaskIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes applyBoxIn  { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- Form ---------- */
.form-group { margin-bottom: 16px; }
.form-label  { display: block; font-size: 13px; font-weight: 500; color: var(--text-main); margin-bottom: 6px; }
.form-input, .form-textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; color: var(--text-main);
  font-family: var(--font);
  transition: border-color 0.15s;
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-submit {
  padding: 12px 28px; background: var(--blue); color: #fff;
  border: none; border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background 0.15s;
}
.form-submit:hover { background: #1D4ED8; }
/* 提交中：按钮置灰，防止连点造成重复提交 */
.form-submit:disabled, .btn-primary:disabled, .btn:disabled {
  opacity: 0.65; cursor: not-allowed; pointer-events: none;
}
.form-success {
  padding: 12px 16px; background: #F0FDF4; color: #166534;
  border: 1px solid #BBF7D0; border-radius: 8px; font-size: 13px;
  margin-bottom: 16px;
}

/* ---------- About Stats ---------- */
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 32px;
}
.about-stat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center;
}
.about-stat-num   { font-size: 28px; font-weight: 800; color: var(--navy); }
.about-stat-num.blue   { color: var(--blue); }
.about-stat-num.orange { color: var(--orange); }
.about-stat-label { font-size: 12px; color: var(--text-muted); }

/* ---------- Contact Info Grid ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-info-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-bg); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-card h4 { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.contact-info-card p  { font-size: 13px; color: var(--text-muted); }

/* ---------- 汉堡按钮（移动端） ---------- */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.menu-toggle .bar {
  display: block;
  width: 18px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: background .2s;
}
.menu-toggle .bar::before,
.menu-toggle .bar::after {
  content: '';
  position: absolute;
  left: 0; width: 18px; height: 2px;
  background: var(--navy);
  transition: transform .25s, top .25s;
}
.menu-toggle .bar::before { top: -6px; }
.menu-toggle .bar::after  { top: 6px; }
.menu-toggle.active .bar { background: transparent; }
.menu-toggle.active .bar::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active .bar::after  { top: 0; transform: rotate(-45deg); }

/* ---------- 移动端抽屉菜单 ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(15,23,42,0.08);
  z-index: 99;
  padding: 12px 24px 20px;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform .25s, opacity .25s, visibility .25s;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text-main);
  transition: background .15s, color .15s;
}
.mobile-menu a:hover, .mobile-menu a.active {
  background: var(--blue-bg);
  color: var(--blue);
  font-weight: 600;
}
.mobile-menu .mobile-cta {
  margin-top: 12px;
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-weight: 600;
}
.mobile-menu .mobile-cta:hover { background: var(--blue-light); }

/* ---------- 遮罩（防止误点穿透） ---------- */
.menu-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15,23,42,0.25);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.menu-backdrop.open { opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */
/* 平板 / 宽屏 769-1024 */
@media (max-width: 1024px) {
  .grid-4  { grid-template-columns: repeat(2, 1fr); }
  .grid-3  { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .flow-row { flex-direction: column; gap: 8px; }
  .flow-arrow { display: none; }
  .section { padding: 56px 0; }
  .hero { padding: 64px 40px 56px; }
  .hero-deco { display: none; }
  .container, .container-wide { padding: 0 32px; }
}

/* 手机 ≤768 */
@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .menu-backdrop { display: block; }

  .hero { padding: 56px 24px 48px; }
  .hero h1 { font-size: 30px; line-height: 1.15; }
  .hero p { font-size: 14px; }
  .hero-inner { max-width: 100%; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost {
    padding: 12px 20px; font-size: 14px; text-align: center;
  }

  .section { padding: 48px 0; }
  .section-title { font-size: 22px; }
  .section-desc { font-size: 13px; }
  .page-title { padding: 40px 24px 32px; }
  .page-title h1 { font-size: 28px; }
  .page-title p { font-size: 13px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 24px 16px; }
  .stat-num { font-size: 26px; }
  .stat-label { font-size: 12px; }

  /* 一站式工艺流程：移动端隐藏「晶圆切割」，其余 4 步改为 2×2 网格 */
  .flow-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .flow-step.hide-mobile { display: none; }
  .flow-step { padding: 18px 12px; gap: 8px; }
  .flow-step-icon { width: 40px; height: 40px; border-radius: 10px; }
  .flow-step h4 { font-size: 13px; }
  .flow-step p { font-size: 11px; }

  .filter-tabs { gap: 6px; }
  .filter-tab { padding: 6px 12px; font-size: 11px; }

  .job-card { flex-direction: column; gap: 8px; padding: 18px; }
  .form-grid-2 { grid-template-columns: 1fr !important; }

  .header-inner { padding: 0 20px; height: 64px; }
  .logo-img { width: 40px; height: 40px; }
  .logo-zh { font-size: 15px; }
  .logo-en { font-size: 10px; }
  .mobile-menu { top: 64px; }
  .site-footer { padding: 32px 0 16px; }
  .footer-inner { padding: 0 24px; flex-direction: column; gap: 24px; }
  .footer-col { min-width: 0; }
  .footer-col:first-child { padding-right: 0; }
  .footer-bottom { padding: 0 24px; font-size: 11px; }

  /* 1px 左右留白，防止 iPhone Safari 横向滚动条 */
  html { overflow-x: hidden; }
}

/* 非常小的手机 ≤380 */
@media (max-width: 380px) {
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 13px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-stat { padding: 14px; }
  .about-stat-num { font-size: 22px; }
  .job-meta { font-size: 11px; }
  /* 小屏工艺步骤：2×2 保留，仅收紧内边距与图标 */
  .flow-row { gap: 8px; }
  .flow-step { padding: 14px 8px; gap: 6px; }
  .flow-step-icon { width: 34px; height: 34px; }
  .flow-step h4 { font-size: 12px; }
}
