/* 路径: css/contact-new.css */

/* ===== Banner ===== */
.page-banner {
  background: linear-gradient(135deg, #064E3B 0%, #0A5C3A 40%, #07C160 100%);
  padding: 80px 0 60px;
  text-align: center;
  color: #fff;
}
.breadcrumb {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 16px;
}
.page-banner h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* ===== 联系渠道 ===== */
.contact-channels {
  padding: 80px 0;
  background: #fff;
}
.channel-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.channel-card {
  background: #F5F7FA;
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.channel-icon {
  margin-bottom: 16px;
}
.channel-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 12px;
}
.channel-phone {
  font-size: 28px;
  font-weight: 800;
  color: #07C160;
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.channel-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
.qr-placeholder {
  width: 120px;
  height: 120px;
  background: #fff;
  border: 2px dashed #ddd;
  border-radius: 12px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.qr-icon {
  font-size: 32px;
  color: #07C160;
}
.qr-placeholder span {
  font-size: 11px;
  color: #999;
}

/* ===== 公司地址 ===== */
.address-section {
  padding: 80px 0;
  background: #F5F7FA;
}
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 48px;
}
.address-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.address-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.address-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.address-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 8px;
}
.address-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
}
.map-placeholder {
  width: 100%;
  height: 160px;
  background: #E8EBF0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.map-placeholder:hover {
  background: #DDE1E6;
}
.map-pin {
  font-size: 36px;
}
.map-placeholder span {
  font-size: 13px;
  color: #888;
}

/* ===== 地图嵌入 ===== */
.map-section {
  padding: 0 0 80px;
  background: #F5F7FA;
}
.map-embed {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.map-inner {
  width: 100%;
  height: 380px;
  background: #D0D5DD;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.map-marker-large {
  font-size: 48px;
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.map-label {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}
.map-address {
  font-size: 13px;
  color: #666;
}
.map-link {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 20px;
  background: #07C160;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.map-link:hover {
  background: #059649;
}

/* ===== 在线留言 ===== */
.message-section {
  padding: 80px 0;
  background: #fff;
}
.message-card {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.message-form {
  max-width: 600px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.required {
  color: #FF6B00;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: #FAFAFA;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #07C160;
  box-shadow: 0 0 0 3px rgba(7,193,96,0.1);
  background: #fff;
}
.form-group input.error,
.form-group textarea.error {
  border-color: #FF6B00;
}
.form-submit {
  margin-top: 28px;
  text-align: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: #FF6B00;
  color: #fff;
}
.btn-primary:hover {
  background: #E55D00;
  box-shadow: 0 4px 16px rgba(255,107,0,0.4);
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-lg {
  padding: 14px 48px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== 弹窗 ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s;
}
.modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
  animation: scaleIn 0.25s;
}
.modal-box .modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(7, 193, 96, 0.12);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #07C160;
}
.modal-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 8px;
}
.modal-box p {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.6;
}
.modal-box .btn {
  min-width: 120px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .page-banner h1 {
    font-size: 26px;
  }
  .channel-cards {
    grid-template-columns: 1fr;
  }
  .address-cards {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .message-card {
    padding: 32px 20px;
  }
  .map-inner {
    height: 260px;
  }
}
