/* Services guide  */

.services-guide {
    width: 99vw;
    margin: 0 auto;
    padding: 60px 5%;
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: #333;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-sizing: border-box;
    position: relative;
}

.services-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
    opacity: 0.3;
    z-index: 0;
}

.services-guide > * {
    position: relative;
    z-index: 1;
}

.services-guide h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--color-gray);
    /*color: #2c3e50;*/
    font-weight: 700;
    /*text-transform: uppercase;*/
    letter-spacing: 1px;
}

.subtitle {
    text-align: center;
    font-size: clamp(16px, 1.1rem, 20px);
    color: #6c757d;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.home-steps-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.home-step {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background: white;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.home-step::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-success));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.home-step-left {
    transform: translateX(-20vw);
}

.home-step-right {
    transform: translateX(20vw);
}

.home-step.show {
    opacity: 1;
    transform: translateX(0) !important;
}

.home-step.show::after {
    transform: scaleX(1);
}

.home-step:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.home-step-number {
    width: 60px;
    height: 60px;
    background: var(--color-success);
    /*background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-success) 100%);*/
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.home-step:hover .home-step-number {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.home-step h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--color-gray);
    /*color: #2c3e50;*/
    transition: color 0.3s ease;
    font-weight: 600;
}

.home-step:hover h3 {
    color: var(--color-yellow);
}

.home-step p {
    font-size: 16px;
    line-height: 1.7;
    color: #6c757d;
    transition: color 0.3s ease;
}

.home-step:hover p {
    color: #495057;
}

@media (max-width: 768px) {
    .services-guide {
        padding: 40px 20px;
    }

    .services-guide h2 {
        font-size: 1.6rem;
    }
    .home-step {
        min-width: 100%;
    }

    .home-step-left, .home-step-right {
        transform: translateY(50px);
    }

    .home-step.show {
        transform: translateY(0) !important;
    }
}

/* Fin Services guide  */
