/* =========================================================
   IL BRONTOLONE — NOI
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');


/* =========================================================
   COLORI
   ========================================================= */

:root {
    --blu: #15516d;
    --viola: #4c2554;
    --giallo: #eab341;
    --salvia: #a1c0b8;

    --testo: #303030;
    --sfondo: #f8f6f1;
    --bianco: #ffffff;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}


html {
    margin: 0;
    padding: 0;

    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    width: 100%;

    background-color: var(--sfondo);

    color: var(--testo);

    font-family:
        "Open Sans",
        Arial,
        sans-serif;

    overflow-x: hidden;
}


/* =========================================================
   BARRA SUPERIORE
   ========================================================= */

.top-bar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 58px;

    padding: 0 28px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    background:
        rgba(248,246,241,0.94);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-bottom:
        1px solid
        rgba(21,81,109,0.06);

    z-index: 1000;
}


.home-link {
    color: var(--blu);

    text-decoration: none;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 2px;

    transition: opacity 0.25s ease;
}


.home-link:hover {
    opacity: 0.5;
}


.logo-top {
    display: block;

    width: 52px;
    height: auto;
}


/* =========================================================
   HERO
   ========================================================= */

.hero-noi {
    position: relative;

    width: 100%;
    min-height: 620px;

    padding:
        105px
        30px
        65px;

    display: flex;

    justify-content: center;
    align-items: center;

    overflow: hidden;
}


.hero-contenuto {
    position: relative;

    z-index: 10;

    width: 100%;
    max-width: 700px;

    margin: 0 auto;

    text-align: center;
}


/* =========================================================
   LOGO CENTRALE
   ========================================================= */

.logo-centrale {
    display: block;

    width: 105px;
    height: auto;

    margin:
        0 auto
        15px;
}


.sopratitolo {
    margin:
        0 0
        16px;

    color: var(--blu);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 4px;

    text-transform: uppercase;
}


h1 {
    margin:
        0 0
        25px;

    color: var(--blu);

    font-family:
        "TeX Gyre Termes",
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            65px,
            8vw,
            100px
        );

    font-weight: 400;

    line-height: 0.9;

    letter-spacing: -1px;
}


.intro-testo {
    max-width: 580px;

    margin: 0 auto;

    font-size: 14px;

    line-height: 1.8;
}


.intro-firma {
    margin:
        27px auto
        0;

    color: var(--viola);

    font-family:
        "TeX Gyre Termes",
        Georgia,
        serif;

    font-size: 21px;

    font-style: italic;

    line-height: 1.4;
}


/* =========================================================
   FORME HERO
   ========================================================= */

.forma {
    position: absolute;

    z-index: 0;

    pointer-events: none;
}


.forma-viola {
    width: 380px;
    height: 210px;

    top: -115px;
    left: -105px;

    background: var(--viola);

    border-radius:
        55% 45% 60% 40%
        /
        55% 45% 60% 40%;

    transform: rotate(-12deg);
}


.forma-gialla {
    width: 310px;
    height: 420px;

    right: -220px;
    top: 175px;

    background: var(--giallo);

    border-radius:
        55% 45% 40% 60%
        /
        45% 60% 40% 55%;

    transform: rotate(9deg);
}


.forma-salvia {
    width: 290px;
    height: 210px;

    left: -160px;
    bottom: -120px;

    background: var(--salvia);

    border-radius:
        60% 40% 55% 45%
        /
        50% 55% 45% 50%;
}


/* =========================================================
   CONTENITORE
   ========================================================= */

.pagina-noi {
    width:
        min(
            1180px,
            calc(100% - 70px)
        );

    margin: 0 auto;

    padding:
        25px
        0
        70px;
}


/* =========================================================
   BLOCCHI
   ========================================================= */

.blocco-noi {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 0.92fr)
        minmax(0, 1.08fr);

    gap: 65px;

    align-items: center;

    margin-bottom: 105px;
}


/* =========================================================
   TESTO
   ========================================================= */

.testo-box {
    max-width: 470px;
}


.numero {
    margin:
        0 0
        12px;

    color: var(--salvia);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;
}


.colore-viola {
    color: var(--viola);
}


.colore-giallo {
    color: var(--giallo);
}


.testo-box h2 {
    margin:
        0 0
        25px;

    color: var(--blu);

    font-family:
        "TeX Gyre Termes",
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            38px,
            4.4vw,
            58px
        );

    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -0.5px;
}


.testo-box p {
    margin:
        0 0
        18px;

    font-size: 13px;

    line-height: 1.85;
}


.accento {
    margin-top:
        27px !important;

    color: var(--blu);

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        11px !important;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.viola-testo {
    color: var(--viola);
}


.firma {
    margin-top:
        30px !important;

    color: var(--viola);

    font-family:
        "TeX Gyre Termes",
        Georgia,
        serif;

    font-size:
        23px !important;

    font-style: italic;

    line-height:
        1.35 !important;
}


/* =========================================================
   FOTO
   ========================================================= */

.foto-box {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #dedbd4;
}


.foto-box::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 6px;

    background: var(--blu);

    z-index: 2;
}


.blocco-noi:nth-child(2) .foto-box::after {
    background: var(--salvia);
}


.blocco-noi:nth-child(3) .foto-box::after {
    background: var(--giallo);
}


.foto-box img {
    display: block;

    width: 100%;
    height: 470px;

    object-fit: cover;
    object-position: center;

    transition:
        transform
        0.7s ease;
}


.foto-box:hover img {
    transform: scale(1.035);
}


/* =========================================================
   CHIUSURA
   ========================================================= */

.chiusura {
    position: relative;

    width: 100%;
    min-height: 430px;

    padding:
        80px
        25px;

    display: flex;

    justify-content: center;
    align-items: center;

    overflow: hidden;

    background: var(--bianco);
}


.chiusura-contenuto {
    position: relative;

    z-index: 10;

    text-align: center;
}


.chiusura-contenuto p {
    margin:
        0 0
        6px;

    color: var(--salvia);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.chiusura-contenuto h2 {
    margin:
        0 0
        35px;

    color: var(--viola);

    font-family:
        "TeX Gyre Termes",
        Georgia,
        serif;

    font-size:
        clamp(
            38px,
            5vw,
            62px
        );

    font-weight: 400;

    font-style: italic;
}


.chiusura-contenuto a {
    display: inline-block;

    padding:
        12px
        25px;

    border:
        1px solid
        var(--blu);

    color: var(--blu);

    text-decoration: none;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 2px;

    transition: 0.3s ease;
}


.chiusura-contenuto a:hover {
    background: var(--blu);

    color: var(--bianco);
}


.chiusura-viola {
    position: absolute;

    width: 420px;
    height: 270px;

    left: -230px;
    top: -150px;

    background: var(--viola);

    border-radius: 50%;

    transform: rotate(-12deg);
}


.chiusura-salvia {
    position: absolute;

    width: 380px;
    height: 280px;

    right: -230px;
    bottom: -170px;

    background: var(--salvia);

    border-radius: 50%;

    transform: rotate(15deg);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer-brontolone {
    position: relative;

    width: 100%;

    background: var(--blu);

    color: var(--bianco);

    overflow: hidden;
}


.footer-info {
    width: min(1280px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.25fr
        1fr
        1fr
        1.25fr;
}


.footer-box {
    position: relative;

    min-height: 190px;

    padding:
        38px
        32px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    color: var(--bianco);

    text-decoration: none;

    border-right:
        1px solid
        rgba(255,255,255,0.16);

    transition:
        background-color
        0.35s ease;
}


.footer-box:last-child {
    border-right: none;
}


a.footer-box:hover {
    background:
        rgba(255,255,255,0.07);
}


.footer-label {
    margin-bottom: 16px;

    color: var(--salvia);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 3px;
}


.footer-title {
    color: var(--bianco);

    font-family:
        "TeX Gyre Termes",
        Georgia,
        serif;

    font-size: 23px;

    line-height: 1.2;

    text-decoration: none;
}


.footer-small {
    margin-top: 5px;

    color:
        rgba(255,255,255,0.72);

    font-size: 11px;

    text-decoration: none;
}


.footer-action {
    margin-top: 25px;

    color:
        rgba(255,255,255,0.65);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 8px;
    font-weight: 600;

    letter-spacing: 1.5px;
}


.footer-phone {
    display: block;

    width: fit-content;

    text-decoration: none;
}


/* =========================================================
   CHIAMACI
   ========================================================= */

.footer-call,
.footer-call:visited,
.footer-call:active {
    display: inline-block;

    width: fit-content;

    color:
        rgba(255,255,255,0.65);

    text-decoration: none;
}


.footer-call:hover {
    color: var(--giallo);

    text-decoration: none;
}


.footer-riposo {
    margin-top: 14px;

    color: var(--giallo);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.footer-prenota {
    background: var(--giallo);

    color: var(--viola);
}


.footer-prenota .footer-label {
    color: var(--viola);

    opacity: 0.7;
}


.footer-prenota-title {
    color: var(--viola);

    font-family:
        "TeX Gyre Termes",
        Georgia,
        serif;

    font-size: 36px;

    font-style: italic;

    line-height: 1;
}


.footer-prenota .footer-action {
    color: var(--viola);

    opacity: 0.8;
}


.footer-prenota:hover {
    background:
        var(--salvia) !important;
}


.footer-bottom {
    width: 100%;
    min-height: 100px;

    padding:
        27px
        40px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    background: var(--viola);
}


.footer-brand {
    color: var(--bianco);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}


.footer-brand span {
    display: block;

    margin-top: 5px;

    color:
        rgba(255,255,255,0.55);

    font-size: 7px;

    letter-spacing: 3px;
}


.footer-bottom p {
    margin: 0;

    color:
        rgba(255,255,255,0.75);

    font-family:
        "TeX Gyre Termes",
        Georgia,
        serif;

    font-size: 16px;

    font-style: italic;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .pagina-noi {
        width:
            calc(100% - 45px);
    }


    .blocco-noi {
        gap: 38px;

        margin-bottom: 75px;
    }


    .foto-box img {
        height: 400px;
    }


    .testo-box p {
        font-size: 12px;
    }

}


@media (max-width: 900px) {

    .footer-info {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   TELEFONO
   ========================================================= */

@media (max-width: 720px) {

    .top-bar {
        height: 54px;

        padding:
            0 16px;
    }


    .logo-top {
        width: 45px;
    }


    .home-link {
        font-size: 9px;
    }


    .hero-noi {
        min-height: 530px;

        padding:
            85px
            20px
            55px;
    }


    .logo-centrale {
        width: 85px;

        margin-bottom: 12px;
    }


    .sopratitolo {
        font-size: 8px;
    }


    h1 {
        font-size: 60px;

        margin-bottom: 20px;
    }


    .intro-testo {
        max-width: 400px;

        font-size: 12px;

        line-height: 1.7;
    }


    .intro-firma {
        margin-top: 22px;

        font-size: 19px;
    }


    .forma-viola {
        width: 250px;
        height: 140px;

        left: -100px;
        top: -85px;
    }


    .forma-gialla {
        width: 210px;
        height: 290px;

        right: -165px;
        top: 170px;
    }


    .forma-salvia {
        width: 200px;
        height: 145px;

        left: -125px;
        bottom: -85px;
    }


    .pagina-noi {
        width:
            calc(100% - 30px);

        padding-top: 15px;
    }


    .blocco-noi {
        grid-template-columns:
            1fr;

        gap: 25px;

        margin-bottom: 60px;
    }


    .testo-box {
        max-width: 100%;
    }


    .testo-box h2 {
        font-size: 37px;

        margin-bottom: 18px;
    }


    .testo-box p {
        font-size: 12px;

        line-height: 1.7;
    }


    .foto-box img {
        height: 330px;
    }


    .firma {
        font-size:
            20px !important;
    }


    .chiusura {
        min-height: 360px;

        padding:
            65px
            20px;
    }


    .chiusura-contenuto h2 {
        font-size: 38px;
    }

}


/* =========================================================
   FOOTER MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .footer-info {
        grid-template-columns:
            1fr;
    }


    .footer-box {
        min-height: 150px;

        padding:
            28px
            25px;

        border-right: none;

        border-bottom:
            1px solid
            rgba(255,255,255,0.15);
    }


    .footer-bottom {
        padding:
            27px
            25px;

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }

}