/* Секция "3 простых шага" - процесс рефинансирования */
.refinancing-steps {
    background-color: #f5f5f7;
    padding: 80px 20px;
}

.steps-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Бейдж "3 ПРОСТЫХ ШАГА" */
.steps-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50px;
    padding: 8px 16px;
    margin-bottom: 24px;
}

.steps-badge-dot {
    width: 8px;
    height: 8px;
    background: #4A90E2;
    border-radius: 50%;
}

.steps-badge-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4A90E2;
}

/* Главный заголовок */
.steps-main-title {
    font-family: 'Inter', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 60px;
    max-width: 800px;
}

/* Сетка карточек */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Базовая карточка */
.step-card {
    position: relative;
    padding: 40px 32px;
    border-radius: 24px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.step-card:hover {
    transform: translateY(-4px);
}

/* Белые карточки */
.step-card-white {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.step-card-white:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Синяя карточка-кнопка */
.step-card-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-card-blue:hover {
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4);
    transform: translateY(-6px);
}

.step-card-blue:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

/* Дополнительные стили для интерактивности */
.step-card-blue * {
    pointer-events: none; /* Предотвращает проблемы с кликом на дочерние элементы */
}

/* Заголовки шагов */
.step-title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 16px;
}

/* Описание шагов */
.step-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    line-height: 1.5;
    margin-bottom: auto;
}

/* Номера шагов */
.step-number {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #2563eb;
    margin-top: auto;
    padding-top: 24px;
}

/* Заголовок CTA на синей карточке */
.step-cta-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

/* Иконка стрелки на синей карточке */
.step-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: #ffffff;
    border-radius: 16px;
    color: #2563eb;
    margin-left: auto;
}

.step-cta-icon svg {
    width: 28px;
    height: 28px;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .steps-main-title {
        font-size: 48px;
    }
    
    .step-card {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .refinancing-steps {
        padding: 60px 20px;
    }
    
    .steps-main-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .step-card {
        padding: 32px 24px;
        min-height: 240px;
    }
    
    .step-title {
        font-size: 24px;
    }
    
    .step-description {
        font-size: 15px;
    }
    
    .step-number {
        font-size: 40px;
    }
    
    .step-cta-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .steps-main-title {
        font-size: 28px;
    }
    
    .step-title {
        font-size: 20px;
    }
    
    .step-number {
        font-size: 32px;
    }
    
    .step-cta-title {
        font-size: 24px;
    }
    
    .step-cta-icon {
        width: 48px;
        height: 48px;
    }
    
    .step-cta-icon svg {
        width: 24px;
        height: 24px;
    }
}
