/* Estilos para la sección de Progresión de Servicios */
.progression-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(0deg, rgba(12, 18, 32, 0), rgba(0, 157, 255, 0.05), rgba(12, 18, 32, 0));
    overflow: hidden;
}

/* Contenedor de la barra de progreso */
.progress-container {
    max-width: 800px;
    margin: 60px auto;
    position: relative;
    padding: 20px 0;
}

/* Barra de progreso principal */
.progress-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    margin: 40px 0;
}

/* Relleno de la barra de progreso */
.progress-fill {
    position: absolute;
    height: 100%;
    width: 25%; /* Valor inicial */
    background: linear-gradient(90deg, var(--color-blue), var(--color-magenta));
    border-radius: 3px;
    transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 15px rgba(0, 157, 255, 0.4);
}

/* Marcadores en la barra de progreso */
.progress-marker {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.marker-1 { left: 25%; }
.marker-2 { left: 60%; }
.marker-3 { left: 100%; }

/* Punto del marcador */
.marker-dot {
    display: block;
    width: 20px;
    height: 20px;
    background-color: var(--color-dark);
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

/* Marcador activo */
.progress-marker.active .marker-dot {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
    box-shadow: 0 0 15px rgba(0, 157, 255, 0.6);
    transform: scale(1.2);
}

/* Etiquetas de marcadores */
.marker-label {
    position: absolute;
    white-space: nowrap;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gray);
    transition: all 0.3s ease;
}

.progress-marker.active .marker-label {
    color: var(--color-blue);
    transform: translateX(-50%) scale(1.1);
}

/* Porcentaje de progreso */
.progress-percentage {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-blue);
    margin-top: 20px;
}

/* Tarjetas de servicio */
.service-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 60px;
}

.service-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: rgba(12, 18, 32, 0.7);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(0, 157, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    text-align: center;
    transform: translateY(50px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.3s;
}

/* Animación de entrada de las tarjetas */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:nth-child(2) {
    animation-delay: 0.6s;
}

.service-card:nth-child(3) {
    animation-delay: 0.9s;
}

/* Hover de las tarjetas */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 157, 255, 0.3);
}

/* Etiqueta destacada */
.service-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: rgba(0, 157, 255, 0.9);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.service-badge.highlight {
    background-color: var(--color-magenta);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.service-card:hover .service-badge {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Icono del servicio */
.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-icon img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(0, 157, 255, 0.3));
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card:hover .service-icon img {
    filter: drop-shadow(0 0 10px rgba(0, 157, 255, 0.6));
}

/* Título del servicio */
.service-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--color-text);
}

/* Descripción del servicio */
.service-description {
    font-size: 0.95rem;
    color: var(--color-gray-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Enlace del servicio */
.service-link {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(0, 157, 255, 0.1);
    border: 1px solid rgba(0, 157, 255, 0.3);
    border-radius: 30px;
    color: var(--color-blue);
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    background-color: var(--color-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 157, 255, 0.3);
}

/* Animación de destello para el servicio activo */
.service-card.active {
    border-color: var(--color-blue);
    box-shadow: 0 15px 30px rgba(0, 157, 255, 0.15);
    animation: highlightCard 2s infinite;
}

@keyframes highlightCard {
    0% { box-shadow: 0 15px 30px rgba(0, 157, 255, 0.15); }
    50% { box-shadow: 0 15px 30px rgba(0, 157, 255, 0.3); }
    100% { box-shadow: 0 15px 30px rgba(0, 157, 255, 0.15); }
}

/* Responsive */
@media (max-width: 768px) {
    .service-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .service-card {
        width: 100%;
        max-width: 100%;
    }
    
    .progress-marker .marker-label {
        font-size: 0.8rem;
    }
}
