html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width:100%;
}
*, *::before, *::after {
    box-sizing: inherit;
}

/* ===================================
	   STILE GENERALE
    =================================== */


/* Import Google Fonts */

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

/* === FONT: MONTSERRAT (titoli, link, menu, bottoni, header, footer) === */

h1,
h2,
h3,
h4,
h5,
h6,
.navflex,
.menu,
.menu>li>a,
.submenu li a,
.logo-text p,
.historical,
.anchor-link,
.service-title,
.btn-send,
.footer-logo,
.footer-col h4,
.footer-bottom,
.footer-social a,
.header,
.header-top,
.header-bottom,
.footer-contact li,
.footer-col ul li a {
    font-family: "Cinzel", serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}


/* === FONT: LORA (testi, paragrafi, descrizioni, contenuti) === */

p,
.service-description,
.chisiamo-content p,
.footer-desc,
.contact-subtitle,
.contact-info p,
.contact-hours span,
.info-item p,
.info-item a,
.form-group label,
.form-group input,
.form-group textarea {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

.fontstyle-w50,
.fontstyle-w50 p:nth-child(2) {
    font-family: 'Tangerine', cursive;
    line-height: 1.2 !important;
    font-weight: 400 !important;
}

body,
html {
    margin: 0;
    padding: 0;
    font-size: clamp(1rem, 0.8vw + 0.5rem, 1.8rem);
}

a {
    text-decoration: none;
    color: inherit;
}

.bg-overlay {
    position: absolute;
    background-color: black;
    width: 100%;
    height: 100%;
}

.no-border {
    : none !important;
}

.container-general {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* === ANIMAZIONE ENTRATA SERVICE BOX === */

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-box {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.4s ease, background-color 0.3s ease;
    background-color: #fff;
}

.service-box.visible {
    animation: fadeSlideUp 0.9s ease forwards;
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background-color: #fff;
}

.service-box:hover .service-icon {
    color: #00a8ff;
    transform: scale(1.15);
    transition: transform 0.3s ease, color 0.3s ease;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.overlay.is-open {
    display: flex;
}


/* Finestra del popup */

.modal {
    background: #ffffff;
    border-radius: 14px;
    max-width: 520px;
    width: 90%;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.18s ease, opacity 0.18s ease;
    white-space: pre-line;
    height: auto;
}

.overlay.is-open .modal {
    transform: translateY(0);
    opacity: 1;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    float: right;
}

.modal-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 6px;
}


/* ===================================
	   LINK IN ALTO
	=================================== */

.header {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: white;
}

.header-top,
.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 60px;
    border-bottom: 1px solid lightgray;
}

.header-social,
.header-contact {
    display: flex;
    gap: 20px;
    align-items: center;
}


/* ===================================
	   LOGO + ORARI
	   =================================== */

.header-bottom {
    padding: 30px 60px;
}

.navflex {
    flex-direction: column;
    align-items: center;
    font-weight: bold;
}

.icon-label-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-hours {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.contact-hours span {
    font-size: 0.8rem;
}

.contact-hours span:first-child {
    font-weight: bold;
}

.clock {
    font-size: 1.3rem;
}

.logo-text-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.1;
}

.logo-text p {
    margin: 0;
    font-size: clamp(1rem, 0.8rem + 1vw, 2rem);
    font-weight: bold;
    text-align: center;
}

.logo-text .historical {
    font-size: clamp(0.6rem, 1vw, 1rem);
    letter-spacing: 3px;
    margin-top: -10px;
    font-weight: normal;
    text-align: right;
}


/* ===================================
	   NAVBAR
	   =================================== */

nav {
    position: relative;
    width: 100%;
    background: #222;
    transition: all 0.3s ease;
    z-index: 1000;
}

nav.fixed {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu {
    display: flex;
    list-style: none;
    justify-content: flex-start;
    padding: 0 35px;
    margin: 0;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.menu>li {
    position: relative;
}

.menu>li>a {
    display: block;
    padding: 15px 25px;
    color: white;
    transition: background 0.3s;
    font-weight: 600;
}

.menu>li>a:hover {
    background-color: #444;
}


/* ===================================
	   CITAZIONE
	   =================================== */

.inner-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: clamp(400px, 50vw, 900px);
    background-image: url("../img/sf1.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(2rem, 5vw, 6rem);
    box-sizing: border-box;
    overflow: visible;
    z-index: 0;
}

.inner-container .bg-overlay {
    position: absolute;
    background-color: black;
    opacity: 0.4;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.w50 {
    position: relative;
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: white;
    text-align: center;
    box-sizing: border-box;
}

.virgule {
    width: 100%;
    display: flex;
    font-size: clamp(3rem, 2vw + 2rem, 5rem);
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.9);
    margin: -1.5rem 0 0.5rem 0;
    pointer-events: none;
}

.changevirgule1 {
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: -1rem;
}

.changevirgule2 {
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: -0.8rem;
}

.fontstyle-w50 {
    font-size: clamp(1rem, 0.8rem + 1vw, 1.8rem);
    line-height: clamp(1.4rem, 2vw, 2.2rem);
    letter-spacing: clamp(1px, 0.3vw, 4px);
    font-style: oblique;
    font-family: "Send Flowers", cursive;
    font-weight: 400;
    color: white;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    height: auto;
    max-width: 80ch;
}

.fontstyle-w50 p:nth-child(2) {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(2rem, 1rem + 1vw, 2.5rem);
    line-height: 1.6;
    text-align: justify;
}

.firma {
    font-family: 'Tangerine', cursive;
    font-size: clamp(1rem, 0.8rem + 1vw, 2rem);
    color: #fff;
    text-align: right;
    margin-top: clamp(0.5rem, 0.3rem + 1vw, 1rem);
    letter-spacing: 1px;
    font-weight: 700;
    opacity: 0.9;
}


/* ===================================
	   CHI SIAMO
	   =================================== */

.chisiamo-section {
    background: linear-gradient(180deg, #fafafa, #f2f2f2);
    color: #222;
}

.anchor-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 3rem 1rem;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
    color: black;
    z-index: 2;
}

.anchor-link::before,
.anchor-link::after {
    content: "";
    display: block;
    width: clamp(20px, 3vw, 45px);
    height: 3px;
    background-color: black;
    color: black;
}


/* === IMMAGINE A TUTTO SFONDO === */

.chi-siamo-hero {
    position: relative;
    width: 100%;
    min-height: 85vh;
    height: auto;
    background: rgb(29 59 21);
    background-image: url("../img/logo2.jpg");
    background-size: contain;
    background-position: calc(100% + 130px) 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.chi-siamo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

#chi-siamo-paragraph {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 15;
    -webkit-box-orient: vertical;
    transition: all 0.4s ease;
}

#chi-siamo-paragraph.expanded {
    -webkit-line-clamp: unset;
}

#read-more-btn {
    background: none;
    border: none;
    color: #bb9c59;
    cursor: pointer;
    font-weight: 600;
    margin-top: 0.5rem;
}


/* === TESTO SULL’IMMAGINE === */

.chi-siamo-text {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 1.5rem;
}

.chi-siamo-text p {
    font-family: "Nunito Sans", sans-serif;
    font-size: clamp(0.7rem, 0.4rem + 0.7vw, 1.1rem);
    line-height: clamp(0.7rem, 1vw, 1rem);
    line-height: 1.8;
    margin-bottom: 1rem;
    max-width: 38rem;
}


/* ===================================
	   SERVIZI
	   =================================== */

.services-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 60px;
}

.services-section .anchor-link {
    padding: 3rem 1rem 0rem 3rem;
}

.sub-anchor {
    position: relative;
    width: 60%;
    text-align: center;
    font-style: italic;
    line-height: clamp(0.8rem, 1vw + 0.8rem, 2rem);
    margin: 0 auto 60px auto;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 0 auto;
    padding: 0 10px 30px 10px;
}

.service-box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.333% - 30px);
    max-width: calc(33.333% - 30px);
    text-align: center;
    padding: 40px 25px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    font-size: clamp(0.8rem, 0.7rem + 0.4vw, 1.3rem);
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 52px;
    color: #0059b3;
    margin-bottom: 20px;
    transition: color 0.3s ease, transform 0.4s ease;
}

.service-box:hover .service-icon {
    color: #00a8ff;
    transform: scale(1.2) rotate(5deg);
}

.service-title {
    font-size: 1.25em;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.service-description {
    color: #555;
    font-size: 0.95em;
    line-height: 1.6em;
}


/* ===================================
	   SPONSOR
	   =================================== */

.sponsor-section {
    width: 100%;
    background: linear-gradient(180deg, #e9ebee 0%, #dfe1e4 100%);
    color: #222;
    padding: clamp(2rem, 4vw, 4rem) 0;
    overflow: hidden;
    text-align: center;
    margin-bottom: 30px;
}

.sponsor-section .anchor-link {
    margin: 0;
    padding: 0;
}

.sponsor-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 30px 0;
}

.sponsor-track {
    display: flex;
    width: calc(200% + clamp(3rem, 4vw, 5rem));
    animation: scrollSponsors 30s linear infinite;
}

.sponsor-track img {
    height: clamp(100px, 7vw, 150px);
    margin: 0 clamp(2rem, 6vw, 5rem);
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.sponsor-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

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


/* ===================================
	   CONTATTI
	   =================================== */

.contact-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

#contacts::before,
#contacts::after {
    background-color: white;
    color: white;
}

.white-link {
    color: white;
}


/* MAPPA DI SFONDO */

.map-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.map-bg iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: brightness(55%) saturate(90%) contrast(120%);
    pointer-events: none;
}


/* OVERLAY NERO SEMITRASPARENTE SU TUTTA LA SEZIONE */

.map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60));
    z-index: 1;
    width: 100%;
    height: 100%;
}


/* BOX CONTENUTI CENTRATI */

.contact-overlay {
    position: relative;
    z-index: 2;
    padding: clamp(2rem, 4vw, 4rem);
    border-radius: 18px;
    text-align: center;
    width: 90%;
}


/* TITOLO */

.contact-title {
    font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}


/* CONTENITORE DELLE INFO */

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    text-align: left;
    margin-bottom: 2rem;
    padding-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    padding: clamp(1rem, 2vw, 2rem);
    width: clamp(250px, 30%, 350px);
    min-height: 140px;
    border-radius: 12px;
}

.info-item i {
    font-size: 2rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
    color: #00a8ff;
    align-self: center;
}

.info-item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item h3 {
    margin: 0 0 5px;
    font-size: clamp(1rem, 0.8rem + 0.5vw, 1.2rem);
    font-weight: 600;
}

.info-item p,
.info-item a {
    margin: 0;
    font-size: clamp(0.8rem, 0.6rem + 0.3vw, 1rem);
    color: white;
    text-decoration: none;
}

.info-item a:hover {
    color: #00a8ff;
}


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

.site-footer {
    box-sizing: border-box;
    width: 100%;
    background: #0f0f10;
    color: white;
    font-weight: 600;
    overflow-x: hidden;
}

.footer-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0 clamp(2rem, 8vw, 6rem);
}

.footer-col {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    box-sizing: border-box;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    border-left: 1px solid #151515;
}

.footer-col:first-child {
    border-left: none;
}

.footer-container>* {
    margin: 0;
}

.footer-col,
.footer-col * {
    box-sizing: border-box;
}

.footer-col:nth-child(2) {
    align-items: center;
}

.footer-col:nth-child(2) ul {
    align-items: flex-start;
}

.footer-col:nth-child(2) h4 {
    margin-left: -2rem;
}

.footer-col h3,
.footer-col h4 {
    color: #00a8ff;
    margin: 0 0 1rem 0;
    font-size: clamp(1rem, 0.5rem + 0.5vw, 1.2rem);
    line-height: 1.2;
    height: 2.5rem;
    display: flex;
    align-items: flex-end;
    text-align: left;
    border-bottom: 2px solid #00a8ff;
    padding: 10px 0;
    font-weight: 600;
}

.footer-desc {
    line-height: 1.6;
    margin: 0 0 0.8rem 0;
    text-align: left;
    font-family: "Cinzel", serif !important;
    font-size: clamp(0.7rem, 0.5rem + 0.5vw, 1rem);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: clamp(0.7rem, 0.5rem + 0.5vw, 1rem);
}

.footer-col ul li {
    margin-bottom: 8px;
    font-size: clamp(0.7rem, 0.5rem + 0.5vw, 1rem);
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #00a8ff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    color: white;
    font-size: clamp(0.85rem, 0.8rem + 0.25vw, 1rem);
    line-height: 1.4;
}

.footer-contact i {
    font-size: 1.1rem;
    color: #00a8ff;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #00a8ff;
}

.footer-bottom {
    background: #0b0b0b;
    text-align: center;
    padding: 18px 12px;
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid #00a8ff;
}

.footer-bottom a {
    color: #00a8ff;
    text-decoration: none;
}


/* Per il ritratto (orientamento verticale) */

@media (orientation: portrait) {
    .header-top {
        display: none;
    }
    .header-bottom {
        margin-top: 60px;
    }
    .header-contact {
        align-items: flex-start;
        flex-direction: column;
        padding: 40px 0;
    }
    nav {
        top: 0%;
        position: fixed!important;
    }
    #bars {
        position: absolute;
        font-size: 2rem;
        color: white;
        z-index: 999;
        margin: 0;
        width: 100%;
        background: #222;
        display: flex;
        flex-direction: row-reverse;
        padding-right: 20px;
    }
    .header-bottom,
    .menu,
    .logo-text-wrapper {
        flex-direction: column;
    }
    .header-bottom {
        padding: 30px 0;
    }
    .header-contact {
        align-items: flex-start;
        flex-direction: column;
        padding: 40px 0;
    }
    .header-logo-img {
        height: 110px;
    }
    .logo-text p {
        font-size: 1.7rem;
    }
    .logo-text .historical {
        font-size: 0.9rem;
    }
    .menu {
        display: none;
        padding: 60px 0;
        text-align: center;
    }
    .show {
        -webkit-transition: all 0.3 ease-out;
        -moz-transition: all 0.3 ease-out;
        -o-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
    }
    .fontstyle-w50 {
        width: 100%;
        letter-spacing: 0;
        min-height: 70svh;
    }
    .inner-container {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
        padding: 55px 0;
    }
    .chi-siamo-hero {
        background-position: center center;
        background-attachment: scroll;
    }
    .chi-siamo-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
    .chi-siamo-text p {
        font-size: 1rem;
    }
    .services-section {
        text-align: center;
        padding: 20px;
    }
    .services-section .anchor-link {
        padding: 20px 0 30px 0;
        font-size: 1.4rem;
    }
    .sub-anchor {
        width: 100%;
        font-size: 1rem;
    }
    .services-container {
        flex-direction: column;
    }
    .service-box {
        width: 100%;
        max-width: 100%;
    }
    .service-description {
        font-size: 0.8rem;
    }
    .sponsor-section .anchor-link {
        font-size: 1.4rem;
    }
    .sponsor-track {
        animation: scrollSponsors 10s linear infinite;
    }
    .info-item {
        width: 100%;
    }
    .info-item p,
    .info-item a {
        font-size: 1rem;
    }
    .footer-container {
        flex-direction: column;
    }
    .footer-col {
        width: 100%;
        max-width: 100%;
        padding: 30px 0 2px 0;
    }
    .footer-desc,
    .footer-col h3,
    .footer-col h4,
    .footer-col ul li a,
    .footer-col ul li {
        font-size: 1rem!important;
        color: white;
    }
    .footer-col:nth-child(2) {
        align-items: flex-start;
    }
    .footer-col:nth-child(2) h4 {
        margin-left: 0;
    }
    .footer-col:nth-child(3) {
        padding-bottom: 20px;
    }
    .contact-overlay {
        padding: 0;
    }
    .contact-title {
        margin-bottom: 0;
    }
}




/* Per il paesaggio (orientamento orizzontale) */

@media (orientation: landscape) {
    #bars {
        display: none;
    }
    .menu {
        display: flex!important;
    }
    #chi-siamo-paragraph {
        -webkit-line-clamp: unset;
    }
    #read-more-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-bottom,
    .menu,
    .logo-text-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 767px) {}

@media (min-width: 768px) and (max-width: 1023px) {
    .header-top {
        display: none;
    }
    .header-bottom {
        padding: 30px;
    }
    .header-contact {
        align-items: flex-start;
        flex-direction: column;
        padding: 40px 0;
    }
    .header-logo-img {
        height: 110px;
    }
    .logo-text p {
        font-size: 1.7rem;
    }
    .logo-text .historical {
        font-size: 0.9rem;
    }
    .inner-container {
        background-size: cover;
        background-attachment: scroll;
    }
    .chi-siamo-hero {
        background-attachment: scroll;
    }
    .chi-siamo-text p {
        max-width: 26rem;
        text-align: left;
        font-size: 1rem;
    }
    #chi-siamo-paragraph {
        -webkit-line-clamp: 10;
    }
    #read-more-btn {
        display: flex!important;
        width: 100%;
        justify-content: center;
        padding: 20px 0;
    }
    #chi-siamo-paragraph.expanded {
        -webkit-line-clamp: unset !important;
    }
    .service-box {
        flex: 1 1 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
    .info-item {
        width: 100%;
    }
    .info-item p,
    .info-item a {
        font-size: 1rem;
    }
    .footer-container {
        flex-direction: column;
    }
    .footer-col {
        width: 100%;
        max-width: 100%;
        padding: 30px 0 2px 0;
    }
    .footer-desc,
    .footer-col h3,
    .footer-col h4,
    .footer-col ul li a,
    .footer-col ul li {
        font-size: 1rem!important;
        color: white;
    }
    .footer-col:nth-child(2) {
        align-items: flex-start;
    }
    .footer-col:nth-child(2) h4 {
        margin-left: 0;
    }
    .footer-col:nth-child(3) {
        padding-bottom: 20px;
    }
    .contact-overlay {
        padding: 0;
    }
    .contact-title {
        margin-bottom: 0;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation:portrait) {
    .header-bottom {
        padding: 50px;
        flex-direction: row;
    }
    .fontstyle-w50 p:nth-child(2) {
        max-width: 600px;
        font-size: 3rem;
        letter-spacing: 3px;
    }
    .firma {
        font-size: 1.5rem;
    }
    .chi-siamo-hero {
        justify-content: center;
    }
    .chi-siamo-overlay {
        background: rgba(0, 0, 0, 0.6);
    }
    #chi-siamo-paragraph {
        -webkit-line-clamp: 15;
        font-size: 1.3rem;
    }
    .sub-anchor {
        width: 90%;
    }
    .services-container {
        flex-direction: row;
    }
    .info-item {
        width: calc(50% - 10px);
        display: flex;
        flex-direction: row;
    }
    .contact-section {
        min-height: 60vh;
        height: auto;
    }
}

@media (min-width: 1024px) and (max-width: 1266px) {
    .header-top {
        display: none;
    }
    .header-bottom {
        padding: 30px;
    }
    .header-contact {
        align-items: flex-start;
        flex-direction: column;
        padding: 40px 0;
    }
    .header-logo-img {
        height: 110px;
    }
    .logo-text p {
        font-size: 1.7rem;
    }
    .logo-text .historical {
        font-size: 0.9rem;
    }
}

@media (min-height: 1100px) and (orientation: portrait) {
    #chi-siamo-paragraph {
        -webkit-line-clamp: 15;
        font-size: 1.5rem;
        max-width: 40rem;
        min-height: 50vh;
    }
}

@media (min-width: 1441px) and (max-width: 1920px) {
    .modal {
        max-width: 800px;
    }
}

@media (min-width: 1900px) {
    .contact-overlay {
        width: 80%;
    }
}
@media (max-width: 1024px) and (orientation: landscape) {
    .footer-bottom {
        font-size: 0.5rem;
    }
    nav{
        position:fixed;
        top:0;
    }
    .header-top,.menu{
        display:none!important;
    }
    .header-bottom,
    .menu,
    .logo-text-wrapper {
        flex-direction: column;
    }
    .header-bottom{
        margin-top: 20px;
    }
    nav {
        top: 0%;
        position: fixed!important;
    }
    #bars {
        position: absolute;
        font-size: 1.5rem;
        color: white;
        z-index: 999;
        margin: 0;
        width: 100%;
        background: #222;
        display: flex;
        flex-direction: row-reverse;
        padding-right: 20px;
    }
    .header-contact{
        flex-direction:column;
        margin-top:20px;
        align-items:flex-start;
    }
    #bars{
        display:flex;
    }
    .show{
        display:block!important;
    }
    .inner-container {
        background-size: cover;
        background-attachment: scroll;
    }
    .chi-siamo-hero {
        background-attachment: scroll;
    }
    .chi-siamo-text p {
        max-width: 26rem;
        text-align: left;
        font-size: 1rem;
    }
    #chi-siamo-paragraph {
        -webkit-line-clamp: 10;
    }
    #read-more-btn {
        display: flex!important;
        width: 100%;
        justify-content: center;
        padding: 20px 0;
    }
    #chi-siamo-paragraph.expanded {
        -webkit-line-clamp: unset !important;
    }
    .service-box {
        flex: 1 1 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
}