@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Outfit — variabile locale */
@font-face {
    font-family: 'Outfit';
    src: url('asset/fonts/Outfit-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Panel Sans — file locali (asset/fonts) */
@font-face {
    font-family: 'Panel Sans';
    src: url('asset/fonts/fonnts.com-Panel_Sans_Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Panel Sans';
    src: url('asset/fonts/fonnts.com-Panel_Sans_Light_Italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Panel Sans';
    src: url('asset/fonts/fonnts.com-Panel_Sans_Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Panel Sans';
    src: url('asset/fonts/fonnts.com-Panel_Sans_Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Panel Sans';
    src: url('asset/fonts/fonnts.com-Panel_Sans_Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Panel Sans';
    src: url('asset/fonts/fonnts.com-Panel_Sans_Medium_Italic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Panel Sans';
    src: url('asset/fonts/fonnts.com-Panel_Sans_Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Panel Sans';
    src: url('asset/fonts/fonnts.com-Panel_Sans_Bold_Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Panel Sans';
    src: url('asset/fonts/fonnts.com-Panel_Sans_Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Panel Sans';
    src: url('asset/fonts/fonnts.com-Panel_Sans_Black_Italic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}



/* --- NUOVA SEZIONE VIMEO --- */
.vimeo-section {
  width: 100%;
  background-color: #000; /* Sfondo nero utile su monitor ultrawide */
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.vimeo-container {
  width: 100%;
  aspect-ratio: 16 / 9; /* Mantiene le proporzioni perfette */
  max-height: 100vh; /* LIMITE CRITICO: impedisce al video di superare l'80% dell'altezza dello schermo */
}

.vimeo-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

:root {
    --page-max-width: 1240px;
    --primary: #221E4D;
    --secondary: #E6007C;
    --accent: #FDD47D;
    --text-main: #3D3E56;
    --text-muted: #6B6E94;
    --bg-gradient: linear-gradient(95.02deg, #DAEFFC -19.34%, #CEA7D3 191.86%);
    --footer-bg: linear-gradient(0deg, #E4E8ED, #E4E8ED), var(--bg-gradient);
    --cta-gradient: linear-gradient(90deg, #221E4D 0%, #744A89 100%);
    --cta-banner-bg: linear-gradient(0deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
        linear-gradient(262.11deg, #FDD47D -35.52%, #E8388B 208.85%);
    --font-heading: 'Panel Sans', 'Outfit', system-ui, sans-serif;
    --font-body: 'Poppins', sans-serif;
    --shadow-premium: 0 20px 40px rgba(34, 30, 77, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --cta-dark: #221E4D;
    --cta-body: #3D3E56;
    /* Margine orizzontale sotto ~1240px: evita contenuti attaccati ai bordi */
    --page-inline: 0px;
}

@media (max-width: 1239px) {
    :root {
        --page-inline: clamp(16px, 5vw, 32px);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    color: var(--primary);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    display: block;
    width: 100%;
}

/* Contenuto max 1240px centrato; le sezioni con sfondo restano a tutta larghezza (nessun taglio) */
.layout-max {
    max-width: var(--page-max-width);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    padding-left: max(var(--page-inline), env(safe-area-inset-left, 0px));
    padding-right: max(var(--page-inline), env(safe-area-inset-right, 0px));
}

h1,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--cta-dark);
}

h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 52px;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    color: var(--cta-dark);
}

p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    line-height: 1.8;
    color: var(--cta-body);
    margin: 0;
}

.container {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding-left: max(var(--page-inline), env(safe-area-inset-left, 0px));
    padding-right: max(var(--page-inline), env(safe-area-inset-right, 0px));
    box-sizing: border-box;
}

.btn-cta {
    background: var(--cta-gradient);
    color: #FFFFFF;
    padding: 12px 36px;
    border: none;
    overflow: hidden;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    white-space: nowrap;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 30, 77, 0.3);
}

/* Header — 200px, gradient (Figma) */
header {
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 80px;
    gap: 32px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    
}

.logo-container img {
    width: 217px;
    height: auto;
}

.logo-tagline {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    line-height: 1.2;
    max-width: 28rem;
}

.header-info {
    display: flex;
    align-items: center;
    gap: clamp(24px, 5vw, 92px);
    flex-shrink: 0;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 209px;
}

.event-line {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.8;
    color: #221E4D;
    margin: 0;
}

.event-line__strong {
    font-weight: 700;
}

.event-dates {
    margin: 0;
    letter-spacing: 0;
}

.event-pipe {
    color: #e6007c;
    font-weight: 700;
    padding: 0 0.1em;
}

.event-location {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #221E4D;
    margin: 0;
}

/* Hero intro — allineamento a frame Figma (1240 contenuto, 80 padding, space-between) */
.hero-intro {
    position: relative;
    width: 100%;
    min-height: min(788px, 92vh);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    color: #221e4d;
    background: var(--bg-gradient);
    opacity: 1;
    transform: rotate(0deg);
}

.hero-intro__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('asset/images/hero-gradient.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-intro__img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-intro__dim {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Niente velo uniforme grigio-viola: solo leggero scuro in basso per il testo */
    pointer-events: none;
}

.hero-intro__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
    padding-bottom: 0;
    padding-left: max(var(--page-inline), env(safe-area-inset-left, 0px));
    padding-right: max(var(--page-inline), env(safe-area-inset-right, 0px));
    box-sizing: border-box;
    opacity: 1;
    transform: rotate(0deg);
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.hero-intro__grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: clamp(1.5rem, 4vw, 3rem);
    opacity: 1;
    transform: rotate(0deg);
    flex: 1 1 auto;
    min-height: 0;
}

.hero-intro__col {
    flex: 1 1 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Un solo valore per gap tra blocchi e spazio prima del logo (il flex gap non precede il primo figlio) */
    --hero-col-gap: clamp(28px, 5vw, 56px);
    gap: var(--hero-col-gap);
    opacity: 1;
    transform: rotate(0deg);
    box-sizing: border-box;
}

/* Spazio sopra il logo: leggermente più compatto del gap verticale tra i blocchi */
.hero-intro__col:not(.hero-intro__col--visual) {
    padding-top: clamp(20px, 3.5vw, 40px);
}

/* Blocco brand Figma: 519×240, logo + tagline sovrapposti */
.hero-intro__brand {
    position: relative;
    width: min(519px, 100%);
    max-width: 100%;
    height: 240px;
    flex-shrink: 0;
    box-sizing: border-box;
    opacity: 1;
    transform: rotate(0deg);
    overflow: visible;
}

.hero-intro__brand .hero-intro__logo {
    position: absolute;
    left: 0;
    top: 0;
    width: min(519px, 100%);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left top;
    z-index: 1;
    display: block;
    flex-shrink: 0;
}

.hero-intro__tagline {
    box-sizing: border-box;
    max-width: min(371px, 100%);
    min-height: 48px;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(14px, 2.5vw, 20px);
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: left;
    color: #221E4D;
    opacity: 1;
    transform: translateY(clamp(-0.25rem, -0.8vw, -0.1rem)) rotate(0deg);
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-intro__claim {
    box-sizing: border-box;
    max-width: min(685px, 100%);
    min-height: 48px;
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(22px, 5vw, 40px);
    line-height: 1.2;
    letter-spacing: 0;
    color: #E6007C;
    opacity: 1;
    transform: rotate(0deg);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hero-intro__meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: min(685px, 100%);
}

.hero-intro__dates {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(1.25rem, 2.5vw, 32px);
    line-height: 1.2;
    letter-spacing: 0;
    color: #221E4D;
    margin: 0;
    min-height: 38px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    opacity: 1;
    transform: rotate(0deg);
    vertical-align: middle;
}

.hero-intro__pipe {
    color: var(--secondary);
    font-weight: 700;
    padding: 0 0.15em;
}

.hero-intro__place {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: 0;
    color: #221E4D;
    margin: 0;
    min-height: 20px;
    display: flex;
    align-items: center;
    opacity: 1;
    transform: rotate(0deg);
    vertical-align: middle;
}

@media (min-width: 992px) {
    .hero-intro__grid {
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: space-between;
        height: 708px;
        min-height: 708px;
        max-height: 708px;
        gap: 56px;
    }

    .hero-intro__col {
        flex: 0 1 auto;
        min-width: 0;
        max-width: none;
        height: 708px;
        min-height: 708px;
        max-height: 708px;
        --hero-col-gap: 56px;
        gap: var(--hero-col-gap);
        padding-bottom: 80px;
    }

    /* Mano 594×708: niente padding-bottom sulla colonna visiva */
    .hero-intro__col--visual {
        padding-bottom: 0;
    }

    .hero-intro__visual-stack {
        width: 594px;
        max-width: 594px;
        height: 708px;
        flex-shrink: 0;
    }

    .hero-intro__hand {
        width: 594px;
        height: 708px;
        max-width: none;
        object-fit: contain;
    }

    /* Figma: 75×65, 0°, opacity 1 */
    .hero-intro__obj {
        width: 75px;
        max-width: none;
        min-width: unset;
        height: 65px;
        aspect-ratio: unset;
    }

    /* Figma: 120×100.588…, opacity 1 */
    .hero-intro__obj-2 {
        width: 120px;
        max-width: none;
        height: 100.58823px;
    }
}

.hero-intro__logo {
    width: clamp(220px, 42vw, 519px);
    height: auto;
    display: block;
}

.hero-intro__col--visual {
    align-items: flex-end;
    justify-content: flex-end;
}

/* Stack mano + obj_1 a sinistra + obj_2 a destra (Figma) */
.hero-intro__visual-stack {
    position: relative;
    display: inline-block;
    max-width: min(594px, 52vw);
    flex-shrink: 0;
}

.hero-intro__hand {
    width: 100%;
    max-width: 594px;
    height: auto;
    display: block;
    object-fit: contain;
}

@keyframes hero-intro-atom-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes hero-intro-atom-float-mirror {
    0%,
    100% {
        transform: scaleX(-1) translateY(0);
    }

    50% {
        transform: scaleX(-1) translateY(-14px);
    }
}

/* Solo stack hero: la stessa classe .hero-intro__obj-2 è usata altrove */
.hero-intro__visual-stack .hero-intro__obj {
    animation: hero-intro-atom-float 4s ease-in-out infinite;
}

.hero-intro__visual-stack .hero-intro__obj-2 {
    animation: hero-intro-atom-float-mirror 4.6s ease-in-out infinite;
    animation-delay: 0.35s;
}

@media (prefers-reduced-motion: reduce) {

    .hero-intro__visual-stack .hero-intro__obj,
    .hero-intro__visual-stack .hero-intro__obj-2 {
        animation: none;
    }
}

/* Atom a sinistra — Figma: 75×65, 0°, opacity 1; % rispetto allo stack per viewport < 992px */
.hero-intro__obj {
    position: absolute;
    left: -3.54%;
    bottom: 14.83%;
    width: 12.63%;
    min-width: 48px;
    max-width: 75px;
    height: auto;
    aspect-ratio: 75 / 65;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
}

/* Gemma a destra — Figma: 120×100.588…, opacity 1; specchiata orizzontalmente */
.hero-intro__obj-2 {
    position: absolute;
    left: 85%;
    top: 14.83%;
    width: clamp(72px, 20.2vw, 120px);
    max-width: 120px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    transform: scaleX(-1);
    transform-origin: right center;
    margin-left: clamp(-72px, -14vw, -28px);
}

.hero-intro__cta {
    box-sizing: border-box;
    align-self: flex-start;
    flex-shrink: 0;
    /* Evita che la colonna flex schiacci il bottone (min-width: 0 lo comprimeva) */
    min-width: 204px;
    width: fit-content;
    max-width: 100%;
    height: 56px;
    padding: 12px 36px;
    margin: 0;
    background: linear-gradient(90deg, #221E4D 0%, #744A89 100%);
    opacity: 1;
    overflow: visible;
    /* Tipografia sullo span .hero-intro__cta-text (Figma) */
    font-size: 0;
    line-height: 0;
    text-transform: none;
    letter-spacing: 0;
}

.hero-intro__cta-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 132px;
    min-height: 26px;
    font-family: var(--font-body);
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    color: #FFFFFF;
    background: transparent;
    opacity: 1;
    transform: rotate(0deg);
    white-space: nowrap;
}

.hero-intro__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 30, 77, 0.3);
}

@media (max-width: 991px) {
    /* Hero mobile: stack in flusso (mano visibile sopra il gradient), come prima dell’absolute */
    .hero-intro__inner {
        padding-top: 40px;
        padding-bottom: 0;
        padding-left: max(24px, env(safe-area-inset-left, 0px));
        padding-right: max(24px, env(safe-area-inset-right, 0px));
    }

    .hero-intro__grid {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        height: auto;
        min-height: 0;
        max-height: none;
        /* Spazio tra CTA “Diventa Sponsor” e blocco mano */
        gap: clamp(28px, 8vw, 44px);
    }

    .hero-intro__col {
        height: auto;
        min-height: 0;
        max-height: none;
        --hero-col-gap: 16px;
        gap: 16px;
        padding-bottom: 0;
    }

    /* Brand resta ~345px; claim/date/meta usano tutta la larghezza contenuto */
    .hero-intro__col:not(.hero-intro__col--visual) {
        padding-top: 0;
        width: 100%;
        max-width: 100%;
        min-height: 315px;
        box-sizing: border-box;
    }

    .hero-intro__claim {
        width: 100%;
        max-width: min(685px, 100%);
        font-size: clamp(24px, 6.5vw, 34px);
    }

    .hero-intro__meta {
        width: 100%;
        max-width: min(685px, 100%);
    }

    .hero-intro__dates {
        width: 100%;
        max-width: min(685px, 100%);
        font-size: clamp(1.35rem, 5vw, 1.85rem);
    }

    .hero-intro__cta {
        width: 188px;
        min-width: 188px;
        max-width: 188px;
        height: 46px;
        min-height: 46px;
        padding: 12px 36px;
        opacity: 1;
        transform: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero-intro__cta-text {
        width: auto;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
        font-family: var(--font-body);
        font-weight: 500;
        font-style: normal;
        font-size: 14px;
        line-height: 1.6;
        letter-spacing: 0;
        text-align: center;
        vertical-align: middle;
    }

    /* Logo 261×120 + tagline in absolute sul fondo (come desktop) */
    .hero-intro__brand {
        position: relative;
        width: 100%;
        max-width: 345px;
        height: 140px;
        min-height: 140px;
        flex-shrink: 0;
    }

    .hero-intro__brand .hero-intro__logo {
        position: absolute;
        left: 0;
        top: 0;
        width: 261px;
        max-width: min(261px, 100%);
        height: 120px;
        object-fit: contain;
        object-position: left top;
    }

    .hero-intro__tagline {
        position: absolute;
        left: 0;
        bottom: 0;
        margin-top: 0;
        transform: translateY(clamp(-0.15rem, -0.5vw, -0.05rem));
        max-width: min(371px, 100%);
    }

    .hero-intro__col--visual {
        align-items: flex-start;
        width: 100%;
        margin-top: 0;
        justify-content: flex-start;
    }

.hero-intro__visual-stack {
        position: relative;
        width: 219px;
        height: 261px;
        max-width: 219px;
        flex-shrink: 0;
        /* Rimossa la funzione clamp che lo spingeva a destra */
        margin: 0 auto;
        align-self: center; 
    }

    .hero-intro__hand {
        width: 219px;
        height: 261px;
        max-width: 219px;
        max-height: 261px;
        object-fit: contain;
        display: block;
    }

    .hero-intro__obj {
        left: clamp(-140px, -8vw, -55px);
        top: clamp(48px, 14vw, 72px);
        width: clamp(48px, 14vw, 75px);
        max-width: 75px;
        height: auto;
        aspect-ratio: 75 / 65;
    }

    /* Gemma: basso a destra sullo stack mobile */
    .hero-intro__obj-2 {
        left: auto;
        top: auto;
        right: 0px;
        bottom: 10px;
        width: clamp(48px, 16vw, 120px);
        max-width: 88px;
        height: auto;
        margin-left: 0;
        transform: scaleX(-1);
        transform-origin: bottom right;
		
    }
	
	   .hero-intro__obj-7 {
        left: auto;
        top: auto;
        right: 60px;
        bottom: 10px;
        width: clamp(48px, 16vw, 120px);
        max-width: 88px;
        height: auto;
        margin-left: 0;
        transform: scaleX(-1);
        transform-origin: bottom right;
		display:none;
    }
}

.hero {
    box-sizing: border-box;
    width: 100%;
    height: 600px;
    padding-left: max(
        max(var(--page-inline), env(safe-area-inset-left, 0px)),
        min(692px, max(0px, calc((100vw - 1176px) / 2)))
    );
    padding-right: max(
        max(var(--page-inline), env(safe-area-inset-right, 0px)),
        min(692px, max(0px, calc((100vw - 1176px) / 2)))
    );
    background: linear-gradient(rgba(34, 30, 77, 0.3), rgba(34, 30, 77, 0.3)),
        url('asset/images/intersections_video_placeholder.jpg') center/cover no-repeat,
        linear-gradient(115deg, #744a89 0%, #221e4d 45%, #cea7d3 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    opacity: 1;
    transform: rotate(0deg);
}

.hero__embed {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #000;
}

.hero__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: relative;
    z-index: 2;
    width: 56px;
    height: 56px;
    padding: 0;
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    animation: pulse-white 2s infinite;
}

/* display:flex sopra annulla [hidden] in diversi browser — forza lo stato nascosto */
.play-button[hidden] {
    display: none !important;
}

@keyframes pulse-white {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.play-button:hover {
    transform: scale(1.08);
    background: var(--accent);
}

.play-button svg {
    margin-left: 3px;
}

/* Stats — struttura allineata a Figma: “Dati 2026” / “Numeri 2025” (node 670:25862) */
.stats-section {
    position: relative;
    width: 100%;
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    backdrop-filter: blur(200px);
    -webkit-backdrop-filter: blur(200px);
}

.stats-section__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('asset/images/stats-panel-gradient2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.stats-section__panel {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    height: 266px;
    min-height: 266px;
    padding: 0;
    box-sizing: border-box;
    opacity: 1;
    transform: rotate(0deg);
}

.stats-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding-left: max(var(--page-inline), env(safe-area-inset-left, 0px));
    padding-right: max(var(--page-inline), env(safe-area-inset-right, 0px));
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
}

.stats-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: content-box;
    width: 100%;
    max-width: min(1200px, 100%);
    height: 74px;
    min-height: 74px;
    margin: 0 auto;
    padding: 0 0 16px;
    color: #fff;
    line-height: 0;
    text-align: center;
    opacity: 1;
    transform: rotate(0deg);
}

/* Titolo stats — Figma: Poppins 600, 32px, 120% */
.stats-heading__title {
    font-family: var(--font-body);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    color: #FFFFFF;
    width: 100%;
    letter-spacing: 0;
    text-align: center;
    opacity: 1;
    transform: rotate(0deg);
}

/* Sottotitolo — Figma: Poppins 400, 17px, 120% */
.stats-heading__sub {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    color: #FFFFFF;
    width: 100%;
    letter-spacing: 0;
    text-align: center;
    opacity: 1;
    transform: rotate(0deg);
}

/* Riga numeri — Figma: 1200×96, max contenitore 1240 */
.stats-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: min(1200px, 100%);
    height: 96px;
    min-height: 96px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    opacity: 1;
    transform: rotate(0deg);
}

.stats-row .stat-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Tre colonne fino a 400px ciascuna (1200 totali nella riga) */
.stat-item {
    flex: 1 1 0;
    max-width: 400px;
    min-width: 0;
    height: 96px;
    min-height: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
    box-sizing: border-box;
    padding: 0 8px;
    opacity: 1;
    transform: rotate(0deg);
}

.stat-item__value {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    color: #FDD47D;
    margin: 0;
    white-space: nowrap;
    text-align: center;
    opacity: 1;
    transform: rotate(0deg);
}

.stat-item__label {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0;
    color: #FFFFFF;
    margin: 0;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    max-width: 100%;
    opacity: 1;
    transform: rotate(0deg);
}

/* Speakers — dopo i numeri (ordine Figma) */
.speakers-section {
    width: 100%;
    padding: 40px 0;
    text-align: center;
    margin: 0 auto;
}

.speakers-section .layout-max > h2 {
    margin-bottom: 0;
}

.speakers-carousel {
    display: flex;
    gap: 56px;
    justify-content: center;
    overflow-x: auto;
    padding: 24px 0 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.speakers-carousel::-webkit-scrollbar {
    display: none;
}

.speaker-card {
    min-width: 200px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.speaker-photo {
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speaker-photo img {
    display: block;
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.speaker-name {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: #221E4D;
    margin: 0 0 6px;
    text-align: center;
}

.speaker-role {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-main);
    text-align: center;
    max-width: 200px;
    margin: 0;
}

/* Reviews */
.reviews-section {
    width: 100%;
    background: url('asset/images/hero-gradient.png') center/cover no-repeat;
    padding: 56px 0 60px;
    text-align: center;
}

.reviews-container {
    width: 100%;
}

.section-title--reviews {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    color: var(--primary);
    margin: 0 0 40px;
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0;
    align-items: stretch;
}

.review-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
    text-align: left;
    transition: var(--transition);
    height: 100%;
    min-height: clamp(320px, 38vw, 440px);
    max-width: 411px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    overflow: hidden;
    isolation: isolate;
    /* Stessa forma di polygon(15% 0%, … 0% 15%) con tagli limitati da clamp su viewport piccole */
    clip-path: polygon(
        clamp(10px, 15%, 56px) 0%,
        100% 0%,
        100% calc(100% - clamp(10px, 15%, 56px)),
        calc(100% - clamp(10px, 15%, 56px)) 100%,
        0% 100%,
        0% clamp(10px, 15%, 56px)
    );
}

.review-card:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 12px 24px rgba(34, 30, 77, 0.12));
}

.review-card__body {
    background: transparent;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    padding: 41px clamp(20px, 3vw, 32px);
    display: grid;
    grid-template-rows: 1fr auto;
    align-content: stretch;
    gap: clamp(12px, 1.6vw, 18px);
}

.review-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    line-height: 120%;
    letter-spacing: 0;
    color: var(--primary, #221E4D);
    margin: 0;
    min-height: 0;
    align-self: start;
    margin-top: 16px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Evan: citazione più corta — allinea il blocco autore alle altre card */
.review-card--evan .review-person {
    margin-bottom: 40px;
}

.review-person {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    margin-bottom: 16px;
}

.review-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    flex: 1;
    box-sizing: border-box;
}

.review-name {
    font-family: var(--font-body);
    font-weight: 600;
    font-style: normal;
    font-size: 17px;
    line-height: 120%;
    letter-spacing: 0;
    color: var(--primary, #221E4D);
    margin: 0;
}

.review-author .review-name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.review-author .role {
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0;
    color: var(--text-main, #3D3E56);
    margin: 0;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.review-author .highlight {
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0;
    color: var(--secondary, #e6007c);
    margin: 8px 0 0;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Feature — Figma: 1240×520, padding orizzontale 80px, opacity 1 */
.feature-section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 80px;
    margin: 0 auto;
    overflow: visible;
    box-sizing: border-box;
}

.feature-section.container {
    max-width: 1240px;
    min-height: 520px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 50px;
    padding-bottom: 30px;
    box-sizing: border-box;
    background-color: #fff;
    background-image: url('asset/images/bg-cross.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Solo gemma hero (.hero-intro__obj-2): box come proporzioni stack 594×708 per left/top % */
.feature-section.container .feature-section__hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    pointer-events: none;
    width: min(594px, 52vw);
    max-width: 594px;
    aspect-ratio: 594 / 708;
    height: auto;
}

.feature-decor {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

.feature-decor--1 {
    left: -38px;
    bottom: 80px;
    width: 75px;
    height: auto;
}

.feature-decor--2 {
    right: 40px;
    top: 62px;
    width: 120px;
    height: auto;
    transform: rotate(90deg);
    animation-delay: -2s;
}

.feature-image-stack {
    position: relative;
    flex: 0 0 520px;
    width: 520px;
    max-width: 100%;
    flex-shrink: 0;
    overflow: visible;
}

.feature-image {
    position: relative;
    width: 100%;
    height: 520px;
    max-width: 100%;
    padding: clamp(14px, 2.5vw, 28px) clamp(10px, 1.8vw, 20px) 0;
    box-sizing: border-box;
    background: url('asset/images/hero-gradient.png') center / cover no-repeat;
    clip-path: polygon(15% 0%, 100% 0%, 100% 85%, 85% 100%, 0% 100%, 0% 15%);
    border-radius: 0;
    overflow: hidden;
}

.feature-image__hand {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center 58%;
    display: block;
}

/* Figma 75×65, 0° — centro sul vertice basso-sinistro del box mano: metà dentro / metà fuori (fuori dal clip-path) */
.feature-image__obj {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75px;
    height: 65px;
    object-fit: contain;
    object-position: center;
    transform: translate(-50%, calc(50% - 60px));
    pointer-events: none;
    z-index: 3;
    opacity: 1;
}

.feature-content {
    flex: 1;
    min-width: 0;
    max-width: 680px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

.tagline {
    font-weight: 700;
    font-size: 12px;
    color: var(--secondary);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Figma: Poppins 700, 12px, uppercase, colore Pink #E6007C */
.tagline.tagline--feature {
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    line-height: 120%;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--secondary, #e6007c);
    margin-bottom: 0;
    max-width: none;
    vertical-align: middle;
}

.tagline--feature .tagline-pipe {
    color: var(--secondary, #e6007c);
    font-weight: 700;
}

.tagline-br-mobile {
    display: none;
}

.feature-content h2,
#feature-title {
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
}

/* Figma: Panel Sans 700, 52px, colore Blue #221E4D */
#feature-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: normal;
    font-size: 52px;
    line-height: 120%;
    letter-spacing: 0;
    color: var(--primary, #221e4d);
    vertical-align: middle;
}

/* Figma: Poppins Regular 400, 17px, line-height 120%, letter-spacing 0, testo Space Indigo #3D3E56 */
.feature-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    line-height: 120%;
    letter-spacing: 0;
    color: var(--text-main, #3d3e56);
}

.feature-body p {
    margin: 0;
    font-family: inherit;
    font-style: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
}

/* Organizzato da — Figma: riga ~48px, gap 80 titolo↔griglia; griglia 652×48 gap 40; logo 95×48 */
.organized-by.container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 48px;
    padding-bottom: 80px;
    padding-left: max(var(--page-inline), clamp(20px, 4vw, 56px), env(safe-area-inset-left, 0px));
    padding-right: max(var(--page-inline), clamp(20px, 4vw, 56px), env(safe-area-inset-right, 0px));
    box-sizing: border-box;
    opacity: 1;
}

.organized-by__row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    direction: ltr;
    gap: 80px;
    min-height: 48px;
    opacity: 1;
}

/* Figma: Poppins Medium 500, 16px, line-height 160%, Blue #221E4D */
.organized-by h3#org-title {
    flex: 0 0 auto;
    margin: 0;
    font-family: var(--font-body);
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 0;
    color: var(--primary, #221e4d);
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
    opacity: 1;
}

.organized-by .logo-grid {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: 652px;
    min-height: 48px;
    height: auto;
    gap: 40px;
    opacity: 1;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95px;
    height: 48px;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: var(--transition);
    opacity: 1;
}

.partner-logo--text {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.04em;
    color: #231E4D;
    opacity: 0.75;
}

.partner-logo img {
    max-width: 95px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

/* CTA banner — sfondo a tutta larghezza; contenuto limitato nel .container (Figma padding 40 / 120) */
.cta-banner {
    width: 100%;
    min-height: 360px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: clamp(24px, 8vw, 120px);
    padding-right: clamp(24px, 8vw, 120px);
    box-sizing: border-box;
    background: var(--cta-banner-bg);
    text-align: center;
    opacity: 1;
}

.cta-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: var(--page-max-width);
    min-height: 280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    opacity: 1;
}

/* Figma: Panel Sans 700, 52px, Blue #221E4D */
.cta-banner #cta-title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: normal;
    font-size: 52px;
    line-height: 120%;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    color: var(--primary, #221e4d);
}

/* Figma: area testo 1200×124, gap 12 */
.cta-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
    min-height: 124px;
    text-align: center;
    box-sizing: border-box;
    opacity: 1;
}

.cta-body p {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    font-style: normal;
    line-height: 120%;
    letter-spacing: 0;
    color: var(--text-main, #3d3e56);
    margin: 0;
}

/* Figma: Poppins Bold 17px, Space Indigo */
.cta-lead {
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: 17px;
    line-height: 120%;
    letter-spacing: 0;
    text-align: center;
    color: var(--text-main, #3d3e56);
}

.cta-lead strong {
    font-weight: 700;
    font-family: inherit;
}

/* Figma: 305×46, padding 12×36, gradient */
.cta-banner .btn-cta.btn-cta--wide {
    width: 305px;
    max-width: 100%;
    height: 46px;
    min-width: unset;
    padding: 12px 36px;
    box-sizing: border-box;
    background: linear-gradient(90deg, #221e4d 0%, #744a89 100%);
    opacity: 1;
    text-transform: none;
}

/* Footer — Figma: min-height 291, padding 40 120 16, gap 40 */
footer {
    width: 100%;
    min-height: 291px;
    padding-top: 40px;
    padding-bottom: 16px;
    padding-left: max(var(--page-inline), clamp(24px, 8vw, 120px), env(safe-area-inset-left, 0px));
    padding-right: max(var(--page-inline), clamp(24px, 8vw, 120px), env(safe-area-inset-right, 0px));
    background: var(--footer-bg);
    box-sizing: border-box;
    opacity: 1;
}

.footer-wrap {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 0;
}

/* Figma: 456×162, gap 40 */
.footer-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    max-width: 456px;
    min-height: 162px;
    box-sizing: border-box;
    opacity: 1;
}

/* Figma: logo 195×90 (solo footer; header usa .logo-container globale) */
footer .logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 195px;
    height: 90px;
    flex-shrink: 0;
    opacity: 1;
}

footer .logo-container img {
    width: 195px;
    height: 90px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Figma: 456×32, gap 32 tra loghi */
.footer-partner-logos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    max-width: 456px;
    min-height: 32px;
    gap: 32px;
    opacity: 1;
}

.footer-partner-logos img {
    width: 63px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Figma: 216×24, gap 40 */
.social-icons {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-shrink: 0;
    width: 216px;
    max-width: 100%;
    min-height: 24px;
    justify-content: flex-end;
    opacity: 1;
}

.social-link {
    display: flex;
    color: inherit;
    line-height: 0;
    transition: opacity 0.2s ease;
}

.social-link img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.social-link:hover {
    opacity: 0.75;
}

/* Figma: height 33, padding-top 16, gap 16, bordo superiore 1px */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    padding-top: 16px;
    min-height: 33px;
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    box-sizing: border-box;
    opacity: 1;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 28.8px;
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Figma: Poppins Regular 14px, Dusty Grey #6B6E94, centrato */
.copyright {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    color: var(--text-muted, #6b6e94);
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(4deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.feature-decor--2 {
    animation-name: float-rot;
}

@keyframes float-rot {
    0% {
        transform: rotate(90deg) translateY(0);
    }

    50% {
        transform: rotate(90deg) translateY(-12px);
    }

    100% {
        transform: rotate(90deg) translateY(0);
    }
}

@media (max-width: 1024px) {
    .stats-section__panel {
        height: auto;
        min-height: 0;
        padding: 40px 0;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .feature-section.container {
        padding: 60px 24px;
    }

    .feature-section.container .feature-section__hero-visual {
        transform: scale(0.42);
        transform-origin: top right;
    }

    .feature-section {
        flex-direction: column;
        text-align: center;
    }

    .feature-content h2 {
        text-align: center;
    }

    .feature-image-stack {
        flex: none;
        width: 100%;
        max-width: 520px;
    }

    .feature-image {
        height: auto;
        aspect-ratio: 1;
    }

    .feature-decor--1 {
        left: 8px;
    }

    .feature-decor--2 {
        right: 8px;
    }

    .header-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .header-info {
        flex-direction: column;
        gap: 20px;
    }

    .logo-container {
        align-items: center;
    }

    .event-line {
        justify-content: center;
    }

    .event-details {
        width: 100%;
        align-items: center;
    }

    .tagline--feature {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }

    .copyright {
        text-align: center;
    }

    .cta-banner {
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: max(var(--page-inline), 24px);
        padding-right: max(var(--page-inline), 24px);
    }

    footer {
        padding-top: 40px;
        padding-bottom: 16px;
        padding-left: max(var(--page-inline), 24px);
        padding-right: max(var(--page-inline), 24px);
    }

    .speakers-carousel {
        padding: 24px 0 0;
        justify-content: flex-start;
        scroll-padding-inline: var(--page-inline);
    }
}

/* Tablet e mobile: numeri in colonna */
@media (max-width: 1023px) {
    .stats-heading {
        height: auto;
        min-height: 0;
        padding: 0 0 12px;
    }

    .stats-row {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: stretch;
        height: auto;
        min-height: 0;
        max-width: 100%;
        gap: 28px;
    }

    .stat-item {
        flex: none;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 96px;
    }

    .stat-item__value {
        font-size: clamp(2.25rem, 7vw, 3.25rem);
    }
}

@media (max-width: 991px) {
    /* Video hero a tutta larghezza, senza margini/padding orizzontali */
    .hero {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        height: 237px;
        min-height: 237px;
        max-height: none;
        padding-left: 0;
        padding-right: 0;
        opacity: 1;
        transform: none;
        box-sizing: border-box;
    }

    .stats-heading__title {
        font-family: var(--font-body);
        font-weight: 600;
        font-style: normal;
        font-size: 24px;
        line-height: 1.2;
        letter-spacing: 0;
        text-align: center;
        vertical-align: middle;
    }

    #speakers-title {
        font-family: var(--font-heading);
        font-weight: 700;
        font-style: normal;
        font-size: 40px;
        line-height: 1.2;
        letter-spacing: 0;
        text-align: center;
        vertical-align: middle;
    }

    .speakers-carousel {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
        height: auto;
        min-height: 0;
        padding: 24px 0;
        gap: 56px;
        overflow-x: visible;
        overflow-y: visible;
        scroll-padding-inline: 0;
    }

    .speaker-card {
        width: 200px;
        max-width: 200px;
        min-width: 200px;
        min-height: 269px;
        height: auto;
        gap: 6px;
        flex-shrink: 0;
    }

    .speaker-card .speaker-photo {
        margin: 0 0 16px;
        width: 200px;
        height: 200px;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .speaker-card .speaker-photo img {
        width: 200px;
        height: 200px;
        max-width: 200px;
        max-height: 200px;
        object-fit: contain;
        object-position: center;
    }

    .speaker-card .speaker-name {
        margin-bottom: 0;
    }

    .review-card {
        max-width: 360px;
        width: 100%;
    }

    .review-card__body {
        width: 100%;
        max-width: 360px;
        min-height: 360px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        opacity: 1;
        transform: none;
        box-sizing: border-box;
        gap: 32px;
    }

    .review-text {
        margin-top: 12px;
    }

    /* Stesso margine interno delle altre card (desktop usa +40px solo per Evan) */
    .review-card--evan .review-person {
        margin-bottom: 16px;
    }

    .feature-section.container {
        padding-bottom: 0;
    }

    /* Feature: blocco testo mobile (Figma 345×416, gap 16, 0°, testo a sinistra) */
    .feature-section .feature-content {
        flex: 0 1 auto;
        width: min(345px, 100%);
        max-width: 345px;
        min-height: 416px;
        gap: 16px;
        opacity: 1;
        transform: rotate(0deg);
        text-align: left;
        align-items: flex-start;
        align-self: flex-start;
        box-sizing: border-box;
    }

    .feature-section .feature-content h2,
    .feature-section .feature-content #feature-title {
        text-align: left;
    }

    .feature-section .feature-content .tagline--feature {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .feature-section .feature-content .tagline-br-mobile {
        display: block;
    }

    .feature-section .feature-content .feature-body {
        text-align: left;
    }

    /* Organizzato da: riga mobile (Figma 393×242, gap 24, padding 24 orizzontale) */
    .organized-by .organized-by__row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: min(393px, 100%);
        max-width: 393px;
        min-height: 242px;
        margin-left: auto;
        margin-right: auto;
        gap: 24px;
        padding-left: 24px;
        padding-right: 24px;
        box-sizing: border-box;
        opacity: 1;
        transform: rotate(0deg);
    }

    /* Griglia loghi mobile: 2 per riga; ultimo logo centrato sulla riga finale */
    .organized-by .logo-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-self: stretch;
        width: 100%;
        max-width: none;
        justify-items: center;
        column-gap: 24px;
        row-gap: 24px;
    }

    .organized-by .logo-grid .partner-logo:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }

    /* CTA banner mobile: sfondo a tutta larghezza; contenuto max 393px (Figma) */
    .cta-banner {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        min-height: 505px;
        padding-top: 40px;
        padding-right: max(24px, env(safe-area-inset-right, 0px));
        padding-bottom: 40px;
        padding-left: max(24px, env(safe-area-inset-left, 0px));
        box-sizing: border-box;
        opacity: 1;
        transform: rotate(0deg);
    }

    .cta-banner .container {
        max-width: min(393px, 100%);
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-banner #cta-title {
        font-family: var(--font-heading);
        font-weight: 700;
        font-style: normal;
        font-size: 26px;
        line-height: 120%;
        letter-spacing: 0;
        text-align: center;
        vertical-align: middle;
    }

    .cta-banner .cta-body p {
        font-family: var(--font-body);
        font-weight: 400;
        font-style: normal;
        font-size: 17px;
        line-height: 120%;
        letter-spacing: 0;
        text-align: center;
    }

    .cta-banner .cta-body span,
    .cta-banner .cta-body strong {
        font-family: var(--font-body);
        font-weight: 700;
        font-style: normal;
        font-size: 17px;
        line-height: 120%;
        letter-spacing: 0;
        text-align: center;
    }

    .cta-banner .btn-cta.btn-cta--wide {
        width: 171px;
        max-width: 100%;
        height: 46px;
        min-height: 46px;
        padding: 12px 36px;
        box-sizing: border-box;
        opacity: 1;
        transform: rotate(0deg);
        font-family: var(--font-body);
        font-weight: 500;
        font-style: normal;
        font-size: 14px;
        line-height: 160%;
        letter-spacing: 0;
        text-align: center;
        vertical-align: middle;
    }

    /* Footer mobile — Figma 393×606, padding 24/24/16/24, gap 24 */
    footer {
        padding-top: 25px;
        padding-right: max(24px, env(safe-area-inset-right, 0px));
        padding-bottom: 25px;
        padding-left: max(24px, env(safe-area-inset-left, 0px));
    }

    footer .footer-wrap.container {
        max-width: min(393px, 100%);
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .footer-wrap {
        gap: 24px;
    }

    .footer-top {
        align-items: center;
        gap: 24px;
    }

    .footer-left-col {
        width: min(345px, 100%);
        max-width: 345px;
        min-height: 262px;
        gap: 40px;
        align-items: center;
        align-self: center;
    }

    footer .logo-container {
        width: 152px;
        height: 70px;
        align-items: center;
    }

    footer .logo-container img {
        width: 152px;
        height: 70px;
    }

    /* 3 loghi per riga; ultima riga (2 loghi) centrata — justify-content per riga in flex-wrap */
    .footer-partner-logos {
        width: min(345px, 100%);
        max-width: 345px;
        min-height: 88px;
        gap: 56px;
        justify-content: center;
    }

    .footer-partner-logos img {
        max-width: 80px;
        width: auto;
        height: 32px;
        opacity: 1;
    }

    .social-icons {
        width: 216px;
        max-width: 1290px;
        min-height: 24px;
        gap: 40px;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .social-link img {
        width: 24px;
        height: 24px;
    }

    .copyright {
        font-family: var(--font-body);
        font-weight: 400;
        font-style: normal;
        font-size: 14px;
        line-height: 120%;
        letter-spacing: 0;
        text-align: center;
        vertical-align: middle;
    }

    /* Feature section: atom in basso a sinistra */
    .feature-section .feature-image__obj {
        left: 30px;
        right: auto;
        bottom: -20px;
        top: auto;
        width: 50px;
        height: 50px;
        max-width: 50px;
        max-height: 50px;
        transform: none;
        opacity: 1;
    }
}
