/* V28 — Per chi lavoriamo + service dialog scrollbar polish. */
/* The dialog remains scrollable by wheel, touch and keyboard; only its scrollbar disappears. */
.service-drawer-panel {
  scrollbar-width: none !important;
  -ms-overflow-style: none;
}
.service-drawer-panel::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; }

/* Client categories: a clean editorial layout, preserving the existing carousels/modals. */
.services-clients-v28 { position: relative; isolation:isolate; }
.services-clients-v28::before {
  content:""; position:absolute; inset:0; pointer-events:none; z-index:-1;
  background:radial-gradient(circle at 75% 15%,rgba(138,223,172,.035),transparent 38%);
}
.services-clients-v28 .client-categories {
  margin-top:44px;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(16px,2vw,26px);
  align-items:stretch;
}
.services-clients-v28 .client-category {
  position:relative;
  text-align:left;
  border:1px solid rgba(138,223,172,.16);
  border-radius:25px;
  padding:25px 17px 19px;
  min-height:310px;
  background:linear-gradient(160deg,rgba(255,255,255,.048),rgba(255,255,255,.013));
  box-shadow:0 17px 40px rgba(0,0,0,.11);
  overflow:hidden;
  transition:border-color .32s ease,box-shadow .32s ease,transform .32s ease;
}
.services-clients-v28 .client-category::before {
  content:"";position:absolute;top:0;left:25px;right:25px;height:2px;
  background:linear-gradient(90deg,transparent,rgba(138,223,172,.52),transparent);
  opacity:.52;pointer-events:none;
}
.services-clients-v28 .client-category:hover {
  transform:translateY(-4px);border-color:rgba(138,223,172,.3);
  box-shadow:0 22px 48px rgba(0,0,0,.17);
}
.services-clients-v28 .client-category-header {
  display:flex;align-items:center;gap:13px;min-height:64px;
  padding:0 9px 19px;margin-bottom:14px;
  border-bottom:1px solid rgba(138,223,172,.11);
}
.services-clients-v28 .client-category-icon {
  flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center;
  color:#93e4bc;background:rgba(138,223,172,.085);
  border:1px solid rgba(138,223,172,.17);border-radius:16px;
  font-size:1.05rem;
}
.services-clients-v28 .client-category-heading {min-width:0;flex:1;}
.services-clients-v28 .client-category h3 {
  margin:0!important;text-align:left!important;
  font-size:clamp(1.03rem,1.38vw,1.24rem);line-height:1.24;
  letter-spacing:-.025em;
}
.services-clients-v28 .client-category-index {
  align-self:flex-start;padding-top:3px;
  font:700 .72rem 'Space Grotesk',sans-serif;
  color:rgba(138,223,172,.65);letter-spacing:.1em;
}
/* Preserve the carousel behavior, but remove dark blurred / overly faded logos. */
.services-clients-v28 .clients-swiper { flex:1;min-height:175px;height:185px;padding:5px 14px; overflow:hidden; }
.services-clients-v28 .clients-swiper .swiper-wrapper {align-items:center;}
.services-clients-v28 .clients-swiper .swiper-slide {
  height:150px;opacity:.5;pointer-events:auto;transform:translateY(0) scale(.86);
  transition:opacity .35s ease,transform .35s ease;
}
.services-clients-v28 .clients-swiper .swiper-slide-prev,
.services-clients-v28 .clients-swiper .swiper-slide-next {opacity:.42;transform:translateY(0) scale(.84);}
.services-clients-v28 .clients-swiper .swiper-slide-active {opacity:1;transform:translateY(0) scale(1.02);z-index:2;}
.services-clients-v28 .clients-swiper .swiper-slide img {
  width:100%;height:112px;padding:clamp(8px,1.4vw,15px);
  object-fit:contain;filter:none;opacity:1;
  border-radius:13px;background:rgba(255,255,255,.075);
  border:1px solid rgba(138,223,172,.10);
  box-shadow:none!important;transform:none!important;
  transition:background .3s ease,border-color .3s ease,transform .3s ease;
}
.services-clients-v28 .clients-swiper .swiper-slide:hover img {transform:scale(1.025)!important;background:rgba(255,255,255,.11);border-color:rgba(138,223,172,.29);}
.services-clients-v28 .clients-swiper .swiper-button-prev,
.services-clients-v28 .clients-swiper .swiper-button-next {
  width:32px;height:32px;top:auto;bottom:1px;margin:0;border-radius:50%;
  border:1px solid rgba(138,223,172,.18);
  background:rgba(138,223,172,.07);color:#8adfac;
}
.services-clients-v28 .clients-swiper .swiper-button-prev {left:calc(50% - 39px);}
.services-clients-v28 .clients-swiper .swiper-button-next {right:calc(50% - 39px);}
.services-clients-v28 .clients-swiper .swiper-button-prev::after,
.services-clients-v28 .clients-swiper .swiper-button-next::after {font-size:11px;}
.services-clients-v28 .clients-all-cta {margin-top:34px;}
body.light-mode .services-clients-v28::before {background:radial-gradient(circle at 75% 15%,rgba(19,138,128,.05),transparent 38%);}
body.light-mode .services-clients-v28 .client-category {
  background:linear-gradient(160deg,rgba(255,255,255,.95),rgba(247,253,250,.86));
  border-color:rgba(19,138,128,.15);box-shadow:0 16px 38px rgba(23,76,62,.075);
}
body.light-mode .services-clients-v28 .client-category:hover {border-color:rgba(19,138,128,.31);box-shadow:0 20px 45px rgba(23,76,62,.12);}
body.light-mode .services-clients-v28 .client-category::before {background:linear-gradient(90deg,transparent,rgba(19,138,128,.43),transparent);}
body.light-mode .services-clients-v28 .client-category-header {border-bottom-color:rgba(19,138,128,.12);}
body.light-mode .services-clients-v28 .client-category-icon {color:#12816c;background:rgba(19,138,128,.065);border-color:rgba(19,138,128,.15);}
body.light-mode .services-clients-v28 .client-category-index {color:rgba(17,126,108,.6);}
body.light-mode .services-clients-v28 .clients-swiper .swiper-slide img {background:rgba(233,246,239,.72);border-color:rgba(19,138,128,.1);}
body.light-mode .services-clients-v28 .clients-swiper .swiper-slide:hover img {background:rgba(226,245,234,.93);border-color:rgba(19,138,128,.27);}
body.light-mode .services-clients-v28 .clients-swiper .swiper-button-prev,
body.light-mode .services-clients-v28 .clients-swiper .swiper-button-next {color:#117e6c;background:rgba(19,138,128,.065);border-color:rgba(19,138,128,.16);}
@media(max-width:1120px){
  .services-clients-v28 .client-categories {grid-template-columns:1fr;gap:20px;}
  .services-clients-v28 .client-category {min-height:276px;padding:22px 22px 16px;}
  .services-clients-v28 .client-category h3 {font-size:1.24rem;}
  .services-clients-v28 .clients-swiper {height:165px;min-height:165px;}
  .services-clients-v28 .clients-swiper .swiper-slide {height:135px;}
  .services-clients-v28 .clients-swiper .swiper-slide img {height:98px;padding:12px;}
}
@media(max-width:600px){
  .services-clients-v28 .client-categories {margin-top:30px;}
  .services-clients-v28 .client-category {padding:18px 12px 14px;border-radius:20px;}
  .services-clients-v28 .client-category-header {gap:12px;padding:0 7px 16px;}
  .services-clients-v28 .client-category-icon {flex-basis:44px;width:44px;height:44px;border-radius:13px;}
  .services-clients-v28 .client-category h3 {font-size:1.08rem;}
  .services-clients-v28 .clients-swiper {padding:2px 18px;height:155px;min-height:155px;}
  .services-clients-v28 .clients-swiper .swiper-slide {height:124px;}
}
@media(prefers-reduced-motion:reduce){
  .services-clients-v28 .client-category,
  .services-clients-v28 .clients-swiper .swiper-slide,
  .services-clients-v28 .clients-swiper .swiper-slide img {transition:none!important;}
  .services-clients-v28 .client-category:hover {transform:none;}
}
