/* Пред-футер стилі */
.prefooter {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    margin-top: 40px;
    padding: 30px 0;
}

.prefooter-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.accordion {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #e9ecef;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    background: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.accordion-header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.accordion-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.accordion-header:hover {
    background: #f8f9fa;
    color: #007bff;
}

.accordion-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
    color: #6c757d;
}

.accordion-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: #6c757d;
    margin-top: 4px;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
    color: #007bff;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-content.show {
    max-height: 1070px;
    padding: 0 24px 24px 24px;
}

.accordion-body {
    padding-top: 8px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 12px;
}

.info-item {
    padding: 18px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-item h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
}

.info-item p {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

.info-link {
    color: #007bff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #007bff;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.info-link:hover {
    background: #007bff;
    color: white;
    transform: translateY(-1px);
}

/* Адаптивність */
@media (max-width: 768px) {
    .prefooter {
        margin-top: 30px;
        padding: 20px 0;
    }
    
    .prefooter-container {
        padding: 0 15px;
    }
    
    .accordion-header {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .accordion-content.show {
        padding: 0 20px 20px 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .info-item {
        padding: 14px;
    }
}
