/* ========================================
   内页专用样式
   ======================================== */

/* 页面横幅 */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 140px 0 60px;
    text-align: center;
}

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

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

/* ========================================
   关于我们页面
   ======================================== */

/* 公司简介 */
.about-section {
    padding: 80px 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.intro-content .lead {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 16px;
    font-weight: 500;
}

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

.intro-image .image-box {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #fff5f0, #ffe8db);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.intro-image .image-box i {
    font-size: 64px;
    color: var(--primary-color);
}

.intro-image .image-box span {
    font-size: 18px;
    color: var(--text-light);
}

/* 数据展示 */
.stats-section {
    background: var(--bg-light);
    padding: 60px 0;
}

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

.stat-box {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

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

.stat-box .stat-info {
    margin-bottom: 8px;
}

.stat-box .stat-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-box .stat-unit {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

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

/* 优势列表 */
.why-us {
    padding: 80px 0;
}

.advantage-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.advantage-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.advantage-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.advantage-card .adv-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.advantage-card .adv-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.advantage-card .adv-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* 资质荣誉 */
.honor-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.honor-item {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.honor-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.honor-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.honor-item span {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-color);
}

/* 发展历程 */
.timeline-section {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding: 20px 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 60px;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.timeline-content {
    width: 50%;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

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

/* ========================================
   服务项目页面
   ======================================== */

/* 服务类型导航 */
.service-types {
    background: var(--bg-light);
    padding: 20px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.service-nav {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-tab {
    padding: 12px 28px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.service-tab:hover,
.service-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

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

.service-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-item {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.service-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.service-icon-box {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.service-info h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.service-info .service-desc {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.service-tags span {
    padding: 6px 14px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-color);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.service-features .feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--accent-color);
}

.service-features .feature i {
    font-size: 12px;
}

/* 其他服务 */
.other-services {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.other-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

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

.other-card .other-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #fff5f0, #ffe8db);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
}

.other-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.other-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.other-card .link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
}

.other-card .link-more:hover {
    gap: 10px;
}

/* 服务流程 */
.process-section {
    padding: 80px 0;
}

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

.process-card {
    background: var(--bg-light);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
}

.process-card .process-num {
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 107, 53, 0.15);
    margin-bottom: 12px;
}

.process-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.process-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   联系我们页面
   ======================================== */

/* 联系区域 */
.contact-section {
    padding: 80px 0;
}

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

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.contact-intro,
.form-intro {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-item .contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.contact-item .contact-detail h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item .contact-detail p {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 2px;
}

.contact-item .contact-detail p a {
    color: var(--secondary-color);
}

.contact-item .contact-detail p a:hover {
    color: var(--primary-color);
}

.contact-item .contact-detail span {
    font-size: 13px;
    color: var(--text-muted);
}

/* 表单样式 */
.contact-form {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius-md);
}

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

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

.form-group label .required {
    color: #e74c3c;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.btn-block {
    width: 100%;
}

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

.map-container {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
}

.map-placeholder i {
    font-size: 48px;
    color: var(--text-muted);
}

.map-placeholder p {
    font-size: 18px;
    color: var(--text-light);
}

.map-placeholder span {
    font-size: 14px;
    color: var(--text-muted);
}

/* FAQ区域 */
.faq-section {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: white;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-color);
}

.faq-question i {
    color: var(--text-muted);
    transition: var(--transition);
}

.faq-item.active .faq-question {
    background: white;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   响应式设计
   ======================================== */

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .other-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 120px 0 40px;
    }
    
    .page-banner h1 {
        font-size: 32px;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-image {
        order: -1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-box {
        padding: 20px;
    }
    
    .stat-box .stat-num {
        font-size: 28px;
    }
    
    .advantage-list {
        grid-template-columns: 1fr;
    }
    
    .advantage-card {
        flex-direction: column;
        text-align: center;
    }
    
    .advantage-card .adv-icon {
        margin: 0 auto;
    }
    
    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon-box {
        margin: 0 auto;
    }
    
    .service-tags {
        justify-content: center;
    }
    
    .service-features {
        justify-content: center;
    }
    
    .other-service-grid {
        grid-template-columns: 1fr;
    }
    
    .process-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .service-nav {
        gap: 8px;
    }
    
    .service-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .honor-grid {
        grid-template-columns: 1fr;
    }
}
