@font-face {
    font-family: 'Storytime';
    src: url('fonts/Storytime.ttf');
}
@font-face {
    font-family: 'Olivetti';
    src: url('fonts/Olivetti.ttf');
}


.btn.btn-rounded.btn-gradient {
    background: linear-gradient(90deg,#3fb9eb 0%, #274a79 100%) !important;
    letter-spacing: 0;
    text-transform: uppercase;
    font-family: "Montserrat";
	font-weight: 600!important;
    font-size: 19px;
    text-align: center;
    font-weight: 300;
    margin: 0;
}

    .btn.btn-rounded.btn-gradient:hover {
        background: linear-gradient(90deg, #f4a317 0%, #d77a29 100%) !important
    }

    .btn.btn-rounded.btn-gradient.unsubscribe {
        background: linear-gradient(90deg, #f4a317 0%, #f4a317 100%) !important;
    }

        .btn.btn-rounded.btn-gradient.unsubscribe:hover {
            background: linear-gradient(90deg, #e5292b 0%, #e5292b 100%) !important;
        }

    .btn.btn-rounded.btn-gradient.soldout {
        pointer-events: none;
        background: #858585;
        background: linear-gradient(90deg, rgb(177 177 177) 0%, rgb(111 111 111) 100%) !important;
    }

.full-loader {
    background-color: #0000004a;
    z-index: 999;
}

/* Homepage */
.html-index {
}
/* Evita scroll orizzontale sulla index (margine negativo della .row hero, foto a bordo pieno...).
   Su .main che non ha altezza fissa: nessun effetto collaterale sullo scroll verticale. */
body.index .main {
    overflow-x: hidden;
}
body.index .body {
    background-color: transparent !important;
}

body.index .body {    
    height: 100vh;
    background-color: unset !important;
    background: url(../img/bg-home-2.jpg);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
}
@media screen and (max-height: 1080px) and (max-width: 991px){
	body.index .body {
		height: 100%;
	}
}
@media screen and (max-height: 768px) and (max-width: 1024px){
	body.index .body {
		height: 105vh;
	}
}
@media screen and (max-height: 667px){
	body.index .body {
		height: 100%;
	}
}W
div#pAnonymus {
    max-width: 800px;
}
.row.homeContainer {
    background-color: unset !important;
    background: url('../img/bg-interna.jpg') no-repeat;
    background-position: left bottom;
    display: flex;
    align-items: stretch;
    align-content: center;
    flex-direction: row;
    justify-content: center;
    padding: 5vh 6% 5vh 6%;
    height: 96vh;
}
@media screen and (max-height: 700px) {
    .row.homeContainer {
        height: unset;
    }
}
@media screen and (max-height: 1180px) and (max-width: 992px){
    .row.homeContainer {
        height: unset;
		padding: 80px 20px;
    }
}
/*Logo TDI */
img.logoTDI{
	width: 240px !important;
	margin: 10px 0 5px;
	text-align: center;

}
@media screen and (max-width: 991px){
	img.logoTDI{
		width: 180px !important;
	}
}


.homePayoff {
	display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

    .homePayoff h1 {
        display: inline-block;
        font-family: "Montserrat";
		font-weight: 900;
        font-size: 2.2em !important;
        line-height: 0.8em;
        letter-spacing: 0;
        color: #284a79;
        text-transform: uppercase;
        margin-bottom: 10px !important;
    }

    .homePayoff h2 {
        display: inline-block;
        font-family: "Storytime";
        font-size: 3.6em !important;
        line-height: 0.8em;
        letter-spacing: 0;
        padding-bottom: 40px;
        margin-top: 0px;
        font-weight: 500 !important;
        color: #f4a317;
        border-bottom: 4px solid #f4a317;
    }

.homeContainer img {
    width: 40%;
}


#counter {
	/*display:none;*/ /*TODO: per nascondere iscrizioni*/
    font-family: "Montserrat";
	font-weight: 600;
    font-size: 2.2em !important;
    margin: 20px 10px 5px 10px !important;
    color: #1d1d1d;
}

span#counter-days, span#count-hours, span#counter-minutes, span#counter-seconds {
    margin-bottom: 15px !important;
    line-height: 1em;
}

.availability-green {
    color: green !important;
}

.availability-orange {
    color: orange !important;
}

.availability-red {
    color: red !important;
}

.btnArea .btn.btn-rounded.btn-gradient {
    font-size: 25px;
    width: 280px;
    text-align: center;
    font-weight: 300;
    margin: 0;
}

.btnArea {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
	padding: 0 40px;
}
@media screen and (max-width: 1761px) and (min-width: 991px){
	.btnArea {
		justify-content: left;
	}
}

a:hover {
    color: #ee902f;
}

.formBlock {
    display: flex;
    align-items: center;
}

.field-error {
    color: #58151c;
    font-size: 11px;
    max-width: 100% !important;
    line-height: 11px;
    margin-top: 10px;
}

.hiddenButton {
    border: 0 !important;
    background-color: transparent;
    color: transparent;
    width: 0 !important;
    height: 0 !important;
    display: none;
}

.benvenutoBox {
    text-align: center;
}

    .benvenutoBox h2 {
        font-size: 4em !important;
        font-family: "Montserrat";
        font-weight: 400 !important;
        letter-spacing: 0;
        color: #1d1d1b;
    }

    .benvenutoBox a.btn.btn-rounded.btn-gradient {
        font-size: 18px;
        letter-spacing: 0;
        text-transform: uppercase;
		padding: 10px 30px;
    }


/* Form */
.contact-form {
    width: 520px;
    max-width: 100%; /* non superare mai il contenitore (fix overflow su mobile) */
    box-sizing: border-box;
}

    .contact-form span.form-check-input {
        border: none;
    }

    .contact-form input.btn {
        margin-bottom: 4px;
    }

input#btnLogin,
button.swal2-confirm.swal2-styled {
    background-color: #155786;
    border: none;
}

    input#btnLogin:hover,
    button.swal2-confirm.swal2-styled:hover {
        background-color: #3fb7e9;
        border: none;
    }

input.btn.btn-danger,
button.swal2-cancel.swal2-styled {
    background-color: #eb8c2f;
    border: none;
}

    input.btn.btn-danger:hover,
    button.swal2-cancel.swal2-styled:hover {
        background-color: #7e2e28;
        border: none;
    }

input.btn.btn-warning {
    background-color: #d9d9d9;
    border: none;
}

    input.btn.btn-warning:hover {
        background-color: #b7b7b7;
        border: none;
    }

@media screen and (max-width: 1600px) {
    .contact-form {
        width: 400px;
    }
}

@media screen and (max-width: 1200px) {
    .contact-form {
        width: 300px;
    }
}

@media screen and (max-width: 960px) {
    .contact-form {
        width: 600px;
    }
}

@media screen and (max-width: 480px) {
    .contact-form {
        width: 360px;
    }
}



/* Master */
body.master .main {
    background-color: unset !important;
    background: url('../img/bg-interna.jpg') no-repeat;
    background-position: left bottom;
}
div#upSubscription {
	background-color: #fff;
	padding-bottom: 40px;
}

/* Attività */
.attivitaRow.bg-color-primary, .attivitaRow.bg-primary {
    /*background: url('../img/bg-header.jpg');*/
    background-size: 100%;
    color: #1d1d1b;
	background: linear-gradient(90deg,rgba(199, 221, 235, 1) 30%, rgba(132, 194, 219, 1) 100%);
}

.attivitaRow { /*position: sticky; top: 0; z-index: 1;*/
}

    .attivitaRow h1 {
        font-family: "Montserrat";
        text-align: center;
        font-weight: 500;
        letter-spacing: 0;
        text-transform: uppercase;
        font-size: 16px;
        line-height: 20px;
        margin: 10px !important;
    }

.attivitaCarousel span.thumb-info.thumb-info-centered-info.thumb-info-no-borders {
    background: none;
    padding: 0;
}

.attivitaCarousel img.img-fluid.attivitaIcon {
    max-width: 80px;
    text-align: center;
    margin: 0 auto;
}

.attivitaBox h4.attivitaTitle {
    text-align: center;
    font-size: 0.9em;
    line-height: 1.1em;
    letter-spacing: 0;
    max-width: 170px;
    margin: 8px auto 0;
}

.attivitaCarousel a:not(.btn):hover {
    text-decoration: none;
}

/* Attività Detail */
.attivitaDetailRow {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.attivitaDetailBox {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.attivitaInfo .btn.btn-rounded.btn-gradient {
    font-family: Montserrat !important;
    letter-spacing: unset !important;
    font-size: 15px;
    text-align: center;
    font-weight: 600;
    width: 130px;
    margin: 0 5px;
}

.activity-buttons {
    display: flex;
	/*display:none;*/ /*TODO: per nascondere iscrizioni*/
    justify-content: center;
    align-items: center;
}

.btn-wishlist {
    width: 40px !important;
    height: 40px;
    display: flex;
    padding: 0;
    justify-content: center;
    align-items: center;
}

    .btn-wishlist i {
        font-size: 19px;
        pointer-events:none;
        line-height:40px;
    }


.attivitaInfo .btn.btn-rounded.btn-gradient.btn-wishlist.add-wishlist {
    color: #e5292b !important;
    background: unset !important;
    background-color: #fff !important;
    border: 1px solid #e5292b;
}

    .attivitaInfo .btn.btn-rounded.btn-gradient.btn-wishlist.add-wishlist:hover {
        color: #fff !important;
        background: unset !important;
        background-color: #e5292b !important;
    }


.attivitaInfo .btn.btn-rounded.btn-gradient.btn-wishlist.remove-wishlist {
    color: #fff !important;
    background: unset !important;
    background-color: #e5292b !important;
}
    .attivitaInfo .btn.btn-rounded.btn-gradient.btn-wishlist.remove-wishlist:hover {
        color: #e5292b !important;
        background: unset !important;
        background-color: #fff !important;
        border: 1px solid #e5292b;
    }

@media screen and (min-width: 576px) and (max-width: 991px) {
  .activity-buttons {
    display: flex;     
    flex-direction: column;
  }

  .attivitaInfo .btn.btn-rounded.btn-gradient.btn-wishlist {
    margin-top: 10px;
  }
}

.attivitaInfo h6 {
    font-size: 18px;
}

.attivitaInfo {
    text-align: center;
}

.attivitaInfo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.attivitaDetails {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.attivitaDetailHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .attivitaDetailHeader .tipoAttivitaDetail {
        display: flex;
        align-items: center;
    }

    .attivitaDetailHeader .iconMarker {
        margin-right: 10px;
    }

    .attivitaDetailHeader p {
        font-weight: 600;
        font-size: 16px !important;
        margin-bottom: 0 !important;
    }

.tipoAttivitaDetail p {
    margin-bottom: 5px;
}

.testoAttivitaDetail p {
    line-height: 1.55em;
}

.nessunaAttivita {
    text-align: center;
    padding-top: 50px;
}

    .nessunaAttivita h2 {
        font-size: 3em !important;
    }

    .nessunaAttivita .btn.btn-rounded.btn-gradient {
        font-family: Montserrat !important;
        letter-spacing: unset !important;
        font-size: 15px;
        text-align: center;
        font-weight: 600;
        margin: 0 5px;
    }

    .row.soldout {
        opacity: 0.5;
    }

.titoloAttivitaDetail h4 {
    color: #1d1d1b;
    font-size:22px !important;
}

.relator {
    display:block;
    padding-bottom:10px;
    margin-bottom:10px;
    border-bottom: 1px solid #d9d9d9;
}

.separatore-attivita {
    background-color: #b7b7b7 !important;
}

/* Frase chiusura */
.payoff {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

    .payoff h2 {
        display: inline-block;
		font-family: "Storytime";
		font-size: 60px !important;
		letter-spacing: 0;
		padding-bottom: 0px;
		font-weight: 500 !important;
		color: #f4a318;
		padding-top: 20px;
    }

.partners h3 {
    color: #ee902f;
}

.partners img {
    max-width: 200px !important;
    height: 75px;
    object-fit: contain;
    margin: 0 auto;
}

@media screen and (max-width: 1200px) {
    .partners img {
        max-width: 180px !important;
        height: 45px;
    }
}

h2.callToAction.mb-4 {
    font-family: "Montserrat";
    font-size: 3.5em !important;
    line-height: 1em;
    letter-spacing: 0;
    font-weight: 600 !important;
    color: #1d1d1b;
}

@media screen and (max-width: 991px) {
    h2.callToAction.mb-4 {
        text-align: center;
        font-size: 4em !important;
    }
}
/* Insight Partners */
.insight-partners .main .container .row > div {
    border: 1px solid #e7e7e7;
    padding: 40px !important;
    margin: 4px;
	background-color: #fff;
}

    .insight-partners .main .container .row > div:hover {
        opacity: 0.5;
    }

    .insight-partners .main .container .row > div img.attivitaIcon {
        max-height: 90px !important;
    }

.insight-partners .main .container .row > div {
    width: 32%;
}

@media screen and (max-width: 992px) {
    .insight-partners .main .container .row > div {
        width: 32%;
    }
}

@media screen and (max-width: 767px) {
    .insight-partners .main .container .row > div {
        width: 48%;
    }
}

@media screen and (max-width: 400px) {
    .insight-partners .main .container .row > div {
        width: 100%;
        margin: 0px;
    }
}

@media screen and (max-width: 991px) {
    .insight-partners .main .container .row > div img.attivitaIcon {
        max-height: 50px !important;
    }
}
/* Legenda */
.legend-categories {
    margin-bottom: 60px;
}

.legend-category {
    margin-right: 10px;
    margin-left: 10px;
    text-align: center;
}

    .legend-category a {
        text-align: center;
        opacity: 0.55;
    }

        .legend-category a p {
            font-size: 12px;
            line-height: 14px !important;
            margin-bottom: 0;
            margin-top: 5px;
            font-weight: 600;
        }

        .legend-category a.active {
            opacity: 1;
        }

        .legend-category a:hover {
            text-decoration: none;
        }
/**/
/* Footer */
#footer .footer-copyright p {
    color: #838383;
    line-height: 12px;
    font-size: 0.8em;
}

footer#footer {
    width: 100%;
    bottom: 0;
}

@media screen and (min-width: 992px) and (min-height: 780px) {
    .index footer#footer {
        position: fixed;
    }
}

footer#footer .footer-copyright {
    padding: 4px 8px 9px !important;
}

.btn.loading {
    position: relative; /* per posizionare correttamente lo pseudo-elemento */
    color: transparent !important;
    pointer-events: none; /* disabilita ulteriori click */
}

    .btn.loading::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 1rem; /* dimensione del cerchietto */
        height: 1rem;
        margin-top: -0.5rem; /* - metà dell’altezza per centrare verticalmente */
        margin-left: -0.5rem; /* - metà della larghezza per centrare orizzontalmente */
        border: 2px solid #fff; /* bordo visibile (puoi cambiare colore se vuoi) */
        border-top-color: transparent;
        border-radius: 50%;
        animation: spin 0.6s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* Responsive */

@media (max-width: 991px) {
    .formBlock {
        justify-content: center;
    }

    .countdown {
        flex-wrap: unset;
    }

    .btnArea .btn.btn-rounded.btn-gradient {
        font-size: 38px;
        width: 280px;
    }

    .btnArea .btn.btn-rounded.btn-gradient {
        font-size: 38px;
        width: 280px;
    }

    .btnArea {
        align-items: center;
    }

    .attivitaDetailHeader {
        flex-direction: column;
        align-items: flex-start;
    }

    .btnArea .btn.btn-rounded.btn-gradient {
        font-size: 22px;
        width: 280px;
        margin-right: 0 !important;
    }
    .index footer#footer {
        position: static;
    }
    body.index .body {
		background-position: left;
	    background-repeat: no-repeat;
	}
	.legend-categories {
	    flex-direction: column;
	    padding-left: 30px;
	    align-items: center;
	}
	div#upSubscription {
    	padding: 0 20px;
	}
	div#upSubscription .btn.btn-rounded.btn-gradient {
	    line-height: 21px;
	    padding: 16px;
	}
}

@media (max-width: 767px) {
    .countdown {
        flex-wrap: unset;
    }
}
@media screen and (max-width: 600px){
	h2.callToAction.mb-4 {
        text-align: center;
        font-size: 3.4em !important;
    }
}
@media screen and (max-width: 575px) {
    .attivitaDetailBox {
        max-width: 60%;
        margin: -30px auto 0px auto;
        order: 0;
    }

        .attivitaDetailBox .attivitaIcon {
            width: 180px;
            margin: 20px auto;
        }

    .attivitaDetailHeader .titoloAttivitaDetail h4 {
        text-align: center !important;
        margin: 20px auto 0;
    }

    .attivitaInfo {
        margin-bottom: 20px;
        order: 2;
    }

    .attivitaDetails {
        order: 1;
        margin-bottom: 20px;
    }

    .attivitaDetailBox .attivitaIcon {
        width: 180px;
        margin: 20px auto;
    }

    .attivitaDetailHeader {
        flex-direction: column;
    }

    input.form-control {
        max-width: 80%;
    }

    .attivitaDetailHeader {
        align-items: center;
        padding: 0 15px;
    }

    .testoAttivitaDetail p {
        padding: 15px;
    }

    .legend-categories {
        margin-bottom: 30px;
    }
}

@media (min-width: 560px) and (max-width: 767px) {
    .container.mainLogo img {
        max-width: 150px;
    }
}

@media screen and (max-width: 480px) {
    .legend-categories {
        display: flex;
        flex-direction: column;
    }

    .legend-category {
        margin-bottom: 15px;
    }
}

/* ============================================================
   LANDING HOMEPAGE (pannello anonimo / "login")
   Sezioni statiche cablate secondo la bozza PDF.
   Tutto è scoped sotto .landingSections per non toccare le altre pagine.
   ============================================================ */
.landingSections {
    background: #fff;
    overflow-x: hidden; /* contiene margini negativi delle .row e KPI molto grandi: niente scroll orizzontale */
}

.landingSections .landing-section {
    padding: 34px 0;
}

/* Full width (no boxed): wrapper dedicato che occupa tutta la larghezza,
   senza padding laterale così le immagini arrivano a bordo pieno.
   Non usa .container di Bootstrap così nessuna regola/max-width del tema può "boxarlo". */
.landingSections .landing-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Colonne di testo/statistiche: margine interno per non incollare il testo ai bordi
   (le immagini invece restano a bordo pieno) */
.landingSections .landing-text {
    padding: 0 4%;
}

/* Foto delle sezioni (cornice e taglio diagonale sono già incorporati nell'immagine) */
.landingSections .landing-photo {
    display: block;
    width: 100%;
    height: auto;
}

/* Immagine unica per il mobile: nascosta su desktop, mostrata solo sotto i 992px */
.landingSections .landing-mobile-photo {
    display: none;
    width: 100%;
    height: auto;
}

/* Logo evento sopra "Crea il futuro del lavoro", nella colonna del testo (allineato a sinistra) */
.landingSections .intro-logo {
    width: 170px;
    height: auto;
    margin-bottom: 18px;
}

/* Titolo script (font Storytime) - arancio */
.landingSections .script-heading {
    font-family: "Storytime";
    color: #f4a318;
    font-weight: 500;
    font-size: 3.64rem;
    line-height: 1;
    margin: 0 0 25px;
}

/* Titoli sezione (Montserrat maiuscolo) */
.landingSections .section-title {
    font-family: "Montserrat";
    font-weight: 700;
    text-transform: uppercase;
    color: #284a79;
    font-size: 2.17rem;
    line-height: 1.15;
    letter-spacing: 0;
}

    .landingSections .section-title .o {
        color: #f4a317;
    }

/* Testo introduttivo */
.landingSections .landing-intro p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.1rem;
    color: #284a79;
}

    .landingSections .landing-intro p strong {
        color: #284a79;
    }

/* Numeri grandi (font Storytime) */
.landingSections .big-num {
    font-family: "Storytime";
    font-weight: 500;
    line-height: 0.9;
}

    .landingSections .big-num.cyan {
        color: #3fb9eb;
        font-size: 12.32rem;
    }

    .landingSections .big-num.orange {
        color: #f4a318;
        font-size: 14.28rem;
    }

.landingSections .stat-block {
    text-align: center;
}

.landingSections .stat-label {
    font-weight: 700;
    font-size: 1.12rem;
    line-height: 1.2;
    color: #284a79;
    margin-top: 8px;
}

.landingSections .landing-numeri .stat-label {
    font-size: 1.26rem;
}

/* Elenco aree tematiche */
.landingSections .aree-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    text-align: center;
}

    .landingSections .aree-list li {
        font-size: 1.05rem;
        line-height: 1.6;
        color: #284a79;
    }

        .landingSections .aree-list li::before {
            content: "\2022  ";
            color: #284a79;
        }

/* Video YouTube responsive 16:9 */
.landingSections .landing-video {
    padding: 0;
}

.landingSections .video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

    .landingSections .video-embed iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* Facciata video (poster + tasto play, iframe caricato al click) */
.landingSections .video-facade {
    cursor: pointer;
}

    .landingSections .video-facade .video-poster {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .landingSections .video-facade .video-play {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 88px;
        height: 88px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.55);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 30px;
        padding-left: 6px;
        z-index: 2;
        transition: background 0.25s ease, transform 0.25s ease;
    }

    .landingSections .video-facade:hover .video-play,
    .landingSections .video-facade:focus .video-play {
        background: #e5292b;
        transform: translate(-50%, -50%) scale(1.08);
    }

/* Call to action finale: sfondo dedicato.
   Mantengo la spaziatura superiore ampia (richiesta), riduco quella inferiore
   per eliminare il "bianco" prima del footer (immagine di sfondo quasi bianca). */
.landingSections .landing-cta {
    background: url('../img/HeyChar-Bg-bottom.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 70px;
    padding-bottom: 24px;
}

.landingSections .cta-text {
    font-size: 1.19rem;
    line-height: 1.5;
    max-width: 980px;
    margin: 0 auto 30px;
    color: #284a79;
}

.landingSections .cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

    .landingSections .cta-buttons .btn.btn-rounded.btn-gradient {
        width: 280px;
        margin: 0;
    }

/* Indicatore animato "scorri la pagina" */
.landingSections .scroll-indicator {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #284a79;
    text-decoration: none;
    z-index: 900;
    opacity: 1;
    visibility: visible;
    transition: opacity .4s ease, visibility .4s ease;
    animation: scrollHint 1.8s ease-in-out infinite;
}

    .landingSections .scroll-indicator.is-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .landingSections .scroll-indicator:hover {
        color: #ee902f;
    }

.landingSections .scroll-indicator-text {
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.landingSections .scroll-indicator-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #3fb9eb 0%, #274a79 100%);
    color: #fff;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

@keyframes scrollHint {
    0%, 100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 9px);
    }
}

/* Quando la landing è presente sblocca l'altezza fissa del body e il footer fixed */
body.index:has(.landingSections) .body {
    height: auto;
}

body.index:has(.landingSections) footer#footer {
    position: static;
}

@media screen and (max-width: 991px) {
    /* Testi ridotti del 30% su mobile */
    .landingSections .script-heading {
        font-size: 2.7rem;
        text-align: center;
    }

    .landingSections .section-title {
        font-size: 1.75rem;
    }

    .landingSections .landing-intro {
        text-align: center;
    }

        .landingSections .landing-intro p {
            text-align: left;
            font-size: 1.05rem;
        }

    .landingSections .aree-list li {
        font-size: 1.05rem;
    }

    .landingSections .stat-label {
        font-size: 1.12rem;
    }

    .landingSections .landing-numeri .stat-label {
        font-size: 1.26rem;
    }

    .landingSections .cta-text {
        font-size: 1.19rem;
    }

    /* Su mobile: margine laterale ai contenuti testuali (le foto restano a bordo pieno) */
    .landingSections .landing-wrap {
        padding-left: 20px;
        padding-right: 20px;
    }

    .landingSections .landing-text {
        padding: 0;
    }

    /* Su mobile: nascondo le 2 foto dei paragrafi e mostro l'unica foto mobile tra le sezioni */
    .landingSections .landing-photo {
        display: none;
    }

    .landingSections .landing-mobile-photo {
        display: block;
    }

    /* L'indicatore "Scopri di più" su mobile si sovrappone ai contenuti: lo nascondo */
    .landingSections .scroll-indicator {
        display: none;
    }

    /* KPI: su mobile riduco per evitare overflow, restando comunque grandi */
    .landingSections .big-num.cyan {
        font-size: 9rem;
    }

    .landingSections .big-num.orange {
        font-size: 10rem;
    }

    /* Su mobile le statistiche "Cosa troverai" vanno impilate a tutta larghezza */
    .landingSections .landing-cosa .stat-block {
        margin-bottom: 1.5rem;
    }
}
