/* Legal Pages Styles */

.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: calc(100vh - 300px);
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.legal-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.legal-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content section {
    margin-bottom: 48px;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.legal-content h3 {
    font-size: 1.15rem;
    color: var(--text-main);
    margin: 24px 0 12px;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 10px;
}

.legal-content li::marker {
    color: var(--primary-color);
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    text-decoration: none;
}

/* Highlight Boxes */
.legal-highlight {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 20px 0;
}

.legal-highlight p {
    margin-bottom: 8px;
}

.legal-highlight p:last-child {
    margin-bottom: 0;
}

.legal-highlight ul {
    margin: 0;
}

.legal-highlight.success {
    background: #ECFDF5;
    border-color: #A7F3D0;
}

.legal-highlight.success li::marker {
    color: #10B981;
}

.legal-highlight.warning {
    background: #FEF3C7;
    border-color: #FDE68A;
}

.legal-highlight.warning li::marker {
    color: #F59E0B;
}

/* Contacts Page Specific */
.contacts-page {
    max-width: 900px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.contact-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.contact-link:hover {
    text-decoration: underline !important;
}

.contact-info {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Requisites Table */
.requisites-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    overflow-x: auto;
}

.requisites-table {
    width: 100%;
    border-collapse: collapse;
}

.requisites-table td {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.requisites-table tr:last-child td {
    border-bottom: none;
}

.requisites-table td:first-child {
    font-weight: 500;
    color: var(--text-main);
    width: 180px;
    padding-right: 24px;
}

/* Legal Documents Grid */
.legal-docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.legal-doc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.2s;
    text-decoration: none !important;
}

.legal-doc-link:hover {
    border-color: var(--primary-color);
    background: white;
}

.legal-doc-link i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.legal-doc-link span {
    font-weight: 500;
    color: var(--text-main);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 100px;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.3rem;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .legal-docs-grid {
        grid-template-columns: 1fr;
    }

    .requisites-table td:first-child {
        width: auto;
        display: block;
        padding-bottom: 4px;
        font-size: 0.85rem;
    }

    .requisites-table td:last-child {
        display: block;
        padding-top: 0;
    }

    .requisites-table tr {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .requisites-table tr:last-child {
        border-bottom: none;
    }

    .requisites-table td {
        border-bottom: none;
        padding: 0;
    }
}

