/* 云南宝永清洁服务有限公司 官网样式 */
:root {
  --primary: #0a4d8c;
  --primary-dark: #07396b;
  --primary-light: #e8f1fa;
  --accent: #dbe6f2;
  --text: #2b2f33;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --border: #e2e8f0;
  --radius: 10px;
  --maxw: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* 顶部导航 */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo-img {
  width: 46px; height: 46px; border-radius: 9px;
  object-fit: cover; box-shadow: 0 1px 4px rgba(7,57,107,.25);
  flex: 0 0 auto;
}
.brand-name { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.2; }
.brand-name small { display: block; font-size: 11px; color: var(--text-light); font-weight: 400; letter-spacing: 1px; }
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 6px;
  color: var(--text); font-size: 15px; font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { background: var(--primary-light); color: var(--primary-dark); text-decoration: none; }
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--primary-dark); font-size: 16px;
}
.nav-phone .ico { font-size: 18px; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-phone { font-size: 14px; }
  .brand-name { font-size: 15px; }
}

/* 英雄区 */
.hero {
  background: linear-gradient(135deg, #062c52 0%, #0a4d8c 55%, #1565b8 100%);
  color: #fff; padding: 72px 0 84px;
}
.hero h1 { font-size: 38px; line-height: 1.35; margin-bottom: 16px; font-weight: 700; }
.hero p.lead { font-size: 18px; opacity: .92; max-width: 640px; margin-bottom: 28px; }
.hero .slogan {
  display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35);
  padding: 6px 18px; border-radius: 999px; margin-bottom: 20px; font-size: 15px; letter-spacing: 2px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 8px;
  font-size: 16px; font-weight: 600; cursor: pointer; border: none;
}
.btn-primary { background: #e8eef6; color: #07396b; border: 1px solid #c9d6e8; }
.btn-primary:hover { background: #f4f8fd; text-decoration: none; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.hero-stats { display: flex; gap: 40px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 30px; color: #d3e2f4; line-height: 1.2; }
.hero-stats .stat span { font-size: 14px; opacity: .85; }

/* 通用区块 */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { font-size: 28px; margin-bottom: 12px; color: var(--text); }
.section-head p { color: var(--text-light); font-size: 15px; }
.kicker {
  display: inline-block; color: var(--primary); font-weight: 600;
  font-size: 13px; letter-spacing: 3px; margin-bottom: 10px; text-transform: uppercase;
}

/* 卡片网格 */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(10,77,140,.14); transform: translateY(-3px); }
.card .ico {
  width: 46px; height: 46px; border-radius: 10px; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-light); }
.card .more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; }

/* 承诺条 */
.promise-bar { background: var(--primary-dark); color: #fff; padding: 40px 0; }
.promise-bar .grid-4 { gap: 12px; }
.promise-item { text-align: center; }
.promise-item b { display: block; font-size: 18px; margin-bottom: 4px; }
.promise-item span { font-size: 13px; opacity: .8; }

/* 案例 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .case-grid { grid-template-columns: 1fr; } }
.case-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.case-card img { width: 100%; height: 200px; object-fit: cover; }
.case-body { padding: 18px 20px; }
.case-body h3 { font-size: 16px; margin-bottom: 6px; }
.case-body p { font-size: 13px; color: var(--text-light); }
.tag { display: inline-block; background: var(--primary-light); color: var(--primary-dark); font-size: 12px; padding: 2px 10px; border-radius: 999px; margin: 0 4px 6px 0; font-weight: 600; }

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-item details summary {
  list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details summary::after { content: "+"; color: var(--primary); font-size: 20px; font-weight: 700; }
.faq-item details[open] summary::after { content: "−"; }
.faq-item details .faq-answer { padding: 0 20px 18px; color: var(--text-light); font-size: 14.5px; }
.faq-item details[open] summary { color: var(--primary-dark); background: var(--primary-light); }

/* 流程时间线 */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px dashed var(--border); }
.step:last-child { border-bottom: none; }
.step-num {
  flex: 0 0 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 16.5px; margin-bottom: 4px; }
.step p { font-size: 14px; color: var(--text-light); }

/* 表格式信息 */
.info-table { width: 100%; border-collapse: collapse; background: #fff; }
.info-table th, .info-table td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; font-size: 14.5px; }
.info-table th { background: var(--primary-light); color: var(--primary-dark); width: 160px; font-weight: 600; }

/* 联系横幅 */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 16px; color: #fff; padding: 48px 40px; text-align: center;
}
.cta-banner h2 { font-size: 26px; margin-bottom: 10px; }
.cta-banner p { opacity: .9; margin-bottom: 22px; }
.cta-banner .phone { font-size: 34px; font-weight: 800; color: #d3e2f4; display: block; margin-bottom: 18px; }

/* 页脚 */
.site-footer { background: #0f1b29; color: #c3d2e2; padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c3d2e2; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; text-align: center; color: #7d92a8; font-size: 13px; }

/* 页面标题区 */
.page-hero { background: var(--primary-light); padding: 44px 0; }
.page-hero h1 { font-size: 28px; color: var(--primary-dark); }
.page-hero .breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 6px; }

/* 正文排版 */
.prose h2 { font-size: 24px; margin: 48px 0 16px; color: var(--primary-dark); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose p { margin-bottom: 14px; color: #444b52; }
.prose ul { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; color: #444b52; }
.service-block {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; margin-bottom: 24px;
}
.service-block h3 {
  font-size: 19px; color: var(--primary-dark); margin-bottom: 6px;
  padding-left: 12px; border-left: 4px solid var(--primary);
}
.service-block .def { color: var(--text-light); font-size: 14.5px; margin-bottom: 12px; }
.service-block ul { margin-left: 20px; }
.service-block li { font-size: 14.5px; margin-bottom: 6px; color: #444b52; }
