/* 全局样式 */
:root {
    --primary-color: #1a5fb4;
    --primary-dark: #0d3a6e;
    --primary-light: #3584e4;
    --secondary-color: #e66100;
    --accent-color: #26a269;
    --text-dark: #1c1c1c;
    --text-light: #5e5e5e;
    --text-muted: #8c8c8c;
    --bg-light: #f6f6f6;
    --bg-white: #ffffff;
    --border-color: #deddda;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* 顶部信息栏 */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span {
    margin-right: 24px;
}

.top-info i {
    margin-right: 6px;
    color: var(--secondary-color);
}

.top-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-links a {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    border: 1px solid transparent;
    transition: all 0.3s;
}

.top-links a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.top-links a.active {
    color: #fff;
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    font-weight: 500;
}

/* 主导航 */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-text span {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Banner轮播 */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 60px;
    color: white;
}

.slide-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInLeft 0.8s ease;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
    animation: slideInLeft 0.8s ease 0.2s both;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.slider-arrows span {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-arrows span:hover {
    background: rgba(255,255,255,0.4);
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--secondary-color);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    animation: slideInLeft 0.8s ease 0.4s both;
}

.btn-primary:hover {
    background: #d45500;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230,97,0,0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* 通用区块样式 */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 24px;
}

.section-header.light h2,
.section-header.light p {
    color: white;
}

.text-center {
    text-align: center;
    margin-top: 40px;
}

/* 核心业务 */
.services-section {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: white;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.read-more i {
    margin-left: 4px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(4px);
}

/* 公司优势 */
.advantages-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
}

.advantage-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 16px;
}

.advantage-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.advantage-item p {
    font-size: 15px;
    opacity: 0.9;
}

/* 服务网点 */
.locations-section {
    background: var(--bg-white);
}

.locations-map {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.location-card {
    background: var(--bg-light);
    padding: 28px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.location-card:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.location-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.location-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.location-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

.location-card .phone {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.location-card .phone i {
    margin-right: 6px;
}

/* 地区客服 */
.contact-section {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.region-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary-color);
    color: white;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 0 0 0 var(--radius);
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-info i {
    width: 20px;
    color: var(--primary-color);
}

.service-area {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

.contact-notice {
    margin-top: 40px;
    padding: 24px;
    background: #fff3cd;
    border-left: 4px solid var(--secondary-color);
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-notice i {
    font-size: 24px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-notice p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 服务案例 */
.cases-section {
    background: var(--bg-white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.case-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 24px;
}

.case-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.case-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    border-radius: 4px;
}

/* 行业新闻 */
.news-section {
    background: var(--bg-light);
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: var(--shadow-lg);
}

.news-date {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-date .day {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 14px;
    opacity: 0.9;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-content h3 a {
    color: var(--text-dark);
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 底部 */
.main-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-contact i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    opacity: 0.8;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-notice {
    margin-bottom: 16px;
}

.footer-notice p {
    font-size: 14px;
    opacity: 0.9;
}

.copyright p {
    font-size: 13px;
    opacity: 0.7;
}

/* 悬浮客服 */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.float-btn:hover {
    transform: translateX(-4px);
}

.float-btn.phone {
    color: var(--accent-color);
}

.float-btn.wechat {
    color: #07c160;
}

.float-btn.message {
    color: var(--primary-color);
}

.float-btn i {
    font-size: 20px;
}

/* 弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    max-width: 400px;
    width: 90%;
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
}

.close-btn:hover {
    color: var(--text-dark);
}

.modal-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.modal-content img {
    width: 200px;
    height: 200px;
    margin-bottom: 16px;
}

.modal-content p {
    font-size: 14px;
    color: var(--text-light);
}

/* 动画 */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .services-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .locations-map {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .services-grid,
    .advantages-grid,
    .locations-map,
    .contact-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-contact {
        right: 10px;
        bottom: 80px;
    }
    
    .float-btn span {
        display: none;
    }
    
    .float-btn {
        width: 48px;
        height: 48px;
        padding: 0;
        justify-content: center;
    }
}

/* 页面通用样式 */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.breadcrumb {
    background: var(--bg-light);
    padding: 16px 0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* 服务详情页 */
.service-detail {
    padding: 60px 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-detail-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-features i {
    color: var(--accent-color);
}

.service-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 公司介绍页 */
.about-content {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.company-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.company-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.company-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.company-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* 联系页面 */
.contact-grid-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-panel {
    padding: 40px;
}

.contact-info-panel h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item i {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== 修复和优化样式 ===== */

/* Banner按钮样式 */
.banner-btn {
    padding: 15px 40px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    border-radius: var(--radius) !important;
    transition: var(--transition) !important;
    display: inline-block !important;
    text-align: center !important;
    cursor: pointer !important;
}

.btn-primary.banner-btn {
    background: var(--secondary-color) !important;
    color: white !important;
    border: 2px solid var(--secondary-color) !important;
}

.btn-primary.banner-btn:hover {
    background: #d35400 !important;
    border-color: #d35400 !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
}

.btn-secondary.banner-btn {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}

.btn-secondary.banner-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow) !important;
}

/* 图片优化 */
img {
    border-radius: var(--radius) !important;
    transition: var(--transition) !important;
}

img:hover {
    transform: scale(1.02) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* 卡片悬停效果增强 */
.service-card:hover,
.case-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .banner-btn {
        padding: 12px 30px !important;
        font-size: 14px !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    
    .service-card,
    .case-card {
        margin-bottom: 20px !important;
    }
}

/* 加载优化 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 可访问性优化 */
:focus {
    outline: 2px solid var(--primary-light) !important;
    outline-offset: 2px !important;
}

/* 打印样式优化 */
@media print {
    .top-bar,
    .main-header,
    .banner-section,
    .btn-primary,
    .btn-secondary {
        display: none !important;
    }
}

/* 响应式设计 - 移动端优化 */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 5px 10px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .main-header {
        padding: 15px 0;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .logo-text span {
        font-size: 12px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .services-grid,
    .news-grid,
    .locations-map {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card,
    .service-card,
    .location-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 540px;
        padding: 0 10px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .top-info,
    .top-links {
        width: 100%;
        justify-content: center;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .btn-primary,
    .btn-secondary,
    .news-link,
    .service-card,
    .location-card {
        min-height: 44px;
        min-width: 44px;
    }
    
    input,
    select,
    textarea {
        font-size: 16px;
    }
}
