/* Дополнительные стили для внутренних страниц */

.page-title {
    font-size: 44px;
    font-weight: 800;
    text-align: center;
    margin: 48px 0 40px;
    color: var(--gray-900);
    letter-spacing: -0.5px;
}

.about-section {
    margin-bottom: 64px;
}

.about-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.about-content p {
    margin-bottom: 16px;
}

.info-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--gray-100);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.info-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

.info-table {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.info-row {
    display: flex;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row:hover {
    background: var(--gray-50);
}

.info-label {
    flex: 0 0 35%;
    font-weight: 600;
    color: var(--gray-900);
    font-size: 14px;
}

.info-value {
    flex: 1;
    color: var(--gray-600);
    font-size: 14px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.news-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.news-item__date {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-item__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.news-item__text {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 15px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.document-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.document-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.document-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.document-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.4;
}

.document-card p {
    color: var(--gray-500);
    margin-bottom: 20px;
    font-size: 14px;
}

.documents-section {
    padding: 60px 0;
}

.btn--small {
    padding: 10px 20px;
    font-size: 14px;
}

.contact-info {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.contact-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 20px 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 14px;
}

.contact-form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.contact-form h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
        margin: 32px 0 24px;
    }
    
    .info-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .info-label {
        flex: none;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
}

/* Разворачивающиеся новости */
.news-expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, padding 0.4s ease;
    opacity: 0;
    padding: 0;
}

.news-expand-content.expanded {
    opacity: 1;
    padding-top: 16px;
}

.news-expand-content p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 15px;
    white-space: pre-line;
    margin: 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.news-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.news-expand-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.news-expand-btn .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 12px;
}

.news-expand-btn.active {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.news-expand-btn.active .arrow {
    transform: rotate(180deg);
}

/* Контакты на странице О нас */
.about-contacts .consultation {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
}

.about-contacts .consultation__wrapper {
    flex-direction: column;
    gap: 32px;
    padding: 0 40px;
}

.about-contacts .consultation__content {
    text-align: center;
}

.about-contacts .consultation__form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.about-contacts .consultation__input {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .about-contacts .consultation__wrapper {
        padding: 0 20px;
    }
}
