/* Стили для страницы документов */

/* Герой-секция документов */
.docs-hero {
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.docs-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.docs-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Секция с документами */
.documents-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #333;
    font-weight: 700;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.document-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.document-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.document-icon i {
    font-size: 2rem;
    color: white;
}

.document-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.document-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.document-card .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Стили для кнопок "Открыть документ" - всегда видимые */
.document-card .btn-secondary {
    background-color: #4361ee;
    color: white;
    border: 2px solid #4361ee;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: auto;
}

.document-card .btn-secondary:hover {
    background-color: #3a0ca3;
    border-color: #3a0ca3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.document-card .btn-secondary i {
    font-size: 0.9rem;
}

/* Информационные карточки */
.documents-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-card i {
    font-size: 2rem;
    color: #4361ee;
    margin-top: 0.25rem;
}

.info-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #333;
    font-weight: 600;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Призыв к действию */
.cta {
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
    .docs-hero {
        padding: 3rem 0;
    }
    
    .docs-hero h1 {
        font-size: 2rem;
    }
    
    .docs-hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .documents-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .documents-info {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .cta {
        padding: 3rem 1rem;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .docs-hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .document-card {
        padding: 1.5rem;
    }
    
    .document-icon {
        width: 70px;
        height: 70px;
    }
    
    .document-icon i {
        font-size: 1.8rem;
    }
    
    .document-card h3 {
        font-size: 1.3rem;
    }
    
    .document-card .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}