/* ─── ABOUT PAGE inline styles ────────────────────────── */

/* Fix mobile generale */
        @media (max-width: 768px) {



            /* Immagini */
            img {
                max-width: 100%;
                height: auto;
            }

            /* Sezioni con flex/grid */
            .flex,
            [class*="flex"],
            .grid,
            [class*="grid"] {
                flex-direction: column !important;
                grid-template-columns: 1fr !important;
            }

            /* Testi */
            h1,
            h2,
            h3 {
                font-size: clamp(24px, 6vw, 48px) !important;
                line-height: 1.2 !important;
            }

            /* Padding sezioni */
            section,
            .section {
                padding: 48px 20px !important;
            }

            /* Container */
            .container,
            [class*="container"] {
                padding-left: 16px !important;
                padding-right: 16px !important;
                max-width: 100% !important;
            }

            /* Bottoni */
            .btn,
            [class*="btn"] {
                width: 100%;
                text-align: center;
            }

            /* Eccezioni: bottoni che non devono diventare full width */
            #cookie-banner button,
            .filter-btn,
            nav button {
                width: auto !important;
            }
        }

        html,
        body {
            background-color: #010101;
            color: #ffffff;
            margin: 0;
            padding: 0;
            font-family: 'DM Sans', sans-serif;
        }

        /* ─── SEZIONI FULLSCREEN ─────────────────────────── */
        .about-section {
            width: 100%;
            min-height: 100svh;
            height: auto;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: visible;
            background: #010101;
        }

        /* Decorativi comuni */
        .deco-num {
            position: absolute;
            right: -20px;
            bottom: -60px;
            font-family: var(--font-display);
            font-size: clamp(200px, 22vw, 320px);
            font-weight: 800;
            color: rgba(194, 209, 15, 0.03);
            line-height: 1;
            pointer-events: none;
            user-select: none;
            letter-spacing: -0.05em;
            z-index: 1;
        }

        .deco-line-v {
            position: absolute;
            left: 80px;
            top: 15%;
            bottom: 15%;
            width: 1px;
            background: linear-gradient(to bottom, transparent, rgba(194, 209, 15, 0.2) 30%, rgba(194, 209, 15, 0.2) 70%, transparent);
            pointer-events: none;
            z-index: 1;
        }

        .deco-line-h {
            position: absolute;
            top: 80px;
            left: 10%;
            right: 10%;
            height: 1px;
            background: linear-gradient(to right, transparent, rgba(194, 209, 15, 0.08) 30%, rgba(194, 209, 15, 0.08) 70%, transparent);
            pointer-events: none;
            z-index: 1;
        }

        .deco-label {
            position: absolute;
            top: 28px;
            left: 100px;
            font-size: 9px;
            letter-spacing: 0.25em;
            color: rgba(194, 209, 15, 0.25);
            font-family: var(--font-body);
            font-weight: 500;
            text-transform: uppercase;
            pointer-events: none;
            z-index: 4;
        }

        .deco-dots {
            position: absolute;
            left: 100px;
            bottom: 80px;
            width: 120px;
            height: 80px;
            background-image: radial-gradient(circle, rgba(194, 209, 15, 0.15) 1px, transparent 1px);
            background-size: 16px 16px;
            pointer-events: none;
            opacity: 0.5;
            z-index: 1;
        }

        /* Sfondo gradiente tra sezioni */
        #section-manifesto {
            background: linear-gradient(180deg, #010101 0%, #0d1a00 100%);
        }

        #section-valori {
            background: linear-gradient(180deg, #0d1a00 0%, #050f00 100%);
        }

        #section-team {
            background: linear-gradient(180deg, #050f00 0%, #010101 100%);
        }

        /* ─── SEZIONE 0 — MANIFESTO ──────────────────────── */
        .manifesto-inner {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 1400px;
            padding: 0 120px;
            display: flex;
            align-items: center;
            gap: 80px;
        }

        .manifesto-left {
            flex: 0 0 52%;
        }

        .manifesto-supertitle {
            font-size: 9px;
            letter-spacing: 0.28em;
            color: #C2D10F;
            text-transform: uppercase;
            font-family: var(--font-body);
            font-weight: 700;
            margin-bottom: 28px;
            display: block;
        }

        #manifesto-headline {
            font-family: var(--font-display);
            font-size: clamp(64px, 9vw, 120px);
            font-weight: 800;
            text-transform: uppercase;
            line-height: 0.88;
            letter-spacing: -0.03em;
        }

        .mw {
            display: block;
            color: #fff;
        }

        .mw-outline {
            color: transparent;
            -webkit-text-stroke: 1px rgba(194, 209, 15, 0.6);
        }

        .manifesto-divider {
            width: 1px;
            height: 300px;
            flex-shrink: 0;
            background: linear-gradient(to bottom, transparent, rgba(194, 209, 15, 0.3) 30%, rgba(194, 209, 15, 0.3) 70%, transparent);
        }

        .manifesto-right {
            flex: 1;
        }

        .manifesto-tagline {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.75);
            line-height: 1.7;
            margin-bottom: 24px;
            font-family: var(--font-body);
        }

        .manifesto-quote {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.38);
            line-height: 1.8;
            font-style: italic;
            font-family: var(--font-body);
        }

        .manifesto-stats {
            display: flex;
            gap: 48px;
            margin-top: 40px;
        }

        .stat-value {
            font-family: var(--font-display);
            font-size: 40px;
            font-weight: 800;
            color: #C2D10F;
            line-height: 1;
            display: block;
        }

        .stat-label {
            font-size: 9px;
            letter-spacing: 0.15em;
            color: rgba(255, 255, 255, 0.3);
            text-transform: uppercase;
            margin-top: 6px;
            font-family: var(--font-body);
            display: block;
        }

        /* ─── SEZIONE 1 — VALORI ─────────────────────────── */
        .valori-inner {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 1400px;
            padding: 0 120px;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .valori-header {
            margin-bottom: 36px;
        }

        .v-label {
            font-size: 9px;
            letter-spacing: 0.28em;
            color: #C2D10F;
            text-transform: uppercase;
            display: block;
            margin-bottom: 14px;
            font-family: var(--font-body);
            font-weight: 700;
        }

        .valori-header h2 {
            font-family: var(--font-display);
            font-size: clamp(48px, 6vw, 84px);
            font-weight: 800;
            text-transform: uppercase;
            color: #fff;
            letter-spacing: -0.03em;
            line-height: 0.9;
            margin: 0;
        }

        .valori-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            gap: 20px;
            height: calc(100svh - 260px);
            max-height: 520px;
        }

        .valore-card {
            background: rgba(194, 209, 15, 0.025);
            border: 1px solid rgba(194, 209, 15, 0.1);
            border-radius: 4px;
            padding: 40px 36px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: border-color 0.4s ease, background 0.4s ease;
        }

        .valore-card:hover {
            border-color: rgba(194, 209, 15, 0.3);
            background: rgba(194, 209, 15, 0.04);
        }

        .v-num {
            font-family: var(--font-display);
            font-size: 48px;
            font-weight: 800;
            color: rgba(194, 209, 15, 0.12);
            display: block;
            margin-bottom: 10px;
            line-height: 1;
            letter-spacing: -0.02em;
        }

        .valore-card h3 {
            font-family: var(--font-display);
            font-size: 15px;
            font-weight: 700;
            text-transform: uppercase;
            color: #fff;
            margin-bottom: 10px;
            letter-spacing: 0.04em;
        }

        .valore-card p {
            font-size: 13px;
            line-height: 1.65;
            color: rgba(255, 255, 255, 0.55);
        }

        .valore-expand {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.25);
            line-height: 1.7;
            font-style: italic;
            margin-top: auto;
            padding-top: 18px;
            border-top: 1px solid rgba(194, 209, 15, 0.05);
        }

        /* ─── SEZIONE 2 — TEAM ───────────────────────────── */
        #team-stage {
            position: relative;
            z-index: 2;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 48px 120px 36px;
            box-sizing: border-box;
        }

        #tc-header {
            width: 100%;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 20px;
            flex-shrink: 0;
        }

        #tc-counter {
            text-align: right;
            font-family: var(--font-display);
            line-height: 1;
        }

        #tc-num {
            font-size: 22px;
            font-weight: 800;
            color: #C2D10F;
            letter-spacing: 0.05em;
        }

        .tc-total {
            font-size: 13px;
            color: rgba(194, 209, 15, 0.3);
        }

        #tc-scene {
            perspective: 900px;
            width: 100%;
            height: 380px;
            flex-shrink: 0;
            position: relative;
        }

        #tc-track {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .tc-card {
            position: absolute;
            width: 250px;
            height: 345px;
            border-radius: 8px;
            border: 1px solid rgba(194, 209, 15, 0.1);
            background: rgba(3, 8, 1, 0.8);
            backdrop-filter: blur(20px);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 22px 18px;
            cursor: pointer;
            will-change: transform, opacity;
        }

        .tc-card.is-active {
            border-color: rgba(194, 209, 15, 0.45);
            box-shadow: 0 0 80px rgba(194, 209, 15, 0.07), 0 0 2px rgba(194, 209, 15, 0.18);
        }

        .tc-card.is-active::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 8px;
            background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(194, 209, 15, 0.012) 3px, rgba(194, 209, 15, 0.012) 4px);
            pointer-events: none;
        }

        .tc-avatar-wrap {
            position: relative;
            margin-bottom: 14px;
        }

        .tc-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            border: 1px solid rgba(194, 209, 15, 0.4);
            background: radial-gradient(circle at 35% 35%, rgba(194, 209, 15, 0.12), rgba(194, 209, 15, 0.02));
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-display);
            font-size: 24px;
            font-weight: 800;
            color: rgba(194, 209, 15, 0.7);
            position: relative;
            z-index: 1;
            overflow: hidden;
        }

        /* Foto reali — crop centrato, aspect ratio identico al placeholder */
        .tc-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center center;
            border-radius: 50%;
            display: block;
        }

        .tc-holo-ring {
            position: absolute;
            border-radius: 50%;
            border: 1px solid rgba(194, 209, 15, 0);
            pointer-events: none;
            top: -9px;
            left: -9px;
            right: -9px;
            bottom: -9px;
        }

        .tc-holo-ring.r2 {
            top: -18px;
            left: -18px;
            right: -18px;
            bottom: -18px;
        }

        .is-active .tc-holo-ring {
            border-color: rgba(194, 209, 15, 0.3);
            animation: tc-spin 5s linear infinite;
            box-shadow: 0 0 10px rgba(194, 209, 15, 0.12);
        }

        .is-active .tc-holo-ring.r2 {
            border-color: rgba(194, 209, 15, 0.1);
            animation: tc-spin-r 9s linear infinite;
        }

        @keyframes tc-spin {
            from {
                transform: rotate(0deg)
            }

            to {
                transform: rotate(360deg)
            }
        }

        @keyframes tc-spin-r {
            from {
                transform: rotate(0deg)
            }

            to {
                transform: rotate(-360deg)
            }
        }

        .tc-role {
            font-size: 8px;
            letter-spacing: 0.18em;
            color: #C2D10F;
            text-transform: uppercase;
            margin-bottom: 8px;
            font-family: var(--font-body);
            font-weight: 700;
            text-align: center;
        }

        .tc-name {
            font-family: var(--font-display);
            font-size: 15px;
            font-weight: 800;
            text-transform: uppercase;
            color: #fff;
            text-align: center;
            margin-bottom: 12px;
            letter-spacing: 0.02em;
            line-height: 1.2;
        }

        .tc-quote {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.35);
            text-align: center;
            font-style: italic;
            line-height: 1.6;
        }

        #tc-nav {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-top: 20px;
            flex-shrink: 0;
        }

        .tc-arrow {
            width: 36px;
            height: 36px;
            border: 1px solid rgba(194, 209, 15, 0.25);
            border-radius: 50%;
            color: rgba(194, 209, 15, 0.7);
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            background: transparent;
        }

        .tc-arrow:hover {
            border-color: rgba(194, 209, 15, 0.8);
            color: #C2D10F;
            background: rgba(194, 209, 15, 0.06);
        }

        .tc-dots-wrap {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .tc-dot {
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: rgba(194, 209, 15, 0.2);
            transition: all 0.3s ease;
        }

        .tc-dot.active {
            background: #C2D10F;
            box-shadow: 0 0 6px rgba(194, 209, 15, 0.6);
            width: 16px;
            border-radius: 2px;
        }

        #tc-scroll-hint {
            font-size: 9px;
            letter-spacing: 0.2em;
            color: rgba(194, 209, 15, 0.3);
            text-transform: uppercase;
            margin-top: 12px;
            opacity: 0;
            transition: opacity 0.6s ease;
        }

        #tc-scroll-hint.visible {
            opacity: 1;
        }

        /* ─── CTA FINALE ─────────────────────────────────── */
        .about-cta {
            width: 100%;
            min-height: 100svh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            background: #010101;
            overflow: hidden;
        }

        .about-cta::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(194, 209, 15, 0.04) 0%, transparent 70%);
        }

        .about-cta-inner {
            position: relative;
            z-index: 2;
        }

        .about-cta h2 {
            font-family: var(--font-display);
            font-size: clamp(48px, 7vw, 96px);
            font-weight: 800;
            text-transform: uppercase;
            line-height: 0.9;
            letter-spacing: -0.03em;
            color: #fff;
            margin-bottom: 48px;
        }

        /* ─── INDICATORE SEZIONI ─────────────────────────── */
        #section-indicator {
            position: fixed;
            right: 32px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 8000;
            display: flex;
            flex-direction: column;
            gap: 10px;
            align-items: center;
            opacity: 0;
            transition: opacity 0.6s ease;
        }

        #section-indicator.show {
            opacity: 1;
        }

        .si-dot {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            border: 1px solid rgba(194, 209, 15, 0.3);
            background: transparent;
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            cursor: pointer;
        }

        .si-dot.active {
            background: #C2D10F;
            border-color: #C2D10F;
            box-shadow: 0 0 10px rgba(194, 209, 15, 0.6);
            height: 20px;
            border-radius: 3px;
        }

        /* ─── PROGRESS BAR ───────────────────────────────── */
        #about-progress {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: rgba(255, 255, 255, 0.04);
            z-index: 8000;
            opacity: 0;
            transition: opacity 0.6s ease;
        }

        #about-progress.show {
            opacity: 1;
        }

        #about-progress-fill {
            height: 100%;
            width: 0%;
            background: #C2D10F;
            box-shadow: 0 0 6px rgba(194, 209, 15, 0.4);
        }

        @media (max-width: 768px) {

            /* GLOBALE */
            .about-section {
                height: auto !important;
                min-height: 100svh;
                padding: 120px 0 60px;
            }

            .deco-line-v,
            .deco-dots,
            .deco-num {
                display: none;
            }

            /* Nascondi deco-label su mobile: si sovrappone alla nav */
            .deco-label {
                display: none !important;
            }

            /* Supertitle distanziato dalla nav */
            .manifesto-supertitle {
                margin-top: 0 !important;
            }

            /* SEZIONE 0 — MANIFESTO */
            .manifesto-inner {
                flex-direction: column;
                padding: 0 24px;
                gap: 32px;
                align-items: flex-start;
            }

            .manifesto-left {
                flex: none;
                width: 100%;
            }

            #manifesto-headline {
                font-size: clamp(52px, 14vw, 80px) !important;
                line-height: 0.9 !important;
            }

            .manifesto-divider {
                width: 40px;
                height: 1px;
                background: rgba(194, 209, 15, 0.3);
            }

            .manifesto-right {
                flex: none;
                width: 100%;
            }

            .manifesto-tagline {
                font-size: 15px;
            }

            .manifesto-quote {
                font-size: 13px;
            }

            .manifesto-stats {
                gap: 28px;
                flex-wrap: wrap;
            }

            .stat-value {
                font-size: 32px;
            }

            /* SEZIONE 1 — VALORI */
            .valori-inner {
                padding: 0 24px;
                height: auto;
            }

            .valori-header h2 {
                font-size: clamp(36px, 10vw, 56px) !important;
            }

            .valori-grid {
                grid-template-columns: 1fr;
                grid-template-rows: auto;
                height: auto;
                max-height: none;
                gap: 12px;
            }

            .valore-card {
                padding: 24px 20px;
            }

            .v-num {
                font-size: 32px;
            }

            /* SEZIONE 2 — TEAM */
            #team-stage {
                padding: 24px 20px;
            }

            #tc-header {
                flex-direction: column;
                gap: 8px;
                margin-bottom: 16px;
            }

            #tc-counter {
                text-align: left;
            }

            #tc-scene {
                height: 320px;
                width: 100%;
            }

            .tc-card {
                width: 200px;
                height: 290px;
                padding: 26px 14px 18px 14px;
            }

            .tc-avatar-wrap,
            .tc-avatar {
                width: 80px;
                height: 80px;
            }

            .tc-holo-ring {
                top: -6px;
                left: -6px;
                right: -6px;
                bottom: -6px;
            }

            .tc-holo-ring.r2 {
                top: -12px;
                left: -12px;
                right: -12px;
                bottom: -12px;
            }

            /* CTA FINALE */
            .about-cta {
                min-height: 100svh;
                padding: 80px 24px;
            }

            .about-cta h2 {
                font-size: clamp(36px, 10vw, 64px);
                margin-bottom: 32px;
            }

            /* INDICATORE SEZIONI — nascondilo su mobile */
            #section-indicator {
                display: none;
            }
        }

        @media (max-width: 480px) {
            #manifesto-headline {
                font-size: clamp(44px, 13vw, 64px);
            }

            .tc-card {
                width: 180px;
                height: 270px;
                padding: 24px 10px 14px 10px;
            }

            .tc-avatar-wrap,
            .tc-avatar {
                width: 65px;
                height: 65px;
            }

            .tc-holo-ring {
                top: -5px;
                left: -5px;
                right: -5px;
                bottom: -5px;
            }

            .tc-holo-ring.r2 {
                top: -10px;
                left: -10px;
                right: -10px;
                bottom: -10px;
            }
        }

        /* Cookie banner — visibilità via classe JS */
        #cookie-banner {
            display: none;
        }

        #cookie-banner.visible {
            display: flex !important;
        }

