:root {
  --jl-teal: #06A8A6;
  --jl-teal-dark: #059492;
  --jl-teal-alpha: rgba(6, 168, 166, 0.12);
}

.form-control:not(textarea),
.input-text:not(textarea),
.comment-respond input[type=email],
.comment-respond input[type=url],
.comment-respond input[type=text] {
  height: calc(1.8rem + 16px) !important;
}

body,
h1, h2, h3, h4, h5, h6,
p, a, li, span, td, th,
button, input, textarea, select,
.btn-style-one,
[class*=jl-] {
  font-family: "Barlow", sans-serif !important;
}

#wpadminbar,
#wpadminbar * {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

#wpadminbar .dashicons,
#wpadminbar .dashicons-before::before,
#wpadminbar .ab-icon::before {
  font-family: "dashicons" !important;
}

.btn-style-one {
  border-radius: 10px;
}

.working-block-style1 .inner-block .working-count {
  display: none;
}

.working-block-style1 .inner-block .image {
  overflow: hidden;
}

.working-block-style1 .inner-block .image img:first-child {
  display: none !important;
}

.working-block-style1 .inner-block .image img:nth-child(2) {
  transition: transform 500ms ease !important;
}

.working-block-style1 .inner-block:hover .image img:nth-child(2) {
  transform: scale(1.13) !important;
  opacity: 1 !important;
  filter: none !important;
}

.fardelli-bg-grey > .elementor-widget-container {
  background-color: #B6B8B8 !important;
}

.jl-sedi-mappa {
  width: 100%;
}

.jl-sedi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1024px) {
  .jl-sedi-grid {
    grid-template-columns: 1fr;
  }
}

.jl-sedi-lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jl-sedi-mappa-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jl-sedi-map {
  width: 720px;
  height: 463px;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #e8eaed;
}
@media (max-width: 1024px) {
  .jl-sedi-map {
    width: 100%;
    height: 400px;
  }
}
@media (max-width: 600px) {
  .jl-sedi-map {
    height: 300px;
  }
}

@media (min-width: 768px) {
  .jl-sedi-lista:not(.jl-appeared) .jl-sede-card {
    opacity: 0;
  }
  .jl-sedi-lista.jl-appeared .jl-sede-card {
    animation: jlFadeIn 0.75s ease-out both;
  }
  .jl-sedi-lista.jl-appeared .jl-sede-card:nth-child(1) {
    animation-delay: 0.05s;
  }
  .jl-sedi-lista.jl-appeared .jl-sede-card:nth-child(2) {
    animation-delay: 0.4s;
  }
  .jl-sedi-lista.jl-appeared .jl-sede-card:nth-child(3) {
    animation-delay: 0.75s;
  }
  .jl-sedi-lista.jl-appeared .jl-sede-card:nth-child(4) {
    animation-delay: 1.1s;
  }
  .jl-sedi-lista.jl-appeared .jl-sede-card.is-active {
    opacity: 1;
    animation: jl-card-pop 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
}
.jl-sede-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: inherit;
}
.jl-sede-card:hover:not(.is-active) {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: rgba(6, 168, 166, 0.35);
}
.jl-sede-card:hover:not(.is-active) .jl-sede-card__foto {
  transform: scale(1.07);
}
.jl-sede-card:focus-visible {
  outline: 2px solid var(--jl-teal);
  outline-offset: 2px;
}
.jl-sede-card.is-active {
  border: 1px solid var(--jl-teal);
  box-shadow: 0 6px 24px rgba(6, 168, 166, 0.22);
  animation: jl-card-pop 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.jl-sede-card__content {
  flex: 1;
  min-width: 0;
  padding: 16px 12px 16px 18px;
}
.jl-sede-card__tipo {
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #B9B9B9;
  margin-bottom: 4px;
}
.jl-sede-card__nome {
  font-size: 36px;
  font-weight: 600;
  color: #2A2A2C;
  margin: 0 0 4px;
  line-height: 1.2;
}
.jl-sede-card__indirizzo {
  font-size: 16px;
  color: #878787;
  margin: 0;
  line-height: 1.4;
}
.jl-sede-card__foto {
  flex-shrink: 0;
  width: 181px;
  height: 118px;
  margin: 14px !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 450ms ease;
}
@media (max-width: 1024px) {
  .jl-sede-card__foto {
    width: 140px;
    height: 90px;
  }
}
@media (max-width: 600px) {
  .jl-sede-card__foto {
    width: 100px;
    height: 70px;
  }
}

.jl-sede-dettaglio {
  min-height: 10px;
}
.jl-sede-dettaglio__inner {
  background: #fff;
  border-top: 13px solid var(--jl-teal);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(6, 168, 166, 0.22);
  padding: 24px;
  animation: jl-slide-in-right 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.jl-sede-dettaglio__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 480px) {
  .jl-sede-dettaglio__header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.jl-sede-dettaglio__header-text {
  min-width: 0;
}
.jl-sede-dettaglio__tipo {
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #B9B9B9;
  margin-bottom: 4px;
}
.jl-sede-dettaglio__nome {
  font-size: 36px;
  font-weight: 600;
  color: #2A2A2C;
  margin: 0;
  line-height: 1.2;
}
.jl-sede-dettaglio__indicazioni {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 4px;
  border: 1.5px solid var(--jl-teal);
  color: var(--jl-teal);
  background: transparent;
  padding: 7px 16px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.jl-sede-dettaglio__indicazioni:hover {
  background: var(--jl-teal);
  color: #fff;
}
.jl-sede-dettaglio__indicazioni svg {
  stroke: currentColor;
  flex-shrink: 0;
}
.jl-sede-dettaglio__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  margin-bottom: 20px;
}
@media (max-width: 480px) {
  .jl-sede-dettaglio__info {
    grid-template-columns: 1fr;
  }
}
.jl-sede-dettaglio__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.jl-sede-dettaglio__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #666666;
  line-height: 1.5;
}
.jl-sede-dettaglio__row svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--jl-teal);
}
.jl-sede-dettaglio__row a {
  color: #444;
  text-decoration: none;
}
.jl-sede-dettaglio__row a:hover {
  color: var(--jl-teal);
}
.jl-sede-dettaglio__orari p {
  margin: 0;
  line-height: 1.5;
}
.jl-sede-dettaglio__orari p + p {
  margin-top: 2px;
}
.jl-sede-dettaglio__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--jl-teal);
  color: #fff;
  padding: 11px 24px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.jl-sede-dettaglio__whatsapp:hover {
  background: var(--jl-teal-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.jl-sede-dettaglio__whatsapp svg {
  flex-shrink: 0;
  fill: #fff;
}

@media (max-width: 767px) {
  .jl-sedi-mappa .jl-sedi-grid {
    display: flex;
    flex-direction: column;
  }
  .jl-sedi-mappa .jl-sedi-mappa-col {
    display: flex !important;
    width: 100% !important;
    order: -1;
  }
  .jl-sedi-mappa .jl-sedi-mappa-col .jl-sede-dettaglio {
    display: none;
  }
  .jl-sedi-map {
    height: 260px !important;
    border-radius: 10px !important;
  }
  .jl-sede-mobile-panel .jl-sede-dettaglio__inner {
    margin-top: 4px;
    animation: jl-slide-down 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  }
}
@keyframes jlFadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes jl-card-pop {
  0% {
    transform: scale(0.97);
  }
  60% {
    transform: scale(1.01);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes jl-slide-in-right {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes jl-slide-down {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes jl-img-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}
@keyframes jl-text-drop {
  from {
    opacity: 0;
    transform: translateY(-22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.jl-categorie-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.jl-cat-accordion {
  background: transparent;
  scroll-margin-top: 100px;
}
.jl-cat-accordion__header {
  display: flex;
  align-items: center;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  cursor: pointer;
  gap: 12px;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: inherit;
}
.jl-cat-accordion__header:focus-visible {
  outline: 2px solid var(--jl-teal);
  outline-offset: 2px;
}
.jl-cat-accordion__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}
.jl-cat-accordion__icon .icon-grey,
.jl-cat-accordion__icon .icon-blue {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 300ms ease;
}
.jl-cat-accordion__icon .icon-grey svg,
.jl-cat-accordion__icon .icon-grey img,
.jl-cat-accordion__icon .icon-blue svg,
.jl-cat-accordion__icon .icon-blue img {
  width: 30px;
  height: 30px;
  display: block;
}
.jl-cat-accordion__icon .icon-grey {
  opacity: 1;
}
.jl-cat-accordion__icon .icon-blue {
  opacity: 0;
}
.jl-cat-accordion__content {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 14px 14px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}
.jl-cat-accordion__header:hover .jl-cat-accordion__icon {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.jl-cat-accordion__header:hover .jl-cat-accordion__icon .icon-grey {
  opacity: 0;
}
.jl-cat-accordion__header:hover .jl-cat-accordion__icon .icon-blue {
  opacity: 1;
}
.jl-cat-accordion__header:hover .jl-cat-accordion__content {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.jl-cat-accordion__header:hover .jl-cat-accordion__title {
  color: var(--jl-teal);
}
.jl-cat-accordion__header:hover .jl-cat-accordion__chevron {
  background: var(--jl-teal);
}
.jl-cat-accordion__title {
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #B9B9B9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 300ms ease;
}
.jl-cat-accordion__chevron {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #C8C8C8;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.3s ease, background 300ms ease;
}
.jl-cat-accordion.is-open .jl-cat-accordion__chevron {
  transform: rotate(180deg);
  background: var(--jl-teal);
}
.jl-cat-accordion.is-open .jl-cat-accordion__body {
  max-height: 2000px;
  opacity: 1;
}
.jl-cat-accordion.is-open .jl-cat-accordion__icon .icon-grey {
  opacity: 0;
}
.jl-cat-accordion.is-open .jl-cat-accordion__icon .icon-blue {
  opacity: 1;
}
.jl-cat-accordion.is-open .jl-cat-accordion__title {
  color: var(--jl-teal);
}
.jl-cat-accordion__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}
.jl-cat-accordion__body-inner {
  padding: 24px 33px;
}
.jl-cat-accordion__slider:not(.slick-initialized) > div:not(:first-child) {
  display: none;
}
.jl-cat-accordion__slider {
  margin-bottom: 24px;
  overflow: visible;
}
.jl-cat-accordion__slider .slick-list {
  border-radius: 12px;
  overflow: hidden;
}
.jl-cat-accordion__slider .slick-slide img {
  width: 100%;
  height: auto;
  max-height: 550px;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.jl-cat-accordion__slider .slick-prev,
.jl-cat-accordion__slider .slick-next {
  width: 57px;
  height: 57px;
  z-index: 2;
  background: #CCCCCC;
  border-radius: 50%;
  box-shadow: none;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.jl-cat-accordion__slider .slick-prev::before,
.jl-cat-accordion__slider .slick-next::before {
  display: none !important;
}
.jl-cat-accordion__slider .slick-prev svg,
.jl-cat-accordion__slider .slick-next svg {
  width: 16px;
  height: 16px;
  stroke: #333;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.jl-cat-accordion__slider .slick-prev:hover, .jl-cat-accordion__slider .slick-prev:focus, .jl-cat-accordion__slider .slick-prev:active,
.jl-cat-accordion__slider .slick-next:hover,
.jl-cat-accordion__slider .slick-next:focus,
.jl-cat-accordion__slider .slick-next:active {
  background: #CCCCCC !important;
  outline: none;
}
.jl-cat-accordion__slider .slick-prev:hover,
.jl-cat-accordion__slider .slick-next:hover {
  background: #B8B8B8 !important;
  transform: translateY(-50%) scale(1.07);
}
.jl-cat-accordion__slider .slick-prev {
  left: -28px;
}
.jl-cat-accordion__slider .slick-next {
  right: -28px;
}
.jl-cat-accordion__slider .slick-dots {
  bottom: 16px;
}
.jl-cat-accordion__slider .slick-dots li {
  width: auto;
  height: auto;
  margin: 0 4px;
}
.jl-cat-accordion__slider .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.28);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.jl-cat-accordion__slider .slick-dots li button::before {
  display: none !important;
}
.jl-cat-accordion__slider .slick-dots li.slick-active button {
  background: var(--jl-teal);
  box-shadow: none;
  transform: scale(1.25);
}
.jl-cat-accordion__description {
  margin-bottom: 24px;
  color: #878787;
  line-height: 1.6;
}
.jl-cat-accordion__description p:last-child {
  margin-bottom: 0;
}
.jl-cat-accordion__brands-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #2A2A2C;
}
.jl-cat-accordion__brands-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  padding-bottom: 30px;
}
.jl-cat-accordion__brands-list img {
  max-height: 58px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.jl-cat-accordion__brands-list img:hover {
  opacity: 1;
}
.jl-cat-accordion__cta-wrap {
  padding-top: 24px;
  display: flex;
  justify-content: flex-end;
}
.jl-cat-accordion__cta-wrap .btn-style-one {
  gap: 0;
}
@media (max-width: 768px) {
  .jl-cat-accordion__icon {
    width: 54px;
    height: 54px;
  }
  .jl-cat-accordion__title {
    font-size: 15px;
  }
  .jl-cat-accordion__brands-list {
    gap: 20px;
  }
  .jl-cat-accordion__brands-list img {
    max-height: 32px;
  }
}

.jl-categorie-grid .service-block-style1 .icon .service-icon .icon-grey,
.jl-categorie-grid .service-block-style1 .icon .service-icon .icon-blue {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 300ms ease;
}
.jl-categorie-grid .service-block-style1 .icon .service-icon .icon-grey svg,
.jl-categorie-grid .service-block-style1 .icon .service-icon .icon-grey img,
.jl-categorie-grid .service-block-style1 .icon .service-icon .icon-blue svg,
.jl-categorie-grid .service-block-style1 .icon .service-icon .icon-blue img {
  width: 28px;
  height: 28px;
  display: block;
}
.jl-categorie-grid .service-block-style1 .icon .service-icon .icon-grey {
  opacity: 1;
}
.jl-categorie-grid .service-block-style1 .icon .service-icon .icon-blue {
  opacity: 0;
}
.jl-categorie-grid .service-block-style1 .inner-block {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  margin-top: 0 !important;
}
.jl-categorie-grid .service-block-style1 .inner-block:hover .service-title {
  text-align: center;
  transform: translateX(0);
  transition: transform 650ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.jl-categorie-grid .service-block-style1 .inner-block:hover .icon .service-icon .icon-grey {
  opacity: 0;
}
.jl-categorie-grid .service-block-style1 .inner-block:hover .icon .service-icon .icon-blue {
  opacity: 1;
}
.jl-categorie-grid .service-block-style1 .inner-block:hover .btn-more-wrap .btn-more {
  background-color: #06A8A6 !important;
  color: #fff !important;
}
.jl-categorie-grid .service-block-style1 .icon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
}
.jl-categorie-grid .service-block-style1 .icon .service-icon {
  position: absolute !important;
  top: -11px !important;
  left: -13px !important;
  background-color: #fff !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
}
.jl-categorie-grid .service-block-style1 a.content-box {
  display: flex !important;
  text-decoration: none;
  cursor: pointer;
}
.jl-categorie-grid .service-block-style1 .content-box {
  position: relative;
  flex: 1;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 59px !important;
  min-height: 256px;
  overflow: hidden;
  background-color: transparent;
  -webkit-mask-image: url(../../../../uploads/2026/05/fardelli-shape-1.png) !important;
  -webkit-mask-repeat: no-repeat;
  mask-image: url(../../../../uploads/2026/05/fardelli-shape-1.png) !important;
  mask-repeat: no-repeat;
}
.jl-categorie-grid .service-block-style1 .content-box__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 600ms ease;
  z-index: 0;
}
.jl-categorie-grid .service-block-style1 .content-box .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  transition: background 350ms ease;
  z-index: 1;
}
.jl-categorie-grid .service-block-style1 a.content-box:hover .content-box__bg {
  transform: scale(1.08);
}
.jl-categorie-grid .service-block-style1 a.content-box:hover .overlay {
  background: rgba(6, 168, 166, 0.52) !important;
}
.jl-categorie-grid .service-block-style1 .service-title {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: left;
  margin: 0;
  color: #fff;
  transform: translateX(-6%);
  transition: transform 650ms cubic-bezier(0.25, 0.46, 0.45, 0.94), text-align 0ms 325ms;
}
.jl-categorie-grid .service-block-style1 .service-title a {
  color: #fff;
  text-decoration: none;
  background-image: none !important;
}
.jl-categorie-grid .service-block-style1 .service-title a:hover {
  color: #fff;
  opacity: 0.85;
}
.jl-categorie-grid .service-block-style1 .btn-more-wrap {
  position: absolute;
  bottom: 0;
  right: 9px;
  z-index: 3;
}
.jl-categorie-grid .service-block-style1 .btn-more-wrap .btn-more {
  position: relative !important;
  bottom: auto !important;
  right: auto !important;
  background-color: #C8C8C8 !important;
  border-radius: 25px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 13px 25px;
  color: #fff !important;
  transition: background-color 300ms ease;
}
.jl-categorie-grid .isotope-layout .isotope-item {
  padding: 5px;
}
@media (max-width: 767.98px) {
  .jl-categorie-grid .isotope-layout.grid-3 .isotope-item, .jl-categorie-grid .isotope-layout.grid-4 .isotope-item {
    width: 100%;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .jl-categorie-grid .isotope-layout.grid-4 .isotope-item {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .jl-categorie-grid .jl-cgrid-mobile {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
}
@media (max-width: 991.98px) {
  .jl-categorie-grid .service-title {
    transform: none !important;
    transition: none !important;
  }
  .jl-categorie-grid .inner-block:hover .service-title {
    transform: none !important;
    text-align: left !important;
    transition: none !important;
  }
}
/* Il wrapper del gruppo Conditional Fields non rompe la griglia Bootstrap */
.row > .wpcf7cf-group {
  display: contents;
}

/* Wrapper gruppo trasparente alla griglia */
.row > [data-id=company-fields][style*="display: block"] {
  display: contents !important;
}

/* Ripristina le gutter (orizzontali e verticali) perse da display:contents */
.row > [data-id=company-fields] > .col-md-6 {
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

.elementor-2733 .elementor-element.elementor-element-0c330bc .counter {
  line-height: 25px !important;
}
.elementor-2733 .elementor-element.elementor-element-0c330bc .counter-prefix {
  font-size: 55px;
}
.elementor-2733 .elementor-element.elementor-element-0c330bc .counter-postfix {
  font-size: 20px;
  margin-left: 10px;
}

.tm-sc-funfact .funfact-inner .counter .animate-number {
  font-size: 55px;
}

@media (max-width: 767px) {
  .elementor-absolute.elementor-widget-tm-ele-funfact-counter {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    transform: none !important;
  }
  .elementor-section:has(.elementor-widget-tm-ele-funfact-counter.elementor-absolute),
  .elementor-column:has(.elementor-widget-tm-ele-funfact-counter.elementor-absolute) {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 24px 16px !important;
    position: relative !important;
    height: auto !important;
  }
  .elementor-widget-tm-ele-funfact-counter.elementor-absolute {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 2em 0 !important;
    text-align: center !important;
  }
  .tm-sc-funfact .funfact-inner {
    text-align: center;
  }
  .tm-sc-funfact .funfact-inner .counter .animate-number {
    font-size: 36px;
  }
  .elementor-element-32af9aa {
    flex-direction: column !important;
  }
  .elementor-element-32af9aa .elementor-element-4bd0ced {
    order: 1 !important;
  }
  .elementor-element-32af9aa .elementor-element-30421ca {
    order: 0 !important;
  }
}
.icon-box .icon.icon-md svg {
  font-size: 65px !important;
}

.nice-select .list {
  width: 100%;
}

.tm-sc-section-title .title-wrapper img.title-icon {
  margin-top: -2px;
  margin-right: 5px;
}

/* Bottoni globali */
.btn,
.woocommerce .button:not(.compare):not(.tm-btn-add-to-cart):not([name=apply_coupon]),
.wc-forward,
.single_add_to_cart_button,
.woosw-item .button,
.woosw-item .added_to_cart,
.woosc_table .button,
.woosc_table .added_to_cart,
.comment-respond .comment-form .form-submit input[type=submit] {
  padding: 17px 30px;
}

/* Submit button */
.bp-cf7-submit {
  border-radius: 12px !important;
  text-transform: none !important;
}
.bp-cf7-submit svg {
  margin-left: 15px;
  margin-top: -3px;
  vertical-align: middle;
}

footer#footer {
  background-color: transparent !important;
}

.elementor-2733 .elementor-element.elementor-element-005ec0e .elementor-widget-container,
.elementor-2733 .elementor-element.elementor-element-005ec0e .tm-text-editor-advanced,
.elementor-2733 .elementor-element.elementor-element-005ec0e .each-item {
  width: 100% !important;
  max-width: 100% !important;
}
.elementor-2733 .elementor-element.elementor-element-005ec0e .each-item p {
  display: block !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  width: 100% !important;
  max-width: 100% !important;
}
.elementor-2733 .elementor-element.elementor-element-005ec0e .elementor-repeater-item-5627303,
.elementor-2733 .elementor-element.elementor-element-005ec0e .elementor-repeater-item-5627303 *,
.elementor-2733 .elementor-element.elementor-element-005ec0e .elementor-repeater-item-20748ee,
.elementor-2733 .elementor-element.elementor-element-005ec0e .elementor-repeater-item-20748ee * {
  font-size: clamp(48px, 10vw, 200px) !important;
  line-height: 1.25 !important;
}
.elementor-2733 .elementor-element.elementor-element-005ec0e .elementor-repeater-item-20748ee,
.elementor-2733 .elementor-element.elementor-element-005ec0e .elementor-repeater-item-20748ee * {
  margin-top: clamp(-495px, -24.75vw, -119px) !important;
}
@media (max-width: 1024px) {
  .elementor-2733 .elementor-element.elementor-element-005ec0e .tm-text-editor-advanced {
    position: relative !important;
  }
  .elementor-2733 .elementor-element.elementor-element-005ec0e .elementor-repeater-item-20748ee {
    position: absolute !important;
    top: 0 !important;
    left: 2px !important;
    margin: 0 !important;
    width: 100% !important;
  }
  .elementor-2733 .elementor-element.elementor-element-005ec0e .elementor-repeater-item-20748ee * {
    margin: 0 !important;
  }
}

.jl-slider-home {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: clamp(400px, min(84vw, 88vh), 1000px);
  overflow: hidden;
}
@media (max-width: 767px) {
  .jl-slider-home {
    height: clamp(450px, 90vh, 600px);
  }
}
.jl-slider-home__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  z-index: 0;
}
.jl-slider-home__slide .elementor-ken-burns {
  transform: scale(1.08);
}
.jl-slider-home__slide .jl-slider-home__desc,
.jl-slider-home__slide .jl-slider-home__title-wrap {
  opacity: 0;
}
.jl-slider-home__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.jl-slider-home__slide.is-active .elementor-ken-burns {
  animation: jl-img-zoom 8s ease-out forwards;
}
.jl-slider-home__slide.is-active .jl-slider-home__desc {
  animation: jl-text-drop 0.7s ease-out both;
  animation-delay: 0.5s;
}
.jl-slider-home__slide.is-active .jl-slider-home__title-wrap {
  animation: jl-text-drop 0.7s ease-out both;
  animation-delay: 1s;
}
.jl-slider-home .elementor-background-slideshow__slide__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.jl-slider-home__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}
.jl-slider-home__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  padding: clamp(60px, 8vw, 120px) clamp(20px, 6vw, 96px);
}
.jl-slider-home__title-wrap {
  position: relative;
  overflow: visible;
  max-width: 70%;
}
@media (max-width: 767px) {
  .jl-slider-home__title-wrap {
    max-width: 100%;
  }
}
.jl-slider-home__cta {
  display: inline-flex;
  margin-top: 40px;
  position: relative;
  z-index: 3;
}
.jl-slider-home__title, .jl-slider-home__title-shadow {
  font-size: clamp(40px, 7.5vw, 125px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  display: block;
}
.jl-slider-home__title-shadow {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  user-select: none;
  pointer-events: none;
}
.jl-slider-home__desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(14px, 1.4vw, 31px);
  line-height: 1.6;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .jl-slider-home__desc {
    white-space: normal;
    font-size: clamp(13px, 3.5vw, 18px);
  }
}
.jl-slider-home__desc p:last-child {
  margin-bottom: 0;
}
.jl-slider-home__dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.jl-slider-home__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.jl-slider-home__dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

[data-id="6061bea"] {
  position: relative;
}

.jl-slideshow-pagination {
  display: none;
}
@media (max-width: 767px) {
  .jl-slideshow-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
  }
}
.jl-slideshow-pagination__dot {
  pointer-events: all;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.jl-slideshow-pagination__dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

.jl-slideshow-nav {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.jl-slideshow-nav__btn {
  pointer-events: all;
  width: 57px;
  height: 57px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.jl-slideshow-nav__btn:hover {
  background: #fff;
  transform: scale(1.07);
}
.jl-slideshow-nav__btn svg {
  width: 16px;
  height: 16px;
  stroke: #333;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 767px) {
  .tm-sc-working .jl-working-slick {
    overflow: hidden;
  }
  .tm-sc-working .jl-working-slide {
    padding: 0 10px;
  }
  .tm-sc-working .jl-working-slick .slick-dots {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex !important;
    justify-content: center;
    gap: 8px;
  }
  .tm-sc-working .jl-working-slick .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
  }
  .tm-sc-working .jl-working-slick .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.28);
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }
  .tm-sc-working .jl-working-slick .slick-dots li button::before {
    display: none;
  }
  .tm-sc-working .jl-working-slick .slick-dots li.slick-active button {
    background: #333;
    box-shadow: none;
    transform: scale(1.25);
  }
}
.elementor-1142 .elementor-element.elementor-element-bb05adf .tm-text-editor,
.elementor-1142 .elementor-element.elementor-element-bb05adf .tm-text-editor *,
.elementor-1142 .elementor-element.elementor-element-90b39fb .tm-text-editor,
.elementor-1142 .elementor-element.elementor-element-90b39fb .tm-text-editor * {
  color: rgba(0, 0, 0, 0.6) !important;
}

.elementor-widget-video .elementor-wrapper {
  border-radius: 30px;
}

.elementor-widget-video .elementor-wrapper iframe {
  border-radius: 30px;
  display: block;
}

.elementor-widget-video .elementor-wrapper video {
  border-radius: 30px;
  display: block;
}

#iubenda-cs-banner .iubenda-banner-content:not(.iubenda-custom-content) * strong,
#iubenda-cs-banner [class*=" iub"] strong,
#iubenda-cs-banner [class^=iub] strong {
  color: #06A8A6;
}

.tab-toggle .wpcf7-form-control.wpcf7-radio {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
}

.tab-toggle .wpcf7-radio .wpcf7-list-item {
  display: inline-flex;
  margin: 0;
}

.tab-toggle .wpcf7-radio .wpcf7-list-item input[type=radio] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tab-toggle .wpcf7-radio .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em 1.75em;
  border-radius: 10px;
  border: 1.5px solid #d0d0d0;
  background: #fff;
  color: #9a9a9a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab-toggle .wpcf7-radio .wpcf7-list-item:not(.is-active) label:hover {
  border-color: #06A8A6;
  color: #06A8A6;
}

.tab-toggle .wpcf7-radio .wpcf7-list-item label:has(input[type=radio]:checked) {
  background: #008684;
  border-color: #008684;
  border-radius: 10px;
  color: #fff;
}

.tab-toggle .wpcf7-radio .wpcf7-list-item input[type=radio]:checked ~ label {
  background: #008684;
  border-color: #008684;
  border-radius: 10px;
  color: #fff;
}

.tab-toggle .wpcf7-radio .wpcf7-list-item.is-active label {
  background: #008684;
  border-color: #008684;
  border-radius: 10px;
  color: #fff;
}

.tab-toggle .wpcf7-radio .wpcf7-list-item input[type=radio]:focus-visible ~ label,
.tab-toggle .wpcf7-radio .wpcf7-list-item label:has(input[type=radio]:focus-visible) {
  outline: 2px solid #06A8A6;
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .tab-toggle .wpcf7-form-control.wpcf7-radio {
    flex-direction: column;
    width: 100%;
    gap: 6px;
  }
  .tab-toggle .wpcf7-radio .wpcf7-list-item,
  .tab-toggle .wpcf7-radio .wpcf7-list-item label {
    width: 100%;
    justify-content: center;
  }
}
.jl-popup-chiusura-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 30, 30, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  animation: jlPopupFadeIn 0.35s ease forwards;
}
.jl-popup-chiusura-overlay.is-closing {
  animation: jlPopupFadeOut 0.25s ease forwards;
  pointer-events: none;
}

.jl-popup-chiusura-box {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 44px 36px 40px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  border-top: 5px solid #06A8A6;
  box-shadow: 0 20px 60px rgba(6, 168, 166, 0.28), 0 8px 24px rgba(0, 0, 0, 0.18);
  font-family: "Barlow", sans-serif;
  transform: translateY(16px) scale(0.98);
  animation: jlPopupBoxIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.jl-popup-chiusura-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #1f2937;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.jl-popup-chiusura-close:hover, .jl-popup-chiusura-close:focus-visible {
  background: rgba(6, 168, 166, 0.12);
  color: #059492;
  transform: rotate(90deg);
  outline: none;
}

.jl-popup-chiusura-titolo {
  margin: 0 0 16px;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: #059492;
}

.jl-popup-chiusura-testo {
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #333;
}
.jl-popup-chiusura-testo p:last-child {
  margin-bottom: 0;
}
.jl-popup-chiusura-testo a {
  color: #06A8A6;
  text-decoration: underline;
}
.jl-popup-chiusura-testo a:hover {
  color: #059492;
}

@keyframes jlPopupFadeIn {
  to {
    opacity: 1;
  }
}
@keyframes jlPopupFadeOut {
  to {
    opacity: 0;
  }
}
@keyframes jlPopupBoxIn {
  to {
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 575px) {
  .jl-popup-chiusura-box {
    padding: 40px 22px 32px;
  }
  .jl-popup-chiusura-titolo {
    font-size: 23px;
  }
}
@media (min-width: 1025px) {
  #elementor-header-top {
    transition: opacity 0.3s ease;
  }
  .tm-header-loading #elementor-header-top {
    opacity: 0;
  }
}
