/* =========================================
   contact.css (V2.0 1600px 宽屏剧场版)
   专注：极致呼吸感、宽幅表单、电影感找路指引
   ========================================= */
:root {
  --brand-blue: #0f3b82;
  --apple-bg: #f5f5f7;
  --apple-card: #ffffff;
  --apple-text: #1d1d1f;
  --apple-muted: #86868b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  --max: 1600px; 
}

.contact-page { background: var(--apple-bg); padding-bottom: 100px; }
.contact-shell { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* 1. 英雄剧场区 */
.contact-hero { padding: 120px 0 60px; text-align: center; }
.hero-block {
  background: #fff;
  border-radius: 60px;
  padding: 100px 80px;
  box-shadow: var(--shadow);
}

.hero-block h1 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 30px;
  letter-spacing: -0.04em;
}

.hero-block p {
  font-size: 20px;
  line-height: 1.8;
  color: var(--apple-muted);
  max-width: 800px;
  margin: 0 auto;
}

/* 2. 表单核心卡片 */
.form-section { padding: 60px 0; }
.contact-form-card {
  background: #fff;
  border-radius: 48px;
  padding: 80px;
  box-shadow: var(--shadow);
}

.form-head { margin-bottom: 50px; text-align: left; }
.form-head h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }

.real-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 宽屏下双列并行 */
  gap: 32px;
}

.real-form-item-full { grid-column: span 2; }

.real-form-item label {
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--apple-text);
}

.real-form-item input, 
.real-form-item textarea {
  width: 100%;
  border: 1.5px solid #eee;
  border-radius: 20px;
  background: #fbfbfd;
  padding: 18px 24px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.real-form-item input:focus, 
.real-form-item textarea:focus {
  border-color: var(--brand-blue);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(15, 59, 130, 0.08);
}

/* 3. 实景找路：16:9 电影感网格 */
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 50px;
}

.route-card {
  background: #fff;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.route-photo {
  width: 100%;
  aspect-ratio: 16 / 9; /* 强制电影比例 */
  background: #eee;
}

.route-photo img { width: 100%; height: 100%; object-fit: cover; }

.route-info { padding: 32px; }
.route-info h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.route-info p { color: var(--apple-muted); font-size: 15px; line-height: 1.7; }

/* 响应式适配 */
@media (max-width: 1100px) {
  .real-form-grid, .route-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 40px 24px; }
  .hero-block { padding: 60px 30px; }
}
/* contact.css 补充或修改 */
.contact-hero .hero-block {
  background: #0f3b82 !important; /* 强制改为深蓝 */
  color: #ffffff !important;
  box-shadow: 0 40px 100px rgba(15, 59, 130, 0.15) !important;
}

.contact-hero h1 {
  color: #ffffff !important;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* 联系页咨询分流按钮 */
.contact-entry-switch{
  display:flex;
  gap:14px;
  justify-content:center;
  margin:10px 0 34px;
  flex-wrap:wrap;
}

.contact-entry-switch__btn{
  min-height:56px;
  padding:0 28px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:16px;
  font-weight:700;
  border:1.5px solid #dbe3ef;
  background:#fff;
  color:#0f3b82;
  box-shadow:0 10px 30px rgba(15,59,130,.06);
}

.contact-entry-switch__btn.is-active{
  background:#0f3b82;
  color:#fff;
  border-color:#0f3b82;
}

@media (max-width: 768px){
  .contact-entry-switch{
    margin:0 0 24px;
    gap:10px;
  }

  .contact-entry-switch__btn{
    width:100%;
    min-height:52px;
    font-size:15px;
  }
}
