/*
Theme Name: Tema Vuoto
Author: Nicola Zonta
Version: 1.0
*/

@font-face {
    font-family: 'Quicksand';
    src: url('https://conflictcomposition.academy/wp-content/themes/tema-vuoto/fonts/Quicksand-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    /* Variable font weight range */
    font-style: normal;
    font-display: swap;
}

/* Palette colori principali */
:root {
    /* white */
    --color-text-primary: #4B2E0B;
    /* Dark brown text */
    --color-text-secondary: #000000;
    /* Medium brown secondary text */
    --color-accent: #000000;
    /* Black */
    --color-accent-hover: #A67843;
    /* Medium warm brown (hover) */
    --color-border: #C9B391;
    /* Light tan border */


    --color-safety: #F4C97B;
    /* Muted Gold */
    --color-authenticity: #F28C82;
    /* Warm Coral */
    --color-connection: #6BC2B4;
    /* Soft Teal */
    --color-cream: #FAF9F6;
    /* Creamy White */
    --color-text: #4A4A4A;
    /* Text Gray */
    --color-beige: #E9E3D5;
    /* Line/Accent Beige */

}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
a,
span,
div,
table,
button,
input,
select,
textarea {
    font-family: "Quicksand", sans-serif;
}

body {
    font-size: 112.5%;
    line-height: 1.6;
    background: linear-gradient(120deg, var(--color-background1), var(--color-background2));
    margin: 0;
}
}



#overlay-title,
#overlay-subtitle,
.splash-text {

    font-size: 2rem;
    font-weight: 400;
}

#overlay-title {
    font-size: 3rem;
    margin: 0 0 0.5rem 0;
    transition: color 1s ease;
}

#overlay-subtitle {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    transition: color 1s ease;
}

.splash-text {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 10px;
}

.rounded-img {
    border-radius: 50%;
    width: 200px;
    height: auto;
}

.splash-item {
    text-align: center;
    flex: 0 0 calc(50% - 20px);
    opacity: 0;
    transform: translateY(20px);
    box-sizing: border-box;
}

.splash-item img.rounded-img {
    border-radius: 50%;
    max-width: 150px;
    height: auto;
}

#splash-grid {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 1000px;
    color: transparent;
}

#image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 1s ease, background-color 2s ease;
}

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
}

#splash-video-container {
    max-width: 600px;
    width: 90vw;
}

#splash-video {
    width: 100%;
    height: auto;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    #splash-video {
        max-width: 90vw;
    }

    .splash-item img.rounded-img {
        max-width: 120px;
    }

    #overlay-title {
        font-size: 20px;
    }

    #overlay-subtitle {
        font-size: 14px;
    }
}

/* Splash animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrapper {
    flex: 1 0 auto;
    max-width: 1200px;
    width: 80%;
    margin: 0 auto;
    box-sizing: border-box;
}

.site-footer {
    flex-shrink: 0;
    padding: 2rem 3rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 1.5rem;
    justify-content: space-between;
    align-items: center;
}


/* Titoli */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Quicksand", sans-serif;
    color: var(--color-accent);
    font-weight: 600;
    line-height: 1.3;
}

/* Link */
a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}



/* Privacy link */
.footer-privacy .privacy-link {
    color: var(--color-text-primary, #333);
    text-decoration: none;
}

.footer-privacy .privacy-link:hover {
    text-decoration: underline;
}

/* Social follow section */
.footer-follow {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-weight: 600;
}

.social-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
}

.social-menu-list li a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.social-menu-list li a:hover {
    color: var(--color-accent-hover, #A67843);
    text-decoration: underline;
}

/* Icone FontAwesome (se usate) */
.social-menu-list li a i {
    margin-right: 0.3rem;
    color: var(--color-accent, #000);
}



/* pagine dei corsi */
.corso-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Scroll bar personalizzata */
.scroll-bar {
    max-height: 100px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.scroll-bar::-webkit-scrollbar {
    width: 10px;
}

.scroll-bar::-webkit-scrollbar-track {
    background: #eaeaea;
}

.scroll-bar::-webkit-scrollbar-thumb {
    background: grey;
    border-radius: 15px;
}

.scroll-bar::-webkit-scrollbar-thumb:hover {
    background: black;
}

/* Firefox scrollbar */
.scroll-bar {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}


.edizione-select-box {
    margin: 2rem auto;
    text-align: center;
    font-size: 1.5rem;
    /* testi più grandi */
    font-weight: 500;
}

.edizione-select-box select {
    width: 100%;
    max-width: 400px;
    padding: 20px 18px;
    font-size: 1.25rem;
    border: 2px solid #ccc;
    border-radius: 20px;
    /* bordi rotondi */
    background-color: #fff;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.edizione-select-box select:focus {
    border-color: #0073aa;
    outline: none;
}

.edizione-select-box p {
    margin: 0;
    padding: 20px 0;
    /* stessa altezza della select */
    font-size: 1.25rem;
}






.cca-course-filter {
    margin: 30px auto 20px auto;
    text-align: center;
    font-family: var(--wp--preset--font-family--base, system-ui);
    justify-content: center;
    /* centra orizzontalmente */
    margin: 2rem 0;
}


.course-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.course-card {
    user-select: none;
    -webkit-user-select: none;
    display: block;
    color: var(--wp--preset--color--foreground, #1e1e1e);
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 200px;
    width: 350px;
    overflow: hidden;
    background-color: var(--wp--preset--color--base, #fff);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.course-icon-bg {
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.course-icon-bg svg {
    filter: drop-shadow(0 0 4px rgb(0, 0, 0, 0.3));
}

.course-card:hover .course-icon-bg {
    opacity: 0.3;
}


/* Colori pastello con gradiente */
.tipo_corso-consulenze {
    background: linear-gradient(135deg, var(--color-consulenze1), var(--color-consulenze2));
}

.tipo_corso-workshop {
    background: linear-gradient(135deg, var(--color-workshop1), var(--color-workshop2));
}

.tipo_corso-percorsi {
    background: linear-gradient(135deg, var(--color-percorsi1), var(--color-percorsi2));
}

.tipo_corso-consulenze:hover {
    background: linear-gradient(135deg, var(--color-consulenze3), var(--color-consulenze4));
}

.tipo_corso-workshop:hover {
    background: linear-gradient(135deg, var(--color-workshop3), var(--color-workshop4));
}

.tipo_corso-percorsi:hover {
    background: linear-gradient(135deg, var(--color-percorsi3), var(--color-percorsi4));
}

.tipo_corso-conferenze {
    background: linear-gradient(135deg, var(--color-conferenze1), var(--color-conferenze2));
}

.tipo_corso-conferenze:hover {
    background: linear-gradient(135deg, var(--color-conferenze3), var(--color-conferenze4));
}





.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.course-card-inner {
    padding: 5px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--wp--preset--font-family--base, inherit);
    color: inherit;
}

.course-title-container {
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 1em 0.25em;
    box-sizing: border-box;
}

.course-title {
    margin: 0;
    padding: 0;
    line-height: 1.1;
    text-align: center;
}

.course-title .line {
    display: block;
    margin: 0;
    padding: 0;
}

.course-title .highlight-dynamic {
    display: block;
    font-weight: bold;
    line-height: 1.1;
    text-align: center;
    padding: 0.2em 0.5em;
}

.content-body {
    padding: 0.1rem;
    border-radius: 0 0 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    height: 100px;
    position: relative;
    overflow: hidden;
}

.content-inner {
    transform-origin: top center;
    transition: none;
}

#cca-course-filter {
    display: flex;
    justify-content: center;
    /* centra orizzontalmente */
    margin: 2rem 0;
}



ul.edizioni-list {
    font-size: 1rem;
    /* or use 14px, 16px, etc. */
    line-height: 1.4;
    text-align: center;
    margin: 0;
    padding: 0;
}

ul.edizioni-list li {
    list-style: none;
    border-radius: 8px;
    margin-bottom: 0.5em;
}

ul.edizioni-list li:last-child {
    padding-bottom: 0;
}

/* Card title: max 2 lines with ellipsis */
.course-card h3 {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 0.5em;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.highlight {
    font-weight: bold;
    font-size: 1.6em;
}

h3 span {
    display: block;
}

/* Scrollable excerpt on hover */
.course-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    max-height: 6.3em;
    overflow: hidden;
    font-family: inherit;
    color: inherit;
    position: relative;
}

/* Animate scrolling on hover */
.course-card:hover p {
    animation: scroll-text 8s linear forwards;
}

/* Scroll animation */
@keyframes scroll-text {
    0% {
        max-height: 6.3em;
    }

    100% {
        max-height: 200px;
    }
}

.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 16px;
}

@media (max-width: 480px) {
    .course-card-inner {
        padding: 16px;
    }



    .edizioni-corso-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .edizioni-corso-buttons button {
        width: 100%;
        min-width: auto;
    }
}

/* Container delle edizioni: flex con gap */
.edizioni-corso-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Stile bottoni edizioni come card */
.edizioni-corso-buttons button {
    background: var(--wp--preset--color--base, #fff);
    border: 1.5px solid var(--wp--preset--color--border, #d0d7de);
    border-radius: 16px;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--wp--preset--color--foreground, #1e1e1e);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
    min-width: 180px;
    text-align: center;
    user-select: none;
}

/* Hover e focus */
.edizioni-corso-buttons button:hover,
.edizioni-corso-buttons button:focus {
    background: var(--wp--preset--color--primary, #0969da);
    color: #fff;
    box-shadow: 0 8px 20px rgba(9, 105, 218, 0.4);
    transform: translateY(-3px);
    outline: none;
}

/* Tooltipster personalizzato */
.tooltipster-sidetip.tooltipster-shadow.tooltipster-shadow-customized .tooltipster-box {
    border-radius: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    background-color: #fdf6e3;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
}


.corso-tabs {
    margin-bottom: 1rem;
    border-bottom: 2px solid #ddd;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.corso-tabs .tablink {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.corso-tabs .tablink.active {
    border-bottom-color: #0073aa;
    color: #0073aa;
}

.tabcontent {
    padding-top: 1rem;
}

#btn-preview-certificato {
    border: 1px solid black;
    background: none;
    cursor: pointer;
    width: 150px;
    height: 106px;
    padding: 0;
    position: relative;
    /* contenitore per absolute */
    overflow: hidden;
    display: inline-block;
}

.thumb-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 1000px;
    height: 708px;
    transform-origin: top left;
    transform: scale(0.15);
    pointer-events: none;
}

/* Overlay popup */
#certificato-overlay {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}

/* Popup centrale con certificato */
#certificato-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: top left;
    transform: translate(-50%, -50%) scale(1);
    width: 1000px;
    height: 708px;
    overflow: hidden;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Chiudi */
#certificato-overlay .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}


#cf-contact-form a {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    /* leggera ombreggiatura */
    color: inherit;
    /* mantiene il colore del testo normale */
    cursor: pointer;
}

#cf-contact-form a:hover {
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
    /* ombra più evidente al passaggio */
}

.immagini_aree {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;

    /* Shadow for depth */
    box-shadow:
        inset 0 2px 5px rgba(255, 255, 255, 0.6),
        /* inner light bevel */
        inset 0 -2px 5px rgba(0, 0, 0, 0.2),
        /* inner shadow for bevel */
        0 4px 10px rgba(0, 0, 0, 0.3);
    /* outer drop shadow */

    /* Glow effect (initially subtle) */
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
}

.immagini_aree:hover {
    cursor: pointer;

    /* Enhance glow and shadow on hover */
    box-shadow:
        inset 0 2px 5px rgba(255, 255, 255, 0.7),
        inset 0 -2px 5px rgba(0, 0, 0, 0.25),
        0 6px 12px rgba(0, 0, 0, 0.4);

    filter: drop-shadow(0 0 8px rgba(0, 153, 255, 0.7));
    /* blue-ish glow */
    transform: translateY(-2px) scale(1.03);
    /* subtle lift */
}




.aree_table {
    width: 80%;
    border-collapse: collapse;
    text-align: center;
}

.aree_table td {
    vertical-align: middle;
    padding: 15px;
}

.aree_table h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}




.circle-wrapper {
    position: relative;
    width: 100%;
    width: 600px;
    margin: 10px auto;
    /* spacing above/below */
    aspect-ratio: 1 / 0.8;
    /* keep it square */
}

.center-image {
    width: 30%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.satellite {
    position: absolute;
    width: 320px;
    /* or whatever fits your content */
    padding: 10px;
    text-align: center;
    line-height: 1.4;
}

.satellite p {
    border-color: #c6b9b9;
    border-radius: 50px;
    border-width: 3px;
    border-style: solid;
}

.satellite2 {
    top: 50%;
    left: 50%;
    transform: rotate(150deg) translate(250px) rotate(-150deg) translate(-50%, -50%);
    ;
}

.satellite1 {
    top: 50%;
    left: 50%;
    transform: rotate(-90deg) translate(180px) rotate(90deg) translate(-50%, -50%);
    ;
}

.satellite3 {
    top: 50%;
    left: 50%;
    transform: rotate(30deg) translate(250px) rotate(-30deg) translate(-50%, -50%);
    ;
}



.interaction-button {
    position: fixed;
    top: 25%;
    right: 3rem;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    background: var(--color-primary2);
    border-radius: 50%;
    border: none;
    font-size: 60px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    transition: background 0.3s;
}

.interaction-button:hover {
    background: var(--color-primary);
}



.icona-consulenze svg {
    color: var(--color-consulenze4);
}

.icona-workshop svg {
    color: var(--color-workshop4);
}

.icona-percorsi svg {
    color: var(--color-percorsi4);
}

.icona-conferenze svg {
    color: var(--color-conferenze4);
}





.barra-icone .item.active {
    box-shadow: 0 0 0 4px var(--color-primary);
}

.barra-icone {
    display: flex;
    gap: clamp(1rem, 4vw, 4rem);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: clamp(1rem, 6vw, 6rem);
    position: relative;
}


.barra-icone svg {
    height: clamp(1rem, 6vw, 6rem);
    margin-bottom: 0.5rem;
    display: inline-block;
    vertical-align: middle;
    fill: none;
    stroke: currentColor;
    padding: 0.5rem;

}


.barra-icone .item {
    border-radius: 2vh;
    box-shadow: 0 0 0 4px transparent;
    position: relative;
    text-align: center;
    cursor: pointer;
    font-size: clamp(0.6rem, 1.6vw, 3rem);

    transform-origin: center center;
    /* ✅ assicura che la scala parta dal centro */

    width: clamp(2rem, 10vw, 10rem);
    padding: 0.5rem;
    transition: color 0.3s, font-weight 0.3s, transform 0.3s, box-shadow 0.4s ease;
}




.barra-icone .item:hover {
    color: var(--color-primary);
    font-weight: bold;
    transform: scale(1.05);

}

.barra-icone .item:hover svg {
    color: var(--color-primary);
}


.site-info {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, var(--color-menubg1), var(--color-menubg2));
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.header-labels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.site-info.active {
    transform: translateY(0);
}

.site-info .barra-icone {
    margin: 0 auto;
}

.site-info .barra-icone svg {
    height: 20%;
}



.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}


.hero-fullscreen {
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, var(--color-hero1, #e3f2fd), var(--color-hero2, #bbdefb));
    overflow: hidden;
    position: relative;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);

    flex-direction: column;
    justify-content: space-between;
    /* spinge .hero-inner in alto e il bottone in basso */
    min-height: 100vh;
    padding-bottom: 2rem;
    /* spazio per il bottone */
}

.hero-main {
    position: relative;
    width: 100%;
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-inner {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}





.hero-text {
    flex: 1 1 300px;
    min-width: 280px;
    padding: 2rem;
}

.hero-text h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.hero-text h3 {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    margin-bottom: 1.5rem;
}


.hero-image {
    flex: 1 1 300px;
    min-width: 280px;
    text-align: center;
    padding: 2rem;
    width: clamp(10rem, 60vw, 40rem);
}

.hero-image img {
    max-height: calc(60vh - 4rem);
    /* altezza massima viewport meno padding (es 2rem sopra e sotto) */
    max-width: 100%;
    /* non superare la larghezza del contenitore */
    width: auto;
    /* lascia che si ridimensioni proporzionalmente */
    height: auto;
    object-fit: contain;
    /* evita ritagli */
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    display: block;
}




.site-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    /* ← impedisce di andare a capo */
    gap: clamp(1rem, 3vw, 4rem);
    margin-top: 4rem;
}

.site-title-logo {
    flex-shrink: 0;
    width: clamp(3rem, 6vw, 6rem);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-title-logo svg {
    width: 100%;
    height: auto;
    display: block;
    fill: currentColor;
    color: var(--color-primary, #333);
}

.site-title-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* centra verticalmente rispetto al logo */
}

.site-title-text h4 {

    margin-block-start: 0.5rem;
    /* oppure 0 se vuoi più compatto */
    margin-block-end: 0;
    line-height: 1.3;
}

.site-title-svg {
    width: clamp(200px, 60vw, 600px);
    height: auto;
    fill: currentColor;
    color: var(--color-primary, #333);
    stroke: currentColor;
}

.site-title-svg svg {
    width: 100%;
    height: auto;
    display: block;
    fill: black;
}





.scroll-down-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
    z-index: 10;
    align-self: center;
    /* centro orizzontale */

}

.scroll-down-button svg {
    stroke: #333;
    transition: stroke 0.3s ease, transform 0.3s ease;
    width: 100px;
    height: 100px;
}

.scroll-down-button:hover svg {
    stroke: var(--color-primary);
    transform: translateY(4px);
}








.benefici-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 colonne uguali */
    gap: 1.5rem;
    /* spazio tra le card */
    max-width: 1200px;
    /* larghezza massima contenitore */
    margin: 0 auto;
    /* centra la griglia */
}

.benefici-grid .icona {
    color: var(--color-primary2);
    width: clamp(2rem, 6vw, 4rem);
    height: clamp(2rem, 4vw, 3rem);
}

.benefici-grid .icona svg {
    stroke: currentColor;
}

.beneficio-card {
    /* sfondo chiaro */
    border-radius: 16px;

    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;

    aspect-ratio: 1 / 1;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.beneficio-card .icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.beneficio-card h3 {
    margin: 0.25rem 0;
    font-size: 1.25rem;
}

.beneficio-card p {
    margin: 0;
    font-size: 1rem;
    color: #555;
}

.buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.button {
    background: linear-gradient(to bottom, var(--color-primary2), var(--color-primary3));
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
}

.button:hover {
    transform: scale(1.03);
}





.sapevi-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    margin: 3rem 0;
    text-align: center;
}

.sapevi-carousel-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #444;
    font-weight: 600;
}

.sapevi-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 50%;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding: 2rem;
}

.sapevi-grid::-webkit-scrollbar {
    display: none;
}

.fact-box {
    flex: 0 0 auto;
    scroll-snap-align: center;
    border-radius: 1rem;
    border: 2px solid var(--color-primary2);
    padding: 2rem;
    min-width: 250px;
    max-width: 300px;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0.6;
    transform: scale(0.95);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.fact-box.active {
    opacity: 1;
    transform: scale(1.05);
}

/* Fine del CSS */