/* ================
   TYPO
================ */

@font-face {
  font-family: 'GTFlexa-CM-BL';
  src: url('../fonts/GT-Flexa-Compressed-Black-Trial.otf');
}

@font-face {
  font-family: 'Regola-Regular';
  src: url('../fonts/FTRegolaNeueUnlicensedTrial-Regular.otf');
}

@font-face {
  font-family: 'Regola-Heavy';
  src: url('../fonts/FTRegolaNeueUnlicensedTrial-Heavy.otf');
}

@font-face {
  font-family: 'GTFlexa-EX-MDy';
  src: url('../fonts/GT-Flexa-Extended-Medium-Trial.otf');
}




:root{
  --lh-title: 1.1;
  --lh-heading: 1.2;
  --lh-body: 1.25
}


h1, h2 { line-height: var(--lh-heading); }
h4 { line-height: var(--lh-heading); }


p, li { line-height: var(--lh-body); }


.mostra-subtitle { line-height: var(--lh-title); }

.archive-card-label { line-height: 1; }

.archive-bottom li{
  line-height: 1.1
}

#chi-siamo .archive-bottom-left h2 {
  line-height: 1.1
}

/* ================
   HEADER
================ */

.video_logo video{
  width: 100%;
  height: auto;
  display: block;
}

.site-header{
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #FF070B;
  color: #ffffff;
  z-index: 1000;
}


.site-header .row{
  padding-top: 4px;
  padding-bottom: 4px;
}


header.site-header .site-header-logo-col a img{
  max-height: 20px;
  height: auto;
  width: auto;
  display: block;
}


.site-header a,
.site-header .nav-link{
  color: #ffffff;
  font-family: 'Regola-Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-header a:hover,
.site-header .nav-link:hover{
  color: rgba(0, 0, 0, 0.85);
}


html{
  /* scroll-behavior: smooth; DISABLING to let JS handle it */
  /* scroll-padding-top: 52px; handled by JS offset */
}

section[id],
span[id],
div[id]{
  scroll-margin-top: 52px;
}


/* ================
   MENU MOBILE
================ */

.site-header-logo-col{
  display: flex;
  align-items: center;
  gap: 30px;
}

.mobile-menu-toggle{
  border: 0;
  background: transparent;
  color: #ffffff;
  border-radius: 999px;
  padding: 0;
  width: auto;
  height: auto;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  display: none; 
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: translateY(2px);
}

.mobile-menu-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mobile-menu-icon img{
  display: block;
  height: auto;
  width: auto;
  max-height: 50px;
  transform: scale(1.2);
}

.mobile-menu-icon--open{
  display: none;
}

@media (max-width: 950px){

  
  .site-header .row{
    padding-top: 0.15rem !important;
    padding-bottom: 0.15rem !important;
  }

  .site-main-menu{
    display: none;
    width: 100%;
  }

  .site-main-menu.is-open{
    display: block;
  }

  .site-main-menu .nav{
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    margin-top: 20px;
  }

  .site-main-menu .nav-link{
    padding-left: 0;
    font-family: 'GTFlexa-CM-BL', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 28px;
    text-align: center;
    color: #ffffff;
  }

  .mobile-menu-toggle{
    display: inline-flex;
  }
}

@media (min-width: 950px){
  .mobile-menu-toggle{
    display: none;
  }
  .site-main-menu{
    display: block !important;
  }
}

.mobile-menu-toggle.is-open .mobile-menu-icon--closed{
  display: none;
}
.mobile-menu-toggle.is-open .mobile-menu-icon--open{
  display: inline-flex;
}

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

.site-footer-dark{
  background-color: #1F1F1F;
  color: #ffffff;
  font-size: 14px;
  padding: 40px 0;
}


.site-footer-dark .footer-inner{
  max-width: 1400px;
  margin: 0 auto;
}


.footer-logo-col{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 16px;
}

.site-footer-dark .footer-logo{
  max-height: 140px;
  height: auto;
  width: auto;
}


.footer-contacts{
  display: flex;
  justify-content: flex-end;
  column-gap: 40px;
}


.footer-contact-column{
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.footer-contact-column--left,
.footer-contact-column--right{
  text-align: left;
}


.footer-contact{
  color: #ffffff;
  line-height:1.2
}


.site-footer-dark,
.site-footer-dark p,
.site-footer-dark a,
.site-footer-dark .footer-contact span{
  font-family: 'Regola-Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ================
   BUTTONS
================ */


.btn-card{
  font-family: "GTFlexa-CM-BL", sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 24px;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}


.btn-home{
  background: #FF070B;
  color: #ffffff;
}

.btn-home:hover{
  background: #000000;
}

.btn-home:active{
  transform: translateY(1px);
}

.buttons-bar{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
  margin-top: 1px
}


.btn-card.btn-home{
  align-items: flex-end;   
  padding-top: 12px;
  padding-bottom: 10px;  
  line-height: 1;          
}



@media (min-width: 768px){
  .footer-contacts{
    padding-right: 40px;
  }
}

/* =========
   MOBILE
========= */
@media (max-width: 767.98px){

  .site-footer-dark{
    padding: 32px 0;
  }

  
  .footer-logo-col{
    justify-content: center;
    margin-bottom: 24px;
  }

  .site-footer-dark .footer-logo {
    max-height: 110px;
    margin: 20px;
  }

  
  .footer-contacts{
    flex-direction: column;
    align-items: center;
    padding-right: 0;
  }

  .footer-contact-column{
    align-items: center;
  }

  .footer-contact-column--left,
  .footer-contact-column--right{
    text-align: center;
  }

  .footer-contact-column--left{
    margin-bottom: 4px;
  }

  .footer-contact{
    font-size: 16px;
  }
}


