@charset "utf-8";

/* Stili dedicati alla landing. Nessuna modifica agli stili condivisi. */
.kundi-landing {
    --kundi-ink: #202124;
    --kundi-muted: #737479;
    --kundi-pink: #ff3264;
    --kundi-gutter: clamp(32px, 5.55vw, 112px);
    margin: 0;
    background: #fff;
    color: var(--kundi-ink);
    /* Stack già adottato nella schermata di accesso; nessuna richiesta a font esterni. */
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.kundi-landing *,
.kundi-landing *::before,
.kundi-landing *::after {
    box-sizing: border-box;
}

.kundi-landing ::selection {
    background: var(--kundi-pink);
    color: #fff;
}

.kundi-story {
    width: 100%;
}

.kundi-stage {
    position: relative;
    isolation: isolate;
    overflow: clip;
    background: #fff;
}

.kundi-opening {
    position: relative;
    height: 100vh;
    height: 100svh;
}

.kundi-brand {
    position: absolute;
    z-index: 5;
    top: clamp(28px, 4.8svh, 54px);
    left: var(--kundi-gutter);
    line-height: 1;
}

.kundi-brand img {
    display: block;
    width: 110px;
    height: 42px;
    object-fit: contain;
    object-position: left center;
}

.kundi-wordmark {
    display: block;
    font-size: 41px;
    font-weight: 750;
    letter-spacing: -.075em;
}

.kundi-wordmark > span {
    color: var(--kundi-pink);
}

.kundi-copy {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: var(--kundi-gutter);
    transform: translateY(-45%);
}

.kundi-headline {
    margin: 0;
    font-size: clamp(64px, 6.65vw, 128px);
    font-weight: 650;
    line-height: 1.065;
    letter-spacing: -.05em;
}

.kundi-headline-line {
    display: block;
    white-space: nowrap;
}

.kundi-heading-rest,
.kundi-word-anchor,
.kundi-word {
    display: inline-block;
}

.kundi-word {
    position: relative;
    z-index: 1;
    color: var(--kundi-pink);
    transform-origin: 50% 50%;
}

.kundi-subtitle {
    margin: 30px 0 0;
    color: var(--kundi-muted);
    font-size: clamp(15px, 1.3vw, 22px);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -.025em;
}

.kundi-product-position {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 55%;
    width: 72vw;
    max-width: 1500px;
    aspect-ratio: 3 / 2;
    transform: translateY(-38%);
}

.kundi-product-reveal {
    width: 100%;
    height: 100%;
}

.kundi-product {
    /* Raccordo: rettangolo dello schermo rispetto all'intero asset laptop.
       Calibrare questi quattro valori quando arriva il fotomontaggio definitivo. */
    --screen-left: 7.6%;
    --screen-top: 3.1%;
    --screen-width: 84.8%;
    --screen-height: 81.8%;
    position: relative;
    width: 100%;
    height: 100%;
}

.kundi-laptop,
.kundi-laptop-placeholder,
.kundi-laptop-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.kundi-laptop-image {
    display: block;
    object-fit: contain;
}

.kundi-laptop-lid {
    position: absolute;
    inset: 0 5.5% 11%;
    border: 1px solid #66676b;
    border-radius: clamp(9px, 1.5vw, 23px) clamp(9px, 1.5vw, 23px) 5px 5px;
    background: linear-gradient(135deg, #3a3b3e, #191a1d 45%, #35363a);
    box-shadow: inset 0 0 0 2px #3f4044, 0 12px 32px rgb(32 33 36 / 8%);
}

.kundi-laptop-placeholder > .kundi-screen-surface,
.kundi-dashboard {
    position: absolute;
    left: var(--screen-left);
    top: var(--screen-top);
    width: var(--screen-width);
    height: var(--screen-height);
    overflow: hidden;
    border-radius: 4px;
}

.kundi-screen-surface {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: linear-gradient(145deg, #fafafa, #f0f0f2);
}

.kundi-screen-mark {
    color: var(--kundi-pink);
    font-size: clamp(24px, 3vw, 58px);
    font-weight: 650;
    letter-spacing: -.075em;
}

.kundi-screen-surface .kundi-screen-mark > img {
    display: block;
    width: 4em;
    height: auto;
}

.kundi-laptop-camera {
    position: absolute;
    top: 1.05%;
    left: calc(50% - 2px);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #111216;
    box-shadow: inset 0 0 0 1px #484950;
}

.kundi-laptop-base {
    position: absolute;
    bottom: 7%;
    width: 100%;
    height: 4.3%;
    border-radius: 2px 2px 50% 50% / 2px 2px 90% 90%;
    background: linear-gradient(#e2e2e5 0%, #a7a8ad 48%, #d1d1d5 57%, #8a8b91 100%);
    box-shadow: 0 2px 2px rgb(32 33 36 / 14%);
}

.kundi-laptop-notch {
    position: absolute;
    bottom: 9.3%;
    left: 43%;
    width: 14%;
    height: 1.8%;
    border-radius: 0 0 9px 9px;
    background: linear-gradient(#929399, #bfc0c5);
}

.kundi-laptop-shadow {
    position: absolute;
    z-index: -1;
    right: 7%;
    bottom: 5.5%;
    left: 7%;
    height: 3%;
    border-radius: 50%;
    background: rgb(32 33 36 / 15%);
    filter: blur(12px);
}

.kundi-dashboard {
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    background: #f6f6f7;
}

.kundi-dashboard img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.kundi-scroll-hint {
    position: absolute;
    z-index: 4;
    bottom: max(30px, 5svh);
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    color: var(--kundi-muted);
    font-size: 11px;
    font-weight: 450;
    letter-spacing: .055em;
    transform: translateX(-50%);
}

.kundi-scroll-line {
    width: 1px;
    height: 34px;
    background: linear-gradient(#9b9ba0, #e9e9eb);
}

.kundi-next {
    position: relative;
    z-index: 6;
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    padding: 48px var(--kundi-gutter);
    place-items: center;
    background: #fff;
    text-align: center;
}

.kundi-next h2 {
    margin: 0;
    font-size: clamp(52px, 7.2vw, 138px);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -.05em;
}

.kundi-next h2 > span {
    color: var(--kundi-pink);
}

/* JS attiva la scena sovrapposta soltanto quando può animarla. */
.kundi-motion .kundi-stage {
    height: 100vh;
    height: 100svh;
}

.kundi-motion .kundi-next {
    position: absolute;
    inset: 0;
    min-height: 0;
    visibility: hidden;
    opacity: 0;
}

@media (max-width: 767px) {
    .kundi-landing {
        --kundi-gutter: 26px;
    }

    .kundi-brand {
        top: max(26px, env(safe-area-inset-top));
    }

    .kundi-wordmark {
        font-size: 35px;
    }

    .kundi-copy {
        top: 20%;
        transform: none;
    }

    .kundi-headline {
        font-size: clamp(37px, 10.65vw, 76px);
        font-weight: 650;
        line-height: 1.08;
        letter-spacing: -.05em;
    }

    .kundi-subtitle {
        margin-top: 22px;
        font-size: clamp(13px, 3.65vw, 19px);
        line-height: 1.65;
    }

    .kundi-product-position {
        top: 54%;
        left: -5%;
        width: 120%;
        max-width: none;
        transform: none;
    }

    .kundi-screen-mark {
        font-size: 28px;
    }

    .kundi-scroll-hint {
        bottom: max(24px, env(safe-area-inset-bottom));
        gap: 10px;
    }

    .kundi-scroll-line {
        height: 25px;
    }

    .kundi-next h2 {
        font-size: clamp(30px, 8.4vw, 62px);
        line-height: 1.15;
    }
}

@media (max-width: 767px) and (max-height: 700px) {
    .kundi-copy { top: 19%; }
    .kundi-product-position { top: 50%; width: 105%; left: 0; }
}

@media (min-width: 768px) and (max-height: 550px) {
    .kundi-headline { font-size: clamp(50px, 6vw, 80px); }
    .kundi-subtitle { margin-top: 20px; font-size: 15px; }
    .kundi-product-position { width: 62vw; left: 58%; }
    .kundi-scroll-hint { bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .kundi-scroll-hint { display: none; }
}

/* SECONDO ATTO — layout ordinato di base, leggibile anche senza animazioni. */
.kundi-order {
    position: relative;
    z-index: 7;
    isolation: isolate;
    color: var(--kundi-ink);
}

.kundi-order-backdrop {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: #fff;
}

.kundi-order-content {
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    padding: 60px max(44px, var(--kundi-gutter));
    place-items: center;
}

.kundi-order-board {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 1.9vw, 28px);
    width: min(100%, 1120px);
    transform-origin: 50% 50%;
}

.kundi-order-frame {
    position: absolute;
    z-index: -1;
    inset: -28px;
    border: 1px solid #eff0f2;
    border-radius: 30px;
    background: #fcfcfd;
}

.kundi-order-group {
    min-width: 0;
}

.kundi-order-label {
    margin: 0 0 22px 3px;
    color: #74767d;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.4;
    letter-spacing: -.01em;
}

.kundi-order-pair {
    display: grid;
    grid-template-rows: 158px 130px;
    gap: 16px;
}

.kundi-card-slot {
    position: relative;
    min-width: 0;
    align-self: start;
}

.kundi-info-card {
    position: relative;
    width: 100%;
    padding: 20px;
    border: 1px solid #e9eaed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 8px rgb(32 33 36 / 2%), 0 18px 40px -22px rgb(32 33 36 / 12%);
    transform-origin: 50% 50%;
}

.kundi-info-card--main { min-height: 158px; }
.kundi-info-card--medium { min-height: 130px; }
.kundi-info-card--small { min-height: 108px; }

.kundi-info-icon {
    display: grid;
    width: 30px;
    height: 30px;
    margin-bottom: 14px;
    border-radius: 9px;
    place-items: center;
    color: #767981;
    background: #f6f6f8;
}

.kundi-info-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.kundi-info-card--main .kundi-info-icon {
    color: var(--kundi-pink);
    background: #fff3f6;
}

.kundi-info-category {
    margin: 0 0 5px;
    color: #797b82;
    font-size: 11px;
    font-weight: 450;
    line-height: 1.3;
    letter-spacing: .005em;
}

.kundi-info-card h4 {
    margin: 0;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 550;
    line-height: 1.3;
    letter-spacing: -.035em;
    overflow-wrap: break-word;
}

.kundi-info-card--medium .kundi-info-icon,
.kundi-info-card--small .kundi-info-icon {
    float: right;
    width: 25px;
    height: 25px;
    margin: 0 0 12px 10px;
    background: none;
}

.kundi-info-card--medium h4 {
    clear: both;
    padding-top: 7px;
    font-size: clamp(15px, 1.2vw, 17px);
}

.kundi-info-card--small {
    padding: 17px 20px;
}

.kundi-info-card--small h4 {
    clear: both;
    padding-top: 4px;
    font-size: 15px;
}

/* Il nuovo pin comincia esattamente dove termina quello della hero.
   Il fondo trasparente conserva il titolo precedente durante il raccordo. */
.kundi-order-motion {
    height: 100vh;
    height: 100svh;
    margin-top: -100vh;
    margin-top: -100svh;
    overflow: clip;
}

.kundi-order-motion .kundi-order-content {
    position: absolute;
    inset: 0;
    min-height: 0;
}

.kundi-order-motion .kundi-order-backdrop,
.kundi-order-motion .kundi-order-frame,
.kundi-order-motion .kundi-order-label,
.kundi-order-motion .kundi-info-card {
    visibility: hidden;
    opacity: 0;
}

@media (max-width: 767px) {
    .kundi-order-content {
        padding: 36px 26px;
    }

    .kundi-order-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 18px;
        max-width: 540px;
    }

    .kundi-order-frame {
        inset: -16px;
        border-radius: 24px;
    }

    .kundi-order-label {
        margin: 0 0 12px 2px;
        font-size: 11px;
    }

    .kundi-order-pair {
        grid-template-rows: 94px 80px;
        gap: 10px;
    }

    .kundi-info-card {
        padding: 12px;
        border-radius: 13px;
    }

    .kundi-info-card--main { min-height: 94px; }
    .kundi-info-card--medium { min-height: 80px; }
    .kundi-info-card--small { min-height: 68px; }

    .kundi-info-icon,
    .kundi-info-card--medium .kundi-info-icon,
    .kundi-info-card--small .kundi-info-icon {
        float: right;
        width: 21px;
        height: 21px;
        margin: 0 0 5px 5px;
        border-radius: 6px;
    }

    .kundi-info-icon svg {
        width: 17px;
        height: 17px;
    }

    .kundi-info-category {
        padding-top: 3px;
        font-size: 10px;
        letter-spacing: -.01em;
    }

    .kundi-info-card h4,
    .kundi-info-card--medium h4,
    .kundi-info-card--small h4 {
        clear: both;
        padding-top: 5px;
        font-size: clamp(12px, 3.4vw, 17px);
        line-height: 1.3;
        letter-spacing: -.025em;
    }

}

@media (max-width: 360px) {
    .kundi-order-content { padding-right: 22px; padding-left: 22px; }
    .kundi-order-board { gap: 22px 14px; }
    .kundi-info-card { padding: 10px; }
}

/* CONTATTI — un nucleo, due orbite e una persona che diventa il centro. */
.kundi-contacts {
    position: relative;
    z-index: 8;
    isolation: isolate;
    color: var(--kundi-ink);
}

.kundi-contacts-backdrop {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: #fff;
}

.kundi-contacts-intro,
.kundi-contacts-finale {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 48px var(--kundi-gutter);
    text-align: center;
}

.kundi-contacts-intro h2,
.kundi-contacts-finale h2 {
    margin: 0;
    font-size: clamp(62px, 7.8vw, 120px);
    font-weight: 650;
    line-height: 1.04;
    letter-spacing: -.055em;
}

.kundi-contacts-intro p,
.kundi-contacts-finale p {
    margin: 28px 0 0;
    color: var(--kundi-muted);
    font-size: clamp(16px, 1.4vw, 21px);
    line-height: 1.65;
    letter-spacing: -.025em;
}

.kundi-contacts-finale h2 > span { display: block; }
.kundi-contacts-finale h2 { font-size: clamp(58px, 7.2vw, 112px); }
.kundi-contacts-finale p { font-size: clamp(15px, 1.25vw, 19px); }

.kundi-contacts-network {
    position: relative;
    isolation: isolate;
    width: min(1200px, calc(100% - 96px));
    height: min(680px, 80svh);
    min-height: 520px;
    margin: 0 auto;
}

.kundi-contacts-connections {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.kundi-contacts-link {
    fill: none;
    stroke: #d7dbe2;
    stroke-width: 1.3;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.kundi-contacts-focus-links {
    visibility: hidden;
    opacity: 0;
}

.kundi-contacts-focus-links .kundi-contacts-link {
    stroke: var(--kundi-pink);
    stroke-opacity: .36;
    stroke-width: 1.5;
}

.kundi-contacts-seed-anchor {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 110px;
    margin: -55px 0 0 -45px;
}

.kundi-contacts-seed { display: block; width: 100%; height: 100%; }

.kundi-contacts-anchor {
    position: absolute;
    z-index: 2;
    top: var(--contact-y);
    left: var(--contact-x);
    width: clamp(198px, 18.5vw, 240px);
    transform: translate(-50%, -50%);
}

.kundi-contacts-anchor--giulia { --contact-x: 25%; --contact-y: 27%; z-index: 4; }
.kundi-contacts-anchor--studio { --contact-x: 20%; --contact-y: 47%; }
.kundi-contacts-anchor--luca { --contact-x: 73%; --contact-y: 24%; }
.kundi-contacts-anchor--andrea { --contact-x: 19%; --contact-y: 69%; }
.kundi-contacts-anchor--rossi { --contact-x: 82%; --contact-y: 45%; }
.kundi-contacts-anchor--elena { --contact-x: 80%; --contact-y: 72%; }
.kundi-contacts-anchor--richiamo { --contact-x: 39%; --contact-y: 82%; width: auto; }
.kundi-contacts-anchor--evento { --contact-x: 63%; --contact-y: 81%; width: auto; }

.kundi-person,
.kundi-company {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 100px;
    padding: 22px 20px;
    border: 1px solid #e8eaee;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 4px 10px rgb(32 33 36 / 2%), 0 20px 45px -25px rgb(32 33 36 / 14%);
    transform-origin: 50% 50%;
}

.kundi-person--protagonist { border-color: #f6dce4; }
.kundi-company { min-height: 88px; border-radius: 16px; }

.kundi-contact-avatar,
.kundi-company-icon {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    color: #7b7d86;
    background: #f5f6f8;
    font-size: 12px;
    font-weight: 550;
    letter-spacing: -.015em;
}

.kundi-person--protagonist .kundi-contact-avatar {
    color: var(--kundi-pink);
    background: #fff1f5;
}

.kundi-company-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    border-radius: 0;
    background: none;
}

.kundi-company-icon svg { width: 24px; height: 24px; }
.kundi-person > div, .kundi-company > div { min-width: 0; }

.kundi-person h3,
.kundi-company h3 {
    margin: 0;
    font-size: clamp(14px, 1.15vw, 17px);
    font-weight: 550;
    line-height: 1.3;
    letter-spacing: -.035em;
}

.kundi-person p,
.kundi-company p {
    margin: 5px 0 0;
    color: var(--kundi-muted);
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: -.01em;
}

.kundi-contact-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    border: 1px solid #ebedf0;
    border-radius: 40px;
    background: #fff;
    color: #6e727c;
    box-shadow: 0 5px 16px rgb(32 33 36 / 3%);
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
}

.kundi-contact-badge svg { width: 15px; height: 15px; color: var(--kundi-pink); }

/* Raccordo sovrapposto solo in modalità animata: nessuna modifica ai pin precedenti. */
.kundi-contacts-motion {
    height: 100vh;
    height: 100svh;
    margin-top: -100vh;
    margin-top: -100svh;
    overflow: clip;
}

.kundi-contacts-motion .kundi-contacts-intro,
.kundi-contacts-motion .kundi-contacts-finale {
    position: absolute;
    inset: 0;
    min-height: 0;
}

.kundi-contacts-motion .kundi-contacts-network {
    position: absolute;
    top: 50%;
    left: 50%;
    min-height: 0;
    margin: 0;
    transform: translate(-50%, -50%);
}

.kundi-contacts-motion .kundi-contacts-backdrop,
.kundi-contacts-motion .kundi-contacts-intro,
.kundi-contacts-motion .kundi-contacts-seed,
.kundi-contacts-motion .kundi-person,
.kundi-contacts-motion .kundi-company,
.kundi-contacts-motion .kundi-contact-badge,
.kundi-contacts-motion .kundi-contacts-finale {
    visibility: hidden;
    opacity: 0;
}

.kundi-contacts-motion .kundi-contacts-link {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

@media (max-width: 767px) {
    .kundi-contacts-intro h2 { font-size: clamp(36px, 10.4vw, 70px); }
    .kundi-contacts-intro p { margin-top: 24px; font-size: 15px; }
    .kundi-contacts-finale h2 { font-size: clamp(38px, 10.5vw, 72px); }
    .kundi-contacts-finale p { margin-top: 24px; max-width: 290px; font-size: 14px; }

    /* Versione statica: tutte le persone restano leggibili in flusso naturale. */
    .kundi-contacts-network {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
        width: calc(100% - 44px);
        height: auto;
        min-height: 0;
    }

    .kundi-contacts-connections { display: none; }
    .kundi-contacts-seed-anchor { position: relative; grid-column: 1 / -1; top: auto; left: auto; margin: 20px auto 32px; }
    .kundi-contacts-anchor { position: relative; top: auto; left: auto; width: auto; transform: none; }
    .kundi-person, .kundi-company { gap: 8px; min-height: 90px; padding: 16px 12px; border-radius: 15px; }
    .kundi-contact-avatar { flex-basis: 28px; width: 28px; height: 28px; font-size: 10px; }
    .kundi-company-icon { flex-basis: 22px; width: 22px; height: 22px; }
    .kundi-company-icon svg { width: 20px; height: 20px; }
    .kundi-person h3, .kundi-company h3 { font-size: clamp(12px, 3.35vw, 17px); }
    .kundi-person p, .kundi-company p { font-size: 10px; }
    .kundi-contact-badge { justify-content: center; gap: 6px; padding: 10px 12px; font-size: 10px; }
    .kundi-contact-badge svg { width: 13px; height: 13px; }

    /* La rete mobile ha un'orbita verticale e due elementi periferici in meno. */
    .kundi-contacts-motion .kundi-contacts-network {
        display: block;
        inset: 0;
        width: 100%;
        height: 100%;
        transform: none;
    }

    .kundi-contacts-motion .kundi-contacts-connections { display: block; }
    .kundi-contacts-motion .kundi-contacts-anchor {
        position: absolute;
        top: var(--contact-y);
        left: var(--contact-x);
        width: min(184px, 46vw);
        transform: translate(-50%, -50%);
    }

    .kundi-contacts-motion .kundi-contacts-anchor--giulia { --contact-x: 31%; --contact-y: 20%; }
    .kundi-contacts-motion .kundi-contacts-anchor--studio { --contact-x: 72%; --contact-y: 32%; width: min(174px, 44vw); }
    .kundi-contacts-motion .kundi-contacts-anchor--luca { --contact-x: 26%; --contact-y: 63%; }
    .kundi-contacts-motion .kundi-contacts-anchor--andrea { --contact-x: 73%; --contact-y: 70%; }
    .kundi-contacts-motion .kundi-contacts-anchor--richiamo { --contact-x: 30%; --contact-y: 81%; width: auto; }
    .kundi-contacts-motion .kundi-contacts-anchor--evento { --contact-x: 72%; --contact-y: 84%; width: auto; }
    .kundi-contacts-motion .kundi-contacts-seed-anchor { position: absolute; top: 48%; left: 50%; margin: -55px 0 0 -45px; }
    .kundi-contacts-motion .kundi-contacts-anchor--wide,
    .kundi-contacts-motion .kundi-contacts-link--wide { display: none; }
}

@media (max-width: 767px) and (max-height: 700px) {
    .kundi-contacts-motion .kundi-contacts-anchor--giulia { --contact-x: 29%; --contact-y: 18%; }
    .kundi-contacts-motion .kundi-contacts-anchor--studio { --contact-x: 76%; --contact-y: 30%; width: min(164px, 42vw); }
}

/* ATTIVITÀ — tre nodi originali, un percorso asimmetrico, quattro piccoli oggetti. */
.kundi-activities {
    --time-card-width: 222px;
    --time-event-width: 260px;
    position: relative;
    z-index: 9;
    isolation: isolate;
    color: var(--kundi-ink);
}

.kundi-time-backdrop { position: absolute; z-index: -1; inset: 0; background: #fff; }
.kundi-time-heading { padding: 100px var(--kundi-gutter) 36px; }
.kundi-time-heading h2 {
    margin: 0;
    font-size: clamp(56px, 6.5vw, 104px);
    font-weight: 650;
    line-height: 1.07;
    letter-spacing: -.055em;
}
.kundi-time-heading p {
    margin: 18px 0 0;
    color: var(--kundi-muted);
    font-size: clamp(16px, 1.4vw, 21px);
    line-height: 1.6;
    letter-spacing: -.025em;
}

.kundi-time-canvas {
    position: relative;
    isolation: isolate;
    width: min(1200px, calc(100% - 96px));
    height: 860px;
    margin: 0 auto;
}
.kundi-time-svg { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kundi-time-route,
.kundi-time-progress,
.kundi-time-stems path {
    fill: none;
    stroke: var(--kundi-pink);
    stroke-width: 1.5;
    stroke-opacity: .28;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}
.kundi-time-progress { stroke-opacity: .9; stroke-width: 1.7; opacity: 0; }
.kundi-time-stems path { stroke-opacity: .2; stroke-width: 1; }
.kundi-time-seed-position,
.kundi-time-rejoin { visibility: hidden; opacity: 0; }

.kundi-time-label {
    position: absolute;
    margin: 0;
    color: #7b7e85;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .16em;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}
.kundi-time-label--today { left: 18%; top: 47.5%; }
.kundi-time-label--tomorrow { left: 46%; top: 52.5%; }
.kundi-time-label--later { left: 82%; top: 68.5%; }
.kundi-time-card-anchor,
.kundi-time-event-anchor { position: absolute; width: var(--time-card-width); transform: translate(-50%, -50%); }
.kundi-time-card-anchor--today { left: 18%; top: 72%; }
.kundi-time-card-anchor--tomorrow { left: 46%; top: 36%; }
.kundi-time-card-anchor--later { left: 82%; top: 48%; }
.kundi-time-event-anchor { left: 62%; top: 90%; width: var(--time-event-width); }

.kundi-time-card {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-content: center;
    align-items: center;
    gap: 12px;
    min-height: 108px;
    padding: 22px 20px;
    border: 1px solid #e9eaee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 10px rgb(32 33 36 / 2%), 0 22px 42px -26px rgb(32 33 36 / 13%);
    transform-origin: 50% 50%;
}
.kundi-time-card--today { min-height: 138px; }
.kundi-time-card-icon { width: 20px; height: 20px; color: #858991; }
.kundi-time-card h3 { margin: 0; font-size: 16px; font-weight: 550; line-height: 1.35; letter-spacing: -.035em; }
.kundi-time-completed {
    display: flex;
    grid-column: 2;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--kundi-muted);
    font-size: 11px;
    line-height: 1.4;
}
.kundi-time-completed svg { flex: 0 0 18px; width: 18px; height: 18px; }
.kundi-time-event {
    padding: 26px;
    border: 1px solid #f2dfe5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 5px 14px rgb(32 33 36 / 2%), 0 24px 50px -28px rgb(32 33 36 / 13%);
}
.kundi-time-event > svg { width: 24px; height: 24px; margin-bottom: 20px; color: var(--kundi-pink); }
.kundi-time-event h3 { margin: 0; font-size: 26px; font-weight: 550; line-height: 1.15; letter-spacing: -.045em; }

/* Il nuovo pin si sovrappone al solo ultimo fotogramma dei Contatti. */
.kundi-activities-motion { height: 100vh; height: 100svh; margin-top: -100vh; margin-top: -100svh; overflow: clip; }
.kundi-activities-motion .kundi-time-heading {
    position: absolute;
    z-index: 2;
    top: 10%;
    right: var(--kundi-gutter);
    left: var(--kundi-gutter);
    padding: 0;
}
.kundi-activities-motion .kundi-time-canvas { position: absolute; top: 0; left: 50%; height: 100%; margin: 0; transform: translateX(-50%); }
.kundi-activities-motion .kundi-time-backdrop,
.kundi-activities-motion .kundi-time-heading,
.kundi-activities-motion .kundi-time-node,
.kundi-activities-motion .kundi-time-label,
.kundi-activities-motion .kundi-time-card,
.kundi-activities-motion .kundi-time-completed,
.kundi-activities-motion .kundi-time-event { visibility: hidden; opacity: 0; }
.kundi-activities-motion .kundi-time-route,
.kundi-activities-motion .kundi-time-progress,
.kundi-activities-motion .kundi-time-stems path,
.kundi-activities-motion .kundi-time-check { stroke-dasharray: 1; stroke-dashoffset: 1; }

@media (max-width: 767px) {
    .kundi-activities { --time-card-width: min(208px, 62vw); --time-event-width: 226px; }
    .kundi-time-heading { padding: 80px 26px 40px; text-align: center; }
    .kundi-time-heading h2 { font-size: clamp(36px, 10.4vw, 70px); }
    .kundi-time-heading p { max-width: 300px; margin: 18px auto 0; font-size: 15px; }
    .kundi-time-card { min-height: 90px; padding: 18px 16px; gap: 10px; grid-template-columns: 18px minmax(0, 1fr); border-radius: 15px; }
    .kundi-time-card--today { min-height: 108px; }
    .kundi-time-card-icon { width: 18px; height: 18px; }
    .kundi-time-card h3 { font-size: 14px; }
    .kundi-time-completed { font-size: 10px; gap: 6px; }
    .kundi-time-completed svg { flex-basis: 16px; width: 16px; height: 16px; }
    .kundi-time-label { font-size: 9px; letter-spacing: .15em; }
    .kundi-time-event { padding: 23px; border-radius: 19px; }
    .kundi-time-event h3 { font-size: 25px; }

    /* Senza pin le quattro attività sono tutte disponibili in flusso naturale. */
    .kundi-time-canvas { display: grid; justify-items: center; width: calc(100% - 44px); height: auto; padding: 20px 0 64px; }
    .kundi-time-svg { display: none; }
    .kundi-time-label { position: relative; top: auto; left: auto; margin: 25px 0 12px; transform: none; }
    .kundi-time-card-anchor, .kundi-time-event-anchor { position: relative; top: auto; left: auto; transform: none; }
    .kundi-time-event-anchor { margin-top: 54px; }

    /* La regia animata utilizza un percorso verticale e schede sul lato leggibile. */
    .kundi-activities-motion .kundi-time-heading { top: 9%; }
    .kundi-activities-motion .kundi-time-canvas { display: block; inset: 0; width: 100%; height: 100%; padding: 0; transform: none; }
    .kundi-activities-motion .kundi-time-svg { display: block; }
    .kundi-activities-motion .kundi-time-label { position: absolute; margin: 0; transform: translate(-50%, -50%); }
    .kundi-activities-motion .kundi-time-card-anchor,
    .kundi-activities-motion .kundi-time-event-anchor { position: absolute; margin: 0; transform: translate(-50%, -50%); }
}

/* EVENTI — un invito entra in una rete, le risposte diventano partecipazione. */
.kundi-events {
    --event-poster-width: 310px;
    --event-bridge-width: 260px;
    position: relative;
    z-index: 10;
    isolation: isolate;
    color: var(--kundi-ink);
}
.kundi-events-backdrop { position: absolute; z-index: -1; inset: 0; background: #fff; }
.kundi-events-heading { padding: 100px var(--kundi-gutter) 36px; }
.kundi-events-heading h2 { margin: 0; font-size: clamp(44px, 5.6vw, 88px); line-height: 1.04; font-weight: 650; letter-spacing: -.055em; }
.kundi-events-heading h2 span { display: block; }
.kundi-events-heading > p { margin: 18px 0 0; color: var(--kundi-muted); font-size: clamp(16px, 1.4vw, 21px); line-height: 1.5; letter-spacing: -.025em; }
.kundi-events-canvas { position: relative; display: grid; grid-template-columns: 1fr 1fr; justify-items: center; align-items: center; gap: 54px 24px; width: min(1200px, calc(100% - 96px)); margin: 0 auto; padding: 36px 0 80px; }
.kundi-event-poster-anchor { width: var(--event-poster-width); }
.kundi-event-poster { padding: 24px; border: 1px solid #eadfe3; border-radius: 23px; background: #fff; box-shadow: 0 6px 18px rgb(32 33 36 / 2%), 0 28px 65px -34px rgb(32 33 36 / 18%); transform-origin: center; }
.kundi-event-art { height: 80px; overflow: hidden; border-radius: 10px; background: #fafbf9; }
.kundi-event-art > svg, .kundi-event-art > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kundi-event-category { position: relative; height: 12px; margin: 14px 0 0; font-size: 9px; line-height: 12px; font-weight: 550; letter-spacing: .18em; color: var(--kundi-muted); }
.kundi-event-category > span { position: absolute; inset: 0; }
.kundi-event-category-birth { visibility: hidden; opacity: 0; }
.kundi-event-poster h3 { margin: 6px 0 0; font-size: 40px; font-weight: 550; line-height: 1.1; letter-spacing: -.055em; }
.kundi-event-message { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--kundi-muted); letter-spacing: -.02em; }
.kundi-event-signature { margin: 16px 0 0; font-size: 18px; font-weight: 700; line-height: 1; letter-spacing: -.08em; }
.kundi-event-signature > span { color: var(--kundi-pink); }

.kundi-event-network { position: relative; isolation: isolate; order: 2; grid-column: 1 / -1; width: 100%; height: 520px; }
.kundi-event-network-svg { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kundi-event-handoff-tail, .kundi-event-kernel-links path, .kundi-event-connections path, .kundi-event-waves path, .kundi-event-answer-links path { fill: none; stroke: var(--kundi-pink); stroke-width: 1.25; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.kundi-event-handoff-tail { stroke-opacity: .4; stroke-width: 1.5; }
.kundi-event-kernel-links path { stroke-opacity: .38; }
.kundi-event-connections path { stroke-opacity: .23; }
.kundi-event-connections .kundi-event-secondary { stroke: #c6c9cd; stroke-opacity: .35; stroke-width: 1; }
.kundi-event-waves path { stroke-width: 1.8; stroke-opacity: .65; opacity: 0; }
.kundi-event-answer-links path { stroke: #94c95e; stroke-width: 1.6; stroke-opacity: .65; }
.kundi-event-handoff-tail, .kundi-event-original-links { visibility: hidden; opacity: 0; }
.kundi-event-recipient circle { fill: #fff; stroke: #e5a4b5; stroke-width: 1.8; }
.kundi-event-recipient text { font-family: inherit; font-size: 9px; font-weight: 550; fill: #676b73; }
.kundi-event-recipient[data-person="giulia"] circle, .kundi-event-recipient[data-person="luca"] circle, .kundi-event-recipient[data-person="elena"] circle { fill: #baff6e; stroke: #a8da72; }
.kundi-event-recipient[data-person="paolo"] circle { fill: #f1f2f4; stroke: #d3d5d9; }
.kundi-event-person-label { position: absolute; width: 142px; margin-left: -71px; text-align: center; }
.kundi-event-person-copy h3 { margin: 0; font-size: 12px; font-weight: 550; line-height: 1.35; letter-spacing: -.025em; }
.kundi-event-person-copy p { margin: 5px 0 0; color: var(--kundi-muted); font-size: 10px; line-height: 1.3; letter-spacing: -.01em; }
.kundi-event-context-anchor { display: none; }
.kundi-event-context { margin: 0; font-size: 25px; font-weight: 550; line-height: 1.2; letter-spacing: -.045em; text-align: center; white-space: nowrap; }
.kundi-event-context > span { display: block; margin-bottom: 8px; font-size: 8px; letter-spacing: .18em; font-weight: 500; color: var(--kundi-muted); }
.kundi-event-response-anchor { width: 250px; }
.kundi-event-response { padding: 18px; border: 1px solid #e9eaee; border-radius: 17px; background: #fff; box-shadow: 0 6px 18px rgb(32 33 36 / 3%), 0 24px 48px -30px rgb(32 33 36 / 13%); }
.kundi-event-response h3 { margin: 0 0 14px; font-size: 16px; font-weight: 550; line-height: 1.25; letter-spacing: -.035em; }
.kundi-event-choice { margin: 7px 0 0; padding: 8px 10px; border: 1px solid #eeeff1; border-radius: 7px; color: var(--kundi-muted); font-size: 10px; line-height: 1.3; }
.kundi-event-choice--yes { display: flex; align-items: center; gap: 7px; border-color: #d2e9b9; color: #435b30; background: #effadd; }
.kundi-event-choice--yes > span { font-size: 11px; }
.kundi-event-stats-anchor { order: 3; width: 240px; }
.kundi-event-stats { padding: 14px 0; background: #fff; }
.kundi-event-total { display: flex; align-items: baseline; gap: 12px; }
.kundi-event-total > strong { font-size: 82px; font-weight: 550; line-height: 1; letter-spacing: -.075em; font-variant-numeric: tabular-nums; }
.kundi-event-total > span { font-size: 14px; letter-spacing: -.025em; }
.kundi-event-chart { display: block; width: 100%; height: 65px; margin: 24px 0; overflow: visible; }
.kundi-event-chart-base { stroke: #eef0ed; stroke-width: 1; }
.kundi-event-chart-line { stroke: #9aca68; stroke-width: 2; stroke-linecap: round; }
.kundi-event-secondary-counts { display: flex; gap: 24px; }
.kundi-event-secondary-counts p { margin: 0; color: var(--kundi-muted); font-size: 10px; line-height: 1.4; }
.kundi-event-secondary-counts strong { display: block; margin-bottom: 4px; color: var(--kundi-ink); font-size: 21px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.kundi-event-data-note { margin: 20px 0 0; color: #92969c; font-size: 9px; line-height: 1.4; letter-spacing: .015em; }
.kundi-event-closing { order: 4; grid-column: 1 / -1; margin: 0; font-size: clamp(19px, 2vw, 25px); line-height: 1.4; font-weight: 500; letter-spacing: -.035em; text-align: center; }

/* Il pin nasce esattamente sull'ultimo fotogramma di Attività. */
.kundi-events-motion { height: 100vh; height: 100svh; margin-top: -100vh; margin-top: -100svh; overflow: clip; }
.kundi-events-motion .kundi-events-heading { position: absolute; z-index: 5; top: 7%; left: var(--kundi-gutter); right: var(--kundi-gutter); padding: 0; pointer-events: none; }
.kundi-events-motion .kundi-events-canvas { position: absolute; display: block; top: 0; left: 50%; height: 100%; margin: 0; padding: 0; transform: translateX(-50%); }
.kundi-events-motion .kundi-event-network { position: absolute; inset: 0; width: 100%; height: 100%; }
.kundi-events-motion .kundi-event-poster-anchor, .kundi-events-motion .kundi-event-response-anchor, .kundi-events-motion .kundi-event-stats-anchor, .kundi-events-motion .kundi-event-context-anchor { position: absolute; z-index: 3; display: block; transform: translate(-50%, -50%); }
.kundi-events-motion .kundi-event-response-anchor, .kundi-events-motion .kundi-event-stats-anchor { z-index: 4; }
.kundi-events-motion .kundi-event-closing { position: absolute; right: 0; bottom: 4%; left: 0; }
.kundi-events-motion .kundi-events-backdrop, .kundi-events-motion .kundi-events-heading, .kundi-events-motion .kundi-event-poster, .kundi-events-motion .kundi-event-response, .kundi-events-motion .kundi-event-stats, .kundi-events-motion .kundi-event-closing, .kundi-events-motion .kundi-event-context, .kundi-events-motion .kundi-event-recipient, .kundi-events-motion .kundi-event-person-copy, .kundi-events-motion .kundi-event-kernel { visibility: hidden; opacity: 0; }
.kundi-events-motion .kundi-event-category-birth { visibility: visible; opacity: 1; }
.kundi-events-motion .kundi-event-category-invite, .kundi-events-motion .kundi-event-message, .kundi-events-motion .kundi-event-signature { visibility: hidden; opacity: 0; }
.kundi-events-motion .kundi-event-kernel-links path, .kundi-events-motion .kundi-event-connections path, .kundi-events-motion .kundi-event-answer-links path, .kundi-events-motion .kundi-event-chart-line { stroke-dasharray: 1; stroke-dashoffset: 1; }

@media (max-width: 767px) {
    .kundi-events { --event-poster-width: 270px; --event-bridge-width: 226px; }
    .kundi-events-heading { padding: 80px 24px 24px; text-align: center; }
    .kundi-events-heading h2 { font-size: clamp(29px, 8.6vw, 48px); }
    .kundi-events-heading > p { max-width: 320px; margin: 15px auto 0; font-size: 14px; line-height: 1.5; }
    .kundi-events-canvas { display: flex; flex-direction: column; width: calc(100% - 44px); gap: 48px; }
    .kundi-event-poster { padding: 20px; border-radius: 20px; }
    .kundi-event-art { height: 64px; }
    .kundi-event-poster h3 { font-size: 34px; }
    .kundi-event-message { font-size: 12px; }
    .kundi-event-signature { margin-top: 12px; font-size: 16px; }
    .kundi-event-wide { display: none; }
    .kundi-event-network { order: 2; height: 440px; }
    .kundi-event-person-label { width: 112px; margin-left: -56px; }
    .kundi-event-person-copy h3 { font-size: 11px; }
    .kundi-event-person-copy p { font-size: 9px; }
    .kundi-event-response-anchor { width: 250px; }
    .kundi-event-stats-anchor { width: 240px; }
    .kundi-event-total > strong { font-size: 60px; }
    .kundi-event-total > span { font-size: 13px; }
    .kundi-event-chart { height: 40px; margin: 15px 0; }
    .kundi-event-secondary-counts { gap: 24px; }
    .kundi-event-secondary-counts strong { display: inline; margin-right: 6px; font-size: 15px; }
    .kundi-event-secondary-counts p { font-size: 9px; }
    .kundi-event-data-note { margin-top: 14px; }
    .kundi-events-motion .kundi-events-heading { top: 6%; left: 24px; right: 24px; }
    .kundi-events-motion .kundi-events-canvas { width: 100%; }
    .kundi-events-motion .kundi-event-closing { right: 22px; bottom: 4%; left: 22px; font-size: 18px; }
    .kundi-event-context { font-size: 21px; }
}

/* Senza GSAP, su schermi stretti i destinatari diventano una sintesi testuale. */
@media (max-width: 767px) {
    .kundi-events:not(.kundi-events-ready) .kundi-event-network { display: grid; grid-template-columns: 1fr; gap: 18px; height: auto; padding: 0 28px; }
    .kundi-events:not(.kundi-events-ready) .kundi-event-network-svg { display: none; }
    .kundi-events:not(.kundi-events-ready) .kundi-event-person-label { position: relative; left: 0 !important; top: 0 !important; width: 100%; margin: 0; padding: 16px; border: 1px solid #eeeff1; border-radius: 14px; }
}

/* Una sola card, fuori dai due pin: il rilascio di Attività non la trascina. */
.kundi-open-day-task, .kundi-open-day-surface { display: none; }
.kundi-activities.kundi-open-day-shared .kundi-time-event-anchor { opacity: 0; }
.kundi-open-day-layer.kundi-events-motion { position: fixed; z-index: 11; inset: 0; margin: 0; pointer-events: none; }
.kundi-open-day-layer .kundi-event-poster-anchor { top: 0; left: 0; will-change: transform; }
.kundi-open-day-layer .kundi-event-poster { position: relative; isolation: isolate; background: transparent; border-color: transparent; box-shadow: none; }
.kundi-open-day-layer .kundi-open-day-surface { display: block; position: absolute; z-index: -1; inset: -1px; border: 1px solid #f2dfe5; border-radius: 22px; background: #fff; box-shadow: 0 5px 14px rgb(32 33 36 / 2%), 0 24px 50px -28px rgb(32 33 36 / 13%); transform-origin: center; }
.kundi-open-day-layer .kundi-open-day-task { display: block; position: absolute; top: 50%; left: 50%; width: var(--event-bridge-width); padding: 26px; border: 1px solid transparent; transform: translate(-50%, -50%); }
.kundi-open-day-task > svg { width: 24px; height: 24px; margin-bottom: 20px; color: var(--kundi-pink); }
.kundi-open-day-task > p { margin: 0; font-size: 26px; font-weight: 550; line-height: 1.15; letter-spacing: -.045em; }
@media (max-width: 767px) {
    .kundi-open-day-layer .kundi-open-day-task { padding: 23px; }
    .kundi-open-day-task > p { font-size: 25px; }
}

/* CONTATTI — dalla stessa persona alla sua scheda autentica nel prodotto. */
.kundi-person--protagonist { position: relative; }
.kundi-contact-baseline { display: inline-block; width: 0; height: 0; padding: 0; vertical-align: baseline; font-size: 0; line-height: 0; }
.kundi-contacts-product { width: min(92%, 1500px); margin: 80px auto; }
.kundi-contacts-product > img { display: block; width: 100%; height: auto; }
.kundi-contacts-motion .kundi-contacts-product {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    width: min(92vw, calc(90svh * 2770 / 1558));
    margin: 0;
    transform: translate(-50%, -50%);
    visibility: hidden;
    opacity: 0;
    will-change: transform, opacity, clip-path;
}

/* FINALE — lo stesso nucleo torna al logo, poi il ritmo diventa naturale. */
.kundi-event-closing > span { display: block; }
.kundi-finale-logo { order: 5; grid-column: 1 / -1; width: min(56vw, 560px); margin: 96px auto 100px; }
.kundi-finale-logo > img { display: block; width: 100%; height: auto; }
.kundi-events-motion .kundi-finale-logo {
    position: absolute;
    z-index: 6;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity, clip-path;
}

.kundi-contact-section { position: relative; z-index: 12; padding: clamp(96px, 13vw, 180px) var(--kundi-gutter) 120px; background: #fff; }
.kundi-contact-inner { width: 100%; max-width: 700px; margin: 0 auto; }
.kundi-contact-heading { margin-bottom: 52px; }
.kundi-contact-heading h2 { margin: 0 0 22px; font-size: clamp(42px, 4.8vw, 64px); font-weight: 600; line-height: 1.08; letter-spacing: -.055em; }
.kundi-contact-heading > p { max-width: 620px; margin: 0; color: var(--kundi-muted); font-size: 18px; line-height: 1.65; letter-spacing: -.02em; }
.kundi-contact-form { display: grid; gap: 32px; }
.kundi-contact-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.kundi-contact-field { min-width: 0; }
.kundi-contact-field label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 500; line-height: 1.4; }
.kundi-contact-field input, .kundi-contact-field textarea { display: block; width: 100%; padding: 17px 18px; border: 1px solid #dddfe3; border-radius: 12px; background: #fff; color: var(--kundi-ink); font: inherit; font-size: 16px; line-height: 1.5; transition: border-color .15s; }
.kundi-contact-field textarea { min-height: 158px; resize: vertical; }
.kundi-contact-field input::placeholder { color: #909297; opacity: 1; }
.kundi-contact-field input:hover, .kundi-contact-field textarea:hover { border-color: #aeb1b7; }
.kundi-contact-field input:focus-visible, .kundi-contact-field textarea:focus-visible, .kundi-contact-privacy input:focus-visible, .kundi-contact-submit:focus-visible, .kundi-contact-section a:focus-visible, .kundi-footer a:focus-visible { outline: 2px solid var(--kundi-pink); outline-offset: 4px; }
.kundi-contact-field [aria-invalid="true"] { border-color: #b7274a; }
.kundi-contact-channels { min-width: 0; margin: 4px 0 0; padding: 0; border: 0; }
.kundi-contact-channels legend { padding: 0; font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.kundi-contact-channels > p { margin: 8px 0 24px; color: var(--kundi-muted); font-size: 14px; line-height: 1.5; }
.kundi-contact-privacy { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 0 12px; align-items: start; }
.kundi-contact-privacy > input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--kundi-pink); }
.kundi-contact-privacy > label { color: #65686e; font-size: 13px; line-height: 1.7; }
.kundi-contact-section a, .kundi-footer a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.kundi-contact-section a:hover, .kundi-footer a:hover { color: #ae2346; }
.kundi-contact-privacy .kundi-field-error { grid-column: 2; }
.kundi-contact-submit { justify-self: start; min-height: 56px; padding: 17px 30px; border: 1px solid var(--kundi-ink); border-radius: 12px; background: var(--kundi-ink); color: #fff; font: inherit; font-size: 15px; font-weight: 500; line-height: 1.4; cursor: pointer; transition: background-color .15s; }
.kundi-contact-submit:hover:not(:disabled) { background: #383a40; }
.kundi-contact-submit:disabled { opacity: .58; cursor: default; }
.kundi-form-esito { padding: 20px 22px; border-left: 2px solid #bb3152; background: #fff7f9; color: #84233b; font-size: 14px; line-height: 1.6; }
.kundi-form-esito p { margin: 0; }
.kundi-form-esito ul { margin: 12px 0 0; padding-left: 18px; }
.kundi-form-esito--successo { border-color: #719441; background: #f6faef; color: #375126; }
.kundi-field-error { margin: 9px 0 0; color: #a02343; font-size: 12px; line-height: 1.5; }
.kundi-contact-section [hidden] { display: none !important; }
.kundi-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Recapiti condivisi: variante discreta, solo nella conclusione della landing. */
.kundi-contact-section .kundi-direct-contacts { margin-top: 72px; padding-top: 44px; border-top: 1px solid #eeeff1; color: var(--kundi-ink); }
.kundi-direct-contacts h3 { margin: 0 0 12px; font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: -.035em; }
.kundi-direct-intro { margin: 0; color: #65686e; font-size: 15px; line-height: 1.65; }
.kundi-direct-channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin-top: 30px; }
.kundi-direct-channel { min-width: 0; }
.kundi-direct-label { margin: 0 0 4px; color: #65686e; font-size: 13px; line-height: 1.5; }
.kundi-direct-channel > a { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; width: fit-content; max-width: 100%; min-height: 44px; padding: 8px 0; overflow-wrap: anywhere; font-size: 17px; line-height: 1.5; }
.kundi-direct-phone-label { color: #65686e; font-size: 12px; }
.kundi-direct-address { margin: 26px 0 0; color: #65686e; font-size: 13px; font-style: normal; line-height: 1.7; overflow-wrap: anywhere; }
.kundi-footer { position: relative; z-index: 12; max-width: 1200px; margin: 0 auto; padding: 52px var(--kundi-gutter) 40px; border-top: 1px solid #eeeff1; color: #65686e; background: #fff; font-size: 12px; line-height: 1.8; }
.kundi-footer .footer-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 72px; }
.kundi-footer .footer-company, .kundi-footer .footer-legal { min-width: 0; }
.kundi-footer .footer-brand { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; color: var(--kundi-muted); }
.kundi-footer .footer-brand > img { display: block; width: 88px; height: auto; }
.kundi-footer .footer-company-name { margin: 0 0 8px; color: var(--kundi-ink); font-size: 13px; }
.kundi-footer .footer-company-name strong { font-weight: 500; }
.kundi-footer .footer-address { margin: 0; font-style: normal; overflow-wrap: anywhere; }
.kundi-footer .footer-legal { display: flex; flex-direction: column; align-items: flex-start; padding-top: 2px; text-align: left; }
.kundi-footer .footer-registration { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 24px; overflow-wrap: anywhere; }
.kundi-footer .footer-pages ul, .kundi-footer .info-legali ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.kundi-footer .footer-pages { margin-bottom: 20px; }
.kundi-footer .info-legali { margin-top: auto; }
@media (max-width: 767px) {
    .kundi-finale-logo { width: min(76vw, 320px); margin: 64px auto 80px; }
    .kundi-contact-section { padding-top: 90px; padding-bottom: 80px; }
    .kundi-contact-heading { margin-bottom: 38px; }
    .kundi-contact-heading h2 { font-size: clamp(37px, 10vw, 50px); }
    .kundi-contact-heading > p { font-size: 16px; line-height: 1.65; }
    .kundi-contact-fields { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .kundi-contact-submit { width: 100%; }
    .kundi-contact-section .kundi-direct-contacts { margin-top: 56px; padding-top: 34px; }
    .kundi-direct-contacts h3 { max-width: 290px; font-size: 22px; }
    .kundi-direct-channels { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 26px; }
    .kundi-footer { padding: 36px 26px; }
    .kundi-footer .footer-details { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .kundi-footer .footer-brand { margin-bottom: 24px; }
    .kundi-footer .footer-registration { gap: 4px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .kundi-contact-field input, .kundi-contact-field textarea, .kundi-contact-submit { transition: none; }
}

/* Il banner condiviso conserva l'endpoint del progetto, senza Bootstrap nella landing. */
.kundi-landing #consenso-cookie { position: fixed; z-index: 50; right: 20px; bottom: 20px; left: 20px; max-width: 1100px; max-height: calc(100svh - 40px); margin: 0 auto; padding: 28px 32px; overflow-y: auto; border: 1px solid #e5e6e9; border-radius: 18px; background: #fff; box-shadow: 0 12px 40px rgb(32 33 36 / 10%); font-size: 13px; line-height: 1.6; }
.kundi-landing #consenso-cookie[hidden] { display: none; }
.kundi-landing #consenso-cookie .chiudi { position: absolute; top: 8px; right: 14px; }
.kundi-landing #consenso-cookie .chiudi > a { color: var(--kundi-ink); font-size: 26px; line-height: 1; text-decoration: none; }
.kundi-landing #consenso-cookie .cookie-dialog { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; }
.kundi-landing #consenso-cookie .descrizione p { margin: 0 0 12px; }
.kundi-landing #consenso-cookie .maggiori-info { margin-top: 12px; }
.kundi-landing #consenso-cookie a { color: inherit; text-underline-offset: 3px; }
.kundi-landing #consenso-cookie .comandi { display: flex; flex-wrap: wrap; gap: 10px; }
.kundi-landing #consenso-cookie .comandi .btn { padding: 11px 16px; border: 1px solid #d6d8dc; border-radius: 9px; color: var(--kundi-ink); background: #fff; font: inherit; font-size: 13px; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; }
.kundi-landing #consenso-cookie .comandi [data-accetta="1"] { border-color: var(--kundi-ink); color: #fff; background: var(--kundi-ink); }
.kundi-landing #consenso-cookie a:focus-visible, .kundi-landing #consenso-cookie button:focus-visible { outline: 2px solid var(--kundi-pink); outline-offset: 3px; }
.kundi-landing #consenso-cookie button:disabled { opacity: .5; cursor: wait; }
.kundi-landing #consenso-cookie .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.kundi-landing .kundi-cookie-error { margin: 16px 0 0; color: #a02343; }
/* Le preferenze restano sempre raggiungibili dal footer, senza una seconda barra sul film. */
.kundi-landing #barra-gestione-cookie { display: none; }
@media (max-width: 767px) {
    .kundi-landing #consenso-cookie { right: 12px; bottom: 12px; left: 12px; max-height: calc(100svh - 24px); padding: 30px 22px 22px; }
    .kundi-landing #consenso-cookie .cookie-dialog { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .kundi-landing #consenso-cookie .comandi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kundi-landing #consenso-cookie .comandi .btn { padding: 11px 8px; font-size: 12px; }
    .kundi-landing #consenso-cookie .comandi [data-accetta="1"] { grid-row: 1; grid-column: 1; }
    .kundi-landing #consenso-cookie .comandi [data-accetta="0"] { grid-row: 1; grid-column: 2; }
    .kundi-landing #consenso-cookie .comandi > a { grid-row: 2; grid-column: 1 / -1; }
}

/* Informative e preferenze: stessa identità, ritmo di lettura naturale. */
.kundi-policy { min-height: 100vh; }
.kundi-policy a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.kundi-policy a:hover { color: #ae2346; }
.kundi-policy a:focus-visible, .kundi-policy button:focus-visible, .kundi-policy input:focus-visible { outline: 2px solid var(--kundi-pink); outline-offset: 4px; }
.kundi-policy-skip { position: absolute; z-index: 60; top: 12px; left: var(--kundi-gutter); padding: 12px 18px; transform: translateY(-200%); background: #fff; border: 1px solid var(--kundi-ink); border-radius: 8px; font-size: 14px; }
.kundi-policy-skip:focus { transform: none; }
.kundi-policy-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; max-width: 1200px; margin: 0 auto; padding: 38px var(--kundi-gutter); }
.kundi-policy-brand { display: inline-flex; align-items: center; min-height: 44px; }
.kundi-policy-brand > img { display: block; width: 112px; height: auto; }
.kundi-policy-home { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #65686e; font-size: 13px; text-decoration: none; }
.kundi-policy-main { width: calc(100% - 2 * var(--kundi-gutter)); max-width: 800px; margin: 64px auto 120px; }
.kundi-policy-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-bottom: 12px; border-bottom: 1px solid #eeeff1; }
.kundi-policy-nav > a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; border-bottom: 2px solid transparent; color: #65686e; font-size: 14px; line-height: 1.5; text-decoration: none; }
.kundi-policy-nav > a[aria-current="page"] { border-bottom-color: var(--kundi-pink); color: var(--kundi-ink); }
.kundi-policy-heading { margin: 48px 0 40px; }
.kundi-policy-heading h1 { margin: 0; font-size: clamp(42px, 5.4vw, 72px); font-weight: 600; line-height: 1.08; letter-spacing: -.055em; overflow-wrap: anywhere; }
.kundi-policy-version { margin: 22px 0 0; color: #65686e; font-size: 14px; line-height: 1.6; }
.kundi-policy-version > a { display: inline-block; padding: 6px 0; }
.kundi-policy-copy { color: #53565c; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.kundi-policy-copy > :first-child { margin-top: 0; }
.kundi-policy-copy > :last-child { margin-bottom: 0; }
.kundi-policy-copy p { margin: 0 0 1.3em; }
.kundi-policy-copy h2, .kundi-policy-copy h3, .kundi-policy-copy h4 { color: var(--kundi-ink); font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.kundi-policy-copy h2 { margin: 48px 0 18px; font-size: 26px; }
.kundi-policy-copy h3 { margin: 36px 0 16px; font-size: 21px; }
.kundi-policy-copy h4 { margin: 28px 0 14px; font-size: 18px; }
.kundi-policy-copy strong, .kundi-policy-copy b { color: var(--kundi-ink); font-weight: 600; }
.kundi-policy-copy ul, .kundi-policy-copy ol { margin: 1.3em 0; padding-left: 24px; }
.kundi-policy-copy li { margin: .45em 0; padding-left: 3px; }
.kundi-policy-copy img { max-width: 100%; height: auto; }
.kundi-policy-copy table { display: block; max-width: 100%; margin: 28px 0; overflow-x: auto; border-collapse: collapse; font-size: 14px; line-height: 1.65; }
.kundi-policy-copy th, .kundi-policy-copy td { padding: 14px 16px; border-bottom: 1px solid #e5e6e9; vertical-align: top; text-align: left; }
.kundi-policy-copy th { color: var(--kundi-ink); font-weight: 500; }
.kundi-policy-copy pre { max-width: 100%; overflow-x: auto; }
.kundi-policy-copy blockquote { margin: 28px 0; padding-left: 24px; border-left: 1px solid #dddfe3; }
.kundi-policy-contacts { margin-top: 48px; padding-top: 36px; border-top: 1px solid #eeeff1; }
.kundi-policy-actions { margin-top: 44px; }
.kundi-policy .kundi-policy-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 15px 24px; border: 1px solid var(--kundi-ink); border-radius: 12px; background: var(--kundi-ink); color: #fff; font: inherit; font-size: 14px; font-weight: 500; line-height: 1.5; text-align: center; text-decoration: none; cursor: pointer; }
.kundi-policy .kundi-policy-button:hover { background: #383a40; color: #fff; }
.kundi-policy .kundi-policy-button--secondary { border-color: #d6d8dc; background: #fff; color: var(--kundi-ink); }
.kundi-policy .kundi-policy-button--secondary:hover { border-color: var(--kundi-ink); background: #fff; color: var(--kundi-ink); }
.kundi-cookie-intro { margin-bottom: 44px; }
.kundi-cookie-category { padding: 32px 0; border-top: 1px solid #eeeff1; }
.kundi-cookie-choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.kundi-cookie-choice legend { width: 100%; margin: 0 0 14px; padding: 0; color: var(--kundi-ink); font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: -.03em; }
.kundi-cookie-status { margin: 18px 0; color: #65686e; font-size: 13px; line-height: 1.6; }
.kundi-cookie-options { display: flex; flex-wrap: wrap; gap: 12px; }
.kundi-cookie-options label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 18px; border: 1px solid #d6d8dc; border-radius: 10px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.kundi-cookie-options label:has(input:checked) { border-color: var(--kundi-ink); }
.kundi-cookie-options input { flex: 0 0 auto; width: 17px; height: 17px; margin: 0; accent-color: var(--kundi-ink); }
.kundi-cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding-top: 32px; border-top: 1px solid #eeeff1; }
.kundi-cookie-actions > button { flex: 1 1 190px; }
.kundi-policy .alert { margin: 0 0 32px; padding: 20px 22px; border-left: 2px solid var(--kundi-ink); background: #f8f8f9; font-size: 15px; line-height: 1.65; }
.kundi-policy .alert-danger { border-left-color: #a02343; color: #a02343; }
@media (max-width: 767px) {
    .kundi-policy-header { gap: 20px; padding: 26px var(--kundi-gutter); }
    .kundi-policy-brand > img { width: 94px; }
    .kundi-policy-home { gap: 7px; font-size: 12px; }
    .kundi-policy-main { margin-top: 34px; margin-bottom: 80px; }
    .kundi-policy-nav { gap: 0 20px; }
    .kundi-policy-nav > a { font-size: 13px; }
    .kundi-policy-heading { margin-top: 36px; margin-bottom: 30px; }
    .kundi-policy-heading h1 { font-size: clamp(38px, 10.5vw, 52px); }
    .kundi-policy-copy { font-size: 15px; line-height: 1.8; }
    .kundi-policy-copy h2 { margin-top: 36px; font-size: 23px; }
    .kundi-policy-copy h3 { font-size: 19px; }
    .kundi-policy-copy th, .kundi-policy-copy td { min-width: 130px; padding: 12px; overflow-wrap: break-word; }
    .kundi-cookie-intro { margin-bottom: 32px; }
    .kundi-cookie-choice legend { font-size: 22px; }
    .kundi-cookie-options label { flex: 1 1 auto; justify-content: center; padding-right: 12px; padding-left: 12px; }
    .kundi-cookie-actions { flex-direction: column; gap: 12px; }
    .kundi-cookie-actions > button { flex: 0 0 auto; width: 100%; }
}
