/* =========================================================================
   MOSAIKO — landing page
   Template: page-mosaiko.php   ·   Script: assets/js/mosaiko.js
   Le sezioni sono nell'ordine in cui compaiono nella pagina.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Fondamenta comuni
   ---------------------------------------------------------------------- */

.mosaiko {
    /* palette condivisa da tutte le sezioni */
    --mo-ink:        #131211;
    --mo-card:       #1E1A17;
    --mo-ivory:      #F2EEE8;
    --mo-stone:      #A79B93;
    --mo-shirt:      #B96963;
    --mo-terracotta: #7A3D3A;
    --mo-copper:     #C97A5C;

    background: var(--mo-ink);
}
.mosaiko, .mosaiko *, .mosaiko *::before, .mosaiko *::after {
    box-sizing: border-box;
}

/* Il tema e Bootstrap vestono gli elementi nudi — h1-h6, p, span, a, ul —
   con colori, dimensioni, pesi e margini loro. Qui vengono spogliati per
   tutta la pagina, così ogni sezione parte da zero.
   :where() non pesa nulla: basta la classe di una sezione per soprascriverlo,
   senza dover ricorrere a !important. */
.mosaiko :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, span, a, button, video) {
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    background: none;
    border: 0;
}
.mosaiko :where(h1, h2, h3, h4, h5, h6) { line-height: 1.2; }
.mosaiko :where(a)      { text-decoration: none; }
.mosaiko :where(ul, ol) { list-style: none; }
.mosaiko :where(img, video) { max-width: 100%; }

/* ---------- bottone CTA (usato da quasi tutte le sezioni) ---------- */
.mosaiko .mo-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: var(--mo-cta-gap, 48px);
}
.mosaiko .mo-cta {
    position: relative;
    display: inline-block;
    text-align: center;
    padding: 18px 44px;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--mo-shirt) !important;
    text-decoration: none;
    background: transparent;
    border: 1.5px solid var(--mo-shirt);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
    z-index: 0;
    transition: color 0.4s ease, transform 0.35s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.mosaiko .mo-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--mo-terracotta), var(--mo-shirt));
    transform: scaleX(0);
    transform-origin: left;
    z-index: -1;
    transition: transform 0.45s ease;
}
.mosaiko .mo-cta:hover,
.mosaiko .mo-cta:focus {
    color: var(--mo-ivory) !important;
    border-color: var(--mo-copper);
    transform: scale(1.06);
    box-shadow: 0 10px 30px -8px rgba(185, 105, 99, 0.55);
}
.mosaiko .mo-cta:hover::before,
.mosaiko .mo-cta:focus::before {
    transform: scaleX(1);
}
.mosaiko .mo-cta:active {
    transform: scale(1.02);
}


/* -------------------------------------------------------------------------
   2. Hero a tutto schermo
   ---------------------------------------------------------------------- */

.mosaiko-hero {
    /* l'hero è leggermente più scuro del resto della pagina */
    --mo-ink: #12100F;
    /* scala delle distanze usata solo qui */
    --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px;

    /* Larghezza del titolo in em, misurata su "MOSAIKO" con la sua spaziatura:
       4,99 con Playfair, 5,21 se il font non è ancora arrivato e tocca a Georgia.
       Il 5,6 tiene un margine per i ripieghi più larghi (il serif di Android).
       Serve a impedire che il titolo esca dallo schermo sui telefoni stretti.
       Cambiando la parola nel template, va rimisurata. */
    --mk-fit: 5.6;

    position: relative;
    /* esce dal contenitore del tema e occupa tutta la larghezza */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 100vh;
    min-height: 520px;
    overflow: hidden;
    background: var(--mo-ink);
}
@supports (height: 100svh) {
    .mosaiko-hero { height: 100svh; }
}

/* ---------- foto ---------- */
.mk-stage { position: absolute; inset: 0; z-index: 0; }
.mk-shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--mk-focus, 50% 42%);
    opacity: 0;
    transition: opacity 2.4s cubic-bezier(.4, 0, .3, 1);
    animation: mk-drift 26s ease-in-out infinite alternate;
    will-change: opacity, transform;
}
.mk-shot.is-on { opacity: 1; }
/* Il primo scatto è visibile già dal CSS, prima che il JS parta.
   Serve a due cose: se il JavaScript non arriva l'hero non resta nero, e
   PageSpeed trova subito qualcosa da misurare — una foto che parte da
   opacità 0 non viene contata come "elemento più grande" e il test
   restituisce l'errore "no LCP".
   Si aggancia alla classe e non a :first-child: dentro <picture> il primo
   figlio è il <source>, quindi :first-child non colpiva mai la foto. */
.mk-stage .mk-shot-primo { opacity: 1; }
.mk-stage.js-attivo .mk-shot-primo { opacity: 0; }
.mk-stage.js-attivo .mk-shot.is-on { opacity: 1; }
@keyframes mk-drift {
    from { transform: scale(1.02); }
    to   { transform: scale(1.10); }
}

.mk-veil {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    --mk-buio: .42;
    background:
            radial-gradient(ellipse at 50% 50%,
            rgba(18, 16, 15, calc(var(--mk-buio) * .55)) 0%,
            rgba(18, 16, 15, var(--mk-buio)) 70%,
            rgba(18, 16, 15, calc(var(--mk-buio) + .18)) 100%);
}

/* ---------- contenuto ---------- */
.mk-content {
    position: relative; z-index: 2;
    height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: var(--s5) var(--s3);
    font-family: 'Lato', Arial, sans-serif;
}

.mk-firma {
    font-weight: 600;
    font-size: clamp(11px, .82vw, 15px);
    letter-spacing: .26em;
    text-indent: .26em;
    text-transform: uppercase;
    line-height: 1.4;
    color: rgba(242, 238, 232, .72);
    margin: 0 0 var(--s4);
    text-shadow: 0 2px 20px rgba(18, 16, 15, .9);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .3, 1);
}
.mk-firma.is-visible { opacity: 1; transform: translateY(0); }

.mk-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(56px, min(11.4vw, calc((100vw - 48px) / var(--mk-fit, 5.6))), 300px);
    line-height: 1;
    letter-spacing: .08em;
    text-indent: .08em;
    color: var(--mo-ivory);
    margin: 0 0 var(--s4);
    text-shadow: 0 2px 34px rgba(18, 16, 15, .85);
}
.mk-parola { display: inline-block; white-space: nowrap; }
.mk-name span.mk-lettera {
    display: inline-block;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .3, 1);
}
.mk-name span.mk-lettera.is-visible { opacity: 1; transform: translateY(0); }

.mk-sub {
    font-weight: 300;
    font-size: clamp(15px, 1.25vw, 24px);
    letter-spacing: .05em;
    line-height: 1.65;
    color: rgba(242, 238, 232, .86);
    margin: 0 0 var(--s6);
    max-width: 640px;
    text-shadow: 0 2px 22px rgba(18, 16, 15, .9);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.2, .7, .3, 1);
}
.mk-sub.is-visible { opacity: 1; transform: translateY(0); }
.mk-sub strong { font-weight: 400; color: var(--mo-ivory); }

.mk-cta-wrap {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.2, .7, .3, 1);
}
.mk-cta-wrap.is-visible { opacity: 1; transform: translateY(0); }

/* l'hero ha un bottone tutto suo: maiuscolo, spaziato, senza riempimento */
.mosaiko-hero a.mk-cta {
    display: inline-block;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(11px, .82vw, 14px);
    letter-spacing: .24em;
    text-indent: .24em;
    text-transform: uppercase;
    line-height: 1;
    padding: var(--s3) var(--s4);
    border: 1px solid rgba(185, 105, 99, .75);
    border-radius: 0;
    text-decoration: none !important;
    color: var(--mo-ivory) !important;
    background: transparent;
    text-wrap: balance;
    transition: background .6s ease, border-color .6s ease, color .6s ease;
}
.mosaiko-hero a.mk-cta:hover,
.mosaiko-hero a.mk-cta:focus {
    background: var(--mo-shirt);
    border-color: var(--mo-shirt);
    color: #FFFFFF !important;
}
.mosaiko-hero a.mk-cta:focus-visible {
    outline: 1px solid var(--mo-ivory);
    outline-offset: 6px;
}

@media (max-width: 767px) {
    .mk-content { padding: var(--s4) var(--s3); }
    .mk-name    { font-size: clamp(40px, min(15.5vw, calc((100vw - 48px) / var(--mk-fit, 5.6))), 96px); letter-spacing: .06em; text-indent: .06em; margin-bottom: var(--s3); }
    .mk-sub     { font-size: 16px; max-width: 26ch; margin-bottom: var(--s5); }
    .mk-firma   { font-size: 10px; letter-spacing: .18em; text-indent: .18em; margin-bottom: var(--s3); }
    .mosaiko-hero a.mk-cta {
        font-size: 10px;
        padding: 15px 18px;
        letter-spacing: .12em;
        text-indent: .12em;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mk-shot { animation: none !important; transform: none !important; }
    .mk-shot, .mk-firma, .mk-sub, .mk-cta-wrap, .mk-name span.mk-lettera { transition-duration: .01ms; }
}


/* -------------------------------------------------------------------------
   3. Citazione di apertura
   ---------------------------------------------------------------------- */

.mosaiko-headline {
    overflow-x: hidden;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 90px 32px;
    text-align: center;
    font-family: 'Lato', Arial, sans-serif;
}
.mh-quote {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.4;
    font-weight: 300;
    color: var(--mo-ivory);
}
.mh-quote .mh-word {
    display: inline-block;
    opacity: 0;
    filter: blur(6px);
    transform: translateY(12px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.mh-quote .mh-word.is-visible {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}
.mh-quote strong {
    font-weight: 700;
    color: var(--mo-shirt);
}
@media (max-width: 560px) {
    .mosaiko-headline { padding: 40px 20px; }
}


/* -------------------------------------------------------------------------
   4. Che cos'è MOSAIKO — card + ritratto affiancati
   ---------------------------------------------------------------------- */

.mosaiko-risultati {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Lato', Arial, sans-serif;
    padding: 100px 24px;
}
.mr-inner {
    max-width: 1160px;
    margin: 0 auto;
}

/* le due colonne hanno sempre la stessa altezza */
.mr-row {
    display: flex !important;
    align-items: stretch !important;
    gap: 40px;
}

/* ---------- colonna sinistra: testo, elenco, CTA ---------- */
.mr-card {
    flex: 1 1 58% !important;
    background: linear-gradient(165deg, #1D1917 0%, #17140F 100%);
    padding: 44px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}
.mr-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.mr-quote {
    font-size: clamp(20px, 2.1vw, 26px);
    line-height: 1.45;
    font-weight: 300;
    color: var(--mo-stone);
    margin: 0 0 30px 0;
}
.mr-quote strong {
    font-weight: 700;
    color: var(--mo-ivory);
}
.mr-quote .mr-brand {
    font-weight: 900;
    color: var(--mo-shirt);
}

.mr-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}
.mr-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.mr-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    border: 1.5px solid var(--mo-shirt);
    position: relative;
}
.mr-check::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 46%;
    width: 4px;
    height: 8px;
    border-right: 1.5px solid var(--mo-shirt);
    border-bottom: 1.5px solid var(--mo-shirt);
    transform: translate(-50%, -50%) rotate(45deg);
}
.mr-list-text {
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--mo-stone);
    font-weight: 300;
}
.mr-list-text strong {
    color: var(--mo-ivory);
    font-weight: 700;
}

/* qui la CTA è allineata a sinistra e un filo più compatta */
.mosaiko-risultati .mo-cta {
    align-self: flex-start;
    font-size: 16px;
    padding: 17px 40px;
}

/* ---------- colonna destra: ritratto a tutta altezza ---------- */
.mr-photo-col {
    flex: 1 1 42% !important;
    position: relative;
    overflow: hidden;
    background: var(--mo-ink);

    opacity: 0;
    transform: translateY(20px) scale(0.97);
    transition: opacity 1s ease 0.15s, transform 1s ease 0.15s;
}
.mr-photo-col.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.mr-photo-glow {
    position: absolute;
    right: -10%;
    top: 15%;
    bottom: 10%;
    width: 65%;
    background: radial-gradient(ellipse at center, rgba(217, 122, 92, 0.5) 0%, rgba(185, 105, 99, 0.2) 45%, transparent 72%);
    filter: blur(35px);
    z-index: 0;
    pointer-events: none;
}
.mr-photo-col img {
    position: absolute !important;
    left: 50%;
    bottom: 0;
    z-index: 1;
    transform: translateX(-50%);
    height: 104% !important;
    width: auto !important;
    max-width: none !important;
    opacity: 0.88;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5)) sepia(0.15) saturate(1.1) hue-rotate(-6deg) brightness(0.95);
}

@media (max-width: 640px) {
    .mr-row { flex-direction: column !important; }
    .mr-card { flex: none !important; padding: 36px 28px; }
    .mr-photo-col { display: none !important; }
}
@media (max-width: 560px) {
    .mosaiko-risultati { padding: 64px 20px; }
}


/* -------------------------------------------------------------------------
   5. Manifesto
   ---------------------------------------------------------------------- */

.mosaiko-manifesto {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Lato', Arial, sans-serif;
    padding: 64px 24px;
}
.mf-inner {
    max-width: 680px;
    margin: 0 auto;
}
.mf-panel {
    background: linear-gradient(165deg, #2E3032 0%, #202224 100%);
    border: 1px solid rgba(185, 105, 99, 0.14);
    border-radius: 22px;
    padding: 52px 64px;
    box-shadow:
            0 30px 70px -30px rgba(0, 0, 0, 0.6),
            0 8px 20px -10px rgba(0, 0, 0, 0.4);
}

.mf-body p {
    font-size: 18px;
    line-height: 1.85;
    font-weight: 300;
    color: var(--mo-stone);
    margin: 0 0 26px 0;

    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.mf-body p.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.mf-body strong {
    font-weight: 700;
    color: var(--mo-ivory);
}

.mf-opening {
    text-align: center !important;
    font-size: clamp(21px, 2.6vw, 26px) !important;
    line-height: 1.55 !important;
}
.mf-opening .mf-accent {
    color: var(--mo-shirt);
}

.mf-closing {
    text-align: center !important;
    font-style: italic;
    color: var(--mo-stone) !important;
    margin-top: -10px !important;
}
.mf-closing strong {
    font-style: normal;
    color: var(--mo-shirt) !important;
    letter-spacing: 0.04em;
}

/* le grandi affermazioni centrali */
.mf-statement {
    text-align: center;
    font-size: clamp(24px, 3.3vw, 34px) !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    font-style: italic;
    color: var(--mo-shirt) !important;
    margin: 50px 0 !important;
}
.mf-statement.mf-final {
    font-style: normal;
    color: var(--mo-ivory) !important;
    text-shadow: 0 0 32px rgba(185, 105, 99, 0.28);
}

/* riga di transizione breve, tipo "La verità è questa:" */
.mf-lead-in {
    font-style: italic;
    font-weight: 300;
    color: var(--mo-shirt);
    text-align: center;
    font-size: 17px;
    margin: 0 0 40px 0 !important;
}

/* la sequenza ritmata: un matrimonio / una gravidanza / ... */
.mf-list {
    text-align: center;
    margin: 44px 0 !important;

    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.mf-list.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.mf-list span {
    display: block;
    font-style: italic;
    font-weight: 300;
    font-size: 19px;
    color: var(--mo-stone);
    line-height: 2.1;
    opacity: 0.85;
}

/* la citazione interiore */
.mf-inner-quote {
    text-align: center;
    font-style: italic;
    font-size: 21px !important;
    color: var(--mo-ivory) !important;
    max-width: 460px;
    margin: 36px auto !important;
}

.mf-cta-wrap {
    --mo-cta-gap: 56px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.mf-cta-wrap.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 480px) {
    .mosaiko-manifesto { padding: 76px 18px; }
    .mf-panel { padding: 44px 26px; }
    .mf-body p { font-size: 16.5px; }
    .mf-list span { font-size: 17px; }
}


/* -------------------------------------------------------------------------
   6. Testimonianze — tre righe a scorrimento continuo
   ---------------------------------------------------------------------- */

.mosaiko-testi {
    overflow: hidden;
    width: 100%;
    padding: 80px 0;
    font-family: 'Lato', Arial, sans-serif;
    background: linear-gradient(90deg, #1A1613 0%, #251B17 50%, #1A1613 100%);
}

.mt-title {
    text-align: center;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--mo-shirt);
    margin: 0 0 56px 0;
    padding: 0 24px;
}

.mt-track-wrap {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.mt-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: mt-scroll 42s linear infinite;
}
.mt-track.reverse {
    animation-name: mt-scroll-reverse;
}
@media (hover: hover) and (pointer: fine) {
    .mosaiko-testi:hover .mt-track {
        animation-play-state: paused;
    }
}

@keyframes mt-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes mt-scroll-reverse {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

.mt-row-gap { height: 24px; }

.mt-card {
    flex: 0 0 auto;
    width: 320px;
    background: var(--mo-card);
    border: 1px solid rgba(185, 105, 99, 0.18);
    border-radius: 6px;
    padding: 28px 26px;
}

.mt-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.mt-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mo-terracotta), var(--mo-shirt));
    color: var(--mo-ivory);
    font-weight: 700;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.mt-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mt-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--mo-shirt);
    line-height: 1.3;
}
.mt-role {
    font-size: 13px;
    color: var(--mo-stone);
}

.mt-stars {
    color: #F0C24B;
    text-shadow: 0 0 8px rgba(240, 194, 75, 0.55);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.mt-quote {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 300;
    color: var(--mo-ivory);
    opacity: 0.92;
    margin: 0;
}
.mt-quote strong {
    font-weight: 700;
    color: var(--mo-shirt);
}

@media (max-width: 560px) {
    .mosaiko-testi { padding: 48px 0; }
    .mt-card { width: 210px; padding: 16px 16px; }
    .mt-quote { font-size: 13px; }
    .mt-row-gap { height: 14px; }
    .mt-track { gap: 14px; }
}


/* -------------------------------------------------------------------------
   7. Il percorso — quattro tappe a zigzag
   ---------------------------------------------------------------------- */

.mosaiko-percorso {
    width: 100%;
    font-family: 'Lato', Arial, sans-serif;
    padding: 100px 24px 30px;
    overflow: hidden;
}
.mp-inner {
    max-width: 1180px;
    margin: 0 auto;
}

/* ---------- intestazione ---------- */
.mp-eyebrow {
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mo-shirt);
    font-weight: 700;
    margin-bottom: 18px;
}
.mp-title {
    text-align: center;
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 900;
    color: var(--mo-ivory);
    margin: 0 0 40px 0;
}

.mp-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 96px;
    padding: 0 12px;
}
.mp-flow-word {
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 700;
    color: var(--mo-ivory);
    letter-spacing: 0.01em;

    display: inline-block;
    opacity: 0;
    filter: blur(6px);
    transform: translateY(10px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.mp-flow-word.is-visible {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}
.mp-flow-arrow {
    color: var(--mo-shirt);
    font-size: 16px;
    opacity: 0;
    display: inline-block;
    transition: opacity 0.5s ease;
}
.mp-flow-arrow.is-visible {
    opacity: 0.7;
}

/* ---------- linea centrale di collegamento (solo desktop) ---------- */
.mp-steps {
    position: relative;
}
.mp-steps::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(185, 105, 99, 0.35) 8%, rgba(185, 105, 99, 0.35) 92%, transparent);
    transform: translateX(-50%);
}

/* ---------- singola tappa ---------- */
.mp-step {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 108px;

    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s ease, transform 1s ease;
}
.mp-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.mp-step:last-child { margin-bottom: 0; }

.mp-step.reverse .mp-media   { order: 2; }
.mp-step.reverse .mp-content { order: 1; }

/* nodo sulla linea centrale */
.mp-node {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mo-shirt);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 5px rgba(19, 18, 17, 1), 0 0 16px 2px rgba(185, 105, 99, 0.5);
    z-index: 2;
}

.mp-content {
    position: relative;
}
.mp-ghost-number {
    position: absolute;
    top: -58px;
    left: -6px;
    font-size: 130px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(185, 105, 99, 0.25);
    line-height: 1;
    z-index: 0;
    user-select: none;
}
.mp-step.reverse .mp-ghost-number {
    left: auto;
    right: -6px;
}

.mp-number-label {
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--mo-shirt);
    margin-bottom: 14px;
}
.mp-step-title {
    position: relative;
    z-index: 1;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 900;
    color: var(--mo-ivory);
    margin: 0 0 16px 0;
}
.mp-step-text {
    position: relative;
    z-index: 1;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
    color: var(--mo-stone);
    max-width: 46ch;
}

/* ---------- immagine della tappa (opzionale) ---------- */
.mp-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(135deg, #241914 0%, var(--mo-terracotta) 55%, var(--mo-shirt) 100%);
}
.mp-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* senza immagine resta un riquadro sfumato, non un buco */
.mp-media.empty::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 30% 25%, rgba(242, 238, 232, 0.10), transparent 45%),
            radial-gradient(circle at 75% 80%, rgba(19, 18, 17, 0.35), transparent 55%);
}

@media (max-width: 860px) {
    .mp-steps::before { display: none; }
    .mp-step, .mp-step.reverse {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 72px;
    }
    .mp-step.reverse .mp-media,
    .mp-step.reverse .mp-content {
        order: initial;
    }
    .mp-media { order: -1; aspect-ratio: 16 / 10; }
    .mp-node { display: none; }
    .mp-ghost-number { display: none; }
}
@media (max-width: 480px) {
    .mosaiko-percorso { padding: 72px 18px 20px; }
    .mp-flow { gap: 6px; margin-bottom: 64px; }
}


/* -------------------------------------------------------------------------
   8. Video "Entra dentro una parte di MOSAIKO"
   ---------------------------------------------------------------------- */

.mosaiko-video-section {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Lato', Arial, sans-serif;
    padding: 100px 24px;
}
.mv-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;

    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s ease, transform 1s ease;
}
.mv-inner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.mv-eyebrow {
    font-size: 16px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mo-shirt);
    font-weight: 700;
    margin-bottom: 18px;
}
.mv-title {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 900;
    color: var(--mo-ivory);
    margin: 0 0 26px 0;
}
.mv-text {
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
    color: var(--mo-stone);
    max-width: 62ch;
    margin: 0 auto 64px;
}
.mv-strong {
    font-weight: 700;
    color: var(--mo-shirt);
}

/* ---------- contenitore video ---------- */
.mv-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(135deg, #241914 0%, var(--mo-terracotta) 55%, var(--mo-shirt) 100%);
    animation: mv-glow 3.2s ease-in-out infinite;
}
@keyframes mv-glow {
    0%, 100% { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 22px 2px rgba(185, 105, 99, 0.25); }
    50%      { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 44px 8px rgba(185, 105, 99, 0.55); }
}
.mv-video-wrap video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* overlay play: cliccandolo il video riparte da capo con l'audio */
.mv-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(19, 18, 17, 0.18);
    cursor: pointer;
    transition: background 0.3s ease;
}
.mv-play-overlay:hover {
    background: rgba(19, 18, 17, 0.32);
}
.mv-play-overlay.hidden {
    display: none;
}
.mv-play-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 1.5px solid rgba(242, 238, 232, 0.7);
    background: rgba(19, 18, 17, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.mv-play-overlay:hover .mv-play-icon {
    transform: scale(1.08);
}
.mv-play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent var(--mo-ivory);
    margin-left: 4px;
}

@media (max-width: 480px) {
    .mosaiko-video-section { padding: 72px 18px; }
}


/* -------------------------------------------------------------------------
   9. Video testimonianze
   ---------------------------------------------------------------------- */

.mosaiko-vtesti {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Lato', Arial, sans-serif;
    padding: 100px 24px;
}
.vt-inner {
    max-width: 1180px;
    margin: 0 auto;
}
.vt-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 72px;
}
.vt-title {
    font-size: clamp(34px, 4.8vw, 58px);
    font-weight: 900;
    color: var(--mo-ivory);
    line-height: 1.15;
    margin: 0 0 24px 0;

    opacity: 0;
    filter: blur(14px);
    transform: scale(1.04);
    transition: opacity 1.1s ease, filter 1.1s ease, transform 1.1s ease;
}
.vt-title.is-visible {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1);
}
.vt-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.65;
    font-weight: 300;
    color: var(--mo-stone);

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s ease 0.24s, transform 0.9s ease 0.24s;
}
.vt-subtitle.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.vt-subtitle strong {
    font-weight: 700;
    color: var(--mo-shirt);
}

/* ---------- griglia ---------- */
.vt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 32px;
}
.vt-card {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.vt-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.vt-grid .vt-card:nth-child(1) { transition-delay: 0s; }
.vt-grid .vt-card:nth-child(2) { transition-delay: 0.12s; }
.vt-grid .vt-card:nth-child(3) { transition-delay: 0.24s; }
.vt-grid .vt-card:nth-child(4) { transition-delay: 0.36s; }

.vt-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.vt-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mo-terracotta), var(--mo-shirt));
    color: var(--mo-ivory);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.vt-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vt-name {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--mo-ivory);
    line-height: 1.25;
}
.vt-role {
    font-size: 12.5px;
    color: var(--mo-stone);
}

/* ---------- player ---------- */
.vt-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(150deg, #241914 0%, var(--mo-terracotta) 60%, var(--mo-shirt) 100%);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(185, 105, 99, 0);
    transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.vt-player:hover {
    box-shadow: 0 18px 36px -16px rgba(185, 105, 99, 0.45);
    transform: translateY(-4px);
}
.vt-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* il player verticale esiste solo sotto i 720px */
.vt-player-mobile { display: none; }
@media (max-width: 720px) {
    .vt-player-desktop { display: none; }
    .vt-player-mobile {
        display: block;
        aspect-ratio: 9 / 16;
        max-width: 340px;
        margin: 0 auto;
    }
}

.vt-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(19, 18, 17, 0.55);
    border: 1.5px solid rgba(242, 238, 232, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 2;
}
.vt-player:hover .vt-play-btn {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(185, 105, 99, 0.55);
}
.vt-play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent var(--mo-ivory);
    margin-left: 3px;
}
.vt-player.playing .vt-play-btn { display: none; }

.vt-duration {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(19, 18, 17, 0.75);
    color: var(--mo-ivory);
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    z-index: 2;
}
.vt-player.playing .vt-duration { display: none; }

.vt-cta-wrap { --mo-cta-gap: 64px; }

@media (max-width: 720px) {
    .vt-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 520px) {
    .mosaiko-vtesti { padding: 72px 18px; }
}


/* -------------------------------------------------------------------------
   10. Chi sono + percorso e riconoscimenti
   ---------------------------------------------------------------------- */

.mosaiko-chisono {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Lato', Arial, sans-serif;
    padding: 0 0 100px;
}
.cs-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- banner orizzontale a tutta larghezza ---------- */
.cs-banner {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    height: 240px;
    background:
            radial-gradient(ellipse 60% 100% at 30% 20%, rgba(242, 238, 232, 0.12), transparent 60%),
            linear-gradient(120deg, var(--mo-terracotta) 0%, var(--mo-shirt) 100%);
}

/* ---------- bio ---------- */
.cs-text-block {
    max-width: 720px;
    margin: 0 auto 80px;

    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s ease, transform 1s ease;
}
.cs-text-block.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* il ritratto scavalca il banner */
.cs-portrait {
    width: 170px;
    height: 170px;
    margin: -85px auto 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--mo-ink);
    background: linear-gradient(135deg, var(--mo-terracotta), var(--mo-shirt));
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;

    opacity: 0;
    transform: scale(0.82);
    transition: opacity 1s ease 0.1s, transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.cs-text-block.is-visible .cs-portrait {
    opacity: 1;
    transform: scale(1);
}
.cs-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cs-eyebrow {
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mo-shirt);
    font-weight: 700;
    margin-bottom: 18px;
}
.cs-title {
    text-align: center;
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 900;
    color: var(--mo-ivory);
    margin: 0 0 32px 0;
}

.cs-bio-wrap {
    position: relative;
}

/* le foto sfalsate che galleggiano dentro al testo */
.cs-float-photo {
    width: 130px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6);
    opacity: 0;
    animation: cs-float 7s ease-in-out infinite;
    margin: 6px 0 14px 0;
}
.cs-bio-wrap.is-visible .cs-float-photo {
    opacity: 0.9;
}
.cs-float-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: sepia(0.12) saturate(1.05) brightness(0.95);
}
.cs-float-1 {
    float: left;
    --rot: -4deg;
    aspect-ratio: 4 / 5;
    margin-right: 22px;
    animation-delay: 0s;
}
.cs-float-2 {
    float: right;
    width: 150px;
    --rot: 3deg;
    aspect-ratio: 5 / 4;
    margin-left: 22px;
    animation-delay: 1.8s;
    animation-duration: 8.5s;
}
.cs-float-3 {
    float: left;
    width: 120px;
    --rot: -2deg;
    aspect-ratio: 4 / 5;
    margin-right: 22px;
    animation-delay: 0.9s;
    animation-duration: 7.8s;
}
@keyframes cs-float {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
    50%      { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}
@media (max-width: 640px) {
    .cs-float-photo {
        float: none !important;
        width: 78% !important;
        max-width: 280px;
        margin: 24px auto !important;
        display: block;
    }
}

.cs-bio-text {
    font-size: 16.5px;
    line-height: 1.75;
    font-weight: 300;
    color: var(--mo-stone);
    overflow: auto;
}
.cs-bio-text p { margin: 0 0 20px 0; }
.cs-bio-text strong {
    font-weight: 700;
    color: var(--mo-shirt);
}

/* ---------- fascia riconoscimenti, con sfondo proprio ---------- */
.cs-cred-band {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: 90px;
    padding: 90px 24px;
    background:
            radial-gradient(ellipse 70% 90% at 50% 0%, rgba(242, 238, 232, 0.05), transparent 60%),
            linear-gradient(180deg, #3A1D1A 0%, #2A1512 100%);
}
.cs-cred-band .cs-inner {
    padding: 0;
}

.cs-cred-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: center;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.01em;
    color: var(--mo-shirt);
    text-shadow: 0 0 24px rgba(185, 105, 99, 0.35);
    margin-bottom: 48px;

    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.cs-cred-label.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.cs-cred-label::before,
.cs-cred-label::after {
    content: '';
    height: 1px;
    width: clamp(40px, 8vw, 120px);
    background: linear-gradient(90deg, transparent, var(--mo-shirt));
}
.cs-cred-label::after {
    background: linear-gradient(90deg, var(--mo-shirt), transparent);
}

/* la griglia usa il gap come reticolo: 1px di sfondo che diventa bordo */
.cs-cred-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(185, 105, 99, 0.18);
    border: 1px solid rgba(185, 105, 99, 0.18);
    border-radius: 8px;
    overflow: hidden;
}
.cs-cred-card {
    background: var(--mo-card);
    padding: 34px 28px;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease, background 0.4s ease;
}
.cs-cred-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.cs-cred-card.is-visible:hover {
    background: #251E1A;
    transform: translateY(-6px);
    box-shadow: 0 16px 34px -14px rgba(185, 105, 99, 0.4);
    position: relative;
    z-index: 2;
}

.cs-cred-icon {
    width: 138px;
    height: 138px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.cs-cred-icon.wide {
    width: 230px;
}
.cs-cred-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 0.92;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.cs-cred-card:hover .cs-cred-icon img {
    transform: scale(1.08);
    opacity: 1;
}

.cs-cred-tag {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mo-shirt);
    font-weight: 700;
    margin-bottom: 14px;
}
.cs-cred-name {
    font-size: 19px;
    font-weight: 900;
    color: var(--mo-ivory);
    margin-bottom: 8px;
    line-height: 1.25;
}
.cs-cred-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--mo-stone);
    font-weight: 300;
}

.cs-cta-wrap { --mo-cta-gap: 40px; }

@media (max-width: 780px) {
    .cs-cred-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .mosaiko-chisono { padding: 0 0 72px; }
    .cs-inner { padding: 0 18px; }
    .cs-cred-grid { grid-template-columns: 1fr; }
}


/* -------------------------------------------------------------------------
   11. Dicono di me — righe a scorrimento continuo
   ---------------------------------------------------------------------- */

.mosaiko-dicono {
    overflow: hidden;
    width: 100%;
    padding: 90px 0;
    font-family: 'Lato', Arial, sans-serif;
    background: linear-gradient(90deg, #1A1613 0%, #251B17 50%, #1A1613 100%);
}

.dc-title {
    text-align: center;
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 900;
    color: var(--mo-shirt);
    margin: 0 0 12px;
    padding: 0 24px;
}
.dc-subtitle {
    text-align: center;
    font-size: 15px;
    color: var(--mo-stone);
    margin: 0 0 56px;
    padding: 0 24px;
}

.dc-track-wrap {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}
.dc-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: dc-scroll 52s linear infinite;
}
.dc-track.reverse {
    animation-name: dc-scroll-reverse;
}
/* la pausa al passaggio del mouse vale solo dove c'è un mouse vero:
   sul touch dei telefoni bloccherebbe le righe in pausa */
@media (hover: hover) and (pointer: fine) {
    .mosaiko-dicono:hover .dc-track {
        animation-play-state: paused;
    }
}
@keyframes dc-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes dc-scroll-reverse {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

.dc-row-gap { height: 24px; }

.dc-card {
    flex: 0 0 auto;
    width: 340px;
    background: var(--mo-card);
    border: 1px solid rgba(185, 105, 99, 0.18);
    border-radius: 6px;
    padding: 26px 24px;
}
.dc-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.dc-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mo-terracotta), var(--mo-shirt));
    color: var(--mo-ivory);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.dc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dc-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--mo-shirt);
}
.dc-stars {
    color: #F0C24B;
    text-shadow: 0 0 8px rgba(240, 194, 75, 0.55);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.dc-quote {
    font-size: 14.5px;
    line-height: 1.6;
    font-weight: 300;
    color: var(--mo-ivory);
    opacity: 0.92;
    margin: 0;
}
.dc-quote strong {
    font-weight: 700;
    color: var(--mo-shirt);
}

.dc-cta-wrap {
    --mo-cta-gap: 56px;
    padding: 0 24px;
}

/* le stesse testimonianze su 4 righe al desktop e 6 al telefono */
.dc-rows-mobile { display: none; }
@media (max-width: 560px) {
    .mosaiko-dicono { padding: 48px 0; }
    .dc-rows-desktop { display: none; }
    .dc-rows-mobile { display: block; }
    .dc-card { width: 210px; padding: 16px 16px; }
    .dc-row-gap { height: 14px; }
    .dc-track { gap: 14px; }
    .dc-quote { font-size: 13px; }
}


/* -------------------------------------------------------------------------
   12. Per chi è (e per chi non è) MOSAIKO
   ---------------------------------------------------------------------- */

.mosaiko-perchi {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Lato', Arial, sans-serif;
    padding: 100px 24px;
}
.pc-inner {
    max-width: 1180px;
    margin: 0 auto;
}
.pc-title {
    text-align: center;
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 900;
    color: var(--mo-ivory);
    margin: 0 0 64px 0;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.pc-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.pc-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(185, 105, 99, 0.15);
    border-radius: 8px;
    overflow: hidden;
}
.pc-col {
    background: #1B1815;
    padding: 44px 40px;

    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s ease, transform 1s ease;
}
.pc-col.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.pc-col.no { transition-delay: 0.12s; }

.pc-col-heading {
    font-size: 21px;
    font-weight: 900;
    margin-bottom: 28px;
}
.pc-col.yes .pc-col-heading { color: var(--mo-shirt); }
.pc-col.no  .pc-col-heading { color: var(--mo-stone); }

.pc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pc-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 0;
    font-size: 15.5px;
    line-height: 1.55;
    font-weight: 300;
    border-bottom: 1px solid rgba(242, 238, 232, 0.06);
}
.pc-list li:last-child { border-bottom: none; }
.pc-col.yes .pc-list li { color: var(--mo-ivory); }
.pc-col.no  .pc-list li { color: var(--mo-stone); }

.pc-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
}
.pc-col.yes .pc-icon {
    color: var(--mo-shirt);
    border: 1.5px solid var(--mo-shirt);
}
.pc-col.no .pc-icon {
    color: var(--mo-stone);
    border: 1.5px solid rgba(167, 155, 147, 0.4);
}

@media (max-width: 860px) {
    .pc-columns { grid-template-columns: 1fr; }
    .pc-col.no { border-top: 1px solid rgba(185, 105, 99, 0.15); }
}
@media (max-width: 480px) {
    .mosaiko-perchi { padding: 72px 18px; }
    .pc-col { padding: 34px 24px; }
}


/* -------------------------------------------------------------------------
   13. 5 motivi — i differenziali
   ---------------------------------------------------------------------- */

.mosaiko-diff {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Lato', Arial, sans-serif;
    padding: 100px 24px;
}
.df-inner {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
}

.df-title {
    text-align: center;
    font-size: clamp(30px, 4.2vw, 50px);
    font-weight: 900;
    color: var(--mo-ivory);
    margin: 0 0 8px 0;
    position: relative;
    z-index: 1;

    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 1s ease 0.1s, transform 1s ease 0.1s;
}
.df-title.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.df-title em {
    font-style: italic;
    font-weight: 900;
    color: var(--mo-shirt);
    text-shadow: 0 0 30px rgba(185, 105, 99, 0.6), 0 0 60px rgba(185, 105, 99, 0.3);
}

/* alone caldo ambientale, dietro al titolo */
.df-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 640px;
    height: 340px;
    background: radial-gradient(ellipse at center, rgba(185, 105, 99, 0.22) 0%, rgba(185, 105, 99, 0.08) 45%, transparent 75%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
    animation: df-glow-pulse 4.5s ease-in-out infinite;
}
@keyframes df-glow-pulse {
    0%, 100% { opacity: 0.7; }
    50%      { opacity: 1; }
}

.df-opening {
    text-align: center;
    font-size: clamp(16px, 1.9vw, 19px);
    line-height: 1.6;
    font-style: italic;
    font-weight: 400;
    color: var(--mo-stone);
    max-width: 620px;
    margin: 0 auto 60px;

    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.9s ease 0.05s, transform 0.9s ease 0.05s;
}
.df-opening.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- elenco a zigzag foto/testo ---------- */
.df-list {
    display: flex;
    flex-direction: column;
    gap: 76px;
    margin-bottom: 90px;
}
.df-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;

    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.df-item.is-visible { opacity: 1; transform: translateY(0); }
.df-item.reverse .df-media   { order: 2; }
.df-item.reverse .df-content { order: 1; }

.df-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(150deg, #241914 0%, var(--mo-terracotta) 60%, var(--mo-shirt) 100%);
    box-shadow: 0 0 0 0 rgba(185, 105, 99, 0);
    transition: box-shadow 0.5s ease;
}
.df-item:hover .df-media {
    box-shadow: 0 25px 60px -18px rgba(185, 105, 99, 0.5);
}
.df-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.df-item:hover .df-media img {
    transform: scale(1.05);
}

.df-content { position: relative; }
.df-num {
    font-size: 60px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(185, 105, 99, 0.35);
    line-height: 1;
    margin-bottom: 6px;
}
.df-item-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--mo-ivory);
    margin-bottom: 12px;
    line-height: 1.3;
}
.df-item-text {
    font-size: 15.5px;
    line-height: 1.65;
    font-weight: 300;
    color: var(--mo-stone);
    max-width: 42ch;
}

/* ---------- riga competenze in chiusura ---------- */
.df-skills-label {
    text-align: center;
    font-size: 12.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mo-stone);
    margin-bottom: 22px;

    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.df-skills-label.is-visible { opacity: 1; transform: translateY(0); }

.df-skills-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;

    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s ease 0.1s, transform 0.8s ease 0.1s;
}
.df-skills-tags.is-visible { opacity: 1; transform: translateY(0); }

.df-tag {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid rgba(185, 105, 99, 0.4);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 400;
    color: var(--mo-ivory);
    background: rgba(185, 105, 99, 0.06);
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.3s ease;
}
.df-tag:hover {
    background: rgba(185, 105, 99, 0.18);
    border-color: var(--mo-shirt);
    transform: translateY(-2px);
}

.df-cta-wrap { --mo-cta-gap: 52px; }

@media (max-width: 780px) {
    .df-item, .df-item.reverse {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .df-item.reverse .df-media,
    .df-item.reverse .df-content {
        order: initial;
    }
    .df-num { font-size: 46px; }
}
@media (max-width: 560px) {
    .mosaiko-diff { padding: 72px 18px; }
    .df-list { gap: 56px; }
}


/* -------------------------------------------------------------------------
   14. La lettera
   ---------------------------------------------------------------------- */

.mosaiko-lettera {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Lato', Arial, sans-serif;
    padding: 100px 24px;
}
.lt-inner {
    max-width: 680px;
    margin: 0 auto;
}

/* il "foglio" sopraelevato */
.lt-paper {
    background: linear-gradient(180deg, #211C18 0%, #1B1714 100%);
    border: 1px solid rgba(185, 105, 99, 0.14);
    border-radius: 10px;
    padding: 72px 64px;
    box-shadow:
            0 40px 90px -30px rgba(0, 0, 0, 0.75),
            0 12px 30px -12px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(0, 0, 0, 0.3);
}

.lt-portrait {
    width: 112px;
    height: 112px;
    margin: 0 auto 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--mo-ink);
    box-shadow: 0 0 0 1.5px var(--mo-shirt);
    background: linear-gradient(135deg, var(--mo-terracotta), var(--mo-shirt));

    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.lt-portrait.is-visible { opacity: 1; transform: scale(1); }
.lt-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lt-meta {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.9s ease 0.1s, transform 0.9s ease 0.1s;
}
.lt-meta.is-visible { opacity: 1; transform: translateY(0); }
.lt-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 999px;
    background: rgba(185, 105, 99, 0.1);
    border: 1px solid rgba(185, 105, 99, 0.35);
    font-size: 13px;
    color: var(--mo-stone);
}
.lt-meta-pill strong {
    color: var(--mo-ivory);
    font-weight: 700;
}
.lt-meta-dot {
    color: var(--mo-shirt);
}

.lt-salutation {
    font-size: 19px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--mo-ivory);
    margin: 0 0 40px 0;

    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.9s ease 0.15s, transform 0.9s ease 0.15s;
}
.lt-salutation.is-visible { opacity: 1; transform: translateY(0); }

/* i passaggi chiave sono sottolineati da una banda calda dietro al testo */
.lt-salutation strong,
.lt-body strong {
    font-weight: 700;
    color: var(--mo-shirt);
    background-repeat: no-repeat;
    padding: 0 2px;
}
.lt-salutation strong {
    font-weight: 900;
    background-image: linear-gradient(120deg, rgba(185, 105, 99, 0.28) 0%, rgba(185, 105, 99, 0.28) 100%);
    background-size: 100% 40%;
    background-position: 0 88%;
}
.lt-body strong {
    background-image: linear-gradient(120deg, rgba(185, 105, 99, 0.22) 0%, rgba(185, 105, 99, 0.22) 100%);
    background-size: 100% 38%;
    background-position: 0 86%;
}

.lt-body p {
    font-size: 16.5px;
    line-height: 1.85;
    font-weight: 300;
    color: var(--mo-stone);
    margin: 0 0 26px 0;

    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.lt-body p.is-visible { opacity: 1; transform: translateY(0); }

/* citazioni estratte, centrate */
.lt-body .lt-pullquote {
    text-align: center;
    font-size: clamp(21px, 2.6vw, 26px);
    line-height: 1.4;
    font-weight: 900;
    color: var(--mo-shirt);
    margin: 44px 0 !important;
    padding: 0 12px;
}

.lt-signature {
    font-style: italic;
    color: var(--mo-shirt);
    font-size: 16.5px;
    margin-top: 44px;

    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.lt-signature.is-visible { opacity: 1; transform: translateY(0); }

.lt-cta-wrap {
    /* qui la CTA respira anche sotto, non solo sopra */
    --mo-cta-gap: 56px;
    margin-bottom: 56px;

    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.lt-cta-wrap.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 480px) {
    .mosaiko-lettera { padding: 72px 18px; }
    .lt-paper { padding: 44px 26px; }
    .lt-body p { font-size: 15.5px; }
    .lt-meta-pill {
        font-size: 11px;
        padding: 7px 14px;
        gap: 5px;
        white-space: nowrap;
    }
}


/* -------------------------------------------------------------------------
   15. Sette persone all'anno
   ---------------------------------------------------------------------- */

.mosaiko-scarsita {
    position: relative;
    width: 100%;
    font-family: 'Lato', Arial, sans-serif;
    padding: 100px 24px;
    overflow: hidden;
}

/* ---------- foto di sfondo, in parallasse ---------- */
.sc-bg-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.sc-bg-photo img {
    position: absolute;
    top: -8%;
    left: 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 0.4;
    filter: grayscale(30%);
    will-change: transform;
}
.sc-bg-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
            radial-gradient(ellipse 70% 60% at 50% 30%, transparent 0%, var(--mo-ink) 75%),
            linear-gradient(0deg, var(--mo-ink) 0%, transparent 25%, transparent 75%, var(--mo-ink) 100%);
}

.sc-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* alone caldo dietro al numero */
.sc-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    height: 420px;
    background: radial-gradient(ellipse at center, rgba(185, 105, 99, 0.25) 0%, rgba(185, 105, 99, 0.08) 45%, transparent 75%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

.sc-eyebrow {
    position: relative;
    z-index: 1;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mo-stone);
    font-weight: 700;
    margin-bottom: 28px;

    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.sc-eyebrow.is-visible { opacity: 1; transform: translateY(0); }

.sc-number {
    position: relative;
    z-index: 1;
    font-size: clamp(160px, 24vw, 260px);
    font-weight: 900;
    line-height: 1;
    color: var(--mo-shirt);
    text-shadow: 0 0 50px rgba(185, 105, 99, 0.4);
    margin-bottom: 8px;

    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s ease 0.1s, transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.sc-number.is-visible { opacity: 1; transform: scale(1); }

.sc-number-label {
    position: relative;
    z-index: 1;
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 900;
    color: var(--mo-ivory);
    margin-bottom: 40px;

    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.9s ease 0.15s, transform 0.9s ease 0.15s;
}
.sc-number-label.is-visible { opacity: 1; transform: translateY(0); }

.sc-text {
    position: relative;
    z-index: 1;
    font-size: 16.5px;
    line-height: 1.8;
    font-weight: 300;
    color: var(--mo-stone);
    margin: 0 auto 20px;
    max-width: 56ch;

    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.sc-text.is-visible { opacity: 1; transform: translateY(0); }
.sc-text strong {
    font-weight: 700;
    color: var(--mo-ivory);
}

/* la prima frase non sfuma: si scopre da sinistra a destra */
.sc-wipe-wrap {
    overflow: hidden;
}
.sc-text.sc-reveal-wipe {
    opacity: 1;
    transform: none;
    font-size: 19px;
    font-weight: 400;
    color: var(--mo-ivory);
    clip-path: inset(0 100% 0 0);
    transition: none;
}
.sc-wipe-wrap.is-visible .sc-text.sc-reveal-wipe {
    clip-path: inset(0 0% 0 0);
    transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1);
}

.sc-cta-wrap {
    --mo-cta-gap: 40px;
    position: relative;
    z-index: 1;

    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.sc-cta-wrap.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 480px) {
    .mosaiko-scarsita { padding: 72px 18px; }
}


/* -------------------------------------------------------------------------
   16. Domande frequenti
   ---------------------------------------------------------------------- */

.mosaiko-faq {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Lato', Arial, sans-serif;
    padding: 100px 24px;
}
.fq-inner {
    max-width: 820px;
    margin: 0 auto;
}
.fq-eyebrow {
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mo-shirt);
    font-weight: 700;
    margin-bottom: 18px;

    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fq-eyebrow.is-visible { opacity: 1; transform: translateY(0); }

.fq-title {
    text-align: center;
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 900;
    color: var(--mo-ivory);
    margin: 0 0 64px 0;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s ease 0.1s, transform 0.9s ease 0.1s;
}
.fq-title.is-visible { opacity: 1; transform: translateY(0); }

.fq-list {
    display: flex;
    flex-direction: column;
}
.fq-item {
    position: relative;
    max-width: 100%;
    border-bottom: 1px solid rgba(185, 105, 99, 0.18);

    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fq-item.is-visible { opacity: 1; transform: translateY(0); }
.fq-item:first-child { border-top: 1px solid rgba(185, 105, 99, 0.18); }

.fq-num {
    position: absolute;
    top: 22px;
    right: 4px;
    font-size: 44px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(185, 105, 99, 0.22);
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

/* lo sfondo del bottone del tema va neutralizzato: qui resta solo
   la striscia terracotta che appare a sinistra */
.fq-question {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 26px 60px 26px 20px;
    background: transparent !important;
    border: none;
    border-left: 3px solid transparent;
    text-align: left;
    white-space: normal !important;
    cursor: pointer;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.4s ease;
}
.fq-question:hover,
.fq-question:focus,
.fq-question:active,
.fq-question:focus-visible {
    background: transparent !important;
    outline: none;
    box-shadow: none;
}
.fq-question:hover,
.fq-item.open .fq-question {
    border-left-color: var(--mo-terracotta);
}

/* riflesso di luce che attraversa la domanda al passaggio del mouse */
.fq-question-text {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal !important;
    background-image: linear-gradient(
            100deg,
            var(--mo-ivory) 0%, var(--mo-ivory) 35%,
            #FFFFFF 50%,
            var(--mo-ivory) 65%, var(--mo-ivory) 100%
    );
    background-size: 260% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background-position 0.9s ease;
}
.fq-question:hover .fq-question-text {
    background-position: 0% 0;
}
.fq-item.open .fq-question-text {
    background-image: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: #D68A4C;
}

.fq-icon {
    position: relative;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--mo-shirt);
}
.fq-icon::before,
.fq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--mo-shirt);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.fq-icon::before {
    width: 12px;
    height: 1.5px;
    transform: translate(-50%, -50%);
}
.fq-icon::after {
    width: 1.5px;
    height: 12px;
    transform: translate(-50%, -50%);
}
.fq-item.open .fq-icon::before {
    transform: translate(-50%, -50%) rotate(180deg);
}
.fq-item.open .fq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

/* apertura fluida via grid-template-rows: nessun JS a misurare le altezze */
.fq-answer-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.fq-item.open .fq-answer-wrap {
    grid-template-rows: 1fr;
}
.fq-answer-inner {
    overflow: hidden;
}
.fq-answer {
    padding: 0 60px 28px 20px;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 300;
    color: var(--mo-stone);
    margin: 0;
}

@media (max-width: 560px) {
    .mosaiko-faq { padding: 72px 18px; }
    .fq-num { display: none; }
    .fq-question { padding: 22px 44px 22px 16px; font-size: 15.5px; }
    .fq-answer { padding: 0 44px 24px 16px; font-size: 14.5px; }
}
