/* Base Styles & Typography */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
    background: #140C0C; /* Background */
}

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

.page-contact__main-title {
    font-size: 48px;
    font-weight: 700;
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-contact__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-contact__intro-text,
.page-contact__section-description,
.page-contact__card-text {
    font-size: 18px;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 25px auto;
    color: #FFF1E8;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #140C0C; /* Dark text for bright button */
    border: none;
}

.page-contact__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-contact__btn-secondary {
    background: #2A1212; /* Card BG */
    color: #F3C54D; /* Gold */
    border: 2px solid #6A1E1E; /* Border */
}

.page-contact__btn-secondary:hover {
    background: #3a1a1a;
    color: #FFB04A;
    transform: translateY(-2px);
}

.page-contact__btn-large {
    padding: 18px 40px;
    font-size: 20px;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 550px;
    text-align: center;
}

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

.page-contact__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-contact__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 900px;
    background: rgba(20, 12, 12, 0.7); /* Background with transparency */
    border-radius: 10px;
    margin-top: 80px; /* Push content down to avoid overlapping image */
}

.page-contact__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Info Section & Contact Methods */
.page-contact__info-section {
    padding: 60px 0;
    background: #140C0C;
}

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

.page-contact__card {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.page-contact__card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    object-fit: cover;
}

.page-contact__card-title {
    font-size: 24px;
    font-weight: 600;
    color: #FFB04A; /* Brighter gold for titles */
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-contact__method-card .page-contact__btn-primary {
    margin-top: auto;
    width: 80%;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    background: #140C0C;
}

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

details.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #6A1E1E; /* Border */
    overflow: hidden;
    background: #2A1212; /* Card BG */
    color: #FFF1E8;
}

details.page-contact__faq-item summary.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
    display: none;
}

details.page-contact__faq-item summary.page-contact__faq-question:hover {
    background: #3a1a1a;
}

.page-contact__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #F3C54D; /* Gold */
}

.page-contact__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #FFB04A; /* Brighter gold */
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 25px 25px;
    background: #1e0e0e; /* Slightly lighter than background */
    border-radius: 0 0 8px 8px;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
}

/* Why Us Section */
.page-contact__why-us-section {
    padding: 60px 0;
    background: #140C0C;
}

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

.page-contact__benefit-card {
    padding: 25px;
}

.page-contact__benefit-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 20px auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* Address Section */
.page-contact__address-section {
    padding: 60px 0;
    background: #140C0C;
}

.page-contact__address-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.page-contact__address-content p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-contact__map-placeholder {
    width: 100%;
    max-width: 800px;
    height: 450px;
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-contact__map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Final CTA Section */
.page-contact__final-cta-section {
    padding: 60px 0 80px 0;
    background: #140C0C;
    text-align: center;
}

.page-contact__final-cta-section .page-contact__btn-large {
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: 42px;
    }

    .page-contact__section-title {
        font-size: 32px;
    }

    .page-contact__intro-text,
    .page-contact__section-description,
    .page-contact__card-text {
        font-size: 17px;
    }

    .page-contact__hero-content {
        padding: 30px 15px;
        margin-top: 60px;
    }

    .page-contact__contact-methods-grid,
    .page-contact__benefits-grid {
        gap: 20px;
    }

    .page-contact__card {
        padding: 20px;
    }

    .page-contact__card-title {
        font-size: 22px;
    }

    .page-contact__faq-qtext {
        font-size: 17px;
    }

    .page-contact__faq-answer p {
        font-size: 15px;
    }

    .page-contact__map-placeholder {
        height: 400px;
    }
}

@media (max-width: 849px) {
    .page-contact__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-contact__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* HERO 主图区域 */
    .page-contact__hero-section {
        min-height: 450px;
        padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
    }

    .page-contact__hero-content {
        padding: 20px 15px;
        margin-top: 40px;
        max-width: calc(100% - 30px);
    }

    .page-contact__main-title {
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 15px;
    }

    .page-contact__intro-text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 产品展示图区域 - Not applicable for contact page, but general grid rules */
    .page-contact__contact-methods-grid,
    .page-contact__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-contact__card {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__card img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-contact__card-title {
        font-size: 20px;
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-contact__section-title {
        font-size: clamp(24px, 7vw, 30px);
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-contact__section-description {
        font-size: 16px;
        margin-bottom: 20px;
        text-align: left;
    }

    .page-contact__faq-qtext {
        font-size: 16px;
    }

    .page-contact__faq-toggle {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }

    details.page-contact__faq-item summary.page-contact__faq-question {
        padding: 15px;
    }

    details.page-contact__faq-item .page-contact__faq-answer {
        padding: 0 15px 15px;
    }

    .page-contact__faq-answer p {
        font-size: 15px;
    }

    /* 通用图片与容器 */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-contact__section,
    .page-contact__card,
    .page-contact__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__map-placeholder {
        height: 300px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__address-content {
        gap: 20px;
    }

    .page-contact__final-cta-section .page-contact__btn-large {
        width: 100%;
        max-width: 100%;
        font-size: 18px;
        padding: 15px 20px;
    }
}