/* ============================================
   page.css — 旭达电脑 子页共用组件样式
   适用：service / contact / street 等所有子页
   配色沿用全站深蓝主色（style.css 的 :root）
   风格与首页 home.css 保持一致：克制、专业、单色线性图标
   ============================================ */

/* ---------- 图片 Banner ---------- */
.pg-banner {
  position: relative;
  color: #fff;
  padding: 110px 0 90px;
  background: #0A2540;
  overflow: hidden;
}
.pg-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pg-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 28, 48, 0.94) 0%, rgba(10, 37, 64, 0.86) 45%, rgba(10, 37, 64, 0.55) 100%);
}
.pg-banner .container { position: relative; z-index: 2; }
.pg-banner h1 { font-size: 2.4rem; line-height: 1.35; letter-spacing: 1px; margin-bottom: 16px; }
.pg-banner p { font-size: 1.05rem; line-height: 1.9; color: rgba(255, 255, 255, 0.78); max-width: 640px; margin: 0 0 18px; }
.pg-crumb { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.pg-crumb a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.pg-crumb a:hover { color: #fff; }
.pg-crumb span { margin: 0 8px; }

/* ---------- 小标签 ---------- */
.pg-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #8A9AA9;
  margin-bottom: 12px;
}
.pg-eyebrow-light { color: rgba(255, 255, 255, 0.6); }

/* ---------- 数据条 ---------- */
.pg-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: #fff;
  border: 1px solid #E2E9F0;
  border-top: 2px solid #10375C;
  border-radius: 2px;
  padding: 30px 20px;
  text-align: center;
  margin-top: -46px;
  position: relative;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.10);
}
.pg-stat strong { display: block; font-size: 1.85rem; font-weight: 700; color: #10375C; line-height: 1.25; letter-spacing: 1px; }
.pg-stat strong span { font-size: 0.95rem; font-weight: 500; color: #8A9AA9; margin-left: 3px; }
.pg-stat p { margin: 4px 0 0; font-size: 0.86rem; color: #5A6B7D; letter-spacing: 0.5px; }

/* ---------- 图文卡片网格 ---------- */
.pg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pg-card {
  background: #fff;
  border: 1px solid #E2E9F0;
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.35s ease;
}
.pg-card:hover { transform: translateY(-6px); box-shadow: 0 16px 44px rgba(10, 37, 64, 0.12); border-color: #10375C; }
.pg-card-img { height: 176px; overflow: hidden; }
.pg-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pg-card:hover .pg-card-img img { transform: scale(1.06); }
.pg-card-body { padding: 22px 22px 26px; }
.pg-card-body h3 { font-size: 1.02rem; color: #10375C; margin-bottom: 8px; letter-spacing: 0.5px; }
.pg-card-body p { font-size: 0.86rem; color: #5A6B7D; line-height: 1.8; margin: 0; }

/* ---------- 图文交替行 ---------- */
.pg-rows { border-top: 1px solid #E2E9F0; }
.pg-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #E2E9F0; }
.pg-row:nth-child(even) .pg-row-media { order: 2; }
.pg-row-media { overflow: hidden; min-height: 330px; background: #E9F0F7; }
.pg-row-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.pg-row:hover .pg-row-media img { transform: scale(1.05); }
.pg-row-text { padding: 54px 58px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.pg-row:nth-child(even) .pg-row-text { background: #FBFCFD; }
.pg-row-index { font-size: 0.76rem; letter-spacing: 3px; font-weight: 700; color: #8A9AA9; margin-bottom: 12px; }
.pg-row-text h3 { font-size: 1.5rem; color: #10375C; margin-bottom: 14px; letter-spacing: 1px; }
.pg-row-text > p { font-size: 0.94rem; line-height: 1.95; color: #5A6B7D; margin-bottom: 22px; max-width: 470px; }
.pg-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.pg-points li { position: relative; padding-left: 16px; font-size: 0.88rem; color: #1E2B3A; line-height: 1.6; }
.pg-points li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: #10375C; border-radius: 1px; }

/* ---------- 流程步骤 ---------- */
.pg-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pg-step {
  background: #fff; border: 1px solid #E2E9F0; border-radius: 2px;
  padding: 28px 20px 24px; text-align: center; transition: all 0.35s ease;
}
.pg-step:hover { border-color: #10375C; box-shadow: 0 6px 22px rgba(10, 37, 64, 0.08); transform: translateY(-4px); }
.pg-step-num {
  width: 38px; height: 38px; margin: 0 auto 14px; border-radius: 50%;
  background: #10375C; color: #fff; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.pg-step h3 { font-size: 0.98rem; margin-bottom: 7px; color: #10375C; letter-spacing: 0.5px; }
.pg-step p { font-size: 0.83rem; color: #5A6B7D; line-height: 1.7; margin: 0; }

/* ---------- 联系信息卡 ---------- */
.pg-contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pg-contact-card {
  background: #fff; border: 1px solid #E2E9F0; border-radius: 2px;
  padding: 28px 24px; text-align: center; transition: all 0.35s ease;
}
.pg-contact-card:hover { border-color: #10375C; box-shadow: 0 6px 22px rgba(10, 37, 64, 0.08); transform: translateY(-4px); }
.pg-contact-card .pg-contact-label { display: block; font-size: 0.8rem; letter-spacing: 1px; color: #8A9AA9; margin-bottom: 10px; }
.pg-contact-card strong { display: block; font-size: 1.05rem; color: #10375C; margin-bottom: 6px; }
.pg-contact-card a { color: #F57C00; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.pg-contact-card p { font-size: 0.83rem; color: #5A6B7D; margin: 6px 0 0; line-height: 1.7; }

/* ---------- FAQ ---------- */
.pg-faq { max-width: 860px; margin: 0 auto; }
.pg-faq details {
  background: #fff; border: 1px solid #E2E9F0; border-radius: 2px;
  margin-bottom: 14px; padding: 0 24px; transition: all 0.3s ease;
}
.pg-faq details[open] { border-color: rgba(16, 55, 92, 0.5); box-shadow: 0 6px 22px rgba(10, 37, 64, 0.08); }
.pg-faq summary {
  cursor: pointer; font-weight: 700; font-size: 0.98rem; color: #10375C;
  padding: 18px 0; list-style: none; position: relative; padding-right: 34px;
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.35rem; color: #8A9AA9; }
.pg-faq details[open] summary::after { content: '−'; }
.pg-faq details p { padding: 0 0 18px; margin: 0; color: #5A6B7D; font-size: 0.92rem; line-height: 1.85; }

/* ---------- 预约区：左右分栏（左窄右宽） ---------- */
.pg-book-layout { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 52px; align-items: start; }
.pg-book-info { color: #fff; }
.pg-book-eyebrow {
  display: inline-block; font-size: 0.75rem; letter-spacing: 3px; color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 2px; padding: 4px 12px; margin-bottom: 18px;
}
.pg-book-info h2 { font-size: 1.8rem; line-height: 1.45; letter-spacing: 1px; margin-bottom: 18px; color: #fff; }
.pg-book-desc { color: rgba(255, 255, 255, 0.76); line-height: 1.95; font-size: 0.94rem; margin-bottom: 26px; max-width: 430px; }
.pg-book-list { list-style: none; padding: 0; margin: 0 0 28px; }
.pg-book-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: rgba(255, 255, 255, 0.88); line-height: 1.65; margin-bottom: 13px; }
.pg-book-check {
  flex-shrink: 0; width: 19px; height: 19px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center; margin-top: 3px;
}
.pg-book-contact { border-top: 1px solid rgba(255, 255, 255, 0.16); border-bottom: 1px solid rgba(255, 255, 255, 0.16); padding: 20px 0; margin-bottom: 16px; }
.pg-book-contact-label { display: block; font-size: 0.78rem; letter-spacing: 1px; color: rgba(255, 255, 255, 0.58); margin-bottom: 6px; }
.pg-book-phone { display: inline-block; font-size: 1.5rem; font-weight: 700; letter-spacing: 1px; color: #FFA24A; text-decoration: none; margin-bottom: 6px; }
.pg-book-phone:hover { color: #FFB86B; }
.pg-book-time { display: block; font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }
.pg-book-tip { font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); margin: 0; }
.pg-book-form .xd-booking-widget { max-width: 100%; margin: 0; }

/* ---------- 区域覆盖：底部预约区 ---------- */
.booking-section { padding: 92px 0; }

/* ---------- 预约表单配色对齐 ---------- */
.xd-booking-widget { border-radius: 2px; box-shadow: 0 6px 22px rgba(10, 37, 64, 0.08); border-top: 2px solid #10375C; }
.xd-booking-widget h3 { color: #10375C; letter-spacing: 1px; }
.xd-form-control:focus { border-color: #10375C; box-shadow: 0 0 0 3px rgba(16, 55, 92, 0.12); }
.xd-submit-btn { background: #10375C; border-radius: 2px; letter-spacing: 2px; }
.xd-submit-btn:hover:not(:disabled) { background: #0A2540; box-shadow: 0 6px 20px rgba(10, 37, 64, 0.28); }
.xd-modal-btn { background: #10375C; border-radius: 2px; }
.xd-modal-btn:hover { background: #0A2540; }

/* ---------- 图标 ---------- */
.pg-phone-svg { width: 15px; height: 15px; vertical-align: -2px; }
.mobile-call-btn { color: #fff; }
.mobile-call-btn svg { width: 22px; height: 22px; }

/* ---------- 区域页：镇/街道入口 ---------- */
.pg-town-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.pg-town-item {
  background: #fff; border: 1px solid #E2E9F0; border-radius: 2px;
  padding: 10px 18px; font-size: 0.9rem; color: #1E2B3A; text-decoration: none;
  transition: all 0.3s ease;
}
.pg-town-item:hover { background: #10375C; color: #fff; border-color: #10375C; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .pg-cards { grid-template-columns: repeat(2, 1fr); }
  .pg-steps { grid-template-columns: repeat(2, 1fr); }
  .pg-contact-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .pg-banner { padding: 84px 0 70px; }
  .pg-banner h1 { font-size: 1.85rem; }
  .pg-row { grid-template-columns: 1fr; }
  .pg-row:nth-child(even) .pg-row-media { order: 0; }
  .pg-row-media { min-height: 220px; }
  .pg-row-text { padding: 34px 24px; }
  .pg-points { grid-template-columns: 1fr; }
  .pg-book-layout { grid-template-columns: 1fr; gap: 32px; }
  .pg-book-desc { max-width: none; }
}
@media (max-width: 600px) {
  .pg-cards, .pg-steps, .pg-contact-grid { grid-template-columns: 1fr; }
}
