/* 联系我们页 —— 由 Contact.vue 的 scoped SCSS 展开而来
 * 页签切换使用隐藏 radio + :checked 兄弟选择器实现，无需额外 JS。
 */

.contact-page {
    padding-top: 0; /* 原版 .page padding-top:100，由导航占位 + main 9px 间隙等效 */
}

.contact-page .contact_us {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.contact-page .contact_us_title {
    text-align: center;
    font-size: 28px;
    color: #333;
    font-weight: bold;
}

.contact-page .contact_us_line {
    width: 48px;
    height: 2px;
    background: var(--gold-500);
    margin: 20px auto;
}

.contact-page .contact_us_english {
    text-align: center;
    color: #999;
    font-size: 14px;
    letter-spacing: 0.24em;
    margin-bottom: 40px;
}

.contact-page .contact-tab-input {
    display: none;
}

.contact-page .contact_us_capsule {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-page .contact_us_capsule > label {
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    background: #fff;
    border: 1px solid var(--line);
    color: #333;
}

.contact-page .contact_us_capsule > label:hover {
    background: var(--navy-100);
}

.contact-page #contact-tab-1:checked ~ .contact_us_capsule label[for="contact-tab-1"],
.contact-page #contact-tab-2:checked ~ .contact_us_capsule label[for="contact-tab-2"],
.contact-page #contact-tab-3:checked ~ .contact_us_capsule label[for="contact-tab-3"] {
    background: var(--navy-600);
    border-color: var(--navy-600);
    color: #fff;
}

.contact-page .contact_us_details > div {
    display: none;
}

.contact-page #contact-tab-1:checked ~ .contact_us_details .details_bg_one,
.contact-page #contact-tab-2:checked ~ .contact_us_details .details_bg_two,
.contact-page #contact-tab-3:checked ~ .contact_us_details .details_bg_three {
    display: block;
}

.contact-page .contact_us_details_top {
    margin-bottom: 30px;
}

.contact-page .contact_us_details_top img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0;
}

.contact-page .contact_us_details_foot {
    display: flex;
    gap: 60px;
}

.contact-page .contact_us_details_foot h3 {
    font-size: 20px;
    color: var(--gold-600);
    margin-bottom: 20px;
}

.contact-page .contact_us_details_foot p,
.contact-page .contact_us_details_foot span {
    font-size: 15px;
    color: #555;
    line-height: 2;
}

.contact-page .contact_us_details_foot .last {
    margin-top: 10px;
    display: block;
}

.contact-page .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    width: 100%;
}

.contact-page .partners-grid .partner-item {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.3s;
}

.contact-page .partners-grid .partner-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-page .partners-grid .partner-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .contact-page {
        padding-top: 70px;
    }

    .contact-page .contact_us {
        padding: 30px 15px;
    }

    .contact-page .contact_us_title {
        font-size: 24px;
    }

    .contact-page .contact_us_capsule {
        flex-wrap: wrap;
        gap: 10px;
    }

    .contact-page .contact_us_capsule > label {
        padding: 10px 20px;
        font-size: 14px;
    }

    .contact-page .contact_us_details_top img {
        height: 200px;
    }

    .contact-page .contact_us_details_foot {
        flex-direction: column;
        gap: 30px;
    }

    .contact-page .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .contact-page .partners-grid .partner-item {
        padding: 15px;
        min-height: 100px;
    }

    .contact-page .partners-grid .partner-item img {
        max-height: 60px;
    }
}
