
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #1a2b4c;
  --blue: #1559b7;
  --yellow: #ffc107;
  --red: #e63946;
  --gray-bg: #f5f7fa;
  --text: #1a2b4c;
  --text-muted: #666;
  --border: #e0e6ee;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ===== 顶部信息条 ===== */
.top-bar {
  background: var(--navy);
  color: #99a8bc;
  font-size: 12px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: #fff; }
.top-bar span { margin: 0 10px; }

/* ===== 促销条 ===== */
.promo-bar {
  background: var(--yellow);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0;
  text-align: center;
}

/* ===== 导航 ===== */
.nav {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
}
.logo span { color: var(--red); }
.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav-menu a {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}
.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 700;
}

/* ===== 页面标题区 ===== */
.page-hero {
  background: var(--gray-bg);
  padding: 50px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== 联系布局 ===== */
.contact-section {
  padding: 60px 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

/* ===== 左侧联系信息 ===== */
.contact-info h2 {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 20px;
}
.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}
.info-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.info-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.info-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== 右侧表单 ===== */
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
}
.contact-form h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.submit-btn {
  width: 100%;
  background: var(--yellow);
  color: var(--navy);
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.submit-btn:hover {
  background: #e6a800;
}

/* ===== 地图位置 ===== */
.map-section {
  padding: 0 0 60px;
}
.map-placeholder {
  background: var(--gray-bg);
  border-radius: 8px;
  aspect-ratio: 21/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== CTA区 ===== */
.cta-section {
  background: var(--navy);
  padding: 50px 0;
  text-align: center;
}
.cta-section h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 10px;
}
.cta-section p {
  color: #99a8bc;
  margin-bottom: 25px;
}
.cta-btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  padding: 14px 35px;
  border-radius: 5px;
  font-weight: 800;
  font-size: 16px;
}
.cta-btn:hover { background: #e6a800; text-decoration: none; }

/* ===== Footer ===== */
.footer {
  background: #0f1a2e;
  color: #99a8bc;
  padding: 50px 0 20px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 15px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: #99a8bc; }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #2a3a55;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
}

/* ===== WhatsApp悬浮球 ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 1000;
  font-size: 28px;
  color: #fff;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .page-hero h1 { font-size: 26px; }
}
