.accident-guide {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.accident-guide::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30, 115, 190, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.accident-guide::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 115, 190, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.guide-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.guide-header {
    text-align: center;
    margin-bottom: 4rem;
}

.accident-guide .section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1E73BE;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    background: rgba(30, 115, 190, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.accident-guide .section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #111827;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.accident-guide .section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.steps-timeline {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #e5e7eb;
    z-index: 0;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #1E73BE, #3b82f6);
    transition: height 0.3s ease;
    animation: lineProgress 2s ease-in-out forwards;
}

@keyframes lineProgress {
    from {
        height: 0%;
    }
    to {
        height: 100%;
    }
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.step-item:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(50px);
}

.step-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.step-item:nth-child(even) .step-content {
    text-align: right;
}

.step-item:nth-child(even) .step-list {
    text-align: left;
}

.step-marker {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
    flex-shrink: 0;
    margin: 0 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-marker.highlighted {
    border-color: #1E73BE;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    box-shadow: 0 8px 25px rgba(30, 115, 190, 0.2);
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #374151;
}

.step-marker.highlighted .step-number {
    color: #1E73BE;
}

.step-content {
    flex: 1;
    max-width: 400px;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

.step-content:hover {
    border-color: #1E73BE;
    box-shadow: 0 10px 25px rgba(30, 115, 190, 0.1);
}

.step-item.highlighted .step-content {
    border-color: #1E73BE;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.step-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.step-list li {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 0.4rem;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.3;
}

.step-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #1E73BE;
    font-weight: 600;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #1E73BE;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.contact-button:hover {
    background: #3981c0ff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 115, 190, 0.25);
}

.contact-banner {
    background: linear-gradient(135deg, #1E73BE, #3b82f6);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.banner-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.banner-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.banner-info p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.banner-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.banner-phone:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media screen and (max-width: 768px) {
    .accident-guide {
        padding: 80px 0;
    }
    
    .guide-container {
        padding: 0 1rem;
    }
    
    .accident-guide .section-title {
        font-size: 2rem;
    }
    
    .timeline-line {
        left: 30px;
        transform: none;
    }
    
    .timeline-line::before {
        animation: lineProgressMobile 2s ease-in-out forwards;
    }
    
    @keyframes lineProgressMobile {
        from {
            height: 0%;
        }
        to {
            height: 100%;
        }
    }
    
    .step-item,
    .step-item:nth-child(even) {
        flex-direction: row;
    }
    
    .step-item:nth-child(even) .step-content {
        text-align: left;
    }
    
    .step-marker {
        margin: 0 1rem 0 0;
        width: 60px;
        height: 60px;
    }
    
    .step-number {
        font-size: 1.25rem;
    }
    
    .step-content {
        max-width: none;
        padding: 1.5rem;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .banner-phone {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 480px) {
    .step-content {
        padding: 1.25rem;
    }
    
    .step-marker {
        width: 50px;
        height: 50px;
        margin-right: 0.75rem;
    }
    
    .step-number {
        font-size: 1.125rem;
    }
}
