/* 响应式增强样式 */

/* 全局响应式优化 */
:root {
    --primary-color: #409eff;
    --secondary-color: #e93a30;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ebeef5;
    --bg-light: #f8f9fa;
    --shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

/* 响应式字体大小 */
html {
    font-size: 16px;
}

@media (max-width: 1200px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 13px;
    }
}

/* 容器响应式优化 */
.page-wrapper {
    transition: var(--transition);
}

@media (max-width: 1200px) {
    .page-wrapper {
        width: 85%;
        padding-top: 60px;
        padding-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        width: 95%;
        padding-top: 50px;
        padding-bottom: 60px;
    }
}

@media (max-width: 576px) {
    .page-wrapper {
        width: 100%;
        padding: 40px 10px;
    }
}

/* 导航栏响应式 */
.head-nav-wrapper {
    transition: var(--transition);
}

@media (max-width: 768px) {
    .head-nav-wrapper {
        height: 60px;
        padding: 0 15px;
    }
    
    .head-nav-wrapper .head-nav-logo {
        margin-left: 15px;
        width: 100px;
        height: 30px;
    }
    
    .head-nav-wrapper .head-nav-meus {
        margin-right: 15px;
    }
    
    .head-nav-meus .el-tabs__item {
        width: 80px;
        padding: 0 15px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .head-nav-wrapper {
        height: 50px;
        flex-direction: column;
        justify-content: center;
    }
    
    .head-nav-wrapper .head-nav-logo {
        margin-left: 0;
        width: 80px;
        height: 24px;
    }
    
    .head-nav-wrapper .head-nav-meus {
        display: none;
    }
    
    /* 移动端菜单按钮 */
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: white;
        font-size: 20px;
        cursor: pointer;
    }
}

/* 品牌展示响应式 */
.brand-detail {
    transition: var(--transition);
}

@media (max-width: 1200px) {
    .brand-detail .brand-detail-item {
        width: 23%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .brand-detail {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .brand-detail .brand-detail-item {
        width: 48%;
        height: 200px;
        margin-bottom: 15px;
    }
    
    .brand-detail-position .brand-detail-title {
        font-size: 18px !important;
    }
    
    .brand-detail-position .brand-detail-des {
        font-size: 12px !important;
    }
}

@media (max-width: 576px) {
    .brand-detail {
        flex-direction: column;
    }
    
    .brand-detail .brand-detail-item {
        width: 100%;
        height: 180px;
        margin-bottom: 15px;
    }
}

/* 服务项目响应式 */
@media (max-width: 1200px) {
    .brand-detail .brand-detail-item .brand-detail-icon {
        width: 60px !important;
        height: 60px !important;
        padding-top: 30px !important;
    }
}

@media (max-width: 768px) {
    .brand-detail {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .brand-detail .brand-detail-item {
        width: 48%;
        margin-bottom: 20px;
    }
    
    .brand-detail-des .des-title {
        font-size: 16px !important;
    }
    
    .brand-detail-des .des-text {
        font-size: 12px !important;
        height: 80px;
        line-height: 20px !important;
    }
}

@media (max-width: 576px) {
    .brand-detail .brand-detail-item {
        width: 100%;
        text-align: center;
    }
    
    .brand-detail-icon {
        width: 50px !important;
        height: 50px !important;
        padding-top: 20px !important;
    }
}

/* 金融服务响应式 */
.brand-financial {
    transition: var(--transition);
}

@media (max-width: 768px) {
    .brand-financial .financial-item {
        width: 100% !important;
        height: 180px;
        margin-bottom: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .financial-item .financial-item-icon {
        margin-left: 0 !important;
        margin-bottom: 15px;
        width: 80px;
        height: 80px;
    }
    
    .financial-item .financial-item-des {
        margin-left: 0 !important;
    }
}

/* 介绍部分响应式 */
.introdution-detail {
    transition: var(--transition);
}

@media (max-width: 768px) {
    .introdution-detail {
        flex-direction: column;
        text-align: center;
    }
    
    .introdution-detail .introdution-img {
        width: 100% !important;
        height: 250px;
        margin-bottom: 20px;
    }
    
    .introdution-detail .introdution-tes {
        width: 100% !important;
        font-size: 14px !important;
        line-height: 24px !important;
    }
}

/* 联系表单响应式 */
.contact-details-wrapper {
    transition: var(--transition);
}

@media (max-width: 768px) {
    .contact-details-wrapper .contact-details {
        width: 100%;
    }
    
    .contact-details .contact-item {
        width: 100% !important;
        margin-bottom: 15px;
    }
    
    .contact-title {
        font-size: 20px !important;
        margin-bottom: 30px !important;
    }
}

/* 页脚响应式 */
.footer {
    transition: var(--transition);
}

@media (max-width: 768px) {
    .footer {
        height: 80px;
    }
    
    .footer-close {
        height: 80px;
        padding: 0 15px;
    }
    
    .footer-close .application {
        width: 60px;
        height: 60px;
    }
    
    .footer-open .application-wrapper {
        width: 250px;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-open .application {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .footer {
        height: 60px;
    }
    
    .footer-close {
        height: 60px;
        flex-direction: row;
        justify-content: space-around;
    }
    
    .footer-close .application {
        width: 45px;
        height: 45px;
        margin: 0 5px;
    }
}

/* 移动端优化的标题样式 */
@media (max-width: 768px) {
    .section-title-wrapper {
        margin-top: 20px;
        text-align: center;
    }
    
    .section-title .section-title-big {
        font-size: 24px !important;
    }
    
    .section-title .section-title-small {
        font-size: 14px !important;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .brand-detail-item,
    .financial-item,
    .submit,
    .el-button {
        min-height: 44px;
        min-width: 44px;
    }
    
    .head-nav-meus .el-tabs__item {
        padding: 12px 20px;
    }
}

/* 全屏页面响应式 */
@media (max-width: 768px) {
    .fullPage {
        overflow-y: auto;
    }
    
    .section {
        min-height: 100vh;
        height: auto;
    }
    
    .section1 {
        background-size: cover;
        background-position: center;
    }
    
    .secction1-content h1 {
        font-size: 28px;
        padding-bottom: 20px;
    }
    
    .secction1-content p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .secction1-content h1 {
        font-size: 24px;
        padding-bottom: 15px;
    }
    
    .secction1-content p {
        font-size: 14px;
    }
    
    .secction1-content {
        top: 35%;
        padding: 0 20px;
    }
}

/* 可访问性增强 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066cc;
        --secondary-color: #cc0000;
        --text-color: #000000;
        --border-color: #000000;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #ffffff;
        --text-light: #cccccc;
        --border-color: #555555;
        --bg-light: #333333;
    }
}

/* 加载状态优化 */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 交互反馈优化 */
.interactive:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.interactive:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 表单响应式优化 */
@media (max-width: 768px) {
    .el-form-item {
        margin-bottom: 15px;
    }
    
    .el-input__inner,
    .el-textarea__inner,
    .el-select .el-input__inner {
        height: 44px;
        font-size: 16px;
    }
    
    .el-button {
        min-height: 44px;
        font-size: 16px;
    }
}