/* ===== 联系信息卡片 ===== */
.xytzg_contact_card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    border: 1px solid var(--light-gray);
    transition: all 0.3s;
}
.xytzg_contact_card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.xytzg_contact_icon {
    width: 56px;
    height: 56px;
    background: var(--cream);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
    transition: all 0.3s;
}
.xytzg_contact_card:hover .xytzg_contact_icon {
    background: var(--primary);
    color: #fff;
}
.xytzg_contact_card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.xytzg_contact_card .xytzg_contact_phone {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}
.xytzg_contact_card .xytzg_contact_phone small {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray);
}
.xytzg_contact_card p {
    font-size: 15px;
    color: var(--dark);
    margin: 0;
    line-height: 1.6;
}
.xytzg_contact_card .xytzg_contact_note {
    font-size: 13px;
    color: var(--gray);
    margin-top: 6px;
}

/* ===== 联系方式区布局 ===== */
.xytzg_contact_info_wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== 留言表单区域 ===== */
.xytzg_contact_form_wrap {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--light-gray);
}
.xytzg_contact_form_wrap h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}
.xytzg_contact_form_wrap > p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 28px;
}
.xytzg_form_control.error {
    border-color: #dc3545;
}
.xytzg_submit_btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.25s;
}
.xytzg_submit_btn:hover {
    background: var(--primary-dark);
}
.xytzg_submit_btn i {
    margin-right: 6px;
}

/* ===== 地图区域 ===== */
.xytzg_map_wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}
.xytzg_map_canvas {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e8e0d8 0%, #d5ccc4 100%);
    position: relative;
}
.xytzg_map_grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.xytzg_map_marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}
.xytzg_map_marker .xytzg_map_pin {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    box-shadow: 0 4px 20px rgba(232,115,74,0.4);
    animation: xytzg_pinBounce 1.5s ease-in-out infinite;
}
.xytzg_map_marker .xytzg_map_pin i {
    transform: rotate(45deg);
    color: #fff;
    font-size: 22px;
}
.xytzg_map_marker .xytzg_map_label {
    background: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    white-space: nowrap;
}
.xytzg_map_marker .xytzg_map_label i {
    color: var(--primary);
    margin-right: 4px;
}
.xytzg_map_road {
    position: absolute;
    background: rgba(255,255,255,0.35);
}
.xytzg_map_road_h {
    left: 0; right: 0; height: 4px;
}
.xytzg_map_road_v {
    top: 0; bottom: 0; width: 4px;
}
.xytzg_map_road_1 { top: 30%; }
.xytzg_map_road_2 { top: 65%; }
.xytzg_map_road_3 { left: 25%; }
.xytzg_map_road_4 { left: 70%; }
.xytzg_map_road_5 { top: 48%; left: 48%; width: 4%; height: 4px; }
.xytzg_map_road_6 { top: 48%; left: 48%; width: 4px; height: 4%; }

@keyframes xytzg_pinBounce {
    0%, 100% { transform: rotate(-45deg) translateY(0); }
    50% { transform: rotate(-45deg) translateY(-8px); }
}
.xytzg_map_ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid rgba(232,115,74,0.15);
    animation: xytzg_ringPulse 2s ease-out infinite;
    z-index: 1;
    pointer-events: none;
}
.xytzg_map_ring:nth-child(2) {
    animation-delay: 0.7s;
}
.xytzg_map_ring:nth-child(3) {
    animation-delay: 1.4s;
}
@keyframes xytzg_ringPulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}
.xytzg_map_building {
    position: absolute;
    background: rgba(255,255,255,0.25);
    border-radius: 3px;
}
.xytzg_map_building_1 { top: 20%; left: 15%; width: 80px; height: 60px; }
.xytzg_map_building_2 { top: 15%; right: 20%; width: 100px; height: 80px; }
.xytzg_map_building_3 { bottom: 25%; left: 30%; width: 70px; height: 50px; }
.xytzg_map_building_4 { bottom: 20%; right: 15%; width: 90px; height: 70px; }
.xytzg_map_building_5 { top: 35%; right: 5%; width: 60px; height: 45px; }
.xytzg_map_building_6 { bottom: 35%; left: 5%; width: 75px; height: 55px; }

/* ===== FAQ区域 ===== */
.xytzg_faq_section {
    background: var(--cream);
}
.xytzg_faq_item {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 12px;
    border: 1px solid var(--light-gray);
    overflow: hidden;
    transition: all 0.3s;
}
.xytzg_faq_item:hover {
    border-color: var(--primary-light);
}
.xytzg_faq_question {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    user-select: none;
    transition: all 0.25s;
}
.xytzg_faq_question:hover {
    color: var(--primary);
}
.xytzg_faq_question .xytzg_faq_q {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.xytzg_faq_question .xytzg_faq_q em {
    font-style: normal;
    color: var(--primary);
    font-weight: 700;
}
.xytzg_faq_question .xytzg_faq_icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--primary);
    transition: all 0.3s;
    flex-shrink: 0;
}
.xytzg_faq_item.active .xytzg_faq_icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(45deg);
}
.xytzg_faq_answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
    padding: 0 24px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.8;
}
.xytzg_faq_item.active .xytzg_faq_answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

/* ===== 响应式 ===== */
@media (max-width: 991px) {
    .xytzg_contact_card .xytzg_contact_phone { font-size: 24px; }
    .xytzg_contact_form_wrap { padding: 30px; }
}
@media (max-width: 767px) {
    .xytzg_contact_form_wrap { padding: 24px; }
    .xytzg_map_canvas { height: 300px; }
    .xytzg_contact_card { margin-bottom: 20px; }
}
