/* ================================================================
   privacy.css — Stili specifici della pagina Privacy Policy
   Studio Rosas
================================================================ */

/* ── Riusa gli stili del page-hero da contatti ── */
.page-hero {
    background: var(--secondary);
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: var(--primary);
    opacity: 0.12;
    border-radius: 50%;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.page-hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    max-width: 500px;
    line-height: 1.7;
}

/* ================================================================
   LAYOUT CONTENUTO
================================================================ */
.privacy-content {
    padding: 5rem 0 6rem;
    background: var(--light);
}

.privacy-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 4rem;
    align-items: start;
}

/* ================================================================
   INDICE LATERALE STICKY
================================================================ */
.privacy-nav {
    position: sticky;
    top: 90px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-left: 3px solid var(--primary);
}

.privacy-nav-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.privacy-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.privacy-nav ul li a {
    font-size: 0.82rem;
    color: var(--text-gray);
    display: block;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s, padding-left 0.2s;
    line-height: 1.4;
}

.privacy-nav ul li:last-child a {
    border-bottom: none;
}

.privacy-nav ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* ================================================================
   CORPO DEL TESTO
================================================================ */
.privacy-body {
    background: var(--white);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.privacy-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.privacy-aggiornamento {
    font-size: 0.82rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.privacy-aggiornamento i {
    color: var(--primary);
}

.privacy-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
    scroll-margin-top: 90px;
}

.privacy-body h2:first-of-type {
    margin-top: 0;
}

.privacy-body p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.privacy-body ul {
    list-style: none;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.privacy-body ul li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
    padding-left: 1.25rem;
    position: relative;
}

.privacy-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

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

.privacy-body a:hover {
    color: var(--primary-dark);
}

/* Box evidenziato per dati del titolare */
.privacy-box {
    background: var(--light);
    border: 1px solid #e0e0e0;
    border-left: 3px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 1rem 0 1.5rem;
    font-size: 0.92rem;
    line-height: 2;
    color: var(--dark);
}

.privacy-box i {
    color: var(--primary);
    margin-right: 0.4rem;
    width: 16px;
}

/* Bottone torna ai contatti */
.privacy-back {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: gap 0.2s ease;
}

.btn-back:hover {
    gap: 1rem;
}

/* ================================================================
   FOOTER — stesso stile delle altre pagine
================================================================ */
.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-about {
    font-size: 0.88rem;
    line-height: 1.7;
    opacity: 0.7;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.footer-col p,
.footer-col ul li {
    font-size: 0.88rem;
    line-height: 2;
    opacity: 0.75;
}

.footer-col p i {
    margin-right: 0.5rem;
    color: var(--primary);
    opacity: 1;
}

.footer-col a:hover {
    color: var(--primary);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.82rem;
    opacity: 0.6;
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: var(--primary);
    opacity: 1;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 900px) {
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .privacy-nav {
        position: static;
    }
}

@media (max-width: 600px) {
    .privacy-body {
        padding: 1.75rem 1.25rem;
    }

    .page-hero {
        padding: 3rem 0 2.5rem;
    }
}
