@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Mate:ital@0;1&display=swap');
/* TOP BAR */

/* HEADER TRASPARENTE SOPRA IL VIDEO */
/* Header di base trasparente sopra la hero-section */

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 4;
}
header .top-bar {
  background: #2F538A; 
  padding: 17px 0;
}
header .top-bar .gap-48 {
  gap: 48px;
}
header .main-header {
  padding: 20px 0;
  transition: all 0.7s;
}
header.sticky .main-header {
  position: fixed;
  width: 100%;
  top: 0;
  background: #fff;
}
header.sticky .nav li a {
  color: #1F3D74; 
}
header .logo-img {
  position: relative;
  display: flex;
  width: 180px;
  height: 55px;
}
.header-logo,
.header-logo-blu {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  position: absolute;
  transition: all 0.8s;
}
.header-logo-blu {
  opacity: 0;
}
header.sticky .header-logo {
  opacity: 0;
}
header.sticky .header-logo-blu {
  opacity: 1;
}

/* MENU ORIZZONTALE */
header .main-menu {
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0; 
  justify-content: flex-end;
}

header .main-menu .menu-item {
  margin: 0 20px; /* Spaziatura tra i link */
}

header .main-menu .menu-item a {
  color: #FFF;
  text-align: right;
  font-family: Lato;
  font-size: 19px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  padding: 37px 0;
}


/* HAMBURGER MOBILE */
.hamburger {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  padding: 0;
  width: 56px;
  height: 11px;
}
.hamburger .line {
  width: 56px;
  height: 1px;
  background: #fff;
}
.hamburger .second-line {
  margin-top: 10px;
}
header.sticky .hamburger .line {
  background: #1A1D46;
}


#mobile-menu {
  top: 0;
  position: fixed;
  right: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu{
  background: var(--Secondary-4_b, #FFF); /* Sfondo semi-trasparente */
  transition: transform 0.3s ease;
  transform: translateY(-100%); /* Nascondi il menu */
}



/* Mostra il menu */
#mobile-menu.show .mobile-menu {
  transform: translateY(0);
}

/* Pulsante per chiudere il menu */
#mobile-menu .close-menu {
  flex-shrink: 0;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.riga-mobile-menu{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
}

/* Link del menu mobile */
.mobile-nav {
  list-style: none;
  text-align: start;
  padding-top: 60px;
  padding-left: 0;

}
.mobile-nav .nav{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.language{
  padding-top: 10px;
  color: var(--BLU-CHIARO, #22254E);
}
.mobile-nav .menu-item a {
  color: var(--BLU-CHIARO, #22254E);
  font-family: Lato;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

/* Mobile menu (di default nascosto) */
.mobile-menu-wrapper {
  display: none;
  position: fixed; 
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
}

/* Per schermi piccoli: regola come preferisci */
@media (max-width: 767px) {
  .overlay-header {
    padding: 10px 0;
  }
}

.top-bar-text{
  color: var(--Color-Accent, #F5F8FC);
  font-family: Lato;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

.top-bar-text.mobile{
  color: var(--Color-Accent, #1A1E47);
  padding-top: 30px;
}

/* FOOTER */

#footer {
  background: #2F538A;
  padding: 70px 0;
}
#footer h2 {
  text-transform: inherit;
}
#footer h2 strong {
  color: #68A8DE;
}
#footer .footer-top {
  padding-bottom: 55px;
}
#footer .locations {
  display: flex;
  justify-content: space-between;
}
#footer h3 a {
  text-decoration: none;
  color: #FFF;
  line-height: 30px;
}
#footer .description.small p {
  line-height: 24px;
}
#footer .copyright,
#footer .contacts {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 30px;
  margin-top: 70px;
  border-top: 1px solid #fff;
}
#footer .copyright p,
#footer .contacts p {
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 0;
}
#footer .copyright p a,
#footer .contacts p a {
  color: #fff;
}
#footer .contacts {
  justify-content: flex-end;
}



/* GENERAL */

h1 {
  color: #FFF;
  font-family: 'Mate';
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
h1.dark {
  color: #3F3F3F;
}
h2 {
  color: #3F3F3F;
  font-family: 'Mate';
  font-size: 35px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 15px;
}
h2.white {
  color: #fff;
}
h2.blue {
  color: #22254E;
}
h2.h2-small {
  font-size: 28px;
}
h3 {
  color: #3F3F3F;
  font-family: 'Lato';
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}
h3.white {
  color: #fff;
}
h4 {
  color: #3F3F3F;
  font-family: 'Lato';
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}
h4.white {
  color: #fff;
}
h4.blue {
  color: #22254E;
}
.pretitle {
  color: #3F3F3F;
  font-family: 'Lato';
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-transform: uppercase;
}
.pretitle.white {
  color: #fff;
}
.description p {
  color: #3F3F3F;
  font-family: 'Lato';
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 28px;
}
.description.white p {
  color: #FFF;
}
.description.white p a {
  color: #FFF;
}
.description.light p {
  color: #7F7F7F;
}
.description.small p {
  font-size: 16px;
  margin-bottom: 8px;
}
.description p em {
  font-style: normal;
  color: #2F538A;
}
.description p a {
  color: #3F3F3F;
}
.description ul li {
  color: #3F3F3F;
  font-family: 'Lato';
  font-size: 17px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  margin-bottom: 3px;
}
.cta-arrow {
  display: flex;
  justify-content: flex-end;
}
.cta-arrow img {
  max-width: 100%;
  transition: all 0.5s;
}
.link-arrow:hover .cta-arrow img {
  transform: rotate(45deg);
}
.cta-button {
  display: inline-flex;
  padding: 11px 53px;
  border-radius: 16px;
  gap: 10px;
  text-decoration: none;
  border: none;
}
.cta-button span {
  font-family: 'Lato';
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.cta-button img {
  width: 11px;
  transition: all 0.5s;
}
.cta-button:hover img {
  transform: rotate(45deg);
}
.cta-button.light {
  background: #F5F8FC;
}
.cta-button.light span {
  color: #2F538A;
}
.cta-button.blue {
  background: #2F538A;
}
.cta-button.blue span {
  color: #F5F8FC;
}
.container {
  position: relative;
  z-index: 2;
}
.bg-img {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -o-object-position: center;
  object-position: center;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
}
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}
#hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  height: 100vh;
  min-height: 600px;
}
#hero .container {
  padding-top: 7%;
}
#hero .scroll-to {
  position: absolute;
  color: #FFF;
  text-align: right;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  z-index: 4;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg);
}
#hero .scroll-to::after {
  content: '';
  position: absolute;
  display: block;
  width: 62px;
  height: 2px;
  background: #fff;
  right: 10px;
  bottom: -4px;
}
#hero .overlay {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.12) 100%);
}
#intro {
  padding: 200px 0;
}
#intro h2 {
  color: #031E27;
  font-family: Lato;
  font-size: 20px;
  margin-bottom: 32px;
}
#intro p {
  color: #031E27;
  text-align: center;
  font-family: Lato;
  font-size: 20px;
  font-style: italic;
  font-weight: 300;
  line-height: normal;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  content: '';
}
#news .mySwiperNews {
  padding-top: 20px;
}
.swiperLateral,
.swiperCentrale,
.swiperFullWidth,
.mySwiperTeam {
  padding: 70px 0;
}
.swiperLateral .swiper-pagination-progressbar,
.swiperCentrale .swiper-pagination-progressbar,
.swiperFullWidth .swiper-pagination-progressbar,
.mySwiperWork .swiper-pagination-progressbar,
.mySwiperTeam .swiper-pagination-progressbar {
  bottom: 25px;
  top: auto;
  width: 25vw;
  max-width: 430px;
  height: 2px;
  background: rgba(34,37,78,0.25);
  left: 50%;
  transform: translateX(-50%);
}
.swiperLateral .swiper-pagination-progressbar .swiper-pagination-progressbar-fill,
.swiperCentrale .swiper-pagination-progressbar .swiper-pagination-progressbar-fill,
.swiperFullWidth .swiper-pagination-progressbar .swiper-pagination-progressbar-fill,
.mySwiperWork .swiper-pagination-progressbar .swiper-pagination-progressbar-fill,
.mySwiperTeam .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: #22254E;
}
.mySwiperStory .swiper-pagination {
  width: 40%;
  height: 2px;
  top: auto;
  right: 220px;
  left: auto;
  bottom: 20px;
  background: rgba(245,248,252,0.25);
}
.mySwiperStory .swiper-pagination-progressbar-fill {
  background: #fff;
}
.swiperLateral .wrapper-arrows,
.swiperCentrale .wrapper-arrows,
.swiperFullWidth .wrapper-arrows,
.mySwiperTeam .wrapper-arrows,
.mySwiperWork .wrapper-arrows {
  gap: 20px;
  position: absolute;
  bottom: 6px;
  height: 40px;
  left: calc(50% + 18vw);
  transform: translateX(-50%);
}
.mySwiperStory .wrapper-arrows {
  display: flex;
  gap: 104px;
  position: absolute;
  bottom: 2px;
  height: 40px;
  right: 0;
}
.swiperLateral .wrapper-arrows .swiper-button-prev,
.swiperLateral .wrapper-arrows .swiper-button-next,
.swiperCentrale .wrapper-arrows .swiper-button-prev,
.swiperCentrale .wrapper-arrows .swiper-button-next,
.swiperFullWidth .wrapper-arrows .swiper-button-prev,
.swiperFullWidth .wrapper-arrows .swiper-button-next,
.mySwiperWork .wrapper-arrows .swiper-button-prev,
.mySwiperWork .wrapper-arrows .swiper-button-next,
.mySwiperTeam .wrapper-arrows .swiper-button-prev,
.mySwiperTeam .wrapper-arrows .swiper-button-next,
.mySwiperStory .wrapper-arrows .swiper-button-prev,
.mySwiperStory .wrapper-arrows .swiper-button-next {
  position: relative;
  width: 40px;
  aspect-ratio: 1;
  left: auto;
  right: auto;
  margin-top: 0;
  top: auto;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}
#banner {
  position: relative;
  padding: 240px 0;
}
#banner .overlay {
  background: rgba(0, 0, 0, 0.40);
}
.wpcf7-submit{
  padding: 11px 53px;
  gap: 10px;
  border-radius: 16px;
  background: #2F538A;
  color: #F5F8FC;
  font-family: 'Lato';
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border: none;
}
.wpcf7-spinner{
  position: absolute;
  left: 142px;
  top: 8px;
}
.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select {
  border: none;
  border-bottom: 1px solid #22254E;
  color: #22254E;
  font-family: Lato;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: 100%;
  padding: 0 0 30px;
  margin-top: 40px;
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #22254E;
  font-family: Lato;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.wpcf7-list-item {
  margin: 0 !important;
}
.wpcf7-acceptance span {
  color: #3F3F3F;
  font-family: 'Lato';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
}
.wpcf7-acceptance span a {
  color: #22254E;
}
.single-news .blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.single-news .blog-card {
  position: relative;
}
.single-news .link-arrow {
  position: relative;
  text-decoration: none;
}
.single-news .link-arrow:hover .overlay {
  opacity: 1;
}
.single-news .overlay {
  background: linear-gradient(204deg, rgba(0, 0, 0, 0.40) 3.47%, rgba(0, 0, 0, 0.40) 94.03%);
  opacity: 0.6;
  transition: all 0.65s;
}
.single-news .preview-img {
  aspect-ratio: 318/395;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.single-news .cta-arrow {
  position: absolute;
  z-index: 3;
  top: 27px;
  right: 27px;
}

/* HOMEPAGE */

#hero .link-arrow {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}
#homepage #hero .cta-arrow {
  margin-top: 60px;
}
#homepage #reality {
  padding: 90px 0;
  background: #F5F8FC;
}
#homepage .mySwiper .swiper-slide {
  aspect-ratio: 558 / 415;
  overflow: hidden;
}
#homepage .mySwiper .swiper-slide .link-arrow {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 50px 70px 50px 40px;
  text-decoration: none;
}
#homepage .mySwiper .swiper-slide .link-arrow:hover .bg-slide {
  transform: translate(-50%,-50%) scale(1.2);
}
#homepage .mySwiper .swiper-slide .link-arrow:hover .overlay {
  opacity: 1;
}
#homepage .mySwiper .swiper-slide .overlay {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.80) 100%);
  opacity: 0.8;
  z-index: -1;
  transition: all 0.65s;
}
#homepage .mySwiper .swiper-slide .bg-slide {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  transition: all 0.65s;
}
#homepage .mySwiper .swiper-slide h3 {
  color: #FFF;
}
#homepage .mySwiper .swiper-slide p {
  color: #FFF;
  margin-bottom: 0;
}
#homepage .mySwiper .cta-arrow {
  position: absolute;
  aspect-ratio: 1;
  z-index: 1;
  top: 35px;
  right: 35px;
}
#homepage #identity {
  padding: 100px 0 0;
}
#homepage #identity .box-identity .link-arrow {
  position: relative;
  overflow: hidden;
  padding: 48px 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  text-decoration: none;
}
#homepage #identity .box-identity .link-arrow:hover .bg-img {
  transform: scale(1.2);
}
#homepage #identity .box-identity .link-arrow:hover .overlay-box {
  opacity: 1;
}
#homepage #identity .box-identity .bg-img {
  z-index: -2;
  transition: all 0.65s;
}
#homepage #identity .box-identity .overlay-box {
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.70) 100%);
  opacity: 0.8;
  transition: all 0.65s;
}
#homepage #identity .box-identity h3 {
  color: #FFF;
  font-family: 'Mate';
  font-size: 35px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 10px;
}
#homepage #identity .box-identity p {
  color: #FFF;
  font-family: 'Lato';
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  max-width: 558px;
}
#homepage #news {
  padding: 170px 0 100px;
}
#homepage #news .blog-card {
  position: relative;
}
#homepage .stat {
  display: flex;
  align-items: flex-start;
}
#homepage .stats-block {
  background-color: #f5f7fa;
  padding: 120px 0;
}
#homepage .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
#homepage .stat-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}
#homepage .stat-number {
  color: var(--BLU-CHIARO, #22254E);
  font-family: Lato;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0rem !important;
  justify-content: start;
}
#homepage .stat-label {
  color: var(--BLU-CHIARO, #22254E);
  font-family: Lato;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-transform: uppercase;
}
#homepage .text-col {
  margin-top: 300px;
  margin-bottom: 100px;
  padding: 20px;
  z-index: 2;
}
#homepage .images-col {
  padding: 0px;
}
#homepage .image-wrap {
  display: flex;
}
#homepage .image-wrap img,
#homepage .image-wrap video {
  aspect-ratio: 720 / 800;
  width: 100%;
  height: auto;
  object-fit: cover;
}
#homepage .layout-mobile{
  display: none;
}

/* CHI SIAMO */

#about #mission {
  position: relative;
  overflow: hidden;
  display: flex;
  padding: 110px 0;
  height: 95vh;
  min-height: 850px;
}
#about #mission .overlay {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.70) 100%);
}
#about #mission .my-flex-accordion .accordion-panels {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 100%;
}
#about #mission .accordion-panel {
  width: 30%;
  border-right: 1px solid #fff;
}
#about #mission .accordion-panel:last-of-type {
  border: none;
}
#about #mission .accordion-panel.is-open {
  width: 40%;
}
#about #mission .panel-inner {
  padding: 80px 33px;
  transition: background-color 0.5s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
#about #mission .accordion-panel:first-of-type .panel-inner {
  padding-left: 0;
}
#about #mission .accordion-panel:last-of-type .panel-inner {
  padding-right: 0;
}
#about #mission .panel-content {
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}
#about #mission .accordion-panel.is-open .panel-content {
  opacity: 1;
  max-height: 200px;
}
#about #mission .description {
  max-width: 430px;
}
#about #mission .cta-arrow {
  background: transparent;
  border: none;
  margin-top: 65px;
}
#about #mission .accordion-panel.is-open .panel-button {
  opacity: 0;
  pointer-events: none;
}
#about #team {
  padding: 120px 0;
}
#about #team .bg-lightblue {
  background: #F5F8FC;
  border-radius: 16px;
  padding: 55px 0 30px;
}
#about #team .wrapper-title-team {
  padding: 0 0 0 50px;
}
#about #team .description {
  padding: 0 50px;
}
#team .mySwiperTeam .swiper-slide {
  aspect-ratio: 763/412;
}
#team .wrapper-author {
  width: 25%;
  padding: 0 40px 70px 50px;
  position: absolute;
  bottom: 0;
  opacity: 0;
  transition: all 0.5s;
}
#team .wrapper-author.active {
  opacity: 1;
}
#team .wrapper-author h3 {
  margin-bottom: 0;
  color: #22254E;
}
#team .art-name {
  color: #3F3F3F;
  font-family: 'Lato';
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  margin-bottom: 12px;
}
#team .art-desc{
  color: #3F3F3F;
  font-family: 'Lato';
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  line-height: normal;
}
#story {
  padding: 130px 0;
  position: relative;
}
#story .bg-img {
  opacity: 0;
  transition: all 0.65s;
}
#story .bg-img.active {
  opacity: 1;
}
#story .overlay {
  background: radial-gradient(219.94% 67.88% at 67.88% 50%, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.00) 100%);
}
#story .title {
  color: #F5F8FC;
  font-family: 'Lato';
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  position: absolute;
  max-width: 350px;
  bottom: 13px;
  left: 8%;
}
#story .mySwiperStory .year {
  position: absolute;
  color: #F5F8FC;
  text-align: center;
  font-family: 'Lato';
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  opacity: 0;
}
#story .mySwiperStory .year.active {
  opacity: 1;
}
#story .mySwiperStory {
  padding-bottom: 110px;
}
#story .mySwiperStory .swiper-slide {
  display: flex;
  align-items: center;
  gap: 100px;
}
#story .mySwiperStory .swiper-slide .wrapper-image {
  width: calc(40% - 50px);
}
#story .mySwiperStory .swiper-slide .wrapper-content {
  width: calc(60% - 50px);
}
#story .story-img {
  aspect-ratio: 305/429;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}
#about #competence {
  padding: 120px 0;
}
#about #competence .wrapper-competence {
  align-items: center;
}
#about #competence .wrapper-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
#about #competence .image-gallery {
  width: calc(50% - 8px);
  aspect-ratio: 318/389;
  background: #d9d9d9;
}
#about #competence .image-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#about #competence .image-gallery.translated {
  transform: translateX(calc(100% + 16px));
}
#about #competence .padding-left-100 {
  padding-left: 100px;
}

/* CONTATTI */

#contacts #form {
  padding: 120px 0;
}
#contacts #form .col-border-right {
  padding-right: 100px;
  border-right: 1px solid #2F538A;
}
#contacts #form .col-space-left {
  padding-left: 100px;
}
#contacts .icon-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
#contacts .icon-contact img {
  width: 20px;
}
#contacts .icon-contact p { 
  color: #2F538A;
  font-family: 'Lato';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
  margin-bottom: 0;
}
#contacts #locations {
  background: #F5F8FC;
  padding: 120px 0;
}
#contacts .mySwiperContact .swiper-slide {
  aspect-ratio: 558/415;
}
#contacts .wrapper-address {
  display: none;
}
#contacts .wrapper-address.active {
  display: block;
}

/* DOCUMENTATION */

#documentation #download {
  padding: 120px 0 80px ;
}
#documentation #download .news-docs {
  padding-top: 30px;
}
#documentation #download .col-margin {
  margin-bottom: 40px;
}
#documentation #download .docs-card {
  display: flex;
  text-decoration: none;
  text-align: start;
  background: #F5F8FC;
  padding: 26px 45px 26px 20px;
  min-height: 100%;
}
#documentation #download .docs-card .img-pdf {
  width: 35px;
} 
#documentation #download .docs-card-img-wrapper {
  align-items: center;
  gap: 12px;
}
#documentation #download .docs-card-arrow {
  position: absolute;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  top: 13px;
  right: 11px;
}
#documentation #download .docs-card-arrow .arrow-docs {
  width: 100%;
  height: 100%;
  transition: all 0.5s;
}
#documentation #download .docs-card:hover .arrow-docs {
  transform: rotate(45deg);
}
#documentation #download .docs-card-testo {
  text-transform: none;
  margin-bottom: 0;
  font-size: 18px;
}
#documentation #news {
  background: #F5F8FC;
  padding: 70px 0;
}
#documentation #logos {
  margin-top: 120px;
  background: #D9D9D9;
}
#documentation #logos .logos-overlay {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 145px 0px;
}
#documentation #logos .logos-button{
    display: inline-flex;
    align-items: center;
    background-color: #FFF;
    padding: 10px 53px;
    text-decoration: none;
    border-radius: 16px;
    background: var(--color-accent-5, #F5F8FC);
    justify-content: center;
}
#documentation #logos .testo-b-logos{
  color: var(--Color-Accent, #2F538A);
  text-align: right;
  font-family: Lato;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
}
#documentation #logos .logos-button-arrow {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  margin-left: 8px;
  transition: transform 0.3s ease;
}
#documentation #logos .logos-button:hover .logos-button-arrow {
  transform: rotate(45deg);
}

/* SOLUZIONI */

#solutions .number1 .img-section {
  aspect-ratio: 746/473;
  width: 100%;
  height: auto;
}
#solutions #parallax-desktop .wrapper-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
#solutions #parallax-desktop .image-gallery {
  width: calc(33% - 8px);
  aspect-ratio: 318/389;
  background: #d9d9d9;
}
#solutions #parallax-desktop .image-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#solutions #parallax-desktop .image-gallery.first,
#solutions #parallax-desktop .image-gallery.second {
  transform: translateX(calc(100% + 16px));
}
#solutions .number3 .img-section {
  aspect-ratio: 1100/468;
  width: 100%;
  height: auto;
  margin-top: 40px;
}
#solutions .wrapper-parallax-desktop {
  height: 100vh;
  z-index: 1;
  position: relative;
}
#solutions .wrapper-parallax-desktop .content-parallax {
  background-size: cover;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#solutions .wrapper-parallax-desktop .content-parallax.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
}
#solutions .wrapper-parallax-mobile {
  height: 100vh;
  z-index: 1;
  position: relative;
  display: none;
}
#solutions .wrapper-parallax-mobile .content-parallax {
  background-size: cover;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}
#solutions .wrapper-parallax-mobile .content-parallax.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
}
#solutions #parallax-desktop .overlay {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.42) 37%, rgba(0, 0, 0, 0.70) 100%);
}

/* SOLUZIONI PRODOTTI */

#products #info {
  padding: 120px 0;
}
#products .accordion-prod h2 {
  margin-bottom: 0;
}
#products .accordion-item-custom {
  border-bottom: 1px solid #ccc;
  font-family: Lato;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 28px;
}
#products .accordion-button-custom,
#products .accordion-no-button {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
#products .accordion-button-custom.collapsed::after {
  content: '+';
}
#products .accordion-button-custom:not(.collapsed)::after {
  content: '–';
}
#products .accordion-content-custom {
  padding-left: 20px;
  padding-bottom: 10px;
  color: #777;
}
#products #categories {
  padding: 180px 0;
}
#products #categories .tab-pane {
  padding-top: 60px;
}
#products #categories .nav-fill {
  gap: 35px;
}
#products #categories .nav-item .nav-link {
  border-bottom: 2px solid rgba(47,83,138,0.4);
  padding: 0 0 8px;
  display: flex;
  justify-content: space-between;
}
#products #categories .nav-item .nav-link.active {
  border-color: #2F538A;
}
#products #categories .nav-item h3 {
  font-size: 16px;
  font-weight: 300;
  color: #2F538A;
}
#products #categories .nav-link.active h3 {
  font-weight: 600;
}
#products #categories .description p {
  font-size: 18px;
  line-height: 25px;
}
#products .mySwiperSolutions .swiper-slide {
  aspect-ratio: 318/308;
  overflow: hidden;
}
#products #categories .wrapper-subcategory {
  display: none;
}
#products #categories .wrapper-subcategory.active {
  display: block;
}
#products #impiantistica {
  background: #F5F8FC;
  padding: 105px 0;
}
#impiantistica .desktop-reverse {
  flex-direction: row-reverse;
}
#impiantistica .border-row {
  border-bottom: 1px solid #000;
  padding-top: 35px;
  padding-bottom: 35px;
}
#impiantistica .border-row:last-of-type {
  border-bottom: none;
}
#impiantistica .border-row img {
  aspect-ratio: 652/376;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* BLOG */

#blog #articles {
  padding: 120px 0;
}
#blog .row-articles {
  padding-top: 60px;
}
#blog .row-articles .blog-card {
  margin-bottom: 40px;
}
#blog #articles .blog-card-img-wrapper {
  display: flex;
  aspect-ratio: 318/395;
}
#blog #articles .blog-card-img-wrapper .img-mobile-articles {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* PROJECTS */

#projects #case-study {
  padding: 90px 0 120px;
}
#projects .mySwiperAbout .swiper-slide {
  aspect-ratio: 558 / 415;
  width: 100%;
  height: 100%;
}
#projects #map-total {
  width: 100%;
  aspect-ratio: 1477 / 660;
  z-index: 1;
}

/* LAVORA CON NOI */

#work #open-positions {
  background: #F5F8FC;
  padding: 120px 0;
}
#work #open-positions h5,
#work #open-positions h2 {
  text-align: center;
}
#work #open-positions .wrapper-positions {
  padding-top: 20px;
}
#work #open-positions .single-position {
  padding: 40px 0;
  border-bottom: 1px solid #ADC5EA;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
#work #open-positions .single-position:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
#work #process {
  padding: 120px 0;
}
#work #process .wrapper-steps {
  padding-top: 70px;
}
#work #process .single-step {
  position: relative;
  aspect-ratio: 429/590;
  padding: 35px 70px 35px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
#work #process .single-step .content {
  position: relative;
  z-index: 2;
}
#work #offer .container-fluid {
  padding: 0;
}
#work #offer .margin-negative .rowSwiperWork {
  margin: 0;
}
#work #offer .margin-negative .row .colSwiperWork {
  padding: 0;
}
#work #offer .wrapper-option {
  padding: 0 28% 0 18%;
  transition: all 0.5s;
}
#work .mySwiperWork .swiper-slide {
  display: flex;
  align-items: stretch;
}
#work .mySwiperWork .swiper-slide.slide-reverse {
  flex-direction: row-reverse;
}
#work .mySwiperWork .wrapper-image {
  width: 50vw;
  aspect-ratio: 720/475;
}
#work .mySwiperWork .wrapper-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 180px 0 110px;
  width: 50vw;
  background-image: url('../images/bg-svg.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#work .mySwiperWork .swiper-slide.slide-reverse .wrapper-content {
  background-image: url('../images/bg-svg-reverse.svg');
}
#work #details {
  padding: 120px 0;
  text-align: center;
}
#work #details .wrapper-icons {
  padding-top: 60px;
}
#work #details .icon {
  width: 60px;
  margin-bottom: 12px;
}

@media screen and (min-width: 1400px) {
  .swiperCentrale {
    width: 100vw;
    margin-left: calc((1295px - 100vw) / 2);
    margin-right: calc((1295px - 100vw) / 2);
    padding: 70px calc((100vw - 1295px) / 2);
  }
  #homepage .layout-alternato .section-left .image-wrap {
    margin-right: calc((1320px - 100vw) / 2);
  }
  #homepage .layout-alternato .section-right .image-wrap {
    margin-left: calc((1320px - 100vw) / 2);
  }
  .swiperLateral {
    margin-right: calc((1295px - 100vw) / 2);
    padding-right: calc((100vw - 1295px) / 2);
  }
  #about #competence .wrapper-competence {
    align-items: flex-end;
  }
}
@media screen and (min-width: 1200px) and (max-width: 1399px) {
  .swiperCentrale {
    width: 100vw;
    margin-left: calc((1115px - 100vw) / 2);
    margin-right: calc((1115px - 100vw) / 2);
    padding: 70px calc((100vw - 1115px) / 2);
  }
  #homepage .layout-alternato .section-left .image-wrap {
    margin-right: calc((1140px - 100vw) / 2);
  }
  #homepage .layout-alternato .section-right .image-wrap {
    margin-left: calc((1140px - 100vw) / 2);
  }
  #about #competence .wrapper-competence {
    align-items: flex-end;
  }
  #about #competence .padding-left-100 {
    padding-left: 30px;
  }
  .swiperLateral {
    margin-right: calc((1115px - 100vw) / 2);
    padding: 70px calc((100vw - 1115px) / 2) 70px 0;
  }
  .swiperLateral .swiper-pagination-progressbar,
  .mySwiperTeam .swiper-pagination-progressbar {
    left: 38%;
  }
  .swiperLateral .wrapper-arrows,
  .mySwiperTeam .wrapper-arrows {
    left: calc(50% + 12vw);
  }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
  h1,
  #hero h1,
  .hero-content h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 30px;
  }
  .swiperCentrale {
    width: 100vw;
    margin-left: calc((935px - 100vw) / 2);
    margin-right: calc((935px - 100vw) / 2);
    padding: 70px calc((100vw - 935px) / 2);
  }
  #homepage .layout-alternato .section-left .image-wrap {
    margin-right: calc((960px - 100vw) / 2);
  }
  #homepage .layout-alternato .section-right .image-wrap {
    margin-left: calc((960px - 100vw) / 2);
  }
  #about #competence .image-gallery.translated {
    transform: none;
  }
  #team .wrapper-author {
    width: 33%;
  }
  .swiperLateral {
    margin-right: calc((935px - 100vw) / 2);
    padding-right: calc((100vw - 935px) / 2);
  }
  .swiperCentrale .swiper-pagination-progressbar,
  .swiperFullWidth .swiper-pagination-progressbar {
    width: 30vw;
  }
  .swiperLateral .swiper-pagination-progressbar,
  .mySwiperTeam .swiper-pagination-progressbar {
    width: 30vw;
    left: 0;
    transform: none;
  }
  .swiperCentrale .wrapper-arrows,
  .swiperFullWidth .wrapper-arrows {
    left: calc(50% + 23vw);
  }
  .swiperLateral .wrapper-arrows,
  .mySwiperTeam .wrapper-arrows {
    left: 40vw;
  }
  #work .mySwiperWork .wrapper-image {
    aspect-ratio: 1/1;
  }
  #work .mySwiperWork .wrapper-content {
    padding: 0 100px 0 60px;
  }
  #contacts #form .col-border-right {
    padding-right: 60px;
  }
  #contacts #form .col-space-left {
    padding-left: 60px;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  #footer .order-one {
    order: 1;
    padding-bottom: 40px;
  }
  #footer .order-two {
    order: 3;
  }
  #footer .order-three {
    order: 4;
    margin-top: 40px;
    flex-wrap: wrap;
    column-gap: 13px;
    row-gap: 10px;
  }
  #footer .order-four {
    order: 2;
    margin: 0;
    padding: 0 calc(var(--bs-gutter-x) * .5);
    border: none;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 8px;
    padding-bottom: 40px;
  }
  .cta-button {
    padding: 11px 33px;
  }
  #hero {
    height: 750px;
  }
  h1,
  #hero h1,
  .hero-content h1 {
    font-size: 38px;
  }
  h2 {
    font-size: 28px;
  }
  .swiperCentrale,
  .swiperLateral,
  .swiperFullWidth {
    width: 100vw;
    margin-left: calc((695px - 100vw) / 2);
    margin-right: calc((695px - 100vw) / 2);
    padding: 30px calc((100vw - 695px) / 2) 70px;
  }
  #homepage .layout-alternato .section-left .image-wrap {
    margin-right: calc((720px - 100vw) / 2);
  }
  #homepage .layout-alternato .section-right .image-wrap {
    margin-left: calc((720px - 100vw) / 2);
  }
  .swiperCentrale .swiper-pagination-progressbar,
  .swiperLateral .swiper-pagination-progressbar,
  .mySwiperTeam .swiper-pagination-progressbar,
  .swiperFullWidth .swiper-pagination-progressbar {
    width: 45vw;
  }
  #about #competence .image-gallery.translated {
    transform: none;
  }
  #about #competence .padding-left-100 {
    padding-left: calc(var(--bs-gutter-x) * .5);
  }
  #about #team .wrapper-title-team {
    padding: 0 0 0 25px;
  }
  #about #team .description {
    padding: 0 25px;
  }
  #team .wrapper-author {
    padding: 0px 0 70px 40px;
    width: 30%;
  }
  #team .mySwiperTeam .swiper-slide {
    flex-direction: column-reverse;
  }
  #contacts .mobile-reverse {
    flex-direction: column-reverse;
  }
  #contacts #form .col-space-left {
    padding-left: calc(var(--bs-gutter-x) * .5);
  }
  #contacts #form .col-border-right {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-top: 70px;
    margin-top: 40px;
    border-right: none;
    border-top: 1px solid #2F538A;
  }
  #contacts #locations {
    padding: 100px 0;
  }
  #products #categories .nav-fill {
    flex-direction: column;
    gap: 16px;
  }
  #products #categories .nav-item .nav-link {
    padding: 0 30px 8px;
  }
  #products #categories .nav-item h3 {
    font-size: 18px;
  }
  #products #categories .arrow-tab img {
    width: 24px;
  }
  #products #categories .nav-link.active .arrow-tab img {
    transform: rotate(45deg);
  }
  #impiantistica .mobile-reverse {
    flex-direction: column-reverse;
  }
  #solutions #parallax-desktop .image-gallery.first,
  #solutions #parallax-desktop .image-gallery.second {
    transform: none;
  }
  #solutions #parallax-desktop .image-gallery {
    width: calc(50% - 8px);
    aspect-ratio: 1;
  }
  #work #process .wrapper-steps {
    padding-top: 30px;
    row-gap: 25px;
  }
  #work #offer {
    background: #F5F8FC;
    padding: 65px 0;
  }
  #work #offer .container-fluid {
    max-width: 720px;
    padding: 0 calc(var(--bs-gutter-x) * .5);
  }
  #work .mySwiperWork .swiper-slide,
  #work .mySwiperWork .swiper-slide.slide-reverse {
    flex-direction: column-reverse;
    height: auto;
  }
  #work .mySwiperWork .wrapper-image {
    width: 100%;
    aspect-ratio: 270 / 320;
  }
  #work .mySwiperWork .wrapper-content {
    height: 100%;
    justify-content: flex-start;
    padding: 0;
  }
  #work #details {
    text-align: left;
  }
  #work #details .wrapper-icons {
    padding-top: 40px;
    gap: 45px;
  }
  #work #details .single-detail {
    display: flex;
    gap: 12px;
    align-items: center;
  }
}
@media screen and (min-width: 768px) {
  #homepage .text-col {
    position: sticky;
    top: 300px;
  }
  #story .wrapper-content {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  #footer {
    padding: 50px 0;
  }
  #footer .footer-logo {
    padding-bottom: 40px;
  }
  #footer .locations {
    flex-wrap: wrap;
    row-gap: 40px;
  }
  #footer .wrapper-location {
    width: 48%;
  }
  #footer .order-one {
    order: 1;
    padding-bottom: 40px;
  }
  #footer .order-two {
    order: 3;
  }
  #footer .order-three {
    order: 4;
    margin-top: 40px;
    flex-wrap: wrap;
    column-gap: 13px;
    row-gap: 10px;
  }
  #footer .order-four {
    order: 2;
    margin: 0;
    padding: 0 calc(var(--bs-gutter-x) * .5);
    border: none;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 8px;
    padding-bottom: 40px;
  }
  #footer h3 {
    font-size: 16px;
  }
  .container,
  #work #offer .container-fluid {
    padding-left: 24px;
    padding-right: 24px;
    max-width: 540px;
  }
  .cta-button {
    padding: 11px 33px;
  }
  #hero {
    height: 650px;
    justify-content: flex-end;
    padding-bottom: 145px;
  }
  #homepage #hero .cta-arrow {
    margin-right: 0;
    margin-left: auto;
  }
  #homepage #reality {
    padding: 65px 0;
  }
  #homepage #identity {
    padding: 65px 0 0;
  }
  #homepage #identity .box-identity .link-arrow {
    padding: 80px 40px;
    margin-bottom: 0;
  }
  #homepage #identity .box-identity h3 {
    font-size: 25px;
    margin-bottom: 0;
  }
  #homepage #identity .box-identity p {
    display: none;
  }
  #homepage #news {
    padding: 90px 0 70px;
  }
  .cta-arrow {
    width: 46px;
  }
  #homepage .mySwiper .cta-arrow {
    top: 20px;
    right: 20px;
  }
  #homepage .mySwiper .swiper-slide {
    aspect-ratio: 318 / 256;
  }
  #homepage .mySwiper .swiper-slide .link-arrow {
    padding: 20px;
  }
  #homepage .stats-block {
    padding: 65px 0;
  }
  #homepage .stat {
    margin-bottom: 50px;
  }
  #homepage .stat:last-of-type {
    margin-bottom: 0;
  }
  #homepage .layout-alternato {
    margin-top: 100px;
    margin-bottom: 50px;
  }
  #homepage .layout-d {
    display: none;
  }
  #homepage .layout-mobile {
    display: block;
  }
  #homepage .images-col {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  h1,
  #hero h1,
  .hero-content h1 {
    font-size: 35px;
  }
  h2 {
    font-size: 25px;
  }
  .description p {
    font-size: 17px;
    line-height: 25px;
  }
  .scroll-to{
      display: none;
  }
  #intro {
    padding: 70px 0;
  }
  #banner {
    padding: 160px 0;
  }
  #about #mission {
    padding: 65px 0;
    min-height: auto;
    height: auto;
  }
  #about #mission .my-flex-accordion .accordion-panels {
    flex-direction: column;
  }
  #about #mission .accordion-panel,
  #about #mission .accordion-panel.is-open {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #fff;
    margin-bottom: 30px;
  }
  #about #mission .accordion-panel:last-of-type {
    margin-bottom: 0;
  }
  #about #mission .panel-inner {    
    padding: 0 0 25px 0;
  }
  #about #mission .panel-content {
    max-height: 0;
  }
  #about #mission .accordion-panel .panel-button {
    margin-top: 20px;
  }
  #about #mission .accordion-panel.is-open .panel-button {
    display: none;
  }
  #about #team {
    padding: 65px 0 55px;
  }
  #about #team .bg-lightblue {
    padding: 0 24px;
    background: transparent;
  }
  #about #team .wrapper-title-team,
  #about #team .description {
    padding: 0;
  }
  #about #team .wrapper-author {
    padding: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(-180deg);
    display: flex;
    gap: 10px;
    bottom: 100px;
    left: 10px;
  }
  #about #team .art-desc {
    display: none;
  }
  #about #competence .wrapper-gallery {
    margin-bottom: 24px;
  }
  #about #competence .image-gallery {
    aspect-ratio: 1/1;
  }
  #about #competence .image-gallery.translated {
    transform: none;
  }
  #about #competence .padding-left-100 {
    padding-left: calc(var(--bs-gutter-x) * .5);
  }
  #story {
    padding: 65px 0;
  }
  #story .overlay {
    background: rgba(0, 0, 0, 0.60);
  }
  #story .mySwiperStory {
    padding-bottom: 55px;
  }
  #story .mySwiperStory .swiper-slide .wrapper-image {
    width: 100%;
  }
  #story .title {
    position: relative;
    left: 0;
    bottom: auto;
    margin-bottom: 15px;
    font-size: 16px;
  }
  #story .wrapper-content {
    display: none;
  }
  #story .wrapper-content.active {
    display: block;
  }
  #contacts .mySwiperContact .swiper-slide,
  #team .mySwiperTeam .swiper-slide {
    aspect-ratio: 270/368;
  }
  #contacts #form {
    padding: 70px 0;
  }
  #contacts .mobile-reverse {
    flex-direction: column-reverse;
  }
  #contacts #form .col-space-left {
    padding-left: calc(var(--bs-gutter-x) * .5);
  }
  #contacts #form .col-border-right {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-top: 70px;
    margin-top: 40px;
    border-right: none;
    border-top: 1px solid #2F538A;
  }
  #contacts #locations {
    padding: 70px 0;
  }
  #impiantistica .mobile-reverse {
    flex-direction: column-reverse;
  }
  #products #slider {
    padding: 65px 0;
  }
  #products .mySwiperSolutions .swiper-slide {
    aspect-ratio: 270/368;
  }
  #products #impiantistica {
    padding: 45px 0;
  }
  #solutions .number1 .img-section {
    aspect-ratio: 342/312;
    margin-top: 40px;
  }
  #solutions #parallax-desktop .wrapper-gallery {
    margin-bottom: 40px;
  }
  #solutions #parallax-desktop .image-gallery.first,
  #solutions #parallax-desktop .image-gallery.second {
    transform: none;
  }
  #solutions #parallax-desktop .image-gallery {
    width: calc(50% - 8px);
    aspect-ratio: 1;
  }
  #solutions .number3 .img-section {
    aspect-ratio: 342/312;
  }
  #work #open-positions,
  #work #process {
    padding: 65px 0;
  }
  #work #open-positions h5,
  #work #open-positions h2 {
    text-align: left;
  }
  #work #open-positions .single-position {
    padding: 30px 0;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }
  #work #process .wrapper-steps {
    padding-top: 20px;
    gap: 16px;
  }
  #work #process .single-step {
    aspect-ratio: 1/1;
    padding: 25px 50px 25px 25px;
  }
  #work #offer {
    background: #F5F8FC;
    padding: 50px 0;
  }
  #work .mySwiperWork .swiper-slide,
  #work .mySwiperWork .swiper-slide.slide-reverse {
    flex-direction: column-reverse;
    height: auto;
  }
  #work .mySwiperWork .swiper-slide-active .wrapper-content {
    opacity: 1;
  }
  #work .mySwiperWork .wrapper-content {
    height: 100%;
    justify-content: flex-start;
    padding: 0;
    opacity: 0;
  }
  #work .mySwiperWork .wrapper-image {
    width: 100%;
    aspect-ratio: 270/368;
  }
  #work #details {
    text-align: left;
    padding: 65px 0;
  }
  #work #details .wrapper-icons {
    padding-top: 40px;
    gap: 45px;
  }
  #work #details .single-detail {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  #work #details .icon {
    width: 52px;
  }
  #documentation #download,
  #projects #case-study {
    padding: 65px 0;
  }
  #documentation #download .news-docs .col-md-6:last-of-type .docs-card {
    margin-bottom: 0;
  }
  #products #categories .nav-fill {
    flex-direction: column;
    gap: 16px;
  }
  #products #categories .nav-item .nav-link {
    padding: 0 30px 8px;
  }
  #products #categories .nav-item h3 {
    font-size: 18px;
  }
  #products #categories .arrow-tab img {
    width: 24px;
  }
  #products #categories .nav-link.active .arrow-tab img {
    transform: rotate(45deg);
  }
}
@media screen and (min-width: 576px) and (max-width: 767px) {
  .swiperCentrale,
  .swiperLateral,
  .swiperFullWidth,
  .mySwiperStory {
    width: 100vw;
    margin-left: calc((492px - 100vw) / 2);
    margin-right: calc((492px - 100vw) / 2);
    padding: 20px calc((100vw - 492px) / 2) 70px;
  }
  .mySwiperTeam {
    width: calc(100vw - ((100vw - 419px) / 2));
    margin-left: 36px;
    margin-right: calc((492px - 100vw) / 2);
    padding-right: calc((100vw - 492px) / 2);
    padding-top: 20px;
  }
  .mySwiperTeam .swiper-pagination-progressbar {
    width: 55vw;
  }
  #team .wrapper-author h3,
  #team .art-name {
    margin: 0;
  }
  .swiperCentrale .swiper-pagination-progressbar,
  .swiperLateral .swiper-pagination-progressbar,
  .swiperFullWidth .swiper-pagination-progressbar,
  .mySwiperStory .swiper-pagination-progressbar {
    width: 60vw;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  #homepage #identity .box-identity {
    margin-left: calc((492px - 100vw) / 2);
    margin-right: calc((492px - 100vw) / 2);
  }
  #homepage .layout-alternato .section-right {
    background: #F5F8FC;
    margin: 20px calc((492px - 100vw) / 2) 70px;
    padding: 70px calc((100vw - 520px) / 2) 30px;
  }
  #work .mySwiperWork .wrapper-content {
    width: 145%;
  }
}
@media screen and (max-width: 575px) {
  .swiperCentrale,
  .swiperLateral,
  .mySwiperStory,
  .swiperFullWidth {
    width: 100vw;
    margin-left: -24px;
    margin-right: -24px;
    padding: 20px 24px 70px 24px;
  }
  #team .mySwiperTeam {
    width: calc(100vw - 60px);
    margin-left: 36px;
    margin-right: -24px;
    padding-right: 24px;
    padding-top: 20px;
  }
  #team .wrapper-author h3,
  #team .art-name {
    margin: 0;
    font-size: 14px;
    line-height: 24px;
  }
  #story .wrapper-content {
    min-height: 275px;
  }
  .swiperCentrale .swiper-pagination-progressbar,
  .swiperLateral .swiper-pagination-progressbar,
  .mySwiperTeam .swiper-pagination-progressbar,
  .mySwiperStory .swiper-pagination-progressbar,
  .swiperFullWidth  .swiper-pagination-progressbar {
    width: 70vw;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  #homepage #identity .box-identity {
    margin-left: -24px;
    margin-right: -24px;
  }
  #homepage .layout-alternato .section-left {
    padding: 0 12px;
  }
  #homepage .layout-alternato .section-right {
    background: #F5F8FC;
    margin: 20px -24px 60px;
    padding: 70px 24px 20px;
  }
  #work .mySwiperWork .wrapper-content {
    width: calc(100vw - 48px);
  }
}


/* CODICE DA VALUTARE SE TENERE */

.country-list {
  position: absolute;
  top: 10px;
  left: 10px;
  background: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  max-height: 300px;
  overflow-y: auto;
}
.country-list h3 {
  margin: 0;
  font-size: 1rem;
}
.country-list ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.country-list li {
  cursor: pointer;
  padding: 5px;
  border-bottom: 1px solid #ddd;
}
.country-list li:hover {
  background: #f0f0f0;
}