/* ===== 详情页全局 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green-700: #0b3d2e;
  --green-600: #1a5c47;
  --amber: #f5a623;
  --amber-hover: #e0941f;
  --ink: #333;
  --ink-2: #555;
  --ink-6: #666;
  --ink-9: #999;
  --line: #e8e8e8;
  --line-2: #f0f0f0;
  --bg: #f7f8f6;
  --card: #fff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  background: var(--bg);
}

html { overflow-y: auto; height: auto; }

/* ===== 导航栏 ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: #ffffff;
  color: var(--green-700);
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.nav .ni {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.nav .logo { font-size: 18px; font-weight: 700; color: var(--green-700); text-decoration: none; white-space: nowrap; }
.nav .logo span { font-size: 12px; margin-left: 8px; color: var(--amber); }
.nav .nl { display: flex; gap: 28px; }
.nav .nl a { color: var(--green-700); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav .nl a.on,
.nav .nl a:hover { color: var(--amber); }
.cta.cp {
  background: var(--amber);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: background .2s;
  white-space: nowrap;
}
.cta.cp:hover { background: var(--amber-hover); }

/* ===== 主体 ===== */
main.in.pt {
  padding: 104px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ===== 页面标题区 ===== */
.pg-h { margin-bottom: 48px; }
.eyebrow { font-size: 14px; color: var(--amber); margin-bottom: 12px; font-weight: 500; letter-spacing: 1px; }
.h2 { font-size: 36px; margin-bottom: 16px; color: var(--green-700); font-weight: 700; line-height: 1.3; }
.h2 .hl { color: var(--amber); }
.lead { font-size: 16px; color: var(--ink-6); max-width: 680px; line-height: 1.7; }

/* ===== 网格系统 ===== */
.fl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cs2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

.sg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.sg .wi { grid-column: 1 / -1; }

/* ===== 卡片 ===== */
.nd, .sf, .pr {
  background: var(--card);
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.nd:hover, .sf:hover, .pr:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.nd .bg {
  font-size: 48px;
  font-weight: 800;
  color: rgba(245,166,35,0.12);
  margin-bottom: 16px;
  line-height: 1;
}
.nd h5, .sf h5, .pr h5, .nd h6, .sf h6, .pr h6 {
  color: var(--green-700);
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 600;
}
.nd p, .sf p, .pr p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}
.ic { font-size: 28px; margin-bottom: 16px; display: block; line-height: 1; }

/* ===== 两栏布局（quote/contact/about 的 form + 侧边信息）===== */
.cc {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .cc { grid-template-columns: 1fr; }
}

/* ===== 表单 ===== */
.fm { background: var(--card); padding: 32px; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.fr { margin-bottom: 20px; }
.fr label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--green-700); font-size: 14px; }
.fr input, .fr select, .fr textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  transition: border-color .2s;
  font-family: inherit;
}
.fr input:focus, .fr select:focus, .fr textarea:focus {
  outline: none;
  border-color: var(--amber);
}
.fr textarea { resize: vertical; min-height: 100px; }
.se { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230b3d2e' d='M6 9L1 4h10z'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 36px; }

/* 成色选择 chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-2);
  transition: all .2s;
}
.chip.on, .chip:hover { background: var(--amber); color: #fff; border-color: var(--amber); }

/* 估价结果 */
.rs { margin-top: 24px; padding: 24px; background: linear-gradient(135deg, var(--green-700), var(--green-600)); border-radius: 12px; color: #fff; text-align: center; }
.la { font-size: 14px; opacity: 0.85; margin-bottom: 8px; }
.pr.fk { font-size: 40px; font-weight: 800; color: var(--amber); margin: 8px 0; }
.no { font-size: 13px; opacity: 0.8; line-height: 1.6; margin-top: 12px; }
.no2 { font-size: 13px; color: var(--ink-9); line-height: 1.6; margin-top: 16px; }

/* ===== 侧边信息栏（quote/contact/about 右侧）===== */
.ci { display: flex; flex-direction: column; gap: 16px; }
.it {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.it .ic { font-size: 22px; margin-bottom: 0; flex-shrink: 0; width: 32px; text-align: center; }
.it div h6 { color: var(--green-700); margin-bottom: 4px; font-size: 15px; font-weight: 600; }
.it div p { color: var(--ink-2); font-size: 14px; line-height: 1.6; }

/* 二维码 */
.qr2 { padding: 24px; background: var(--card); border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); text-align: center; }
.qr2 .bx { margin: 12px 0; }
.qr2 b { font-size: 15px; color: var(--green-700); }

/* ===== about 页面专用 ===== */
.fd { padding: 24px; background: var(--card); border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.fd h5 { color: var(--green-700); margin-bottom: 4px; font-size: 17px; font-weight: 600; }

/* ===== 保障条目（safety 页面 .pf 区域）===== */
.pf {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pr { display: flex; gap: 16px; align-items: flex-start; }
.pr .ic { font-size: 24px; margin-bottom: 0; flex-shrink: 0; }
.pr div h6 { color: var(--green-700); margin-bottom: 6px; font-size: 16px; font-weight: 600; }
.pr div p { color: var(--ink-2); font-size: 14px; line-height: 1.7; }

/* ===== Footer ===== */
.ft {
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: var(--green-700);
  color: rgba(255,255,255,0.85);
  padding: 56px 24px 24px;
  margin-top: 60px;
}
.ft .fg {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.ft h6 { color: #fff; margin-bottom: 16px; font-size: 16px; font-weight: 600; }
.ft ul { list-style: none; }
.ft ul li { margin-bottom: 8px; }
.ft ul a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 14px; transition: color .2s; }
.ft ul a:hover { color: var(--amber); }
.ft .fb {
  max-width: 1200px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.ft .bz { color: rgba(255,255,255,0.75); text-decoration: none; transition: color .2s; }
.ft .bz:hover { color: var(--amber); }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .fl { grid-template-columns: repeat(2, 1fr); }
  .cs2, .sg, .pf { grid-template-columns: 1fr; }
  .h2 { font-size: 28px; }
  main.in.pt { padding: 88px 16px 40px; }
  .fm { padding: 24px 20px; }
  .nav .nl { display: none; }
}
@media (max-width: 480px) {
  .fl { grid-template-columns: 1fr; }
  .nav .logo span { display: none; }
}