/* 
 * 联系我们页面专用样式 (contact-us)
 * 复用并扩展 tsingoal.css 和公共组件样式
 */

.contact-us-view {
    background-color: #ffffff;
    overflow-x: hidden;
}

/* 复用 ss-banner */
.ss-banner {
    position: relative;
    width: 100%;
    height: 43.75rem; /* 700px */
    display: flex;
    align-items: center;
    background-color: #f5f7fa;
}

.ss-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.ss-banner-content {
    position: relative;
    z-index: 1;
}

.ss-section {
    padding: 5.375rem 0 6.5625rem; /* 80px */
    background: linear-gradient( 135deg, #F0FAFA 0%, #E9EFFF 82.24%, #D6DAFF 100%);
}
/* 联系主要卡片块 */
.contact-main-card {
    display: flex;
    background: #FFFFFF;
    box-shadow: .5rem .5rem 1.25rem 0px #E7EBF1;
    border-radius: .875rem;
    padding: 2.8125rem 2rem 2rem 3.4375rem; /* 45px 32px 32px 55px */
    justify-content: space-between;
    gap: 2rem;
}

/* 左侧信息栏 */
.contact-info-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-panel-title {
    font-size: 3rem; /* 48px */
    color: #333333;
    line-height: 4rem; /* 64px */
    font-family: s-demibold, sans-serif;
    margin-bottom: 1.125rem; /* 18px */
    margin-top: 0;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-item {
    font-size: 1.375rem; /* 22px */
    color: #607293;
    line-height: 1.8125rem; /* 29px */
    margin-bottom: 0.875rem; /* 14px */
    display: flex;
    align-items: center;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

/* 左侧联系图标 */
.contact-info-item i {
    margin-right: 0.75rem;
    font-style: normal;
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-address {
    background-image: url(/wp-content/uploads/industry/contact/weizhi.svg);
}

.icon-email {
    background-image: url(/wp-content/uploads/industry/contact/youjian.svg);
}

.icon-phone {
    background-image: url(/wp-content/uploads/industry/contact/dianhua.svg);
}
.public-form-container .public-form-textarea {height: 10.625rem!important;}
/* 左侧底部二维码 */
.contact-info-bottom {
    margin-top: 3rem;
}

.contact-qrcode-wrapper {
    width: 6.875rem; /* 110px */
    height: 6.875rem;
    margin-bottom: 0.75rem;
    background: #f0f0f0; /* 占位背景 */
}

.contact-qrcode {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.contact-qrcode-text {
    font-size: 1.125rem; /* 18px */
    color: #5B7296;
    line-height: 1.5rem; /* 24px */
    margin: 0;
}

/* 右侧表单栏 */
.contact-form-panel {
    width: 39.25rem; /* 628px */
    flex-shrink: 0;
}

/* 底部分支机构卡片区域 */
.contact-locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem; /* 28px 元素间距 */
    margin-top: 1.75rem; /* 28px 距离上方主卡片的间距 */
}

.contact-location-card {
    background: #FFFFFF;
    box-shadow: .5rem .5rem 1.25rem 0px #E7EBF1;
    border-radius: .875rem;
    padding: 3.125rem 1.5rem 3.4375rem; /* 上50px，下55px，左右留白适应内容 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.location-icon-wrapper {
    height: 4.6875rem; /* 图片高度 75px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.125rem; /* 距离底部标题 18px */
}

.location-icon-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.location-title {
    font-size: 2.5rem; /* 40px */
    color: #333333!important;
    line-height: 3.3125rem!important; /* 53px */
    font-family: s-demibold, sans-serif!important;
    margin-top: 0;
    margin-bottom: 0.5rem; /* 距离下方地址 8px */
    text-align: center;
}

.location-address {
    font-size: 1.375rem; /* 22px */
    color: #8B909A;
    line-height: 1.8125rem; /* 29px */
    text-align: center;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .contact-main-card {
        padding: 2rem;
        flex-direction: column;
    }
    
    .contact-form-panel {
        width: 100%;
    }

    .contact-panel-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .contact-locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-panel-title {
        font-size: 2rem;
    }
    
    .contact-info-item {
        font-size: 1.125rem;
    }
    
    .contact-locations-grid {
        grid-template-columns: 1fr;
    }
}
/* 重写表单组件样式 */
.contact-main-section .contact-main-card {
    background: rgba(255,255,255,0.6);
    box-shadow: .5rem .5rem 1.25rem 0px #E7EBF1;
    border-radius: .875rem;
    padding: 2.8125rem 3.4375rem;
}
.contact-main-section .public-form-container .public-form-input, 
.contact-main-section .public-form-container .public-form-textarea {
 background-color: white;
}
.contact-main-section .public-form-container .public-form-input:focus, 
.contact-main-section .public-form-container .public-form-textarea:focus {
    background: #E6EEFF;
    border: 1px solid #2664F5;
}
.contact-main-section .public-form-label {
    font-family: s-medium;
    color: #74787F;
    font-size: 1.375rem;
    margin-bottom: .5rem;
}
.contact-main-section .public-form-grid {
    row-gap: 1.625rem;
    margin-bottom: 1.625rem;
}
.contact-main-section .public-form-submit-container {margin-top: 2.125rem;}
.contact-main-section .public-form-submit-btn {
    font-size: 1rem;
    line-height: 1.375rem;
}