/* ======================
   CONTACT.CSS — 联系我们页
   ====================== */

.contact-layout {
  max-width: 900px;
  margin: 0 auto;
}

/* 联系卡片 */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  transition: all 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background: rgba(212,175,55,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card h3 {
  font-size: 15px;
  color: var(--text-title);
  font-weight: 600;
  margin-bottom: 10px;
}
.contact-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 6px;
  word-break: break-all;
}
.contact-note {
  font-size: 12px;
  color: var(--text-muted);
}
.contact-note.urgent {
  color: #e24b4a;
  font-weight: 500;
}
.qr-placeholder {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

/* 来访指引 */
.visit-guide {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.visit-guide h2 {
  font-size: 20px;
  color: var(--text-title);
  margin-bottom: 20px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.guide-item {
  padding: 16px;
  background: var(--bg-gray-light);
  border-radius: var(--radius-md);
}
.guide-item h4 {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.guide-item p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
}

.guide-tips {
  background: rgba(212,175,55,0.06);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.guide-tips h4 {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 10px;
}
.guide-tips ul {
  padding-left: 20px;
}
.guide-tips ul li {
  font-size: 13px;
  color: var(--text-body);
  line-height: 2;
}

/* 地图占位 */
.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
  height: 280px;
}
.map-placeholder svg {
  display: block;
}

/* 联系表单 */
.contact-form-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form-section h2 {
  font-size: 20px;
  color: var(--text-title);
  margin-bottom: 8px;
}
.contact-form-section > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .form-group {
  margin-bottom: 18px;
}
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-title);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-normal);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-body);
  background: var(--bg-page);
  transition: border-color 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-disclaimer {
  text-align: center;
  font-size: 12px !important;
  color: var(--text-muted) !important;
  margin-top: 16px;
}

/* 响应式 */
@media (max-width: 1024px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .contact-card {
    padding: 18px 12px 16px;
    border-radius: 12px;
  }
  .contact-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }
  .contact-icon svg { width: 20px; height: 20px; }
  .contact-card h3 { font-size: 14px; margin-bottom: 8px; }
  .contact-val {
    font-size: 13px;
    word-break: break-all;
    line-height: 1.4;
  }
  .contact-card p { font-size: 12px; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-form-section { padding: 24px 18px; }
  .visit-guide { padding: 24px 18px; }
}
