/* 页面通用样式 - 优化版 */
.page-hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--bg-lighter);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
    font-weight: 700;
    position: relative;
    z-index: 10;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.9;
    font-weight: 300;
    position: relative;
    z-index: 10;
}

/* 关于我们 */
.about-intro {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 42px;
    margin-bottom: 28px;
    color: var(--text-dark);
    font-weight: 700;
}

.about-text .lead {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 28px;
    font-weight: 500;
    line-height: 1.7;
}

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

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* 公司信息 */
.company-info {
    padding: 100px 0;
    background: var(--bg-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.info-card {
    background: var(--bg-lighter);
    padding: 36px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.info-card h3 {
    color: var(--primary-color);
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-card p {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

/* 价值观 */
.values-section {
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.value-card {
    text-align: center;
    padding: 48px 32px;
    border-radius: 20px;
    background: var(--bg-lighter);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: inline-block;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(5deg);
}

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

.value-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 选择理由 */
.why-choose {
    padding: 100px 0;
    background: var(--bg-light);
}

.reasons-list {
    max-width: 950px;
    margin: 0 auto;
}

.reason-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
    background: var(--bg-lighter);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.reason-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.reason-number {
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 80px;
}

.reason-content h3 {
    font-size: 26px;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

.reason-content p {
    color: var(--text-light);
    line-height: 1.9;
}

/* 服务页面 */
.services-list {
    padding: 100px 0;
}

.service-detail {
    padding: 100px 0;
    background: var(--bg-light);
}

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

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

.service-detail-text h3 {
    font-size: 26px;
    margin: 36px 0 16px;
    color: var(--primary-color);
    font-weight: 600;
}

.service-detail-text p,
.service-detail-text ul {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 24px;
}

.service-detail-text ul {
    padding-left: 0;
    list-style: none;
}

.service-detail-text li {
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
}

.service-detail-text li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.service-detail-text strong {
    color: var(--text-dark);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* 案例页面 */
.cases-grid {
    padding: 100px 0;
}

.case-card {
    background: var(--bg-lighter);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 36px;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.case-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.case-tag {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--bg-lighter);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.case-content {
    padding: 36px;
}

.case-content h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.case-meta {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 500;
}

.case-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 24px;
}

/* 新闻页面 */
.news-list {
    padding: 100px 0;
}

.news-item {
    display: flex;
    gap: 36px;
    margin-bottom: 48px;
    background: var(--bg-lighter);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.news-item:hover {
    transform: translateX(12px);
    box-shadow: var(--shadow-md);
}

.news-image {
    width: 320px;
    min-width: 320px;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 36px;
    flex: 1;
}

.news-date {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

.news-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.news-link:hover {
    gap: 12px;
    color: var(--accent-color);
}

/* 联系页面 */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info-box {
    background: var(--bg-light);
    padding: 48px;
    border-radius: 20px;
}

.contact-item {
    margin-bottom: 40px;
}

.contact-item h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-dark);
    line-height: 1.9;
    margin-left: 32px;
}

.contact-form {
    background: var(--bg-lighter);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-lighter);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(44, 90, 160, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-lighter);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.3);
}

/* 地图区域 */
.map-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.map-container {
    height: 450px;
    background: var(--bg-lighter);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 20px;
    background-image: url('../images/contact-banner.jpg');
    background-size: cover;
    background-position: center;
}

/* 响应式 */
@media (max-width: 968px) {
    .about-content,
    .service-detail-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        min-width: 100%;
        height: 240px;
    }
    
    .reason-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .reason-number {
        min-width: auto;
    }
    
    .page-hero h1 {
        font-size: 36px;
    }
}