/* ==========================================================
   苏州如迎管材有限公司  官网样式
   工业/工程建材 B2B 风格   钢蓝 + 品牌红
   ========================================================== */

:root {
  --brand-red: #c8102e;
  --brand-red-dark: #a30d24;
  --brand-red-light: #f6e3e6;
  --steel: #1c2c3e;
  --steel-2: #2a4365;
  --orange: #e8531a;
  --gray-50: #f7f8fa;
  --gray-100: #eef0f3;
  --gray-200: #d8dce3;
  --gray-300: #b9c0cb;
  --gray-500: #6b7689;
  --gray-700: #4a5567;
  --gray-900: #1a1a1a;
  --white: #ffffff;

  --shadow-sm: 0 2px 8px rgba(28, 44, 62, 0.06);
  --shadow-md: 0 6px 24px rgba(28, 44, 62, 0.10);
  --shadow-lg: 0 16px 48px rgba(28, 44, 62, 0.14);

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --container: 1240px;
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, "Hiragino Sans GB", "Heiti SC", sans-serif;
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--steel); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-red); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
h1, h2, h3, h4 { color: var(--steel); font-weight: 700; line-height: 1.3; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title .eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; color: var(--brand-red);
  letter-spacing: 2px; text-transform: uppercase;
  padding-bottom: 6px; position: relative;
  margin-bottom: 12px;
}
.section-title .eyebrow::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 40px; height: 2px; background: var(--brand-red);
}
.section-title h2 { font-size: 34px; margin-bottom: 10px; }
.section-title p { color: var(--gray-500); font-size: 16px; max-width: 720px; margin: 0 auto; }

/* ========= 顶部条 ========= */
.topbar {
  background: var(--steel); color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: #fff; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar .tb-icon { display: inline-flex; align-items: center; gap: 4px; }

/* ========= 主导航 ========= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 50px; width: auto; }
.brand-text { line-height: 1.1; white-space: nowrap; }
.brand-text .name { font-size: 19px; font-weight: 800; color: var(--steel); white-space: nowrap; }
.brand-text .sub  { font-size: 11px; color: var(--gray-500); letter-spacing: 0.5px; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav a {
  display: inline-block; padding: 10px 16px; font-size: 15px; font-weight: 500;
  color: var(--gray-900); position: relative; border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--brand-red); }
.nav a.active::after, .nav a:hover::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--brand-red);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-red); color: #fff !important; padding: 10px 18px !important;
  border-radius: var(--radius) !important; margin-left: 8px; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--brand-red-dark) !important; color: #fff !important; }
.nav-cta::after { display: none !important; }
.menu-toggle { display: none; }

@media (max-width: 1280px) {
  /* 中等屏幕：隐藏brand英文副标题，nav间距收紧，防止header溢出 */
  .brand-text .sub { display: none; }
  .nav a { padding: 10px 12px; font-size: 14px; }
  .nav-cta { padding: 10px 14px !important; font-size: 14px !important; }
}

@media (max-width: 960px) {
  .topbar { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 16px; gap: 0; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s;
    border-top: 1px solid var(--gray-100);
  }
  .nav.open { transform: translateX(0); }
  .nav a { padding: 14px 16px; font-size: 16px; border-bottom: 1px solid var(--gray-100); border-radius: 0; }
  .nav a.active::after, .nav a:hover::after { left: 16px; right: auto; width: 4px; height: 18px; bottom: 50%; transform: translateY(50%); }
  .nav-cta { margin: 16px 0 0; text-align: center; }
  .menu-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; color: var(--steel);
  }
  .menu-toggle svg { width: 26px; height: 26px; }
  .header-inner { height: 64px; }
  :root { --header-h: 64px; }
  .brand img { height: 42px; }
  .brand-text .name { font-size: 17px; }
  .brand-text .sub { display: none; }
}

/* ========= Hero ========= */
.hero {
  position: relative; min-height: 620px; color: #fff;
  background: linear-gradient(135deg, rgba(28,44,62,0.85), rgba(28,44,62,0.55)), url('../img/factory-front-1.jpg') center/cover no-repeat;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg, rgba(28,44,62,0.82) 0%, rgba(28,44,62,0.45) 60%, rgba(28,44,62,0.35) 100%);
}
.hero-inner { position: relative; z-index: 3; max-width: 760px; padding: 80px 0; }
.hero .tag {
  display: inline-block; padding: 6px 14px; background: var(--brand-red);
  font-size: 13px; font-weight: 600; letter-spacing: 1px; border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  color: #fff; font-size: 46px; line-height: 1.18; margin-bottom: 18px; font-weight: 800;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero h1 span { color: #ffb84d; }
.hero .lede { font-size: 18px; color: rgba(255,255,255,0.92); margin-bottom: 28px; line-height: 1.7; }
.hero .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px;
  font-size: 15px; font-weight: 600; border-radius: var(--radius);
  transition: all .2s; cursor: pointer; border: 0;
}
.btn-primary { background: var(--brand-red); color: #fff; }
.btn-primary:hover { background: var(--brand-red-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--steel); }
.btn-dark { background: var(--steel); color: #fff; }
.btn-dark:hover { background: var(--steel-2); color: #fff; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-stats .item .num { font-size: 36px; font-weight: 800; color: #ffb84d; line-height: 1; margin-bottom: 6px; }
.hero-stats .item .lbl { font-size: 14px; color: rgba(255,255,255,0.85); }
@media (max-width: 720px) {
  .hero { min-height: 520px; }
  .hero-inner { padding: 60px 0; }
  .hero h1 { font-size: 30px; }
  .hero .lede { font-size: 15px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; padding-top: 24px; }
  .hero-stats .item .num { font-size: 28px; }
}

/* ========= 核心优势 数字条 ========= */
.facts { background: var(--white); margin-top: -56px; position: relative; z-index: 5; }
.facts-inner {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.facts-inner .item {
  padding: 28px 20px; text-align: center; border-right: 1px solid var(--gray-100);
}
.facts-inner .item:last-child { border-right: 0; }
.facts-inner .item .num {
  font-size: 38px; font-weight: 800; color: var(--brand-red); line-height: 1; margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.facts-inner .item .lbl { color: var(--gray-700); font-size: 14px; font-weight: 500; }
.facts-inner .item .lbl small { display: block; color: var(--gray-500); font-size: 12px; margin-top: 2px; }
@media (max-width: 720px) {
  .facts-inner { grid-template-columns: repeat(2, 1fr); }
  .facts-inner .item:nth-child(2) { border-right: 0; }
  .facts-inner .item:nth-child(1), .facts-inner .item:nth-child(2) { border-bottom: 1px solid var(--gray-100); }
  .facts-inner .item .num { font-size: 28px; }
}

/* ========= 产品分类 ========= */
.products-section { background: var(--gray-50); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px 22px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
  transition: all .25s; position: relative; overflow: hidden;
}
.prod-card::before {
  content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 0;
  background: var(--brand-red); transition: height .25s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-red-light); }
.prod-card:hover::before { height: 100%; }
.prod-card .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--brand-red-light);
  color: var(--brand-red); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 26px; font-weight: 800;
}
.prod-card h3 { font-size: 18px; margin-bottom: 10px; }
.prod-card p { color: var(--gray-700); font-size: 14px; line-height: 1.7; min-height: 84px; }
.prod-card ul { margin-top: 12px; }
.prod-card ul li {
  position: relative; padding: 4px 0 4px 18px; color: var(--gray-700); font-size: 13px;
}
.prod-card ul li::before {
  content: ''; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand-red);
}
@media (max-width: 960px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .prod-grid { grid-template-columns: 1fr; } }

/* ========= 关于 ========= */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-text h2 { font-size: 34px; margin-bottom: 18px; }
.about-text p { color: var(--gray-700); margin-bottom: 14px; font-size: 15px; }
.about-text .quote {
  border-left: 4px solid var(--brand-red); padding: 4px 0 4px 18px; margin: 22px 0;
  color: var(--steel); font-weight: 500; font-size: 16px;
}
.about-img { position: relative; }
.about-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-img .badge {
  position: absolute; right: -16px; bottom: -16px; background: var(--brand-red); color: #fff;
  padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow-md);
  font-size: 14px; line-height: 1.4;
}
.about-img .badge strong { display: block; font-size: 26px; font-weight: 800; color: #ffb84d; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-img .badge { right: 12px; bottom: -16px; }
  .about-text h2 { font-size: 28px; }
}

/* ========= 仓储 / 工厂实力 ========= */
.strength { background: var(--steel); color: rgba(255,255,255,0.92); }
.strength .section-title h2 { color: #fff; }
.strength .section-title p { color: rgba(255,255,255,0.7); }
.strength .section-title .eyebrow { color: #ffb84d; }
.strength .section-title .eyebrow::after { background: #ffb84d; }
.strength-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.strength-text h3 { color: #fff; font-size: 26px; margin-bottom: 16px; }
.strength-text p { color: rgba(255,255,255,0.78); margin-bottom: 14px; }
.strength-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.strength-points .item {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  padding: 18px; border-radius: var(--radius);
}
.strength-points .item .n {
  font-size: 30px; font-weight: 800; color: #ffb84d; line-height: 1; margin-bottom: 6px;
}
.strength-points .item .t { color: #fff; font-size: 14px; font-weight: 500; }
.strength-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.strength-gallery img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; height: 100%; }
@media (max-width: 860px) {
  .strength-grid { grid-template-columns: 1fr; }
  .strength-points { grid-template-columns: 1fr 1fr; }
  .strength-text h3 { font-size: 22px; }
}

/* ========= 品牌合作 ========= */
.brands-section { background: var(--white); }
.brands-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 12px; }
.brand-card {
  background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 24px 12px; text-align: center; transition: all .2s;
}
.brand-card:hover { border-color: var(--brand-red); background: #fff; transform: translateY(-2px); }
.brand-card .name { font-size: 16px; font-weight: 700; color: var(--steel); }
.brand-card .role { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
@media (max-width: 720px) { .brands-grid { grid-template-columns: repeat(3, 1fr); } }

/* ========= 服务流程 ========= */
.flow-section { background: var(--gray-50); }
.flow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; position: relative; }
.flow .step { text-align: center; position: relative; padding: 12px 4px; }
.flow .step .circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; color: var(--brand-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; margin: 0 auto 12px;
  border: 2px solid var(--brand-red); position: relative; z-index: 2;
}
.flow .step .label { font-size: 13px; color: var(--steel); font-weight: 600; }
.flow .step::after {
  content: '→'; position: absolute; right: -8px; top: 28px; color: var(--brand-red); font-size: 20px; font-weight: 700;
}
.flow .step:last-child::after { display: none; }
@media (max-width: 960px) {
  .flow { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .flow .step::after { display: none; }
}

/* ========= 案例 ========= */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.case-card .img { aspect-ratio: 16/10; overflow: hidden; }
.case-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.case-card:hover .img img { transform: scale(1.05); }
.case-card .body { padding: 18px 20px 22px; }
.case-card .tag {
  display: inline-block; font-size: 12px; color: var(--brand-red); font-weight: 600;
  padding: 2px 10px; background: var(--brand-red-light); border-radius: 12px; margin-bottom: 10px;
}
.case-card h3 { font-size: 18px; margin-bottom: 8px; }
.case-card p { color: var(--gray-700); font-size: 14px; }
@media (max-width: 860px) { .case-grid { grid-template-columns: 1fr; } }

/* ========= 联系 CTA 区块 ========= */
.cta-section {
  background: linear-gradient(135deg, var(--brand-red) 0%, #7a0a1d 100%);
  color: #fff; text-align: center; padding: 64px 0;
}
.cta-section h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.92); font-size: 17px; margin-bottom: 28px; }
.cta-section .cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary { background: #fff; color: var(--brand-red); }
.cta-section .btn-primary:hover { background: var(--steel); color: #fff; }
.cta-section .btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.cta-section .btn-outline:hover { background: #fff; color: var(--brand-red); }
.cta-section .phones { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 28px; font-size: 15px; }
.cta-section .phones .p { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,0.18); padding: 10px 18px; border-radius: var(--radius); }
.cta-section .phones .p strong { font-size: 19px; font-weight: 800; color: #ffb84d; letter-spacing: 0.5px; }
@media (max-width: 720px) {
  .cta-section h2 { font-size: 24px; }
  .cta-section p { font-size: 15px; }
}

/* ========= 页脚 ========= */
.footer { background: #0e1722; color: rgba(255,255,255,0.7); padding: 56px 0 0; font-size: 14px; }
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 700; }
.footer .brand img { height: 46px; margin-bottom: 14px; filter: brightness(1.05); }
.footer .about-co { color: rgba(255,255,255,0.6); line-height: 1.8; }
.footer ul li { padding: 5px 0; }
.footer .contact-line { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; }
.footer .contact-line .lbl { color: rgba(255,255,255,0.5); min-width: 56px; font-size: 13px; }
.footer .qrcode { display: flex; align-items: center; gap: 12px; }
.footer .qrcode .ph { width: 88px; height: 88px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); font-size: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; font-size: 13px; color: rgba(255,255,255,0.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ========= 通用：面包屑 ========= */
.crumbs { background: var(--gray-50); padding: 16px 0; font-size: 13px; color: var(--gray-500); }
.crumbs a { color: var(--gray-700); }
.crumbs .sep { margin: 0 8px; color: var(--gray-300); }
.crumbs .here { color: var(--steel); font-weight: 500; }

/* ========= 通用：内页 hero（小） ========= */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(28,44,62,0.92), rgba(28,44,62,0.75)), url('../img/factory-front-2.jpg') center/cover no-repeat;
  color: #fff; padding: 72px 0 64px; text-align: center;
  overflow: hidden;
}
.page-hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg, rgba(28,44,62,0.86) 0%, rgba(28,44,62,0.58) 60%, rgba(28,44,62,0.5) 100%);
}
.page-hero .container { position: relative; z-index: 3; }
.page-hero h1 { color: #fff; font-size: 38px; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 16px; max-width: 720px; margin: 0 auto; }
@media (max-width: 720px) {
  .page-hero { padding: 56px 0 48px; }
  .page-hero h1 { font-size: 28px; }
}

/* ========= 通用：内容块 ========= */
.content { padding: 64px 0; }
.content h2 { font-size: 28px; margin: 36px 0 14px; }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 20px; margin: 24px 0 10px; }
.content p { color: var(--gray-700); margin-bottom: 12px; }
.content ul, .content ol { margin: 8px 0 16px 24px; }
.content ul li, .content ol li { padding: 4px 0; color: var(--gray-700); list-style: disc; }

/* ========= 回到顶部 + 浮动电话 ========= */
.float-phone {
  position: fixed; right: 18px; bottom: 24px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.float-phone a {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-red); color: #fff; box-shadow: var(--shadow-md);
  font-size: 22px; transition: transform .2s;
}
.float-phone a:hover { transform: scale(1.08); color: #fff; }
.float-phone a.wechat { background: #1aad19; }
.float-phone a.top { background: var(--steel); font-size: 18px; }
@media (max-width: 540px) { .float-phone { right: 12px; bottom: 14px; } .float-phone a { width: 46px; height: 46px; } }

/* ========= 表格样式（资质/参数） ========= */
.info-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.info-table th, .info-table td { border: 1px solid var(--gray-200); padding: 12px 16px; text-align: left; font-size: 14px; }
.info-table th { background: var(--gray-50); color: var(--steel); font-weight: 600; width: 30%; }
@media (max-width: 540px) {
  .info-table th, .info-table td { padding: 8px 10px; font-size: 13px; }
}

/* ========= 联系页 ========= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: 20px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--brand-red); display: inline-block; }
.contact-card .row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--gray-100); }
.contact-card .row:last-child { border-bottom: 0; }
.contact-card .row .ico {
  width: 36px; height: 36px; border-radius: 8px; background: var(--brand-red-light); color: var(--brand-red);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px;
}
.contact-card .row .text .lbl { font-size: 12px; color: var(--gray-500); }
.contact-card .row .text .val { font-size: 15px; color: var(--steel); font-weight: 600; }
.contact-card .row .text .val.big { font-size: 22px; color: var(--brand-red); }
.map-frame {
  width: 100%; height: 360px; border: 0; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); background: var(--gray-100);
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .map-frame { height: 280px; }
}

/* ========= 浮动弹窗（微信/电话） ========= */
.ryg-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(14, 23, 34, 0.55);
  padding: 20px; backdrop-filter: blur(2px);
}
.ryg-modal.open { display: flex; }
.ryg-modal-card {
  position: relative; width: 100%; max-width: 360px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 30px 26px 26px; text-align: center;
  animation: ryg-pop .25s ease;
}
@keyframes ryg-pop {
  from { opacity: 0; transform: scale(.92) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.ryg-modal-close {
  position: absolute; top: 10px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 20px; line-height: 1; color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.ryg-modal-close:hover { background: var(--gray-100); color: var(--steel); }
.ryg-modal-card h3 {
  font-size: 18px; margin: 0 0 16px; color: var(--steel);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.ryg-modal-card h3 .dot {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}
.ryg-modal-card .qr-wrap {
  width: 190px; height: 190px; margin: 0 auto 14px;
  border: 1px solid var(--gray-100); border-radius: 12px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
}
.ryg-modal-card .qr-wrap img { width: 100%; height: 100%; object-fit: contain; }
.ryg-modal-card .wx-id { font-size: 15px; font-weight: 700; color: var(--steel); margin-bottom: 4px; }
.ryg-modal-card .tip { font-size: 12px; color: var(--gray-500); margin-top: 10px; }
.ryg-modal-card .big-phone {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 22px; font-weight: 800; color: var(--brand-red);
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: 12px; padding: 14px 10px; margin-bottom: 12px;
  transition: all .15s;
}
.ryg-modal-card .big-phone:hover {
  background: var(--brand-red); color: #fff; border-color: var(--brand-red);
}
.ryg-modal-card .sub { font-size: 12px; color: var(--gray-500); margin: -6px 0 14px; }
.ryg-modal-card .hours-line {
  font-size: 13px; color: var(--gray-500); background: var(--gray-50);
  border-radius: 8px; padding: 8px; margin-top: 4px;
}

/* ========= 留言表单 ========= */
.msg-form {
  max-width: 760px; margin: 24px auto 0;
  background: #fff; border: 1px solid var(--gray-100);
  border-radius: 14px; padding: 28px; box-shadow: var(--shadow-sm);
  text-align: left;
}
.msg-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.msg-form .fg { margin-bottom: 16px; }
.msg-form label { display: block; font-size: 13px; font-weight: 600; color: var(--steel); margin-bottom: 6px; }
.msg-form label .req { color: var(--brand-red); }
.msg-form input, .msg-form select, .msg-form textarea {
  width: 100%; border: 1px solid var(--gray-200); border-radius: 8px;
  padding: 11px 14px; font-size: 14px; color: var(--gray-900);
  font-family: inherit; background: #fff; transition: border-color .15s;
}
.msg-form input:focus, .msg-form select:focus, .msg-form textarea:focus {
  outline: none; border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(200,16,46,.08);
}
.msg-form textarea { resize: vertical; min-height: 110px; }
.msg-form .btn { border: none; cursor: pointer; width: 100%; }
.msg-form .form-tip { font-size: 12px; color: var(--gray-500); margin-top: 10px; text-align: center; }
@media (max-width: 620px) { .msg-form .row { grid-template-columns: 1fr; } }

/* ========= 博客 ========= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .25s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-red-light); }
.blog-card .cover { aspect-ratio: 16/9; overflow: hidden; display: block; }
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .cover img { transform: scale(1.05); }
.blog-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card .cat { display: inline-block; font-size: 12px; color: var(--brand-red); font-weight: 600; padding: 2px 10px; background: var(--brand-red-light); border-radius: 12px; margin-bottom: 10px; align-self: flex-start; }
.blog-card h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.4; }
.blog-card h3 a { color: var(--steel); }
.blog-card p.ex { color: var(--gray-700); font-size: 14px; flex: 1; margin: 0; }
.blog-card .meta { margin-top: 14px; font-size: 13px; color: var(--gray-500); display: flex; gap: 12px; align-items: center; }
.blog-card .more { color: var(--brand-red); font-weight: 600; font-size: 14px; margin-top: 10px; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.post-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; font-size: 14px; color: var(--gray-500); }
.post-meta .cat { color: var(--brand-red); background: var(--brand-red-light); padding: 3px 12px; border-radius: 12px; font-weight: 600; font-size: 13px; }
.post-header h1 { font-size: 32px; line-height: 1.35; margin-bottom: 16px; }
.post-cover { margin: 0 0 30px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.post-cover img { width: 100%; }
.post-figure { margin: 30px 0; text-align: center; }
.post-figure img { border-radius: var(--radius); box-shadow: var(--shadow-sm); max-width: 100%; display: inline-block; }
.post-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--gray-500); }
.faq { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 24px 28px; margin: 32px 0; }
.faq h3 { font-size: 20px; margin-bottom: 14px; }
.faq dt { font-weight: 700; color: var(--steel); margin-top: 12px; }
.faq dd { color: var(--gray-700); margin: 4px 0 0; padding-left: 2px; }
.post-foot { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--gray-100); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.post-tags span { background: var(--gray-100); color: var(--gray-700); padding: 5px 12px; border-radius: 12px; font-size: 13px; }
.rel { margin-top: 28px; }
.rel h3 { font-size: 18px; margin-bottom: 6px; }
.rel a { display: block; padding: 12px 0; border-bottom: 1px dashed var(--gray-100); color: var(--steel); font-weight: 500; }
.rel a:hover { color: var(--brand-red); }
