:root {
  --brand: #0b4a6f;
  --brand-deep: #07324a;
  --brand-600: #1668a8;
  --brand-050: #eaf2f8;
  --accent: #c8963e;
  --accent-600: #a87a26;
  --ink: #101828;
  --body: #344054;
  --muted: #667085;
  --line: #e4e8ee;
  --soft: #f6f8fa;
  --white: #fff;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--body);
  background: var(--white);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.35; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- 顶部 ---------- */
.topbar {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a:hover { color: #fff; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600; letter-spacing: 1px;
}
.logo-text strong {
  display: block; font-size: 17px; color: var(--ink); font-weight: 600; letter-spacing: 0.5px;
}
.logo-text span { display: block; font-size: 12px; color: var(--muted); letter-spacing: 2px; }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  padding: 8px 14px; font-size: 15px; color: var(--body); border-radius: 6px;
}
.nav a:hover { color: var(--brand); background: var(--brand-050); }
.nav a.active { color: var(--brand); font-weight: 600; }

.header-phone {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3;
}
.header-phone b { color: var(--brand); font-size: 18px; font-weight: 600; }
.header-phone span { font-size: 12px; color: var(--muted); }

.burger {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  background: #fff; border-radius: 6px; cursor: pointer;
}
.burger i { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; }

/* ---------- 通用 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; border-radius: 6px; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: 0.18s; font-family: inherit;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.section { padding: 80px 0; }
.section-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; color: var(--accent-600);
  letter-spacing: 2px; margin-bottom: 10px;
}
.section-head h2 { font-size: 30px; margin-bottom: 14px; }
.section-head p { color: var(--muted); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; color: #fff;
  background: var(--brand) url("../img/show/aisle.jpg") center 40% / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 32, 51, 0.95) 0%, rgba(6, 32, 51, 0.82) 45%, rgba(11, 74, 111, 0.62) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 88px; padding-bottom: 88px; }
.hero h1 { color: #fff; font-size: 40px; line-height: 1.3; margin-bottom: 18px; }
.hero .lead { font-size: 17px; color: rgba(255, 255, 255, 0.86); max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 28px; }
.hero-stats b { display: block; font-size: 30px; color: #fff; font-weight: 600; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, 0.7); }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 30px 26px; transition: 0.2s;
}
.card:hover { border-color: var(--brand-600); transform: translateY(-3px); }
.card h3 { font-size: 17px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14px; }
.card .num {
  width: 40px; height: 40px; border-radius: 8px; background: var(--brand-050);
  color: var(--brand); display: flex; align-items: center; justify-content: center;
  font-weight: 600; margin-bottom: 16px;
}

.pcard { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: 0.2s; }
.pcard:hover { border-color: var(--brand-600); transform: translateY(-3px); }
.pcard .thumb { position: relative; height: 190px; overflow: hidden; background: var(--soft); }
.pcard .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.pcard:hover .thumb img { transform: scale(1.04); }
.pcard .thumb .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 9px;
  font-size: 13px; letter-spacing: 0.5px; color: #fff;
  background: linear-gradient(to bottom, rgba(4, 26, 44, 0), rgba(4, 26, 44, 0.86));
}
.pcard .body { padding: 20px 22px 24px; }
.pcard .body h3 { font-size: 16px; margin-bottom: 8px; }
.pcard .body p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.pcard .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard .tags span { font-size: 12px; background: var(--soft); color: var(--muted); padding: 3px 10px; border-radius: 20px; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.step { text-align: center; }
.step .dot {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--brand); color: #fff; display: flex; align-items: center;
  justify-content: center; font-weight: 600; font-size: 17px;
}
.step h4 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); }

/* ---------- 页面横幅（含实拍背景） ---------- */
.banner {
  position: relative; color: #fff; padding: 92px 0 84px; overflow: hidden;
  background: var(--brand) center / cover no-repeat;
}
.banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 32, 51, 0.93) 0%, rgba(6, 32, 51, 0.80) 48%, rgba(11, 74, 111, 0.55) 100%);
}
.banner .container { position: relative; z-index: 2; }
.banner h1 { color: #fff; font-size: 34px; margin-bottom: 10px; }
.banner p { color: rgba(255, 255, 255, 0.82); font-size: 14px; letter-spacing: 1px; }

/* 各内页横幅背景图（与首页实拍风格统一） */
.banner-about    { background-image: url("../img/show/stack.jpg"); }
.banner-products { background-image: url("../img/show/petronas.jpg"); }
.banner-news     { background-image: url("../img/show/aisle.jpg"); }
.banner-contact  { background-image: url("../img/show/yard.jpg"); }

/* ---------- 关于 ---------- */
.about-block { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-block h2 { font-size: 28px; margin-bottom: 16px; }
.about-block p { margin-bottom: 14px; }
.about-list li { padding-left: 22px; position: relative; margin-bottom: 10px; }
.about-list li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent);
}
.about-visual {
  border-radius: 12px; background: var(--brand-050); border: 1px solid var(--line);
  min-height: 320px; display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-size: 14px; text-align: center; padding: 24px;
  overflow: hidden; position: relative;
}
.about-visual.has-photo { padding: 0; min-height: 0; border-color: var(--line); }
.about-visual.has-photo img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }

/* ---------- 实拍图集 ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery figure {
  position: relative; margin: 0; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: #fff;
}
.gallery img { width: 100%; height: 190px; object-fit: cover; transition: transform 0.35s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 13px 10px;
  font-size: 12.5px; color: #fff; letter-spacing: 0.3px;
  background: linear-gradient(to bottom, rgba(4, 26, 44, 0), rgba(4, 26, 44, 0.88));
}

/* ---------- 宽幅实拍（团队 / 活动） ---------- */
.photo-wide {
  margin: 0; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: #fff;
}
.photo-wide img { display: block; width: 100%; height: auto; }
.photo-wide figcaption {
  padding: 14px 20px; font-size: 13px; color: var(--muted);
  background: #fff; border-top: 1px solid var(--line);
  text-align: center; letter-spacing: 0.3px;
}

/* 深色板块：团队 / 圈子 */
.section-dark { background: var(--brand-deep); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.74); }
.section-dark .section-head .eyebrow { color: var(--accent); }
.section-dark .card { background: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22); }
.section-dark .card h3 { color: var(--ink); }
.section-dark .card p { color: var(--muted); }
.section-dark .grid { margin-top: 28px; }
.photo-wide + .photo-wide { margin-top: 22px; }
.photo-duo + .photo-wide { margin-top: 22px; }
.section-dark .photo-wide { border-color: rgba(255, 255, 255, 0.14); }
.section-dark .photo-wide figcaption {
  background: #0a2b44; color: rgba(255, 255, 255, 0.72);
  border-top-color: rgba(255, 255, 255, 0.12);
}

/* 双图并列：同一活动的两个场景（如交流会「会场 + 门店现场」） */
.photo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.photo-duo figure {
  margin: 0; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: #fff;
}
.photo-duo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-duo figcaption {
  padding: 12px 16px; font-size: 12.5px; color: var(--muted);
  background: #fff; border-top: 1px solid var(--line);

/* ---------- 4 列门店缩略带（走访北京标杆门店） ---------- */
.store-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 22px;
}
.store-row figure {
  margin: 0; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: #fff;
}
.store-row img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.35s;
}
.store-row figure:hover img { transform: scale(1.05); }
.store-row figcaption {
  padding: 9px 12px; font-size: 12px; color: var(--muted);
  background: #fff; border-top: 1px solid var(--line);
  text-align: center; letter-spacing: 0.2px;
}
.store-row-heading {
  margin-top: 30px; margin-bottom: -6px;
  font-size: 13px; color: var(--muted); letter-spacing: 1px;
  text-transform: uppercase;
}
.section-dark .store-row-heading { color: rgba(255, 255, 255, 0.6); }
.section-dark .store-row figure { border-color: rgba(255, 255, 255, 0.14); }
.section-dark .store-row figcaption {
  background: #0a2b44; color: rgba(255, 255, 255, 0.72);
  border-top-color: rgba(255, 255, 255, 0.12);
}
@media (max-width: 768px) {
  .store-row { grid-template-columns: repeat(2, 1fr); }
}
  text-align: center; letter-spacing: 0.3px;
}
.section-dark .photo-duo figure { border-color: rgba(255, 255, 255, 0.14); }
.section-dark .photo-duo figcaption {
  background: #0a2b44; color: rgba(255, 255, 255, 0.72);
  border-top-color: rgba(255, 255, 255, 0.12);
}

table.info { width: 100%; border-collapse: collapse; }
table.info th, table.info td { border: 1px solid var(--line); padding: 14px 16px; text-align: left; font-size: 14px; }
table.info th { background: var(--soft); width: 160px; color: var(--ink); font-weight: 600; }

.cert-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cert-list div {
  border: 1px dashed var(--line); border-radius: 8px; padding: 22px; text-align: center;
  font-size: 14px; color: var(--muted); background: #fff;
}

/* ---------- 新闻 ---------- */
.news-item {
  display: grid; grid-template-columns: 110px 1fr 120px; gap: 24px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.news-item:last-child { border-bottom: none; }
.news-date { color: var(--muted); font-size: 14px; }
.news-item h3 { font-size: 16px; margin-bottom: 4px; }
.news-item p { font-size: 14px; color: var(--muted); }
.news-item a { color: var(--brand); font-size: 14px; }
.news-thumb {
  display: block; width: 100%; max-width: 560px; height: auto;
  border-radius: 8px; border: 1px solid var(--line); margin-bottom: 14px;
}

/* ---------- 联系 / 表单 ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.contact-card { background: var(--soft); border-radius: 12px; padding: 32px; }
.contact-card li { margin-bottom: 20px; }
.contact-card li b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.contact-card li span { font-size: 15px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-050);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-tip { font-size: 13px; color: var(--muted); margin-top: 10px; }
.form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 6px; font-size: 14px; }
.form-msg.ok { display: block; background: #eaf6ee; color: #216e3a; border: 1px solid #bfe3cb; }
.form-msg.err { display: block; background: #fdecec; color: #a32d2d; border: 1px solid #f5c2c2; }

/* ---------- CTA 条 ---------- */
.cta { background: var(--brand); color: #fff; padding: 56px 0; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cta p { color: rgba(255, 255, 255, 0.78); font-size: 15px; }

/* ---------- 页脚 ---------- */
.footer { background: #0d1b2a; color: #a7b4c4; padding: 56px 0 0; font-size: 14px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer li { margin-bottom: 9px; }
.footer li a:hover { color: #fff; }
.footer .logo-text strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0 28px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .nav, .header-phone { display: none; }
  .burger { display: block; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 74px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
  }
  .grid-3, .grid-4, .grid-2, .about-block, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery img { height: 150px; }
  .photo-duo { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .banner { padding: 56px 0; }
  .banner h1 { font-size: 26px; }
  .hero h1 { font-size: 30px; }
  .section { padding: 56px 0; }
  .form-row { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
}
