/* Секции */
.eligibility-section,
.lenders-section,
.credit-types,
.documents-section,
.alternatives-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #eee;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0;
    color: var(--primary);
    position: relative;
}

.section-header h2::after {
    content: none;
}

.section-header i {
    font-size: 2rem;
    color: var(--secondary);
}

.benefit-list {
    padding-left: 1.5rem;
}

.benefit-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.benefit-list i {
    color: var(--secondary);
    margin-top: 5px;
}

/* Кредиторы */
.lenders-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: start; /* Добавляем выравнивание по верхнему краю */
}

.lenders-category {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 3px solid var(--secondary);
    height: 100%; /* Занимаем всю высоту контейнера */
    display: flex; /* Добавляем flex */
    flex-direction: column; /* Столбцовая организация */
}

.lenders-category h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
    flex-shrink: 0; /* Запрещаем сжатие заголовка */
}

.lenders-list {
    padding-left: 1.5rem;
    flex-grow: 1; /* Занимаем всё доступное пространство */
}

.lenders-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start; /* Выравнивание по верхнему краю */
    gap: 10px;
}

.lenders-list i {
    color: var(--secondary);
    min-width: 20px;
    flex-shrink: 0; /* Фиксируем ширину иконки */
    margin-top: 3px; /* Точная вертикальная настройка */
}

/* Для текста с переносами внутри пунктов */
.lenders-list li > span {
    display: inline-block;
    vertical-align: top;
}

/* Особенно для правого блока с фондами */
.lenders-category:last-child .lenders-list li {
    flex-wrap: wrap; /* Разрешаем переносы */
}

.lenders-category:last-child .lenders-list li > span {
    flex: 1 1 100%; /* Текст на всю ширину */
    margin-top: 0.2rem; /* Отступ для дополнительных строк */
}

/* Таблица кредитов */
.credit-table {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.table-header {
    display: flex;
    background-color: var(--secondary);
    color: white;
    font-weight: bold;
}

.table-header div {
    flex: 1;
    padding: 15px;
    text-align: center;
}

.table-row {
    display: flex;
    border-bottom: 1px solid #eee;
    background-color: white;
    transition: background-color 0.3s;
}

.table-row:hover {
    background-color: #f9f9f9;
}

.table-row div {
    flex: 1;
    padding: 15px;
    text-align: center;
}

/* Документы */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.document-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--light);
}

.document-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.document-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.document-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
}

/* Альтернативы */
.alternatives-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.alternative-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid var(--secondary);
}

.alternative-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.alternative-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.alternative-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Призыв к действию */
.business-cta {
    background-color: rgba(236, 240, 241, 0.5);
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid #e0e6ff;
    position: relative;
    padding-bottom: 100px;
    margin-bottom: 3rem;
}

.cta-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.cta-left, .cta-right {
    flex: 1;
}

.business-cta h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.cta-questions li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-questions i {
    color: var(--secondary);
}

.help-card {
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #d1e7ff;
}

.help-card h4 {
    color: var(--secondary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.help-card ul {
    padding-left: 0;
}

.help-card li {
    margin-bottom: 0.8rem;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.help-card li i {
    color: #27ae60;
    margin-top: 4px;
    font-size: 1.1rem;
}

.cta-btn-container {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    margin-top: 0;
}

.cta-btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
    cursor: pointer;
    text-align: center;
    font-size: 1.05rem;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.cta-btn:hover {
    background-color: transparent;
    color: var(--accent);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}


/* Адаптивность */
@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .business-cta {
        padding-bottom: 120px;
    }
    .cta-btn-container {
        width: 100%;
        padding: 0 20px;
    }
    .cta-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .table-header, .table-row {
        flex-direction: column;
    }
    
    .table-header div, 
    .table-row div {
        padding: 10px;
        text-align: left;
        border-bottom: 1px solid #eee;
    }
    
    .table-header div:last-child,
    .table-row div:last-child {
        border-bottom: none;
    }
}