/* ========================================
   城市服务页面样式
   ======================================== */

/* ========== Hero ========== */
.rg-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    overflow: hidden;
    padding: 120px 0 100px;
}

.rg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(34, 211, 238, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(96, 165, 250, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.rg-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.rg-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 2;
}

.rg-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.rg-breadcrumb a:hover {
    color: #fff;
}

.rg-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
}

.rg-breadcrumb .current {
    color: #fff;
    font-weight: 500;
}

.rg-hero-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.rg-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.rg-hero h1 span {
    background: linear-gradient(135deg, #22D3EE, #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rg-hero > .container > p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 640px;
    position: relative;
    z-index: 2;
}

.rg-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.rg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.rg-btn-primary {
    background: linear-gradient(135deg, #2563EB, #1E40AF);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.rg-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
}

.rg-btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.rg-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ========== 通用区块 ========== */
.rg-section-head {
    text-align: center;
    margin-bottom: 50px;
}

.rg-section-head .rg-tag {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.08));
    color: #2563EB;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.rg-section-head h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-left: 16px;
}

.rg-section-head h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, #22D3EE, #2563EB);
    border-radius: 2px;
}

.rg-section-head h2 span {
    background: linear-gradient(135deg, #2563EB, #0EA5E9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rg-section-head p {
    font-size: 15px;
    color: #64748B;
}

/* ========== 服务介绍 ========== */
.rg-services {
    padding: 80px 0;
    background: #fff;
}

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

.rg-svc-card {
    padding: 32px 28px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.rg-svc-card:hover {
    border-color: #2563EB;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
}

.rg-svc-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.rg-svc-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.rg-svc-card__icon--blue {
    background: rgba(37, 99, 235, 0.1);
    color: #2563EB;
}

.rg-svc-card__icon--cyan {
    background: rgba(14, 165, 233, 0.1);
    color: #0EA5E9;
}

.rg-svc-card__icon--indigo {
    background: rgba(99, 102, 241, 0.1);
    color: #6366F1;
}

.rg-svc-card__icon--teal {
    background: rgba(20, 184, 166, 0.1);
    color: #14B8A6;
}

.rg-svc-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.rg-svc-card > p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 16px;
}

.rg-svc-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rg-svc-card__tags span {
    font-size: 12px;
    padding: 4px 12px;
    background: #F1F5F9;
    color: #475569;
    border-radius: 6px;
}

/* ========== 区域覆盖 ========== */
.rg-coverage {
    padding: 80px 0;
    background: #F8FAFC;
}

.rg-coverage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.rg-coverage-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    transition: all 0.3s ease;
}

.rg-coverage-item:hover {
    border-color: #2563EB;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.rg-coverage-item svg {
    flex-shrink: 0;
    color: #2563EB;
}

/* ========== 服务优势 ========== */
.rg-advantages {
    padding: 80px 0;
    background: #fff;
}

.rg-adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rg-adv-card {
    text-align: center;
    padding: 32px 20px;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.rg-adv-card:hover {
    background: #fff;
    border-color: #2563EB;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
}

.rg-adv-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.1));
    border-radius: 12px;
    color: #2563EB;
}

.rg-adv-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.rg-adv-card p {
    font-size: 13px;
    color: #64748B;
    line-height: 1.6;
}

/* ========== 服务流程 ========== */
.rg-process {
    padding: 80px 0;
    background: #F8FAFC;
}

.rg-process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 10px;
}

.rg-step {
    flex: 1;
    min-width: 140px;
    text-align: center;
    position: relative;
}

.rg-step-num {
    font-size: 12px;
    font-weight: 700;
    color: #2563EB;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.rg-step-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #2563EB, #0EA5E9);
    border-radius: 12px;
    color: #fff;
}

.rg-step h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
}

.rg-step p {
    font-size: 12px;
    color: #64748B;
    line-height: 1.5;
}

.rg-step-connector {
    flex: 0 0 40px;
    height: 2px;
    background: linear-gradient(90deg, #2563EB, #0EA5E9);
    margin-top: 26px;
    opacity: 0.3;
}

/* ========== 售后保障 ========== */
.rg-support {
    padding: 80px 0;
    background: #fff;
}

.rg-support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rg-support-card {
    padding: 28px 24px;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.rg-support-card:hover {
    border-color: #2563EB;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.rg-support-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    color: #2563EB;
    margin-bottom: 14px;
}

.rg-support-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.rg-support-card p {
    font-size: 13px;
    color: #64748B;
    line-height: 1.7;
}

/* ========== CTA ========== */
.rg-cta {
    position: relative;
    padding: 70px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    overflow: hidden;
}

.rg-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.rg-cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.rg-cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.rg-cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
}

.rg-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .rg-svc-grid {
        grid-template-columns: 1fr;
    }
    .rg-coverage-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .rg-adv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rg-support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rg-hero {
        min-height: 360px;
        padding: 100px 0 80px;
    }
    .rg-hero h1 {
        font-size: 30px;
    }
    .rg-section-head h2 {
        font-size: 26px;
    }
    .rg-coverage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rg-adv-grid {
        grid-template-columns: 1fr;
    }
    .rg-process-steps {
        flex-direction: column;
        align-items: center;
    }
    .rg-step-connector {
        width: 2px;
        height: 20px;
        margin: 0 auto;
    }
    .rg-support-grid {
        grid-template-columns: 1fr;
    }
    .rg-cta-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .rg-hero h1 {
        font-size: 26px;
    }
    .rg-coverage-grid {
        grid-template-columns: 1fr;
    }
    .rg-hero-cta,
    .rg-cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .rg-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
