.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #0a0a0a, so light text */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* 固定页头与主体间距 - 应用到第一个主要内容容器 */
.page-contact__hero-section {
    padding-top: var(--header-offset, 120px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    background-color: #0a0a0a; /* Ensure dark background for hero */
}

.page-contact__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    color: #ffffff;
}

.page-contact__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for title */
}

.page-contact__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-contact__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-contact__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background */
    filter: none; /* No filter for image color */
}

.page-contact__cta-button {
    display: inline-block;
    background-color: #26A9E0;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid transparent; /* For contrast and hover effect */
    box-sizing: border-box; /* Ensures padding doesn't increase total width */
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__cta-button:hover {
    background-color: #1e87b7; /* Darker shade of brand color */
    border-color: #ffffff;
}

.page-contact__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for section titles */
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0; /* Light text for dark backgrounds */
}

.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Info Section */
.page-contact__info-section {
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

.page-contact__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__info-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.page-contact__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-contact__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact__card-link {
    display: inline-block;
    background-color: #EA7C07; /* Login color for action */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__card-link:hover {
    background-color: #c46400; /* Darker shade */
    border-color: #ffffff;
}

/* Form Section */
.page-contact__form-section {
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text for light background */
}

.page-contact__form-section .page-contact__section-title {
    color: #000000; /* Dark title for light background */
}

.page-contact__form-section .page-contact__section-description {
    color: #333333; /* Dark description for light background */
}

.page-contact__contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__form-group {
    margin-bottom: 20px;
}

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333333;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    color: #333333;
    background-color: #ffffff;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #888;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #26A9E0;
    outline: none;
    box-shadow: 0 0 5px rgba(38, 169, 224, 0.5);
}

.page-contact__submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #26A9E0;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__submit-button:hover {
    background-color: #1e87b7;
}

/* FAQ Section */
.page-contact__faq-section {
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

.page-contact__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-contact__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #ffffff;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    transform: rotate(45deg);
}

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important; /* Sufficiently large for content */
    padding: 15px 25px;
}

.page-contact__faq-answer p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-contact__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
}

.page-contact__faq-answer a:hover {
    text-decoration: underline;
}

/* Why Choose Us Section */
.page-contact__why-choose-us-section {
    background-color: #ffffff; /* Light background */
    color: #333333;
}

.page-contact__why-choose-us-section .page-contact__section-title {
    color: #000000;
}

.page-contact__why-choose-us-section .page-contact__section-description {
    color: #333333;
}

.page-contact__commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__commitment-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-contact__item-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-contact__item-text {
    font-size: 1em;
    color: #555555;
}

/* Social Section */
.page-contact__social-section {
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

.page-contact__social-section .page-contact__section-title {
    color: #26A9E0;
}

.page-contact__social-section .page-contact__section-description {
    color: #f0f0f0;
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-contact__social-icon {
    display: block;
    width: 200px; /* Enforced min size */
    height: 200px; /* Enforced min size */
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__social-icon:hover {
    transform: translateY(-5px);
}

.page-contact__social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none; /* No filter for image color */
}

/* CTA Banner */
.page-contact__cta-banner {
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff; /* White text for brand color background */
    text-align: center;
    padding: 60px 20px;
}

.page-contact__banner-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-contact__banner-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.5em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__banner-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }
    .page-contact__hero-content {
        padding: 15px;
    }
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-description {
        font-size: 1em;
    }
    .page-contact__info-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__contact-form {
        padding: 20px;
    }
    .page-contact__faq-question {
        padding: 15px 20px;
    }
    .page-contact__faq-title {
        font-size: 1.1em;
    }
    .page-contact__faq-answer {
        padding: 0 20px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px 20px;
    }
    .page-contact__social-links {
        flex-direction: column;
        align-items: center;
    }
    .page-contact__social-icon {
        width: 250px; /* Larger for mobile to meet min size, and better tap target */
        height: 250px;
    }
    .page-contact__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* 移动端图片响应式适配强制要求 */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__hero-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* 移动端按钮响应式适配强制要求 */
    .page-contact__cta-button,
    .page-contact__card-link,
    .page-contact__submit-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    /* 按钮容器移动端适配 */
    .page-contact__cta-banner .page-contact__container,
    .page-contact__info-section .page-contact__container,
    .page-contact__form-section .page-contact__container,
    .page-contact__faq-section .page-contact__container,
    .page-contact__why-choose-us-section .page-contact__container,
    .page-contact__social-section .page-contact__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }
}

/* 确保内容区图片显示尺寸不小于 200px */
.page-contact img {
    min-width: 200px;
    min-height: 200px;
}

/* 颜色对比度保障 - 深色背景 */
.page-contact__dark-bg {
    background-color: #0a0a0a;
    color: #ffffff;
}

/* 颜色对比度保障 - 浅色背景 */
.page-contact__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* 品牌色背景 */
.page-contact__brand-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

/* 按钮颜色对比度保障 */
.page-contact__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid transparent;
}

.page-contact__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}