﻿.privacy-page {
    --pp-navy: #1a2744;
    --pp-navy-mid: #263660;
    --pp-accent: #c8963e;
    --pp-accent-light: #e8b96a;
    --pp-cream: #faf8f4;
    --pp-warm-white: #ffffff;
    --pp-text: #2c2c2c;
    --pp-text-muted: #6b6b6b;
    --pp-border: #e2ddd6;
    --pp-rule: #d4cfc7;
    background: #F0F4F7;
    color: var(--pp-text);
    font-weight: 300;
    line-height: 1.75;
    font-size: 16px;
}

    /* ─── HEADER ─── */
    .privacy-page .pp-header {
        background: var(--pp-navy);
        color: white;
        padding: 56px 0 48px;
        position: relative;
        overflow: hidden;
    }

        .privacy-page .pp-header::before {
            content: '';
            position: absolute;
            top: -60px;
            right: -60px;
            width: 320px;
            height: 320px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(200,150,62,0.18) 0%, transparent 70%);
        }

        .privacy-page .pp-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, transparent, var(--pp-accent), transparent);
        }

    .privacy-page .header-inner {
        max-width: 860px;
        margin: 0 auto;
        padding: 0 40px;
        position: relative;
    }

    .privacy-page .header-label {
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--pp-accent-light);
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .privacy-page .header-label::before {
            content: '';
            display: inline-block;
            width: 28px;
            height: 1px;
            background: var(--pp-accent);
        }

    .privacy-page .pp-header h1 {
        font-size: clamp(26px, 4vw, 40px);
        font-weight: 600;
        line-height: 1.2;
        color: white;
        margin-bottom: 12px;
    }

        .privacy-page .pp-header h1 em {
            color: var(--pp-accent-light);
            font-style: normal;
        }

    .privacy-page .header-sub {
        font-size: 14px;
        color: rgba(255,255,255,0.55);
        font-weight: 300;
        margin-top: 6px;
    }

    /* ─── META BAR ─── */
    .privacy-page .meta-bar {
        background: var(--pp-warm-white);
        border-bottom: 1px solid var(--pp-border);
        padding: 14px 0;
    }

    .privacy-page .meta-inner {
        max-width: 860px;
        margin: 0 auto;
        padding: 0 40px;
        display: flex;
        gap: 32px;
        flex-wrap: wrap;
    }

    .privacy-page .meta-item {
        font-size: 12px;
        color: var(--pp-text-muted);
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .privacy-page .meta-item strong {
            color: var(--pp-text);
            font-weight: 500;
        }

    .privacy-page .meta-dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--pp-accent);
        flex-shrink: 0;
    }

    /* ─── TOC ─── */
    .privacy-page .toc-wrapper {
        max-width: 860px;
        margin: 40px auto 0;
        padding: 0 40px;
    }

    .privacy-page .toc {
        background: var(--pp-warm-white);
        border: 1px solid var(--pp-border);
        border-left: 3px solid var(--pp-accent);
        padding: 28px 32px;
        border-radius: 2px;
    }

    .privacy-page .toc-title {
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: var(--pp-navy);
        margin-bottom: 16px;
    }

    .privacy-page .toc ol {
        list-style: none;
        columns: 2;
        column-gap: 32px;
        margin: 0;
        padding: 0;
    }

@media (max-width: 600px) {
    .privacy-page .toc ol {
        columns: 1;
    }
}

.privacy-page .toc li {
    margin-bottom: 6px;
    break-inside: avoid;
}

.privacy-page .toc a {
    font-size: 13px;
    color: var(--pp-navy-mid);
    text-decoration: none;
    font-weight: 400;
    display: flex;
    align-items: baseline;
    gap: 8px;
    transition: color 0.2s;
}

    .privacy-page .toc a:hover {
        color: var(--pp-accent);
    }

.privacy-page .toc-num {
    font-size: 11px;
    color: var(--pp-accent);
    font-weight: 500;
    min-width: 18px;
}

/* ─── MAIN CONTENT ─── */
.privacy-page .pp-main {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.privacy-page .pp-section {
    margin-top: 56px;
    padding-top: 56px;
    border-top: 1px solid var(--pp-rule);
    opacity: 0;
    transform: translateY(18px);
    animation: ppFadeUp 0.5s ease forwards;
}

    .privacy-page .pp-section:nth-child(1) {
        animation-delay: 0.05s;
    }

    .privacy-page .pp-section:nth-child(2) {
        animation-delay: 0.10s;
    }

    .privacy-page .pp-section:nth-child(3) {
        animation-delay: 0.15s;
    }

    .privacy-page .pp-section:nth-child(4) {
        animation-delay: 0.20s;
    }

    .privacy-page .pp-section:nth-child(5) {
        animation-delay: 0.25s;
    }

    .privacy-page .pp-section:nth-child(6) {
        animation-delay: 0.30s;
    }

    .privacy-page .pp-section:nth-child(7) {
        animation-delay: 0.35s;
    }

    .privacy-page .pp-section:nth-child(8) {
        animation-delay: 0.40s;
    }

    .privacy-page .pp-section:nth-child(9) {
        animation-delay: 0.45s;
    }

    .privacy-page .pp-section:nth-child(10) {
        animation-delay: 0.50s;
    }

    .privacy-page .pp-section:nth-child(11) {
        animation-delay: 0.55s;
    }

    .privacy-page .pp-section:nth-child(12) {
        animation-delay: 0.60s;
    }

@keyframes ppFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.privacy-page .section-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}

.privacy-page .section-num {
    font-size: 36px;
    font-weight: 600;
    color: var(--pp-accent);
    line-height: 1;
    min-width: 42px;
    opacity: 0.75;
}

.privacy-page .pp-section h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--pp-navy);
    line-height: 1.25;
    padding-top: 6px;
}

.privacy-page .pp-section h3 {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pp-navy-mid);
    margin: 28px 0 10px;
}

.privacy-page .pp-section p {
    font-size: 15px;
    color: var(--pp-text);
    margin-bottom: 14px;
    line-height: 1.8;
}

.privacy-page .pp-section ul {
    list-style: none;
    margin: 12px 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .privacy-page .pp-section ul li {
        font-size: 15px;
        line-height: 1.7;
        padding-left: 20px;
        position: relative;
        color: var(--pp-text);
    }

        .privacy-page .pp-section ul li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 11px;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--pp-accent);
            opacity: 0.7;
        }

/* ─── CALLOUT BOX ─── */
.privacy-page .callout {
    background: var(--pp-warm-white);
    border: 1px solid var(--pp-border);
    border-left: 3px solid var(--pp-navy-mid);
    padding: 20px 24px;
    margin: 20px 0;
    border-radius: 2px;
}

    .privacy-page .callout p {
        margin-bottom: 0;
        font-size: 14px;
        color: var(--pp-text-muted);
    }

    .privacy-page .callout strong {
        color: var(--pp-navy);
    }

/* ─── INFO GRID ─── */
.privacy-page .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

@media (max-width: 580px) {
    .privacy-page .info-grid {
        grid-template-columns: 1fr;
    }
}

.privacy-page .info-card {
    background: var(--pp-warm-white);
    border: 1px solid var(--pp-border);
    padding: 16px 20px;
    border-radius: 2px;
}

    .privacy-page .info-card .label {
        font-size: 11px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--pp-accent);
        margin-bottom: 4px;
    }

    .privacy-page .info-card .value {
        font-size: 14px;
        color: var(--pp-navy);
        font-weight: 400;
        line-height: 1.5;
    }

/* ─── BASE GIURIDICA CARDS ─── */
.privacy-page .basis-block {
    background: var(--pp-warm-white);
    border: 1px solid var(--pp-border);
    padding: 20px 24px 20px 52px;
    margin-bottom: 14px;
    border-radius: 2px;
    position: relative;
}

    .privacy-page .basis-block::before {
        content: attr(data-letter);
        position: absolute;
        left: 18px;
        top: 18px;
        font-size: 22px;
        font-weight: 600;
        color: var(--pp-accent);
        opacity: 0.6;
        line-height: 1;
    }

    .privacy-page .basis-block .basis-title {
        font-size: 14px;
        font-weight: 500;
        color: var(--pp-navy);
        margin-bottom: 4px;
    }

    .privacy-page .basis-block p {
        font-size: 13.5px;
        margin-bottom: 6px;
        color: var(--pp-text-muted);
    }

        .privacy-page .basis-block p:last-child {
            margin-bottom: 0;
        }

.privacy-page .basis-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    background: rgba(26,39,68,0.07);
    color: var(--pp-navy-mid);
    border-radius: 20px;
    margin-top: 6px;
}

/* ─── RETENTION TABLE ─── */
.privacy-page .retention-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

    .privacy-page .retention-table th {
        background: var(--pp-navy);
        color: white;
        font-weight: 500;
        text-align: left;
        padding: 12px 16px;
        font-size: 12px;
        letter-spacing: 0.05em;
    }

    .privacy-page .retention-table td {
        padding: 12px 16px;
        border-bottom: 1px solid var(--pp-border);
        vertical-align: top;
        line-height: 1.6;
    }

    .privacy-page .retention-table tr:nth-child(even) td {
        background: rgba(250,248,244,0.6);
    }

    .privacy-page .retention-table td:first-child {
        font-weight: 500;
        color: var(--pp-navy-mid);
        white-space: nowrap;
    }

/* ─── RIGHTS GRID ─── */
.privacy-page .rights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px 0;
}

@media (max-width: 580px) {
    .privacy-page .rights-grid {
        grid-template-columns: 1fr;
    }
}

.privacy-page .right-item {
    background: var(--pp-warm-white);
    border: 1px solid var(--pp-border);
    padding: 14px 16px;
    border-radius: 2px;
}

    .privacy-page .right-item .right-name {
        font-size: 13px;
        font-weight: 500;
        color: var(--pp-navy);
        margin-bottom: 4px;
    }

    .privacy-page .right-item .right-art {
        font-size: 11px;
        color: var(--pp-accent);
        font-weight: 500;
        margin-bottom: 6px;
    }

    .privacy-page .right-item p {
        font-size: 12.5px;
        color: var(--pp-text-muted);
        margin-bottom: 0;
        line-height: 1.5;
    }

/* ─── FOOTER ─── */
.privacy-page .pp-footer {
    background: var(--pp-navy);
    color: rgba(255,255,255,0.6);
    padding: 40px 0;
    margin-top: 80px;
}

.privacy-page .footer-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}

.privacy-page .footer-brand {
    font-size: 20px;
    color: white;
    font-weight: 600;
    margin-bottom: 6px;
}

.privacy-page .footer-info {
    font-size: 13px;
    line-height: 1.8;
}

.privacy-page .footer-contacts {
    font-size: 13px;
    line-height: 2;
    text-align: right;
}

    .privacy-page .footer-contacts a {
        color: var(--pp-accent-light);
        text-decoration: none;
    }

        .privacy-page .footer-contacts a:hover {
            color: white;
        }

.privacy-page .footer-line {
    max-width: 860px;
    margin: 28px auto 0;
    padding: 16px 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 11px;
    color: rgba(255,255,255,0.3);
}

@media (max-width: 640px) {
    .privacy-page .header-inner,
    .privacy-page .meta-inner,
    .privacy-page .toc-wrapper,
    .privacy-page .pp-main,
    .privacy-page .footer-inner,
    .privacy-page .footer-line {
        padding-left: 24px;
        padding-right: 24px;
    }

    .privacy-page .footer-contacts {
        text-align: left;
    }
}
