/**
 * 街道级页面通用样式
 * 适用于：/baoan/、/longgang/、/luohu/ 等各区街道页面
 */

/* ========== 通用章节样式 ========== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary, #1f2937);
    text-align: center;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary, #6b7280);
    margin-bottom: 32px;
    line-height: 1.6;
    text-align: center;
}

/* 标题标签 */
.section-title-tag {
    display: inline-block;
    padding: 4px 14px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 6px;
    vertical-align: middle;
    margin-right: 8px;
}

.section-title-tag.tag-blue {
    background: linear-gradient(135deg, #003DA5, #002B5C);
}

.section-title-tag.tag-purple {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.section-title-tag.tag-green {
    background: linear-gradient(135deg, #059669, #047857);
}

/* ========== 街道页面头部 ========== */
.street-hero {
    background: linear-gradient(135deg, #003DA5 0%, #002B5C 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.street-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.street-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.street-hero .breadcrumb {
    margin-bottom: 24px;
    opacity: 0.9;
}

.street-hero .breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.street-hero .breadcrumb a:hover {
    text-decoration: underline;
}

.street-hero .breadcrumb span {
    margin: 0 8px;
}

/* ========== 覆盖区域 ========== */
.coverage-section {
    padding: 60px 0;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.coverage-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #003DA5;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.coverage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.coverage-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coverage-card h3::before {
    content: '📍';
}

.coverage-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.coverage-card li {
    padding: 8px 0;
    border-bottom: 1px dashed #e5e7eb;
    font-size: 0.9375rem;
    color: #4b5563;
}

.coverage-card li:last-child {
    border-bottom: none;
}

.coverage-card li::before {
    content: '✓';
    color: #22c55e;
    font-weight: 700;
    margin-right: 8px;
}

/* ========== 套餐推荐 ========== */
.street-packages {
    background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%);
    padding: 60px 0;
}

/* ========== 安装流程 ========== */
.process-section {
    padding: 60px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -18px;
    top: 30px;
    font-size: 1.5rem;
    color: #003DA5;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #003DA5, #002B5C);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ========== 用户评价 ========== */
.reviews-section {
    background: #f9fafb;
    padding: 60px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease;
}

.review-card:hover {
    transform: translateY(-4px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #003DA5, #002B5C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1.125rem;
}

.review-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
}

.review-info span {
    font-size: 0.8125rem;
    color: #9ca3af;
}

.review-stars {
    color: #f59e0b;
    margin-bottom: 12px;
    font-size: 1rem;
}

.review-text {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.7;
}

.review-location {
    margin-top: 12px;
    font-size: 0.8125rem;
    color: #6b7280;
}

/* ========== FAQ ========== */
.faq-section {
    padding: 60px 0;
}

.faq-list {
    max-width: 800px;
    margin: 32px auto 0;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    user-select: none;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #003DA5;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    color: #6b7280;
    line-height: 1.8;
    font-size: 0.9375rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

/* ========== CTA区域 ========== */
.cta-section {
    background: linear-gradient(135deg, #003DA5 0%, #002B5C 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-btn {
    display: inline-block;
    background: #fff;
    color: #003DA5;
    padding: 16px 48px;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ========== 套餐卡片增强 ========== */
.pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pkg-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.pkg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.pkg-card-recommend {
    border-color: #003DA5;
    background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%);
}

.pkg-card-hot {
    border-color: #dc2626;
    background: linear-gradient(180deg, #fff5f5 0%, #fff 100%);
}

.pkg-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    white-space: nowrap;
}

.pkg-card-recommend .pkg-badge {
    background: linear-gradient(135deg, #003DA5, #002B5C);
}

.pkg-card-hot .pkg-badge {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.pkg-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.pkg-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.3;
}

.pkg-speed {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #003DA5;
    font-weight: 600;
    margin-bottom: 20px;
}

.pkg-price {
    text-align: center;
    padding: 20px 0;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 16px;
}

.pkg-card-recommend .pkg-price {
    background: #eff6ff;
}

.pkg-card-hot .pkg-price {
    background: #fef2f2;
}

.pkg-price-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #dc2626;
    line-height: 1;
}

.pkg-price-unit {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-left: 4px;
}

.pkg-monthly {
    display: block;
    font-size: 0.8125rem;
    color: #9ca3af;
    margin-top: 4px;
}

.pkg-install-fee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: #fffbeb;
    border-radius: 8px;
    font-size: 0.8125rem;
    color: #92400e;
    margin-bottom: 16px;
}

.pkg-features {
    flex: 1;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
}

.pkg-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.875rem;
    color: #4b5563;
    border-bottom: 1px dashed #f3f4f6;
    line-height: 1.5;
}

.pkg-features li:last-child {
    border-bottom: none;
}

.pkg-features li::before {
    content: '✓';
    flex-shrink: 0;
    color: #22c55e;
    font-weight: 700;
    font-size: 0.875rem;
}

.pkg-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    background: linear-gradient(135deg, #003DA5, #002B5C);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
}

.pkg-btn:hover {
    background: linear-gradient(135deg, #002B5C, #001d3d);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 61, 165, 0.3);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .pkg-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step:nth-child(2)::after {
        display: none;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .street-hero {
        padding: 40px 0;
    }

    .street-hero h1 {
        font-size: 1.75rem;
    }

    .street-hero p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .pkg-grid {
        grid-template-columns: 1fr;
    }

    .pkg-card {
        padding: 20px;
    }

    .pkg-price-num {
        font-size: 2rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-step::after {
        display: none;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }
}

/* ========== 街道导航 ========== */
.street-nav-section {
    padding: 60px 0;
}

.street-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.street-nav-link {
    display: block;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #374151;
    font-size: 0.9375rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
}

.street-nav-link:hover {
    background: #003DA5;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 61, 165, 0.2);
    border-color: #003DA5;
}

@media (max-width: 640px) {
    .street-nav-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .street-nav-link {
        padding: 12px 8px;
        font-size: 0.875rem;
    }
}
