/*
Theme Name: gentilmente-child
Theme URI: http://ubisive.it/
Description: Tema child di gentilmente
Author: Ubisive
Author URI: http://gentilmente.ai.com/
Template: gentilmente
Version: 1.0.0
Text Domain: gentilmente-child
*/

/* Light */
.element-class {
    font-family: "early-sans-variable", sans-serif;
    font-variation-settings: "wght" 300;
}

/* Light Italic */
.element-class-italic {
    font-family: "early-sans-variable", sans-serif;
    font-variation-settings: "wght" 300;
    font-style: italic;
}
/* Regular */
.element-class-ivyora {
    font-family: "ivyora-display", serif;
    font-weight: 400;
    font-style: normal;
}

/* Italic */
.element-class-ivyora-italic {
    font-family: "ivyora-display", serif;
    font-weight: 400;
    font-style: italic;
}

/* Bold */
.element-class-ivyora-bold a{
    font-family: "ivyora-display", serif;
    font-weight: 700;
    font-style: normal;
}

/* Bold Italic */
.element-class-ivyora-bold-italic {
    font-family: "ivyora-display", serif;
    font-weight: 700;
    font-style: italic;
}

.h2 h2{  
  font-family: "ivyora-display" !important;
  font-weight: 300 !important;
  font-size: 65px !important;
  line-height: 75px !important;
  }


  .h2-sottotitolo  h2{  
  font-family: "ivyora-display" !important;
  font-weight: 300 !important;
  font-size: 55px !important;
  line-height: 75px !important;
  }

#home h4{
  font-family: "ivyora-display" !important;
  font-weight: 300 !important;
  font-size: 28px !important;
  line-height: 30px !important;
  }

  .h2-early-titolo h2{  
 font-family: "early-sans-variable",  sans-serif !important;
 font-weight: 300 !important;
  font-size: 55px !important;
  line-height: 75px !important;
  } 

.h2-early h2{  
 font-family: "early-sans-variable",  sans-serif !important;
 font-weight: 300 !important;
  font-size: 55px !important;
  line-height: 75px !important;
  }


.cretive-button-text{  
  font-family: "early-sans-variable", sans-serif !important;
  font-weight:  300 !important;}

a{
  font-family: "early-sans-variable", sans-serif !important;
  font-weight:  300;
} 
#header-button .eael-creative-button{ 
  font-family: "early-sans-variable", sans-serif !important;
  font-weight:  300;
}

button{
  font-family: "early-sans-variable", sans-serif;
  font-weight:  300;
} 
p{
  font-family: "early-sans-variable", sans-serif !important;
  font-weight:  300;
 }


 p b, strong{
  font-family: "early-sans-variable", sans-serif !important;
  font-weight:  500  !important;
 }





.elementor-background-slideshow .swiper .elementor .swiper-wrapper .elementor-background-slideshow__slide__image img { 
    background-position-y: -130px !important;
}


button:hover {background-color: #000000  !important;}
button:focus {background-color: #000000  !important;}

 /* Menu principale */
.menu-container {
  position: relative;
  display: inline-block;
  font-family: sans-serif;
}

.menu-button {
  min-width: 150px !important;
  background-color: #000000;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  padding: 20px 30px !important;
}

.menu-button:hover {
  background-color: #111111 !important;
}

/* Contenitore dropdown */
.menu-dropdown {
  position: absolute;
  top: 60px;
  left: -20px;
  background-color: #000000;
  border-radius: 30px;
  padding: 10px 0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);

  /* Animazione apertura */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Lista e voci */
.menu-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-dropdown li {
  margin: 5px 20px;
  border-radius: 15px;
  transition: background-color 0.3s ease;
}

.menu-dropdown li:hover {
  background-color: #333333; /* Casella grigio scura al passaggio */
}

/* Link interni */
.menu-dropdown a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 10px;
  font-size: 18px;

  /* Animazione singole voci */
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

.menu-dropdown a:hover {
  color: #ffffff;
  font-weight: 500;
}

/* Mostra il menu e le voci con animazione */
.menu-container.active .menu-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Animazione singole voci con ritardo a cascata */
.menu-container.active .menu-dropdown li:nth-child(1) a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}
.menu-container.active .menu-dropdown li:nth-child(2) a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
.menu-container.active .menu-dropdown li:nth-child(3) a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}
.menu-container.active .menu-dropdown li:nth-child(4) a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}-container.active .menu-dropdown li:nth-child(3) a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}
.menu-container.active .menu-dropdown li:nth-child(4) a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}



/* ---- -------- hamburger mobile  */

:root {
  --icon-open: url("/img/menu-icon.png"); /* tre puntini */
  --icon-close: url("/img/menu-close.png"); /* X bianca */
}

/* Bottone icona tre puntini */
.menu-toggle {
  top: 20px;
  left: 80px;
  width: 40px;
  height: 40px;
  background: var(--icon-open) no-repeat center;
  background-size: contain;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

/* Menu fullscreen */
.menu-container2 {
  position: fixed;
  inset: 0;
  background-color: #000;
  display: block;
  visibility: hidden; 
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transform: translateY(100%); 
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0s linear 0.4s;
  pointer-events: none;    
}

.menu-container2.active {
  visibility: visible;
  display: flex;
  opacity: 1;
  transform: translateY(0);
  height: 100vh;
  top: 55px;
  border-radius: 30px 30px 0px 0px;
  margin: 0px 15px 0px 15px;
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0s;
  pointer-events: auto;
}

/* Bottone chiudi */
.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--icon-close) no-repeat center;
  background-size: contain;
  border: none;
  cursor: pointer;
}

/* Contenuto menu */
.menu-content2 {
  text-align: center;
  color: white;
}

.menu-container2 img{
  position: absolute;
  top: 25px;
  left: 20px;
}


.menu-content2 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-content2 li {
  margin: 15px 0;
}

.menu-content2 a {
  color: white;
  text-decoration: none;
  font-size: 32px;
  font-family: sans-serif;
}

.menu-actions {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
}

.menu-actions button {
  background: white;
  color: black;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 24px;
  cursor: pointer;
  min-width: 335px;
  height: 56px;
}


.menu-actions button:hover {
  background: rgb(207, 207, 207) !important;
  color: rgb(0, 0, 0) !important;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 24px;
  cursor: pointer;
  min-width: 335px;
  height: 56px;
}

/* Animazione a cascata delle voci (opzionale) */
.menu-content2 li {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.menu-container2.active .menu-content2 li {
  opacity: 1;
  transform: translateY(0);
}
.menu-container2.active .menu-content2 li:nth-child(1) { transition-delay: 0.05s; }
.menu-container2.active .menu-content2 li:nth-child(2) { transition-delay: 0.10s; }
.menu-container2.active .menu-content2 li:nth-child(3) { transition-delay: 0.15s; }
.menu-container2.active .menu-content2 li:nth-child(4) { transition-delay: 0.20s; }
/* ---- -------- fine hamburger mobile  */

/* ---- bottoni principali*/
.button-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: left;
  padding: 40px;
  background-color: #f5f5f5;
}

.btn {
  width: 255px;
  height: 58px;
  font-family: "early-sans-variable", sans-serif;
  font-weight: 300;
  font-size: 16px;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-dark {
  background-color: #000;
  color: #fff;
}

.btn-light {
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}





/**/

.cta-btn {
  min-width: 195px !important;
  height: 58px;
  font-family: "early-sans-variable", sans-serif;
  font-weight: 300;
  font-size: 16px;
  padding: 20px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none !important;
  border-radius: 999px;
  position: relative;
  overflow: visible;
  -webkit-box-shadow: 5px 5px 25px 1px rgba(0,0,0,0.5); 
  box-shadow: 5px 5px 25px 1px rgba(0,0,0,0.5);
  background-image: linear-gradient(-45deg, #000000,#4a4343);
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: .2s;
  pointer-events: all;
}

.cta-label {
    pointer-events: auto !important;

}


.cta-img2 {
  margin-left: 45px;
  width: 254.78px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  pointer-events: auto !important;
  -webkit-box-shadow: 5px 5px 25px 1px rgba(0,0,0,0.5); 
  box-shadow: 5px 5px 25px 1px rgba(0,0,0,0.5);
  
}

.cta-circle2 {
  width: 100%;
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translate(50%, -50%);
  width: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  pointer-events: auto !important;
  
}

.cta-arrow-white {
  position: absolute;
  left: 17%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: url('img/freccia-dx.svg') no-repeat center;
  background-size: contain;
  transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
  pointer-events: auto !important;
  opacity: 0.8;
}

.cta-btn_white  {
  min-width: 195px !important;
  height: 58px;
  font-family: "early-sans-variable", sans-serif;
  font-weight: 300;
  font-size: 16px;
  padding: 20px 20px;
  display: inline-flex;
  align-items: center;
  color: black !important;
  text-decoration: none !important;
  border-radius: 999px;
  position: relative;
  overflow: visible;
  -webkit-box-shadow: 5px 5px 20px 5px rgba(214, 214, 214, 0.5) !important; 
  box-shadow: 5px 5px 25px 5px rgba(227, 227, 227, 0.5);
  background-image: linear-gradient(-45deg, #ffffff,#ededed) !important;
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: .2s #ededed;
  background-color: white !important;
  pointer-events: all !important;
}

.cta-circle3{
  width: 100%;
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translate(50%, -50%);
  width: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  pointer-events: auto !important;
  
}

.cta-arrow-black {
  position: absolute;
  left: 17%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: url('img/freccia-dx-bianco.svg') no-repeat center !important;
  background-size: contain;
  pointer-events: auto !important;
}

.cta-img3 {
  margin-left: 45px;
  width: 254.78px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  pointer-events: auto !important;
  -webkit-box-shadow: 5px 5px 25px 1px rgba(0,0,0,0.5); 
  box-shadow: 5px 5px 25px 1px rgba(0,0,0,0.5);
  filter: invert(1); 
  
}


.e-n-tab-title:hover{ background-color: none !important;}





/* Animazione in hover */

.cta-circle2:hover {
  width: 100%;
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translate(50%, -50%);
  width: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  pointer-events: auto !important;  
}
.cta-circle3:hover {
  width: 100%;
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translate(50%, -50%);
  width: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  pointer-events: auto !important;  
}





.cta-btn:hover {
  color: #fff;
  background-size: 100% 100%;
}

.cta-btn_white:hover {
  color: #000000;
  background-size: 100% 100%;
}

.cta-arrow-white:hover,
.cta-arrow-white:hover,:focus{
  pointer-events: auto !important;
  transform: translateX(-40%) translateY(-2px);
  transform: scale(1); 
}

.cta-arrow-black:hover,
.cta-arrow-black:hover,:focus{
  pointer-events: auto !important;
  transform: translateX(-40%) translateY(-2px);
  transform: scale(1); 
}


/* --- ----- tab HOMEPAGE ----- ------ */
#tab-home .elementor-widget-n-tabs .e-n-tab-title {
  min-width: 580px;
  min-height: 130px;
  padding-top: 30px;
  padding-right: 40px;
  padding-bottom: 30px;
  padding-left: 40px;
  text-align: left !important; 
}


#tab-home .elementor-widget-n-tabs .e-n-tab-title:nth-child(1) {
  background: rgba(255, 255, 255, 1);
  opacity: 0.7;
  box-shadow: 0px 0px 25px 10px rgba(120, 159, 214, 0.65) inset;
  border-radius: 30px;
  opacity: 0.7;
}

#tab-home .elementor-widget-n-tabs .e-n-tab-title:nth-child(1):hover {
  background: rgba(255, 255, 255, 1) !important;
  opacity: 0.7;
  box-shadow: 0px 0px 25px 10px rgba(120, 159, 214, 0.65) inset;
  border-radius: 30px;
  opacity: 0.7;
}




#tab-home .elementor-widget-n-tabs .e-n-tab-title:nth-child(2) {
  background: rgba(255, 255, 255, 1);
  opacity: 0.7;
  box-shadow: 0px 0px 25px 10px rgba(185, 219, 213, 0.95) inset !important;
  border-radius: 30px;
}

#tab-home .elementor-widget-n-tabs .e-n-tab-title:nth-child(2):hover{
  background: rgba(255, 255, 255, 1)  !important;
  opacity: 0.7;
  box-shadow: 0px 0px 25px 10px rgba(185, 219, 213, 0.95) inset !important;
  border-radius: 30px;
}

#tab-home .elementor-widget-n-tabs .e-n-tab-title:nth-child(3) {
  background: rgba(255, 255, 255, 1);
  opacity: 0.7;
  box-shadow: 0px 0px 25px 10px rgba(231, 193, 190, 0.65) inset;
  border-radius: 30px;
}
#tab-home .elementor-widget-n-tabs .e-n-tab-title:nth-child(3):hover  {
  background: rgba(255, 255, 255, 1) !important;
  opacity: 0.7;
  box-shadow: 0px 0px 25px 10px rgba(231, 193, 190, 0.65) inset;
  border-radius: 30px;
}


/* Tab 1 attiva */
/* Seleziona il primo child attivo dentro l'elemento specifico */
.elementor-element.elementor-element-5c6307a.e-con-full.e-flex.e-con.e-child.e-active:nth-child(1) {
  backdrop-filter: blur(10px);
  box-shadow: 0px 0px 25px 10px rgba(120, 159, 214, 0.65) inset  !important;
  background: rgba(185, 219, 213, 0.05);
  border-radius: 30px; /* opzionale per ammorbidire */
  padding: 20px;       /* opzionale per spaziatura interna */
  background: rgba(255, 255, 255, 1) !important;

}

/* Tab 2 attiva */
/* Seleziona il 2 child attivo dentro l'elemento specifico */
.elementor-element.elementor-element-cdbdaf5.e-con-full.e-flex.e-con.e-child.e-active:nth-child(2) {
  backdrop-filter: blur(10px);
  box-shadow: 0px 0px 25px 10px rgba(185, 219, 213, 0.95) inset !important;
  background: rgba(185, 219, 213, 0.05);
  border-radius: 30px; /* opzionale per ammorbidire */
  padding: 20px;       /* opzionale per spaziatura interna */
  background: rgba(255, 255, 255, 1) !important;

}

/* Tab 3 attiva */
/* Seleziona il 3 child attivo dentro l'elemento specifico */
.elementor-element.elementor-element-1e95bd1.e-con-full.e-flex.e-con.e-child.e-active:nth-child(3) {
  backdrop-filter: blur(10px);
  box-shadow: 0px 0px 25px 10px rgba(231, 193, 190, 0.65) inset;
  background: rgba(185, 219, 213, 0.05);
  border-radius: 30px; /* opzionale per ammorbidire */
  padding: 20px;       /* opzionale per spaziatura interna */
  background: rgba(255, 255, 255, 1) !important;

}




#tab-home .e-n-tab-title-text{
display: block;
width: 100% !important;
font-family: "ivyora-display", serif;
font-weight: 300;
font-style: Light;
font-size: 25px;
line-height: 110.00000000000001%;
letter-spacing: 0%;
text-align: left;
color: rgba(0, 0, 0, 1);
background: rgba(255, 255, 255, 1) !important;

}



#tab-home .e-n-tabs-heading .e-n-tab-title:nth-child(1) .e-n-tab-title-text::after {
  content: "Basato su neuroscienze, psicologia positiva e teoria polivagale, sviluppato in oltre 20 anni di ricerca clinica.";
  width: 100% !important;
  display: block;          /* forza il testo a capo */
  font-size: 18px;
  color: rgba(81, 81, 81, 1);  margin-top: 4px;
  line-height: 1.4;
  font-family: "early-sans-variable", sans-serif !important;  
  font-weight: 300 !important;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 1) !important;
  
}

button:focus {
  background-color: white !important;
}


/* Secondo tab: Porta aperta */
#tab-home .e-n-tabs-heading .e-n-tab-title:nth-child(2) .e-n-tab-title-text::after {
  content: "Un'intelligenza artificiale progettata per accogliere senza giudizio e comprendere autenticamente le tue emozioni. ";
  display: block;
  font-size: 18px;
  color: rgba(81, 81, 81, 1);
  margin-top: 4px;
  line-height: 1.4;
  font-family: "early-sans-variable", sans-serif !important;  
  font-weight: 300 !important;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 1) !important;

}

/* Terzo tab: Sonno */
#tab-home  .e-n-tabs-heading .e-n-tab-title:nth-child(3) .e-n-tab-title-text::after {
  content: "Ogni percorso è unico: ricevi proposte su misura per imparare a prenderti cura di te con dolcezza e rispetto.";
  display: block;
  font-size: 18px;
  color: rgba(81, 81, 81, 1);
  margin-top: 4px;
  line-height: 1.4;
  font-family: "early-sans-variable", sans-serif !important;  
  font-weight: 300 !important;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 1) !important;
}

/* CAROSELLO + BOX */
#box-carousel {
  display: flex; 
  gap: 20px;
}

#box-carousel .card-carosello  {
  flex: 1;
  min-width: 250px !important;
}

/* CAROSELLO2 ------------------------------------------------------------------------------------------------ */
/* Frecce */
.frecce-wrapper {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 0px;
  margin-bottom: 20px;
  background-color: white !important;
  object-fit: cover;
  background-image: url("https://gentilmente.wp.jef.it/wp-content/uploads/2025/12/frecce.png");
  background-repeat: no-repeat;
  background-position-y: center;
  background-position-x: center;

}


.frecce-carosello {
  background-color: transparent  !important;
  width: 70px;
  height: 70px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  background-size: 100% auto; 
  background-position: center;
  background-repeat: no-repeat;
  box-shadow:none !important;
  color: transparent;
}
.frecce-carosello button {background-color: none !important;}

/* Immagini diverse per sinistra e destra */
.frecce-carosello.left {
  object-fit: cover;
  align-content: end;
 background-image: url("https://gentilmente.wp.jef.it/wp-content/uploads/2025/12/sx.png");
}

.frecce-carosello button :hover{ background-color: white !important; color: none !important;}
.frecce-carosello.left button:focus{ background-color: white !important; color: transparent !important;}
.frecce-carosello.right button:hover{ background-color: white !important; color: transparent !important; border-radius: 50px;}
.frecce-carosello.right {
  object-fit: cover; 
  align-content: start;
  background-image: url("https://gentilmente.wp.jef.it/wp-content/uploads/2025/12/prova.png");
  object-position: left ;
}

.frecce-carosello:hover {
  background-color: none;
  color: none;

}

/* Carosello */
.carousel-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.carosello2 {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 30px;
  padding: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carosello2::-webkit-scrollbar { display: none; }

.card-carosello2 {
  flex: 0 0 400px;
  scroll-snap-align: start;
  background-size: cover;
  background-position: center;
  border-radius: 30px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  display: flex;
  align-items: flex-end;
  color: #fff;
  position: relative;
  overflow: hidden;
  width: 480px !important;
  height: 410px !important;
}

.card-carosello2.active {
  flex: 0 0 400px;
  transform: scale(1.05);
  z-index: 2;
}
.card-carosello2 .card-content {
  padding: 20px;
  border-radius: 30px;
  width: 100%;
  height: 100%;
  text-align: left;
  align-content: end;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
  linear-gradient(180deg, rgba(120, 159, 214, 0) 57.12%, #789FD6 100%);

}
.card-carosello2 h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: "early-sans-variable",  sans-serif !important;
  font-weight: 600 !important;
  font-size: 20px !important;
  color:white ;

}
.card-carosello2 p {
  font-size: 1rem;
  line-height: 1.5;
  font-family: "early-sans-variable",  sans-serif !important;
  font-weight: 300 !important;
  font-size: 20px !important;
  color:white ;
  margin-bottom: none !important;
}

/* fine CAROSELLO2 ------------------------------------------------------------------------------------------------ */

/* CAROSELLO colorato ------------------------------------------------------------------------------------------------ */

/* Wrapper generale */
.carosello-colorato {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  gap: 24px;              /* spazio tra le card */
  padding: 16px 0;
}

/* Card base */
.card-carosello-colorato {
  flex: 0 0 auto;
  scroll-snap-align: center;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, opacity 0.4s ease, width 0.4s ease, height 0.4s ease;
  width: 280px;
  height: 380px;
  opacity: 0.8;
  transform: scale(0.95);
  position: relative;
  color: #333;
}

/* Card attiva (centrata) */
.card-carosello-colorato.active {
  width: 380px;
  height: 477px;
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Contenuto interno */
.card-carosello-colorato .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: rgba(255,255,255,0.85);
  border-radius: 0 0 16px 16px;
  text-align: left;
}

.card-carosello-colorato h3 {
  font-size: 1.2rem;
  margin: 0 0 8px;
  font-weight: 600;
}

.card-carosello-colorato p {
  font-size: 0.95rem;
  margin: 0 0 12px;
  line-height: 1.4;
}

.card-carosello-colorato .cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0066cc;
  cursor: pointer;
}











/* responsive desktop piccolo */
@media (max-width: 1190px) {

/* CAROSELLO + BOX */
#box-carousel {
    display: flex;
    overflow-x: auto !important;
    gap: 10px;
}
#box-carousel .card-carosello  {
    scroll-snap-type: none !important;
    flex:1 0 28%;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
    scrollbar-width: none; 
    -ms-overflow-style: none;    
}
  #gentilmente-steps::-webkit-scrollbar {
    width: 0;
    height: 0;  
  }
   


}


/* responsive tablet */
@media (max-width: 1024px) {


/* CAROSELLO + BOX */
#box-carousel {
    display: flex;
    overflow-x: auto;
    gap: 10px;
}

  #gentilmente-steps::-webkit-scrollbar {
    width: 0;
    height: 0;  
  }

  #box-carousel .card-carosello  {
    scroll-snap-type: none !important;
    flex:1 0 40%;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
    scrollbar-width: none; 
    -ms-overflow-style: none;    
}

  #tab-home .elementor-widget-n-tabs .e-n-tab-title{min-width: 100% !important;}
  #tab-home .elementor-widget-n-tabs .e-n-tab-title{ margin-bottom: 0px !important;}
    


  p{ font-size: 16px !important;}

  /* Tab 1 attiva */
  #tab-home .elementor-widget-n-tabs .e-n-tab-title:nth-child(1) {
  background: rgba(255, 255, 255, 1);
  opacity: 0.7;
  box-shadow: 0px 0px 25px 10px rgb(84 152 247 / 65%) inset;
  border-radius: 30px ;
  opacity: 0.7;
  transition:  0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease, opacity 0.3s ease;
  margin: none  !important;
}

 #tab-home .elementor-widget-n-tabs .e-n-tab-title.e-activated {
    margin-bottom: 20px;   /* distanza sotto il tab attivo */
    margin-top: 20px;      /* distanza sopra il tab attivo */
  }

  /* Se vuoi che tutti i tab abbiano margine fisso, non solo l’attivo */
  #tab-home .elementor-widget-n-tabs .e-n-tab-title {
    margin: 20px 0;        /* margine verticale uniforme */
  }


.elementor-element.elementor-element-5c6307a.e-con-full.e-flex.e-con.e-child.e-active:nth-child(1) {
  backdrop-filter: blur(10px);
  box-shadow: 0px 0px 25px 10px rgba(120, 159, 214, 0.65) inset !important;
  /* background: rgba(185, 219, 213, 0.05); */
  border-radius: 30px ;
  padding: 20px;
  background: rgba(255, 255, 255, 1) !important;
  opacity: 0.7;
}

/* Tab 2 attiva */
#tab-home .elementor-widget-n-tabs .e-n-tab-title:nth-child(2) {
  background: rgba(255, 255, 255, 1);
  opacity: 0.7;
  box-shadow: 0px 0px 25px 10px rgba(185, 219, 213, 0.95) inset !important;
  border-radius: 30px;
  transition:  0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease, opacity 0.3s ease;
  margin: none  !important;


}

 

.elementor-element.elementor-element-cdbdaf5.e-con-full.e-flex.e-con.e-child.e-active:nth-child(2) {
  backdrop-filter: blur(10px);
  box-shadow: 0px 0px 25px 10px rgba(185, 219, 213, 0.95) inset !important;
  background: rgba(185, 219, 213, 0.05);
  border-radius: 30px; /* opzionale per ammorbidire */
  padding: 20px;       /* opzionale per spaziatura interna */
  background: rgba(255, 255, 255, 1) !important;
  opacity: 0.7; 
}

/* Tab 3 attiva */
#tab-home .elementor-widget-n-tabs .e-n-tab-title:nth-child(3) {
  background: rgba(255, 255, 255, 1);
  opacity: 0.7;
  border-radius: 30px;
  transition:  0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease, opacity 0.3s ease;
  margin: none  !important;
}


  /*border-radius: 30px 30px 0px 0px;*/
.elementor-element.elementor-element-1e95bd1.e-con-full.e-flex.e-con.e-child.e-active:nth-child(3) {
  backdrop-filter: blur(10px);
  box-shadow: 0px 0px 25px 10px  rgba(231, 193, 190, 0.65) inset;
  background: rgba(185, 219, 213, 0.05);
  border-radius:  30px;
  padding: 20px;      
  background: rgba(255, 255, 255, 1) !important;
  opacity: 0.7;
}
  
 
  #tab-home .elementor-element.elementor-element-5c6307a.e-con-full.e-flex.e-con.e-child,
  #tab-home .elementor-element.elementor-element-cdbdaf5.e-con-full.e-flex.e-con.e-child,
  #tab-home .elementor-element.elementor-element-1e95bd1.e-con-full.e-flex.e-con.e-child {
    transition: max-height 0.4s ease, opacity 0.3s ease;
    overflow: hidden;
  }

  /* Sblocca eventuali display:none di Elementor */
  #tab-home .elementor-element.e-con-full.e-flex.e-con.e-child {
    display: block !important; /* usa flex se ti serve il layout */
  }

/* Frecce carosello  */
.frecce-wrapper {
  width: 140px;
}


}








/* responsive mobile */
@media (max-width: 768px) {
  .hfe-site-logo-container{ width: 127px !important}
  #tab-home .elementor-widget-n-tabs .e-n-tab-title{min-width: 100% !important;}
  #tab-home .elementor-widget-n-tabs .e-n-tab-title{ margin-bottom: 10px !important;}

  
  
  p{ font-size: 16px !important;}

  #home h4{
  font-family: "ivyora-display" !important;
  font-weight: 300 !important;
  font-size: 30px !important;
  line-height: 40px !important;
  }
  .h2 h2{    
  font-family: "ivyora-display" !important;
  font-weight: 300 !important;
  font-size: 35px !important;
  line-height: 45px !important;
  }

  .h2-sottotitolo h2{    
  font-family: "ivyora-display" !important;
  font-weight: 300 !important;
  font-size: 35px !important;
  line-height: 45px !important;
  }

   .h2-early-titolo h2{  
  font-family: "early-sans-variable",  sans-serif !important;
  font-weight: 300 !important;
  font-size: 35px !important;
  line-height: 45px !important;
  } 


  .h2-early h2{  
  font-family: "early-sans-variable",  sans-serif !important;
  font-weight: 300 !important;
  font-size: 35px !important;
  line-height: 45px !important;
  }


  /* CAROSELLO + BOX */
#box-carousel {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  scroll-snap-type: x mandatory; /* attiva snap sul contenitore */
  -webkit-overflow-scrolling: touch; /* scorrimento fluido su iOS */
}

/* Card del carosello */
#box-carousel .card-carosello {
    flex:1 0 70% !important; 
  scroll-snap-align: start;
  background: #fff;
  border-radius: 30px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Nascondere scrollbar */
#box-carousel::-webkit-scrollbar {
  display: none;
}
#box-carousel {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

  /* Frecce carosello  */
.frecce-wrapper {
  width: 140px;
}
  /* CAROSELLO2 */
.carosello2 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .card-carosello2 {
    flex: 0 0 auto;
    scroll-snap-align: center;
    transition: transform 0.4s ease, opacity 0.4s ease, width 0.4s ease, height 0.4s ease;
    width: 250px;
    height: 350px;
    opacity: 0.7;
    transform: scale(0.9);
  }

  .card-carosello2.active {
    width: 333px;
    height: 450px;
    opacity: 1;
    transform: scale(1);
    z-index: 
}