/* =============================================
   contact.css - 联系我们页面专属样式
   前缀: ct-
   配色: 深森林绿 #1a4d3a / 品牌翠绿 #85ce03
   ============================================= */

/* ===== Hero Banner ===== */
.ct-hero { position: relative; padding: 160px 0 80px; background: linear-gradient(135deg, #0d3323 0%, #1a4d3a 50%, #2d6b4f 100%); overflow: hidden; text-align: center; }
.ct-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(133,206,3,.18) 0%, transparent 50%), radial-gradient(ellipse at 70% 80%, rgba(45,107,79,.35) 0%, transparent 50%); }
.ct-hero-image { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; z-index: 0; }
.ct-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,51,35,.82) 0%, rgba(26,77,58,.78) 100%); z-index: 1; }
.ct-hero-inner { position: relative; z-index: 2; color: #fff; }
.ct-hero-title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; margin: 0 0 14px; letter-spacing: 1px; }
.ct-hero-desc { font-size: 1.05rem; color: rgba(255,255,255,.82); max-width: 720px; margin: 0 auto; line-height: 1.7; }

/* ===== Section 基础 ===== */
.ct-section { padding: 90px 0; }
.ct-section-alt { background: #f7faf7; }
.ct-section-header { text-align: center; margin-bottom: 56px; }
.ct-title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: #0f172a; margin: 0 0 14px; line-height: 1.3; }
.ct-title-accent { display: block; font-size: .8rem; font-weight: 600; color: #2d6b4f; letter-spacing: 3px; margin-top: 8px; }
.ct-desc { font-size: 1rem; color: #333333; margin: 0 auto; max-width: 760px; line-height: 1.8; }

/* ===== 欢迎话术 ===== */
.ct-welcome-section { padding: 70px 0; background: linear-gradient(135deg, #f0f7ee 0%, #f7faf7 100%); }
.ct-welcome-inner { max-width: 960px; margin: 0 auto; text-align: center; background: #fff; padding: 50px 56px; border-radius: 18px; border-top: 4px solid #85ce03; box-shadow: 0 10px 40px rgba(26,77,58,.1); }
.ct-welcome-title { font-size: 1.6rem; font-weight: 700; color: #0f172a; margin: 0 0 20px; }
.ct-welcome-text { font-size: 1.02rem; color: #333333; line-height: 2; margin: 0; }

/* ===== 联系信息卡片 ===== */
.ct-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ct-info-card { display: flex; align-items: flex-start; gap: 20px; background: #fff; border: 1px solid #e5efe5; border-radius: 16px; padding: 32px 28px; transition: all .4s cubic-bezier(.4,0,.2,1); box-shadow: 0 4px 16px rgba(26,77,58,.05); }
.ct-info-card:hover { transform: translateY(-4px); box-shadow: 0 14px 38px rgba(26,77,58,.12); border-color: #85ce03; }
.ct-info-icon { flex-shrink: 0; width: 54px; height: 54px; background: linear-gradient(135deg, #f0f7ee, #e5efe5); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #1a4d3a; }
.ct-info-icon svg { width: 24px; height: 24px; }
.ct-info-body { flex: 1; min-width: 0; }
.ct-info-label { font-size: .82rem; font-weight: 600; color: #2d6b4f; margin: 0 0 8px; letter-spacing: 1px; }
.ct-info-value { display: block; font-size: 1.25rem; font-weight: 700; color: #1a4d3a; text-decoration: none; margin-bottom: 6px; word-break: break-all; transition: color .3s; }
.ct-info-value:hover { color: #85ce03; }
.ct-info-value-text { color: #0f172a; }
.ct-info-extra { font-size: .85rem; color: #333333; margin: 0; }

/* ===== GEO服务范围 ===== */
.ct-geo-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 28px; }
.ct-geo-tag { display: inline-block; padding: 12px 26px; background: #fff; border: 1px solid #d4e5d4; border-radius: 50px; color: #1a4d3a; text-decoration: none; font-size: .95rem; font-weight: 600; transition: all .3s; box-shadow: 0 2px 10px rgba(26,77,58,.04); }
.ct-geo-tag:hover { background: linear-gradient(135deg, #1a4d3a, #2d6b4f); color: #fff; border-color: #1a4d3a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26,77,58,.25); }
.ct-geo-note { text-align: center; font-size: .95rem; color: #333333; line-height: 1.8; max-width: 800px; margin: 0 auto; }

/* ===== 在线预约表单 ===== */
.ct-form-wrap { max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid #e5efe5; border-radius: 18px; padding: 48px 52px; box-shadow: 0 10px 40px rgba(26,77,58,.08); }
.ct-form { display: flex; flex-direction: column; gap: 22px; }
.ct-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ct-form-field { display: flex; flex-direction: column; gap: 8px; }
.ct-form-field label { font-size: .92rem; font-weight: 600; color: #0f172a; }
.ct-req { color: #d33; font-weight: 700; }
.ct-form-field input, .ct-form-field select, .ct-form-field textarea { width: 100%; padding: 12px 16px; border: 1px solid #d4e5d4; border-radius: 10px; font-size: .95rem; color: #0f172a; background: #fafdf9; font-family: inherit; transition: all .3s; box-sizing: border-box; }
.ct-form-field input::placeholder, .ct-form-field textarea::placeholder { color: #94a3b8; }
.ct-form-field input:focus, .ct-form-field select:focus, .ct-form-field textarea:focus { outline: none; border-color: #85ce03; background: #fff; box-shadow: 0 0 0 4px rgba(133,206,3,.12); }
.ct-form-field textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.ct-captcha-row { display: flex; gap: 10px; align-items: stretch; }
.ct-captcha-row input { flex: 1; min-width: 0; }
.ct-captcha-img { width: 130px; height: 46px; border: 1px solid #d4e5d4; border-radius: 10px; cursor: pointer; object-fit: cover; flex-shrink: 0; }
.ct-form-actions { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.ct-submit-btn { flex: 1; min-width: 200px; padding: 14px 32px; background: linear-gradient(135deg, #1a4d3a 0%, #2d6b4f 100%); color: #fff; border: none; border-radius: 50px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all .3s; box-shadow: 0 8px 22px rgba(26,77,58,.28); font-family: inherit; }
.ct-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(26,77,58,.42); }
.ct-call-btn { flex: 0 0 auto; padding: 14px 32px; background: #fff; color: #1a4d3a; border: 2px solid #1a4d3a; border-radius: 50px; font-size: 1rem; font-weight: 600; text-decoration: none; transition: all .3s; display: inline-flex; align-items: center; }
.ct-call-btn:hover { background: #1a4d3a; color: #fff; transform: translateY(-2px); }
.ct-form-msg { padding: 12px 18px; border-radius: 10px; font-size: .92rem; line-height: 1.6; display: none; }
.ct-form-msg.show { display: block; }
.ct-form-msg.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.ct-form-msg.success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* ===== 服务承诺 ===== */
.ct-promise-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.ct-promise-card { background: #fff; border: 1px solid #e5efe5; border-radius: 16px; padding: 32px 22px; text-align: center; transition: all .4s; box-shadow: 0 4px 16px rgba(26,77,58,.05); }
.ct-promise-card:hover { transform: translateY(-6px); border-color: #85ce03; box-shadow: 0 14px 36px rgba(133,206,3,.18); }
.ct-promise-icon { width: 56px; height: 56px; margin: 0 auto 18px; background: linear-gradient(135deg, #f0f7ee, #e5efe5); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #1a4d3a; transition: all .4s; }
.ct-promise-card:hover .ct-promise-icon { background: linear-gradient(135deg, #1a4d3a, #2d6b4f); color: #c7e98a; transform: scale(1.05); }
.ct-promise-icon svg { width: 26px; height: 26px; }
.ct-promise-title { font-size: 1.05rem; font-weight: 700; color: #0f172a; margin: 0 0 10px; }
.ct-promise-text { font-size: .88rem; color: #333333; line-height: 1.7; margin: 0; }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .ct-info-grid { grid-template-columns: 1fr; }
  .ct-promise-grid { grid-template-columns: repeat(3, 1fr); }
  .ct-welcome-inner { padding: 40px 32px; }
  .ct-form-wrap { padding: 36px 32px; }
}
@media (max-width: 768px) {
  .ct-hero { padding: 110px 0 60px; }
  .ct-section { padding: 60px 0; }
  .ct-section-header { margin-bottom: 36px; }
  .ct-welcome-inner { padding: 30px 22px; }
  .ct-welcome-title { font-size: 1.3rem; }
  .ct-form-row { grid-template-columns: 1fr; gap: 18px; }
  .ct-form-wrap { padding: 28px 22px; }
  .ct-form-actions { flex-direction: column; }
  .ct-submit-btn, .ct-call-btn { width: 100%; justify-content: center; }
  .ct-promise-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ct-promise-card { padding: 24px 16px; }
}
@media (max-width: 480px) {
  .ct-promise-grid { grid-template-columns: 1fr; }
  .ct-geo-tag { padding: 10px 18px; font-size: .88rem; }
}
