/* ========== 联系我们页面专属样式 ========== */
/* Banner区 */
.contact-banner {
    position: relative;
    height: 30vh;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: #222;
    color: #fff;
}

.contact-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.contact-banner-container {
    position: relative;
    z-index: 1;
    padding: 40px 0;
}

.contact-breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.contact-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-breadcrumb a:hover {
    opacity: 0.7;
}

.contact-title {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 15px;
}

.contact-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 2px;
    background-color: #0052cc;
}

.contact-desc {
    font-size: 16px;
    max-width: 700px;
    line-height: 1.6;
    opacity: 0.9;
}

/* 联系页主体区 */
.contact-main {
    padding: 60px 0;
    background-color: #fff;
}

.contact-main-container {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 40px;
}

/* 左侧联系信息+表单区 */
.contact-left {
    padding-right: 20px;
}

/* 联系信息标题 */
.contact-info-header {
    margin-bottom: 40px;
}

.get-in-touch {
    font-size: 14px;
    text-transform: uppercase;
    color: #0052cc;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.contact-info-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.3;
}

.contact-info-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 80%;
}

/* 联系信息卡片 */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
}

.info-card-icon {
    font-size: 24px;
    color: #0052cc;
    margin-bottom: 15px;
}

.info-card-title {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.info-card-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 联系表单 */
.contact-form-section {
    width: 100%;
}

.form-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0052cc;
    display: inline-block;
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
    width: 100%;
}

.form-group {
    flex: 1;
    position: relative;
}

.form-group.required::after {
    content: '*';
    color: #ff0000;
    position: absolute;
    top: 0;
    right: 10px;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: #999;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: #0052cc;
    box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.consent-row {
    margin-top: 5px;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.consent-checkbox {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #0052cc;
    cursor: pointer;
}

.consent-label {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    cursor: pointer;
}

.privacy-link {
    color: #0052cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #0047b3;
    text-decoration: underline;
}

.send-message-btn {
    background-color: #0052cc;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.send-message-btn:hover {
    background-color: #0047b3;
}

/* 右侧地图区 */
.contact-right {
    padding-left: 20px;
}

.find-us-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0052cc;
    display: inline-block;
}

.contact-map {
    position: relative;
    width: 100%;
    height: 580px;
    background-color: #f8f9fa;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.map-info-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 280px;
}

.map-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.map-card-address {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.view-map-link {
    font-size: 13px;
    font-weight: 600;
    color: #0052cc;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.view-map-link:hover {
    color: #0047b3;
    gap: 8px;
}

/* 定制方案推广区 */
.custom-solution {
    background-color: #f0f7ff;
    padding: 40px 0;
    margin: 20px 0 40px;
}

.custom-solution-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.solution-left {
    padding-right: 20px;
}

.solution-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.solution-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 80%;
}

.request-quote-btn {
    background-color: #fff;
    color: #0052cc;
    border: 1px solid #0052cc;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.request-quote-btn:hover {
    background-color: #0052cc;
    color: #fff;
}

.solution-right {
    display: flex;
    justify-content: flex-end;
}

.solution-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    width: 100px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0052cc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.feature-text {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* ========== 响应式适配（联系页专属） ========== */
@media (max-width: 1200px) {
    .contact-main-container {
        gap: 30px;
    }
    .contact-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-map {
        height: 520px;
    }
    .solution-features {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .contact-main-container {
        grid-template-columns: 1fr;
    }
    .contact-left {
        padding-right: 0;
    }
    .contact-right {
        padding-left: 0;
        margin-top: 40px;
    }
    .contact-map {
        height: 450px;
    }
    .custom-solution-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .solution-left {
        padding-right: 0;
        margin-bottom: 20px;
    }
    .solution-desc {
        max-width: 100%;
    }
    .solution-right {
        justify-content: flex-start;
    }
    .solution-features {
        justify-content: flex-start;
    }
    .contact-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .contact-banner {
        height: 25vh;
        min-height: 220px;
    }
    .contact-title {
        font-size: 36px;
    }
    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .info-card {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
        padding: 10px 0;
    }
    .info-card-icon {
        margin-bottom: 0;
        min-width: 24px;
    }
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    .contact-map {
        height: 400px;
    }
    .map-info-card {
        left: 20px;
        bottom: 20px;
        padding: 15px;
        max-width: 240px;
    }
    .solution-features {
        gap: 15px;
    }
    .feature-item {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .contact-banner {
        height: 20vh;
        min-height: 180px;
    }
    .contact-title {
        font-size: 28px;
    }
    .contact-desc {
        font-size: 14px;
    }
    .contact-info-title {
        font-size: 24px;
    }
    .contact-info-desc {
        max-width: 100%;
        font-size: 14px;
    }
    .contact-map {
        height: 320px;
    }
    .map-info-card {
        max-width: calc(100% - 40px);
    }
    .solution-features {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }
    .feature-item {
        width: 70px;
    }
    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .send-message-btn {
        width: 100%;
        justify-content: center;
    }
    .request-quote-btn {
        width: 100%;
        justify-content: center;
    }
}