:root{
  --brand:#cc1e1e; --fg:#111; --muted:#666; --line:#e8e8e8; --bg:#fff;
  --chip:#f6f7f9; --ok:#0aa35b;
}
*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--fg);
  font:16px/1.65 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
}
a{color:inherit;text-decoration:none}
.container{max-width:1160px;margin:0 auto;padding:0 18px}
h1,h2,h3{line-height:1.25;margin:0 0 10px}
.muted{color:var(--muted)}
.btn{
  display:inline-block;
  background:var(--brand);
  color:#fff;
  padding:12px 18px;
  border-radius:10px;
}
.btn.outline{
  background:#fff;
  color:var(--brand);
  border:1px solid var(--brand);
}
.grid{display:grid;gap:18px}
.card{
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.card.pad{padding:18px}
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:8px 0;
}
.chip{
  background:var(--chip);
  border-radius:999px;
  padding:6px 10px;
  font-size:13px;
  color:#333;
  border:1px solid var(--line);
}

/* 提高头部层级，确保在内容前面 */
header{
  position:sticky;
  top:0;
  background:#fff;
  z-index:1000;
  border-bottom:1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:64px;
}
.brand{
  display:flex;
  gap:10px;
  align-items:center;
}
.brand .logo{
  height:42px;
  width:auto;
}
nav a{
  margin-left:18px;
  color:var(--muted);
}
nav a:hover{color:var(--fg)}
.menu-btn{display:none}

.hero{position:relative}
.hero .wrap{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:24px;
  align-items:center;
  padding:42px 0;
}
.hero .banner{
  min-height:340px;
  border-radius:18px;
  border:1px solid var(--line);
  background:linear-gradient(135deg,#faf4f4,#f9fbff);
  background-image:linear-gradient(135deg,#faf4f4,#f9fbff),url('/img/hero.jpg');
  background-size:cover;
  background-position:center;
}
.hero h1{
  font-size:36px;
  margin-bottom:10px;
}
.hero p{
  color:var(--muted);
  margin:8px 0 14px;
}

.section{padding:36px 0}
.section h2{
  font-size:26px;
  margin-bottom:6px;
}
.section .sub{
  color:var(--muted);
  margin-bottom:14px;
}

.products .grid{grid-template-columns:repeat(3,1fr)}
.product{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px;
}
.product h3{font-size:18px}
.product p{
  color:var(--muted);
  margin:0;
}
.product .thumb{
  height:160px;
  border-radius:12px;
  background:#f7f7f7;
  border:1px solid var(--line);
}
.product .more{
  color:var(--brand);
  font-weight:600;
  font-size:14px;
}

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.stat{
  padding:18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  text-align:center;
}
.stat b{
  font-size:22px;
  color:var(--brand);
}
.kv{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.steps .grid{grid-template-columns:repeat(4,1fr)}
.step{padding:18px}
.step b{
  display:inline-block;
  width:28px;
  height:28px;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  text-align:center;
  line-height:28px;
  margin-right:8px;
}

.faq details{
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  margin:10px 0;
}
.faq summary{
  padding:14px;
  cursor:pointer;
}
.faq .ans{
  padding:0 14px 14px;
  color:var(--muted);
}

.quote{
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px;
  background:#fff;
}
.row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.field{
  display:flex;
  flex-direction:column;
  margin:10px 0;
}
.field label{
  font-size:13px;
  color:var(--muted);
  margin-bottom:6px;
}
.field input,
.field textarea{
  padding:12px;
  border:1px solid var(--line);
  border-radius:10px;
  font:inherit;
}

@media (max-width:1000px){
  .hero .wrap{grid-template-columns:1fr}
  .products .grid{grid-template-columns:1fr 1fr}
  .stats{grid-template-columns:1fr 1fr}
  .kv{grid-template-columns:1fr}
}
@media (max-width:680px){
  .products .grid{grid-template-columns:1fr}
  .steps .grid{grid-template-columns:1fr 1fr}
  .menu-btn{display:inline-block}
  nav .links{display:none}
}

.footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  margin-top:30px;
}

/* 小号文字 */
.small{
  font-size:13px;
  color:var(--muted);
}

/* 悬浮 WhatsApp 按钮 */
.float-whatsapp{
  position:fixed;
  right:16px;
  bottom:18px;
  background:#25d366;
  color:#fff;
  border-radius:999px;
  padding:12px 14px;
  font-weight:700;
  box-shadow:0 6px 20px rgba(0,0,0,.15);
}

/* 关键：让导航下拉菜单永远在内容前面 */
header .nav-dropdown,
header .nav-submenu,
header .nav-panel,
header .nav-mega{
  z-index:2000;
}

/* 主体内容层级压低一点，防止盖住导航 */
main,
.page-wrapper,
.page-content{
  position:relative;
  z-index:1;
}
