/* 联系页：联系方式与询盘表单 */
.siteHeader {
    background: rgba(24, 27, 31, 0.88);
    backdrop-filter: blur(12px);
}

.contactPage {
    background: #f7f8f9;
}

.contactHeroSection {
    padding: 132px 0 26px;
    background: linear-gradient(180deg, #f7f8f9 0%, #f4f6f7 100%);
}

.contactHeroHead {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.contactHeroBadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 16px;
    color: var(--color-blue);
    background: #eef2f5;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.contactHeroTitle {
    margin-top: 18px;
    margin-bottom: 14px;
    font-size: 36px;
    line-height: 1.28;
    text-align: center;
}

.contactHeroDesc {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.contactMainSection {
    padding: 30px 0 82px;
}

.contactFlow {
    display: grid;
    gap: 34px;
}

.contactBlock {
    min-width: 0;
}

.contactFormSection {
    padding: 34px 36px;
    background: #ffffff;
    border: 1px solid #e8edf0;
    border-radius: 8px;
}

.contactSectionHead {
    margin-bottom: 28px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.contactSectionTitle {
    font-size: 36px;
    line-height: 1.28;
    text-align: center;
}

.contactSectionHead .sectionSubText {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contactInfoList {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contactInfoCard {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 20px;
    background: #fafbfb;
    border: 1px solid #edf1f3;
    border-radius: 8px;
    min-height: 108px;
}

.contactInfoIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: var(--color-charcoal);
    background: var(--color-paper);
    border-radius: 8px;
    font-size: 18px;
}

.contactCardChannel {
    position: relative;
    display: inline-flex;
}

.contactCardChannel .contactQrPanel {
    bottom: calc(100% + 16px);
    z-index: 12;
}

.contactInfoTitle,
.contactInfoValue,
.contactInfoDesc,
.contactNoteTitle,
.contactNoteItem,
.contactFieldLabel,
.contactFormSuccessTitle,
.contactFormSuccessDesc {
    display: block;
}

.contactInfoTitle {
    margin-bottom: 6px;
    color: var(--color-charcoal);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.contactInfoValue {
    margin-bottom: 8px;
    color: var(--color-orange-dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.contactInfoLink {
    display: inline-block;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contactInfoLink:hover,
.contactInfoLink:focus {
    color: var(--color-orange);
    text-decoration: none;
}

.contactInfoDesc {
    color: #5f6871;
    font-size: 14px;
    line-height: 1.8;
}

.contactFormPanel {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.contactUnifiedInquiryPanel {
    position: static;
    display: block;
    width: min(960px, 100%);
    max-width: 960px;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0 auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.contactUnifiedInquiryBody {
    display: block;
    flex: none;
    min-height: 0;
}

.contactUnifiedInquiryScroll {
    display: block;
    flex: none;
    overflow: visible;
    padding-right: 0;
}

.contactUnifiedInquiryPanel .inquiryFormActions {
    justify-content: center;
    margin: 18px 0 0;
    padding: 16px 0 0;
    box-shadow: none;
}

.contactUnifiedInquiryPanel .inquirySubmitButtonDisabled {
    opacity: 0.74;
    pointer-events: none;
}

.contactInquiryTwoColumn {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.contactInquiryTwoColumn .inquiryFormSectionTitle {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.contactInquiryTwoColumn .inquiryField {
    margin-bottom: 0;
}

.contactUnifiedInquiryPanel .inquiryContactGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contactFormGrid {
    display: grid;
    grid-template-columns: 1fr;
}

.contactField {
    display: block;
    margin-bottom: 18px;
}

.contactFieldInline {
    margin-bottom: 0;
}

.contactFieldLabel {
    margin-bottom: 8px;
    color: var(--color-charcoal);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.contactFieldRequired {
    display: inline-block;
    margin-left: 4px;
    color: #d94b45;
    font-weight: 700;
    line-height: 1;
}

.contactFieldHint {
    display: block;
    margin-bottom: 10px;
    color: #7a848e;
    font-size: 12px;
    line-height: 1.6;
}

.contactFieldSubLabel {
    display: block;
    margin-bottom: 8px;
    color: #5f6871;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.contactContactGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.contactPhonePair {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
}

.contactPhoneCodeInput {
    text-align: center;
}

.contactMethodChoiceGroup {
    gap: 12px;
}

.contactFieldInput,
.contactFieldTextarea {
    width: 100%;
    padding: 0 14px;
    color: var(--color-charcoal);
    background: #f9fbfb;
    border: 1px solid #dfe5e8;
    border-radius: 8px;
    font-size: 14px;
}

.contactFieldInput::placeholder,
.contactFieldTextarea::placeholder {
    color: #b3bbc3;
    opacity: 1;
    font-weight: 400;
}

.contactFieldInput {
    height: 46px;
}

.contactFieldTextarea {
    min-height: 128px;
    padding-top: 12px;
    padding-bottom: 12px;
    resize: vertical;
}

.contactFieldInput:focus,
.contactFieldTextarea:focus {
    border-color: #c9d3da;
    background: #ffffff;
}

.contactChoiceGroup {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contactChoice {
    margin: 0;
    cursor: pointer;
}

.contactChoice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contactChoiceText {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    color: #58636d;
    background: #f6f8f9;
    border: 1px solid #dde3e7;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.3;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contactChoice input:checked + .contactChoiceText {
    color: var(--color-charcoal);
    background: #fff7ea;
    border-color: #edc889;
}

.contactFormActions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.contactSubmitButton {
    border: 0;
}

.contactFormError {
    margin-bottom: 14px;
    color: #b94a48;
    font-size: 13px;
    line-height: 1.6;
}

.contactFormSuccess {
    margin-bottom: 14px;
    padding: 16px;
    background: #f8fbf4;
    border: 1px solid #d9e5cf;
    border-radius: 8px;
}

.contactFormSuccessTitle {
    margin-bottom: 6px;
    color: var(--color-charcoal);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.contactFormSuccessDesc {
    color: #5f6871;
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .contactFormSection {
        padding: 28px;
    }

    .contactInfoList {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .contactHeroSection {
        padding-top: 118px;
    }

    .contactMainSection {
        padding-bottom: 64px;
    }

    .contactFlow {
        gap: 26px;
    }

    .contactFormSection {
        padding: 22px 18px;
    }

    .contactSectionTitle {
        font-size: 28px;
    }

    .contactInfoCard {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .contactInfoIcon {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    .contactCardChannel .contactQrPanel {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        width: min(236px, calc(100vw - 40px));
        padding: 18px;
        transform: translate(-50%, -50%);
    }

    .contactCardChannel .contactQrPanel::after {
        display: none;
    }

    .contactFormActions {
        flex-direction: column;
    }

    .contactFormActions .whiteAction,
    .contactFormActions .primaryAction {
        width: 100%;
        text-align: center;
    }

    .contactInquiryTwoColumn,
    .contactUnifiedInquiryPanel .inquiryContactGrid {
        grid-template-columns: 1fr;
    }

    .contactContactGrid {
        grid-template-columns: 1fr;
    }

    .contactPhonePair {
        grid-template-columns: 96px minmax(0, 1fr);
    }
}
