/* ==============================
   POPUP EVENTO PRESENTAZIONE LISTA
   ============================== */

.event-popup {
    position: fixed;
    right: min(2.5vw, 28px);
    bottom: min(3vw, 36px);
    width: min(340px, calc(100vw - 48px));
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.35rem 1.5rem 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(9, 18, 48, 0.94);
    box-shadow: var(--shadow-md);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 950;
}

.event-popup.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.event-popup__media {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(47, 124, 247, 0.15);
    display: grid;
    place-items: center;
}

.event-popup__media img {
    width: 60px;
    height: auto;
}

.event-popup__content {
    display: grid;
    gap: 0.5rem;
    align-content: start;
}

.event-popup__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--aqua-400);
}

.event-popup__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.3;
}

.event-popup__details {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    display: grid;
    gap: 0.25rem;
}

.event-popup__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.35rem;
}

.event-popup__close {
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.event-popup__close:hover,
.event-popup__close:focus-visible {
    background: rgba(255, 255, 255, 0.25);
}

.event-popup__link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--aqua-400);
    text-decoration: underline;
}

@media (max-width: 540px) {
    .event-popup {
        grid-template-columns: 64px 1fr;
        padding: 1.1rem;
    }

    .event-popup__media {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .event-popup__media img {
        width: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .event-popup {
        transition: none;
    }
}

/* ==============================
   POPUP PROFILO – proporzioni A4 corrette
   ============================== */

.profile-popup {
    position: fixed;
    right: min(2.5vw, 28px);
    bottom: min(3vw, 36px);
    width: min(320px, calc(100vw - 48px));
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-radius: var(--radius-md);
    background: rgba(9, 18, 48, 0.92);
    box-shadow: var(--shadow-md);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 950;
}

.profile-popup.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.profile-popup__image {
    width: 88px;
    height: calc(88px * 1.414); /* proporzione A4 verticale */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.profile-popup__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-popup__content {
    display: grid;
    gap: 0.4rem;
    align-content: start;
}

.profile-popup__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1.25;
}

.profile-popup__text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
}

.profile-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.profile-popup__close:hover,
.profile-popup__close:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.profile-popup__close span {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

@media (max-width: 540px) {
    .profile-popup {
        grid-template-columns: 70px 1fr;
        padding: 1rem;
        gap: 0.75rem;
    }

    .profile-popup__image {
        width: 70px;
        height: calc(70px * 1.414); /* proporzione mantenuta */
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-popup {
        transition: none;
    }
}



.hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
}

.hero::before {
    width: 420px;
    height: 420px;
    background: linear-gradient(160deg, var(--pink-400), var(--brand-400));
    top: -120px;
    right: -160px;
}

.hero::after {
    width: 360px;
    height: 360px;
    background: linear-gradient(140deg, var(--aqua-400), var(--pink-500));
    bottom: -120px;
    left: -140px;
}

.hero__inner {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero__content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.7rem, 6vw, 4.6rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero__content p {
    font-size: 1.15rem;
    max-width: 38ch;
    color: rgba(255, 255, 255, 0.78);
}

.hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    background: rgba(49, 241, 209, 0.18);
    color: var(--aqua-400);
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(49, 241, 209, 0.4);
    margin-bottom: 1.5rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.95rem 1.75rem;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--aqua-400), var(--pink-400));
    color: var(--brand-900);
    box-shadow: 0 20px 45px rgba(49, 241, 209, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.btn-ghost {
    background: rgba(49, 241, 209, 0.08);
    color: var(--aqua-400);
    box-shadow: inset 0 0 0 1px rgba(49, 241, 209, 0.4);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(49, 241, 209, 0.16);
    box-shadow: inset 0 0 0 1px rgba(49, 241, 209, 0.55);
}

.btn-link {
    padding: 0;
    background: transparent;
    color: var(--aqua-400);
    box-shadow: none;
    text-transform: none;
    letter-spacing: normal;
}

.btn-link:hover {
    transform: none;
    text-decoration: underline;
}

.btn:hover {
    transform: translateY(-4px) scale(1.01);
}

.hero__media {
    position: relative;
    justify-self: center;
}

.hero__badge-stack {
    position: absolute;
    top: 12%;
    left: -16%;
    display: grid;
    gap: 0.75rem;
}

.hero-badge {
    backdrop-filter: blur(16px);
    background: rgba(15, 30, 73, 0.75);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-md);
}

.hero__media-card {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero__media-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

.hero__media-card img {
    width: min(260px, 50vw);
    margin: 0 auto;
}

.hero__stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hero__stat {
    min-width: 180px;
    background: rgba(14, 33, 77, 0.7);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.hero__stat strong {
    display: block;
    font-size: 2rem;
    font-family: var(--font-heading);
    color: #fff;
}

.hero__stat span {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.values-grid--pillars {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card--pillar {
    background: rgba(13, 28, 62, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.card--pillar h3 {
    font-size: 1.5rem;
}

.card--pillar p {
    color: rgba(255, 255, 255, 0.78);
}


.values-grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: rgba(12, 24, 56, 0.72);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.26);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 1rem;
}

.card a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-weight: 600;
    color: var(--aqua-400);
}

.card a::after {
    content: '→';
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.card a:hover::after {
    transform: translateX(4px);
}

.badge-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.badge-item {
    padding: 1rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.program-overview {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.program-card {
    background: rgba(11, 24, 58, 0.78);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-md);
    padding: 2.25rem;
    display: grid;
    gap: 1.25rem;
}

.program-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.program-card ul {
    list-style: none;
    display: grid;
    gap: 0.85rem;
    padding-left: 0;
}

.program-card li {
    position: relative;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.82);
}

.program-card li::before {
    content: '';
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--aqua-400);
}

.program-intro__header {
    position: relative;
    z-index: 2;
    max-width: 68ch;
    margin: 0 auto 3rem;
    text-align: center;
    display: grid;
    gap: 1.25rem;
}

.program-body {
    padding-top: 4rem;
}

.program-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

.program-sidebar {
    position: sticky;
    top: 6.5rem;
    display: grid;
    gap: 1.5rem;
    background: rgba(8, 18, 46, 0.78);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    max-height: calc(100vh - 8rem);
}

.program-sidebar__title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
}

.program-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
    overflow: auto;
    max-height: calc(100vh - 15rem);
    padding-right: 0.3rem;
}

.program-nav li {
    display: block;
}

.program-nav a {
    display: block;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.program-nav a:hover,
.program-nav a:focus {
    background: rgba(49, 241, 209, 0.18);
    color: #fff;
    transform: translateX(4px);
    text-decoration: none;
}

.program-sidebar__note {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
}

.program-content {
    display: grid;
    gap: 2.75rem;
}

.program-topic {
    position: relative;
    z-index: 2;
    background: rgba(13, 28, 64, 0.74);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
    padding: clamp(2rem, 4vw, 3rem);
    display: grid;
    gap: 1.75rem;
}

.program-topic:nth-of-type(even) {
    background: linear-gradient(160deg, rgba(13, 28, 64, 0.74), rgba(25, 34, 79, 0.78));
}

.program-topic__header {
    display: grid;
    gap: 1rem;
}

.program-topic__lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 70ch;
}

.program-topic__body {
    display: grid;
    gap: 1.5rem;
}

.program-topic__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.15rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.program-topic__grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.program-point {
    background: rgba(9, 20, 52, 0.7);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-sm);
    color: rgba(255, 255, 255, 0.88);
}

.program-point strong {
    color: var(--aqua-300);
}

@media (max-width: 1100px) {
    .program-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .program-sidebar {
        position: relative;
        top: 0;
        max-height: none;
    }

    .program-nav ul {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 720px) {
    .program-body {
        padding-top: 2rem;
    }

    .program-sidebar {
        padding: 1.5rem;
    }

    .program-sidebar__title {
        font-size: 1.3rem;
    }

    .program-nav a {
        padding: 0.55rem 0.75rem;
    }

    .program-content {
        gap: 2rem;
    }

    .program-topic {
        padding: clamp(1.6rem, 6vw, 2.2rem);
    }
}

@media (max-width: 520px) {
    .program-nav a {
        font-size: 0.95rem;
    }

    .program-topic__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.results-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.result-card {
    background: rgba(12, 26, 60, 0.8);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 0.9rem;
}

.result-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.events-agenda {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.events-cta {
    margin-top: 2.5rem;
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    text-align: center;
}

.events-cta p {
    max-width: 42ch;
}

.team-highlight {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(2.5rem, 6vw, 4rem);
    align-items: start;
}

.team-highlight__lead {
    background: rgba(11, 24, 58, 0.78);
    border-radius: var(--radius-xl);
    padding: clamp(2.2rem, 4vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 1.1rem;
}

.team-highlight__lead h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.team-highlight__lead ul {
    list-style: none;
    display: grid;
    gap: 0.85rem;
    padding-left: 0;
}

.team-highlight__lead li {
    position: relative;
    padding-left: 1.6rem;
    color: rgba(255, 255, 255, 0.85);
}

.team-highlight__lead li::before {
    content: '';
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--pink-400);
}

.team-highlight__members {
    display: grid;
    gap: 1.5rem;
}

.team-highlight__members article {
    background: rgba(13, 28, 62, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.8rem;
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 0.75rem;
}

.team-highlight__members h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.participate-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
}

.participate-card {
    background: rgba(12, 25, 61, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: grid;
    gap: 1rem;
    box-shadow: var(--shadow-md);
}

.participate-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.participate-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.participate-card p {
    color: rgba(255, 255, 255, 0.8);
}


.news-grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.news-card {
    display: grid;
    gap: 1.25rem;
    background: rgba(12, 25, 61, 0.82);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.news-content {
    padding: 1.75rem;
}

.news-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.contact-cta {
    position: relative;
    z-index: 2;
    background: linear-gradient(120deg, rgba(49, 241, 209, 0.18), rgba(242, 86, 157, 0.15));
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: grid;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.18);
}


.page-hero {
    padding: 6rem 0 3rem;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(49, 241, 209, 0.18), transparent 60%);
    opacity: 0.6;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    margin-bottom: 1rem;
}

.page-kicker {
    font-size: 0.9rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--aqua-400);
    margin-bottom: 1.2rem;
}

.page-lead {
    max-width: 60ch;
}

.leader {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.leader img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.leader-text h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.leader-points {
    margin-top: 1.5rem;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.leader-points li {
    padding-left: 1.8rem;
    position: relative;
}

.leader-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--aqua-400), var(--pink-400));
}

.candidates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.candidate-card {
    background: rgba(12, 24, 58, 0.76);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.35s ease;
}

.candidate-card:hover {
    transform: translateY(-12px);
}

.candidate-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    padding: 0 1.5rem;
}

.candidate-card p {
    padding: 0 1.5rem;
    font-size: 0.95rem;
}

.method-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    position: relative;
    z-index: 2;
}

.method-card {
    background: rgba(11, 23, 58, 0.68);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
}


.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: rgba(12, 25, 62, 0.72);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 1rem;
}

.contact-card--highlight {
    background: linear-gradient(150deg, rgba(49, 241, 209, 0.18), rgba(242, 86, 157, 0.22));
}

.contact-card ul {
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.qr-code {
    width: 160px;
    justify-self: start;
    border-radius: var(--radius-md);
}

.newsletter-form {
    display: grid;
    gap: 1.2rem;
    background: rgba(12, 24, 58, 0.68);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.16);
    position: relative;
    z-index: 2;
}

.newsletter-form label {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 0.9rem 1.4rem;
    color: #fff;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    justify-self: start;
}

.form-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .hero__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero__media-card img {
        width: 320px;
    }

    .conversion-banner__inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    }

    .conversion-banner__cta .btn {
        width: auto;
    }

    .pledge {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }

    .leader {
        grid-template-columns: 1fr 1.2fr;
    }
}

@media (max-width: 767px) {
    .hero {
        padding-top: 6.5rem;
    }

    .hero__stat {
        min-width: calc(50% - 0.75rem);
        flex: 1;
    }
}

@media (max-width: 540px) {
    .hero__stat {
        min-width: 100%;
    }
}

/* ==============================
   MODULO PROPOSTE CITTADINI
   ============================== */

.citizen-form {
    padding-top: 0;
}

.citizen-form .container {
    display: grid;
    gap: clamp(2rem, 5vw, 3rem);
    max-width: 960px;
}

.citizen-form__intro {
    display: grid;
    gap: 1.25rem;
}

.citizen-form__intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 2.6vw, 2.4rem);
    line-height: 1.2;
}

.citizen-form__intro p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
}

.citizen-form__embed {
    background: rgba(8, 18, 48, 0.75);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: clamp(1.2rem, 3vw, 2rem);
}

.citizen-form__embed iframe {
    width: 100%;
    min-height: 640px;
    border: 0;
    border-radius: var(--radius-md);
    background: #fff;
}

@media (max-width: 768px) {
    .citizen-form__intro p {
        font-size: 1rem;
    }

    .citizen-form__embed iframe {
        min-height: 540px;
    }
}

@media (max-width: 520px) {
    .citizen-form__embed {
        padding: clamp(1rem, 6vw, 1.5rem);
    }

    .citizen-form__embed iframe {
        min-height: 500px;
    }
}
