/* ============================================
   СТИЛИ ЮРИДИЧЕСКИХ СТРАНИЦ
   Оферта и подобные
   ============================================ */

.legal-header {
    min-height: 280px;
}

.legal-page {
    padding-bottom: 40px;
}

.legal-content {
    max-width: 850px;
    margin: 0 auto;
}

/* Дата публикации */
.legal-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--cosmic-border);
}

/* Вступление */
.legal-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
    padding: 25px;
    background: var(--cosmic-surface);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--gold);
}

/* Секции */
.legal-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--cosmic-border);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: hsl(222, 47%, 18%);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.legal-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.legal-section ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

.legal-section ul li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Таблица реквизитов */
.requisites {
    margin-top: 15px;
}

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

.requisites th,
.requisites td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--cosmic-border);
    font-size: 0.95rem;
}

.requisites th {
    width: 280px;
    font-weight: 600;
    color: hsl(222, 47%, 18%);
    background: var(--cosmic-surface);
    vertical-align: top;
}

.requisites td {
    color: var(--text-light);
    line-height: 1.5;
}

@media (max-width: 600px) {
    .requisites th,
    .requisites td {
        display: block;
        width: 100%;
        padding: 10px 15px;
    }
    
    .requisites th {
        padding-bottom: 4px;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-muted);
    }
    
    .requisites td {
        padding-top: 4px;
        padding-bottom: 18px;
    }
}

/* CTA внизу */
.legal-cta {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, hsl(222, 47%, 18%), #1a2a3a);
    border-radius: var(--radius-md);
    color: var(--cosmic-card);
    margin-top: 50px;
}

.legal-cta p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 25px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .legal-content {
        padding: 0 5px;
    }
    
    .legal-section h2 {
        font-size: 1.15rem;
    }
    
    .legal-intro {
        padding: 20px;
        font-size: 0.95rem;
    }
    
    .legal-cta {
        padding: 30px 20px;
    }
    
    .legal-cta p {
        font-size: 0.95rem;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .btn-cta {
        justify-content: center;
    }
}
