/* ============ PGS CBEL — 贴源站复刻样式 ============ */
/* 主色: 深蓝 #0b6eb8 / 字体 Roboto / 内容容器 1440px */

:root {
  --blue: #0b6eb8;
  --blue-dark: #0a5a99;
  --blue-deep: #09477a;
  --ink: #333;
  --gray-bg: #f5f5f5;
  --yellow: #f7b52c;
  --container: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { letter-spacing: -0.01em; }

/* ---------- 顶栏 ---------- */
.top-bar { background: var(--blue); color: #fff; font-size: 13px; }
.top-bar .inner {
  max-width: var(--container); margin: 0 auto; padding: 6px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.top-bar .socials { display: flex; gap: 14px; }
.top-bar .socials a { color: #fff; opacity: .9; }
.top-bar .socials a:hover { opacity: 1; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid #eee; }
.site-header .inner {
  max-width: var(--container); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { height: 44px; width: auto; }
.brand .brand-name { font-size: 20px; font-weight: 700; color: #1a1a1a; white-space: nowrap; }
.main-nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.main-nav a {
  display: inline-block; padding: 9px 18px; font-size: 14px; font-weight: 500;
  letter-spacing: .03em; text-transform: uppercase; color: var(--blue-deep); border-radius: 3px;
}
.main-nav a:hover { color: var(--blue); background: #eef5fb; }
.main-nav a.active { background: var(--blue); color: #fff; }
.header-cta { margin-left: 8px; }
.header-cta a {
  display: inline-block; background: var(--blue); color: #fff; font-weight: 500;
  font-size: 14px; padding: 10px 22px; border-radius: 3px; letter-spacing: .02em;
}
.header-cta a:hover { background: var(--blue-dark); }
.nav-toggle { display: none; background: none; border: 1px solid #ddd; border-radius: 4px; padding: 6px 10px; color: var(--blue-deep); }

/* 移动端菜单 */
.mobile-nav { display: none; background: #fff; border-bottom: 1px solid #eee; }
.mobile-nav a { display: block; padding: 12px 24px; font-weight: 500; text-transform: uppercase; font-size: 14px; color: var(--blue-deep); border-top: 1px solid #f0f0f0; }
.mobile-nav.open { display: block; }

/* ---------- Contact 蓝条 ---------- */
.contact-strip { background: var(--blue); color: #fff; }
.contact-strip .inner {
  max-width: var(--container); margin: 0 auto; padding: 12px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.cs-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cs-icon { flex: 0 0 34px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.15); border-radius: 50%; }
.cs-icon svg { width: 16px; height: 16px; fill: #fff; }
.cs-label { font-size: 12px; opacity: .85; text-transform: capitalize; }
.cs-value { font-size: 14px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.cs-value a { color: #fff; }

/* ---------- 内容容器 ---------- */
.page-wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 区块标题（居中 + 蓝色下划线） ---------- */
.sec-title {
  text-align: center; color: var(--blue-deep); font-size: 30px; font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.3;
  margin: 46px 0 26px; position: relative; padding-bottom: 14px;
}
.sec-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 64px; height: 3px; background: var(--blue); border-radius: 2px;
}

/* ---------- 首页 banner ---------- */
.hero-banner img { width: 100%; border-radius: 2px; }

/* ---------- 仓库轮播 ---------- */
.wh-swiper { position: relative; }
.wh-swiper .swiper-slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wh-swiper .swiper-pagination-bullet-active { background: var(--blue); }
.wh-swiper .swiper-button-next, .wh-swiper .swiper-button-prev { color: var(--blue); }

/* ---------- 服务 2x2 ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 10px; }
.svc-grid img { width: 100%; border-radius: 2px; }

/* ---------- 首页整页背景（源站：仓库实拍图 50% 洗白垫底） ---------- */
body[data-page="home"] .page-wrap { position: relative; }
body[data-page="home"] .page-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--page-bg, none);
  background-size: cover; background-position: center top;
  opacity: .5; border-radius: 2px; pointer-events: none;
}
body[data-page="home"] .page-wrap > * { position: relative; z-index: 1; }

/* ---------- Vision / Mission / Core values（源站：黑标题 + 20px 正文，直接压在背景上） ---------- */
.values-block { padding: 26px 10px 34px; }
.values-block h3 {
  color: #000; font-size: 24px; font-weight: 700; line-height: 1.2;
  margin: 28px 0 14px;
}
.values-block h3:first-child { margin-top: 0; }
.values-block p {
  color: #000; font-size: 20px; line-height: 1.6; margin: 0;
  max-width: 1080px;
}

/* ---------- 表单（首页内嵌，源站为 1140px 居中 boxed 容器） ---------- */
.inquiry-section { padding: 20px 0 40px; }
.inquiry-form { max-width: 1140px; margin: 0 auto; }
.inquiry-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry-form input[type=text], .inquiry-form input[type=email], .inquiry-form textarea {
  width: 100%; padding: 11px 14px; margin: 0 0 14px; border: 1px solid #d9d9d9; border-radius: 3px;
  font-size: 15px; font-family: inherit; background: #fff; color: var(--ink);
}
.inquiry-form input:focus, .inquiry-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(11,110,184,.12); }
.inquiry-form .svc-label { font-weight: 500; color: var(--ink); margin: 4px 0 10px; font-size: 15px; }
.svc-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 26px; margin-bottom: 16px; }
.svc-checks label { display: flex; align-items: center; gap: 7px; font-size: 15px; cursor: pointer; }
.svc-checks input { accent-color: var(--blue); width: 15px; height: 15px; }
.btn-quote {
  display: inline-block; background: var(--blue); color: #fff; border: 0; cursor: pointer;
  font-size: 16px; font-weight: 500; letter-spacing: .01em; padding: 12px 32px; border-radius: 3px;
}
.btn-quote:hover { background: var(--blue-dark); }
.btn-quote[disabled] { opacity: .6; cursor: wait; }
.inquiry-status { margin-top: 12px; font-size: 14px; }
.inquiry-status.ok { color: #1a7f37; }
.inquiry-status.err { color: #c0392b; }

/* ---------- 图片链接 / 页脚横幅 ---------- */
.img-link { display: block; }
.footer-banner-wrap { max-width: var(--container); margin: 30px auto 0; padding: 0 24px; }
.footer-banner { width: 100%; border-radius: 2px; margin: 0; }

/* ---------- 服务详情页 ---------- */
.detail-flow { margin: 0 0 34px; }
.detail-flow img { width: 100%; border-radius: 2px; }
.detail-text { margin: 0 0 34px; max-width: 1140px; }
.detail-text p { color: #000; font-size: 16px; line-height: 1.75; margin: 0 0 18px; }
.detail-text p:last-child { margin-bottom: 0; }
.detail-sub { color: #000; font-size: 22px; font-weight: 700; margin: 30px 0 16px; }
.detail-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 34px; }
.detail-gallery.cols3 { grid-template-columns: repeat(3, 1fr); }
.detail-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px; }

/* ---------- 内页 ---------- */
.page-title { font-size: 32px; font-weight: 700; color: #1a1a1a; margin: 34px 0 20px; }
.inner-kicker { color: var(--blue); font-weight: 500; letter-spacing: .08em; font-size: 14px; margin: 6px 0 14px; text-transform: uppercase; }
.about-body p { margin: 0 0 18px; text-align: justify; font-size: 16px; line-height: 1.8; }
.about-photo { margin: 34px 0 50px; }
.about-photo img { width: 100%; object-fit: cover; }

/* services 页 4 张全宽大图 */
.svc-stack { display: grid; gap: 22px; margin: 10px 0 56px; }
.svc-stack img { width: 100%; border-radius: 2px; }

/* advantages 页 2+2+1 */
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 10px 0 56px; }
.adv-grid img { width: 100%; border-radius: 2px; }
.adv-grid .span2 { grid-column: 1 / -1; max-width: 62%; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gray-bg); border-top: 1px solid #e5e5e5; margin-top: 18px; }
.site-footer .inner {
  max-width: var(--container); margin: 0 auto; padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; letter-spacing: .01em; color: #666;
}
.site-footer a { color: var(--blue); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .contact-strip .inner { grid-template-columns: 1fr 1fr; }
  .detail-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-header .inner { gap: 12px; }
  .svc-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .adv-grid .span2 { max-width: 100%; }
  .inquiry-form .row2 { grid-template-columns: 1fr; }
  .svc-checks { grid-template-columns: 1fr 1fr; }
  .detail-gallery { grid-template-columns: repeat(2, 1fr); }
  .detail-gallery.cols3 { grid-template-columns: repeat(2, 1fr); }
}
