/* max */
:root {
  --site-scale: 1;
  scroll-behavior: auto !important;
}

@media (min-width: 1921px) {
  #main {
    transform: scale(var(--site-scale));
    transform-origin: top left;
    width: calc(100% / var(--site-scale));
  }
}

#main {
  min-height: calc(100vh / var(--site-scale));
  display: flex;
  flex-direction: column;
}

p {
  font-size: 16px;
  line-height: 160%;
  font-weight: normal;
}

/* max */



.apici-apri {
  position: absolute;
  top: 31px;
  left: 114px;
  height: 30px;
}

.apici-chiudi {
  position: absolute;
  bottom: 20px;
  right: -18px;
  height: 30px;
}

@media (max-width: 767.98px) {
  .apici-chiudi {
    right: 0px;
  }
}

.servizi .title-heading {
  display: inline-block;

  color: var(--accent-color);

  line-height: 0.5;

  font-size: 48px;

  font-weight: 700;



}

.servizi h6 {
  font-family: "Mark Pro";
  font-size: 17px;
  line-height: var(--line-height-loose);
  font-weight: bold;
}

.servizi .btn-title {
  font-size: 17px;
}

.servizi2 h3 {
  font-family: "Visage";
  font-size: 42px;

  font-weight: bold;
}

.servizi .col-sx {
  padding-left: 125px;
  padding-right: 50px;
}

.servizi .col-dx {
  padding-left: 50px;
  padding-right: 126px;
}

.intro {
  padding: 30px 20px 60px 20px;
}

.intro h2 {
  font-family: "Visage";

  font-weight: bold;
  line-height: 20px;
}

.intro h3 {
  font-family: "Visage";

  font-weight: bold;
  font-size: 20px;
}


.intro h3,
.intro h4,
.intro h5,
.intro h6 {
  font-family: "Mark Pro";

  font-weight: bold;
  line-height: 110%;
  max-width: 720px;
  margin: 0px auto;
}

.hero-container-home .title-heading {
  display: inline-block;
  color: #FF8A00;
  line-height: 0.5;
  font-weight: 700;
  font-family: "Visage";
}

.servizi-col {
  padding: 0px 50px;
}

.servizi-col h4 {
  font-family: "Mark Pro" !important;
  font-size: 16px;
  padding-bottom: 20px;
}



.intro h4 {
  font-size: 23px;
  margin-bottom: 30px;
}

.intro p {
  font-size: 14px;
  margin-bottom: 14px;
  font-weight: 700;
  color: #fff;
  max-width: 720px;
  margin: 0px auto 20px auto;
}

.case h2 {

  font-size: 80px;
  line-height: 70px;
  font-weight: bold;
  color: var(--accent-color);
  padding-left: 20px;
}



.case .grid-item {
  position: relative;
  display: inline-block;
}

.case .grid-item-img {
  width: 100%;
  border-radius: 20px 20px 20px 20px;
}

.case .item-info {
  position: absolute;
  bottom: 0px;
  background: #000e;
  padding: 10px 20px 10px 20px;
  border-radius: 20px 20px 20px 20px;
}

.case .item-info .item-title {
  color: #fff;
  font-size: 23px;
  line-height: 23px;
  font-weight: 700;
  margin-bottom: 10px
}

.case .plus-icon-circle {
  position: absolute;
  bottom: 0px;
  right: 0;
  width: 35px;
  height: 35px;
  background: var(--accent-color);
  text-align: center;
  border-radius: 20px;
  padding: 8px;
  color: #fff;
}

.case .g-5,
.case .gy-5 {
  --bs-gutter-y: 1rem;
}

.case .g-5,
.case .gx-5 {
  --bs-gutter-x: 1rem;
}

.case .btn-title {
  font-size: 17px;
}

.section.testimonial {
  padding: 160px 0px 120px 0px;

}

.testimonial .title-heading {
  display: inline-block;
  color: #FF8A00;
  line-height: 20px;
  font-weight: 700;
  margin-bottom: 40px;
}



.testimonial .swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 12px));
  height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 12px));
  display: inline-block;
  border-radius: var(--swiper-pagination-bullet-border-radius, 50%);
  background: var(--swiper-pagination-bullet-inactive-color, #777777);
  opacity: var(--swiper-pagination-bullet-inactive-opacity, .2);
}

.testimonial .swiper-pagination-bullet-active {
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: var(--swiper-pagination-color, #ff8a00);
  width: 50px;
  border-radius: 8px;
}

.action .guide-content .title-heading {
  display: inline-block;
  color: #fff;
  line-height: 55px;
  font-size: 64px;
  font-weight: bold;
  text-align: center;
  width: 100%;
}

.action .guide-content p {
  color: #fff;
  line-height: 23px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  margin-top: 20px;
  margin: 20px auto;

}

.breadcrumb a.active {
  color: #FF8A00;
}

.breadcrumb span.active {
  color: #FF8A00;
}

.header-servizio .title-heading {
  color: #FF8A00;
  line-height: 0.5;
  font-size: 110px;
}

.bg-header-sezione-b::before {

  content: '';
  position: absolute;
  background-image: var(--img-before);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  opacity: 1;
  top: 0;
  left: 0;
  z-index: -1;


}

.clienti-section {
  padding-bottom: 200px !important;
  max-width: 960px
}

.clienti-section h3 {
  color: #FF8A00;
  line-height: 50px;
  font-size: 65px;
  font-weight: 800;
  text-align: right;
}

/* .storia .title-heading {
  color: #FF8A00;
  line-height: 0.5;
  font-size: 70px;
  font-weight: 800;
} */

.storia .title-heading {
  font-size: 70px;
  font-weight: 800;
  line-height: 1.1;

  /* Definiamo due background: 
     1. Un gradiente radiale nero/trasparente al centro (per "smorzare")
     2. Il colore arancione pieno come base
  */
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, transparent 60%),
    #FF8A00;

  /* Applichiamo il background solo al testo */
  -webkit-background-clip: text;
  background-clip: text;

  /* Rendiamo il colore del testo trasparente per mostrare il background sfumato */
  color: transparent;

  /* Questo garantisce che la linea (che sta dietro) sia visibile 
     attraverso la parte "smorzata" del testo */
}


.storia .card {
  border-radius: 20px
}

.storia h3 {
  color: #FF8A00;

  font-size: 40px;
  font-weight: 800;
}

.storia h5 {
  color: #ffffff;

  font-size: 16px;

}

.storia p {
  font-size: var(--font-size-lg);
  margin-bottom: 14px;
  font-weight: var(--font-weight-medium);
  color: #fff;
  line-height: 24px;

}

.storia ul {
  margin: 0px;
  padding: 10px;
}

.storia li::before {
  content: "\f0c8";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  /* position: absolute; */
  left: 0;
  color: #ff8a00;
  font-size: 12px;
}

.storia li {
  color: #fff;
  font-size: 14px;
}

.numeri .title-heading {
  color: #FF8A00;
  line-height: 0.5;
  font-size: 70px;
  font-weight: 800;
}

.numeri p {
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  margin-top: -20px;
}

.numeri p::first-line {
  /* Questo sovrascrive il valore solo per la PRIMA riga */
  line-height: 62px;
  font-size: 25px;
  /* Puoi anche cambiare colore o stile solo alla prima riga se vuoi */

}

.numeri p strong,
.numeri p b {
  font-size: 58px;
  font-weight: 600;
  font-family: "Mark Pro";
  display: block;
  -webkit-text-stroke: 1px currentColor;
}

.section.team {
  padding-left: 0px;
  padding-right: 0px;
}

.team .card {
  border-radius: 20px;
}

.team .title-heading {
  color: #FF8A00;
  line-height: 0.5;
  font-size: 70px;
  font-weight: 800;
}

.team h5 {
  color: #FF8A00;
  font-size: 14px;
  padding: 0px 10px 0px 10px;
  line-height: 14px;
}

.team img {
  border-radius: 20px;
}

.team p {
  padding-right: 10px;
  font-size: 12px;
}

.team p.cv {
  color: #fff;
  font-size: 11px;
  padding-right: 10px;
  padding-top: 15px;
}

.team p.carica {
  color: #fff;
  font-size: 11px;
  padding-left: 10px;
}

.team .swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
  height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
  display: inline-block;
  border-radius: var(--swiper-pagination-bullet-border-radius, 50%);
  background: var(--swiper-pagination-bullet-inactive-color, #777777);
  opacity: var(--swiper-pagination-bullet-inactive-opacity, .2);
}

.team .swiper-pagination-bullet-active {
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: var(--swiper-pagination-color, #ff8a00);
  width: 40px;
  border-radius: 3px;
}

.button-yellow {
  background-color: #ff8a00;
  color: white;
  font-weight: bolder;
  border-radius: 15px;
  padding: 12px;
  min-width: 130px;
  display: inline-block;
  text-align: center;
}

.faq .title-heading {
  color: #FF8A00;
  line-height: 0.5;
  font-size: 70px;
  font-weight: 800;
}

.accordion-body {
  padding: 0px;
}

.card {
  margin-bottom: 24px;
  -webkit-box-shadow: none;
  box-shadow: none;
}



.module_container {
  position: relative;
}

.module_container:hover {
  outline: 2px dashed #00a8ff;
}

.module_actions {
  position: absolute;
  top: 0;
  right: 0;
  background: #00a8ff;
  padding: 5px;
  display: none;
  z-index: 9999;
}

.module_container:hover .module_actions {
  display: block;
}

.module_actions a {
  color: #fff;
  margin: 0 5px;
  font-size: 16px;
  cursor: pointer;
}


/* Evita la comparsa della barra di scorrimento orizzontale sulla pagina */
.storia-slider-container {
  overflow-x: hidden;

}

/* Riduce il carosello e permette agli elementi di "strabordare" ai lati */
.swiper-storia {
  width: 80%;

  margin: 0 auto;
  overflow: visible !important;
}

/* Applica una leggera trasparenza per dare focus alle card centrali */
.swiper-storia .swiper-slide {
  opacity: 0.5;
  filter: blur(4px);
  transition: opacity 0.4s ease, filter 0.4s ease;
  will-change: filter, opacity;
}

/* Mobile: 1 slide centrale attiva */
.swiper-storia .swiper-slide-active {
  opacity: 1;
  filter: blur(0);
}

@media (min-width: 992px) {

  /* Su desktop ci sono 2 slide attive, active e next */
  .swiper-storia .swiper-slide-next {
    opacity: 1;
    filter: blur(0);
  }
}




/* Transizione fluida per l'effetto sfocato in modo che segua lo scorrimento */
.swiper-team .swiper-slide {
  transition: filter 0.4s ease, opacity 0.4s ease;
  will-change: filter, opacity;
}




.servizio-dx .testo {
  padding: 0px 100px 0px 60px;
}

.servizio-sx .testo {
  padding: 0px 40px 0px 70px;
}

.box-dx .testo {
  padding: 0px 100px 0px 60px;
}

.box-sx .testo {
  padding: 0px 40px 0px 70px;
}

.servizio-sx p {
  margin-top: 20px;
}

.servizio-dx p {
  margin-top: 20px;
}

.box-sx p {
  margin-top: 20px;
}

.box-dx p {
  margin-top: 20px;
}

.greview {
  position: absolute;
  bottom: 15px;
}

/* .background-spot {
	position: absolute;
	width: 1000px;
	height: 1000px;
	background: radial-gradient(circle,rgba(255, 138, 0, 1) 0%, rgba(255, 138, 0, 0) 100%);
} */

/* .background-spot {
  position: absolute;
  width: 1000px;
  height: 1000px;
  
  background: radial-gradient(circle, rgba(255, 138, 0, 0.15) 0%, rgba(255, 138, 0, 0) 60%);
  
 
  filter: blur(80px); 
  
  
  pointer-events: none; 
  z-index: -1;
} */



.background-spot-right {
  position: absolute;

  width: 2000px;
  height: 2000px;
  right: -1500px;
  top: -1000px;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.34) 0%, transparent 70%);
  filter: blur(120px);

  /* Prova 'screen' per schiarire o 'overlay' per fondere sui toni scuri */
  mix-blend-mode: screen;

  /* Opzionale: rendilo leggermente ellittico per un look meno artificiale */
  transform: scale(1.2, 0.8);
}

.background-spot-left {
  position: absolute;

  width: 2000px;
  height: 2000px;
  left: -1500px;
  top: -1000px;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.34) 0%, transparent 70%);
  filter: blur(120px);

  /* Prova 'screen' per schiarire o 'overlay' per fondere sui toni scuri */
  mix-blend-mode: screen;

  /* Opzionale: rendilo leggermente ellittico per un look meno artificiale */
  transform: scale(1.2, 0.8);
}



.card {
  --bs-card-bg: none;
}

/* Formattazione per liste puntate all'interno di .indice */
/* .indice ul {
  list-style-type: square;
  padding-left: 20px;
}

.indice ul li::marker {
  color: #FF8A00;
  font-size: 1.3em;
 
}

*/
.indice li::before {
  content: "\f0c8";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #ff8a00;
  font-size: var(--font-size-xl);
}

.testo ul {

  padding: 0px;
}

.testo li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  margin-bottom: 5px;
}

.testo li::before {
  content: "\f0c8";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #ff8a00;
  font-size: 12px;
}

/* Fix per evidenziare i grassetti (b, strong) del font Mark Pro */
b,
strong {
  -webkit-text-stroke: 0.5px currentColor;
}

/* Stili generali del contenitore per posizionamento */
.container-visiva {
  font-family: "Visage", "Plus Jakarta Sans", sans-serif;
  text-align: center;
  margin: 0px;
  /* Solo per dare respiro nell'esempio */
  line-height: 1.1;
  /* Controllo generale dell'interlinea */
}

/* --- Riga Superiore: Bianca, piccola, sfondo nero separato --- */
.visiva-top {
  background-color: #1a1a1a;
  /* Sfondo scuro */
  color: #ffffff;
  /* Testo bianco */
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0px;
  padding: 8px 25px;
  /* Padding per creare il blocco */
  border-radius: 15px 15px 0px 0px;
  /* Angoli arrotondati */
  display: inline-block;
  /* Importante per padding e border-radius su singola riga */
  margin-bottom: 0px;
  /* Spazio sotto per separarla dal blocco grande */
  font-weight: bold;
  font-family: "Mark Pro";
  -webkit-text-stroke: 0.5px #ffffff;
}

/* --- Righe Principali: Arancioni, grandi, sfondo nero che "segue" --- */
.visiva-main-wrapper {
  display: inline-block;
  /* Mantiene il blocco centrato e compatto */
  margin-top: 5px;
}

.visiva-main-line {
  background-color: #1a1a1a;
  color: #ff9900;
  font-size: 85px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 2px 30px;
  border-radius: 25px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  display: inline;
  line-height: 0.97;
}

.navbar h4 {
  font-size: 16px;
  text-transform: initial;
  ;
}

.titolo-sezione h4 {
  font-size: 63px;
  font-weight: 800;
  color: #ff8a00;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 60px;
}

.titolo-sezione h6 {
  font-family: "Mark Pro";
  font-size: 20px;
  font-weight: normal;
  color: #ffffff;
  -webkit-text-stroke: 0.5px #ffffff;
  margin-bottom: 20px;
}

/* --- Case History Filter --- */
.case-history-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0;
  margin: 0;
  margin-bottom: 40px;
}

.case-history-filter .filter-item {
  font-family: "Mark Pro", sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  color: #888888;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 1.5px;
}

.case-history-filter .filter-item:hover {
  color: #c0c0c0;
}

.case-history-filter .filter-item.active {
  color: #ffffff;
}

.case-history-filter .filter-item.active::after {
  content: '';
  position: absolute;
  left: -20px;
  right: -20px;
  bottom: -15px;
  height: 3px;
  background: #ff8a00;
  box-shadow: 0px 0px 15px rgba(255, 138, 0, 0.8), 0px 0px 8px rgba(255, 138, 0, 0.5);
  border-radius: 2px;
}

.case-history-filter .separator {
  width: 1px;
  height: 20px;
  background-color: #555555;
}

/* --- Carousel Case History --- */
.carosello-case-history .swiper-pagination {
  bottom: 0px !important;
}

.mySwiperCaseHistory {
  padding-bottom: 50px !important;
}

.mySwiperCaseHistory .swiper-slide {
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  filter: blur(5px) brightness(0.5);
  opacity: 0.7;
  transform: scale(0.85);
}

.mySwiperCaseHistory .swiper-slide-active {
  filter: blur(0px) brightness(1);
  opacity: 1;
  transform: scale(1);
}

.case-card {
  border-radius: 15px;
  border: 3px solid #ffffff;
  overflow: hidden;
  position: relative;
  height: 480px;
  width: 100%;
  background: #000;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card-info {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background-color: #525252;
  color: #ffffff;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 12px;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.mySwiperCaseHistory .swiper-pagination-bullet,
.swiperConsigliati .swiper-pagination-bullet,
.swiper-numeri-mobile .swiper-pagination-bullet,
.swiper-clienti-mobile .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #777777;
  opacity: 1;
  margin: 0 5px !important;
}

.mySwiperCaseHistory .swiper-pagination-bullet-active,
.swiperConsigliati .swiper-pagination-bullet-active,
.swiper-numeri-mobile .swiper-pagination-bullet-active,
.swiper-clienti-mobile .swiper-pagination-bullet-active {
  background: #ff8a00;
  width: 30px;
  border-radius: 5px;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* --- Overlay Ricerca --- */
.search-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: 1050;
  display: flex;
  align-items: center;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  transition: clip-path 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.search-overlay .btn:hover {
  border: none;
}

.search-overlay.active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.search-overlay input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-overlay input:focus {
  outline: none;
  box-shadow: none;
}

#megamenu-overlay-right h5 {
  font-size: 14px;
  font-family: "Mark Pro";
}

#megamenu-overlay-left h5 {
  font-size: 14px;
  font-family: "Mark Pro";
}

#megamenu-overlay-left p {
  font-size: 14px;
  font-family: "Mark Pro";
}

#megamenu-overlay-right p {
  font-size: 14px;
  font-family: "Mark Pro";
}

.overlay-text {
  font-size: 14px;
  font-family: "Mark Pro";
  line-height: 40px;
}

.breadcrumb br {
  display: none;
}

.breadcrumbs-center {
  padding-left: 0 !important;
  justify-content: center;
}

.breadcrumbs-center a {
  padding: 0px 20px 0px 20px;
}




.configuratore-tesi .breadcrumbs {
  font-size: 12px;
  color: #fff;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 25px;
  padding-left: 160px;
}

.configuratore-tesi .breadcrumbs a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
}

.configuratore-tesi .breadcrumbs .separator {
  width: 1px;
  height: 35px;
  background-color: #666;
  display: block;
}

.configuratore-tesi .ari-title {
  color: #ff8a00;
  font-weight: 900;
  font-size: 6rem;
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 40px;
  letter-spacing: -1px;
  text-align: center;
  line-height: 80%;
}

.grayscale-filter {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

.btn-toggle-color {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccc;
  transition: all 0.2s;
  z-index: 10;
  color: #333;
  cursor: pointer;
}

.btn-toggle-color:hover {
  background: #fff;
  transform: scale(1.1);
  color: #000;
}

.btn-toggle-color.active {
  background: #333;
  color: #fff;
  border-color: #333;
}

.image-container img {
  /* cursor: zoom-in; */
}

.modal-zoom {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal-zoom-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.modal-zoom-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10001;
}

.modal-zoom-close:hover,
.modal-zoom-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.color-btn,
.text-color-btn {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.color-btn.active,
.text-color-btn.active,
.color-item-wrapper.active .color-btn,
.color-item-wrapper.active .text-color-btn {
  border-color: #151515 !important;
  box-shadow: 0 0 0 1px #fff;
  transform: scale(1.1);
}

.color-item-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.color-item-label {
  font-size: 0.75rem;
  color: #aaa;
  text-align: center;
  max-width: 60px;
  line-height: 1.1;
}

.color-item-wrapper.active .color-item-label {
  color: #f08614;
  font-weight: bold;
}

.color-grid-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px 10px;
  justify-items: center;
  align-items: start;
  align-content: start;
}

.tesi-steps-nav {
  background-color: #151515;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.tesi-step {
  flex: 1;
  text-align: left;
  padding: 15px 10px 15px 30px;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border-right: 1px solid #545454;

  border-bottom: 4px solid transparent;
  line-height: 1.2;
  font-family: "Visage", "Plus Jakarta Sans", sans-serif;
}

.tesi-step:last-child {
  border-right: none;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
}

.tesi-step:first-child {
  /* border-left: 4px solid transparent; */
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
}

.tesi-step.active {
  color: #f08614;
  border-bottom: 4px solid #f08614;
  background: linear-gradient(to top, rgba(255, 152, 0, 0.2) 0%, transparent 70%);
  box-shadow: 0 12px 20px -8px rgba(255, 152, 0, 0.6);
}

.tesi-step:first-child.active {
  border-left-color: #f08614;
  box-shadow: -8px 12px 20px -8px rgba(255, 152, 0, 0.6);
}

.tesi-step .step-num {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.custom-radio-toggle {
  display: none;
}

.custom-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #888;
  font-size: 12px;
  font-weight: 500;
  transition: 0.3s;
}

.custom-radio-circle {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #555;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.custom-radio-toggle:checked+.custom-radio-circle {
  border-color: #f08614;
}

.custom-radio-toggle:checked+.custom-radio-circle::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  border-radius: 50%;
}

.custom-radio-label:has(.custom-radio-toggle:checked) {
  color: #eee;
}

.btn-outline-orange {
  border: 2px solid #f08614;
  color: #f08614;
  border-radius: 25px;
  padding: 8px 30px;
  font-weight: bold;
  background: transparent;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.btn-outline-orange:hover {
  background: #f08614;
  color: #111;
}

.header-title-main {
  font-size: 1.8rem;
  color: #fff;
  margin: 0;
  font-weight: bold;
}

.header-desc {
  color: #aaa;
  font-size: 0.9rem;
  margin: 0;
}

.bg-dark-panel {
  /* background-color: #0f0f0f;
            border: 1px solid #333; */
  border-radius: 12px;
  padding: 25px;
  height: 100%;
}

.section-separator {
  width: 100%;
  height: 1px;
  background-color: #333;
  margin: 20px 0;
}

.cinema-mode {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  z-index: 100000 !important;
  background:
    linear-gradient(to bottom, #1a1a1a 0%, #050505 100%) center bottom / 100% 25% no-repeat,
    linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(0, 0, 0, 0) 100%) center 75% / 100% 1px no-repeat,
    radial-gradient(circle at 50% 50%, #4a2c11 0%, #0a0502 60%, #000000 100%) center top / 100% 75% no-repeat,
    #000 !important;
  margin: 0 !important;
}

.cinema-mode #three-container {
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
}

.cinema-thumb {
  width: 130px;
  height: 130px;
  border-radius: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  background-color: #222;
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.cinema-thumb.active,
.cinema-thumb:hover {
  border-color: #f08614;
}

@media (max-width: 767px) {
  .cinema-thumb {
    width: 75px !important;
    height: 75px !important;
    border-radius: 10px !important;
  }
}

.hero-container-similar h2 {
  font-size: 62px;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-weight: bold;
}

/* max */
header .navbar {
  padding: 0;
}

header .navbar::before {
  border-radius: 0 0 25px 25px;
}

@media (min-width: 1200px) {
  header #navbarNav {
    height: 70px;
    display: flex;
    align-items: flex-start;
  }

  header #navbarNav .navbar-nav {
    height: 51px;
    display: flex;
    margin-top: 0;
  }

  header #navbarNav .navbar-nav .nav-item:not(.d-xl-none) {
    display: flex !important;
    align-items: flex-end;
  }

  header #navbarNav .navbar-nav .nav-item a.nav-link {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 1199.98px) {
  header .navbar .navbar-nav .has-megamenu {
    display: none !important;
  }
}

.servizi .servizi-col {
  display: flex;
  flex-direction: column;
}

.servizi .servizi-col p:last-of-type {
  flex: 1;
}



.guide-banner>div:not(.hero-container-guide) {
  display: none;
}

.guide-banner:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FF8A00;
  mix-blend-mode: color;
  z-index: 1;
}

.guide-banner:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FF8A00;
  opacity: .7;
  z-index: 1;
}

.guide-banner>div.hero-container-guide {
  z-index: 3;
}

.guide-banner>video {
  mix-blend-mode: unset !important;
}

/* Sezione action: il video deve apparire senza filtri/overlay colore */
.section-guide.action .guide-banner:before,
.section-guide.action .guide-banner:after {
  display: none !important;
}

/* max */
.goccia-home {
  position: absolute;
  top: -80px;
}


@media screen and (max-width: 767.98px) {

  .navbar-toggler {
    border: 0;
  }

  #linehome svg,
  #linehome svg rect {
    height: 250px !important;
  }

  #linehome svg rect {
    /* fill: url(#gradOrangeMobile) !important; */
  }

  .case h2 {
    font-size: 57px;
    line-height: 50px;
    text-align: center;
    padding-left: 0;
  }

  .servizi .col-sx {
    padding-left: 30px;
    padding-right: 30px;
  }

  .servizi .col-dx {
    padding-left: 30px;
    padding-right: 30px;
  }


  .background-spot-left,
  .background-spot-right {
    display: none !important;
  }



  .hero-container-home .title-heading {
    font-size: 55px;
    line-height: 50px;
    text-align: center;
  }

  .servizi .title-heading {
    font-size: 40px;
    line-height: 50px;
    text-align: center;
  }

  .servizi-col {
    padding: 0px 35px;
    text-align: center;
  }

  .action .guide-content .title-heading {
    font-size: 35px;
    line-height: 35px;
    text-align: center;
  }

  .action .guide-content p {
    color: #fff;
    line-height: 23px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    width: 80%;
    margin-top: 20px;
    margin: 10px auto;
  }

  .visiva-main-wrapper {
    text-align: center;
    padding: 0px 20px;
  }

  .visiva-main-line {
    font-size: 45px;
    line-height: 40px;
    padding: 0px;
    text-align: center;
    /* word-break: break-all; */
  }

  .breadcrumb {
    display: none;
  }

  #arrowcase {
    display: none !important;
  }

  .map-mobile-fix {
    padding-left: 0 !important;
  }

  .goccia-home {
    position: relative !important;
    top: 0 !important;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
    width: 168px;
  }

}


/* Desktop: 2 slide centrali attive */
@media (min-width: 992px) {
  .swiper-storia .swiper-slide-active+.swiper-slide {
    opacity: 1;
  }
}

@media (min-width: 1200px) {

  /* Calcola lo spazio per 4 elementi: 3 centrali + 2 mezze laterali = 5 card visibili */
  .swiper-team .swiper-slide {
    width: calc((100% - 90px) / 4) !important;
    min-width: unset !important;
    /* Sfoca di default tutte le slide (incluse le parziali ai lati) */
    filter: blur(4px);
    opacity: 0.5;
  }

  /* Mette a fuoco la slide centrale (active) e le due intere adiacenti (prev e next) */
  .swiper-team .swiper-slide.swiper-slide-active,
  .swiper-team .swiper-slide.swiper-slide-prev,
  .swiper-team .swiper-slide.swiper-slide-next {
    filter: blur(0);
    opacity: 1;
  }
}

.site-footer {
  margin: -90px auto 0 auto;
  max-width: 1380px;
}

#footer .site-logo {
  width: 110px;
}

/* Header A (02_html_headerA) Styles */
.headerA-img-col {
  text-align: center;
  padding-right: 0px;
}

.headerA-img {
  width: 100%;
}

.headerA-content-wrapper {
  max-width: 550px;
  padding-left: 80px;
  padding-top: 30px;
}

.headerA-title {
  /* Default desktop style */
  margin-bottom: 20px;
}

.headerA-content-text {
  color: #fff;
}

.decorazione-goccia {
  width: 100%;
  height: 500px;
  position: absolute;
  bottom: -360px;
  left: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

@media screen and (max-width: 1199.98px) {
  .decorazione-goccia {
    position: absolute;
    bottom: -70px;
    height: 150px;
    margin-top: 0px;
    z-index: 10;
  }
}

@media screen and (max-width: 1199.98px) {
  .headerA-img-col {
    padding: 0 !important;
  }

  .headerA-img {
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    object-fit: cover;
  }

  .headerA-content-wrapper {
    width: 100%;
    padding: 30px 20px 60px 20px;
    text-align: center;
  }

  .headerA-mobile-category {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }

  .headerA-title {
    color: #FF8A00 !important;
    font-size: 55px !important;
    font-weight: 900 !important;
    line-height: 0.9 !important;
    text-transform: uppercase !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-family: "Visage", "Plus Jakarta Sans", sans-serif;
    margin-bottom: 30px;
  }

  .headerA-content-text {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    padding: 0 10px;
  }

  .headerA-content-text>p {
    text-align: center;
  }

  .headerA-content-text .text-start p {
    text-align: left !important;
  }
}

/* Testimonial mobile fixes */
.t-img {
  border-radius: 20px;
  object-fit: cover;
}

@media screen and (max-width: 767.98px) {
  .testimonial-mobile-card {
    padding: 30px !important;
    border-radius: 30px !important;
    background-color: #1c1511 !important;
    background-image: none !important;
    border: none !important;
  }

  .testimonial-mobile-card .testimonial-image {
    width: 100px;
    height: 100px;
  }

  .testimonial-mobile-card .t-img {
    width: 100%;
    height: 100%;
  }

  .testimonial-mobile-card .profile-name {
    font-size: 1.2rem !important;
  }

  .testimonial-mobile-card .profile-info {
    font-size: 0.95rem !important;
  }

  .testimonial-mobile-card .greview {
    width: 80px !important;
    height: auto;
  }

  .testimonial-mobile-card .testimonial-description {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
    font-weight: 300 !important;
    padding-right: 0 !important;
    color: #fff !important;
  }

  .navbar-brand {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .banner-layout {
    padding: 285px 0px 0px 0px;
  }



  .intro p {
    margin-bottom: 14px;
    font-weight: 700;
    color: #fff;
    max-width: 800px;
    margin: 0px auto;
    -webkit-text-stroke: 0.5px currentColor;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
  }

  .servizi h4 {
    font-size: 18px;
    font-family: "Mark Pro";
    margin-bottom: 20px;
  }

  .servizi p {
    color: #ffffff;
    font-size: 15px;

    margin-bottom: 35px;
  }

  .intro {
    padding: 60px 20px 20px 20px;
  }

  .section.servizi {
    padding: 40px 20px 30px 20px;
    max-width: 1920px;
    margin: 0px auto;
  }

  .section.case {
    padding: 40px 20px 20px 20px;
    max-width: 1920px;
    margin: 0px auto;
  }

  .case .btn {
    margin: 0px auto;
    width: 340px !important;
    padding: 10px;
  }

  .section.testimonial {
    padding: 80px 0px 120px 0px;
  }

  .testimonial .title-heading {
    display: inline-block;
    color: #FF8A00;
    line-height: 50px;
    font-weight: 700;
    margin-bottom: 40px;
    font-size: 57px;
    max-width: 200px;
  }

  .testimonial .swiper-pagination-bullet {
    width: 13px;
    height: 13px;
  }

  .hero-container-similar h2 {
    font-size: 52px;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-weight: bold;
    /* word-break: break-all; */
  }

  .digital-process-banner {
    position: relative;
    background-color: transparent;
    /* background-image: radial-gradient(at top left, var(--accent-color-3) 0%, var(--secondary) 50%); */
    overflow: hidden;
    padding: 50px 20px 120px 20px;
    z-index: 1;
  }

  .section {
    padding: 20px 20px 20px 20px;
    max-width: 1920px;
    margin: 0px auto;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .servizi2 h3 {
    font-family: "Visage";
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    display: block;
  }

  .intro h2 {
    line-height: 35px;
  }

  .servizi2 p {
    /* text-align: center; */
  }

  .headerA-title {
    text-align: center !important;
  }

  .servizio-sx .testo {
    padding: 0px 0px 0px 0px;
    text-align: center;
    word-wrap: anywhere;
  }

  .mobile-accordion-header {
    padding: 0 15px;
    position: relative;
    z-index: 10;
  }

  .mobile-toggle-btn {
    width: 46px;
    height: 46px;
    border: 2px solid #FF8A00;
    border-radius: 50%;
    color: #FF8A00;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 20px;
  }

  .mobile-accordion-header.collapsed .icon-plus {
    display: block !important;
  }

  .mobile-accordion-header.collapsed .icon-minus {
    display: none !important;
  }

  .mobile-accordion-header:not(.collapsed) .icon-plus {
    display: none !important;
  }

  .mobile-accordion-header:not(.collapsed) .icon-minus {
    display: block !important;
  }

  .servizio-img-col {
    min-height: 250px !important;
  }

  .servizio-mobile-badge:empty {
    display: none !important;
  }

  .servizio-mobile-badge {
    background-color: #FF8A00;
    bottom: 0;
    left: 0;
    padding: 16px 20px;
    border-radius: 0 0 20px 20px;
    font-family: 'Visage', sans-serif;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    width: 100%;
    max-width: 100%;
    line-height: 24px;
    min-height: 80px;
  }

  .servizio-dx .testo {
    padding: 0px 0px 0px 0px;

    text-align: center;
    word-wrap: anywhere;
  }

  .title-heading-box3 {
    display: inline-block;
    color: #ff8a00;
    font-size: 40px !important;
    font-weight: bold;
    font-family: "Visage";
    margin-bottom: 0px;
    line-height: 94% !important;
    text-align: center;
    /* word-wrap: anywhere; */
  }

  .numeri .title-heading {
    color: #FF8A00;
    line-height: 60px;
    font-size: 70px;
    font-weight: 800;
    text-align: center;
    word-wrap: anywhere;
  }

  .clienti-section h3 {
    color: #FF8A00;
    line-height: 50px;
    font-size: 65px;
    font-weight: 800;
    text-align: center;
  }

  .box-dx .testo {
    padding: 0px 30px 0px 30px;
  }

  .box-sx .testo {
    padding: 0px 30px 0px 30px;
  }

  .indice {
    padding: 0px 0px 20px 0px;
  }

  .indice p {
    justify-content: center;
    align-items: center;
  }

  .faq .title-heading {
    color: #FF8A00;
    line-height: 65px;
    font-size: 70px;
    font-weight: 800;
  }

  .section.team {
    padding-left: 20px;
    padding-right: 20px;
  }

  .team .title-heading {
    color: #FF8A00;
    line-height: 55px;
    font-size: 65px;
    font-weight: 800;
  }



}

.servizi2 ul {
  list-style-type: none;
  padding-left: 0;
}

.servizi2 ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 20px;
}

.servizi2 ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: #FF8A00;
  border-radius: 2px;
}

@media (max-width: 1199.98px) {
  .mobile-square-img {
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
  }
}

.storia-card {
  min-height: 400px;
  border: 2px solid #ff8a00;
  border-radius: 40px;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

@media (max-width: 991.98px) {
  .storia-card {
    min-height: auto !important;
    padding-bottom: 30px !important;
  }
}


input[type=radio] {
  width: 30px;
  height: 30px;
}

textarea {
  background-color: rgba(255, 255, 255, .15) !important;
  font-size: 16px;
  padding: 17px;
}

#checkout input[type=text] {
  background-color: rgba(255, 255, 255, .15) !important;
  font-size: 16px;
  padding: 17px;
}

input[type=tel] {
  background-color: rgba(255, 255, 255, .15) !important;
  font-size: 16px;
  padding: 17px;
}

input[type=email] {
  background-color: rgba(255, 255, 255, .15) !important;
  font-size: 16px;
  padding: 17px;
}



.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

span.separator-link {
  padding: 0px 20px;
}

#custom-autocomplete {
  border-radius: 0px 0px 20px 20px;
  top: 50px !important;
  transform: translateY(0px) !important;
  z-index: 999999999 !important;
  padding-left: 5px !important;
}