.legal-page {
    padding-top: 0;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: 1;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&q=80') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, 
        rgba(26, 31, 46, 0.95) 0%, 
        rgba(26, 31, 46, 0.85) 50%,
        rgba(19, 23, 34, 0.95) 85%, 
        #131722 100%
    );
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #131722 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
    padding: 140px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(201, 169, 98, 0.15);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #c9a962;
    margin-bottom: 24px;
}

.badge-icon {
    display: flex;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(var(--text-main-rgb), 0.75);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.section-dark {
    background: #131722;
}

.section-alt {
    background: #1a1f2e;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.2;
}

.risks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.risk-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
}

.risk-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 16px;
    color: #c9a962;
    margin-bottom: 24px;
}

.risk-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

.risk-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: rgba(201, 169, 98, 0.08);
    border-radius: 10px;
}

.risk-label {
    font-size: 13px;
    color: rgba(var(--text-main-rgb), 0.6);
}

.risk-value {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #c9a962;
}

.risk-desc {
    font-size: 15px;
    color: rgba(var(--text-main-rgb), 0.65);
    line-height: 1.7;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.comparison-col {
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
}

.comparison-col.allowed {
    border-color: rgba(76, 175, 80, 0.3);
}

.comparison-col.forbidden {
    border-color: rgba(244, 67, 54, 0.3);
}

.comparison-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

.allowed-title {
    color: #81c784;
}

.forbidden-title {
    color: #e57373;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: rgba(var(--text-main-rgb), 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-note {
    text-align: center;
    font-size: 15px;
    color: rgba(var(--text-main-rgb), 0.6);
    margin-top: 32px;
    padding: 20px;
    background: rgba(201, 169, 98, 0.05);
    border-radius: 12px;
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.step-item {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-align: center;
    position: relative;
}

.step-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, rgba(201, 169, 98, 0.5), transparent);
}

.step-item:last-child::after {
    display: none;
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c9a962 0%, #d4b872 100%);
    border-radius: 50%;
    color: #1a1f2e;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 16px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.3;
}

.step-desc {
    font-size: 13px;
    color: rgba(var(--text-main-rgb), 0.6);
    line-height: 1.5;
    margin-bottom: 12px;
}

.step-yours {
    font-size: 12px;
    color: rgba(var(--text-main-rgb), 0.5);
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.step-yours span {
    color: #c9a962;
    font-weight: 600;
}

.steps-note {
    text-align: center;
    font-size: 14px;
    color: rgba(var(--text-main-rgb), 0.5);
    padding: 16px;
    background: rgba(201, 169, 98, 0.05);
    border-radius: 10px;
}

.prices-table {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.prices-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 20px 32px;
    background: rgba(201, 169, 98, 0.08);
    font-size: 14px;
    font-weight: 600;
    color: #c9a962;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prices-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 20px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 16px;
    color: rgba(var(--text-main-rgb), 0.8);
}

.prices-row:last-child {
    border-bottom: none;
}

.prices-row.highlight {
    background: rgba(201, 169, 98, 0.05);
}

.prices-row .price-value {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #c9a962;
}

.prices-note {
    text-align: center;
    font-size: 14px;
    color: rgba(var(--text-main-rgb), 0.5);
    margin-top: 24px;
}

.special-block {
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.08) 0%, rgba(201, 169, 98, 0.02) 100%);
    border: 1px solid rgba(201, 169, 98, 0.15);
    border-radius: 24px;
    padding: 56px;
    text-align: center;
}

.special-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(201, 169, 98, 0.15);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #c9a962;
    margin-bottom: 24px;
}

.special-block h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

.special-block > p {
    font-size: 17px;
    color: rgba(var(--text-main-rgb), 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.special-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.special-step {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
}

.special-step-num {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c9a962;
    border-radius: 50%;
    color: #1a1f2e;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto 16px;
}

.special-step p {
    font-size: 14px;
    color: rgba(var(--text-main-rgb), 0.7);
    line-height: 1.5;
}

.office-block {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 56px;
}

.office-block h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

.office-block > p {
    font-size: 16px;
    color: rgba(var(--text-main-rgb), 0.7);
    margin-bottom: 32px;
    line-height: 1.7;
}

.office-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.office-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    font-size: 15px;
    color: rgba(var(--text-main-rgb), 0.8);
}

.office-feature svg {
    color: #c9a962;
    flex-shrink: 0;
}

.office-price {
    padding: 20px 24px;
    background: rgba(201, 169, 98, 0.08);
    border-radius: 12px;
    font-size: 16px;
    color: rgba(var(--text-main-rgb), 0.8);
}

.office-price span {
    color: #c9a962;
    font-weight: 600;
}

.case-block {
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.08) 0%, rgba(201, 169, 98, 0.02) 100%);
    border: 1px solid rgba(201, 169, 98, 0.15);
    border-radius: 24px;
    padding: 48px;
}

.case-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(201, 169, 98, 0.15);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #c9a962;
    margin-bottom: 24px;
}

.case-text {
    font-size: 17px;
    color: rgba(var(--text-main-rgb), 0.8);
    margin-bottom: 20px;
}

.case-solution h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.case-solution p {
    font-size: 15px;
    color: rgba(var(--text-main-rgb), 0.7);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-result {
    display: flex;
    gap: 40px;
}

.case-stat {
    flex: 1;
    text-align: center;
    padding: 24px;
    background: rgba(201, 169, 98, 0.08);
    border-radius: 12px;
}

.case-stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: #c9a962;
    line-height: 1;
    margin-bottom: 8px;
}

.case-stat-label {
    font-size: 13px;
    color: rgba(var(--text-main-rgb), 0.6);
    line-height: 1.4;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #c9a962;
}

.faq-question svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #c9a962;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 15px;
    color: rgba(var(--text-main-rgb), 0.7);
    line-height: 1.7;
}

.cta-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #1a1f2e 0%, #131722 50%, #1a1f2e 100%);
    text-align: center;
    position: relative;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.6), transparent);
}

.cta-section::before { top: 0; }
.cta-section::after { bottom: 0; }

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(var(--text-main-rgb), 0.7);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.related-card:hover {
    border-color: rgba(201, 169, 98, 0.3);
    transform: translateY(-4px);
}

.related-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 14px;
    color: #c9a962;
    margin-bottom: 16px;
}

.related-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.related-card p {
    font-size: 14px;
    color: rgba(var(--text-main-rgb), 0.6);
}

@media (max-width: 1024px) {
    .hero {
        min-height: 100dvh;
    }
    .risks-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-timeline {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .step-item:nth-child(3)::after {
        display: none;
    }
    
    .special-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .prices-header,
    .prices-row {
        grid-template-columns: 1.5fr 1fr;
        padding: 16px 20px;
    }
    
    .case-result {
        flex-direction: column;
        gap: 20px;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-content {
        padding: 120px 0 60px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .steps-timeline {
        grid-template-columns: 1fr;
    }
    
    .step-item::after {
        display: none;
    }
    
    .special-block {
        padding: 40px 24px;
    }
    
    .special-block h2 {
        font-size: 28px;
    }
    
    .special-steps {
        grid-template-columns: 1fr;
    }
    
    .office-block {
        padding: 40px 24px;
    }
    
    .office-block h2 {
        font-size: 26px;
    }
    
    .case-block {
        padding: 32px 24px;
    }
    
    .case-stat-value {
        font-size: 36px;
    }
    
    .cta-section {
        padding: 70px 0;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .prices-header span:last-child,
    .prices-row span:last-child {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .special-block h2 {
        font-size: 24px;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
}





.modal-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.modal-desc {
    font-size: 14px;
    color: rgba(var(--text-main-rgb), 0.7);
    margin-bottom: 24px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-form input,
.modal-form textarea {
    padding: 14px 18px;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #c9a962;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
    color: rgba(var(--text-main-rgb), 0.5);
}

.modal-form textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-note {
    font-size: 12px;
    color: rgba(var(--text-main-rgb), 0.5);
    text-align: center;
    margin-top: 16px;
}










