/**
 * REI — Pagina Dichiarazione di Accessibilità (Tutela utenti)
 * Quindicesima REI Static Page. Stile documentale leggibile coerente con
 * le altre Tutela utenti.
 *
 * Standing rules applicate:
 * - NO override locale di .rei-underline (eredita animazione globale)
 * - Ombre dual-layer pattern Servizi su box
 * - 14 particelle posizioni standard
 *
 * @since 1.18.0
 */

body.rei-static-page--accessibilita,
body.rei-static-page--dichiarazione-di-accessibilita { background: var(--rei-cream, #F4F8F6); }

.rei-privacy { position: relative; min-height: 60vh; overflow: hidden; padding-bottom: 80px; }
.rei-privacy__container { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

/* ===== SFONDO DECORATIVO ===== */
.rei-privacy__bg { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.rei-privacy__glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(120px); opacity: 0.22; }
.rei-privacy__glow--tl { top: -200px; left: -180px; background: radial-gradient(circle, #20A47B 0%, transparent 70%); }
.rei-privacy__glow--tr { top: -150px; right: -200px; background: radial-gradient(circle, #D1E000 0%, transparent 70%); opacity: 0.16; }
.rei-privacy__glow--bl { bottom: -240px; left: -160px; background: radial-gradient(circle, #D1E000 0%, transparent 70%); opacity: 0.16; }
.rei-privacy__glow--br { bottom: -200px; right: -180px; background: radial-gradient(circle, #20A47B 0%, transparent 70%); }

.rei-privacy__particle { position: absolute; opacity: 0.13; animation: rei-privacy-float 4s ease-in-out infinite; }
.rei-privacy__particle svg { width: 100%; height: 100%; display: block; }
@keyframes rei-privacy-float {
    0%   { transform: scale(0.5) rotate(-6deg); opacity: 0.05; }
    50%  { transform: scale(1.1) rotate(5deg);  opacity: 0.22; }
    100% { transform: scale(0.5) rotate(-6deg); opacity: 0.05; }
}
@media (prefers-reduced-motion: reduce) { .rei-privacy__particle { animation: none; opacity: 0.11; } }

/* 14 particelle posizioni standard */
.rei-privacy__particle--1  { top:  3%; left:  1%; width: 200px; height: 200px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); }
.rei-privacy__particle--2  { top: 11%; right: 2%; width: 225px; height: 225px; color: #D1E000; filter: drop-shadow(0 0 24px rgba(209,224,0,0.5)); }
.rei-privacy__particle--3  { top: 23%; left:  6%; width: 170px; height: 170px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 0.8s; }
.rei-privacy__particle--4  { top: 30%; right: 7%; width: 150px; height: 150px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 1.2s; }
.rei-privacy__particle--5  { top: 40%; left:  2%; width: 190px; height: 190px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 2s; }
.rei-privacy__particle--6  { top:  7%; left: 43%; width: 160px; height: 160px; color: #D1E000; filter: drop-shadow(0 0 24px rgba(209,224,0,0.5)); animation-delay: 0.5s; }
.rei-privacy__particle--7  { top: 51%; right: 3%; width: 215px; height: 215px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 1.5s; }
.rei-privacy__particle--8  { top: 35%; left: 29%; width: 150px; height: 150px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 3s; }
.rei-privacy__particle--9  { top: 61%; left:  8%; width: 180px; height: 180px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 2.2s; }
.rei-privacy__particle--10 { top: 69%; right: 20%; width: 165px; height: 165px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 0.9s; }
.rei-privacy__particle--11 { top: 47%; left: 47%; width: 170px; height: 170px; color: #D1E000; filter: drop-shadow(0 0 24px rgba(209,224,0,0.5)); animation-delay: 1.8s; }
.rei-privacy__particle--12 { top: 79%; left: 31%; width: 200px; height: 200px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 2.6s; }
.rei-privacy__particle--13 { top: 87%; right: 5%; width: 185px; height: 185px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 1.1s; }
.rei-privacy__particle--14 { top: 92%; left:  4%; width: 155px; height: 155px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 3.4s; }

/* ===== EYEBROW ===== */
.rei-privacy__eyebrow {
    display: inline-block;
    background: #E4F6F0; color: #20A47B;
    border: 1px solid #D2F0E6;
    padding: 6px 16px; border-radius: 999px;
    font-size: 13px; font-weight: 600;
    margin: 0 0 24px;
}

/* ===== HERO ===== */
.rei-privacy__hero { padding: 72px 0 32px; }
.rei-privacy__title {
    font-size: 56px; line-height: 1.05; font-weight: 800;
    margin: 0 0 32px; color: #157155;
    letter-spacing: -0.02em;
}
.rei-privacy__title-green { color: #20A47B; }
.rei-privacy__intro {
    max-width: 960px;
    font-size: 16px; line-height: 1.75; color: #3C3C3B;
    background: #fff;
    border-left: 4px solid #20A47B;
    border-radius: 0 12px 12px 0;
    padding: 20px 26px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.10), 0 3px 8px rgba(0,0,0,0.05);
}
.rei-privacy__intro p { margin: 0; }
.rei-privacy__intro p + p { margin-top: 14px; }
.rei-privacy__intro strong { font-weight: 700; color: #157155; }

/* ===== H2 ===== */
.rei-privacy__h2 {
    font-size: 26px; line-height: 1.2; font-weight: 800;
    margin: 0 0 16px; color: #20A47B; letter-spacing: -0.01em;
}

/* ===== BLOCCO TESTO ===== */
.rei-privacy__block {
    max-width: 960px;
    margin: 0 0 32px;
}
.rei-privacy__block:last-child { margin-bottom: 0; }

.rei-privacy__rich {
    font-size: 16px; line-height: 1.75; color: #3C3C3B;
}
.rei-privacy__rich p { margin: 0 0 14px; }
.rei-privacy__rich p:last-child { margin-bottom: 0; }
.rei-privacy__rich strong { font-weight: 700; color: #157155; }
.rei-privacy__rich a {
    color: #20A47B;
    text-decoration: underline;
    font-weight: 600;
}
.rei-privacy__rich a:hover { color: #157155; }
.rei-privacy__rich ul {
    margin: 0 0 14px 0;
    padding-left: 28px;
}
.rei-privacy__rich ul li {
    margin: 0 0 8px;
    padding-left: 8px;
    line-height: 1.7;
}
.rei-privacy__rich ul li::marker { color: #20A47B; }

/* ===== SEZIONI ===== */
.rei-privacy__impegno { padding: 16px 0 32px; }
.rei-privacy__servizi { padding: 16px 0 32px; }
.rei-privacy__info    { padding: 16px 0 80px; }

/* ===== BOX EVIDENZA EMAIL SEGNALAZIONI ===== */
.rei-privacy__box {
    display: flex; align-items: flex-start; gap: 22px;
    border-radius: 18px;
    padding: 26px 30px;
    margin: 8px 0 0;
    max-width: 960px;
    background: linear-gradient(135deg, #E4F6F0 0%, #D2F0E6 100%);
    border: 2px solid #20A47B;
    box-shadow: 0 26px 64px rgba(0,0,0,0.28), 0 8px 20px rgba(0,0,0,0.14);
}
.rei-privacy__box-icon {
    width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #20A47B 0%, #20A47B 100%);
    box-shadow: 0 12px 24px -6px rgba(32,164,123,0.55);
}
.rei-privacy__box-title {
    font-size: 19px; font-weight: 800; color: #157155;
    margin: 0 0 10px; line-height: 1.3;
}
.rei-privacy__box-text { color: #3C3C3B; font-size: 15px; line-height: 1.65; }
.rei-privacy__box-text p { margin: 0 0 8px; }
.rei-privacy__box-text p:last-child { margin-bottom: 0; }
.rei-privacy__box-text strong { color: #157155; font-weight: 700; }
.rei-privacy__box-text a {
    color: #20A47B;
    text-decoration: underline;
    font-weight: 700;
    word-break: break-all;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .rei-privacy__container { padding: 0 20px; }
    .rei-privacy__hero { padding: 48px 0 24px; }
    .rei-privacy__title { font-size: 34px; }
    .rei-privacy__intro { font-size: 15px; padding: 16px 18px; }
    .rei-privacy__h2 { font-size: 22px; margin-bottom: 12px; }
    .rei-privacy__block { margin-bottom: 24px; }
    .rei-privacy__impegno, .rei-privacy__servizi { padding: 12px 0 24px; }
    .rei-privacy__info { padding: 12px 0 56px; }
    .rei-privacy__box { flex-direction: column; gap: 14px; padding: 22px; margin-bottom: 40px; }
}

/* v1.29.0: tabella cookie inseriti */
.rei-privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 24px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-radius: 10px;
    overflow: hidden;
    font-size: 14px;
}
.rei-privacy-table thead {
    background: linear-gradient(135deg, #E4F6F0 0%, #D2F0E6 100%);
}
.rei-privacy-table th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 700;
    color: #157155;
    border-bottom: 2px solid #20A47B;
}
.rei-privacy-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #ececec;
    color: #3C3C3B;
    line-height: 1.5;
}
.rei-privacy-table tr:last-child td {
    border-bottom: none;
}
.rei-privacy-table tbody tr:hover {
    background: #fafafa;
}
@media (max-width: 720px) {
    .rei-privacy-table {
        font-size: 13px;
    }
    .rei-privacy-table th, .rei-privacy-table td {
        padding: 10px 12px;
    }
}

/* Sezioni numerate */
.rei-privacy__num {
    color: #20A47B;
    font-weight: 800;
    margin-right: 6px;
}

/* H3 nelle sottosezioni 5.x e 7.1 */
.rei-privacy__h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #157155;
    margin: 24px 0 10px;
}

/* v1.29.2: stacco card finale dalla bandiera tricolore — override mobile */
@media (max-width: 720px) {
    .rei-privacy { padding-bottom: 40px !important; }
}

/* v1.30.0: Lead + data ultimo aggiornamento */
.rei-privacy__lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #3C3C3B;
    margin: 18px 0 8px;
}
.rei-privacy__lead p { margin: 0 0 10px; }
.rei-privacy__updated {
    font-size: 0.95rem;
    color: #6a7388;
    font-style: italic;
    margin: 0 0 24px;
}
