/* ===== Base ===== */
:root {
    --hero-overlay: rgba(0, 0, 0, 0.45);
  }
  *,
  *::before,
  *::after { box-sizing: border-box; }
  img { max-width: 100%; height: auto; display: block; }
  

  html {
    scroll-behavior: smooth;
  }

  html, body {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

.devp_basic_text {
  font-family: "Barlow Condensed", sans-serif;
  line-height: 1.5;
  font-size: 1rem;
}


    
    
    .mobile-menu-list .submenu a {
        font-size: 1.3rem !important; 
        letter-spacing: 0.05em;
    }



  /* ===== Hero Home ===== */
  .home-hero {
    position: relative;
    min-height: 60vh;
    padding: 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  
    /* background-image: url("/images/uploads/slide-home-1.png"); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .home-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
  }
  .home-hero .container {
    position: relative;
    z-index: 2;
  }
  
  .home-hero {
    background-color:#fff;
    min-height: 68vh;
    display: flex;
    align-items: center;
  }
  @media (min-width: 992px) {
    .home-hero { min-height: 78vh; }
  }

  .hero-media {
    position: relative;
    gap: 1.25rem;
  }
  .hero-img { position: relative; }

  .hero-img img {
    display: block;
    width: 100%;
    height: auto;
  }
  /* Riduci rotazioni su mobile per maggiore pulizia */
  @media (max-width: 575.98px) {
    .hero-img-primary, .hero-img-secondary { transform: none; }
    .hero-media { gap: .75rem; }
  }

  /* ===== Ratio + picture fix (Bootstrap-like) ===== */
  .ratio > picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .ratio > picture > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  

.breadcrumb-container {

  font-family: "Bebas Neue", sans-serif;
  font-size:1rem;


} 

/* Regole generali per .ratio con <picture>/<img> */
.ratio > picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ratio > picture > img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Carosello marchi: solo loghi, contenuti e visibili */
#brandsCarousel .splide__slide { padding: 6px; }

#brandsCarousel .ratio {
  background: #f8f9fa;            /* sfondo chiaro: i PNG trasparenti si vedono */
  border: 1px solid #e9ecef;      /* bordo leggero per percepire il box */
  border-radius: .5rem;
}

#brandsCarousel .ratio > picture > img {
  object-fit: contain;             /* non taglia il logo */
  padding: 10px;                   /* respiro interno */
}

/* Frecce centrate verticalmente */
#brandsCarousel .splide__arrow {
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}


.text-green {
  color:#19a64d !important;
  font-weight: 700;
}

.cta-bar {
padding: 0; 
z-index: 1050; 
}


.cta-bar .container {
 max-width: 900px; /* Larghezza massima, come il resto del layout */
 }
 
 .cta-link {
 display: flex; 
 flex-direction: column;
 align-items: center; 
 font-size: 1rem;
 font-weight: 500;
 text-decoration: none;
 /* Width non è più strettamente necessario, ma aiuta l'allineamento */
 width: 100px; 
 }


 .text-h1 {

  color:#000;

 }

 .text-h2 {

  color:#000;

 }

 .text-h3 {

  color:#000;

 }

 .text-p {

  font-size:clamp(1.629rem, 1.629rem + ((1vw - 0.2rem) * 1.847), 2.76rem);
  font-style:normal;
  font-weight:100;
  line-height:1.1

 }

.devp-small-text {
  font-size:0.9rem;
  color:#fff;
}

.totale-stimato-form {
  font-weight: 700;
  color:#ffffff;
  font-size: 1.1rem;
}

#section_brand {
background-color: #ddf5e68c;
border-radius: 30px;
padding:20px;

}

#section_discipline {
background-color: #ddf5e68c;
border-radius: 30px;
padding:20px;

}

 .cta-primaria {
  font-family: "Bebas Neue", sans-serif;
  display: inline-block;
  padding: 10px 32px;
  font-size: 1rem;
  width: 100%;
  text-align: center;
  font-weight: 600;
  color: #ffffff;
  background-color:#0a8eff;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.25s ease-in-out;
}

.cta-primaria:hover,
.cta-primaria:focus {
  color: #fff;
  background-color:#00843b;
  transform: translateY(-2px);
}

.cta-primaria:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}


.devp-cta-secondaria {
  font-family: "Bebas Neue", sans-serif;
  display: inline-block;
  padding: 10px 32px;
  font-size: 0.7rem;
  width: 50%;
  text-align: center;
  font-weight: 600;
  color: #000;
  background-color:#ffd815;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.25s ease-in-out;
}

.devp-cta-secondaria:hover,
.devp-cta-secondaria:focus {
  color: #fff;
  background-color:#00843b;
  transform: translateY(-2px);
}

.devp-cta-secondaria:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.devp-cta-green {
  font-family: "Bebas Neue", sans-serif;
  display: inline-block;
  padding: 8px 30px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  background-color:#00843b;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.25s ease-in-out;
}

.devp-cta-green:hover,
.devp-cta-green:focus {
  color: #ffffff;
  background-color:#0a8eff;
  transform: translateY(-2px);
}

.devp-cta-green:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}


.devp-cta-primaria {
  font-family: "Bebas Neue", sans-serif;
  display: inline-block;
  padding: 8px 30px;
  font-size: 1rem;
  font-weight: 600;
  background-color:#0a8eff;
  color: #ffffff;
  border: 1px solid #ededed;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.25s ease-in-out;
  text-transform: uppercase;
}

.devp-cta-primaria:hover,
.devp-cta-primaria:focus {
  color: #fff;
  background-color:#00843b;
  transform: translateY(-2px);
}

.devp-cta-primaria:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}


.devp-cta-primaria-menu {
  font-family: "Bebas Neue", sans-serif;
  display: inline-block;
  padding: 8px 30px;
  font-size: 1rem;
  font-weight: 600;
  background-color:#00843b;
  color: #ffffff;
  border: 1px solid #ededed;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.25s ease-in-out;
  text-transform: uppercase;
}

.devp-cta-primaria-menu:hover,
.devp-cta-primaria:focus {
  background-color:#ffd815;
  color:#000000;
  transform: translateY(-2px);
}

.devp-cta-primaria-menu:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}


.stars {
  font-size: 1.25rem;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.flag-ok {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(62%) sepia(79%) saturate(558%) hue-rotate(80deg) brightness(92%) contrast(92%);
  /* effetto verde acceso */
}

.intro-section h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.flag-ok {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(62%) sepia(79%) saturate(558%) hue-rotate(80deg) brightness(92%) contrast(92%);
  /* effetto verde acceso */
}

@media (max-width: 767.98px) {
  .intro-section {
    text-align: center;
  }
  .intro-section img {
    max-width: 80%;
  }
  .checklist {
    display: inline-block;
    text-align: left;
  }
}


.intro-section {
  background: linear-gradient(180deg, #f3fff9 0%, #ffffff 85%);
}


.bg-green {
  background-color: #19a64d;
}


.bg-green {
  background-color: #19a64d;

}

.footer-mg {
  background-color: #252525;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #19a64d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
}

.footer-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.bg-footer {
  background-color: #565656 ;

}

.mg-bg-dark {

  background-color: #19a64d;
}


.steps-section h3 {
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
}

.step-card {
  background: #fff;
  border-radius: 22px;
  padding: 28px 28px 32px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.step-badge {
  position: absolute;
  top: -16px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f5fffb;
  border: 2px solid #2bb673;
  color: #2bb673;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(43,182,115,0.18);
}

.step-title {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.25;
  font-weight: 800;
  color: #111;
}

.step-text {
  margin: 0;
  color: #4a4f58;
  font-size: 1rem;
  line-height: 1.55;
}

@media (max-width: 575.98px) {
  .step-badge { left: 20px; }
  .step-card { padding: 24px; }
}

/* Mega menu */
.mega-menu {
  width: 100vw;
  left: 0;
  right: 0;
}

/* Hover desktop */
@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

.header-contatti {

  height: 300px;
  margin-top: 1rem;
  border-radius: 30px;
  background-position: center;
  background-size: cover;
  display: flex;            /* Attiva Flexbox */
  justify-content: center;  /* Centra orizzontalmente */
  align-items: center;      /* Centra verticalmente */
  text-align: center;
  background-image: 
      linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
      url(/images/banner/realizzazione-kit-grafiche-moto-perche-scegliere-monstergraphics.png);
}

.header-contatti h1 {
  color: #ffffff !important; /* Forza il colore bianco */
  margin: 0;                /* Rimuove margini di default che potrebbero sballare l'header */
  text-align: center;       /* Opzionale: centra il testo orizzontalmente */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Opzionale: aggiunge profondità */
}

/*
.header-logo {
  height: 90px;
  width: auto;
}
*/

.nav-pill {
  font-weight: 700;
  letter-spacing: .05em;
}

.dropdown-menu .dropdown-item {
  background: transparent;
}

.dropdown-menu .dropdown-item:hover {
  background: rgba(255,255,255,0.1);
}

.site-header {
  z-index: 1050;
}

/* Pill menu */
.nav-pill {
  color: #0b2a44;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .04em;
}

.nav-pill:hover {
  color: #19a64d;
}



/* Mega menu headings */
.mega-menu h6 {
  color: #19a64d;
}


:root {
  --mg-green: #19a64d;
  --mg-blue:  #0a8eff;
  --mg-yellow:#ffd815;
}


:root {
  --mg-green: #19a64d;
  --mg-blue:  #0a8eff;
  --mg-yellow:#ffd815;
}

/* Container offcanvas */
.mg-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 9999 !important;
  pointer-events: none;
}

.shadow-sm {
  box-shadow: unset !important;
}

a.link-bianco {
color:#ffffff;
text-decoration: none;
}

/* Backdrop sopra l'header ma sotto al panel */
.mg-mobile-nav__backdrop {
  z-index: 9998 !important;
}


/* Pannello destro */
.mg-mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 90%;
  height: 100%;
  background: linear-gradient(180deg, #0b2a44 0%, #0a8eff 55%, #19a64d 100%);
  color: #fff;
  padding: 1.25rem;
  transform: translateX(100%);
  transition: transform 0.25s ease-out;
  z-index: 10000 !important;
}

/* Backdrop */
.mg-mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

/* Stato "aperto" */
.mg-mobile-nav.show {
  pointer-events: auto;
}

.mg-mobile-nav.show .mg-mobile-nav__panel {
  transform: translateX(0);
}

.mg-mobile-nav.show .mg-mobile-nav__backdrop {
  opacity: 1;
}

/* Link disciplina */
.mg-mobile-disc-link {
  color: var(--mg-yellow);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.mg-mobile-disc-link:hover {
  text-decoration: underline;
}

/* Link brand (2 colonne con .row .col-6 nel markup) */
.mg-mobile-brand-link {
  display: block;
  width: 100%;
  padding: 4px 0;
  font-size: 1rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.mg-mobile-brand-link:hover {
  color: var(--mg-yellow);
  text-decoration: underline;
}

/* CTA finale */
.mg-mobile-cta {
  background: var(--mg-yellow);
  border-color: var(--mg-yellow);
  color: #0b2a44;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mg-mobile-cta:hover {
  background: #ffe54f;
  border-color: #ffe54f;
  color: #0b2a44;
}


.img-anteprima-menu {

  width: 200px;

}



@media screen and (max-width: 1024px) {

/*  
  .base-template__wrapper {
		min-height: 105vh;
	}
*/
  

.steps-section h3 {
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
}

.step-card {
  background: #fff;
  border-radius: 22px;
  padding: 28px 28px 32px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.step-badge {
  position: absolute;
  top: -16px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f5fffb;
  border: 2px solid #2bb673;
  color: #2bb673;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(43,182,115,0.18);
}

.step-title {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.25;
  font-weight: 800;
  color: #111;
}

.step-text {
  margin: 0;
  color: #4a4f58;
  font-size: 1rem;
  line-height: 1.55;
}

@media (max-width: 575.98px) {
  .step-badge { left: 20px; }
  .step-card { padding: 24px; }
}

	.header {
		min-height: 64px;
		padding: 0 20px;
	}

	.header__burger {
		display: flex;
	}

	.header__navigation-wrapper {
		flex-direction: column;
		align-items: center;
		position: absolute;
		top: 110%;
		left: 0;
    z-index: 9999;
		padding: 20px;
		background-color: rgba(25, 27, 36, 1);
		border-radius: 20px;
		opacity: 0;
		visibility: hidden;
		transition: var(--transition);
	}

	.header__navigation-wrapper.open {
		opacity: 1;
		visibility: visible;
	}

	.header__list {
		flex-direction: column;
		gap: 30px;
	}

	.header__buttons-wrapper {
		flex-direction: column;
		margin-left: unset;
		margin-top: 50px;
		gap: 8px;
	}

	.header__navigation,
	.header__list {
		width: 100%;
	}

	.header__list-item {
		flex-direction: column;
		width: 100%;
		padding: 0;
		gap: 0;
		margin: 0;
	}

	.header__list-item.active a,
	.header__list-item.active a > svg path {
		fill: var(--color-primary);
		color: #febf01 !important;
	}

	.header__list-item .submenu-wrapper {
		position: static;
		padding: 0;
		max-height: 0;
		border-radius: 0;
		opacity: 1;
		visibility: visible;
		pointer-events: all;
		overflow: hidden;
		transition: max-height var(--transition);
	}

	.submenu-list {
		width: 100%;
		max-width: 100%;
		gap: 5px;
	}

	.submenu-list__wrapper {
		margin-top: 30px;
	}

	.submenu-list__item {
		width: 100%;
		padding: 0;
		margin: 0;
	}

	.submenu-list__item:active .submenu-list__item-wrapper {
		background-color: rgba(255, 255, 255, 0.04);
	}

	.submenu-list__item:active .submenu-list__item-wrapper > svg {
		opacity: 1;
		visibility: visible;
	}

	.submenu-list__title {
		display: none;
	}

	.submenu-content {
		display: none;
	}

	.header__button {
		border: 1px solid rgba(255, 255, 255, 1);
	}
}

@media screen and (max-width: 767.9px) {
	.header__buttons-wrapper,
	.header__button {
		width: 100%;
	}
}




a.link-giallo {

  color:#febf01;
  font-weight: 500;
}

a.link-verde {

  color:#19a64d;
  font-weight: 500;
}

/* 1) La sezione crea una view-timeline legata allo scroll */
.intro-section {
  view-timeline-name: --intro;
  view-timeline-axis: block; /* usa scroll verticale */
}

/* Stato iniziale */
.intro-col {
  opacity: 0;
  will-change: transform, opacity;
}

/* Colonna sinistra: entra da sinistra quando la sezione entra in viewport */
.intro-col--left {
  animation-name: introSlideLeft;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
  animation-timeline: --intro;
  /* L’animazione si sviluppa da quando la sezione inizia a entrare a quando è coperta al 35% */
  animation-range: entry 0% cover 35%;
}

/* Colonna destra: entra da destra, leggermente dopo */
.intro-col--right {
  animation-name: introSlideRight;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
  animation-timeline: --intro;
  animation-range: entry 10% cover 45%;
}

/* Keyframes */
@keyframes introSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  80% {
    opacity: 1;
    transform: translateX(3px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes introSlideRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  80% {
    opacity: 1;
    transform: translateX(-3px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}



/* effetti css - start */

/* =========================================================
   HERO SECTION – Impostazioni base
   ========================================================= */
   #hero_section {
    perspective: 1600px;
    position: relative;
    z-index: 1;
  }
  
  #hero_section .row {
    transform-style: preserve-3d;
  }
  
  /* ---------------------------------------------------------
     Stato base degli elementi animati
     --------------------------------------------------------- */
  #hero_section .col-12.col-lg-6 {
    opacity: 0;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, opacity, filter;
  }
  
  /* =========================================================
     COLONNA TESTO – Fade + Slide + Soft 3D Tilt
     ========================================================= */
  #hero_section .col-12.col-lg-6:nth-child(1) {
    animation-name: heroTextReveal;
    animation-duration: 1.8s;
    animation-timing-function: cubic-bezier(.25,.8,.25,1);
    animation-fill-mode: both;
    animation-delay: 0.15s; /* parte leggermente dopo il load */
  }
  
  @keyframes heroTextReveal {
    0% {
      opacity: 0;
      transform: perspective(1600px) translateY(60px) rotateX(12deg);
      filter: blur(6px);
    }
    45% {
      opacity: 1;
      transform: perspective(1600px) translateY(6px) rotateX(2deg);
      filter: blur(1px);
    }
    100% {
      opacity: 1;
      transform: perspective(1600px) translateY(0) rotateX(0deg);
      filter: blur(0);
    }
  }
  
  /* =========================================================
     COLONNA IMMAGINE – Lift + Glow + Parallax Soft
     ========================================================= */
  #hero_section .col-12.col-lg-6:nth-child(2) {
    animation-name: heroImageReveal;
    animation-duration: 2.1s;
    animation-timing-function: cubic-bezier(.23,.9,.25,1);
    animation-fill-mode: both;
    animation-delay: 0.3s;
  }
  
  @keyframes heroImageReveal {
    0% {
      opacity: 0;
      transform: perspective(1600px) translateY(90px) translateZ(-180px)
                 scale(0.9) rotateX(8deg);
      filter: blur(8px) brightness(0.7);
    }
    50% {
      opacity: 1;
      transform: perspective(1600px) translateY(10px) translateZ(40px)
                 scale(1.04) rotateX(2deg);
      filter: blur(1px) brightness(1.15);
    }
    100% {
      opacity: 1;
      transform: perspective(1600px) translateY(0) translateZ(0)
                 scale(1);
      filter: blur(0) brightness(1);
    }
  }
  
  /* =========================================================
     STAGGER degli elementi testuali interni
     ========================================================= */
  #hero_section h1,
  #hero_section p.lead,
  #hero_section .review-trust,
  #hero_section .cta-primaria {
    opacity: 0;
    transform: translateY(18px);
    animation-name: heroStaggerItem;
    animation-duration: 0.9s;
    animation-timing-function: cubic-bezier(.25,.8,.25,1);
    animation-fill-mode: both;
  }
  
  /* leggero ritardo progressivo */
  #hero_section h1 {
    animation-delay: 0.4s;
  }
  
  #hero_section p.lead {
    animation-delay: 0.55s;
  }
  
  #hero_section .review-trust {
    animation-delay: 0.7s;
  }
  
  #hero_section .cta-primaria {
    animation-delay: 0.9s;
  }
  
  @keyframes heroStaggerItem {
    0% {
      opacity: 0;
      transform: translateY(18px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* =========================================================
     Hover morbido sull’immagine (extra “wow” ma discreto)
     ========================================================= */
  #hero_section .hero-img {
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
  }
  
  #hero_section .hero-img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  }
  

.reviews-section {
  background: linear-gradient(180deg, #e9f7ff 0%, #f9fcff 60%, #ffffff 100%);
}



    .google-rating {
      font-size: 1.2rem;
    }

    .google-logo {
      width: 26px;
      height: 26px;
    }

    .rating-stars {
      background: linear-gradient(90deg, #FFD700, #FFA500);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-size: 1.25rem;
      letter-spacing: 2px;
    }

    .review-card {
      background: #fff;
      border-radius: 18px;
      padding: 28px;
      text-align: left;
      box-shadow: 0 10px 24px rgba(0,0,0,0.1);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .review-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 16px 36px rgba(0,0,0,0.15);
    }

    .reviewer {
      font-weight: 700;
      font-size: 1.05rem;
      margin-bottom: 6px;
      color: #111;
    }

    .stars {
      font-size: 1rem;
      color: #FFD700;
      margin-bottom: 10px;
    }



    @media (max-width: 767.98px) {
      .review-card { text-align: center; }
    }


/* menu - inizio */

      /* --- 1. Variabili e Header Base --- */
      :root {
        --breakpoint-desktop: 992px;
        --transition-speed: 0.3s;
        --nav-width: 300px; /* Larghezza del pannello off-canvas */
    }

    body.menu-open {
        overflow: hidden; /* Per bloccare lo scorrimento del body quando il menu è aperto */
    }

    .main-header {
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .header-top {
        min-height: 60px;
    }

    /*
    .header-logo img {
        max-height: 90px;
    }

    */
    /* Stile per i Touchpoints CTA */
    .header-touchpoints .touchpoint-item {
        position: relative;
        padding-left: 35px;
    }
    .header-touchpoints .touchpoint-item i {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
    }

    /* --- Stile Hamburger (Mobile Toggle) --- */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1060; /* Assicurati che sia cliccabile */
    }
    .menu-toggle .icon-bar {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #333;
        border-radius: 1px;
        transition: all var(--transition-speed);
    }

    /* --- Menu Desktop (Mega Menu) --- */
    .main-nav .menu-item {
        position: relative;
        list-style: none;
    }

    .main-nav .menu-item a {
        text-decoration: none;
        color: #333;
        transition: color 0.2s;
    }

    /* Contenitore Mega Menu */
    .main-nav .mega {
        position: absolute;
        top: 100%;
        left: 0;
        visibility: hidden;
        opacity: 0;
        transform: translateY(20px);
        transition: all var(--transition-speed) ease;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        min-width: 400px;
        padding: 20px;
        border-top: 3px solid #19a64d;
    }
    .main-nav .mega ul li a {
        padding: 5px 0;
    }
    
    .main-nav .has-mega:hover > .mega {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    /* ---------------------------------------------------- */
    /* MEDIA QUERY DESKTOP: Layout 2 Colonne per il Mega Menu */
    /* ---------------------------------------------------- */
    @media (min-width: var(--breakpoint-desktop)) {
        
        /* Il contenitore UL interno del Mega Menu si dispone su 2 colonne */
        .main-nav .mega ul {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px 30px; 
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .main-nav .mega ul li.separator {
            grid-column: 1 / -1; 
            border-top: 1px solid #ddd;
            padding-top: 10px;
            margin-top: 5px;
        }
    }


    /* --- 2. STILI OFF-CANVAS (MOBILE) --- */

    /* Nasconde nav desktop e mostra toggle su mobile */
    @media (max-width: 991px) {
        .header-bottom {
            display: none !important; 
        }
        .menu-toggle {
            display: flex !important; 
        }
        
    }

    .off-canvas-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 90%;
        height: 100%;
        background: #fff;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        transform: translateX(-100%); 
        transition: transform var(--transition-speed) ease-out;
        display: flex;
        flex-direction: column;
    }

    .off-canvas-menu.is-open {
        transform: translateX(0); 
        z-index: 9999 !important; 

    }

    .off-canvas-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .off-canvas-logo {
        max-height: 40px; 
    }

    .off-canvas-content {
        flex-grow: 1; 
        overflow-y: auto;
        padding: 15px;
    }
    .mobile-menu-list a {
        display: block;
        padding: 10px 0;
        color: #ffffff;
        text-decoration: none;
        border-bottom: 1px dashed #eee;
    }

    .off-canvas-footer {
        padding: 15px;
        border-top: 1px solid #eee;
    }
    .close-menu {
        font-size: 2em;
        background: none;
        border: none;
        cursor: pointer;
        line-height: 0;
    }

    /* Overlay Sfondo */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        visibility: hidden;
        opacity: 0;
        transition: opacity var(--transition-speed) ease-out, visibility var(--transition-speed);
    }

    .menu-overlay.is-visible {
        visibility: visible;
        opacity: 1;
    }


/* Stile per le Voci Mobile */
.mobile-menu-list .menu-parent {
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 1px dashed #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Sottomenu (Inizialmente nascosto) */
.mobile-menu-list .submenu {
  max-height: 0; /* Inizialmente chiuso */
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  padding-bottom: 0 !important; /* Rimuovi padding inferiore di Bootstrap */
  padding-top: 0 !important;
}

.mobile-menu-list .submenu a {
  padding: 8px 0;
  font-size: 0.95em;
  color: #555;
  border: none; /* Rimuovi il bordo dalle sotto-voci */
}

/* Icona freccia */
.mobile-menu-list .submenu-toggle {
  transition: transform 0.3s ease;
  font-size: 0.8em;
}

/* Rotazione freccia quando il menu è aperto */
.mobile-menu-list .has-submenu.open > .menu-parent .submenu-toggle {
  transform: rotate(180deg);
}

/* Bordo per l'elemento parent quando è aperto */
.mobile-menu-list .has-submenu.open > .menu-parent {
  border-bottom: none;
}


/* Stile per il contenitore del sottomenu */
.mega ul {
  /* Rimuove i margini e il padding predefiniti se non sono già rimossi dalle classi Bootstrap */
  margin: 0;
  padding: 0;
  list-style: none; /* Assicura che i bullet point siano rimossi */

  /* === Mette gli elementi su due colonne === */
  column-count: 2;
  /* La proprietà column-gap non è strettamente necessaria, ma aiuta a distanziare le colonne */
  column-gap: 30px; /* Regola lo spazio tra le colonne */
}

/* Opzionale: Assicura che gli elementi <li> o <a> non rompano le colonne */
.mega ul li {
  /* Impedisce che un elemento <li> venga diviso a metà tra due colonne */
  break-inside: avoid;
  -webkit-break-inside: avoid; /* Per browser basati su WebKit */
  /* Aggiunge un po' di margine sotto ogni voce per una migliore leggibilità */
  margin-bottom: 5px;
}

/* Opzionale: Se vuoi che le voci "Tutti i marchi..." siano sempre in fondo o a larghezza intera */
.mega ul li.separator {
  /* Forzo questo elemento a occupare l'intera larghezza/colonna e a non essere spezzato */
  column-span: all;
  -webkit-column-span: all;
  text-align: center; /* Centra il testo se necessario */
  margin-top: 15px; /* Aggiunge spazio sopra */
  border-top: 1px solid #eee; /* Linea di separazione opzionale */
  padding-top: 10px;
}

/* menu - fine */


.pure-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Sfondo semi-trasparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Assicura che sia sopra tutto il resto */
}

/* Contenuto principale del modale */
.pure-modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px; /* Larghezza massima leggibile */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transform: scale(1); /* Animazione base (opzionale) */
}


/* Motore di ricerca header */ 

/* Esempio CSS per i risultati di ricerca live */
.live-search-results {
  /* POSIZIONAMENTO E LIVELLO */
  position: absolute; 
  
  /* 🚀 OTTIMIZZAZIONE TOP: 
     Posiziona il contenitore esattamente sotto il bordo dell'input-wrap. 
     Il 100% funziona perfettamente sia su desktop che su mobile. */
  top: 100px; 
  width: 500px; 
  
  /* 🚀 OTTIMIZZAZIONE Z-INDEX: 
     Valore molto alto per garantire che sia sempre in primo piano. */
  z-index: 9999; 

  /* DIMENSIONI E SCORRIMENTO */
  max-height: 400px;
  overflow-y: auto; 
  
  /* STILE VISIVO */
  background-color: #ffffff;
  border: 1px solid #ddd;
  /* Rimuove il bordo superiore per fonderlo con la barra di ricerca */
  border-top: none; 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Ombra più pronunciata */
  padding: 0; /* Rimosso il padding verticale superfluo per i link */
  border-radius: 0 0 8px 8px; /* Angoli arrotondati solo in basso */
}

.live-search-item {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
}

.live-search-item:hover {
  background-color: #f5f5f5;
  color: #007bff;
}

.live-search-results p {
  padding: 10px 15px;
  margin: 0;
}

/* --- STILE DESKTOP (Predefinito) --- */
.btn_invio_email, .btn_invio_whatsapp {
    font-size: 1.1rem;
   
}

/* --- STILE CELLULARI (Sotto i 768px) --- */
@media (max-width: 767px) {
    .btn_invio_email, .btn_invio_whatsapp {
        font-size: 0.8rem !important;
    }
}

/* CTA invio email */

.btn_invio_email {
    /* Struttura base */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border: none;
    border-radius: 50px; /* Forma a pillola */
    
    /* Tipografia */
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    
    /* Colore di fondo (Blu vivido) */
    background-color: #2563eb;
    
    /* Effetto 3D Complesso */
    box-shadow: 
        /* 1. Ombra esterna: distacca il pulsante dal piano di fondo */
        0 6px 12px rgba(0, 0, 0, 0.2), 
        /* 2. Luce interna superiore: crea il riflesso "glossy" */
        inset 0 4px 6px rgba(255, 255, 255, 0.4), 
        /* 3. Ombra interna inferiore: accentua la curvatura sferica */
        inset 0 -5px 8px rgba(0, 0, 0, 0.3);
        
    /* Ombra sul testo per effetto rilievo */
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    
    /* Animazione */
    transition: all 0.2s ease-in-out;
    position: relative;
    outline: none;
}

/* Effetto al passaggio del mouse (Hover) */
.btn_invio_email:hover {
    transform: translateY(-2px); /* Si solleva leggermente */
    background-color: #1d4ed8; /* Diventa un po' più scuro */
    box-shadow: 
        0 8px 15px rgba(0, 0, 0, 0.25), 
        inset 0 4px 8px rgba(255, 255, 255, 0.5), 
        inset 0 -4px 6px rgba(0, 0, 0, 0.3);
}

/* Effetto al click (Pressione) */
.btn_invio_email:active {
    transform: translateY(2px); /* Si schiaccia */
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2), 
        inset 0 2px 4px rgba(255, 255, 255, 0.2), 
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
}


.btn_invio_whatsapp {
    /* Struttura base */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border: none;
    border-radius: 50px; /* Forma a pillola */
    
    /* Tipografia */
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    
    /* Colore di fondo (Blu vivido) */
    background-color: #19a64d;
    
    /* Effetto 3D Complesso */
    box-shadow: 
        /* 1. Ombra esterna: distacca il pulsante dal piano di fondo */
        0 6px 12px rgba(0, 0, 0, 0.2), 
        /* 2. Luce interna superiore: crea il riflesso "glossy" */
        inset 0 4px 6px rgba(255, 255, 255, 0.4), 
        /* 3. Ombra interna inferiore: accentua la curvatura sferica */
        inset 0 -5px 8px rgba(0, 0, 0, 0.3);
        
    /* Ombra sul testo per effetto rilievo */
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    
    /* Animazione */
    transition: all 0.2s ease-in-out;
    position: relative;
    outline: none;
}

/* Effetto al passaggio del mouse (Hover) */
.btn_invio_whatsapp:hover {
    transform: translateY(-2px); /* Si solleva leggermente */
    background-color: #1d4ed8; /* Diventa un po' più scuro */
    box-shadow: 
        0 8px 15px rgba(0, 0, 0, 0.25), 
        inset 0 4px 8px rgba(255, 255, 255, 0.5), 
        inset 0 -4px 6px rgba(0, 0, 0, 0.3);
}

/* Effetto al click (Pressione) */
.btn_invio_whatsapp:active {
    transform: translateY(2px); /* Si schiaccia */
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2), 
        inset 0 2px 4px rgba(255, 255, 255, 0.2), 
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
}

.as-oil__floating-banner-resurface-btn {
  display:none !important;
}



/* Placeholder e Input dinamici ma contenuti */
#printingRequestForm .form-control::placeholder,
#printingRequestForm .form-control,
#printingRequestForm .form-select {
  font-family: "Barlow Condensed", sans-serif;
  
  /* PARTE DA: 1.125rem (18px) 
     MAX DESKTOP: 1.25rem (20px) <-- Qui abbiamo ridotto da 25 a 20
  */
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  
  line-height: 1.2;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

/* Fix per allineamento testo nelle select su desktop */
@media (min-width: 992px) {
  #printingRequestForm .form-select, 
  #printingRequestForm .form-control {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }
}




/* Touchpoint Link Hover */
.touchpoint-link {
  transition: opacity 0.2s ease;
}
.touchpoint-link:hover {
  opacity: 0.8;
}

/* Indicatore di stato online */
.status-dot {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 14px;
  height: 14px;
  background-color: #28a745;
  border: 2px solid #fff;
  border-radius: 50%;
}

/* Tipografia extra-bold per il numero */
.fw-extrabold {
  font-weight: 800;
  color: #000;
}

/* Correzione allineamento mega menu rispetto al nuovo header */
.main-header {
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.rounded-50 {
  border-radius: 50px;
}

.dpw-launcher {

  left: 20px !important;
  z-index:1 !important;

}

/* --- Gestione Loghi --- */

/* Desktop (Base) */
.logo-icon {
  height: 100px;
  width: auto;
  transition: height 0.3s ease;
}

.logo-text {
  height: 100px;
  width: auto;
  transition: height 0.3s ease;
}

/* Tablet (max 992px) */
@media (max-width: 992px) {
  .logo-icon {
    height: 65px;
  }
  .logo-text {
    height: 35px;
  }
}

/* Smartphone (max 576px) */
@media (max-width: 576px) {
  .logo-icon {
    height: 50px; /* Più compatto per schermi piccoli */
  }
  .logo-text {
    height: 28px;
  }
}



.discipline-row {
  padding: 80px 0;
  overflow: hidden;
}
.bg-gradient-blue { background: linear-gradient(180deg, #e9f7ff 0%, #f9fcff 60%, #ffffff 100%); }
.bg-gradient-green { background: linear-gradient(180deg, #f3fff9 0%, #ffffff 85%); }

.discipline-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.category-badge {
  display: inline-block;
  padding: 6px 14px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 20px;
}


.btn_configura_kit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 25px;
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  background-color: #2563eb;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2), inset 0 4px 6px rgba(255, 255, 255, 0.4), inset 0 -5px 8px rgba(0, 0, 0, 0.3);
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease-in-out;
  position: relative;
  outline: none;
}

.brand-carousel-container { padding: 10px 0; }

.brand-item-link {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 0px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  margin: 10px 5px;
}
.brand-item-link:hover {
  border-color: #000;
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
  transform: translateY(-5px);
}
.brand-item-link img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.cta-modern {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-weight: 800;
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s ease;
}
.cta-modern i { font-size: 1.2rem; transition: transform 0.3s ease; }
.cta-modern:hover i { transform: translateX(8px); }

/* Correzione stile frecce Splide */
.splide__arrow { background: #fff; border: 1px solid #eee; opacity: 1; }
.splide__arrow:hover { background: #000; color: #fff; }



button.as-oil__btn-primary {
  background-color: #198754 !important;
}


.as-oil__intro-txt a {
  color: #198754 !important;
}

.as-oil__policy-link {
  color: #198754 !important;
}

button.as-oil__btn-secondary {

    background-color: #198754 !important;
}


button.as-oil__btn-tertiary {
  background-color: #198754 !important;
}


.as-oil-cpc__switch input:checked~.as-oil-cpc__slider {
  background-color: #19a64d !important;
}

.devp_header_form {
    display: block; 
    width: 100%; 
    padding: 10px 30px; 
    margin-bottom: 20px;
    border-radius: 20px;
    font-size:1.3rem;
    color: #ffffff;
    font-weight: 600; 
    text-align: center;
    line-height: 1.5;
    background-color: #19a64d;
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.15), 
        inset 0 4px 6px rgba(255, 255, 255, 0.3), 
        inset 0 -5px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    cursor: default;
    user-select: text; 
    transition: none;
    text-transform: none;
    letter-spacing: normal;
}

.alert-atv-quad-price { 
  
  display: none; 

}