/* ========== PRIVACY PAGE ========== */
.privacy-page {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--theme-bg) 0%, var(--theme-bg-deep) 48%, var(--theme-bg-soft) 100%);
    min-height: 100vh;
    line-height: 1.7;
    color: var(--theme-text);
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: var(--theme-surface-gradient);
    border-radius: var(--theme-radius-xl);
    box-shadow: var(--theme-shadow);
}

.privacy-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--theme-border-strong);
}

.privacy-header h1 {
    color: var(--theme-text-strong);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.privacy-header .date {
    color: var(--theme-text-muted);
    font-size: 1rem;
    margin-bottom: 10px;
}

.privacy-content {
    font-size: 1.05rem;
}

.privacy-page .section {
    margin-bottom: 35px;
    padding: 0;
}

.privacy-page .section h2 {
    color: var(--theme-text-strong);
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--theme-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-page .section h2 i {
    color: var(--theme-accent);
}

.privacy-page .section p {
    margin-bottom: 15px;
    text-align: justify;
}

.privacy-page .section ul,
.privacy-page .section ol {
    margin: 15px 0 15px 30px;
    padding: 0;
}

.privacy-page .section li {
    margin-bottom: 8px;
    padding-left: 10px;
}

.highlight {
    background: var(--theme-surface-gradient-soft);
    padding: 20px;
    border-radius: var(--theme-radius-md);
    border-left: 4px solid var(--theme-accent);
    margin: 20px 0;
}

.highlight-title {
    color: var(--theme-text-strong);
    margin-top: 0;
}

.contact-block {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 28%),
        var(--theme-band);
    color: white;
    padding: 30px;
    border-radius: var(--theme-radius-xl);
    margin-top: 40px;
    text-align: center;
}

.contact-block,
.contact-block p,
.contact-block span,
.contact-block .contact-response-note,
.contact-block .contact-item,
.contact-block .contact-item a,
.contact-block .contact-item span,
.contact-block .contact-item i {
    color: #ffffff;
}

.contact-block h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}

.privacy-page .contact-block .contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.privacy-page .contact-block .contact-response-note {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.privacy-back {
    text-align: center;
    margin-top: 40px;
}

.footer-link-primary {
    color: var(--theme-accent);
    font-weight: 500;
}

.footer-link-muted {
    color: #95a5a6;
}

.privacy-page .contact-block .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 1.1rem;
}

.privacy-page .contact-block .contact-item i {
    font-size: 1.3rem;
}

.privacy-page .contact-block .contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.privacy-page .contact-block .contact-item a:hover {
    text-decoration: underline;
}

.back-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--theme-accent) 0%, var(--theme-accent-strong) 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--theme-radius-sm);
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: linear-gradient(135deg, var(--theme-accent-strong) 0%, #183d5d 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(var(--theme-accent-strong-rgb), 0.18);
}

@media (max-width: 768px) {
    .privacy-container {
        padding: 25px;
        margin: 0 15px;
    }

    .privacy-header h1 {
        font-size: 1.8rem;
    }

    .privacy-page .contact-block .contact-info {
        flex-direction: column;
        gap: 15px;
    }

    .privacy-page .section h2 {
        font-size: 1.3rem;
    }

    table {
        display: block;
        overflow-x: auto;
        width: 100%;
    }
}

/* Стили для таблиц (если будут) */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

table th, table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

table th {
    background: #f8f4ee;
    font-weight: 600;
    color: var(--theme-text-strong);
}

table tr:hover {
    background: #f5f7fa;
}

/* ========== 2026 VISUAL POLISH ========== */
.privacy-page {
    padding: 82px 0 96px;
    background:
        radial-gradient(circle at top left, rgba(var(--theme-accent-rgb), 0.08), transparent 24%),
        radial-gradient(circle at top right, rgba(138, 112, 86, 0.08), transparent 18%),
        linear-gradient(180deg, var(--theme-bg) 0%, var(--theme-bg-deep) 52%, var(--theme-bg-soft) 100%);
    color: var(--theme-text);
}

.privacy-container {
    max-width: 980px;
    padding: 48px 46px;
    border-radius: var(--theme-radius-xl);
    border: 1px solid var(--theme-border);
    background: var(--theme-surface-gradient);
    box-shadow: var(--theme-shadow);
}

.privacy-header {
    margin-bottom: 48px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--theme-border);
}

.privacy-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4.6vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--theme-text-strong);
}

.privacy-header .date,
.privacy-page .section p,
.privacy-page .section li {
    color: var(--theme-text-muted);
}

.privacy-page .section {
    margin-bottom: 24px;
    padding: 28px 28px 24px;
    border-radius: var(--theme-radius-lg);
    background: var(--theme-surface-gradient);
    border: 1px solid var(--theme-border);
    box-shadow: var(--theme-shadow-soft);
}

.privacy-page .section h2 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1.02;
    letter-spacing: -0.015em;
    border-bottom-color: rgba(20, 56, 89, 0.08);
}

.privacy-page .section p {
    text-align: left;
    line-height: 1.8;
}

.highlight {
    border-radius: var(--theme-radius-md);
    background: var(--theme-surface-gradient-soft);
    border: 1px solid var(--theme-border);
    border-left: 0;
}

.contact-block {
    margin-top: 48px;
    border-radius: var(--theme-radius-xl);
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 28%),
        var(--theme-band);
    box-shadow: var(--theme-shadow-strong);
}

.back-btn {
    margin-top: 22px;
    border-radius: 16px;
    padding: 14px 28px;
}

table {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.04);
}

table th {
    background: rgba(234, 243, 251, 0.98);
}

@media (max-width: 768px) {
    .privacy-page {
        padding: 62px 0 78px;
    }

    .privacy-container {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .privacy-page .section {
        padding: 22px 18px 18px;
        border-radius: 20px;
    }

    .privacy-page .section h2 {
        font-size: 1.55rem;
    }
}

/* Unified warm palette overrides */
.privacy-page .section {
    background: var(--theme-surface-gradient);
    border-color: var(--theme-border);
}

.contact-block {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 28%),
        var(--theme-band);
    box-shadow: var(--theme-shadow-strong);
}

/* ========== DESKTOP FINAL PASS ========== */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .privacy-page {
        background:
            radial-gradient(circle at top left, rgba(var(--theme-accent-rgb), 0.08), transparent 24%),
            radial-gradient(circle at 90% 6%, rgba(var(--theme-accent-strong-rgb), 0.06), transparent 18%),
            linear-gradient(180deg, var(--theme-bg) 0%, var(--theme-bg-deep) 46%, var(--theme-bg-soft) 100%);
    }

    .privacy-container,
    .privacy-page .section,
    .highlight,
    table {
        border-color: var(--theme-border);
        box-shadow: var(--theme-shadow);
    }

    .privacy-container,
    .privacy-page .section,
    .highlight {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(239, 245, 250, 0.96));
    }

    .privacy-header {
        border-bottom-color: var(--theme-border);
    }

    .privacy-header h1,
    .privacy-page .section h2 {
        color: var(--theme-text);
    }

    .privacy-header .date,
    .privacy-page .section p,
    .privacy-page .section li {
        color: var(--theme-text-muted);
    }

    .contact-block {
        background: var(--site-desktop-band);
        box-shadow: 0 24px 46px rgba(20, 28, 39, 0.16);
    }

    .back-btn {
        background: linear-gradient(135deg, var(--theme-accent) 0%, var(--theme-accent-strong) 100%);
    }

    .back-btn:hover {
        background: linear-gradient(135deg, var(--theme-accent-strong) 0%, #172c3c 100%);
        box-shadow: 0 14px 24px rgba(31, 57, 79, 0.18);
    }
}

/* ========== FINAL VISUAL PASS ========== */
.privacy-container,
.privacy-page .section,
.highlight,
.contact-block {
    position: relative;
    overflow: hidden;
}

.privacy-container::before,
.privacy-page .section::before,
.contact-block::before {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(var(--theme-accent-rgb), 0.04), rgba(var(--theme-accent-rgb), 0.3), rgba(var(--theme-accent-rgb), 0.04));
    pointer-events: none;
}

.privacy-header .date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--theme-border);
    box-shadow: var(--theme-shadow-soft);
}

.highlight {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.7), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 245, 250, 0.94));
    box-shadow: var(--theme-shadow-soft);
}

.contact-block {
    padding: 34px 36px;
}

table {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 241, 233, 0.96));
}

table th {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 240, 247, 0.92));
}

table tr:hover {
    background: rgba(var(--theme-accent-rgb), 0.045);
}

@media (max-width: 768px) {
    .privacy-container::before,
    .privacy-page .section::before,
    .contact-block::before {
        left: 18px;
        right: 18px;
    }

    .privacy-header .date {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 1100px) {
    .privacy-page > .container {
        display: flex;
        justify-content: center;
    }

    .privacy-container {
        width: min(900px, 100%);
        margin-inline: auto;
    }
}


