/* ==================================================
   BRANDING
   ================================================== */

:root {

    /* Colori principali */

    --blu: #0057B8;
    --blu-scuro: #003B7A;

    --giallo: #FFD400;
    --giallo-scuro: #E6BE00;

    --bianco: #FFFFFF;
    --nero: #000000;

    --grigio-chiaro: #F5F5F5;
    --grigio-bordo: #D9D9D9;


    /* Font */

    --font-principale:
        Arial,
        Helvetica,
        sans-serif;

    --font-titoli:
        Georgia,
        "Times New Roman",
        serif;


    /* Ombra */

    --ombra:
        0 4px 15px rgba(0, 0, 0, 0.10);

}


/* ==================================================
   RESET
   ================================================== */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;
    padding: 0;

    overflow-x: hidden;

    font-family: var(--font-principale);

    color: var(--nero);

    background-color: var(--bianco);

    line-height: 1.6;

}


/* ==================================================
   NAV
   ================================================== */

.nav {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 90px;

    z-index: 1000;

    background-color: transparent;

}


.nav nav {

    position: relative;

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

}


.nav img {

    width: 140px;

    height: auto;

    display: block;

}


/* ==================================================
   SELETTORE LINGUA
   ================================================== */

.selettore-lingua {

    position: absolute;

    top: 50%;
    right: 35px;

    transform: translateY(-50%);

    color: var(--bianco);

}


.selettore-lingua summary {

    list-style: none;

    cursor: pointer;

    padding: 8px 12px;

    color: var(--bianco);

    font-size: 14px;

    font-weight: bold;

    transition: 0.3s ease;

}


.selettore-lingua summary:hover {

    color: var(--giallo);

}


.selettore-lingua summary::after {

    content: "▼";

    margin-left: 6px;

    font-size: 9px;

}


.selettore-lingua summary::-webkit-details-marker {

    display: none;

}


/* Menu lingue */

.lingue {

    position: absolute;

    top: 100%;
    right: 0;

    min-width: 150px;

    margin-top: 10px;

    padding: 8px 0;

    background-color: var(--bianco);

    border: 1px solid var(--grigio-bordo);

    box-shadow: var(--ombra);

}


.lingue a {

    display: block;

    padding: 10px 18px;

    color: var(--nero);

    text-decoration: none;

    font-size: 14px;

}


.lingue a:hover {

    background-color: var(--giallo);

    color: var(--nero);

}


/* ==================================================
   HERO
   ================================================== */

.hero {

    position: relative;

    width: 100%;
    height: 75vh;

    overflow: hidden;

    background-color: var(--nero);

}


.hero video {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

}


/* Immagine mobile */

.hero-mobile {

    display: none;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

}


/* Pulsante audio */

.hero button {

    position: absolute;

    right: 30px;
    bottom: 30px;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 2px solid var(--bianco);

    border-radius: 50%;

    background-color: rgba(0, 0, 0, 0.45);

    color: var(--bianco);

    font-size: 24px;

    cursor: pointer;

    backdrop-filter: blur(6px);

    box-shadow: var(--ombra);

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;

}


.hero button:hover {

    background-color: var(--giallo);

    color: var(--nero);

    transform: scale(1.08);

}


/* ==================================================
   SERVIZI
   ================================================== */

.servizi {

    width: 100%;

    padding: 80px 6%;

    background-color: var(--bianco);

}


/* Immagine completa */

.servizi > img {

    width: 100%;

    height: auto;

    display: block;

}


/* Quattro colonne */

.servizi-testi {

    width: 100%;

    margin-top: 35px;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 35px;

}


/* Singolo servizio */

.servizio {

    margin: 0;
    padding: 0;

    text-align: center;

    background: transparent;

    border: none;

    box-shadow: none;

}


/* Titolo servizio */

.servizio h3 {

    margin: 0 0 10px 0;

    font-family: var(--font-titoli);

    font-size: 22px;

    line-height: 1.3;

    color: var(--nero);

}


/* Descrizione */

.servizio p {

    margin: 0;

    font-size: 16px;

    line-height: 1.6;

    color: var(--nero);

}


/* ==================================================
   CHI SIAMO
   ================================================== */

.chi-siamo {

    width: 100%;

    padding: 100px 8%;

    display: grid;

    grid-template-columns: 1.2fr 1fr;

    align-items: center;

    gap: 70px;

    background-color: var(--grigio-chiaro);

}


/* Immagine */

.chi-siamo-immagine {

    width: 100%;

}


.chi-siamo-immagine img {

    width: 100%;

    height: auto;

    display: block;

    border-radius: 12px;

    box-shadow: var(--ombra);

}


/* Colonna testo */

.chi-siamo-testo {

    width: 100%;

    align-self: start;

    padding-top: 20px;

}


/* Titolo */

.chi-siamo-testo h2 {

    margin: 0 0 55px 0;

    font-family: var(--font-titoli);

    font-size: 42px;

    line-height: 1.2;

    text-align: left;

    color: var(--blu);

}


/* Paragrafo */

.chi-siamo-testo p {

    margin: 0;

    font-size: 22px;

    line-height: 1.8;

    color: var(--nero);

}


/* ==================================================
   DOVE SIAMO
   ================================================== */

.dove-siamo {

    width: 100%;

    padding: 100px 8%;

    background-color: var(--bianco);

}


.dove-siamo h2 {

    margin: 0 0 40px 0;

    font-family: var(--font-titoli);

    font-size: 46px;

    line-height: 1.2;

    color: var(--blu);

}


/* Tabella */

.dove-siamo table {

    width: 100%;

    border-collapse: collapse;

}


.dove-siamo tr {

    border-bottom: 1px solid var(--grigio-bordo);

}


.dove-siamo tr:last-child {

    border-bottom: none;

}


.dove-siamo th,
.dove-siamo td {

    padding: 20px;

    text-align: left;

    color: var(--nero);

}


.dove-siamo th {

    width: 30%;

    background-color: var(--grigio-chiaro);

    font-weight: bold;

}


.dove-siamo td {

    background-color: var(--bianco);

}


/* Link */

.dove-siamo a {

    color: var(--blu);

    text-decoration: none;

    font-weight: bold;

}


.dove-siamo a:hover {

    color: var(--giallo-scuro);

    text-decoration: underline;

}


/* ==================================================
   MAPPA GOOGLE
   ================================================== */

.mappa {

    width: 100%;

    margin-top: 50px;

    overflow: hidden;

    border-radius: 12px;

    box-shadow: var(--ombra);

}


.mappa iframe {

    width: 100%;

    height: 450px;

    display: block;

    border: 0;

}


/* ==================================================
   FOOTER
   ================================================== */

.Footer {

    width: 100%;

    padding: 60px 8%;

    background-color: var(--blu);

}


.Footer footer {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

}


.Footer img {

    width: 120px;

    height: auto;

    margin-bottom: 25px;

}


.Footer p {

    margin: 6px 0;

    color: var(--bianco);

}


.Footer p:first-of-type {

    font-family: var(--font-titoli);

    font-size: 20px;

    font-weight: bold;

}


.Footer a {

    color: var(--giallo);

    text-decoration: none;

}


.Footer a:hover {

    color: var(--bianco);

    text-decoration: underline;

}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 768px) {


    /* NAV */

    .nav {

        height: 75px;

    }


    .nav img {

        width: 115px;

    }


    .selettore-lingua {

        right: 12px;

    }


    .selettore-lingua summary {

        font-size: 13px;

        padding: 6px 8px;

    }


    /* HERO */

    .hero {

        height: 60vh;

    }


    .hero video {

        display: none;

    }


    .hero-mobile {

        display: block;

    }


    .hero button {

        display: none;

    }


    /* SERVIZI */

    .servizi {

        padding: 60px 5%;

    }


    .servizi-testi {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    /* CHI SIAMO */

    .chi-siamo {

        padding: 60px 5%;

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .chi-siamo-testo {

        padding-top: 0;

    }


    .chi-siamo-testo h2 {

        margin-bottom: 30px;

        font-size: 36px;

    }


    .chi-siamo-testo p {

        font-size: 19px;

    }


    /* DOVE SIAMO */

    .dove-siamo {

        padding: 60px 5%;

    }


    .dove-siamo h2 {

        font-size: 36px;

    }


    .dove-siamo th,
    .dove-siamo td {

        padding: 14px;

        font-size: 14px;

    }


    .dove-siamo th {

        width: 35%;

    }


    /* MAPPA */

    .mappa {

        margin-top: 35px;

    }


    .mappa iframe {

        height: 350px;

    }


    /* FOOTER */

    .Footer {

        padding: 50px 5%;

    }

}