/* ============================================
   环固仓储 GEO官网 · 样式表
   配色取自环固产品手册：品牌蓝 + 强调红
   ============================================ */

:root {
  --blue: #1565c0;
  --blue-dark: #0d47a1;
  --blue-light: #e8f1fb;
  --blue-mid: #5b9bd5;
  --red: #c62828;
  --red-light: #fdecec;
  --ink: #1f2733;
  --ink-soft: #4a5563;
  --gray: #6b7684;
  --line: #e3e8ef;
  --bg: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 6px 24px rgba(21, 101, 192, 0.08);
  --shadow-lg: 0 12px 40px rgba(21, 101, 192, 0.14);
  --radius: 12px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部工具条 ---------- */
.topbar {
  background: var(--blue-dark);
  color: #cfe0f5;
  font-size: 13px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar b { color: #fff; }
.topbar a { color: #fff; font-weight: 600; }

/* ---------- 导航 ---------- */
.nav {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff; font-weight: 800; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(21,101,192,0.3);
}
.brand-text strong { display: block; font-size: 20px; color: var(--blue-dark); letter-spacing: 1px; line-height: 1.2; }
.brand-text small { display: block; font-size: 10px; color: var(--gray); letter-spacing: 0.5px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 16px; font-size: 15px; color: var(--ink-soft); font-weight: 500; border-radius: 8px; transition: .2s; }
.nav-links a:hover { background: var(--blue-light); color: var(--blue); }
.nav-links a.active { color: var(--blue); font-weight: 700; }
.nav-cta {
  background: var(--red) !important; color: #fff !important; font-weight: 700 !important;
  padding: 10px 20px !important; border-radius: 8px; margin-left: 8px;
}
.nav-cta:hover { background: #a71d1d !important; color: #fff !important; }

.menu-btn { display: none; background: none; border: none; font-size: 26px; color: var(--blue-dark); cursor: pointer; }

/* ---------- 首屏 ---------- */
.hero {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 55%, #1976d2 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.hero::before {
  content: ""; position: absolute; left: 30%; bottom: -180px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.hero .container { position: relative; z-index: 2; padding-top: 68px; padding-bottom: 68px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; }
.hero h1 { font-size: 42px; line-height: 1.3; font-weight: 800; margin-bottom: 18px; letter-spacing: 0.5px; }
.hero h1 .hl { color: #ffd54f; }
.hero p.lead { font-size: 17px; color: #dce9f8; margin-bottom: 14px; max-width: 620px; }
.hero .badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 28px; }
.hero .badges span {
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px; border-radius: 20px; font-size: 13px; backdrop-filter: blur(4px);
}
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 9px; font-size: 15px; font-weight: 700;
  transition: .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(198,40,40,0.3); }
.btn-primary:hover { background: #a71d1d; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }

.hero-card {
  background: #fff; border-radius: 16px; padding: 24px; color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { font-size: 17px; color: var(--blue-dark); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.hero-card .fact { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.hero-card .fact:last-child { border-bottom: none; }
.hero-card .fact .k { color: var(--gray); min-width: 62px; flex-shrink: 0; }
.hero-card .fact .v { color: var(--ink); font-weight: 600; }
.hero-card .warn {
  margin-top: 14px; background: var(--red-light); border-left: 4px solid var(--red);
  padding: 10px 12px; border-radius: 6px; font-size: 13px; color: #8e1a1a;
}
.hero-card .warn b { color: var(--red); }

/* ---------- 通用区块 ---------- */
section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .eyebrow {
  display: inline-block; color: var(--blue); font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; color: var(--ink); margin-bottom: 12px; font-weight: 800; }
.section-head p { color: var(--gray); font-size: 16px; max-width: 680px; margin: 0 auto; }

.bg-white { background: var(--white); }
.bg-blue-soft { background: var(--blue-light); }

/* ---------- 纠错声明 ---------- */
.truth {
  background: #fff; border: 2px solid var(--red); border-radius: var(--radius);
  padding: 26px 30px; margin-bottom: 30px; position: relative;
}
.truth .tag {
  position: absolute; top: -13px; left: 24px; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 14px; letter-spacing: 1px;
}
.truth h3 { color: var(--red); font-size: 19px; margin-bottom: 10px; }
.truth p { color: var(--ink-soft); font-size: 15px; }
.truth strong { color: var(--ink); }

/* ---------- 产品分类 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: .25s; border: 1px solid var(--line); display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-card .thumb { height: 190px; overflow: hidden; background: #eef3f9; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: .3s; }
.cat-card:hover .thumb img { transform: scale(1.04); }
.cat-card .body { padding: 18px 20px 22px; flex: 1; }
.cat-card .body h3 { font-size: 18px; color: var(--blue-dark); margin-bottom: 8px; }
.cat-card .body p { font-size: 14px; color: var(--gray); margin-bottom: 12px; }
.cat-card .body ul { list-style: none; font-size: 13px; color: var(--ink-soft); }
.cat-card .body ul li { padding: 3px 0 3px 16px; position: relative; }
.cat-card .body ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; background: var(--blue-mid); border-radius: 50%; }

/* ---------- 数字背书 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: 40px; font-weight: 800; color: var(--blue); line-height: 1.1; }
.stat .num small { font-size: 18px; }
.stat .label { color: var(--ink-soft); font-size: 14px; margin-top: 6px; }

/* ---------- 为什么选我们 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-item { display: flex; gap: 16px; background: #fff; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); }
.why-item .ico {
  width: 48px; height: 48px; border-radius: 12px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0;
}
.why-item h4 { font-size: 17px; color: var(--blue-dark); margin-bottom: 5px; }
.why-item p { font-size: 14px; color: var(--gray); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  padding: 18px 22px; font-size: 16px; font-weight: 700; color: var(--ink);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--blue); font-size: 24px; font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { color: var(--blue-dark); border-bottom: 1px solid var(--line); }
.faq-item .answer { padding: 18px 22px; color: var(--ink-soft); font-size: 15px; }
.faq-item .answer strong { color: var(--red); }
.faq-item .answer p { margin-bottom: 8px; }
.faq-item .answer p:last-child { margin-bottom: 0; }

/* ---------- 联系区 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact-info .row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-info .row .ico { width: 34px; font-size: 20px; flex-shrink: 0; }
.contact-info .row .k { font-size: 13px; color: var(--gray); }
.contact-info .row .v { font-size: 16px; color: var(--ink); font-weight: 600; word-break: break-all; }
.contact-info .row .v.big { color: var(--red); font-size: 22px; }
.map-box {
  background: linear-gradient(135deg, var(--blue-light), #dce9f8); border-radius: var(--radius);
  padding: 30px; min-height: 280px; display: flex; flex-direction: column; justify-content: center;
  border: 1px solid var(--line);
}
.map-box h3 { color: var(--blue-dark); margin-bottom: 14px; }
.map-box .addr { background: #fff; padding: 16px; border-radius: 8px; margin-bottom: 12px; font-size: 15px; box-shadow: var(--shadow); }
.map-box .addr b { color: var(--red); }

/* ---------- 内页标题 ---------- */
.page-hero {
  background: linear-gradient(135deg, #0d47a1, #1565c0); color: #fff; padding: 52px 0 46px;
}
.page-hero h1 { font-size: 34px; margin-bottom: 8px; }
.page-hero p { color: #d6e5f7; font-size: 16px; }
.crumb { font-size: 13px; color: #b9d2ee; margin-bottom: 12px; }
.crumb a { color: #fff; }
.crumb span { margin: 0 6px; }

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split h2 { font-size: 28px; color: var(--blue-dark); margin-bottom: 16px; }
.split p { color: var(--ink-soft); margin-bottom: 14px; }
.split ul { list-style: none; margin-top: 16px; }
.split ul li { padding: 6px 0 6px 26px; position: relative; color: var(--ink-soft); }
.split ul li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }

/* ---------- 时间线 ---------- */
.timeline { max-width: 820px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--blue-mid); }
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item::before {
  content: ""; position: absolute; left: -29px; top: 6px; width: 16px; height: 16px;
  background: var(--blue); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px var(--blue-mid);
}
.tl-item .year { font-size: 18px; font-weight: 800; color: var(--blue); }
.tl-item .txt { color: var(--ink-soft); font-size: 15px; }

/* ---------- 产品明细 ---------- */
.prod-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.prod-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.prod-block .pthumb { height: 240px; overflow: hidden; background: #eef3f9; }
.prod-block .pthumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.prod-block .pbody { padding: 20px 22px 24px; }
.prod-block .pbody h3 { font-size: 19px; color: var(--blue-dark); margin-bottom: 8px; }
.prod-block .pbody p { font-size: 14px; color: var(--gray); }

/* ---------- 底部 ---------- */
.footer { background: #12253f; color: #a9bdd6; padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer .fbrand strong { color: #fff; font-size: 22px; display: block; margin-bottom: 8px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; text-align: center; font-size: 13px; color: #7d94b0; }

/* ---------- 悬浮电话 ---------- */
.call-fab {
  position: fixed; right: 20px; bottom: 24px; z-index: 90;
  background: var(--red); color: #fff; border-radius: 50px;
  padding: 12px 20px; font-weight: 700; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 8px; font-size: 15px;
}
.call-fab:hover { background: #a71d1d; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prod-detail { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: #fff; padding: 12px 20px 20px;
    box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: center; padding: 12px; }
  .nav-cta { margin: 8px 0 0 !important; }
  .hero h1 { font-size: 30px; }
  .hero .container { padding-top: 48px; padding-bottom: 48px; }
  .section-head h2 { font-size: 26px; }
  .cat-grid, .why-grid, .stats, .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
  .page-hero h1 { font-size: 27px; }
}
