/* 探星猫官网 - 共用样式 */
:root {
  --navy: #12395f;
  --navy-deep: #0c2a47;
  --orange: #f07d00;
  --orange-light: #ff9a2e;
  --text: #333a45;
  --muted: #6b7686;
  --bg: #f5f7fa;
  --white: #ffffff;
  --line: #e3e8ef;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== 顶部联系条 ===== */
.topbar {
  background: var(--navy-deep); color: #fff;
  font-size: 14px;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 42px; gap: 12px; flex-wrap: wrap; padding: 4px 0;
}
.topbar-slogan { color: rgba(255,255,255,.75); letter-spacing: 1px; }
.topbar-contact { display: flex; align-items: center; gap: 8px; }
.topbar-contact .label { color: rgba(255,255,255,.7); }
.topbar-contact .phone {
  color: var(--orange-light); font-weight: 700; font-size: 17px;
  letter-spacing: 1px; display: inline-flex; align-items: center; gap: 6px;
}
.topbar-contact .person { color: #fff; font-weight: 600; }
@media (max-width: 640px) {
  .topbar-slogan { display: none; }
  .topbar-inner { justify-content: center; }
}

/* ===== 顶部导航 ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 42px; width: auto; display: block; }
.nav { display: flex; gap: 6px; }
.nav a {
  padding: 8px 18px; border-radius: 6px;
  font-size: 15px; color: var(--text); transition: all .2s;
}
.nav a:hover { color: var(--orange); background: #fff5ea; }
.nav a.active { color: var(--orange); font-weight: 600; }
.nav a.nav-cta { background: var(--orange); color: #fff; font-weight: 600; }
.nav a.nav-cta:hover { background: var(--orange-light); color: #fff; }
.menu-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 560px;
  display: flex; align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../images/hero.jpg") center/cover no-repeat;
  opacity: .55;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9,28,49,.92) 0%, rgba(9,28,49,.72) 45%, rgba(9,28,49,.25) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; padding: 90px 0; }
.hero-tag {
  display: inline-block; padding: 5px 16px; margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  font-size: 13px; letter-spacing: 3px; color: #ffd9b0;
}
.hero h1 { font-size: 46px; line-height: 1.3; font-weight: 700; letter-spacing: 2px; }
.hero h1 .accent { color: var(--orange-light); }
.hero p.sub {
  margin-top: 18px; font-size: 17px; color: rgba(255,255,255,.85);
  max-width: 620px; letter-spacing: 1px;
}
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 6px;
  font-size: 15px; font-weight: 600; transition: all .2s; letter-spacing: 1px;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ===== 数据条 ===== */
.stats { background: var(--navy); color: #fff; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 34px 0; gap: 16px; text-align: center;
}
.stat-num { font-size: 34px; font-weight: 700; color: var(--orange-light); }
.stat-num span { font-size: 16px; margin-left: 2px; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 4px; letter-spacing: 1px; }

/* ===== 通用区块 ===== */
.section { padding: 84px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .en { font-size: 12px; letter-spacing: 4px; color: var(--orange); text-transform: uppercase; font-weight: 600; }
.section-head h2 { font-size: 32px; color: var(--navy); margin-top: 8px; letter-spacing: 2px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.section-head .bar { width: 46px; height: 3px; background: var(--orange); margin: 18px auto 0; border-radius: 2px; }

/* ===== 简介两栏 ===== */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.intro-text h3 { font-size: 24px; color: var(--navy); margin-bottom: 16px; }
.intro-text p { color: var(--muted); font-size: 15px; margin-bottom: 14px; text-align: justify; }
.intro-text .slogan {
  font-size: 18px; color: var(--orange); font-weight: 700; letter-spacing: 2px;
  padding-left: 14px; border-left: 4px solid var(--orange); margin: 20px 0;
}
.intro-img { border-radius: 10px; overflow: hidden; box-shadow: 0 16px 40px rgba(12,42,71,.18); }
.intro-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 能力板块 ===== */
.cap-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cap-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 28px 20px; text-align: center; transition: all .25s;
}
.cap-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(12,42,71,.12); border-color: transparent; }
.cap-icon {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 14px;
  background: linear-gradient(135deg, #fff1e0, #ffdfc0);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.cap-card h4 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.cap-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ===== 12 品类 ===== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 22px 20px; display: flex; align-items: center; gap: 14px; transition: all .2s;
}
.cat-card:hover { border-color: var(--orange); box-shadow: 0 8px 22px rgba(240,125,0,.1); }
.cat-num {
  flex: none; width: 34px; height: 34px; border-radius: 8px;
  background: var(--navy); color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cat-card h4 { font-size: 15px; color: var(--navy); }
.cat-card p { font-size: 12px; color: var(--muted); }
.cat-more { text-align: center; margin-top: 36px; }

/* ===== 场景 ===== */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scene-card {
  position: relative; border-radius: 10px; overflow: hidden; height: 240px;
  box-shadow: 0 8px 26px rgba(12,42,71,.12);
}
.scene-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.scene-card:hover img { transform: scale(1.06); }
.scene-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 20px 16px; color: #fff;
  background: linear-gradient(transparent, rgba(9,28,49,.88));
}
.scene-info h4 { font-size: 17px; letter-spacing: 1px; }
.scene-info p { font-size: 12.5px; color: rgba(255,255,255,.85); margin-top: 3px; }

/* ===== 流程 ===== */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 22px; }
.flow-step .no {
  position: absolute; top: -16px; left: 22px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(240,125,0,.35);
}
.flow-step h4 { font-size: 16px; color: var(--navy); margin: 8px 0 8px; }
.flow-step p { font-size: 13px; color: var(--muted); }

/* ===== 制造基地 ===== */
.factory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.factory-img { border-radius: 10px; overflow: hidden; box-shadow: 0 16px 40px rgba(12,42,71,.16); }
.factory-img img { width: 100%; }
.factory-text h3 { font-size: 24px; color: var(--navy); margin-bottom: 16px; }
.factory-text p { font-size: 15px; color: var(--muted); margin-bottom: 12px; text-align: justify; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  padding: 6px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; font-size: 13px; color: var(--navy);
}

/* ===== 二维码联系区 ===== */
.qr-section { background: var(--bg); }
.qr-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
  align-items: center; max-width: 880px; margin: 0 auto;
}
.qr-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px; text-align: center; max-width: 340px; margin: 0 auto;
  box-shadow: 0 14px 36px rgba(12,42,71,.12);
}
.qr-card img { width: 100%; border-radius: 8px; }
.qr-card .qr-tip { margin-top: 14px; font-size: 14px; color: var(--muted); }
.qr-text h3 { font-size: 24px; color: var(--navy); margin-bottom: 14px; }
.qr-text p { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.qr-text .qr-phone {
  display: inline-block; margin-top: 8px; padding: 10px 24px;
  background: var(--orange); color: #fff; border-radius: 6px;
  font-size: 20px; font-weight: 700; letter-spacing: 1px;
}
.qr-text .qr-phone:hover { background: var(--orange-light); }
@media (max-width: 640px) {
  .qr-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
}

/* ===== CTA ===== */
.cta-band {
  background: linear-gradient(110deg, var(--navy-deep), var(--navy));
  color: #fff; text-align: center; padding: 70px 24px;
}
.cta-band h2 { font-size: 28px; letter-spacing: 2px; }
.cta-band p { color: rgba(255,255,255,.75); margin-top: 12px; }
.cta-band .btn { margin-top: 28px; }

/* ===== 页脚 ===== */
.footer { background: #0a1f36; color: rgba(255,255,255,.72); font-size: 14px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px; padding: 56px 0 40px;
}
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; letter-spacing: 1px; }
.footer p, .footer li { line-height: 2; }
.footer ul { list-style: none; }
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; }
.footer a:hover { color: var(--orange-light); }
.footer strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--orange-light); }

/* ===== 内页 banner ===== */
.page-banner {
  background:
    linear-gradient(100deg, rgba(9,28,49,.92), rgba(18,57,95,.78)),
    url("../images/hall-tesla.jpg") center/cover no-repeat;
  color: #fff; text-align: center; padding: 78px 24px;
}
.page-banner h1 { font-size: 34px; letter-spacing: 3px; }
.page-banner p { margin-top: 10px; color: rgba(255,255,255,.75); letter-spacing: 1px; font-size: 15px; }

/* ===== 关于页 ===== */
.prose { max-width: 860px; margin: 0 auto; }
.prose h3 {
  font-size: 21px; color: var(--navy); margin: 44px 0 16px;
  padding-left: 14px; border-left: 4px solid var(--orange);
}
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--muted); font-size: 15px; margin-bottom: 14px; text-align: justify; }
.prose ul { margin: 0 0 14px 22px; color: var(--muted); font-size: 15px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--navy); }
.info-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.info-table th, .info-table td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; }
.info-table th { width: 180px; background: #f0f4f9; color: var(--navy); font-weight: 600; white-space: nowrap; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px 22px; }
.value-card .vno { color: var(--orange); font-weight: 700; font-size: 15px; letter-spacing: 1px; }
.value-card h4 { color: var(--navy); font-size: 16px; margin: 8px 0; }
.value-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ===== 联系页 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 30px 28px; margin-bottom: 20px;
}
.contact-card h4 { color: var(--navy); font-size: 17px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.contact-card .ico {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, #fff1e0, #ffdfc0);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-card p { font-size: 15px; color: var(--muted); }
.contact-card .big { font-size: 22px; font-weight: 700; color: var(--orange); letter-spacing: 1px; }
.contact-card a.link { color: var(--orange); font-weight: 600; }
.check-list { list-style: none; margin-top: 8px; }
.check-list li { padding: 9px 0 9px 30px; position: relative; color: var(--muted); font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.check-list li::before {
  content: "✓"; position: absolute; left: 4px; top: 9px;
  color: var(--orange); font-weight: 700;
}
.map-note {
  background: var(--navy); color: #fff; border-radius: 12px; padding: 34px 30px;
}
.map-note h4 { font-size: 18px; margin-bottom: 14px; }
.map-note p { color: rgba(255,255,255,.78); font-size: 14.5px; line-height: 2.1; }
.map-note .area { color: var(--orange-light); font-weight: 600; }

/* ===== 在线留言表单 ===== */
.form-section { background: var(--bg); }
.contact-form {
  max-width: 760px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; padding: 34px 32px;
  box-shadow: 0 10px 34px rgba(12,42,71,.08);
}
.form-row { display: flex; gap: 18px; flex-wrap: wrap; }
.form-field { flex: 1 1 240px; display: flex; flex-direction: column; margin-bottom: 18px; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-field .req { color: var(--orange); }
.form-field input, .form-field textarea {
  border: 1px solid #dfe5f0; border-radius: 10px; padding: 12px 14px;
  font-size: 15px; color: var(--navy); font-family: inherit; background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240,125,0,.15);
}
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-msg { font-size: 14px; font-weight: 600; min-height: 20px; }
.form-msg.success { color: #1f9d55; }
.form-msg.error { color: #d23b3b; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 14px; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .intro-grid, .factory-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .value-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .nav.open { display: flex; }
  .menu-toggle {
    display: block; background: none; border: none; cursor: pointer;
    font-size: 24px; color: var(--navy); line-height: 1;
  }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid, .scene-grid, .flow-grid { grid-template-columns: 1fr; }
  .hero { min-height: 480px; }
  .hero h1 { font-size: 28px; }
  .section { padding: 60px 0; }
}
