/* 久泰机械工程队 主站样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --brand: #d97b00;        /* 工程黄 */
  --brand-dark: #b86600;
  --dark: #21262c;
  --gray: #5b6470;
  --light: #f6f7f9;
  --border: #e4e7ec;
  --white: #fff;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ===== 页头 ===== */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 20px; flex-wrap: wrap;
}
.logo { font-size: 21px; font-weight: 800; letter-spacing: 1px; }
.logo .mark { color: var(--brand); }
.logo-img img { height: 54px; width: auto; display: block; }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.site-nav a { color: var(--gray); }
.site-nav a:hover, .site-nav a.active { color: var(--dark); font-weight: 700; }
.header-phone { font-size: 19px; font-weight: 800; color: #000; white-space: nowrap; }
.header-phone .label { font-size: 12px; color: var(--gray); font-weight: 400; display: block; line-height: 1.2; }

/* ===== 首屏 ===== */
.hero { background: var(--dark); color: var(--white); }
.hero-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px;
  padding: 52px 20px 56px; align-items: center;
}
.hero h1 { font-size: 34px; line-height: 1.4; margin-bottom: 14px; }
.hero h1 em { color: #f0a92e; font-style: normal; }
.hero p.sub { color: #c6ccd4; font-size: 17px; margin-bottom: 22px; }
.hero .cta {
  display: inline-block; background: var(--brand); color: #fff;
  padding: 12px 30px; font-size: 17px; font-weight: 700; border-radius: 4px;
}
.hero .cta:hover { background: var(--brand-dark); }
.hero-img { border-radius: 8px; overflow: hidden; }
.hero-img img { width: 100%; height: 320px; object-fit: cover; }

/* ===== 信任条 ===== */
.trust { background: var(--light); border-bottom: 1px solid var(--border); }
.trust-items { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 18px 20px; text-align: center; }
.trust b { display: block; font-size: 20px; color: var(--brand-dark); }
.trust span { font-size: 13px; color: var(--gray); }

/* ===== 通用区块 ===== */
.section { padding: 56px 0; }
.section.alt { background: var(--light); }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-size: 28px; margin-bottom: 8px; }
.section-head p { color: var(--gray); font-size: 15px; }

/* 卡片 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  padding: 24px 22px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card h3 .num { color: var(--brand); margin-right: 6px; }
.card p { font-size: 14.5px; color: var(--gray); }
.card .tag {
  display: inline-block; background: #fdf3e3; color: var(--brand-dark);
  font-size: 12.5px; padding: 2px 10px; border-radius: 20px; margin-bottom: 10px;
}
.cards-img { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card-img { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
.card-img img { width: 100%; height: 230px; object-fit: cover; }
.card-img .cap { padding: 16px 18px; }
.card-img .cap h3 { font-size: 17px; margin-bottom: 4px; }
.card-img .cap p { font-size: 14px; color: var(--gray); }

/* 表格 */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--light); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
td.model { font-weight: 700; color: var(--brand-dark); white-space: nowrap; }

/* 区县 pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill {
  background: #fff; border: 1px solid var(--border); border-radius: 22px;
  padding: 7px 18px; font-size: 14px; color: var(--dark);
}
.pill b { color: var(--brand-dark); }

/* 直答块（GEO友好） */
.direct-answer {
  background: #fff; border-left: 4px solid var(--brand);
  border-radius: 6px; padding: 20px 24px; margin-bottom: 34px;
  font-size: 15.5px; box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.direct-answer b { color: var(--brand-dark); }

/* 流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 22px 18px; text-align: center; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-block; width: 34px; height: 34px; line-height: 34px;
  background: var(--brand); color: #fff; border-radius: 50%;
  font-weight: 800; margin-bottom: 10px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--gray); }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 14px; overflow: hidden; }
.faq-item h3 { font-size: 16.5px; padding: 16px 20px; cursor: pointer; position: relative; }
.faq-item h3::after { content: "+"; position: absolute; right: 20px; color: var(--brand); font-weight: 800; }
.faq-item.open h3::after { content: "−"; }
.faq-item .a { display: none; padding: 0 20px 18px; font-size: 14.5px; color: var(--gray); border-top: 1px dashed var(--border); padding-top: 14px; }
.faq-item.open .a { display: block; }

/* 正文段落 */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 26px; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; color: #3a424c; font-size: 15.5px; }
.prose ul { margin: 0 0 14px 22px; color: #3a424c; font-size: 15.5px; }

/* 行动条 */
.cta-bar { background: var(--dark); color: #fff; padding: 44px 20px; text-align: center; }
.cta-bar h2 { font-size: 26px; margin-bottom: 10px; }
.cta-bar p { color: #c6ccd4; margin-bottom: 20px; }
.cta-bar .cta {
  display: inline-block; background: var(--brand); color: #fff;
  padding: 12px 34px; font-size: 17px; font-weight: 700; border-radius: 4px;
}
.cta-bar .phone-inline { color: #fff; font-size: 22px; font-weight: 800; margin-left: 14px; }

/* ===== 页脚 ===== */
.site-footer { background: #171b20; color: #9aa3ad; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 44px 20px 30px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer a { display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a3038; padding: 16px 20px; text-align: center; font-size: 13px; }
.update-time { font-size: 12.5px; color: #6f7883; }

/* 响应式 */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 36px 20px; }
  .hero h1 { font-size: 26px; }
  .hero-img img { height: 220px; }
  .trust-items { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cards, .cards-img { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .site-nav { order: 3; width: 100%; justify-content: center; }
}
