/* =========================================
   Contact Us Page
   ========================================= */

 /* --- 1. Hero Section (视差效果) --- */
 .contact-hero {
     position: relative;
     height: 60vh;
     min-height: 400px;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-top: -80px;
     /* 抵消导航栏高度 */
     padding-top: 80px;
     overflow: hidden;
 }

 .hero-bg {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-size: cover;
     background-position: center;
     background-attachment: fixed;
     /* 视差效果 */
     z-index: 0;
 }

 .hero-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
     z-index: 1;
 }

 .hero-content {
     position: relative;
     z-index: 2;
     text-align: center;
     color: #fff;
     max-width: 800px;
 }

 .hero-content h1 {
     font-size: 4rem;
     font-weight: 700;
     margin-bottom: 20px;
     letter-spacing: 1px;
     text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
 }

 .hero-content p {
     font-size: 1.3rem;
     font-weight: 300;
     line-height: 1.6;
     opacity: 0.9;
 }

 /* =========================================
   2. Content Layout (核心布局)
   ========================================= */
 .section-container {
     padding: 100px 0;
 }

 .bg-pattern {
     background-color: #f9f9f9;
     background-image: radial-gradient(#ddd 1px, transparent 1px);
     background-size: 20px 20px;
 }

 /* --- 布局容器：大间距 + 垂直居中 --- */
 .contact-wrapper {
     display: grid;
     /* 左侧占 45%，右侧占 55% */
     grid-template-columns: 0.9fr 1.1fr;
     /* 关键：拉开 140px 间距，显得大器 */
     gap: 140px;
     /* 关键：垂直方向居中对齐 */
     align-items: center;
 }

 /* =========================================
   3. Left Side: Inquiry Card (左侧卡片)
   ========================================= */
 .contact-card {
     background: #fff;
     padding: 50px 40px;
     border-radius: 12px;
     box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
     text-align: center;
     border-top: 5px solid var(--primary-color, #800810);
     transition: transform 0.3s ease;
 }

 .contact-card:hover {
     transform: translateY(-5px);
 }

 /* 左侧卡片大图标 */
 .contact-card-icon {
     width: 80px;
     height: 80px;
     min-width: 80px;
     /* 锁死形状 */
     min-height: 80px;
     flex-shrink: 0;

     background: rgba(128, 8, 16, 0.1);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 30px;

     color: var(--primary-color, #800810);
     font-size: 2rem;
 }

 .contact-card h3 {
     font-size: 2rem;
     margin-bottom: 20px;
     color: #222;
 }

 .contact-card p {
     color: #666;
     margin-bottom: 35px;
     line-height: 1.7;
     font-size: 1.05rem;
 }

 .btn-primary-red {
     display: inline-block;
     background-color: var(--primary-color, #800810);
     color: #fff;
     padding: 16px 38px;
     border-radius: 6px;
     text-decoration: none;
     font-weight: 600;
     transition: all 0.3s;
     box-shadow: 0 4px 15px rgba(128, 8, 16, 0.3);
 }

 .btn-primary-red:hover {
     background-color: #5a050b;
     transform: translateY(-2px);
 }

 /* =========================================
   4. Right Side: Info List (右侧列表) - 已修复
   ========================================= */
 .info-header {
     margin-bottom: 40px;
 }

 .info-header h2 {
     font-size: 2.8rem;
     font-weight: 800;
     margin-bottom: 20px;
     color: #800810;
     letter-spacing: -1px;
 }

 /* 每一行：确保垂直居中 */
 .info-row {
     display: flex;
     align-items: center;
     /* 关键：垂直居中 */
     margin-bottom: 45px;
     transition: transform 0.3s ease;
 }

 .info-row:hover {
     transform: translateX(10px);
     /* 悬停微动 */
 }

 /* ★★★ 核心修复：对应 HTML 中的 class="contact-icon-box" ★★★ */
 .contact-icon-box {
     width: 60px;
     height: 60px;
     min-width: 60px;
     /* 锁死宽度，防止变椭圆 */
     min-height: 60px;
     flex-shrink: 0;
     /* 禁止压缩 */

     /* 恢复淡红色圆圈背景 */
     background: rgba(128, 8, 16, 0.08);
     border-radius: 50%;

     display: flex;
     align-items: center;
     justify-content: center;

     margin-right: 25px;
     /* 图标与文字间距 */
     font-size: 1.4rem;
     color: var(--primary-color, #800810);
     transition: all 0.3s ease;
 }

 /* 悬停效果 */
 .info-row:hover .contact-icon-box {
     background: var(--primary-color, #800810);
     color: #fff;
     transform: scale(1.1);
 }

 /* ★★★ 核心修复：对应 HTML 中的 class="contact-text-box" ★★★ */
 .contact-text-box h4 {
     font-size: 1.3rem;
     font-weight: 700;
     margin: 0 0 6px 0;
     color: #222;
 }

 .contact-text-box p {
     margin: 0;
     font-size: 1.15rem;
     color: #555;
     line-height: 1.5;
 }

 .contact-text-box a {
     color: #555;
     text-decoration: none;
     transition: color 0.3s;
 }

 .contact-text-box a:hover {
     color: var(--primary-color, #800810);
 }

 .sub-note {
     display: block;
     font-size: 0.9rem;
     color: #888;
     margin-top: 6px;
 }

 .text-link {
     display: inline-block;
     margin-top: 8px;
     color: var(--primary-color, #800810) !important;
     font-weight: 600;
     font-size: 1rem;
     text-decoration: underline !important;
 }

 /* =========================================
   5. CTA Section (底部红底区域)
   ========================================= */
 .bg-brand-red {
     background-color: var(--primary-color, #800810);
     padding: 100px 0;
 }

 .text-white {
     color: #fff;
 }

 .text-white-opacity {
     color: rgba(255, 255, 255, 0.85);
     font-size: 1.3rem;
     margin-bottom: 50px;
 }

 .cta-buttons {
     display: flex;
     justify-content: center;
     gap: 30px;
     align-items: center;
 }

 .btn-outline-white {
     padding: 16px 45px;
     border: 2px solid #fff;
     color: #fff;
     font-weight: 600;
     text-decoration: none;
     text-transform: uppercase;
     transition: all 0.3s;
 }

 .btn-outline-white:hover {
     background: #fff;
     color: var(--primary-color, #800810);
 }

 .btn-text-white {
     color: #fff;
     text-decoration: none;
     font-weight: 600;
     transition: opacity 0.3s;
     font-size: 1.1rem;
 }

 .btn-text-white:hover {
     opacity: 0.8;
     margin-left: 5px;
 }

 /* =========================================
   6. Animations (滚动入场动画)
   ========================================= */
 .rs-anim {
     opacity: 0;
     transition: all 0.8s ease-out;
 }

 .rs-fade-up {
     transform: translateY(40px);
 }

 .rs-slide-right {
     transform: translateX(-40px);
 }

 .rs-slide-left {
     transform: translateX(40px);
 }

 .rs-zoom-in {
     transform: scale(0.9);
 }

 .rs-anim.is-visible {
     opacity: 1;
     transform: translate(0, 0) scale(1);
 }

 .rs-delay-1 {
     transition-delay: 0.2s;
 }

 .rs-delay-2 {
     transition-delay: 0.4s;
 }

 /* =========================================
   7. Responsive Design (移动端适配)
   ========================================= */
 @media (max-width: 1200px) {
     .contact-wrapper {
         gap: 80px;
         /* 中等屏幕缩小间距 */
     }
 }

 @media (max-width: 992px) {

     /* 修复背景模糊：取消视差固定 */
     .hero-bg {
         background-attachment: scroll !important;
         background-position: center center !important;
         background-size: cover !important;
         filter: brightness(0.8);
     }

     .contact-hero {
         height: 50vh;
     }

     .hero-content h1 {
         font-size: 2.8rem;
     }

     .contact-wrapper {
         grid-template-columns: 1fr;
         /* 变单列 */
         gap: 60px;
     }

     .contact-card {
         padding: 40px 30px;
         order: 2;
         /* 手机端表单在下 */
     }

     .contact-info-list {
         order: 1;
         /* 手机端信息在上 */
         text-align: center;
     }

     .info-row {
         flex-direction: column;
         /* 图标在文字上方 */
         justify-content: center;
     }

     .contact-icon-box {
         margin-right: 0;
         margin-bottom: 15px;
     }

     .cta-buttons {
         flex-direction: column;
     }
 }