/* Стилі для блоку кроків лікування */

/* Заголовок секції */
.steps-header {
    text-align: center;
    margin-bottom: 80px;
}

.steps-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 24px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.steps-title span {
    color: #24B4E3;
}

.steps-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #24B4E3;
    margin: 24px auto 0;
}

.steps-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
    max-width: 600px;
    margin: 30px auto 0;
}

/* Grid для кроків */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Карточка кроку */
.step-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #24B4E3, #1e9bc9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-item:hover::before {
    opacity: 1;
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Номер кроку */
.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #24B4E3, #1e9bc9);
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(36, 180, 227, 0.3);
}

.step-item:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(36, 180, 227, 0.4);
}

/* Заголовок кроку */
.step-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 15px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.step-item:hover .step-title {
    color: #24B4E3;
}

/* Опис кроку */
.step-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.step-item:hover .step-description {
    color: #555555;
}

/* Responsive стилі */
@media (max-width: 1024px) {
    .steps-title {
        font-size: 3rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .step-item {
        padding: 35px 25px;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 24px;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .steps-section {
        padding: 80px 0;
    }
    
    .steps-title {
        font-size: 2.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .step-item {
        padding: 30px 20px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .step-title {
        font-size: 18px;
    }
    
    .step-description {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .steps-header {
        margin-bottom: 60px;
    }
    
    .steps-title {
        font-size: 2rem;
    }
    
    .step-item {
        padding: 25px 15px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .step-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .step-description {
        font-size: 14px;
    }
} 