/* ============================================
   VOTO CONSAPEVOLE - Stylesheet Condiviso
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Inter:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --navy: #1e3a8a;
    --navy-light: #3b82f6;
    --green: #059669;
    --green-light: #10b981;
    --amber: #d97706;
    --red: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --text: var(--gray-900);
    --text-light: var(--gray-600);
    --bg: var(--white);
    --bg-alt: var(--gray-50);
    --border: var(--gray-200);
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    --primary: #1e3a8a;
    --card-bg: var(--white);
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === SOCIAL SHARE === */
/* --- Hero Counter --- */
.hero-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.hero-counter strong {
    color: white;
    font-weight: 800;
}

.social-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.social-share-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-right: 4px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-twitter {
    background: #1DA1F2;
}

.social-facebook {
    background: #1877F2;
}

.social-whatsapp {
    background: #25D366;
}

.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* === SCROLL TO TOP === */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
    z-index: 9999;
}

.scroll-to-top:hover {
    background: var(--navy-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top svg {
    width: 26px;
    height: 26px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --navy: #60a5fa;
        --navy-light: #93c5fd;
        --green: #34d399;
        --green-light: #6ee7b7;
        --amber: #fbbf24;
        --red: #f87171;
        --gray-50: #1f2937;
        --gray-100: #374151;
        --gray-200: #4b5563;
        --gray-300: #6b7280;
        --gray-600: #d1d5db;
        --gray-700: #e5e7eb;
        --gray-900: #f9fafb;
        --white: #111827;
        --text: var(--gray-900);
        --text-light: var(--gray-600);
        --bg: #0f172a;
        --bg-alt: #1e293b;
        --border: var(--gray-200);
        --shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
        --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.3);
        --primary: #60a5fa;
        --card-bg: #1e293b;
    }
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* REGOLA SALVA-VITA PER IMMAGINI GIGANTI */
img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

/* --- Utility --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden { display: none !important; }

/* --- Lucide Icon Base --- */
.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
}

.icon-lg {
    width: 40px;
    height: 40px;
}

.icon-xl {
    width: 48px;
    height: 48px;
}

/* --- Sticky Header --- */
.top-header {
    background: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s;
}

.top-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

@media (prefers-color-scheme: dark) {
    .top-header {
        background: rgba(15, 23, 42, 0.95);
    }
}

.header-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-name {
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.3px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 40px;     /* Altezza fissa */
    width: auto;      /* Larghezza automatica */
    max-width: 100px; /* Sicurezza extra */
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-name:hover .brand-logo {
    transform: scale(1.05);
}

.header-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.header-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: white;
}

/* Header Search */
.header-search {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 4px 4px 4px 16px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.header-search:focus-within {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.header-search input {
    background: none;
    border: none;
    outline: none;
    color: white;
    font-size: 14px;
    width: 160px;
    transition: width 0.3s ease;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.header-search input:focus {
    width: 200px;
}

.header-search button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
}

.header-search button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.header-search button svg {
    width: 16px;
    height: 16px;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.88), rgba(5, 150, 105, 0.85)),
                url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?q=80&w=2070') center/cover;
    color: white;
    padding: 48px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (prefers-color-scheme: dark) {
    .hero {
        background: linear-gradient(135deg, rgba(30, 58, 138, 0.92), rgba(5, 150, 105, 0.9)),
                    url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?q=80&w=2070') center/cover;
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Hero Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-icon {
    animation: fadeIn 0.6s ease-out both;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

/* Classe specifica se metti il logo anche nella hero */
.hero-main-logo {
    width: 150px;
    height: auto;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.hero-logo {
    height: 140px;
    width: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.15));
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 900;
    margin: 0 0 8px 0;
    animation: fadeInUp 0.7s ease-out 0.1s both;
}

.hero-date {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.7s ease-out 0.2s both;
}

.hero p {
    font-size: clamp(16px, 3vw, 20px);
    margin: 0 0 6px 0;
    opacity: 0.95;
    animation: fadeInUp 0.7s ease-out 0.3s both;
}

/* Countdown */
.countdown {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 16px 0;
    animation: fadeInUp 0.7s ease-out 0.35s both;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 70px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Countdown color states - dynamically applied via JS */
.countdown-item.countdown-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.25));
    border: 2px solid rgba(16, 185, 129, 0.4);
}

.countdown-item.countdown-green .countdown-number {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.countdown-item.countdown-amber {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.25));
    border: 2px solid rgba(251, 191, 36, 0.4);
}

.countdown-item.countdown-amber .countdown-number {
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.countdown-item.countdown-red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.25));
    border: 2px solid rgba(239, 68, 68, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.countdown-item.countdown-red .countdown-number {
    color: #ef4444;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    display: block;
    line-height: 1.1;
}

.countdown-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
    animation: fadeInUp 0.7s ease-out 0.45s both;
}

/* --- Buttons --- */
.btn {
    padding: 14px 30px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--green);
    color: white;
}

.btn-primary:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.btn-secondary {
    background: var(--navy);
    color: white;
    border: 2px solid var(--navy-light);
}

.btn-secondary:hover {
    background: var(--navy-light);
}

/* Approfondimenti Section */
.approfondimenti-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.approfondimento-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.approfondimento-card:hover {
    border-color: var(--navy-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.approfondimento-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--navy-light);
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.approfondimento-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text);
    margin-bottom: 8px;
}

.approfondimento-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.approfondimento-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.approfondimento-link:hover {
    color: var(--navy);
    gap: 8px;
}

.approfondimento-link svg {
    transition: transform 0.2s ease;
}

.approfondimento-link:hover svg {
    transform: translateX(2px) translateY(-2px);
}

/* Error Report Button */
.btn-error-report {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-error-report:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--text);
}

.modal-body {
    padding: 24px;
}

.modal-body label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 6px;
    margin-top: 16px;
}

.modal-body label:first-of-type {
    margin-top: 0;
}

.modal-body input,
.modal-body textarea,
.modal-body select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.2s ease;
}

.modal-body input:focus,
.modal-body textarea:focus,
.modal-body select:focus {
    outline: none;
    border-color: var(--navy-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modal-body textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--green);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    color: var(--green);
    font-weight: 600;
}

.form-success.hidden {
    display: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* --- Sections --- */
.section {
    padding: 32px 20px;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 700;
    text-align: center;
    margin: 0 0 8px 0;
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    font-size: 17px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 20px;
}

/* --- Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--navy), var(--green));
    color: white;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 19px;
    margin: 0 0 8px 0;
    color: var(--navy);
}

.card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

/* --- Riforma Section --- */
.riforma-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s ease;
}

.riforma-box:hover {
    border-color: var(--navy-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.riforma-intro {
    font-size: 16px;
    color: var(--text-light);
    margin: 0 0 16px 0;
    line-height: 1.7;
}

.riforma-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

@media (max-width: 1024px) {
    .riforma-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .riforma-grid { grid-template-columns: 1fr; }
}

.riforma-item {
    padding: 16px;
    background: var(--bg-alt);
    border-radius: 12px;
    border-left: 4px solid var(--green);
    transition: all 0.3s ease;
    cursor: pointer;
}

.riforma-item:hover {
    background: var(--card-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--navy-light);
}

.riforma-item h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin: 0 0 6px 0;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.riforma-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.highlight-box {
    background: var(--bg-alt);
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid var(--amber);
    transition: all 0.3s ease;
    cursor: pointer;
}

.highlight-box:hover {
    background: var(--card-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--navy-light);
}

.highlight-box h4 {
    margin: 0 0 6px 0;
    color: var(--amber);
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight-box p {
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Pro / Contro --- */
.comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.comparison-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.comparison-card.pro { border-top: 4px solid var(--green); }
.comparison-card.contro { border-top: 4px solid var(--red); }

.comparison-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-card ul { list-style: none; }

.comparison-card li {
    padding: 12px 0 12px 32px;
    position: relative;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    line-height: 1.6;
}

.comparison-card li:last-child { border-bottom: none; }

.comparison-card li::before {
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 18px;
}

.comparison-card.pro li::before {
    content: '✓';
    color: var(--green);
}

.comparison-card.contro li::before {
    content: '✗';
    color: var(--red);
}

/* --- Ad Container --- */
.ad-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 20px;
    min-height: 90px;
    text-align: center;
}

/* --- Timeline --- */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
}
.timeline::before {
    /* Remove vertical line for two column layout */
    display: none;
}
.timeline-item {
    position: relative;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.timeline-item:hover {
    border-color: var(--navy-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--navy-light);
    z-index: 1;
}
.timeline-item-active {
    border-color: var(--green);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.05));
}
.timeline-item-active::before {
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.2);
    width: 12px;
    height: 12px;
    left: 7px;
    top: 7px;
}
.timeline-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding-left: 18px;
}
.timeline-content h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--text);
    margin-bottom: 6px;
}
.timeline-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Chi Dice Cosa --- */
.parties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
@media (max-width: 768px) {
    .parties-grid { grid-template-columns: 1fr; }
}
.party-group {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.party-group:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.party-group-yes { border-color: rgba(5, 150, 105, 0.3); }
.party-group-no { border-color: rgba(239, 68, 68, 0.3); }
.party-group-free { border-color: rgba(234, 179, 8, 0.3); }
.party-group-title {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}
.party-yes-title { color: var(--green); }
.party-no-title { color: var(--red); }
.party-free-title { color: #eab308; }
.party-card {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.party-card:hover {
    transform: translateX(4px);
    background: rgba(59, 130, 246, 0.03);
}
.party-card:last-child { border-bottom: none; }
.party-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain; /* Fondamentale per non tagliare il logo */
    background-color: white;
    border: 1px solid var(--border);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.party-info {
    flex: 1;
}
.party-name { font-weight: 700; font-size: 15px; color: var(--text); }
.party-leader { font-size: 13px; color: var(--text-light); margin-top: 2px; }

/* --- Falsi Miti --- */
.myths-list {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.myth-card {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.myth-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--navy-light);
}
.myth-claim {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    font-style: italic;
    color: var(--text);
    margin-bottom: 8px;
}
.myth-verdict {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.myth-false { background: rgba(239, 68, 68, 0.12); color: var(--red); }
.myth-partial { background: rgba(234, 179, 8, 0.12); color: #ca8a04; }
.myth-explanation { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* --- FAQ --- */
.faq-list {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--navy-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    gap: 12px;
}
.faq-toggle .chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-light);
}
.faq-toggle.open .chevron { transform: rotate(180deg); }
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-body.open { max-height: 400px; }
.faq-body p {
    padding: 0 20px 16px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Affluenza Placeholder --- */
.affluenza-placeholder {
    text-align: center;
    padding: 48px 24px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 2px dashed var(--border);
}
.affluenza-placeholder h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text);
    margin-bottom: 8px;
}
.affluenza-placeholder p {
    font-size: 14px;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* --- Footer --- */
footer {
    background: #0f172a;
    color: var(--gray-300);
    padding: 32px 20px 16px;
}

@media (prefers-color-scheme: dark) {
    footer { background: #020617; }
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-family: var(--font-heading);
    margin-bottom: 12px;
    color: white;
    font-size: 16px;
}

.footer-section p {
    opacity: 0.7;
    font-size: 14px;
    line-height: 1.7;
}

.footer-section ul { list-style: none; }

.footer-section li { margin-bottom: 8px; }

.footer-section a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
}

.footer-section a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 13px;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f172a;
    color: white;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

.cookie-text a {
    color: var(--green-light);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.cookie-btn-accept {
    background: var(--green);
    color: white;
}

.cookie-btn-accept:hover { background: var(--green-light); }

.cookie-btn-reject {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    border-color: white;
}

/* ============================
   QUIZ-SPECIFIC STYLES
   ============================ */

/* Quiz Header */
.quiz-header {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
    color: white;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

@media (prefers-color-scheme: dark) {
    .quiz-header {
        background: linear-gradient(135deg, #1e3a8a 0%, #059669 100%);
    }
}

.quiz-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(22px, 4vw, 30px);
    margin-bottom: 8px;
}

.quiz-header p {
    opacity: 0.9;
    font-size: 16px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.back-link:hover { text-decoration: underline; }

/* Progress */
.progress-container {
    background: var(--bg-alt);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.progress-text {
    text-align: center;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 14px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--navy), var(--green));
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* Question Card */
.question-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.question-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--green));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
}

.question-title {
    font-family: var(--font-heading);
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Collapsible Explanation */
.question-explanation {
    background: var(--bg-alt);
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--amber);
    overflow: hidden;
}

.explanation-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--amber);
    transition: background 0.2s;
    text-align: left;
}

.explanation-toggle:hover {
    background: rgba(0, 0, 0, 0.03);
}

.explanation-toggle .chevron {
    transition: transform 0.3s;
    width: 16px;
    height: 16px;
    margin-left: auto;
}

.explanation-toggle.open .chevron {
    transform: rotate(180deg);
}

.explanation-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.explanation-body.open {
    max-height: 500px;
}

.explanation-body-inner {
    padding: 0 16px 14px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* Question Statement */
.question-statement {
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.5;
}

.question-instruction {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 14px;
}

/* Scale */
.scale {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.scale-btn {
    padding: 16px 8px;
    background: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
}

.scale-btn:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: white;
}

.scale-btn.selected {
    background: var(--green);
    color: white;
    border-color: var(--green);
    font-weight: 700;
    transform: scale(1.03);
}

.scale-number {
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.scale-label {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

/* Nav Buttons */
.nav-buttons {
    display: flex;
    gap: 12px;
}

.nav-buttons .btn { flex: 1; }

/* Results */
.results { text-align: center; }

.results h2 {
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.result-circle {
    width: 170px;
    height: 170px;
    margin: 24px auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.result-verdict {
    font-family: var(--font-heading);
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 700;
    margin: 16px 0;
    color: var(--navy);
}

.result-description {
    font-size: 15px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.8;
}

/* Dimension Breakdown */
.result-breakdown {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 24px;
    text-align: left;
}

.result-breakdown h3 {
    font-family: var(--font-heading);
    text-align: center;
    margin-bottom: 20px;
    color: var(--navy);
    font-size: 18px;
}

.dimension-item { margin-bottom: 16px; }

.dimension-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

.dimension-bar {
    height: 8px;
    background: var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.dimension-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--navy), var(--green));
    border-radius: 8px;
    transition: width 0.6s ease;
}

/* Share Buttons */
.share-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.share-section h4 {
    font-family: var(--font-heading);
    margin-bottom: 14px;
    color: var(--text);
    font-size: 16px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: white;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-btn-whatsapp { background: #25d366; }
.share-btn-facebook { background: #1877f2; }
.share-btn-x { background: #14171a; }
.share-btn-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.share-btn-copy { 
    background: #374151; /* Un grigio scuro fisso che non cambia col tema */
    color: white;
}

@media (prefers-color-scheme: dark) {
    .share-btn-x { background: #e7e9ea; color: #14171a; }
}

/* --- Hamburger Menu Mobile --- */
.hamburger-btn {
    display: none !important;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
}

.mobile-nav-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav {
    display: none !important;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: #0f172a;
    z-index: 1001;
    padding: 80px 24px 24px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

.hamburger-btn svg {
    width: 26px;
    height: 26px;
    transition: transform 0.3s ease;
}

.hamburger-btn.active svg {
    transform: rotate(90deg);
}

.mobile-nav-overlay.active {
    opacity: 1;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
    color: white;
    padding-left: 8px;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav .mobile-cta {
    display: block;
    margin-top: 20px;
    padding: 14px;
    background: var(--green);
    color: white;
    text-align: center;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: none;
    transition: background 0.2s ease;
}

.mobile-nav .mobile-cta:hover {
    background: var(--green-light);
    padding-left: 0;
}

/* --- Scale Button Ripple (Fix #9) --- */
.scale-btn {
    position: relative;
    overflow: hidden;
}

.scale-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(5, 150, 105, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.scale-btn:active::after {
    width: 200px;
    height: 200px;
    opacity: 1;
    transition: width 0s, height 0s, opacity 0s;
}

.scale-btn.selected {
    animation: scaleSelect 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleSelect {
    0% { transform: scale(0.92); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1.03); }
}

/* --- Skeleton Loading (Fix #10) --- */
.skeleton-container {
    margin: 16px auto;
    max-width: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-alt);
    border: 1px solid var(--border);
}

.skeleton-shimmer {
    height: 200px;
    background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 50%, var(--bg-alt) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    padding: 16px;
}

.skeleton-line {
    height: 12px;
    background: var(--border);
    border-radius: 6px;
    margin-bottom: 8px;
    animation: shimmer 1.5s infinite;
    background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 50%, var(--bg-alt) 75%);
    background-size: 200% 100%;
}

.skeleton-line:last-child {
    width: 60%;
    margin-bottom: 0;
}

/* --- Voting Stepper (Fix #11) --- */
.voting-stepper {
    max-width: 950px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 40px;
}

.stepper-step {
    display: flex;
    gap: 16px;
    position: relative;
    padding: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Griglia: 1,2 a sinistra — 3,4 a destra */
.stepper-step:nth-child(1) { grid-column: 1; grid-row: 1; }
.stepper-step:nth-child(2) { grid-column: 1; grid-row: 2; }
.stepper-step:nth-child(3) { grid-column: 2; grid-row: 1; }
.stepper-step:nth-child(4) { grid-column: 2; grid-row: 2; }
.stepper-step:nth-child(5) { grid-column: 1 / -1; grid-row: 3; max-width: 520px; justify-self: center; }

.stepper-step:hover {
    background: var(--bg-alt);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.stepper-step:hover .stepper-icon {
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
    transform: scale(1.05);
}

/* Linee verticali nascoste */
.stepper-line { display: none; }

.stepper-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--navy), var(--green));
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
    transition: all 0.3s ease;
}

.stepper-content {
    flex: 1;
    padding-top: 6px;
}

.stepper-content h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.stepper-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.stepper-tip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-light);
}

/* --- Quiz Counter (Fix #16) --- */
.quiz-counter {
    text-align: center;
    padding: 16px;
    margin-bottom: 20px;
    background: var(--bg-alt);
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.quiz-counter.hidden {
    display: none;
}

.counter-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.counter-text {
    font-size: 15px;
    color: var(--text);
}

.counter-number {
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--navy);
}

/* --- Focus Ring Accessibility (Fix #20) --- */
*:focus-visible {
    outline: 3px solid var(--navy-light);
    outline-offset: 2px;
    border-radius: 4px;
}

.btn:focus-visible,
.cookie-btn:focus-visible,
.scale-btn:focus-visible,
.faq-toggle:focus-visible,
.social-btn:focus-visible,
.share-btn:focus-visible {
    outline: 3px solid var(--navy-light);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.scale-btn:focus-visible {
    border-color: var(--navy-light);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero { padding: 32px 20px 28px; }
    .section { padding: 24px 20px; }
    .comparison { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .cta-buttons .btn { width: 100%; }
    .countdown { gap: 8px; }
    .countdown-item { min-width: 60px; padding: 10px 12px; }
    .countdown-number { font-size: 22px; }
    .countdown-label { font-size: 10px; }
    .header-nav { display: none; }
    .header-search { display: none; }
    .hamburger-btn { display: flex !important; }
    .mobile-nav-overlay { display: block !important; pointer-events: none; }
    .mobile-nav-overlay.active { pointer-events: auto; }
    .mobile-nav { display: block !important; }
    .social-share { gap: 8px; margin-top: 20px; }
    .social-btn { width: 40px; height: 40px; }
    .social-share-label { font-size: 13px; }
    .scroll-to-top { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .myths-list { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr; gap: 20px; }
    .faq-list { grid-template-columns: 1fr; gap: 12px; }
    .approfondimenti-grid { grid-template-columns: 1fr; gap: 16px; }

    /* Quiz responsive */
    .scale { grid-template-columns: repeat(5, 1fr); gap: 6px; }
    .scale-btn { padding: 12px 4px; }
    .scale-number { font-size: 20px; }
    .scale-label { font-size: 10px; }
    .question-card { padding: 20px; }
    .result-circle { width: 140px; height: 140px; font-size: 42px; }
    .nav-buttons { flex-direction: column; }
    .cookie-inner { flex-direction: column; text-align: center; }
    .voting-stepper { grid-template-columns: 1fr; gap: 12px; }
    .stepper-step:nth-child(n) { grid-column: auto; grid-row: auto; max-width: none; justify-self: auto; }
    .hero-counter { font-size: 13px; }
}

@media (max-width: 380px) {
    .scale { grid-template-columns: repeat(5, 1fr); gap: 4px; }
    .scale-btn { padding: 10px 2px; }
    .scale-number { font-size: 18px; }
}

/* --- Privacy Policy Page --- */
.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.privacy-container h1 {
    font-family: var(--font-heading);
    color: var(--navy);
    margin-bottom: 8px;
}

.privacy-container h2 {
    font-family: var(--font-heading);
    color: var(--text);
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 20px;
}

.privacy-container h3 {
    color: var(--text-light);
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 17px;
}

.privacy-container p {
    margin-bottom: 12px;
    color: var(--text-light);
    line-height: 1.7;
}

.privacy-container ul {
    margin-left: 20px;
    margin-bottom: 12px;
}

.privacy-container li {
    margin-bottom: 6px;
    color: var(--text-light);
}

.privacy-container a { color: var(--navy); }
.privacy-container a:hover { text-decoration: underline; }

.last-update {
    color: var(--gray-300);
    font-size: 14px;
    margin-bottom: 24px;
}
