/* 联系我们 — 正文样式（自旧站 contact.css 提取） */
.contact-section {
  padding: 50px 0;
}

.contact-page-header {
  margin-bottom: 30px;
  border-left: 4px solid #1d5198;
  padding-left: 16px;
}

.contact-page-header h2 {
  font-size: 28px;
  font-weight: bold;
  color: #1e3a5f;
  margin: 0 0 12px;
}

.contact-page-header p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 8px;
}

.contact-main {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.contact-left {
  flex: 1;
  min-width: 0;
}

.contact-right {
  width: 480px;
  flex-shrink: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-icon.blue { background: #ebf3ff; color: #1d5198; }
.contact-icon.green { background: #e8f5e9; color: #2e7d32; }
.contact-icon.orange { background: #fdeee6; color: var(--site-brand-orange); }
.contact-icon.purple { background: #f3e5f5; color: #7b1fa2; }

.contact-item-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0 0 6px;
}

.contact-item-body p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: opacity 0.3s;
}

.social-btn:hover { opacity: 0.85; }
.social-btn.facebook { background: #1877f2; }
.social-btn.linkedin { background: #0a66c2; }
.social-btn.youtube { background: #ff0000; }
.social-btn.instagram { background: #e1306c; }
.social-btn.whatsapp { background: #25d366; }
.social-btn.telegram { background: #26a5e4; }
.social-btn.twitter { background: #0f1419; }
.social-btn.tiktok { background: #010101; }

.social-hint {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
}

.contact-form {
  background: #fff;
  border-radius: 5px;
  padding: 36px 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
  font-size: 22px;
  font-weight: bold;
  color: #1e3a5f;
  margin: 0 0 6px;
}

.contact-form .form-desc {
  color: #888;
  font-size: 14px;
  margin-bottom: 24px;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}

.form-group {
  flex: 1;
}

.form-group.full {
  flex: none;
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 10px 14px;
  font-size: 14px;
  color: #333;
  background: #fff;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1d5198;
}

.form-group textarea {
  resize: vertical;
  min-height: calc(5 * 1.5em + 50px);
}

.form-submit {
  width: 100%;
  background: #1d5198;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 8px;
}

.form-submit:hover {
  background: #16407a;
}

.map-section {
  padding: 40px 0;
  background: #fff;
}

.contact-map {
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  background: #f5f5f5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-map__frame {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.contact-map__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 14px 18px;
  background: #fff;
  border-top: 1px solid #eee;
}

.contact-map__address {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.contact-map__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-map__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 5px;
  border: 1px solid #c5d4ea;
  background: #f7faff;
  color: #1d5198;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.contact-map__link:hover {
  background: #ebf3ff;
  border-color: #1d5198;
}

.advantage-section {
  padding: 60px 0;
}

.advantage-header {
  text-align: center;
  margin-bottom: 40px;
}

.advantage-header h2 {
  font-size: 26px;
  font-weight: bold;
  color: #1e3a5f;
  margin: 0;
}

.advantage-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.advantage-card {
  flex: 1;
  max-width: 480px;
  background: #fff;
  border-radius: 5px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.advantage-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ebf3ff;
  color: #1d5198;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
}

.advantage-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0 0 8px;
}

.advantage-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1100px) {
  .contact-main {
    flex-direction: column;
    gap: 32px;
  }

  .contact-right {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .advantage-grid {
    flex-direction: column;
  }

  .contact-map__frame {
    height: 300px;
  }

  .contact-map__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
