:root {
  --red: #d81e20;
  --red-d: #a81214;
  --ink: #15181c;
  --ink-2: #2b3037;
  --gray: #5c6068;
  --gray-2: #8e8b86;
  --line: #e7e3dd;
  --line-2: rgba(20, 26, 35, .07);
  --bg: #f6f4f1;
  --white: #fff;
  --radius: 14px;
  --max: 1240px;
  --shadow: 0 1px 2px rgba(20, 26, 35, .04), 0 16px 40px -18px rgba(20, 26, 35, .16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.85;
  background: var(--white);
}

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.topbar {
  background: var(--ink);
  color: #b9c0c9;
  font-size: 13px;
  height: 38px;
  display: flex;
  align-items: center;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; }
.topbar b { color: #fff; font-weight: 500; letter-spacing: .3px; }
.topbar .tb-links a { margin-left: 18px; }
.topbar .tb-links a:hover { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink-2);
  transition: .18s;
}
.nav a:hover { color: var(--red); background: var(--bg); }
.nav a.on { color: var(--red); font-weight: 500; }
.header-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  padding: 11px 18px;
  border-radius: 10px;
  box-shadow: 0 12px 26px -16px rgba(216, 30, 32, .8);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.header-tel span { font-size: 12px; opacity: .9; font-weight: 400; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle i { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  background: #20242a center/cover no-repeat;
  overflow: hidden;
}
/* 主视觉轮播：读取后台「内容管理 → 幻灯片」，只有 1 张时不轮播 */
.hero-slides {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #20242a center/cover no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.on { opacity: 1; }
.hero-dots {
  position: absolute;
  right: 28px;
  bottom: 26px;
  z-index: 3;
  display: flex;
  gap: 9px;
}
.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 50%;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
}
.hero-dot.on { background: #fff; border-color: #fff; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 13, 17, .86) 0%, rgba(10, 13, 17, .60) 40%, rgba(10, 13, 17, .14) 78%, rgba(10, 13, 17, .26) 100%),
    linear-gradient(180deg, rgba(10, 13, 17, .30) 0%, rgba(10, 13, 17, 0) 32%, rgba(10, 13, 17, .38) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { font-size: 52px; line-height: 1.24; font-weight: 500; letter-spacing: -.6px; }
.hero h1 em { font-style: normal; color: #ff6a6c; }
.hero p.slogan { margin-top: 10px; font-size: 15px; letter-spacing: .12em; color: #ffd9a8; }
.hero p.lead { margin-top: 20px; font-size: 17px; color: #ccd3da; max-width: 570px; line-height: 1.85; }
.hero .tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero .tags li {
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .07);
  border-radius: 30px;
  padding: 6px 15px;
  font-size: 12.5px;
  letter-spacing: .6px;
  color: #e6ebf0;
}
.hero .btns { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  letter-spacing: .3px;
  transition: .2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 12px 26px -14px rgba(216, 30, 32, .75); }
.btn-red:hover { background: var(--red-d); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .8); }
.btn-line { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn-line:hover { border-color: var(--red); color: var(--red); }

.stats { background: var(--bg); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats div { padding: 36px 10px; text-align: center; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: 38px; font-weight: 500; line-height: 1.15; color: var(--ink); letter-spacing: -.5px; }
.stats span { display: block; margin-top: 6px; font-size: 13px; color: var(--gray); letter-spacing: .5px; }

.section { padding: 100px 0; }
.section.alt { background: var(--bg); }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .en { font-size: 12px; color: var(--gray-2); letter-spacing: 3px; text-transform: uppercase; }
.sec-head h2 { font-size: 34px; font-weight: 500; color: var(--ink); margin-top: 8px; letter-spacing: -.4px; }
.sec-head h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--red);
  margin: 18px auto 0;
  border-radius: 2px;
}
.sec-head p { margin-top: 16px; color: var(--gray); max-width: 700px; margin-left: auto; margin-right: auto; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.feature {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: center;
  transition: .24s;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(216, 30, 32, .28); }
.feature .ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 18px;
  font-weight: 500;
  transition: .24s;
}
.feature:hover .ico { border-color: var(--red); color: var(--red); }
.feature h3 { font-size: 18px; color: var(--ink); font-weight: 500; margin-bottom: 10px; letter-spacing: .2px; }
.feature p { font-size: 14px; color: var(--gray); line-height: 1.8; }

.p-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .24s;
  display: flex;
  flex-direction: column;
}
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line); }
.p-card .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eceae6; }
.p-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.p-card:hover .thumb img { transform: scale(1.04); }
.p-card .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.p-card h3 { font-size: 18px; color: var(--ink); font-weight: 500; letter-spacing: .2px; }
.p-card p { font-size: 14px; color: var(--gray); margin-top: 10px; flex: 1; line-height: 1.8; }
.p-card .more { margin-top: 18px; font-size: 13.5px; color: var(--red); letter-spacing: .3px; }

.media { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: center; }
.media .txt h2 { font-size: 28px; font-weight: 500; color: var(--ink); }
.media .txt .en { font-size: 13px; letter-spacing: 2px; color: var(--gray-2); text-transform: uppercase; }
.media .txt p { margin-top: 16px; color: var(--gray); }
.media .txt ul.dots { margin-top: 18px; }
.media .txt ul.dots li { position: relative; padding-left: 20px; margin-bottom: 8px; color: var(--ink-2); }
.media .txt ul.dots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.media .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.media .pics img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; }
.media .pics img:first-child { grid-column: span 2; aspect-ratio: 16/9; }

.case-card { position: relative; border-radius: var(--radius); overflow: hidden; }
.case-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; height: auto; transition: .4s; }
.case-card:hover img { transform: scale(1.06); }
.case-card .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 22px 18px;
  background: linear-gradient(transparent, rgba(10, 13, 17, .82));
  color: #fff;
  font-size: 17px;
  letter-spacing: .2px;
}
.case-card .cap small { display: block; font-size: 13px; color: #c9d0d8; }

.news-item {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 26px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.news-item:hover h3 { color: var(--red); }
.news-item .date { color: var(--gray-2); font-size: 12.5px; letter-spacing: .5px; }
.news-item .date b { display: block; font-size: 28px; color: var(--ink); font-weight: 500; line-height: 1.1; letter-spacing: -.5px; }
.news-item h3 { font-size: 17px; color: var(--ink); font-weight: 500; transition: .2s; letter-spacing: .2px; }
.news-item p { font-size: 14px; color: var(--gray); margin-top: 8px; }

.cta { background: #1a1e24; color: #fff; padding: 68px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: 30px; font-weight: 500; letter-spacing: -.3px; }
.cta p { color: #aeb6bf; margin-top: 10px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.info-list li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list .k { color: var(--gray-2); width: 76px; flex: none; }
.info-list .v { color: var(--ink); }
.form { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 30px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 16px;
  color: var(--ink-2);
  background: #fbfaf8;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.form textarea { min-height: 110px; resize: vertical; }
.form .btn { width: 100%; }

.crumb { background: var(--bg); padding: 36px 0; border-bottom: 1px solid var(--line); }
.crumb h1 { font-size: 30px; font-weight: 500; color: var(--ink); letter-spacing: -.3px; }
.crumb .path { font-size: 13px; color: var(--gray-2); margin-top: 6px; }
.crumb .path a:hover { color: var(--red); }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.tabs button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink-2);
  font-family: inherit;
  transition: .18s;
}
.tabs button:hover { border-color: var(--red); color: var(--red); }
.tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; }
.gallery img { border-radius: var(--radius); width: 100%; height: auto; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery .thumbs img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; cursor: pointer; opacity: .72; }
.gallery .thumbs img.on, .gallery .thumbs img:hover { opacity: 1; outline: 2px solid var(--red); }
.spec { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.spec th, .spec td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.spec th { background: var(--bg); color: var(--ink); font-weight: 500; width: 130px; }

.article { max-width: 780px; margin: 0 auto; }
.article h1 { font-size: 32px; color: var(--ink); font-weight: 500; letter-spacing: -.4px; line-height: 1.4; }
.article .meta { color: var(--gray-2); font-size: 13px; margin: 10px 0 26px; }
.article p { margin-bottom: 18px; color: var(--ink-2); line-height: 1.95; }
.article img { border-radius: var(--radius); margin: 20px 0; width: auto; height: auto; max-width: 100%; }

.site-footer { background: #15181c; color: #939ba5; padding: 72px 0 30px; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 16px; font-weight: 500; margin-bottom: 20px; letter-spacing: .3px; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 9px; }
.site-footer .brandline { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.site-footer .brandline img { height: 48px; width: auto; background: #fff; border-radius: 6px; padding: 4px 8px; }
.site-footer .copyright {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7d8792;
}

/* ---------- 悬浮联系卡：微信二维码 + 服务热线（合成一张卡片，宽度天然一致）---------- */
.float-contact {
  position: fixed;
  right: 18px;
  bottom: 26px;
  z-index: 60;
  animation: floatIn .45s ease-out both;
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.float-card {
  width: 138px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px -20px rgba(20, 26, 35, .5);
  transition: transform .18s ease, box-shadow .18s ease;
}
.float-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px -20px rgba(20, 26, 35, .55);
}
.float-close {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 22px;
  height: 22px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gray-2);
  cursor: pointer;
  opacity: .7;
  transition: opacity .18s ease, color .18s ease, border-color .18s ease;
}
.float-close:hover { opacity: 1; color: var(--red); border-color: var(--red); }
/* 收起后显示的小圆钮 */
.float-mini {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: #07c160;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(7, 193, 96, .8);
  transition: transform .18s ease;
}
.float-mini:hover { transform: translateY(-2px); }
.float-contact.collapsed .float-card,
.float-contact.collapsed .float-close { display: none; }
.float-contact.collapsed .float-mini { display: flex; }
.float-wx {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 10px 8px;
  background: #fff;
  border: 0;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.float-wx img { display: block; width: 100%; height: auto; border-radius: 7px; }
.float-wx span {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  color: var(--gray-2);
  letter-spacing: .3px;
  text-align: center;
}
.float-tel {
  display: block;
  padding: 9px 8px 10px;
  background: var(--red);
  color: #fff;
  text-align: center;
  line-height: 1.3;
}
.float-tel em { display: block; font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .82); }
.float-tel b { display: block; margin-top: 1px; font-size: 14px; font-weight: 500; }

/* 点击放大的二维码弹层 */
.wx-modal { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 90; }
.wx-modal.open { display: block; }
.wx-modal-mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(16, 22, 30, .55);
}
.wx-modal-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  max-width: 84vw;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(16, 22, 30, .6);
  text-align: center;
}
.wx-modal-box img { display: block; width: 100%; height: auto; border-radius: 8px; }
.wx-modal-box p { margin: 14px 0 0; font-size: 14px; color: var(--gray-2); }
.wx-modal-close {
  margin-top: 14px;
  padding: 9px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  color: var(--gray);
  cursor: pointer;
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .media, .detail, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; letter-spacing: -.4px; }
  .header-tel { margin-left: auto; }
  .nav-toggle { display: block; padding: 10px; }
  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 34px -24px rgba(20, 26, 35, .4);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 14px 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:last-child { border-bottom: 0; }
}

@media (max-width: 768px) {
  .topbar .tb-links { display: none; }
  .header-tel { display: none; }
  .hero { min-height: 420px; }
  .hero h1 { font-size: 30px; letter-spacing: -.3px; }
  .hero-dots { right: 14px; bottom: 14px; gap: 8px; }
  .hero p.lead { font-size: 15px; }
  .hero .tags { margin-top: 20px; }
  .hero .btns { margin-top: 28px; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 40px; }
  .sec-head h2 { font-size: 24px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stats b { font-size: 30px; }
  .stats div { padding: 26px 8px; border-bottom: 1px solid var(--line); }
  .stats div:nth-child(2n) { border-right: 0; }
  .stats div:nth-last-child(-n+2) { border-bottom: 0; }
  .media .pics { grid-template-columns: 1fr; }
  .media .pics img:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
  .news-item { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .news-item .date b { display: inline; font-size: 15px; margin-right: 6px; letter-spacing: 0; }
  .gallery .thumbs { grid-template-columns: repeat(3, 1fr); }
  .tabs button { padding: 11px 18px; }
  .spec { min-width: 460px; }
  .cta .wrap { flex-direction: column; text-align: center; }
  .cta h2 { font-size: 24px; }
  .form .row { grid-template-columns: 1fr; }
  .site-footer { padding: 54px 0 26px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 30px; }
  .float-contact { right: 10px; bottom: 10px; }
  .float-card { width: 112px; border-radius: 12px; }
  .float-close { top: -10px; right: -10px; width: 24px; height: 24px; opacity: 1; }
  .float-mini { width: 40px; height: 40px; }
  .float-wx { padding: 8px 8px 6px; }
  .float-wx span { font-size: 10px; margin-top: 5px; }
  .float-tel { padding: 7px 6px 8px; }
  .float-tel em { font-size: 10px; }
  .float-tel b { font-size: 12px; }
  .amb-frame { border-radius: 14px; }
}


/* ---------- 形象大使 ---------- */
.amb-split { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: 52px; align-items: center; }
.amb-txt .en { font-size: 12.5px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--gray-2); }
.amb-txt h2 { font-size: 29px; font-weight: 500; color: var(--ink); margin-top: 8px; line-height: 1.42; }
.amb-txt p { margin-top: 16px; color: var(--gray); font-size: 14.5px; line-height: 1.95; }
.amb-rows { margin-top: 24px; display: grid; gap: 12px; }
.amb-rows > div { position: relative; background: var(--bg); border-radius: 10px; padding: 13px 16px 13px 20px; }
.amb-rows > div::before {
  content: "";
  position: absolute;
  left: 0; top: 15px; bottom: 15px;
  width: 3px; border-radius: 0 3px 3px 0;
  background: var(--red);
}
.amb-rows b { font-size: 14.5px; font-weight: 500; color: var(--ink); margin-right: 10px; }
.amb-rows span { font-size: 12.5px; color: var(--gray); }
.amb-frame {
  border-radius: 18px;
  overflow: hidden;
  background: #eceeed;
  box-shadow: 0 24px 50px -26px rgba(20, 26, 35, .34);
}
.amb-frame img { display: block; width: 100%; height: auto; }

@media (max-width: 1024px) {
  .amb-split { grid-template-columns: 1fr; gap: 28px; }
  .amb-txt h2 { font-size: 23px; }
}

/* ---------- 移动端适配：溢出兜底与滚动容器 ---------- */
html { overflow-x: hidden; overflow-x: clip; }
.media > *, .detail > *, .contact-grid > *, .news-item > *, .amb-split > * { min-width: 0; }
.amb-frame picture { display: block; }
.table-scroll { margin-top: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .spec { margin-top: 0; }
.table-scroll::-webkit-scrollbar { height: 6px; }
.table-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }


/* ==================== PbootCMS 适配 ==================== */

/* 分类 tabs：CMS 版用链接跳转栏目，样式与按钮保持一致 */
.tabs a {
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 14px;
  color: var(--ink-2);
  transition: .18s;
}
.tabs a:hover { border-color: var(--red); color: var(--red); }
.tabs a.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* 案例卡片可点击 */
a.case-card { display: block; color: inherit; }

/* 分页条 {page:bar} */
.page {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 52px;
  font-size: 14px;
}
.page a, .page span {
  display: inline-block;
  min-width: 38px;
  height: 38px;
  line-height: 36px;
  text-align: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-2);
  background: #fff;
  transition: .18s;
}
.page a:hover { border-color: var(--red); color: var(--red); }
.page .page-num-current,
.page .page-num-current:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.page .page-status { border: 0; background: none; color: var(--gray-2); min-width: auto; padding: 0 6px; }

/* 富文本正文：后台编辑器输出的内容 */
.rich-body {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.95;
  overflow-wrap: break-word;
  word-break: break-word;
}
.rich-body > *:first-child { margin-top: 0; }
.rich-body p { margin: 0 0 16px; }
.rich-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 16px 0; }
.rich-body h2 { font-size: 20px; color: var(--ink); font-weight: 500; margin: 28px 0 12px; }
.rich-body h3 { font-size: 17px; color: var(--ink); font-weight: 500; margin: 24px 0 10px; }
.rich-body h4 { font-size: 15.5px; color: var(--ink); font-weight: 500; margin: 20px 0 10px; }
.rich-body ul, .rich-body ol { margin: 0 0 16px; padding-left: 22px; }
.rich-body ul li { list-style: disc; margin-bottom: 7px; }
.rich-body ol li { list-style: decimal; margin-bottom: 7px; }
.rich-body strong, .rich-body b { color: var(--ink); font-weight: 500; }
.rich-body a { color: var(--red); }
.rich-body hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.rich-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.rich-body table th, .rich-body table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.rich-body table th { background: var(--bg); color: var(--ink); font-weight: 500; }
.rich-body blockquote {
  border-left: 3px solid var(--line);
  padding: 4px 0 4px 16px;
  color: var(--gray-2);
  margin: 18px 0;
}

/* 详情页主图统一比例 */
/* 产品主图是宽图（1216x736），若锁 4:3 再 cover 会把两侧裁掉（结构图标注会丢），
   故不再固定比例，用 contain 按原比例完整显示 */
.gallery .main-img { object-fit: contain; background: #eceae6; }

/* ---------- 联系我们页 · 地图 ----------
   电脑端用高德 iframe（可拖动缩放）；
   手机端不用 iframe —— 高德嵌入地图在移动端会弹登录且难操作，
   改为「一键唤起高德 App 导航」的卡片。 */
.map-mobile { display: none; }
@media (max-width: 768px) {
  .map-desktop { display: none; }
  .map-mobile {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 24px 20px; text-decoration: none;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  }
  .map-mobile:active { border-color: #d9d4cc; }
  .map-mobile-ico {
    flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
    background: #fdf0f0; color: var(--red);
    display: flex; align-items: center; justify-content: center;
  }
  .map-mobile-txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
  .map-mobile-txt b { color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.5; }
  .map-mobile-txt i { color: var(--gray-2); font-size: 12.5px; font-style: normal; line-height: 1.65; }
  .map-mobile-txt em { color: var(--red); font-size: 13px; font-style: normal; margin-top: 3px; }
  .map-mobile-arrow { margin-left: auto; align-self: center; color: var(--gray-2); font-size: 18px; }
}

/* 留言表单验证码 */
.form .row-checkcode { grid-template-columns: 1fr 118px; align-items: start; }
.form .checkcode {
  width: 118px;
  height: 45px;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fbfaf8;
}

/* 上一篇 / 下一篇 */
.prevnext {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--gray);
}
.prevnext > div { margin-bottom: 8px; }
.prevnext a:hover { color: var(--red); }

@media (max-width: 768px) {
  .tabs { justify-content: flex-start; }
  .tabs a { padding: 10px 16px; font-size: 13.5px; }
  .page { margin-top: 36px; gap: 6px; }
  .page a, .page span { min-width: 34px; height: 34px; line-height: 32px; padding: 0 10px; border-radius: 7px; }
  .form .row-checkcode { grid-template-columns: 1fr; }
  .form .checkcode { width: 100%; height: 48px; }
}

/* ---------- FAQ 常见问题 ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq-item[open] { box-shadow: 0 14px 30px -22px rgba(20, 26, 35, .45); }
.faq-item summary {
  position: relative;
  padding: 17px 54px 17px 22px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
  transition: color .18s ease, background .18s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  display: inline-block;
  margin-right: 10px;
  color: var(--red);
  font-weight: 600;
  font-size: 15px;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.8px solid var(--gray-2);
  border-bottom: 1.8px solid var(--gray-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .22s ease;
}
.faq-item summary:hover { background: #fafbfc; }
.faq-item[open] summary { color: var(--red); background: #fdf7f7; }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-body { padding: 2px 22px 22px; }
.faq-more {
  margin-top: 34px;
  padding: 26px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.faq-more p { color: var(--gray-2); font-size: 14px; margin-bottom: 16px; }
.faq-more-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* 单条问答页 */
.faq-article { max-width: 780px; margin: 0 auto; }
.faq-q { font-size: 26px; color: var(--ink); font-weight: 500; line-height: 1.5; margin-bottom: 20px; }
.faq-article-foot { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.faq-other { max-width: 780px; margin: 46px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }

@media (max-width: 768px) {
  .faq-item summary { padding: 14px 46px 14px 16px; font-size: 15px; }
  .faq-item summary::after { right: 18px; }
  .faq-body { padding: 2px 16px 18px; }
  .faq-q { font-size: 21px; }
  .faq-more { padding: 20px 16px; }
}

/* ===== SEO：h1 结构调整后的兼容样式 ===== */
/* 面包屑区原 h1 降级为 div，保持原视觉 */
.crumb .crumb-title { font-size: 30px; font-weight: 500; color: var(--ink); letter-spacing: -.3px; line-height: 1.3; }
/* ---- 第三轮：图片与原生化改造 ---- */
/* hero 轮播改用 img 承载，视觉与原来一致，但爬虫能读到图与 alt */
.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.float-wx img, .wx-modal-box img { aspect-ratio: 1 / 1; object-fit: contain; }

@media (max-width: 768px) {
  .crumb .crumb-title { font-size: 22px; }
}

/* ---- 第四轮：产品详情正文加厚后的排版 ---- */
/* 长正文从首屏右栏移出，独立成区、居中限宽，避免把首屏挤歪 */
.prod-detail-body { max-width: 840px; margin: 0 auto; }
.prod-detail-body .pdh { margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.prod-detail-body .pdh .en { font-size: 12px; color: var(--gray-2); letter-spacing: 3px; text-transform: uppercase; }
.prod-detail-body .pdh h2 { font-size: 28px; font-weight: 500; color: var(--ink); margin-top: 6px; letter-spacing: -.4px; }
.prod-detail-body .rich-body { font-size: 16px; }
.prod-detail-body .rich-body p { line-height: 1.95; margin: 0 0 18px; }
.prod-detail-body .rich-body h3 { font-size: 19px; margin: 34px 0 12px; }
.prod-detail-body .rich-body table { font-size: 15px; }
.prod-detail-body .rich-body li { line-height: 1.9; margin-bottom: 9px; }

/* 首屏右栏要点列表（.dots 原样式只作用于 .media，这里补一份） */
.detail .txt ul.dots { margin-top: 20px; }
.detail .txt ul.dots li { position: relative; padding-left: 20px; margin-bottom: 9px; color: var(--ink-2); }
.detail .txt ul.dots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

@media (max-width: 768px) {
  .prod-detail-body { max-width: 100%; }
  .prod-detail-body .pdh h2 { font-size: 22px; }
  .prod-detail-body .rich-body { font-size: 15.5px; }
  .prod-detail-body .rich-body table { font-size: 13.5px; }
  .prod-detail-body .rich-body table th,
  .prod-detail-body .rich-body table td { padding: 9px 10px; }
  .prod-detail-body .rich-body h3 { font-size: 17.5px; }
}

/* ============================================================
   详情页相关推荐（V1.7）
   案例 / 新闻 / 产品 / FAQ 详情页的「更多……」区块
   ============================================================ */
.rel-box {
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.rel-h {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.2px;
  margin-bottom: 16px;
}
.rel-list { list-style: none; display: grid; gap: 10px; }
.rel-list li { margin: 0; }
.rel-list a {
  display: block;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  transition: border-color .18s, background .18s;
}
.rel-list a:hover { border-color: rgba(31, 95, 139, .32); background: #f8fbfd; }
.rel-list b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}
.rel-list span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* FAQ 列表页：折叠里只放摘要 + 跳转链接 */
.faq-jump {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--red);
}
.faq-jump:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .rel-list span { display: none; }
  .rel-h { font-size: 17px; }
  .rel-box { margin-top: 34px; padding-top: 22px; }
}

/* ============================================================
   产品分类页导语（V1.9）
   /pc-rain/ /tile-roof/ /carport/ /sunroom/ /pavilion/ 五个分类页
   ============================================================ */
.cat-intro {
  margin-bottom: 34px;
  padding: 26px 30px 22px;
  background: #faf9f7;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}
.cat-intro .ci-lead {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 18px;
}
.cat-intro h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 20px 0 10px;
  letter-spacing: -.2px;
}
.cat-intro p { margin: 0 0 10px; }
.ci-list { list-style: none; margin: 0 0 6px; padding: 0; }
.ci-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}
.ci-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.cat-intro .ci-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--gray);
  font-size: 14px;
}

@media (max-width: 640px) {
  .cat-intro { padding: 20px 18px 16px; font-size: 14.5px; }
  .cat-intro .ci-lead { font-size: 15px; }
  .cat-intro h2 { font-size: 16px; }
}

/* 真实案例正文结尾的行动引导段 */
.article .case-foot {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.85;
}

/* 页脚备案号链接（工信部要求可点击跳转） */
.site-footer .copyright a {
  color: #939ba5;
  text-decoration: none;
  transition: color .18s;
}
.site-footer .copyright a:hover { color: #fff; }
/* 备案号未填时，空链接不占位 */
.site-footer .copyright a:empty { display: none; }

/* 产品页：原 h2 产品名降级为段落，避免与 H1 重复（保留原视觉） */
.detail .txt .prod-name {
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -.3px;
  margin: 0;
}
@media (max-width: 768px) {
  .detail .txt .prod-name { font-size: 21px; }
}
