/* ========== 基础 ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #c8552f;       /* 暖橙红 */
  --primary-dark: #a64424;
  --ink: #1f2a37;          /* 深墨 */
  --ink-2: #3c4a5e;
  --muted: #6b7788;
  --line: #e6e3dd;
  --bg: #faf8f4;           /* 米白 */
  --bg-alt: #f2eee6;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(31, 42, 55, .08);
  --shadow-lg: 0 12px 40px rgba(31, 42, 55, .12);
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ========== 顶部条 ========== */
.topbar { background: var(--ink); color: #d7dce3; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { color: #ffd9c6; }
@media (max-width: 640px) { .topbar-inner { flex-direction: column; height: auto; padding: 6px 0; gap: 2px; } }

/* ========== 按钮 ========== */
.btn { display: inline-block; padding: 10px 22px; border-radius: 8px; font-weight: 600; transition: all .2s; cursor: pointer; border: 1px solid transparent; text-align: center; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-lg { padding: 14px 30px; font-size: 17px; }
.btn-block { display: block; width: 100%; }

/* ========== 导航 ========== */
.header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 17px; color: var(--ink); }
.brand-text em { font-style: normal; font-size: 11px; color: var(--muted); margin-top: 2px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { font-size: 15px; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink); }
@media (max-width: 980px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}

/* ========== Hero ========== */
.hero { position: relative; color: #fff; overflow: hidden; background: linear-gradient(135deg, #1f2a37 0%, #2c3e50 50%, #c8552f 130%); }
.hero-bg { position: absolute; inset: 0; opacity: .18; background-image: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=%E8%A5%BF%E5%AE%89%E8%80%81%E6%88%BF%E7%BF%BB%E6%96%B0%E5%AE%8C%E5%B7%A5%E7%9A%84%E6%98%8E%E4%BA%AE%E7%8E%B0%E4%BB%A3%E5%AE%A2%E5%8E%85%EF%BC%8C%E8%87%AA%E7%84%B6%E5%85%89%EF%BC%8C%E7%99%BD%E8%89%B2%E5%A2%99%E9%9D%A2%EF%BC%8C%E6%9C%A8%E5%9C%B0%E6%9D%BF%EF%BC%8C%E6%B8%A9%E9%A6%A8%E5%AE%B6%E5%B1%85%E6%95%88%E6%9E%9C&image_size=landscape_16_9"); background-size: cover; background-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,42,55,.85) 0%, rgba(31,42,55,.55) 60%, rgba(31,42,55,.3) 100%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: 80px 20px; align-items: center; }
.eyebrow { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 5px 14px; border-radius: 20px; font-size: 13px; margin-bottom: 18px; }
.hero h1 { font-size: 40px; line-height: 1.25; margin-bottom: 18px; font-weight: 800; }
.hero-sub { font-size: 17px; color: #e8ecf2; margin-bottom: 18px; max-width: 620px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-tags span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: 6px; font-size: 13px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-size: 13px; color: #ffd9c6; }
.hero-card { background: rgba(255,255,255,.98); color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }
.hero-card-head { font-weight: 700; color: var(--primary); margin-bottom: 14px; font-size: 17px; }
.hero-card-list { list-style: none; margin-bottom: 18px; }
.hero-card-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--ink-2); }
.hero-card-list li:last-child { border-bottom: none; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 50px 20px; }
  .hero h1 { font-size: 30px; }
}

/* ========== 数据条 ========== */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.stat { text-align: center; padding: 30px 12px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat b { display: block; font-size: 34px; color: var(--primary); font-weight: 800; line-height: 1; }
.stat b span { font-size: 15px; font-weight: 600; margin-left: 2px; }
.stat span { display: block; font-size: 13px; color: var(--muted); margin-top: 8px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } .stat { border-bottom: 1px solid var(--line); } .stat:nth-child(3n) { border-right: none; } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3n) { border-right: 1px solid var(--line); } .stat:nth-child(2n) { border-right: none; } }

/* ========== 通用 section ========== */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head.left { text-align: left; margin-bottom: 24px; }
.section-head h2 { font-size: 30px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.section-head h2::after { content: ""; display: block; width: 48px; height: 4px; background: var(--primary); border-radius: 2px; margin: 14px auto 0; }
.section-head.left h2::after { margin-left: 0; }
.section-head p { color: var(--muted); font-size: 15px; max-width: 720px; margin: 0 auto; }
.section-head.left p { margin-left: 0; }

/* ========== 网格 ========== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

/* ========== 卡片 ========== */
.card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-card .card-icon { font-size: 32px; margin-bottom: 10px; }
.service-card h3 { font-size: 19px; margin-bottom: 8px; color: var(--ink); }
.service-card p { color: var(--ink-2); font-size: 14px; margin-bottom: 12px; }
.card-meta { display: inline-block; background: #fff0e8; color: var(--primary); padding: 4px 12px; border-radius: 5px; font-size: 12px; font-weight: 600; }

/* ========== 优势 ========== */
.adv { background: var(--white); border-radius: var(--radius); padding: 24px; border-left: 4px solid var(--primary); box-shadow: var(--shadow); }
.adv b { font-size: 26px; color: var(--primary); opacity: .5; }
.adv h4 { font-size: 17px; margin: 4px 0 8px; color: var(--ink); }
.adv p { font-size: 14px; color: var(--ink-2); }

/* ========== 材料 ========== */
.materials .mat { background: var(--white); border-radius: 10px; padding: 18px; text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s; }
.materials .mat:hover { transform: translateY(-2px); border-color: var(--primary); }
.mat span { display: block; font-size: 12px; color: var(--muted); }
.mat b { display: block; font-size: 16px; color: var(--ink); margin: 4px 0; }
.mat em { font-style: normal; font-size: 12px; color: var(--primary); }

/* ========== 质保 ========== */
.warranty { text-align: center; }
.warr { background: var(--white); border-radius: var(--radius); padding: 26px 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.warr b { display: block; font-size: 32px; color: var(--primary); font-weight: 800; }
.warr span { font-size: 14px; color: var(--ink-2); }
.warr.highlight { background: var(--primary); color: #fff; border-color: var(--primary); }
.warr.highlight b { color: #fff; }
.warr.highlight span { color: #ffe8dc; }
.warranty-note { text-align: center; margin-top: 24px; color: var(--muted); font-size: 14px; }

/* ========== 流程 ========== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: relative; border-top: 3px solid var(--primary); }
.step span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; margin-bottom: 10px; }
.step h4 { font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.step p { font-size: 13px; color: var(--ink-2); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ========== 两栏 ========== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* ========== 红线 / 工期表 ========== */
.redlines { list-style: none; }
.redlines li { background: #fff5f1; border-left: 3px solid #d9482b; padding: 12px 16px; margin-bottom: 10px; border-radius: 6px; font-size: 14px; color: var(--ink-2); }
.timeline { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.timeline td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.timeline tr:last-child td { border-bottom: none; }
.timeline td:last-child { color: var(--primary); font-weight: 700; text-align: right; }
.muted { color: var(--muted); }
.small { font-size: 13px; margin-top: 12px; }

/* ========== 报价 ========== */
.price-note-box { background: #fff8e6; border: 1px solid #f0d78a; color: #8a6d1b; padding: 12px 18px; border-radius: 8px; margin-bottom: 26px; font-size: 14px; text-align: center; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 14px; }
.price-table th { background: var(--ink); color: #fff; padding: 12px 14px; text-align: left; font-weight: 600; font-size: 13px; }
.price-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.price-table tr:last-child td { border-bottom: none; }
.price-table td:nth-child(2) { color: var(--primary); font-weight: 600; }
.price-table tfoot td { background: var(--bg-alt); font-size: 12px; }
.text-right { text-align: right; }

/* ========== 小区 ========== */
.community-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 700px) { .community-grid { grid-template-columns: 1fr; } }
.comm-group { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.comm-group h4 { color: var(--primary); font-size: 16px; margin-bottom: 8px; }
.comm-group p { font-size: 13px; color: var(--ink-2); line-height: 1.8; }

/* ========== FAQ ========== */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; padding: 0; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; position: relative; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; color: var(--primary); font-size: 22px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--ink-2); font-size: 14px; }

/* ========== 联系 ========== */
.section-contact { background: var(--ink); color: #fff; }
.section-contact .section-head h2 { color: #fff; }
.section-contact .section-head p { color: #b8c0cc; }
.contact-list { list-style: none; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; flex-wrap: wrap; }
.contact-list li span { color: #b8c0cc; }
.contact-list li b { color: #fff; text-align: right; }
.contact-list li b a { color: #ffd9c6; }
.contact-cta { background: var(--primary); border-radius: var(--radius); padding: 36px 28px; text-align: center; box-shadow: var(--shadow-lg); }
.contact-cta h3 { font-size: 24px; margin-bottom: 10px; }
.contact-cta p { color: #ffe8dc; font-size: 14px; margin-bottom: 20px; }
.contact-cta .muted { color: #ffd9c6; }

/* ========== 页脚 ========== */
.footer { background: #141b24; color: #aeb6c2; }
.footer-inner { display: flex; justify-content: space-between; padding: 36px 20px; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand strong { color: #fff; font-size: 16px; }
.footer-brand span { font-size: 13px; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; text-align: right; font-size: 13px; }
.footer-contact a { color: #ffd9c6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 20px; text-align: center; font-size: 12px; }
.footer-icp { margin-top: 6px; font-size: 12px; color: #7d8794; }

/* ========== 悬浮电话 ========== */
.float-call { position: fixed; right: 20px; bottom: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: var(--shadow-lg); z-index: 60; transition: transform .2s; }
.float-call:hover { transform: scale(1.08); background: var(--primary-dark); }

/* ========== 王师傅的故事 ========== */
.story { background: linear-gradient(180deg, var(--bg) 0%, #f5f0e8 100%); }
.story-inner { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.story-aside { background: var(--white); border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--primary); }
.story-avatar { width: 76px; height: 76px; margin: 0 auto 12px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 34px; font-weight: 800; display: grid; place-items: center; }
.story-aside h4 { font-size: 20px; color: var(--ink); }
.story-role { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.story-facts { list-style: none; text-align: left; border-top: 1px dashed var(--line); padding-top: 14px; margin-bottom: 18px; }
.story-facts li { font-size: 13px; color: var(--ink-2); padding: 6px 0 6px 18px; position: relative; }
.story-facts li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.story-body .section-head p { font-size: 16px; color: var(--ink-2); font-weight: 600; margin-left: 0; }
.story-text p { color: var(--ink-2); margin-bottom: 14px; font-size: 15px; line-height: 1.9; }
.story-questions { list-style: none; margin: 0 0 14px; padding: 0; }
.story-questions li { background: var(--white); border-left: 3px solid var(--primary); padding: 10px 16px; margin-bottom: 8px; border-radius: 6px; font-size: 15px; color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .story-inner { grid-template-columns: 1fr; gap: 28px; } }

/* ========== 子页面 / 文章页 ========== */
.page-hero { background: linear-gradient(135deg, #1f2a37 0%, #2c3e50 60%, #c8552f 160%); color: #fff; padding: 54px 0 46px; }
.page-hero h1 { font-size: 32px; font-weight: 800; line-height: 1.35; margin-bottom: 12px; }
.page-hero p { color: #dbe2ea; font-size: 16px; max-width: 780px; }
.breadcrumb { font-size: 13px; color: #a9b4c2; margin-bottom: 16px; }
.breadcrumb a { color: #ffd9c6; }
.breadcrumb span { margin: 0 6px; }

.prose { max-width: 840px; margin: 0 auto; }
.prose h2 { font-size: 23px; color: var(--ink); margin: 38px 0 12px; padding-left: 12px; border-left: 4px solid var(--primary); line-height: 1.5; }
.prose h3 { font-size: 18px; color: var(--ink); margin: 24px 0 8px; }
.prose p { color: var(--ink-2); margin-bottom: 14px; font-size: 16px; line-height: 1.9; }
.prose ul, .prose ol { margin: 0 0 16px 22px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; line-height: 1.85; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; background: #fff; box-shadow: var(--shadow); }
.prose th { background: var(--ink); color: #fff; padding: 11px 14px; text-align: left; font-size: 13px; font-weight: 600; }
.prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.prose blockquote { background: #fff8e6; border-left: 4px solid #e0b53c; padding: 14px 18px; margin: 18px 0; color: #7a6220; font-size: 15px; border-radius: 4px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--primary); text-decoration: underline; }

.callout { background: #fff5f1; border: 1px solid #f3d2c4; border-radius: 10px; padding: 16px 20px; margin: 20px 0; color: var(--ink-2); font-size: 15px; }
.callout-warn { background: #fff8e6; border-color: #f0d78a; color: #7a6220; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { display: block; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.article-card .tag { display: inline-block; background: #fff0e8; color: var(--primary); font-size: 12px; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px; font-weight: 600; }
.article-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; line-height: 1.5; }
.article-card p { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .article-grid { grid-template-columns: 1fr; } }

.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 32px; margin: 44px 0 0; text-align: center; }
.cta-band h3 { font-size: 22px; margin-bottom: 8px; }
.cta-band p { color: #b8c0cc; margin-bottom: 18px; font-size: 14px; }
@media (max-width: 640px) { .page-hero h1 { font-size: 24px; } }

.section-more { text-align: center; margin-top: 32px; }
.section-more .btn-ghost { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.section-more .btn-ghost:hover { background: var(--primary); color: #fff; }
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--primary); }
.article-card { text-decoration: none; }
