/* ============================================================
   建水供销社存量改造项目 —— 服务建议书  样式表
   设计理念：供销复古 × 建水在地，真实、舒适、有烟火气
   ============================================================ */

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

:root {
  --primary: #A83A2E;
  --primary-deep: #7E2A20;
  --primary-bg: #FBEDEB;
  --green: #3F6B4E;
  --green-bg: #EEF4EF;
  --ochre: #B47A3A;
  --yellow: #E7C15A;
  --brown: #6B4A32;
  --paper: #F5EFE3;

  --gray-dark: #2C2722;
  --gray: #4A423A;
  --gray-light: #8A8075;
  --white: #FFFFFF;
  --bg: #F8F5EF;
  --border: #DFD6C8;
  --border-strong: #C9BCA8;

  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(60,40,20,0.06);
  --shadow: 0 4px 16px rgba(60,40,20,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--gray-dark);
  line-height: 1.85;
  font-size: 15px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }

.container { max-width: 1040px; margin: 0 auto; padding: 32px 24px 48px; }

/* ========== 章节通用 ========== */
.section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--border);
}
.section-header {
  background: linear-gradient(95deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--white);
  padding: 16px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-num {
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; flex-shrink: 0;
}
.section-header h2 { font-size: 20px; font-weight: 700; letter-spacing: 0.5px; }
.section-body { padding: 28px 26px; }

h3 {
  font-size: 17px; font-weight: 700; color: var(--primary-deep);
  margin: 30px 0 14px; padding-left: 12px;
  border-left: 4px solid var(--primary); line-height: 1.4;
}
h3:first-child, .section-body > h3:first-of-type { margin-top: 0; }
h4 {
  font-size: 15.5px; font-weight: 700; color: var(--gray-dark);
  margin: 22px 0 10px; padding-bottom: 6px;
  border-bottom: 1px dashed var(--border-strong);
}
p { margin-bottom: 10px; text-align: justify; }
ul, ol { margin-bottom: 14px; padding-left: 22px; }
li { margin-bottom: 5px; }
li::marker { color: var(--primary); }

blockquote {
  background: var(--primary-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin: 14px 0 18px;
  font-style: italic; color: var(--primary-deep);
}
blockquote strong { color: var(--primary); }

.alert { border-radius: var(--radius); padding: 12px 16px; margin: 14px 0; font-size: 13.5px; border: 1px solid; }
.alert-success { background: var(--green-bg); border-color: #BFD6C4; color: #2C4A35; }
.alert-info    { background: #EAF2F8; border-color: #AECDE4; color: #174A70; }

/* ========== 表格 ========== */
.table-wrapper {
  overflow-x: auto; margin: 14px 0 20px; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--white); }
thead { background: var(--paper); }
thead th {
  padding: 11px 12px; text-align: left; font-weight: 700;
  color: var(--brown); white-space: nowrap; border-bottom: 2px solid var(--border-strong);
}
tbody td { padding: 10px 12px; border-bottom: 1px solid #EDE6DA; vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: #FDFAF5; }

/* ========== 信息卡片 ========== */
.info-card {
  background: var(--primary-bg); border: 1px solid var(--border);
  border-left: 4px solid var(--primary); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 16px;
}
.info-card h3, .info-card h4 { margin-top: 0; }
.info-card p { margin-bottom: 8px; font-size: 13.5px; }
.info-card p:last-child { margin-bottom: 0; }

/* ========== 色彩卡片 ========== */
.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 14px 0 20px; }
.color-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); background: var(--white); }
.color-swatch { height: 54px; display: flex; align-items: flex-end; justify-content: flex-end; padding: 5px 8px; }
.color-swatch .hex { background: rgba(255,255,255,0.92); border-radius: 3px; padding: 1px 6px; font-size: 11px; font-family: monospace; color: #333; font-weight: 600; }
.color-info { padding: 8px 10px; }
.color-info .name { font-weight: 700; font-size: 13.5px; margin-bottom: 1px; }
.color-info .usage { font-size: 11.5px; color: var(--gray-light); }

/* ========== 价格 ========== */
.price-hero {
  text-align: center; padding: 24px;
  background: linear-gradient(135deg, var(--primary-bg), var(--paper));
  border-radius: var(--radius-lg); margin: 16px 0 20px; border: 2px solid #EFD5D0;
}
.price-label { font-size: 14px; color: var(--gray-light); margin-bottom: 4px; }
.price-value { font-size: 42px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.price-detail { font-size: 13px; color: var(--gray-light); margin-top: 6px; }

/* ========== 图片排版 ========== */
.case-images {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px; margin: 14px 0 18px;
}
.case-images .img-wrap {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); background: #F2EEE6;
  display: flex; align-items: center; justify-content: center; min-height: 200px; padding: 8px;
}
.case-images .img-wrap img {
  width: 100%; height: auto; max-height: 360px; object-fit: contain;
  transition: transform 0.35s ease, filter 0.35s ease; filter: saturate(0.98);
}
.case-images .img-wrap:hover img { transform: scale(1.02); filter: saturate(1.05); }
.case-images.single .img-wrap, .case-images.single .img-wrap img { max-height: 460px; }
.case-images.two { grid-template-columns: repeat(2, 1fr); }
.case-images.three { grid-template-columns: repeat(3, 1fr); }

/* ========== 招商业态卡片 ========== */
.biz-card {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); margin-bottom: 22px; overflow: hidden;
}
.biz-card-header {
  background: linear-gradient(95deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--white); padding: 14px 20px; display: flex; align-items: center; gap: 12px;
}
.biz-num {
  background: rgba(255,255,255,0.22); border-radius: 50%;
  width: 32px; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
}
.biz-card-header h3 { font-size: 16.5px; font-weight: 700; margin: 0; border: none; padding: 0; color: var(--white); }
.biz-card-body { padding: 20px; }
.biz-card-body p { margin-bottom: 10px; text-align: justify; line-height: 1.8; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; }
.biz-tag { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 600; }
.biz-tag.area { background: #EAF2F8; color: #174A70; border: 1px solid #AECDE4; }
.biz-slogan {
  background: var(--primary-bg); border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 11px 15px; margin: 12px 0 0; font-size: 13.5px; color: var(--primary-deep); font-style: italic;
}
.biz-slogan strong { color: var(--primary); }

/* ========== IP 设想 ========== */
.ip-slogan {
  background: linear-gradient(135deg, var(--primary-bg), var(--paper)); border: 2px solid #EFD5D0;
  border-radius: var(--radius-lg); padding: 22px 24px; margin: 14px 0 20px; text-align: center;
}
.ip-slogan-main { font-size: 25px; font-weight: 800; color: var(--primary); letter-spacing: 2px; margin-bottom: 14px; line-height: 1.4; }
.ip-slogan-notes { display: flex; flex-direction: column; gap: 6px; text-align: left; max-width: 720px; margin: 0 auto; }
.ip-slogan-notes span { font-size: 13.5px; color: var(--gray); line-height: 1.6; }
.ip-slogan-notes b { color: var(--primary); }

.ip-characters { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin: 14px 0; }
.ip-char {
  display: flex; gap: 14px; background: var(--paper); border-radius: var(--radius); padding: 16px;
  align-items: flex-start; border: 1px solid var(--border); border-left: 4px solid var(--primary);
}
.ip-char-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: #fff;
}
.ip-char-body { flex: 1; }
.ip-char-name { font-size: 14.5px; font-weight: 700; color: var(--primary-deep); margin-bottom: 6px; }
.ip-char-tag {
  display: inline-block; font-size: 11px; font-weight: 600; color: #fff;
  background: var(--green); border-radius: 10px; padding: 1px 8px; margin-left: 6px;
}
.ip-char-body p { font-size: 13px; margin-bottom: 6px; text-align: justify; }
.ip-narrative {
  background: var(--primary-bg); border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 16px; margin: 14px 0 18px; font-size: 13.5px; color: var(--primary-deep); line-height: 1.7;
}
.ip-symbols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin: 14px 0 18px; }
.ip-symbol { display: flex; gap: 14px; align-items: flex-start; }
.ip-sym-icon {
  width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: #fff;
}
.ip-sym-title { font-size: 14.5px; font-weight: 700; color: var(--primary-deep); margin-bottom: 4px; }
.ip-sym-body p { font-size: 13px; margin: 0; text-align: justify; line-height: 1.7; }

.ip-scene { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 18px; background: var(--white); }
.ip-scene-head {
  background: linear-gradient(95deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff; padding: 12px 18px; display: flex; align-items: center; gap: 12px;
}
.ip-scene-num {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.ip-scene-title { font-size: 15px; font-weight: 700; letter-spacing: 0.3px; }
.ip-scene-body { padding: 16px 18px 0; }
.ip-scene-body p { font-size: 13.5px; text-align: justify; }
.ip-final {
  background: linear-gradient(135deg, var(--primary-bg), var(--paper)); border: 2px solid #EFD5D0;
  border-radius: var(--radius-lg); padding: 18px 20px; margin: 18px 0;
  font-size: 14px; line-height: 1.8; text-align: justify;
}

/* ========== 页脚 ========== */
.footer { text-align: center; padding: 28px 24px; color: var(--gray-light); font-size: 12.5px; border-top: 1px solid var(--border); margin-top: 24px; line-height: 1.8; }

/* ============================
   封面
   ============================ */
.cover-new {
  position: relative;
  background:
    linear-gradient(135deg, rgba(63,107,78,0.55) 0%, rgba(168,58,46,0.0) 42%),
    linear-gradient(215deg, rgba(180,122,58,0.50) 0%, rgba(168,58,46,0.0) 46%),
    linear-gradient(150deg, #8C271C 0%, #A83A2E 42%, #B84A38 100%);
  color: var(--white); padding: 64px 40px 56px; text-align: center; overflow: hidden;
  border-bottom: 6px solid var(--yellow); box-shadow: 0 6px 24px rgba(60,40,20,0.18);
}
.cover-new::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: linear-gradient(90deg, var(--green) 0%, var(--ochre) 55%, var(--yellow) 100%);
}
.cover-pattern {
  position: absolute; top: 22px; left: 22px; right: 22px; bottom: 22px;
  border: 2px solid rgba(231,193,90,0.40); border-radius: 14px; pointer-events: none;
}
.cover-brand { position: relative; z-index: 1; font-size: 13px; letter-spacing: 5px; color: rgba(231,193,90,0.95); margin-bottom: 22px; text-transform: uppercase; }
.cover-new h1 { position: relative; z-index: 1; font-size: 42px; font-weight: 900; letter-spacing: 4px; margin-bottom: 12px; line-height: 1.25; text-shadow: 2px 2px 8px rgba(60,20,12,0.35); }
.subtitle { position: relative; z-index: 1; font-size: 19px; color: rgba(255,255,255,0.94); font-weight: 300; letter-spacing: 2px; margin-bottom: 4px; }
.cover-divider { width: 76px; height: 3px; background: linear-gradient(90deg, var(--green) 0%, var(--yellow) 50%, var(--ochre) 100%); margin: 22px auto; border-radius: 2px; position: relative; z-index: 1; }
.cover-meta-new { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cover-meta-new .meta-item { background: rgba(245,239,227,0.14); backdrop-filter: blur(6px); border: 1px solid rgba(245,239,227,0.35); border-top: 3px solid var(--yellow); border-radius: var(--radius); padding: 14px 20px; min-width: 150px; text-align: left; }
.meta-label { font-size: 11px; opacity: 0.8; margin-bottom: 5px; letter-spacing: 1px; color: rgba(231,193,90,0.95); }
.meta-value { font-size: 14px; font-weight: 600; line-height: 1.4; color: #fff; }
.cover-footer { position: relative; z-index: 1; margin-top: 38px; font-size: 12px; color: rgba(255,255,255,0.62); letter-spacing: 2px; }

/* ============================================================
   分章节配色（五章各用一主色）
   ============================================================ */
.section[id="part1"] { --c-main:#A83A2E; --c-deep:#7E2A20; --c-text:#5A1E16; --c-bg:#FBEDEB; --c-soft:#F6E3DF; --c-head-grad:linear-gradient(95deg,#A83A2E 0%,#7E2A20 100%); }
.section[id="part2"] { --c-main:#B47A3A; --c-deep:#8C5A24; --c-text:#6B4423; --c-bg:#FBF3E6; --c-soft:#F3E6CE; --c-head-grad:linear-gradient(95deg,#C0883F 0%,#9A662E 100%); }
.section[id="part3"] { --c-main:#3F6B4E; --c-deep:#2C4D38; --c-text:#244530; --c-bg:#EEF4EF; --c-soft:#DCE9DF; --c-head-grad:linear-gradient(95deg,#4F8060 0%,#2C4D38 100%); }
.section[id="part4"] { --c-main:#6B4A32; --c-deep:#4A3220; --c-text:#46301F; --c-bg:#F5EFE3; --c-soft:#EAE0CC; --c-head-grad:linear-gradient(95deg,#8A6344 0%,#4A3220 100%); }
.section[id="part5"] { --c-main:#5D5D5D; --c-deep:#3D3D3D; --c-text:#2C2C2C; --c-bg:#F2F2F2; --c-soft:#E0E0E0; --c-head-grad:linear-gradient(95deg,#757575 0%,#424242 100%); }

.section[id="part1"], .section[id="part2"], .section[id="part3"], .section[id="part4"], .section[id="part5"] {
  border-top: 4px solid var(--c-main);
}
.section[id="part1"] .section-header, .section[id="part2"] .section-header,
.section[id="part3"] .section-header, .section[id="part4"] .section-header,
.section[id="part5"] .section-header { background: var(--c-head-grad); }
.section[id="part1"] h3, .section[id="part2"] h3, .section[id="part3"] h3, .section[id="part4"] h3, .section[id="part5"] h3 {
  color: var(--c-text); border-left-color: var(--c-main);
}
.section[id="part1"] li::marker, .section[id="part2"] li::marker, .section[id="part3"] li::marker, .section[id="part4"] li::marker, .section[id="part5"] li::marker {
  color: var(--c-main);
}
.section[id="part1"] blockquote, .section[id="part2"] blockquote, .section[id="part3"] blockquote, .section[id="part4"] blockquote, .section[id="part5"] blockquote {
  background: var(--c-bg); border-left-color: var(--c-main); color: var(--gray-dark);
}
.section[id="part1"] blockquote strong, .section[id="part2"] blockquote strong, .section[id="part3"] blockquote strong, .section[id="part4"] blockquote strong, .section[id="part5"] blockquote strong {
  color: var(--c-main);
}
.section[id="part1"] thead, .section[id="part2"] thead, .section[id="part3"] thead, .section[id="part4"] thead, .section[id="part5"] thead { background: var(--c-soft); }
.section[id="part1"] thead th, .section[id="part2"] thead th, .section[id="part3"] thead th, .section[id="part4"] thead th, .section[id="part5"] thead th {
  color: var(--c-deep); border-bottom-color: var(--c-main);
}
.section[id="part1"] tbody tr:nth-child(even), .section[id="part2"] tbody tr:nth-child(even), .section[id="part3"] tbody tr:nth-child(even), .section[id="part4"] tbody tr:nth-child(even), .section[id="part5"] tbody tr:nth-child(even) {
  background: var(--c-bg);
}

/* 第二章：信息卡片 */
.section[id="part2"] .info-card { background: var(--c-bg); border-left-color: var(--c-main); }

/* 第三章：业态卡片（设计定位） */
.section[id="part3"] .biz-card-header { background: var(--c-head-grad); }
.section[id="part3"] .biz-card-body { color: var(--gray-dark); }
.section[id="part3"] .biz-card-body p { color: var(--gray-dark); }
.section[id="part3"] .biz-target { background: var(--c-bg); color: var(--c-text); }
.section[id="part3"] .biz-tag.area { background: #FFFFFF; color: var(--c-text); border-color: #D8BE94; }
.section[id="part3"] .biz-slogan { background: var(--c-bg); border-left-color: var(--c-main); color: var(--gray-dark); }
.section[id="part3"] .biz-slogan strong { color: var(--c-main); }
.section[id="part3"] .color-card { border-top: 3px solid var(--c-main); }
.section[id="part3"] .color-info .name { color: var(--gray-dark); }
.section[id="part3"] .color-info .usage { color: #6B5F50; }
.section[id="part3"] .color-card .color-swatch .hex { color: #FFFFFF; font-weight: 700; }

/* 第四章：IP 设想 */
.section[id="part4"] .ip-scene-head { background: var(--c-head-grad); }
.section[id="part4"] .ip-char { border-left-color: var(--c-main); background: var(--c-bg); }
.section[id="part4"] .ip-char-name { color: var(--c-deep); }
.section[id="part4"] .ip-char-tag { background: var(--c-main); }
.section[id="part4"] .ip-slogan, .section[id="part4"] .ip-narrative, .section[id="part4"] .ip-final {
  background: var(--c-bg); border-color: #D8C6A4; color: var(--gray-dark);
}
.section[id="part4"] .ip-slogan-main, .section[id="part4"] .ip-sym-title, .section[id="part4"] .ip-scene-title, .section[id="part4"] .ip-final strong {
  color: var(--c-main);
}
.section[id="part4"] .ip-sym-icon { background: var(--c-main); }
.section[id="part4"] .ip-scene { border-top: 3px solid var(--c-main); }

/* 第五章：报价 */
.section[id="part5"] .price-hero { background: linear-gradient(135deg, var(--c-bg), #F5EFE3); border-color: #D8C6A4; }
.section[id="part5"] .price-value { color: var(--c-main); }
.section[id="part5"] .alert-info { background: var(--c-bg); border-color: #D8C6A4; color: var(--gray-dark); }
.section[id="part5"] .alert-info strong { color: var(--c-main); }

/* 兜底正文颜色 */
.section[id="part1"] .section-body p, .section[id="part2"] .section-body p,
.section[id="part3"] .section-body p, .section[id="part4"] .section-body p,
.section[id="part5"] .section-body p { color: var(--gray-dark); }

/* ============================
   响应式
   ============================ */
@media (max-width: 768px) {
  .cover-new { padding: 44px 22px 38px; }
  .cover-new h1 { font-size: 25px; letter-spacing: 2px; }
  .subtitle { font-size: 15px; }
  .container { padding: 16px 12px 32px; }
  .section-body { padding: 18px 16px; }
  .section-header { padding: 13px 18px; }
  .section-header h2 { font-size: 17px; }
  .case-images .img-wrap { min-height: 170px; padding: 6px; }
  .case-images .img-wrap img { max-height: 300px; }
  .case-images.single .img-wrap, .case-images.single .img-wrap img { max-height: 340px; }
  .biz-card-header { padding: 12px 16px; }
  .biz-card-body { padding: 16px 14px; }
}