.text-shadow {
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
}

.aspect-ratio-16-10 {
  aspect-ratio: 16/10;
  object-fit: cover;
}

.aspect-ratio-1-1 {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.aspect-ratio-4-3 {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.fs-xs {
  font-size: 12px;
}

footer,
footer a {
  color: rgba(255, 255, 255, 0.8);
}

.badge-contact {
  background-color: var(--base-color);
  width: 45px;
  height: 45px;
  transition: all 0.5s;
  z-index: 99;
}
.badge-contact i {
  color: white;
  transition: all 0.5s;
}
.badge-contact span {
  display: inline-block;
  width: 0;
  overflow: hidden;
  transition: all 0.5s;
}
.badge-contact:hover {
  border: 2px solid #232323;
  background-color: #232323;
  color: #fff;
  width: auto;
  padding: 0 15px;
}
.badge-contact:hover i {
  color: var(--base-color);
}
.badge-contact:hover span {
  display: inline-block;
  padding-left: 10px;
  width: auto;
  overflow: visible;
  color: var(--base-color);
}

@media (min-width: 1399px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1290px;
  }
}
.feature-box-16b .feature-box-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  transition: ease-in-out 0.4s;
  height: 80px;
}

.feature-box-16b .feature-box-content p {
  opacity: 0;
  transition: ease-in-out 0.5s;
  -webkit-transition: ease-in-out 0.5s;
  -moz-transition: ease-in-out 0.5s;
  -ms-transition: ease-in-out 0.5s;
  -o-transition: ease-in-out 0.5s;
}

.feature-box-16b {
  position: relative;
  overflow: hidden;
}

.feature-box-16b:hover .feature-box-content {
  height: 100%;
}

.feature-box-16b:hover .feature-box-content p {
  opacity: 1;
}

.btn {
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1200px) {
  .top-space {
    margin-top: 108px;
  }
}

@media (max-width: 1199.98px) {
  .header-with-topbar:not(.sticky) .navbar-top {
    top: 0;
  }
}

@media (max-width: 991.98px) {
  nav.navbar .nav-header-container {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  header a.logo img {
    max-height: 32px;
  }
}

section div > p:last-child {
  margin-bottom: 0;
}

.tabella-tecnica table,
.table-responsive table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 12px;
}
.tabella-tecnica th,
.tabella-tecnica td,
.table-responsive th,
.table-responsive td {
  padding: 9px 10px;
  border: 1px solid #dee2e6;
  vertical-align: middle;
}
.tabella-tecnica thead th,
.tabella-tecnica thead td,
.tabella-tecnica table > tbody > tr:first-child > th,
.table-responsive thead th,
.table-responsive thead td,
.table-responsive table > tbody > tr:first-child > th {
  background: #232323;
  border-color: #232323;
  color: #fff;
}

@media (max-width: 1199.98px) {
  .md-height-500px {
    height: 450px;
  }
}
@media (max-width: 767.98px) {
  .sm-height-350px {
    height: 300px;
  }
}

@media (min-width: 1200px) {
  .col-max-600 {
    max-width: 600px;
  }
}
@media (max-width: 1199.98px) {
  .col-xl-auto[style*="max-width"] {
    max-width: none !important;
  }
}

@media (min-width: 576px) {
  h2,
  .h2,
  .display-6 {
    font-size: 32px;
    line-height: 40px;
  }
  h3 {
    font-size: 24px;
    line-height: 30px;
  }
  .page-title-large h1 {
    font-size: 36px;
    line-height: 44px;
  }
}
@media (min-width: 992px) {
  h2,
  .h2,
  .display-6 {
    font-size: 36px;
    line-height: 44px;
  }
  h3 {
    font-size: 26px;
    line-height: 32px;
  }
  .page-title-large h1 {
    font-size: 42px;
    line-height: 50px;
  }
}

@media (max-width: 575.98px) {
  .main-slider .display-3 {
    font-size: 27px;
    line-height: 1.2;
  }
  .page-title-large h1 {
    font-size: 28px;
    line-height: 34px;
  }
  h2,
  .h2,
  .display-6 {
    font-size: 24px;
    line-height: 30px;
  }
  h3 {
    font-size: 21px;
    line-height: 27px;
  }
}

.full-width-pull-menu .link-style-2 ul li a {
  color: #fff;
}
.full-width-pull-menu .link-style-2 .dropdown ul li a {
  color: #cfcfcf;
}
.full-width-pull-menu .link-style-2 .dropdown ul li {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}
nav.navbar.bootsnav .full-width-pull-menu .link-style-2 .dropdown-menu > li > a {
  color: #cfcfcf;
  padding: 9px 0 9px 14px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
}
nav.navbar.bootsnav .full-width-pull-menu .link-style-2 .dropdown-menu > li > a:hover {
  background: transparent;
  color: var(--base-color);
}

nav.navbar.bootsnav .full-width-pull-menu .link-style-2 .dropdown-menu {
  padding: 0;
  margin: 0;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}
nav.navbar.bootsnav .full-width-pull-menu .link-style-2 .dropdown-menu.show {
  height: auto;
  padding: 6px 0 10px;
}
.full-width-pull-menu .dropdown .dropdown-toggle.show:before {
  height: 0;
}
.full-width-pull-menu .dropdown .dropdown-toggle:before,
.full-width-pull-menu .dropdown .dropdown-toggle:after {
  background: #fff;
}

@media (min-width: 992px) and (max-width: 1399.98px) {
  nav.navbar.bootsnav ul.nav > li > a {
    margin-left: 9px;
    margin-right: 9px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  nav.navbar.bootsnav ul.nav > li > a {
    margin-left: 5px;
    margin-right: 5px;
    font-size: 11px;
  }
  nav.navbar.bootsnav ul.nav > li.nav-cta-item,
  nav.navbar.bootsnav ul.nav > li.nav-cta-sep {
    display: none !important;
  }
}

.header-with-topbar .top-header-area {
  min-height: 34px;
}
@media (min-width: 1200px) {
  .header-with-topbar .top-header-area {
    display: flex !important;
    align-items: center;
  }
}

nav.navbar.bootsnav .dropdown-menu {
  margin-top: 0;
  padding: 10px 0;
  border: none;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
nav.navbar.bootsnav .dropdown-menu > li > a {
  display: block;
  padding: 8px 25px;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  color: #232323;
  white-space: nowrap;
}
nav.navbar.bootsnav .dropdown-menu > li > a:hover {
  background: #f5f5f5;
  color: var(--base-color);
}
nav.navbar.navbar-default.bootsnav ul.nav li.dropdown ul.dropdown-menu > li > a:hover,
nav.navbar.navbar-default.bootsnav ul.nav li.dropdown ul.dropdown-menu > li > a:focus,
nav.navbar.navbar-default.bootsnav ul.nav li.dropdown ul.dropdown-menu > li > a:active {
  background: #f5f5f5;
  color: var(--base-color);
  left: 0;
}
nav.navbar.navbar-default.bootsnav ul.nav li.dropdown ul.dropdown-menu > li.active > a {
  color: var(--base-color);
  background: transparent;
}

nav.navbar.bootsnav ul.nav > li > a.nav-cta-btn {
  background-color: var(--base-color) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  display: inline-block !important;
}
nav.navbar.bootsnav ul.nav > li > a.nav-cta-btn:hover {
  background-color: transparent !important;
  color: var(--base-color) !important;
  border-color: var(--base-color);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
  text-align: left;
}
.form-check .form-check-input {
  float: none;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  padding: 0;
  border-radius: 3px;
}
.form-check .form-check-input:checked {
  background-color: var(--base-color);
  border-color: var(--base-color);
}
.form-check .form-check-label {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
}

.border-top.padding-20px-top {
  margin-top: 20px;
}

.row-cols-lg-3 .text-center.bg-white.rounded-1.overflow-hidden {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.row-cols-lg-3 .text-center.bg-white.rounded-1.overflow-hidden > div:last-child {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.row-cols-lg-3 .text-center.bg-white.rounded-1.overflow-hidden .border-top {
  margin-top: auto;
}
.row-cols-lg-3 .text-center.bg-white.rounded-1.overflow-hidden .w-95.xl-w-100 {
  margin-bottom: 20px;
}

.parsley-errors-list {
  list-style: none;
  margin: -14px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #dc3545;
}
.parsley-errors-list > li {
  margin: 0;
  padding: 0;
}
input.parsley-error,
textarea.parsley-error {
  border-color: #dc3545;
}
.opx-recaptcha-note {
  margin: 15px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
}

/* Processo di produzione */
.process-steps .process-step {
  position: relative;
  height: 100%;
  padding: 40px 30px;
  text-align: center;
  background: #f7f7f7;
  border-radius: 4px;
  border-bottom: 3px solid transparent;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease, border-color 0.4s ease;
}
.process-steps .process-step:hover {
  transform: translateY(-10px);
  background: #fff;
  border-color: var(--base-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.process-steps .process-step-number {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border: 2px solid var(--base-color);
  border-radius: 50%;
  background: transparent;
  color: #232323;
  font-size: 26px;
  font-weight: 700;
  transition: background-color 0.4s ease, transform 0.4s ease, color 0.4s ease;
}
.process-steps .process-step:hover .process-step-number {
  background: var(--base-color);
  transform: scale(1.1);
}
@media (min-width: 768px) {
  .process-steps > .col {
    position: relative;
  }
  .process-steps > .col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 80px;
    left: calc(50% + 60px);
    width: calc(100% - 120px);
    height: 1px;
    background: #ddd;
    z-index: 1;
    pointer-events: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .process-steps .process-step,
  .process-steps .process-step-number {
    transition: none;
  }
  .process-steps .process-step:hover,
  .process-steps .process-step:hover .process-step-number {
    transform: none;
  }
}

/* Tile settori e punti di forza */
.sector-tiles .sector-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 130px;
  padding: 35px 25px 30px;
  text-align: center;
  background: #f7f7f7;
  border-radius: 4px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}
.sector-tiles .sector-tile::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 16px;
  background: var(--base-color);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.sector-tiles .sector-tile::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--base-color);
  border-radius: 0 0 4px 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.bg-light-gray .sector-tiles .sector-tile {
  background: #fff;
}
.sector-tiles .sector-tile:hover {
  transform: translateY(-8px);
  background: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
}
.sector-tiles .sector-tile:hover::before {
  width: 60px;
}
.sector-tiles .sector-tile:hover::after {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .sector-tiles .sector-tile,
  .sector-tiles .sector-tile::before,
  .sector-tiles .sector-tile::after {
    transition: none;
  }
  .sector-tiles .sector-tile:hover {
    transform: none;
  }
}

/* Sostenibilità: box verdi */
.eco-section {
  --eco-green: #3f7a32;
  --eco-green-light: #eef5ea;
}
.eco-section .eco-image img {
  display: block;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.eco-section .eco-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 30px 25px;
  text-align: center;
  color: #555;
  background: var(--eco-green-light);
  border-radius: 6px;
  border-top: 3px solid var(--eco-green);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}
.eco-section .eco-card::before {
  content: "";
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  background-color: var(--eco-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px;
  border-radius: 50%;
  transition: background-color 0.4s ease, background-image 0.4s ease, transform 0.4s ease;
}
.eco-section .eco-card:hover {
  transform: translateY(-8px);
  color: #fff;
  background: var(--eco-green);
  box-shadow: 0 18px 36px rgba(63, 122, 50, 0.3);
}
.eco-section .eco-card:hover::before {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f7a32' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  transform: scale(1.1);
}
@media (prefers-reduced-motion: reduce) {
  .eco-section .eco-card,
  .eco-section .eco-card::before {
    transition: none;
  }
  .eco-section .eco-card:hover,
  .eco-section .eco-card:hover::before {
    transform: none;
  }
}

/* Sostenibilità: valori */
.eco-section .value-card {
  position: relative;
  height: 100%;
  padding: 45px 40px 40px 50px;
  background: var(--eco-green-light);
  border-radius: 6px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}
.eco-section .value-card::before {
  content: attr(data-number);
  position: absolute;
  top: 8px;
  right: 24px;
  font-family: 'Rubik', sans-serif;
  font-size: 84px;
  font-weight: 700;
  line-height: 1;
  color: var(--eco-green);
  opacity: 0.12;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.eco-section .value-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: var(--eco-green);
  border-radius: 6px 0 0 6px;
  transform: scaleY(0.35);
  transform-origin: top;
  transition: transform 0.4s ease;
}
.eco-section .value-card:hover {
  transform: translateY(-8px);
  background: #fff;
  box-shadow: 0 18px 36px rgba(63, 122, 50, 0.18);
}
.eco-section .value-card:hover::before {
  opacity: 0.25;
  transform: translateX(-6px);
}
.eco-section .value-card:hover::after {
  transform: scaleY(1);
}
@media (prefers-reduced-motion: reduce) {
  .eco-section .value-card,
  .eco-section .value-card::before,
  .eco-section .value-card::after {
    transition: none;
  }
  .eco-section .value-card:hover,
  .eco-section .value-card:hover::before {
    transform: none;
  }
}

/* Contatti */
.contact-info .contact-map {
  height: 100%;
  min-height: 600px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.contact-info .contact-map img,
.contact-info .contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  border: 0;
}
.contact-info .contact-grid {
  position: relative;
  z-index: 2;
  padding: 10px 35px;
  color: #232323;
  background: #fff;
  border-radius: 6px;
  border-top: 4px solid var(--base-color);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}
@media (min-width: 992px) {
  .contact-info .contact-grid {
    margin: 0 0 0 -90px;
  }
  .contact-info .contact-side {
    display: flex;
    align-items: center;
  }
  .contact-info .contact-side .contact-grid {
    width: 100%;
  }
}
@media (max-width: 991.98px) {
  .contact-info .contact-map,
  .contact-info .contact-map img,
  .contact-info .contact-map iframe {
    min-height: 320px;
  }
  .contact-info .contact-grid {
    margin: -40px 20px 0;
  }
}
.contact-info .contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  color: #232323;
  background: transparent;
  border-bottom: 1px solid #e8e8e8;
}
.contact-info .contact-card:last-child {
  border-bottom: 0;
}
.contact-info .contact-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-size: 19px;
  color: #232323;
  background: var(--base-color);
  border-radius: 50%;
  transition: transform 0.4s ease;
}
.contact-info .contact-card:hover .contact-icon {
  transform: scale(1.12) rotate(-8deg);
}
.contact-info .contact-card .text-uppercase {
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.contact-info .contact-card p,
.contact-info .contact-card div:not(.text-uppercase):not(.contact-icon) {
  margin: 0;
  color: #232323;
}
.contact-info .contact-card a {
  color: #232323;
  word-break: break-word;
  transition: color 0.3s ease;
}
.contact-info .contact-card a:hover {
  color: #d9a400;
}
@media (prefers-reduced-motion: reduce) {
  .contact-info .contact-icon,
  .contact-info .contact-card a {
    transition: none;
  }
  .contact-info .contact-card:hover .contact-icon {
    transform: none;
  }
}

/* Form contatti */
#contattiForm {
  padding: 45px 45px 35px;
  background: #fff;
  border-radius: 6px;
  border-top: 4px solid var(--base-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}
#contattiForm .medium-input,
#contattiForm .medium-textarea {
  margin: 0;
  padding: 15px 20px;
  color: #232323;
  background: #f7f7f7;
  border: 1px solid #ececec;
  border-radius: 4px;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
#contattiForm .medium-textarea {
  min-height: 150px;
  resize: vertical;
}
#contattiForm .medium-input:hover,
#contattiForm .medium-textarea:hover {
  border-color: #d5d5d5;
}
#contattiForm .medium-input:focus,
#contattiForm .medium-textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--base-color);
  box-shadow: 0 0 0 4px rgba(250, 199, 22, 0.2);
}
#contattiForm .form-check {
  margin-bottom: 0 !important;
  padding: 15px 18px;
  background: #f7f7f7;
  border-radius: 4px;
}
#contattiForm .form-check .form-check-input {
  border-color: #bbb;
  cursor: pointer;
}
#contattiForm .form-check .form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(250, 199, 22, 0.25);
}
#contattiForm .form-check .form-check-label {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  font-size: 13px;
  cursor: pointer;
}
#contattiForm .btn.btn-primary:hover,
#contattiForm .btn.btn-primary:focus {
  color: #fff;
  background-color: #232323;
  border-color: #232323;
}
#contattiForm .parsley-errors-list {
  margin: 6px 0 0;
}
#contattiForm .medium-input.parsley-error,
#contattiForm .medium-textarea.parsley-error {
  background: #fff7f7;
  border-color: #dc3545;
}
#contattiForm .medium-input.parsley-error:focus,
#contattiForm .medium-textarea.parsley-error:focus {
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}
#contattiForm .form-check {
  flex-wrap: wrap;
}
#contattiForm .form-check .parsley-errors-list {
  flex: 0 0 100%;
  order: 3;
  margin: 4px 0 0 28px;
}
@media (max-width: 575.98px) {
  #contattiForm {
    padding: 30px 20px 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #contattiForm .medium-input,
  #contattiForm .medium-textarea {
    transition: none;
  }
}

/* Tab tabella tecnica */
.tech-tabs .nav-tabs {
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  border: 0;
}
.tech-tabs .nav-tabs .nav-link {
  padding: 12px 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #232323;
  background: #f7f7f7;
  border: 1px solid #ececec;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.tech-tabs .nav-tabs .nav-link:hover {
  border-color: var(--base-color);
  transform: translateY(-2px);
}
.tech-tabs .nav-tabs .nav-link.active {
  color: #232323;
  background: var(--base-color);
  border-color: var(--base-color);
}
.tech-tabs .tab-pane.active {
  animation: tech-tab-in 0.4s ease;
}
@keyframes tech-tab-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 575.98px) {
  .tech-tabs .nav-tabs .nav-link {
    padding: 10px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tech-tabs .nav-tabs .nav-link,
  .tech-tabs .tab-pane.active {
    transition: none;
    animation: none;
  }
  .tech-tabs .nav-tabs .nav-link:hover {
    transform: none;
  }
}

/* Gallery lavorazioni */
.work-gallery .portfolio-img {
  position: relative;
  background: #232323;
  border-radius: 6px;
}
.work-gallery .portfolio-img img {
  display: block;
  width: 100%;
  transition: transform 0.8s ease;
}
.work-gallery .portfolio-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05) 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.work-gallery .portfolio-img::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 60px;
  height: 60px;
  background: var(--base-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232323' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 26px no-repeat;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -30%) scale(0.6);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.work-gallery .swiper-slide:hover .portfolio-img img {
  transform: scale(1.08);
}
.work-gallery .swiper-slide:hover .portfolio-img::before {
  opacity: 1;
}
.work-gallery .swiper-slide:hover .portfolio-img::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.work-gallery .swiper-pagination-bullet-active {
  background: var(--base-color);
}
@media (prefers-reduced-motion: reduce) {
  .work-gallery .portfolio-img img,
  .work-gallery .portfolio-img::before,
  .work-gallery .portfolio-img::after {
    transition: none;
  }
  .work-gallery .swiper-slide:hover .portfolio-img img {
    transform: none;
  }
}

/* Tab famiglie prodotto e categorie */
.family-tabs {
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  padding: 6px;
  overflow-x: auto;
  background: #f3f3f3;
  border-radius: 4px;
  scrollbar-width: none;
}
.family-tabs::-webkit-scrollbar {
  display: none;
}
.family-tab {
  position: relative;
  flex: 0 0 auto;
  padding: 13px 30px;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  color: #555;
  background: transparent;
  border-radius: 3px;
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.family-tab:hover {
  color: #232323;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.family-tab.active,
.family-tab.active:hover {
  color: #232323;
  background: var(--base-color);
  box-shadow: 0 8px 20px rgba(250, 199, 22, 0.45);
  transform: none;
  cursor: default;
}
@media (max-width: 575.98px) {
  .family-tab {
    padding: 11px 20px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .family-tab {
    transition: none;
  }
  .family-tab:hover {
    transform: none;
  }
}

/* Tile con colore per voce */
.sector-tiles.color-tiles > .col:nth-child(5n + 1) { --tile-color: #e0453a; }
.sector-tiles.color-tiles > .col:nth-child(5n + 2) { --tile-color: #2f80c9; }
.sector-tiles.color-tiles > .col:nth-child(5n + 3) { --tile-color: #3fa56b; }
.sector-tiles.color-tiles > .col:nth-child(5n + 4) { --tile-color: #f28c28; }
.sector-tiles.color-tiles > .col:nth-child(5n + 5) { --tile-color: #8a56b5; }
.sector-tiles.color-tiles .sector-tile::before,
.sector-tiles.color-tiles .sector-tile::after {
  background: var(--tile-color, var(--base-color));
}
.sector-tiles.color-tiles .sector-tile:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer .footer-title {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 14px;
  letter-spacing: 1px;
}
footer .footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background: var(--base-color);
  border-radius: 2px;
}
footer .footer-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 20px;
  margin: 0;
}
footer .footer-menu a {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  transition: color 0.3s ease, transform 0.3s ease;
}
footer .footer-menu a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--base-color);
  border-radius: 1px;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.3s ease, left 0.3s ease;
}
footer .footer-menu a:hover {
  color: var(--base-color);
  transform: translateX(14px);
}
footer .footer-menu a:hover::before {
  opacity: 1;
  left: -14px;
}
footer .footer-contact {
  margin: 0;
}
footer .footer-contact li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 24px;
}
footer .footer-contact .fc-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 14px;
  color: #232323;
  background: var(--base-color);
  border-radius: 4px;
  transition: transform 0.3s ease;
}
footer .footer-contact li:hover .fc-icon {
  transform: translateY(-3px);
}
footer .footer-contact .fc-text {
  min-width: 0;
  color: #fff;
  word-break: break-word;
}
footer .footer-contact .fc-text a {
  color: #fff;
}
footer .footer-contact .fc-text a:hover {
  color: var(--base-color);
}
@media (prefers-reduced-motion: reduce) {
  footer .footer-menu a,
  footer .footer-menu a::before,
  footer .footer-contact .fc-icon {
    transition: none;
  }
  footer .footer-menu a:hover,
  footer .footer-contact li:hover .fc-icon {
    transform: none;
  }
}

/* Footer: colonne */
footer .footer-menu a,
footer .footer-contact li {
  font-size: 14px;
}
footer .footer-brand p {
  font-size: 14px;
  line-height: 24px;
}
@media (max-width: 1199.98px) {
  footer .footer-widget-area .widget {
    margin-bottom: 45px;
  }
  footer .footer-widget-area .widget:last-child {
    margin-bottom: 0;
  }
}
@media (min-width: 1200px) {
  footer .footer-widget-area .widget + .widget {
    padding-left: 50px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Footer: logo */
footer .footer-brand .footer-logo {
  max-height: 70px;
  width: auto;
}
@media (max-width: 575.98px) {
  footer .footer-brand .footer-logo {
    max-height: 56px;
  }
}

/* Badge reCAPTCHA */
body.opx-recaptcha-nascondi-badge .grecaptcha-badge {
  visibility: hidden;
}

/* Articolo blog */
.article-head {
  padding-top: 40px;
  padding-bottom: 30px;
  overflow-x: clip;
  overflow-y: visible;
}
.article-body {
  padding-top: 40px;
}
@media (max-width: 767.98px) {
  .article-body {
    padding-top: 30px;
  }
}
.article-head .breadcrumb {
  margin-bottom: 30px;
}
.article-head .article-cats {
  margin-bottom: 18px;
}
.article-head .article-cats a {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #232323;
  background: var(--base-color);
  border-radius: 3px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.article-head .article-cats a:hover {
  color: #fff;
  background: #232323;
}
.article-head .article-title {
  margin: 0 0 20px;
  font-size: 46px;
  line-height: 1.15;
}
.article-head .article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 1px;
  color: #777;
}
.article-head .article-meta i {
  color: var(--base-color);
}
.article-head .article-cover {
  position: relative;
  margin-top: 45px;
  z-index: 0;
}
.article-head .article-cover::before {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -18px;
  width: 45%;
  height: 55%;
  background: var(--base-color);
  border-radius: 6px;
  z-index: -1;
}
.article-head .article-cover img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
@media (max-width: 991.98px) {
  .article-head .article-title {
    font-size: 34px;
  }
  .article-head .article-cover::before {
    left: -8px;
    bottom: -8px;
  }
}
@media (max-width: 575.98px) {
  .article-head .article-title {
    font-size: 28px;
  }
}
.side-box {
  margin-bottom: 30px;
  padding: 30px;
  background: #fff;
  border-top: 4px solid var(--base-color);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.side-box-title {
  margin-bottom: 20px;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #232323;
}
.side-list li + li {
  border-top: 1px solid #eee;
}
.side-list a {
  position: relative;
  display: block;
  padding: 12px 0;
  color: #555;
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.side-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--base-color);
  border-radius: 1px;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.3s ease;
}
.side-list a:hover {
  color: #232323;
  padding-left: 16px;
}
.side-list a:hover::before {
  opacity: 1;
}
.side-tags span {
  display: inline-block;
  margin: 0 6px 8px 0;
  padding: 5px 12px;
  font-size: 12px;
  color: #555;
  background: #f4f4f4;
  border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .article-head .article-cats a,
  .side-list a,
  .side-list a::before {
    transition: none;
  }
}

/* Contatore nei tab */
.family-tab .tab-count {
  display: inline-block;
  min-width: 22px;
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 3px;
}
.family-tab.active .tab-count {
  background: rgba(0, 0, 0, 0.14);
}

/* Card articolo */
.blog-post.h-100 {
  display: flex;
  flex-direction: column;
}
.blog-post.h-100 .post-details {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}
.blog-post.h-100 .post-details .separator-line-horrizontal-full + div {
  flex-grow: 1;
}
.blog-post.h-100 .post-details .btn,
.blog-post.h-100 .post-details .btn.mt-4 {
  align-self: flex-start;
  margin-top: 24px !important;
}

/* Cambio lingua nel menu mobile */
.mobile-lang {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mobile-lang a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.mobile-lang a:hover,
.mobile-lang a.active {
  color: #232323;
  background: var(--base-color);
  border-color: var(--base-color);
}

/* Header mobile */
@media (max-width: 991.98px) {
  nav.navbar.bootsnav {
    border-bottom: 3px solid var(--base-color);
  }
  nav.navbar .mobile-toggle {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 0;
    padding: 0;
    background: var(--base-color);
    border: 0;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }
  nav.navbar .mobile-toggle span {
    width: 18px;
    height: 2px;
    background: #232323;
    transition: background-color 0.3s ease;
  }
  nav.navbar .mobile-toggle:hover {
    background: #232323;
  }
  nav.navbar .mobile-toggle:hover span {
    background: var(--base-color);
  }
}

/* Header mobile: chiama e scrivi */
.mobile-actions {
  gap: 6px;
}
.mobile-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 14px;
  color: #232323;
  background: #fff;
  border: 2px solid var(--base-color);
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.mobile-action:hover,
.mobile-action:active {
  color: #232323;
  background: var(--base-color);
}

/* H1 della home */
.home-h1 {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 2px;
}
@media (max-width: 575.98px) {
  .home-h1 {
    font-size: 13px;
    letter-spacing: 1px;
  }
}

/* Tile settori come h3 */
.sector-tiles h3.sector-tile {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.card-heading {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

/* Menu mobile aperto */
body.show-menu.position-fixed {
  position: relative !important;
}

/* Testata senza copertina */
.page-head-plain {
  background: linear-gradient(135deg, #2b2b2b 0%, #1c1c1c 100%);
}
.page-head-plain .page-title-large h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 22px auto 0;
  background: var(--base-color);
  border-radius: 2px;
}

/* Pulsanti condividi */
.share-title {
  margin-bottom: 14px;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
  color: #232323;
}
@media (max-width: 1199.98px) {
  .share-bar {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 0;
  }
  .share-bar > .col {
    flex: 0 0 56px;
    width: 56px;
    max-width: 56px;
    margin: 0;
    padding: 0;
  }
  .share-bar .share-text {
    display: none;
  }
  .share-bar .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    font-size: 22px;
    line-height: 1;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  }
  .share-bar .btn i {
    margin: 0;
    top: 0;
  }
  .share-bar .btn:hover,
  .share-bar .btn:active {
    color: #fff;
    background: #232323;
    border-color: #232323;
    transform: translateY(-2px);
  }
}

/* Header: logo e pulsante allineati ai bordi della topbar */
nav.navbar .nav-header-container > .row {
  margin-left: 0;
  margin-right: 0;
}
nav.navbar .nav-header-container > .row > .col-auto {
  padding-left: 0;
}
nav.navbar .nav-header-container > .row > .col {
  padding-right: 0;
}
nav.navbar ul.nav > li.nav-cta-item > a.nav-cta-btn {
  margin-right: 0 !important;
}
