/* ===================== 联系我们页面样式 ===================== */

#contact > .container,
#route > .container {
  width: 75%;
  max-width: 75%;
}

.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: 32px; margin-bottom: 12px; }
@media (min-width:768px) { .section-head h2 { font-size: 40px; } }
.section-head p { color: var(--muted-foreground); }

/* ---------- 联系方式主体 ---------- */
#contact { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width:960px) {
  .contact-grid { grid-template-columns: 5fr 6fr; }
}

/* 左侧：联系信息面板 */
.info-panel {
  background: #050505;
  color: #fff;
  border-radius: 18px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.info-company { border-bottom: 1px solid rgba(255,255,255,0.14); padding-bottom: 26px; }
.info-logo {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.info-en { color: rgba(255,255,255,0.6); font-size: 14px; letter-spacing: 1px; }
.info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-icon svg { width: 20px; height: 20px; }
.info-label { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.info-value { font-size: 16px; color: #fff; line-height: 1.5; text-decoration: none; }
.info-value:hover { opacity: 0.85; }
.info-note {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.7;
}

/* 右侧：快速预约面板 */
.booking-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 44px 40px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.booking-kicker {
  font-size: 12px;
  letter-spacing: 3px;
  color: #999;
}
.booking-head h3 { font-size: 28px; margin: 8px 0 12px; }
.booking-head p { color: var(--muted-foreground); font-size: 14px; line-height: 1.7; margin-bottom: 28px; }
.booking-form { display: flex; flex-direction: column; gap: 20px; }
.field { position: relative; display: flex; flex-direction: column; gap: 8px; }
.field-label { font-size: 14px; font-weight: 500; color: #333; }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: #fafafa;
  color: #111;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #333;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-tip {
  position: absolute;
  right: 14px;
  top: 38px;
  font-style: normal;
  font-size: 12px;
  color: #aaa;
  pointer-events: none;
}
.submit-btn {
  margin-top: 6px;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 16px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-base);
}
.submit-btn:hover { background: #2b2b2b; transform: translateY(-1px); }
.submit-btn.succeed { background: #1e7d46; }
.phone-hotline {
  text-align: center;
  font-size: 14px;
  color: var(--muted-foreground);
}
.phone-hotline a { color: #111; font-weight: 600; text-decoration: none; }
.phone-hotline a:hover { text-decoration: underline; }

/* ---------- 到访路线 ---------- */
#route { padding: 80px 0; background: #f7f7f7; }
.route-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width:768px) { .route-grid { grid-template-columns: repeat(3, 1fr); } }
.route-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  gap: 18px;
  transition: transform var(--transition-long), box-shadow var(--transition-long);
}
.route-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}
.route-step {
  font-size: 26px;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  color: #ccc;
  line-height: 1;
}
.route-body h4 { font-size: 18px; margin-bottom: 8px; }
.route-body p { font-size: 14px; color: #666; line-height: 1.7; }


/* ===== 快速预约表单：验证码 ===== */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.captcha-input {
  flex: 1;
  min-width: 0;
}
.captcha-img {
  width: 110px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  cursor: pointer;
  object-fit: cover;
}

/* ===== 提交结果弹窗 ===== */
.dm-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.dm-modal.is-open { display: flex; }
.dm-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
.dm-modal-card {
  position: relative;
  width: min(340px, calc(100vw - 48px));
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px 28px;
  text-align: center;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  animation: dmPop .25s ease-out;
}
@keyframes dmPop {
  from { transform: scale(.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.dm-modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.dm-modal-icon.is-ok { background: #16a34a; }
.dm-modal-icon.is-err { background: #dc2626; }
.dm-modal-title { font-size: 18px; font-weight: 600; color: #1a1a1a; }
.dm-modal-text { margin-top: 8px; font-size: 14px; color: #666; line-height: 1.6; }
.dm-modal-btn {
  margin-top: 22px;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: #0f4c9e;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: opacity .2s;
}
.dm-modal-btn:hover { opacity: .88; }
