@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");
:root {
  --rosso-ok: #ab0300;
  --soft-red: #ffb4a8;
  --black: #222222;
  --soft-black: #141c27;
  --dark-blue: #0f172a;
  --grey: #f8f9ff;
  --service-grey: #575f6b;
  --light-grey: #94a3b8;
  --pastel-blue: #e6eefd;
  --pastel-green: rgba(0, 126, 3, 0.1);
  --pastel-grey: #dbe3f2;

  --menu-grey: #475569;
}

/* GENERAL */

html {
  scrollbar-gutter: stable;
}
body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

h1,
h2,
h3,
h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
a:hover,
a:focus,
a[href^="mailto:"]:hover,
a[href^="mailto:"]:focus,
a[href^="tel:"]:hover,
a[href^="tel:"]:focus {
  color: inherit;
}

.error404 .cont-hero h1,
.error404 .cont-hero h2,
.error404 .cont-hero h3,
.error404 .cont-hero p {
  color: var(--black);
  text-align: center;
}

/* HEADER */
/* =========================================================
   HEADER BASE
========================================================= */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1002;
  width: 100%;
  display: flex;
  height: 78px;
  background: #fff;
  overflow: visible !important;
  align-items: center;
}

body {
  padding-top: 80px;
}

.main-header .container {
  position: relative;
  overflow: visible !important;
}

/* livello bianco header */
.main-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #fff;
  pointer-events: none;
}

/* ombra ellittica sotto */
.main-header::before {
  content: "";
  position: absolute;
  left: -134px;
  bottom: 10px;
  width: 81vw;
  height: 34px;
  z-index: 0;
  pointer-events: none;
  border-radius: 115%;
  background: rgb(139 139 139);
  filter: blur(18px);
  opacity: 0.45;
}

.main-header .container,
.main-header .row,
.main-header__row {
  position: relative;
  z-index: 2;
  overflow: visible !important;
}

.logo-header {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-header img {
  display: block;
  width: 150px;
  height: auto;
}

/* =========================================================
   DESKTOP MENU
========================================================= */

.menu-desktop,
.menu-desktop ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-desktop {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 55px;
}

.menu-desktop > li {
  position: relative;
}

.menu-desktop a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  color: var(--menu-grey);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.menu-desktop a:hover,
.menu-desktop a:focus {
  color: var(--rosso-ok);
  text-decoration: none;
}

.menu-desktop .menu-item-has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

/* =========================================================
   DESKTOP DROPDOWN
========================================================= */

.menu-desktop .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 10px;
  margin: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.menu-desktop li:hover > .sub-menu,
.menu-desktop li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-desktop .sub-menu a {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 13px;
  justify-content: flex-start;
}

.menu-desktop .sub-menu a:hover,
.menu-desktop .sub-menu a:focus {
  background: #eef3ff;
  color: var(--rosso-ok);
}

/* =========================================================
   DESKTOP ACTIONS
========================================================= */

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 32px;
}

.header-search {
  position: relative;
  width: 248px;
}

.header-search::before,
.overlay-search::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background: #575f6b;
  pointer-events: none;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11' fill='none'%3E%3Cpath d='M9.68333 10.5L6.00833 6.825C5.71667 7.05833 5.38125 7.24306 5.00208 7.37917C4.62292 7.51528 4.21944 7.58333 3.79167 7.58333C2.73194 7.58333 1.83507 7.21632 1.10104 6.48229C0.367014 5.74826 0 4.85139 0 3.79167C0 2.73194 0.367014 1.83507 1.10104 1.10104C1.83507 0.367014 2.73194 0 3.79167 0C4.85139 0 5.74826 0.367014 6.48229 1.10104C7.21632 1.83507 7.58333 2.73194 7.58333 3.79167C7.58333 4.21944 7.51528 4.62292 7.37917 5.00208C7.24306 5.38125 7.05833 5.71667 6.825 6.00833L10.5 9.68333L9.68333 10.5ZM3.79167 6.41667C4.52083 6.41667 5.14062 6.16146 5.65104 5.65104C6.16146 5.14062 6.41667 4.52083 6.41667 3.79167C6.41667 3.0625 6.16146 2.44271 5.65104 1.93229C5.14062 1.42188 4.52083 1.16667 3.79167 1.16667C3.0625 1.16667 2.44271 1.42188 1.93229 1.93229C1.42188 2.44271 1.16667 3.0625 1.16667 3.79167C1.16667 4.52083 1.42188 5.14062 1.93229 5.65104C2.44271 6.16146 3.0625 6.41667 3.79167 6.41667Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11' fill='none'%3E%3Cpath d='M9.68333 10.5L6.00833 6.825C5.71667 7.05833 5.38125 7.24306 5.00208 7.37917C4.62292 7.51528 4.21944 7.58333 3.79167 7.58333C2.73194 7.58333 1.83507 7.21632 1.10104 6.48229C0.367014 5.74826 0 4.85139 0 3.79167C0 2.73194 0.367014 1.83507 1.10104 1.10104C1.83507 0.367014 2.73194 0 3.79167 0C4.85139 0 5.74826 0.367014 6.48229 1.10104C7.21632 1.83507 7.58333 2.73194 7.58333 3.79167C7.58333 4.21944 7.51528 4.62292 7.37917 5.00208C7.24306 5.38125 7.05833 5.71667 6.825 6.00833L10.5 9.68333L9.68333 10.5ZM3.79167 6.41667C4.52083 6.41667 5.14062 6.16146 5.65104 5.65104C6.16146 5.14062 6.41667 4.52083 6.41667 3.79167C6.41667 3.0625 6.16146 2.44271 5.65104 1.93229C5.14062 1.42188 4.52083 1.16667 3.79167 1.16667C3.0625 1.16667 2.44271 1.42188 1.93229 1.93229C1.42188 2.44271 1.16667 3.0625 1.16667 3.79167C1.16667 4.52083 1.42188 5.14062 1.93229 5.65104C2.44271 6.16146 3.0625 6.41667 3.79167 6.41667Z' fill='black'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.header-search input,
.overlay-search input {
  width: 100%;
  height: 36px;
  padding: 0 18px 0 44px;
  border: 0;
  border-radius: 13px;
  background: #eef3ff;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  outline: none;
}

.header-search input::placeholder,
.overlay-search input::placeholder {
  color: #64748b;
}

.header-search input:focus,
.overlay-search input:focus {
  outline: 3px solid var(--soft-red);
  outline-offset: 2px;
}

/* WhatsApp icon */
.header-whatsapp {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 25px;
  background: transparent;
  border-radius: 0;
  text-decoration: none;
}

.header-whatsapp::before {
  content: "";
  width: 25px;
  height: 25px;
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25' fill='none'%3E%3Cg clip-path='url(%23clip0_150_28380)'%3E%3Cpath d='M0.533691 12.3504C0.533105 14.4509 1.08623 16.5018 2.13799 18.3096L0.433105 24.4861L6.80341 22.8288C8.56536 23.7805 10.5395 24.2792 12.5456 24.2794H12.5509C19.1734 24.2794 24.5643 18.9322 24.5671 12.3598C24.5684 9.175 23.3196 6.18023 21.0506 3.92713C18.7821 1.67422 15.765 0.432848 12.5504 0.431395C5.92704 0.431395 0.536523 5.77829 0.533789 12.3504' fill='url(%23paint0_linear_150_28380)'/%3E%3Cpath d='M0.104492 12.3465C0.103808 14.5226 0.676756 16.6469 1.76601 18.5194L0 24.9173L6.59872 23.2006C8.41688 24.1842 10.4639 24.7028 12.5469 24.7036H12.5523C19.4125 24.7036 24.997 19.1641 25 12.3564C25.0011 9.05717 23.7074 5.95475 21.3574 3.62093C19.0071 1.2874 15.8821 0.00135659 12.5523 0C5.691 0 0.107226 5.53876 0.104492 12.3465ZM4.03427 18.1969L3.78788 17.8088C2.75214 16.1747 2.20546 14.2863 2.20625 12.3473C2.20839 6.68886 6.8494 2.08527 12.5562 2.08527C15.3199 2.08643 17.9172 3.15543 19.8707 5.09496C21.8241 7.03469 22.899 9.61318 22.8983 12.3556C22.8958 18.0141 18.2547 22.6182 12.5523 22.6182H12.5482C10.6915 22.6172 8.87049 22.1225 7.28241 21.1875L6.90448 20.9651L2.98867 21.9838L4.03427 18.1969Z' fill='url(%23paint1_linear_150_28380)'/%3E%3Cpath d='M9.4414 7.18488C9.20839 6.67103 8.96318 6.66066 8.7416 6.65165C8.56015 6.64389 8.35273 6.64448 8.1455 6.64448C7.93808 6.64448 7.60107 6.7219 7.31621 7.03052C7.03105 7.33944 6.22754 8.08595 6.22754 9.60426C6.22754 11.1226 7.34209 12.59 7.49746 12.7961C7.65302 13.0018 9.64911 16.2173 12.8104 17.4544C15.4378 18.4824 15.9724 18.2779 16.5427 18.2264C17.113 18.175 18.3829 17.48 18.642 16.7594C18.9012 16.0389 18.9012 15.4212 18.8235 15.2922C18.7458 15.1636 18.5384 15.0863 18.2273 14.9321C17.9163 14.7778 16.3871 14.0311 16.102 13.9281C15.8169 13.8252 15.6096 13.7738 15.4021 14.0828C15.1947 14.3914 14.5991 15.0863 14.4176 15.2922C14.2362 15.4984 14.0547 15.5241 13.7437 15.3698C13.4325 15.2149 12.4308 14.8894 11.2425 13.8382C10.3179 13.0202 9.69365 12.01 9.5122 11.701C9.33076 11.3924 9.49277 11.2252 9.64872 11.0714C9.78847 10.9331 9.95986 10.711 10.1155 10.5309C10.2706 10.3507 10.3224 10.2221 10.4261 10.0163C10.5299 9.81027 10.4779 9.63004 10.4003 9.47568C10.3224 9.32132 9.71796 7.79506 9.4414 7.18488Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_150_28380' x1='1207.14' y1='2405.91' x2='1207.14' y2='0.431395' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231FAF38'/%3E%3Cstop offset='1' stop-color='%2360D669'/%3E%3C/linearGradient%3E%3ClinearGradient id='paint1_linear_150_28380' x1='1250' y1='2491.73' x2='1250' y2='0' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23F9F9F9'/%3E%3Cstop offset='1' stop-color='white'/%3E%3C/linearGradient%3E%3CclipPath id='clip0_150_28380'%3E%3Crect width='25' height='25' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px 25px;
}
.header-cta {
  min-width: 168px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  border-radius: 13px;
  background: var(--rosso-ok);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.header-cta:hover,
.header-cta:focus {
  background: #920300;
  color: #fff;
  text-decoration: none;
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.header-whatsapp:hover,
.header-whatsapp:focus {
  background: #20bd5a;
}

.header-whatsapp:focus-visible {
  outline: 3px solid var(--soft-red);
  outline-offset: 4px;
}

/* =========================================================
   MOBILE HEADER
========================================================= */

@media (max-width: 1379px) {
  body {
    padding-top: 70px;
  }

  .main-header .container::after {
    left: 0;
    right: 0;
    bottom: -18px;
    height: 18px;
    background: linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.08) 0%,
      rgba(15, 23, 42, 0.03) 50%,
      rgba(15, 23, 42, 0) 100%
    );
  }

  .main-header .row,
  .main-header__row {
    min-height: 70px;
  }

  .logo-header img {
    width: 116px;
  }

  @media (max-width: 1379px) {
    .hamburger {
      position: relative;
      z-index: 1004;
      width: 40px;
      height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='none'%3E%3Cpath d='M9.99998 11.6667H18.3333C18.7753 11.6667 19.1993 11.8423 19.5118 12.1548C19.8244 12.4674 20 12.8913 20 13.3333C20 13.7754 19.8244 14.1993 19.5118 14.5118C19.1993 14.8244 18.7753 15 18.3333 15H9.99998C9.55795 15 9.13403 14.8244 8.82147 14.5118C8.50891 14.1993 8.33331 13.7754 8.33331 13.3333C8.33331 12.8913 8.50891 12.4674 8.82147 12.1548C9.13403 11.8423 9.55795 11.6667 9.99998 11.6667ZM21.6666 25H30C30.442 25 30.8659 25.1756 31.1785 25.4882C31.4911 25.8007 31.6666 26.2246 31.6666 26.6667C31.6666 27.1087 31.4911 27.5326 31.1785 27.8452C30.8659 28.1577 30.442 28.3333 30 28.3333H21.6666C21.2246 28.3333 20.8007 28.1577 20.4881 27.8452C20.1756 27.5326 20 27.1087 20 26.6667C20 26.2246 20.1756 25.8007 20.4881 25.4882C20.8007 25.1756 21.2246 25 21.6666 25ZM9.99998 18.3333H30C30.442 18.3333 30.8659 18.5089 31.1785 18.8215C31.4911 19.134 31.6666 19.558 31.6666 20C31.6666 20.442 31.4911 20.8659 31.1785 21.1785C30.8659 21.4911 30.442 21.6667 30 21.6667H9.99998C9.55795 21.6667 9.13403 21.4911 8.82147 21.1785C8.50891 20.8659 8.33331 20.442 8.33331 20C8.33331 19.558 8.50891 19.134 8.82147 18.8215C9.13403 18.5089 9.55795 18.3333 9.99998 18.3333Z' fill='black'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
      background-size: 40px 40px;
    }

    .hamburger:has(.hamburgerClick:checked) {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='none'%3E%3Cpath d='M10.6663 30.5133L9.48633 29.3333L18.8197 20L9.48633 10.6667L10.6663 9.48666L19.9997 18.82L29.333 9.48666L30.513 10.6667L21.1797 20L30.513 29.3333L29.333 30.5133L19.9997 21.18L10.6663 30.5133Z' fill='black'/%3E%3C/svg%3E");
    }

    .hamburgerClick {
      position: absolute;
      inset: 0;
      z-index: 5;
      width: 40px;
      height: 40px;
      opacity: 0;
      cursor: pointer;
    }

    .hamburger span {
      display: none;
    }
  }

  .mobile-header-actions {
    height: 42px;
  }

  .header-whatsapp--mobile {
    width: 20px;
    height: 20px;
  }

  .hamburgerClick {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 42px;
    height: 42px;
    opacity: 0;
    cursor: pointer;
  }
}

/* =========================================================
   MOBILE OVERLAY MENU - ALSA
   Markup:
   .overlay > .wrapper > .overlay-content.container
   .overlay-search
   .menu-classic
   .overlay-cta
========================================================= */

@media (max-width: 1379px) {
  .overlay {
    position: fixed !important;
    top: 78px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1001 !important;
    width: 100% !important;
    height: calc(100dvh - 70px) !important;
    min-height: calc(100dvh - 70px) !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    overflow-y: auto !important;
  }

  .overlay .wrapper {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    transform: none !important;
  }

  .overlay-content.container {
    position: static !important;
    inset: auto !important;
    transform: none !important;

    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;

    display: flex !important;
    flex-direction: column !important;

    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    text-align: left !important;
  }

  /* SEARCH */
  .overlay-search {
    position: relative !important;
    flex: 0 0 auto !important;
    display: block !important;
    width: 100% !important;
    padding: 26px 20px 26px !important;
    margin: 0 !important;
    background: #fff !important;
  }

  .overlay-search::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 36px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background: #64748b;
    pointer-events: none;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M21 21L16.65 16.65M19 11C19 15.4183 15.4183 19 11 19C6.58172 19 3 15.4183 3 11C3 6.58172 6.58172 3 11 3C15.4183 3 19 6.58172 19 11Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M21 21L16.65 16.65M19 11C19 15.4183 15.4183 19 11 19C6.58172 19 3 15.4183 3 11C3 6.58172 6.58172 3 11 3C15.4183 3 19 6.58172 19 11Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
  }

  .overlay-search input {
    display: block !important;
    width: 100% !important;
    height: 51px !important;
    padding: 0 18px 0 48px !important;
    border: 1px solid #ccd5e5 !important;
    border-radius: 10px !important;
    background: #eef3ff !important;
    color: #334155 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    outline: none !important;
  }

  .overlay-search input::placeholder {
    color: #64748b !important;
  }

  .overlay-search input:focus {
    outline: 3px solid var(--soft-red) !important;
    outline-offset: 2px !important;
  }

  /* AREA ROSSA */
  .menu-classic {
    position: static !important;
    flex: 1 1 auto !important;
    display: block !important;
    width: 100% !important;
    padding: 36px 21px 0 !important;
    margin: 0 !important;
    background: var(--rosso-ok) !important;
    list-style: none !important;
    text-align: left !important;
    transform: none !important;
  }

  .menu-classic,
  .menu-classic ul {
    list-style: none !important;
  }

  .menu-classic > li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  }

  .menu-classic > li > a {
    min-height: 68px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    text-transform: none !important;
  }

  .menu-classic > li > a:hover,
  .menu-classic > li > a:focus {
    color: #fff !important;
    text-decoration: none !important;
  }

  .menu-classic .menu-item-has-children > a::after {
    content: "›";
    display: inline-block;
    margin-left: 8px;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    font-weight: 400;
    transform: translateY(-1px);
  }

  .menu-classic .sub-menu {
    display: none !important;
  }

  /* CTA mobile: vero link, non pseudo-testo */
  .overlay-cta__container {
    background: var(--rosso-ok) !important;
    display: block;
    width: 100%;
  }
  .overlay-cta {
    position: static !important;
    flex: 0 0 auto !important;
    width: calc(100% - 40px) !important;
    min-height: 50px !important;
    margin: 28px 20px 50px !important;
    padding: 0 20px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 10px !important;
    background: #fff !important;
    color: var(--rosso-ok) !important;

    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transform: none !important;
  }

  .overlay-cta::before {
    content: none !important;
    display: none !important;
  }

  .overlay-cta:hover,
  .overlay-cta:focus {
    color: var(--rosso-ok) !important;
    text-decoration: none !important;
  }
}
.header-desktop-col {
  display: flex;
}

.header-mobile-col {
  display: none;
}

@media (max-width: 1359px) {
  .header-desktop-col {
    display: none !important;
  }

  .header-mobile-col {
    display: block !important;
  }
}

@media (min-width: 1360px) {
  .header-desktop-col {
    display: flex !important;
  }

  .header-mobile-col {
    display: none !important;
  }
}

/* =========================================================
   ARCHIVE MACCHINE
   /usato/{categoria}/
   /noleggio/{categoria}/
========================================================= */

.macchine-archive {
  background: var(--grey);
  color: var(--dark-blue);
  overflow: hidden;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 24px;
  font-size: 14px;
  color: #6b7280;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #ab0300;
}

.breadcrumb [aria-current="page"] {
  color: #111827;
  font-weight: 600;
}

.breadcrumb__separator {
  color: #9ca3af;
}
/* Hero */
.macchine-archive-hero {
  padding: 36px 0 34px;
}

.macchine-archive-hero__box {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 8px;
  background-color: var(--dark-blue);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.macchine-archive-hero__box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(7, 13, 29, 0.88) 0%,
    rgba(7, 13, 29, 0.68) 44%,
    rgba(7, 13, 29, 0.18) 100%
  );
}

.macchine-archive-hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 52px;
  color: #fff;
}

.macchine-archive-hero__badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 20px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--rosso-ok);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.macchine-archive-hero h1 {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.macchine-archive-hero__text {
  max-width: 520px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.6;
}

.macchine-archive-hero__text p {
  margin: 0 0 1em;
}

.macchine-archive-hero__text p:last-child {
  margin-bottom: 0;
}

.macchine-archive-hero__button {
  min-height: 48px;
  margin-top: 28px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px);
}

.macchine-archive-hero__button:hover,
.macchine-archive-hero__button:focus {
  background: #920300;
  color: #fff;
  text-decoration: none;
}

/* Main layout */
.macchine-archive-main {
  padding: 0 0 42px;
}

.macchine-archive-main__layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* =========================================================
   MACCHINE CATEGORY NAV
   Chips sotto hero archivio categoria
========================================================= */

.macchine-category-nav {
  padding: 0 0 32px;
  background: var(--grey);
}

.macchine-category-nav__title {
  margin: 0 0 14px;
  color: var(--rosso-ok);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.macchine-category-nav__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.macchine-category-nav__item {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #d6deec;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--dark-blue);
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  text-decoration: none;
  scroll-snap-align: start;
  white-space: nowrap;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.macchine-category-nav__item:hover,
.macchine-category-nav__item:focus,
.macchine-category-nav__item.is-active {
  border-color: var(--rosso-ok);
  background: var(--rosso-ok);
  color: #fff;
  text-decoration: none;
}

.macchine-category-nav__list {
  scrollbar-width: none;
}

.macchine-category-nav__list::-webkit-scrollbar {
  display: none;
}

@media (max-width: 767px) {
  .macchine-category-nav {
    padding-bottom: 24px;
  }

  .macchine-category-nav__title {
    font-size: 16px;
  }

  .macchine-category-nav__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .macchine-category-nav__item {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 13px;
    font-size: 12px;
  }
}

/* Sidebar */
.macchine-sidebar {
  display: grid;
  gap: 20px;
}

.macchine-filter-card,
.macchine-sidebar-cta {
  border-radius: 16px;
  padding: 24px;
  background: #eff4ff;
  display: flex;
  gap: 8px;
  flex-direction: column;
}

.macchine-filter-card h2,
.macchine-sidebar-cta h2 {
  margin: 0 0 18px;
  color: #141c27;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
  display: flex;
  gap: 8px;
  flex-direction: row;
  align-items: center;
}

.macchine-filter-card__form {
  display: grid;
  gap: 12px;
}

.macchine-filter-card__form .label__brand {
  color: #575f6b;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

.macchine-filter-card__form label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #475569;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
}

.macchine-filter-card__form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--rosso-ok);
}

.macchine-filter-card__form input[type="range"] {
  width: 100%;
  accent-color: var(--rosso-ok);
}

.macchine-filter-card__form button,
.macchine-sidebar-cta button,
.macchine-sidebar-cta a {
  min-height: 44px;
  margin-top: 16px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #141c27;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.macchine-filter-card__form button:hover,
.macchine-sidebar-cta button:hover,
.macchine-sidebar-cta a:hover {
  background: #920300;
  color: #fff;
  text-decoration: none;
}

.macchine-sidebar-cta--red {
  background: var(--rosso-ok);
  color: #fff;
}

.macchine-sidebar-cta--red h2 {
  color: #fff;
}

.macchine-sidebar-cta--red p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.55;
}

.macchine-sidebar-cta--red input {
  width: 100%;
  height: 44px;
  margin-bottom: 10px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: #ffffff1a;
  color: var(--dark-blue);
  font-size: 13px;
}

.macchine-sidebar-cta--red button,
.macchine-sidebar-cta--red a {
  width: 100%;
  background: #fff;
  border-radius: 4px;
  color: var(--rosso-ok);
  margin-top: 0;
}

.macchine-sidebar-cta--red button:hover,
.macchine-sidebar-cta--red a:hover {
  background: #f5f5f5;
  color: var(--rosso-ok);
}

.macchine-filter-card {
  background: #f3f6ff;
  padding: 28px 24px;
  border-radius: 0;
}

.macchine-filter-card h2 {
  position: relative;
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
}

.macchine-filter-card__form label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #141c27;
  display: flex;
  gap: 11px;
}

.range-filter {
  position: relative;
  padding-top: 18px;
  margin-bottom: 28px;
}

.range-filter input[type="range"] {
  width: 100%;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(to right, #d1d5db 0%, #d1d5db 100%);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

/* Chrome / Safari */
.range-filter input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #c90012;
  cursor: pointer;
  border: 0;
}

/* Firefox */
.range-filter input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #c90012;
  cursor: pointer;
  border: 0;
}

.range-filter__tooltip {
  position: absolute;
  top: -12px;
  left: 0;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 4px;
  background: #c90012;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.range-filter__tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  border-width: 5px 4px 0;
  border-style: solid;
  border-color: #c90012 transparent transparent;
}

.range-filter__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #111827;
}

.macchine-filter-card button {
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-radius: 7px;
  background: #111827;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.macchine-filter-card button:hover {
  background: #000000;
}
/* =========================================================
   MACCHINE RESULTS TOP TOOLS
========================================================= */

.macchine-results__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.macchine-results__count {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
}

.macchine-results__count strong {
  color: var(--dark-blue);
  font-weight: 800;
}

.macchine-results__tools {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* View switch */
.macchine-view-switch {
  height: 42px;
  padding: 4px;
  border: none;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff4ff;
}

.macchine-view-switch__button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.macchine-view-switch__button:hover,
.macchine-view-switch__button:focus,
.macchine-view-switch__button.is-active {
  background: #ffffff;
  color: var(--rosso-ok);
}

/* Order select */
.macchine-order-form {
  margin: 0;
}

.macchine-order-form select {
  height: 42px;
  min-width: 190px;
  padding: 0 38px 0 14px;
  border: none;
  border-radius: 6px;
  background-color: #eff4ff;
  color: var(--dark-blue);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}
.macchine-order-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23070D1D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
}
.macchine-order-form select:focus {
  outline: none;
  border-color: var(--rosso-ok);
}

/* List view optional */
.macchine-grid.is-list-view {
  grid-template-columns: 1fr;
}

.macchine-grid.is-list-view .product-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.macchine-grid.is-list-view .product-card__media {
  height: 100%;
  min-height: 230px;
}

@media (max-width: 767px) {
  .macchine-results__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .macchine-results__tools {
    width: 100%;
    justify-content: space-between;
  }

  .macchine-order-form {
    flex: 1;
  }

  .macchine-order-form select {
    width: 100%;
    min-width: 0;
  }

  .macchine-grid.is-list-view .product-card {
    display: block;
  }
}
/* Results */
.macchine-results {
  min-width: 0;
}

.macchine-results__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.macchine-results__top p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}

.macchine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.macchine-results__empty {
  margin: 0;
  padding: 32px;
  border-radius: 6px;
  background: #fff;
  color: #64748b;
  font-size: 15px;
  line-height: 1.5;
}

/* =========================================================
   MACCHINE GRID / LIST VIEW
========================================================= */

.macchine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.macchine-grid.is-list-view {
  grid-template-columns: 1fr;
}

.macchine-grid.is-list-view .product-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: stretch;
}

.macchine-grid.is-list-view .product-card__media {
  height: 100%;
  min-height: 240px;
}

.macchine-grid.is-list-view .product-card__image {
  height: 100%;
  object-fit: cover;
}

.macchine-grid.is-list-view .product-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 991px) {
  .macchine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .macchine-grid.is-list-view .product-card {
    grid-template-columns: 240px minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .macchine-grid,
  .macchine-grid.is-list-view {
    grid-template-columns: 1fr;
  }

  .macchine-grid.is-list-view .product-card {
    display: block;
  }

  .macchine-grid.is-list-view .product-card__media {
    min-height: 0;
  }
}

/* LIST VIEW */
.macchine-grid.is-list-view {
  grid-template-columns: 1fr;
}

.macchine-grid.is-list-view .product-card {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  min-height: 270px;
}

.macchine-grid.is-list-view .product-card__media {
  max-width: -webkit-fill-available;
  height: 100%;
  min-height: 270px;
  border-radius: 6px 0 0 6px;
}

.macchine-grid.is-list-view .product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.macchine-grid.is-list-view .product-card__body {
  padding: 34px;
  display: flex;
  flex-direction: column;
}

.macchine-grid.is-list-view .product-card__title {
  font-size: 28px;
  line-height: 1.1;
}

.macchine-grid.is-list-view .product-card__specs {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.macchine-grid.is-list-view .product-card__actions {
  margin-top: 24px;
}
@media (max-width: 991px) {
  .macchine-grid.is-list-view .product-card {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .macchine-view-switch {
    display: none;
  }
  .macchine-grid,
  .macchine-grid.is-list-view {
    grid-template-columns: 1fr;
  }

  .macchine-grid.is-list-view .product-card {
    display: block;
    min-height: 0;
  }

  .macchine-grid.is-list-view .product-card__media {
    height: auto;
    min-height: 0;
    border-radius: 6px 6px 0 0;
  }

  .macchine-grid.is-list-view .product-card__image {
    height: auto;
    object-fit: cover;
  }

  .macchine-grid.is-list-view .product-card__body {
    padding: 18px;
    display: block;
  }

  .macchine-grid.is-list-view .product-card__title {
    font-size: inherit;
    line-height: inherit;
  }

  .macchine-grid.is-list-view .product-card__specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
  }

  .macchine-grid.is-list-view .product-card__actions {
    margin-top: 16px;
  }
}
/* Pagination */
.macchine-pagination {
  margin-top: 34px;
}

.macchine-pagination ul {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.macchine-pagination a,
.macchine-pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--dark-blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.macchine-pagination .current {
  background: var(--rosso-ok);
  color: #fff;
}

.macchine-pagination a:hover,
.macchine-pagination a:focus {
  background: var(--dark-blue);
  color: #fff;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 1199px) {
  .macchine-archive-main__layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
  }

  .macchine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .macchine-archive-main__layout {
    grid-template-columns: 1fr;
  }

  .macchine-sidebar {
    order: 2;
  }

  .macchine-results {
    order: 1;
  }
}

@media (max-width: 767px) {
  .macchine-archive-hero {
    padding: 28px 0 24px;
  }

  .macchine-archive .breadcrumb {
    margin-bottom: 22px;
    font-size: 11px;
  }

  .macchine-archive-hero__box {
    min-height: 420px;
    border-radius: 5px;
  }

  .macchine-archive-hero__box::before {
    background: linear-gradient(
      to top,
      rgba(7, 13, 29, 0.9) 0%,
      rgba(7, 13, 29, 0.62) 58%,
      rgba(7, 13, 29, 0.2) 100%
    );
  }

  .macchine-archive-hero__content {
    padding: 32px 24px;
  }

  .macchine-archive-hero h1 {
    font-size: 31px;
    line-height: 1.06;
    letter-spacing: -0.045em;
  }

  .macchine-archive-hero__text {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.55;
  }

  .macchine-archive-main {
    padding-bottom: 34px;
  }

  .macchine-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .macchine-filter-card,
  .macchine-sidebar-cta {
    padding: 22px;
  }
}
/* =========================================================
   SINGLE MACCHINA
========================================================= */

.single-macchina {
  background: var(--grey);
  color: var(--dark-blue);
}

.single-macchina-hero {
  padding: 32px 0 56px;
}

.single-macchina .breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 24px;
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
}

.single-macchina .breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.single-macchina .breadcrumb a:hover {
  color: var(--rosso-ok);
}

/* Layout */
.single-macchina-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.single-macchina-main {
  min-width: 0;
}

/* =========================================================
   SINGLE MACCHINA GALLERY
========================================================= */

.single-macchina-gallery {
  display: grid;
  gap: 16px;
}

.single-macchina-gallery__main {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.single-macchina-gallery__main img {
  display: block;
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.single-macchina-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.single-macchina-gallery__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  height: 190px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #eaf1ff;
  text-decoration: none;
  cursor: pointer;
}

.single-macchina-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-macchina-gallery__thumb--more::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(234, 241, 255, 0.7);
  backdrop-filter: blur(1px);
}

.single-macchina-gallery__more {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--dark-blue);
  font-weight: 800;
}

.single-macchina-gallery__more strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.single-macchina-gallery__more span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1;
}

.single-macchina-gallery__hidden {
  display: none;
}

/* Spec strip */
.single-macchina-spec-strip {
  margin-top: 35px;
  padding: 32px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #eaf1ff;
}

.single-macchina-spec-strip div {
  padding: 0 20px;
  border-right: 1px solid #d5deef;
}

.single-macchina-spec-strip div:first-child {
  padding-left: 0;
}

.single-macchina-spec-strip div:last-child {
  padding-right: 0;
  border-right: 0;
}

.single-macchina-spec-strip span {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.single-macchina-spec-strip strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  display: block;
  color: var(--dark-blue);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
}

/* Content sections */
.single-macchina-section {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 48px;
}

.single-macchina-section h2 {
  margin: 0 0 18px;
  color: var(--dark-blue);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.single-macchina-content {
  max-width: 760px;
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
}

.single-macchina-content p {
  margin: 0 0 18px;
}

.single-macchina-content p:last-child {
  margin-bottom: 0;
}

/* Technical table */
.single-macchina-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #d6deec;
}

.single-macchina-table__row {
  min-height: 54px;
  padding: 16px 18px 16px 0;
  border-bottom: 1px solid #d6deec;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.single-macchina-table__row:nth-child(odd) {
  margin-right: 24px;
}

.single-macchina-table__row span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
}

.single-macchina-table__row strong {
  color: var(--dark-blue);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
  text-align: right;
}

/* Sidebar */
.single-macchina-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 20px;
}

.single-macchina-card,
.single-macchina-help {
  border-radius: 6px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(7, 13, 29, 0.04);
}

.single-macchina-card h1 {
  margin: 0 0 10px;
  color: var(--dark-blue);
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.single-macchina-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.single-macchina-card__badges span {
  min-height: 23px;
  padding: 0 10px;
  border: 1px solid #c7c7c7;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  background: #fefeff;
  color: var(--dark-blue);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.single-macchina-card__primary,
.single-macchina-card__secondary,
.single-macchina-help a {
  min-height: 48px;
  width: 100%;
  padding: 0 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
}

.single-macchina-card__features {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(232, 189, 181, 0.2);
}

.single-macchina-card__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-blue);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
}

.single-macchina-card__feature-icon {
  flex: 0 0 18px;
  display: inline-flex;
  color: var(--rosso-ok);
}

.single-macchina-card__feature-icon svg {
  display: block;
}

.single-macchina-card__primary {
  background: var(--rosso-ok);
  color: #fff;
}

.single-macchina-card__primary:hover {
  background: #920300;
  color: #fff;
  text-decoration: none;
}

.single-macchina-card__secondary {
  margin-top: 12px;
  background: #eaf1ff;
  color: var(--dark-blue);
}

.single-macchina-card__secondary:hover {
  background: #dbe7fb;
  color: var(--dark-blue);
  text-decoration: none;
}

.single-macchina-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e6edf7;
  flex-direction: column;
}

.single-macchina-card__meta span {
  color: #475569;
  display: flex;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  flex-direction: row;
  gap: 10px;
}
.single-macchina-card__meta span svg {
  min-width: 27px;
}
.single-macchina-help {
  background: #eaf1ff;
}

.single-macchina-help h2 {
  margin: 0 0 10px;
  color: var(--dark-blue);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.single-macchina-help p {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.single-macchina-help a {
  background: #fff;
  color: var(--rosso-ok);
}

.single-macchina-help a:hover {
  color: var(--rosso-ok);
  text-decoration: none;
}
.single-macchina-request {
  border-radius: 6px;
  padding: 26px;
  background: #eaf1ff;
}

.single-macchina-request h2 {
  margin: 0 0 20px;
  color: var(--dark-blue);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.single-macchina-request .wpcf7-form {
  display: grid;
  gap: 14px;
}

.single-macchina-request input,
.single-macchina-request textarea,
.single-macchina-request select {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 5px;
  background: #fff;
  color: var(--dark-blue);
  font-size: 13px;
  margin-bottom: 16px;
}

.single-macchina-request textarea {
  max-height: 120px !important;
  padding-top: 14px;
  resize: none;
  height: 100% !important;
}

.single-macchina-request input[type="submit"] {
  background: var(--dark-blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  border-radius: 12px;
}

.single-macchina-request input[type="submit"]:hover {
  background: #000814;
}
/* Related */
.single-macchina-related {
  padding: 24px 0 80px;
  background: var(--grey);
}

.single-macchina-related__heading {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.single-macchina-related__heading h2 {
  margin: 0;
  color: var(--dark-blue);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.single-macchina-related__heading p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.4;
}

.single-macchina-related__heading a {
  color: var(--rosso-ok);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {
  .single-macchina-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
  }

  .single-macchina-gallery__main img {
    height: 420px;
  }

  .single-macchina-gallery__thumb {
    height: 104px;
  }
}

@media (max-width: 991px) {
  .single-macchina-layout {
    grid-template-columns: 1fr;
  }

  .single-macchina-sidebar {
    position: static;
    order: -1;
  }

  .single-macchina-gallery__main img {
    height: 380px;
  }

  .single-macchina-spec-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .single-macchina-spec-strip div {
    padding: 16px;
    border-bottom: 1px solid #d5deef;
  }

  .single-macchina-spec-strip div:nth-child(2n) {
    border-right: 0;
  }

  .single-macchina-spec-strip div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .single-macchina-hero {
    padding: 24px 0 38px;
  }

  .single-macchina .breadcrumb {
    margin-bottom: 18px;
    font-size: 11px;
    flex-wrap: wrap;
  }

  .single-macchina-card,
  .single-macchina-help {
    padding: 20px;
  }

  .single-macchina-card h1 {
    font-size: 24px;
  }

  .single-macchina-gallery {
    gap: 10px;
  }

  .single-macchina-gallery__main img {
    height: 245px;
  }

  .single-macchina-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .single-macchina-gallery__thumb {
    aspect-ratio: 1 / 1;
  }

  .single-macchina-gallery__more strong {
    font-size: 18px;
  }

  .single-macchina-gallery__more span {
    font-size: 9px;
  }

  .single-macchina-spec-strip {
    margin-top: 18px;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-macchina-spec-strip strong {
    font-size: 16px;
  }

  .single-macchina-section {
    margin-top: 34px;
  }

  .single-macchina-section h2 {
    font-size: 24px;
  }

  .single-macchina-content {
    font-size: 14px;
    line-height: 1.65;
  }

  .single-macchina-table {
    grid-template-columns: 1fr;
  }

  .single-macchina-table__row:nth-child(odd) {
    margin-right: 0;
  }

  .single-macchina-related {
    padding-bottom: 56px;
  }

  .single-macchina-related__heading {
    display: block;
  }

  .single-macchina-related__heading h2 {
    font-size: 24px;
  }

  .single-macchina-related__heading a {
    display: inline-flex;
    margin-top: 14px;
  }
}

/* HERO HOME */
.hero-home {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  color: #fff;
}

.hero-home__media,
.hero-home__overlay {
  position: absolute;
  inset: 0;
}

.hero-home__media {
  z-index: 1;
  overflow: hidden;
}

.hero-home__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-home__video {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 100vw;
  height: 56.25vw;

  min-width: 177.7778vh;
  min-height: 100vh;

  border: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.hero-home__overlay {
  z-index: 2;
  background: rgba(0, 0, 0, 0.54);
}

.hero-home .container {
  position: relative;
  z-index: 3;
}

.hero-home__content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-home__logo {
  display: block;
  width: 290px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 28px;
}

.hero-home__title {
  margin: 0;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.hero-home__text {
  max-width: 720px;
  margin: 28px auto 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}

.hero-home__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.hero-home__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 38px;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    opacity 0.2s ease;
}

.hero-home__btn--primary {
  background: var(--rosso-ok);
}

.hero-home__btn--primary:hover {
  background: #920300;
}

.hero-home__btn--secondary {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-home__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  text-decoration: underline;
}

.hero-home__btn:focus-visible {
  outline: 3px solid var(--soft-red);
  outline-offset: 4px;
}

.hero-home__btn-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: currentColor;
  transition: transform 0.28s ease;
}

.hero-home__btn--primary:hover .hero-home__btn-icon,
.hero-home__btn--primary:focus-visible .hero-home__btn-icon {
  transform: translateX(8px);
}

@media (max-width: 767px) {
  .hero-home {
    min-height: 690px;
    align-items: flex-start;
    padding: 96px 0 64px;
  }

  .hero-home__overlay {
    background: rgba(0, 0, 0, 0.48);
  }

  .hero-home__video {
    width: 100vw;
    height: 56.25vw;

    min-width: 177.7778svh;
    min-height: 100svh;

    transform: translate(-50%, -50%);
  }

  .hero-home__content {
    max-width: 100%;
  }

  .hero-home__logo {
    width: 190px;
    margin-bottom: 26px;
  }

  .hero-home__title {
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .hero-home__text {
    margin-top: 24px;
    font-size: 22px;
    line-height: 1.15;
  }

  .hero-home__actions {
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
  }

  .hero-home__btn {
    width: 100%;
    min-height: 72px;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 17px;
  }
}

/* SERVICES INTRO */
.services-intro {
  position: relative;
  overflow: hidden;
  background: var(--dark-blue);
  color: #fff;
  padding: 112px 0;
}

.services-intro__bg,
.services-intro__overlay {
  position: absolute;
  inset: 0;
}

.services-intro__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}

.services-intro__overlay {
  z-index: 2;
  background: rgba(15, 23, 42, 0.42);
}

.services-intro .container {
  position: relative;
  z-index: 3;
}

.services-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.services-intro__content {
  max-width: 460px;
}

.services-intro__title {
  margin: 0;
  font-size: clamp(36px, 3vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.services-intro__text {
  max-width: 390px;
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.services-intro__actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.services-intro__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.services-intro__btn--primary {
  background: var(--rosso-ok);
}

.services-intro__btn--primary:hover {
  background: #920300;
}

.services-intro__btn--whatsapp {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.services-intro__btn--whatsapp:hover {
  background: rgba(255, 255, 255, 0.24);
}

.services-intro__btn-icon,
.services-intro__card-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: currentColor;
  transition: transform 0.28s ease;
}

.services-intro__btn--primary:hover .services-intro__btn-icon,
.services-intro__btn--primary:focus-visible .services-intro__btn-icon,
.services-intro__card-link:hover .services-intro__card-icon,
.services-intro__card-link:focus-visible .services-intro__card-icon {
  transform: translateX(8px);
}

.services-intro__whatsapp-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.services-intro__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.services-intro__card {
  min-height: 290px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;

  display: flex;
  flex-direction: column;
}
.services-intro__card:hover {
  background: var(--rosso-ok);
  border-color: var(--rosso-ok);
}

.services-intro__card-eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.services-intro__card-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.services-intro__card-text {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.services-intro__card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 34px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services-intro__btn:focus-visible,
.services-intro__card-link:focus-visible {
  outline: 3px solid var(--soft-red);
  outline-offset: 4px;
}

@media (max-width: 991px) {
  .services-intro {
    padding: 64px 0;
  }

  .services-intro__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-intro__content {
    max-width: 100%;
  }

  .services-intro__title {
    max-width: 340px;
    font-size: 34px;
    line-height: 1.12;
  }

  .services-intro__text {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.5;
  }

  .services-intro__actions {
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
  }

  .services-intro__btn {
    width: 100%;
    min-height: 58px;
    border-radius: 6px;
    font-size: 15px;
  }

  .services-intro__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-intro__card {
    min-height: 280px;
    padding: 34px 28px;
    border-radius: 6px;
  }

  .services-intro__card-title {
    font-size: 28px;
  }

  .services-intro__card-text {
    font-size: 18px;
    line-height: 1.45;
  }
}

@media (max-width: 480px) {
  .services-intro {
    padding: 48px 0;
  }

  .services-intro__overlay {
    background: rgba(15, 23, 42, 0.36);
  }

  .services-intro__bg {
    object-position: center bottom;
  }

  .services-intro__title {
    font-size: 32px;
  }

  .services-intro__card {
    padding: 32px 28px;
  }
}

/* USED CATALOG */
.used-catalog {
  background: var(--grey);
  color: var(--black);
  padding: 92px 0;
  overflow: hidden;
}

.used-catalog__header {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.used-catalog__title {
  margin: 0;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.used-catalog__text {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--black);
}

.used-catalog__filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.used-catalog__filters-mobile {
  display: none;
}

.used-catalog__filter {
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf1ff;
  color: var(--dark-blue);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.used-catalog__filter.is-active,
.used-catalog__filter:hover,
.used-catalog__filter:focus-visible {
  background: var(--rosso-ok);
  color: #fff;
}

.used-catalog__filter:focus-visible {
  outline: 3px solid var(--soft-red);
  outline-offset: 3px;
}

.used-catalog__desktop {
  margin-top: 56px;
}

.used-catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.used-catalog__mobile {
  display: none;
}

.used-catalog__footer {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.used-catalog__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 34px;
  border-radius: 6px;
  background: #eef3ff;
  color: var(--black);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.used-catalog__more:hover,
.used-catalog__more:focus {
  color: var(--black);
  text-decoration: none;
  background: #e2eaff;
}

.used-catalog__more:focus-visible {
  outline: 3px solid var(--soft-red);
  outline-offset: 4px;
}
.catalog-switcher__top {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}

.catalog-switcher__tabs {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 320px;
  padding: 6px;
  border-radius: 999px;
  background: #eaf1ff;
}

.catalog-switcher__indicator {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: -1;
  width: calc((100% - 12px) / 2);
  height: calc(100% - 12px);
  border-radius: 999px;
  background: var(--rosso-ok);
  transform: translateX(0);
  transition:
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.catalog-switcher__tabs[data-active-index="1"] .catalog-switcher__indicator {
  transform: translateX(100%);
}

.catalog-switcher__tab {
  position: relative;
  z-index: 1;
  min-height: 44px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--dark-blue);
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 0.2s ease;
}

.catalog-switcher__tab.is-active {
  color: #fff;
}

.catalog-switcher__tab:hover {
  color: var(--rosso-ok);
}

.catalog-switcher__tab.is-active:hover {
  color: #fff;
}

@media (max-width: 767px) {
  .catalog-switcher__top {
    justify-content: flex-start;
    margin-bottom: 26px;
  }

  .catalog-switcher__tabs {
    width: 100%;
    min-width: 0;
  }

  .catalog-switcher__tab {
    padding: 0 16px;
    font-size: 12px;
  }
}

/* PRODUCT CARD */
.product-card {
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1.33 / 1;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.product-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.04);
}

.product-card__badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  gap: 8px;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  width: fit-content;
  padding: 0 12px;
  border-radius: 4px;
  background: #ffffffa3;
  color: var(--black);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card__body {
  padding: 24px;
}

.product-card__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.product-card__title a {
  color: inherit;
  text-decoration: none;
}

.product-card__title a:hover,
.product-card__title a:focus {
  color: inherit;
  text-decoration: none;
}

.product-card__category {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.3;
  color: var(--service-grey);
}
.product-card__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 0;
  padding: 14px 0;
  border-radius: 10px;
  background: #eef3ff;
}

.product-card__spec {
  position: relative;
  min-height: 48px;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  border-radius: 0;
}

.product-card__spec:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 0;
  width: 1px;
  height: calc(100% - 12px);
  background: rgba(171, 3, 0, 0.14);
}
.product-card__spec:last-child {
  text-align: right;
}

.product-card__spec dt {
  margin: 0 0 6px;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--service-grey);
  letter-spacing: 0.02em;
}

.product-card__spec dd {
  margin: 0;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
}

.product-card__spec-value--red {
  color: var(--rosso-ok) !important;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.product-card__actions:has(.product-card__technical) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
}

.product-card__technical {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid #dbe3f2;
  border-radius: 6px;
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.product-card__technical:hover,
.product-card__technical:focus {
  color: var(--black);
  text-decoration: none;
  background: #f8f9ff;
}

.product-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 6px;
  background: var(--rosso-ok);
  color: #fff;
  text-decoration: none;
}

.product-card__arrow:hover,
.product-card__arrow:focus {
  background: #920300;
  color: #fff;
}

.product-card__arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.28s ease;
}

.product-card__arrow span {
  font-size: 14px;
}
.product-card__arrow:hover svg,
.product-card__arrow:focus-visible svg {
  transform: translateX(5px);
}

.product-card__technical:focus-visible,
.product-card__arrow:focus-visible {
  outline: 3px solid var(--soft-red);
  outline-offset: 4px;
}

/* RESPONSIVE */
@media (max-width: 1379px) {
  .used-catalog__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .used-catalog {
    padding: 58px 0;
  }

  .used-catalog__header {
    max-width: none;
    text-align: left;
  }

  .used-catalog__title {
    font-size: 30px;
    line-height: 1.12;
  }

  .used-catalog__text {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.5;
  }

  .used-catalog__filters--desktop {
    display: none;
  }

  .used-catalog__filters-mobile {
    display: block;
    margin-top: 28px;
    overflow: visible;
  }

  .used-catalog__filter-slide {
    width: auto;
  }

  .used-catalog__filter {
    min-height: 36px;
    padding: 0 18px;
    font-size: 12px;
  }

  .used-catalog__desktop {
    display: none;
  }

  .used-catalog__mobile {
    display: block;
    margin-top: 34px;
    overflow: visible;
  }

  .used-catalog__slide {
    width: 82%;
    max-width: 315px;
  }

  .product-card__body {
    padding: 22px;
  }

  .product-card__title {
    font-size: 22px;
  }

  .product-card__specs {
    padding: 16px 0;
    border-radius: 12px;
  }

  .product-card__spec {
    min-height: 64px;
    padding: 0 14px;
  }

  .product-card__spec:not(:last-child)::after {
    top: 10px;
    height: calc(100% - 20px);
  }

  .product-card__spec dt {
    margin-bottom: 8px;
    font-size: 9px;
  }

  .product-card__spec dd {
    font-size: 15px;
  }

  .used-catalog__footer {
    margin-top: 36px;
  }

  .used-catalog__more {
    width: 100%;
    min-height: 58px;
  }
}

/* BANNER */
.company-highlight {
  position: relative;
  overflow: visible;
  background: linear-gradient(
    to bottom,
    var(--grey) 0,
    var(--grey) 92px,
    var(--rosso-ok) 92px,
    var(--rosso-ok) 100%
  );
  color: #fff;
  padding: 0 0 74px;
}

.company-highlight__inner {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 645px);
  align-items: center;
  gap: 72px;
}

.company-highlight__media {
  position: absolute;
  left: 0;
  top: -48px;
  z-index: 2;
  width: 100%;
  pointer-events: none;
}

.company-highlight__image {
  display: block;
  width: 100%;
  max-width: 960px;
  height: auto;
}

.company-highlight__content {
  grid-column: 2;
  position: relative;
  z-index: 3;
  padding-top: 185px;
  max-width: 560px;
}

.company-highlight__title {
  margin: 0;
  max-width: 645px;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.company-highlight__text {
  margin-top: 34px;
  max-width: 645px;
}

.company-highlight__text p {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.94);
}

.company-highlight__text p + p {
  margin-top: 14px;
}

.company-highlight__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 36px;
  padding: 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.company-highlight__btn:hover,
.company-highlight__btn:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  text-decoration: none;
}

.company-highlight__btn:focus-visible {
  outline: 3px solid var(--soft-red);
  outline-offset: 4px;
}

@media (max-width: 991px) {
  .company-highlight {
    background: linear-gradient(
      to bottom,
      var(--grey) 0,
      var(--grey) 92px,
      var(--rosso-ok) 92px,
      var(--rosso-ok) 100%
    );
    padding: 0 0 48px;
    overflow: hidden;
  }

  .company-highlight__inner {
    min-height: 0;
    display: block;
  }

  .company-highlight__media {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    margin-left: -34px;
    margin-right: -20px;
    margin-bottom: -42px;
  }

  .company-highlight__image {
    width: 132%;
    max-width: none;
    height: auto;
  }

  .company-highlight__content {
    position: relative;
    z-index: 3;
    max-width: none;
    padding-top: 0;
  }

  .company-highlight__title {
    max-width: 340px;
    font-size: 30px;
    line-height: 1.12;
  }

  .company-highlight__text {
    margin-top: 24px;
    max-width: none;
    font-size: 15px;
    line-height: 1.55;
  }

  .company-highlight__btn {
    width: 100%;
    min-height: 58px;
    margin-top: 32px;
    background: rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 480px) {
  .company-highlight {
    background: linear-gradient(
      to bottom,
      var(--grey) 0,
      var(--grey) 86px,
      var(--rosso-ok) 86px,
      var(--rosso-ok) 100%
    );
  }

  .company-highlight__media {
    margin-left: -46px;
    margin-right: -24px;
    margin-bottom: -38px;
  }

  .company-highlight__image {
    width: 148%;
  }

  .company-highlight__title {
    font-size: 28px;
  }
}

/* PARTNERS */
.partners-section {
  position: relative;
  z-index: 4;
  overflow: hidden;
  padding: 38px 0 0;
}

.partners-section .container {
  position: relative;
  z-index: 2;
}

.partners-section__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 7vw, 112px);
  list-style: none;
  padding: 0;
  margin: 0;
}

.partners-section__item {
  flex: 0 0 auto;
}

.partners-section__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  color: inherit;
  text-decoration: none;
}

.partners-section__logo {
  display: block;
  max-width: 128px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partners-section__mobile {
  display: none;
}

.partners-section__link:focus-visible {
  outline: 3px solid var(--soft-red);
  outline-offset: 6px;
}

@media (max-width: 767px) {
  .partners-section {
    padding: 28px 0 0;
  }

  .partners-section::after {
    display: none;
  }

  .partners-section__desktop {
    display: none;
  }

  .partners-section__mobile {
    display: block;
    overflow: hidden;
  }

  .partners-section__slide {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .partners-section__link {
    min-height: 56px;
  }

  .partners-section__logo {
    max-width: 116px;
    max-height: 42px;
  }
}
/* FORM SECTION */
.form-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: -110px;
  background-color: var(--grey);
  background-image: url(../media/images/form-section-background.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  color: var(--black);
  padding: 193px 0 96px;
}

.form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 249, 255, 0.35);
  pointer-events: none;
}

.form-section .container {
  position: relative;
  z-index: 2;
}

.form-section__header {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.form-section__title {
  margin: 0;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.form-section__text {
  max-width: 600px;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--black);
}

.form-section__form-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 42px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.05);
}

/* Campi form generici / CF7 */
.form-section__form form {
  display: grid;
  gap: 18px;
}

.form-section__form p {
  margin: 0;
}

.form-section__form label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--service-grey);
}

.form-section__form input[type="text"],
.form-section__form input[type="email"],
.form-section__form input[type="tel"],
.form-section__form select,
.form-section__form textarea {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 3px;
  background: #eef3ff;
  margin-top: 5px;
  color: var(--black);
  padding: 0 16px;
  font-size: 14px;
  outline: none;
}

.contatti-form-card input,
.contatti-form-card select,
.contatti-form-card textarea {
  margin-top: 5px;
}

.form-section__form textarea {
  min-height: 150px;
  padding: 16px;
  resize: vertical;
}

.form-section__form input::placeholder,
.form-section__form textarea::placeholder {
  color: rgba(34, 34, 34, 0.55);
}

.form-section__form input:focus,
.form-section__form select:focus,
.form-section__form textarea:focus {
  outline: 3px solid var(--soft-red);
  outline-offset: 2px;
}

.form-section__form input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0 8px 0 0;
  accent-color: var(--rosso-ok);
}

.wpcf7-list-item {
  margin: 0;
}
.wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--service-grey);
}

.form-submit-wrap {
  position: relative;
  width: 100%;
}

.form-submit-wrap input[type="submit"] {
  width: 100%;
  min-height: 58px;
  padding: 0 56px 0 32px;
  border: 0;
  border-radius: 6px;
  background: var(--rosso-ok);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(171, 3, 0, 0.24);
  transition: background-color 0.2s ease;
}

.form-submit-wrap::after {
  content: "";
  position: absolute;
  top: 33%;
  left: calc(50% + 56px);
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  background-color: #fff;
  transition: transform 0.28s ease;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M12.175 9H0V7H12.175L6.575 1.4L8 0L16 8L8 16L6.575 14.6L12.175 9Z' fill='white'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M12.175 9H0V7H12.175L6.575 1.4L8 0L16 8L8 16L6.575 14.6L12.175 9Z' fill='white'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.form-submit-wrap:hover input[type="submit"],
.form-submit-wrap:focus-within input[type="submit"] {
  background: #920300;
}

.form-submit-wrap:hover::after,
.form-submit-wrap:focus-within::after {
  transform: translate(8px, -50%);
}

.form-submit-wrap input[type="submit"]:focus-visible {
  outline: 3px solid var(--soft-red);
  outline-offset: 4px;
}

/* Utility per righe a 2 colonne, se nel form usi wrapper .form-row */
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 767px) {
  .form-section {
    margin-top: -83px;
    padding: 130px 0 56px;
    background-position: center top;
  }

  .form-section__header {
    max-width: none;
    margin-bottom: 32px;
    text-align: left;
  }

  .form-section__title {
    font-size: 28px;
    line-height: 1.12;
  }

  .form-section__text {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.55;
  }

  .form-section__form-wrap {
    max-width: none;
    padding: 28px 22px;
    border-radius: 6px;
  }

  .form-section__form-title {
    font-size: 20px;
  }

  .form-section__form .form-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-section__form textarea {
    min-height: 160px;
  }
}

/* =========================================================
   PAGINA NUOVO
========================================================= */

.nuovo-page {
  background: var(--grey);
  color: var(--dark-blue);
}

/* HERO */

.nuovo-hero {
  padding: 28px 0 72px;
}

.nuovo-page .breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 32px;
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
}

.nuovo-page .breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.nuovo-page .breadcrumb a:hover {
  color: var(--rosso-ok);
}

.nuovo-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 48px;
  align-items: center;
}

.nuovo-hero__content {
  min-width: 0;
}

.nuovo-hero__content h1 {
  margin: 0;
  color: var(--dark-blue);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.07em;
}

.nuovo-hero__text {
  max-width: 620px;
  margin-top: 24px;
  color: #475569;
  font-size: 17px;
  line-height: 1.7;
}

.nuovo-hero__text p {
  margin: 0 0 16px;
}

.nuovo-hero__text p:last-child {
  margin-bottom: 0;
}

.nuovo-hero__button {
  min-height: 52px;
  margin-top: 32px;
  padding: 0 28px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rosso-ok);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.nuovo-hero__button:hover,
.nuovo-hero__button:focus {
  background: var(--dark-blue);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.nuovo-hero__image {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border-radius: 8px;
  background: #dbe6f4;
}

.nuovo-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 13, 29, 0.24),
    rgba(7, 13, 29, 0)
  );
  pointer-events: none;
}

.nuovo-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

/* INTRO */

.nuovo-intro {
  padding: 72px 0;
  background: #fff;
}

.nuovo-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.nuovo-intro__grid h2 {
  margin: 0;
  color: var(--dark-blue);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.nuovo-intro__text {
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
}

.nuovo-intro__text p {
  margin: 0 0 18px;
}

.nuovo-intro__text p:last-child {
  margin-bottom: 0;
}

.nuovo-intro__text strong {
  color: var(--dark-blue);
}

/* FORM SECTION */

.nuovo-form-section {
  padding: 82px 0;
  background: var(--grey);
}

.nuovo-form-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: start;
}

.nuovo-form-section__content {
  position: sticky;
  top: 120px;
}

.nuovo-form-section__content h2 {
  margin: 0;
  color: var(--dark-blue);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.nuovo-form-section__content p {
  max-width: 520px;
  margin: 18px 0 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}

.nuovo-form-section__form {
  padding: 34px;
  border-radius: 10px;
  background: #eaf1ff;
}

/* CONTACT FORM 7 */

.nuovo-form-section__form .wpcf7 {
  margin: 0;
}

.nuovo-form-section__form form {
  display: grid;
  gap: 16px;
}

.nuovo-form-section__form p {
  margin: 0;
}

.nuovo-form-section__form label {
  display: block;
  margin: 0;
  color: var(--dark-blue);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
}

.nuovo-form-section__form input,
.nuovo-form-section__form textarea,
.nuovo-form-section__form select {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: #fff;
  color: var(--dark-blue);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.3;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.nuovo-form-section__form textarea {
  min-height: 140px;
  padding-top: 14px;
  resize: vertical;
}

.nuovo-form-section__form input:focus,
.nuovo-form-section__form textarea:focus,
.nuovo-form-section__form select:focus {
  border-color: var(--rosso-ok);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
}

.nuovo-form-section__form input[type="submit"],
.nuovo-form-section__form button[type="submit"] {
  width: auto;
  min-width: 190px;
  min-height: 52px;
  margin-top: 4px;
  padding: 0 28px;
  border: 0;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rosso-ok);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.nuovo-form-section__form input[type="submit"]:hover,
.nuovo-form-section__form button[type="submit"]:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
}

.nuovo-form-section__form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: var(--rosso-ok);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
}

.nuovo-form-section__form .wpcf7-response-output {
  margin: 14px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.4;
}

/* RESPONSIVE */

@media (max-width: 1199px) {
  .nuovo-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 36px;
  }

  .nuovo-hero__image,
  .nuovo-hero__image img {
    min-height: 420px;
  }

  .nuovo-form-section__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1fr);
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .nuovo-hero {
    padding-bottom: 54px;
  }

  .nuovo-hero__grid,
  .nuovo-intro__grid,
  .nuovo-form-section__grid {
    grid-template-columns: 1fr;
  }

  .nuovo-hero__image,
  .nuovo-hero__image img {
    min-height: 360px;
  }

  .nuovo-intro {
    padding: 56px 0;
  }

  .nuovo-form-section {
    padding: 64px 0;
  }

  .nuovo-form-section__content {
    position: static;
  }
}

@media (max-width: 767px) {
  .nuovo-hero {
    padding: 24px 0 42px;
  }

  .nuovo-page .breadcrumb {
    margin-bottom: 22px;
    font-size: 11px;
    flex-wrap: wrap;
  }

  .nuovo-hero__grid {
    gap: 28px;
  }

  .nuovo-hero__content h1 {
    font-size: 38px;
    line-height: 1;
  }

  .nuovo-hero__text {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.65;
  }

  .nuovo-hero__button {
    width: 100%;
    margin-top: 24px;
  }

  .nuovo-hero__image,
  .nuovo-hero__image img {
    min-height: 260px;
  }

  .nuovo-intro {
    padding: 44px 0;
  }

  .nuovo-intro__grid {
    gap: 22px;
  }

  .nuovo-intro__grid h2,
  .nuovo-form-section__content h2 {
    font-size: 32px;
  }

  .nuovo-intro__text,
  .nuovo-form-section__content p {
    font-size: 14px;
    line-height: 1.65;
  }

  .nuovo-form-section {
    padding: 48px 0 56px;
  }

  .nuovo-form-section__grid {
    gap: 28px;
  }

  .nuovo-form-section__form {
    padding: 22px;
    border-radius: 8px;
  }

  .nuovo-form-section__form input[type="submit"],
  .nuovo-form-section__form button[type="submit"] {
    width: 100%;
  }
}
/* =========================================================
   PAGE AZIENDA
========================================================= */

.page-azienda {
  background: var(--grey);
  color: var(--dark-blue);
  overflow: hidden;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.page-azienda .breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 28px;
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
}

.page-azienda .breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.page-azienda .breadcrumb a:hover,
.page-azienda .breadcrumb a:focus {
  color: var(--rosso-ok);
  text-decoration: none;
}

/* =========================================================
   HERO AZIENDA
========================================================= */

.azienda-hero {
  padding: 36px 0 34px;
}

.azienda-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48%;
  gap: 72px;
  align-items: start;
}

.azienda-hero__content {
  max-width: 610px;
}

.azienda-hero__title {
  margin: 0 !important;
  color: var(--dark-blue);
  font-size: clamp(42px, 4vw, 64px) !important;
  line-height: 1.03 !important;
  font-weight: 800 !important;
  letter-spacing: -0.055em !important;
}

.azienda-hero__title {
  margin: 0 !important;
  margin-bottom: 16px !important;
  color: var(--dark-blue);
  font-size: clamp(42px, 4vw, 64px) !important;
  line-height: 1.03 !important;
  font-weight: 700 !important;
  letter-spacing: -0.055em !important;
}

.azienda-hero__title .text-red {
  color: var(--rosso-ok);
}

.azienda-hero__title .text-grey {
  color: #575f6b;
}

.azienda-hero__title strong,
.azienda-hero__title b {
  color: var(--rosso-ok);
}

.azienda-hero__text p {
  margin-top: 28px;
  color: #1f2937;
  font-size: 18px;
  line-height: 29px;
  font-weight: 400;
}

.azienda-hero__text p {
  margin: 0 0 1em;
}

.azienda-hero__text p:last-child {
  margin-bottom: 0;
}

.azienda-hero__media {
  overflow: hidden;
  border-radius: 8px;
}

.azienda-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

/* =========================================================
   TILES AZIENDA
========================================================= */

.azienda-tiles {
  padding: 0 0 82px;
}

.azienda-tiles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.azienda-tile {
  border-radius: 6px;
  padding: 40px;
}

.azienda-tile__icon {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--rosso-ok);
}

.azienda-tile__icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.azienda-tile h2 {
  margin: 0;
  color: inherit;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.azienda-tile__text p {
  margin-top: 22px;
  color: #475569;
  font-size: 18px;
  line-height: 29px;
  font-weight: 400;
}

.azienda-tile__text p {
  margin: 0 0 1em;
}

.azienda-tile__text p:last-child {
  margin-bottom: 0;
}

.azienda-tile--vision .azienda-tile__text p {
  color: var(--light-grey);
}
/* Layout desktop: 2/3 + 1/3, poi 1/3 + 2/3 */
.azienda-tile--mission {
  grid-column: span 2;
  min-height: 285px;
  background: var(--pastel-blue);
}

.azienda-tile--vision {
  grid-column: span 1;
  min-height: 285px;
  background: var(--dark-blue);
  color: #fff;
}

.azienda-tile--values {
  grid-column: span 1;
  min-height: 210px;
  background: var(--rosso-ok);
  color: #fff;
}

.azienda-tile--services {
  grid-column: span 2;
  min-height: 210px;
  background: var(--pastel-grey);
}

/* Colori interni */
.azienda-tile--vision .azienda-tile__icon {
  color: var(--soft-red);
}

.azienda-tile--values .azienda-tile__icon {
  color: #fff;
}

.azienda-tile--vision .azienda-tile__text {
  color: rgba(255, 255, 255, 0.72);
}

.azienda-tile--values .azienda-tile__text {
  color: #fff;
}

.azienda-tile--services .azienda-tile__text {
  color: #475569;
}

.azienda-tile--services h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}
.azienda-tile--services .azienda-tile__text p {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

/* Lista valori se values_text è WYSIWYG con <ul> */
.azienda-tile__text ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.azienda-tile__text li {
  position: relative;
  padding-left: 22px;
}

.azienda-tile__text li::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.azienda-tile--values .azienda-tile__text li {
  color: #fff;
  font-weight: 700;
}

.azienda-tile--values .azienda-tile__text ul {
  display: inline-grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-top: 16px;
}

.azienda-tile--values .azienda-tile__text li {
  position: relative;
  padding-left: 26px;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
}

.azienda-tile--values .azienda-tile__text li::before {
  content: "";
  position: absolute;
  top: 0.18em;
  left: 0;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M5.01667 8.51667L9.12917 4.40417L8.3125 3.5875L5.01667 6.88333L3.35417 5.22083L2.5375 6.0375L5.01667 8.51667ZM5.83333 11.6667C5.02639 11.6667 4.26806 11.5135 3.55833 11.2073C2.84861 10.901 2.23125 10.4854 1.70625 9.96042C1.18125 9.43542 0.765625 8.81806 0.459375 8.10833C0.153125 7.39861 0 6.64028 0 5.83333C0 5.02639 0.153125 4.26806 0.459375 3.55833C0.765625 2.84861 1.18125 2.23125 1.70625 1.70625C2.23125 1.18125 2.84861 0.765625 3.55833 0.459375C4.26806 0.153125 5.02639 0 5.83333 0C6.64028 0 7.39861 0.153125 8.10833 0.459375C8.81806 0.765625 9.43542 1.18125 9.96042 1.70625C10.4854 2.23125 10.901 2.84861 11.2073 3.55833C11.5135 4.26806 11.6667 5.02639 11.6667 5.83333C11.6667 6.64028 11.5135 7.39861 11.2073 8.10833C10.901 8.81806 10.4854 9.43542 9.96042 9.96042C9.43542 10.4854 8.81806 10.901 8.10833 11.2073C7.39861 11.5135 6.64028 11.6667 5.83333 11.6667ZM5.83333 10.5C7.13611 10.5 8.23958 10.0479 9.14375 9.14375C10.0479 8.23958 10.5 7.13611 10.5 5.83333C10.5 4.53056 10.0479 3.42708 9.14375 2.52292C8.23958 1.61875 7.13611 1.16667 5.83333 1.16667C4.53056 1.16667 3.42708 1.61875 2.52292 2.52292C1.61875 3.42708 1.16667 4.53056 1.16667 5.83333C1.16667 7.13611 1.61875 8.23958 2.52292 9.14375C3.42708 10.0479 4.53056 10.5 5.83333 10.5Z' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 0;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
  .azienda-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .azienda-hero__content {
    max-width: 760px;
  }

  .azienda-hero__media {
    max-width: 760px;
  }

  .azienda-tiles__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .azienda-tile,
  .azienda-tile--mission,
  .azienda-tile--vision,
  .azienda-tile--values,
  .azienda-tile--services {
    grid-column: auto;
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .azienda-hero {
    padding: 28px 0 24px;
  }

  .page-azienda .breadcrumb {
    margin-bottom: 24px;
    font-size: 11px;
  }

  .azienda-hero__grid {
    gap: 26px;
  }

  .azienda-hero__title {
    font-size: 31px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.045em !important;
  }

  .azienda-hero__text {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.65;
  }

  .azienda-hero__media {
    border-radius: 5px;
  }

  .azienda-hero__media img {
    aspect-ratio: 1 / 0.78;
  }

  .azienda-tiles {
    padding-bottom: 54px;
  }

  .azienda-tiles__grid {
    gap: 14px;
  }

  .azienda-tile {
    border-radius: 5px;
    padding: 28px 22px;
  }

  .azienda-tile__icon {
    margin-bottom: 18px;
  }

  .azienda-tile__icon svg {
    width: 24px;
    height: 24px;
  }

  .azienda-tile h2 {
    font-size: 24px;
    line-height: 1.14;
  }

  .azienda-tile__text {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.6;
  }

  .azienda-tile__text ul {
    gap: 10px;
  }

  .azienda-tile__text li {
    padding-left: 18px;
  }

  .azienda-tile__text li::before {
    width: 7px;
    height: 7px;
    border-width: 1.5px;
  }
}

/* =========================================================
   PAGE CONTATTI
========================================================= */

.page-contatti {
  background: var(--grey);
  color: var(--dark-blue);
  overflow: hidden;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.page-contatti .breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 26px;
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
}

.page-contatti .breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.page-contatti .breadcrumb a:hover,
.page-contatti .breadcrumb a:focus {
  color: var(--rosso-ok);
  text-decoration: none;
}

/* =========================================================
   HERO
========================================================= */

.contatti-hero {
  padding: 36px 0 26px;
}

.contatti-hero__title {
  max-width: 560px;
  margin: 0 !important;
  color: var(--dark-blue);
  font-size: clamp(38px, 3.4vw, 56px) !important;
  line-height: 1.02 !important;
  font-weight: 800 !important;
  letter-spacing: -0.055em !important;
}

.contatti-hero__title .text-red {
  color: var(--rosso-ok);
}

.contatti-hero__text {
  max-width: 560px;
  margin-top: 22px;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
}

.contatti-hero__text p {
  margin: 0;
}

/* =========================================================
   LAYOUT
========================================================= */

.contatti-main {
  padding: 0 0 82px;
}

.contatti-main__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: start;
}

.contatti-main__left,
.contatti-main__right {
  display: grid;
  gap: 24px;
}

/* =========================================================
   FORM CARD
========================================================= */

.contatti-form-card {
  border-radius: 6px;
  padding: 38px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.contatti-form-card form {
  margin: 0;
}

.contatti-form-card h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 30px !important;
  padding: 0 !important;
  color: var(--dark-blue);
  font-size: 22px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em;
}

.contatti-form-card h2::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: inline-block;
  background: var(--rosso-ok);

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2 1.5L14 8L2 14.5V9.75L9 8L2 6.25V1.5Z' fill='currentColor'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2 1.5L14 8L2 14.5V9.75L9 8L2 6.25V1.5Z' fill='currentColor'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.contatti-form-card p {
  margin: 0 0 14px;
}

.contatti-form-card .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contatti-form-card label {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contatti-form-card input,
.contatti-form-card select,
.contatti-form-card textarea {
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: #eef3ff;
  color: var(--dark-blue);
  font-size: 14px;
  font-weight: 500;
  outline: none;
}

.contatti-form-card input,
.contatti-form-card select {
  height: 48px;
  padding: 0 16px;
}

.contatti-form-card textarea {
  min-height: 138px;
  padding: 16px;
  resize: vertical;
}

.contatti-form-card input::placeholder,
.contatti-form-card textarea::placeholder {
  color: #94a3b8;
}

.contatti-form-card input:focus,
.contatti-form-card select:focus,
.contatti-form-card textarea:focus {
  outline: 3px solid var(--soft-red);
  outline-offset: 2px;
}

/* CF7 */
.contatti-form-card .wpcf7-form-control-wrap {
  display: block;
}

.contatti-form-card .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: var(--rosso-ok);
  font-size: 11px;
  font-weight: 700;
}

.contatti-form-card .wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 4px;
  font-size: 13px;
}

.contatti-form-card .privacy-row {
  margin: 18px 0 20px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.35;
}

.contatti-form-card .privacy-row a {
  color: var(--rosso-ok);
  font-weight: 700;
}

.contatti-form-card input[type="checkbox"] {
  width: 13px;
  height: 13px;
  margin: 0 8px 0 0;
  vertical-align: middle;
}

.contatti-form-card input[type="submit"],
.contatti-form-card button[type="submit"] {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 4px;
  background: var(--rosso-ok);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contatti-form-card input[type="submit"]:hover,
.contatti-form-card button[type="submit"]:hover,
.contatti-form-card input[type="submit"]:focus,
.contatti-form-card button[type="submit"]:focus {
  background: #920300;
}

/* =========================================================
   INFO CARDS
========================================================= */

.contatti-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contatti-info-card {
  min-height: 142px;
  border-radius: 6px;
  padding: 24px;
}

.contatti-info-card--phone,
.contatti-info-card--email {
  background: #e6eefd;
}

.contatti-info-card--whatsapp {
  background: #dff3e6;
  border: 1px solid rgba(37, 211, 102, 0.18);
}

.contatti-info-card__icon {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--rosso-ok);
  line-height: 1;
}

.contatti-info-card--whatsapp .contatti-info-card__icon {
  color: #25d366;
}

.contatti-info-card__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.contatti-info-card__label {
  display: block;
  margin: 0 0 10px;
  color: #9aa3b2;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contatti-info-card--whatsapp .contatti-info-card__label {
  color: #2f9f4f;
}

.contatti-info-card__text,
.contatti-info-card a {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #141c27;
  font-size: 14px;
  line-height: 20px;
  font-weight: 800;
  text-decoration: none;
}

.contatti-info-card--whatsapp a,
.contatti-info-card--whatsapp .contatti-info-card__text {
  color: #047a32;
}

.contatti-info-card a:hover,
.contatti-info-card a:focus {
  color: var(--rosso-ok);
  text-decoration: none;
}

.contatti-info-card__text p {
  margin: 0 0 8px;
}

.contatti-info-card__text p:last-child {
  margin-bottom: 0;
}

.contatti-info-card__items {
  display: grid;
  gap: 12px;
}

.contatti-info-card__item {
  display: grid;
  gap: 4px;
}

.contatti-info-card__item .contatti-info-card__label {
  margin-bottom: 3px;
}

/* =========================================================
   DIRECTIONS
========================================================= */

.contatti-directions-card {
  border-radius: 6px;
  padding: 34px;
  background: #fff;
}

.contatti-directions-card h2,
.contatti-map-card h2 {
  margin: 0 0 18px;
  color: var(--dark-blue);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.contatti-directions-card__text {
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

.contatti-directions-card__text p {
  margin: 0;
}

.contatti-directions-card__text p:nth-of-type(even) {
  margin-bottom: 22px;
}

.contatti-directions-card__text p:last-child {
  margin-bottom: 0;
}

.contatti-directions-card__text p:last-child {
  margin-bottom: 0;
}

.contatti-directions-card__text strong {
  color: var(--dark-blue);
  font-weight: 800;
}

/* =========================================================
   MAP
========================================================= */

.contatti-map-card {
  border-radius: 6px;
}

.contatti-map-card__embed {
  overflow: hidden;
  border-radius: 6px;
  background: #e6eefd;
}

.contatti-map-card__embed iframe {
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
}

/* =========================================================
   HOURS
========================================================= */

.contatti-section-title {
  margin: 0 0 18px;
  color: var(--dark-blue);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.contatti-hours-section {
  display: grid;
  gap: 0;
}

.contatti-hours-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  padding: 34px 40px;
  background: var(--dark-blue);
  color: #fff;
}

.contatti-hours-card__content {
  position: relative;
  z-index: 2;
}

.contatti-hours-card h3 {
  margin: 0 0 28px;
  color: #fff;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.contatti-hours-list {
  display: grid;
}

.contatti-hours-list__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contatti-hours-list__row:last-child {
  border-bottom: 0;
}

.contatti-hours-list__label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
}

.contatti-hours-list__value {
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.contatti-hours-list__value.is-closed {
  color: var(--rosso-ok);
}

.contatti-hours-card__icon {
  position: absolute;
  top: 34px;
  right: 36px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.08);
}

.contatti-hours-card__icon svg {
  display: block;
  width: 92px;
  height: 92px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
  .contatti-main__grid {
    grid-template-columns: 1fr;
  }

  .contatti-info-grid {
    grid-template-columns: 1fr;
  }

  .contatti-main__right {
    order: 2;
  }

  .contatti-main__left {
    order: 1;
  }
}

@media (max-width: 767px) {
  .contatti-hero {
    padding: 28px 0 24px;
  }

  .page-contatti .breadcrumb {
    margin-bottom: 22px;
    font-size: 11px;
  }

  .contatti-hero__title {
    font-size: 30px !important;
    line-height: 1.06 !important;
    letter-spacing: -0.045em !important;
  }

  .contatti-hero__text {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.55;
  }

  .contatti-main {
    padding-bottom: 54px;
  }

  .contatti-main__grid,
  .contatti-main__left,
  .contatti-main__right {
    gap: 14px;
  }

  .contatti-form-card,
  .contatti-directions-card,
  .contatti-hours-card {
    border-radius: 5px;
    padding: 24px;
  }

  .contatti-form-card h2 {
    margin-bottom: 22px !important;
    font-size: 18px !important;
  }

  .contatti-form-card .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contatti-form-card input,
  .contatti-form-card select {
    height: 44px;
  }

  .contatti-form-card textarea {
    min-height: 132px;
  }

  .contatti-info-card {
    min-height: auto;
    padding: 24px;
  }

  .contatti-info-card__text,
  .contatti-info-card a {
    font-size: 15px;
  }

  .contatti-map-card__embed iframe {
    height: 180px;
  }

  .contatti-section-title {
    font-size: 18px;
  }

  .contatti-hours-card h3 {
    margin-bottom: 22px;
    font-size: 20px;
  }

  .contatti-hours-list__row {
    min-height: 38px;
    gap: 14px;
  }

  .contatti-hours-list__label {
    font-size: 14px;
  }

  .contatti-hours-list__value {
    font-size: 13px;
  }

  .contatti-hours-card__icon {
    top: 20px;
    right: 20px;
  }

  .contatti-hours-card__icon svg {
    width: 68px;
    height: 68px;
  }
}

/* =========================================================
   FAQ + CTA SECTION
========================================================= */

.faq-cta-section {
  padding: 36px 0 80px;
  background: var(--grey);
}

.faq-cta-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 415px;
  gap: 24px;
  align-items: start;
}

/* FAQ */
.faq-accordion {
  display: grid;
  gap: 25px;
}

.faq-accordion__item {
  overflow: hidden;
  border: 1px solid #d6deec;
  border-radius: 12px;
  background: #fff;
  padding: 10px 0;
}

.faq-accordion__button {
  font-family: "Plus Jakarta Sans", sans-serif;
  width: 100%;
  min-height: 58px;
  padding: 0 24px 0 22px;
  border: 0;
  background: #fff;
  color: var(--dark-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-accordion__button:hover,
.faq-accordion__button:focus {
  color: var(--rosso-ok);
}

.faq-accordion__icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.faq-accordion__icon::before,
.faq-accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-accordion__icon::before {
  width: 20px;
  height: 2px;
}

.faq-accordion__icon::after {
  width: 2px;
  height: 20px;
  transition: transform 0.2s ease;
}

.faq-accordion__button[aria-expanded="true"] .faq-accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-accordion__content {
  padding: 22px;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

.faq-accordion__content p {
  margin: 16px 0 0;
}

/* CTA */
.faq-cta-box {
  border-radius: 6px;
  padding: 30px;
  background: var(--rosso-ok);
  color: #fff;
  box-shadow: 0 22px 40px rgba(186, 0, 0, 0.22);
}

.faq-cta-box h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.faq-cta-box p {
  margin: 16px 0 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.55;
}

.faq-cta-box__button {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  background: #fff;
  color: var(--rosso-ok);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

.faq-cta-box__button:hover,
.faq-cta-box__button:focus {
  color: var(--rosso-ok);
  text-decoration: none;
  background: #f5f5f5;
}

.faq-cta-box__button svg {
  flex: 0 0 auto;
}

/* Mobile */
@media (max-width: 767px) {
  .faq-cta-section {
    padding: 28px 0 54px;
  }

  .faq-cta-section__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-accordion__button {
    min-height: 56px;
    padding: 0 18px;
    font-size: 14px;
  }

  .faq-accordion__content {
    padding: 0 18px 18px;
    font-size: 13px;
  }

  .faq-cta-box {
    padding: 24px;
  }

  .faq-cta-box h2 {
    font-size: 22px;
  }
}
/* =========================================================
   CATEGORY OVERVIEW MOSAIC - FLUID CONTAINER
========================================================= */

.category-overview-cats {
  padding: 0 0 34px;
}

.category-overview-cats__grid {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: 313fr 314fr 314fr 314fr;
  gap: 16px;
}

/* Base */
.category-overview-cats__grid .category-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  border-radius: 6px;
  background: var(--dark-blue);
}

/* 1 - grande verticale */
.category-overview-cats__grid .category-card:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / span 2;
}

/* 2 - quadrata */
.category-overview-cats__grid .category-card:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  aspect-ratio: 1 / 1;
}

/* 3 - larga */
.category-overview-cats__grid .category-card:nth-child(3) {
  grid-column: 3 / 5;
  grid-row: 1 / 2;
  aspect-ratio: 644 / 314;
}

/* 4 - quadrata */
.category-overview-cats__grid .category-card:nth-child(4) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  aspect-ratio: 1 / 1;
}

/* 5 - quadrata */
.category-overview-cats__grid .category-card:nth-child(5) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  aspect-ratio: 1 / 1;
}

/* 6 - quadrata */
.category-overview-cats__grid .category-card:nth-child(6) {
  grid-column: 4 / 5;
  grid-row: 2 / 3;
  aspect-ratio: 1 / 1;
}

/* Link */
.category-card__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

/* Image */
.category-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

/* Overlay */
.category-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(7, 13, 29, 0.86) 0%,
    rgba(7, 13, 29, 0.54) 48%,
    rgba(7, 13, 29, 0.16) 100%
  );
}

/* Content */
.category-card__content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
}

.category-card__title {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.category-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.category-card__cta svg {
  display: block;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.category-card__link:hover .category-card__cta svg,
.category-card__link:focus .category-card__cta svg {
  transform: translateX(5px);
}

/* Hover */
.category-card__link:hover,
.category-card__link:focus {
  color: #fff;
  text-decoration: none;
}

.category-card__link:hover .category-card__image,
.category-card__link:focus .category-card__image {
  transform: scale(1.06);
}

/* Tablet */
/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) and (min-width: 768px) {
  .category-overview-cats__grid,
  .category-overview-cats__grid--count-1,
  .category-overview-cats__grid--count-2,
  .category-overview-cats__grid--count-3,
  .category-overview-cats__grid--count-4,
  .category-overview-cats__grid--count-5,
  .category-overview-cats__grid--count-6 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 16px;
  }

  .category-overview-cats__grid .category-card,
  .category-overview-cats__grid .category-card:nth-child(1),
  .category-overview-cats__grid .category-card:nth-child(2),
  .category-overview-cats__grid .category-card:nth-child(3),
  .category-overview-cats__grid .category-card:nth-child(4),
  .category-overview-cats__grid .category-card:nth-child(5),
  .category-overview-cats__grid .category-card:nth-child(6) {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .category-overview-cats__grid--count-5 .category-card:nth-child(5) {
    grid-column: 1 / -1 !important;
    aspect-ratio: 2 / 1;
  }

  .category-card__content {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .category-card__title {
    font-size: 21px;
  }

  .category-card__cta {
    font-size: 10px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .category-overview-cats {
    padding-bottom: 28px;
  }

  .category-overview-cats__grid,
  .category-overview-cats__grid--count-1,
  .category-overview-cats__grid--count-2,
  .category-overview-cats__grid--count-3,
  .category-overview-cats__grid--count-4,
  .category-overview-cats__grid--count-5,
  .category-overview-cats__grid--count-6 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
  }

  .category-overview-cats__grid .category-card,
  .category-overview-cats__grid .category-card:nth-child(1),
  .category-overview-cats__grid .category-card:nth-child(2),
  .category-overview-cats__grid .category-card:nth-child(3),
  .category-overview-cats__grid .category-card:nth-child(4),
  .category-overview-cats__grid .category-card:nth-child(5),
  .category-overview-cats__grid .category-card:nth-child(6) {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100%;
    height: 170px;
    min-height: 170px;
    aspect-ratio: auto !important;
  }

  .category-card__content {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .category-card__title {
    font-size: 20px;
  }

  .category-card__cta {
    margin-top: 8px;
    font-size: 10px;
  }
}

/* casi in cui ci sono meno categorie */
.category-overview-cats__grid--count-5 .category-card:nth-child(5) {
  grid-column: 3 / 5;
  grid-row: 2 / 3;
  aspect-ratio: 644 / 314;
}

.category-overview-cats__grid--count-4 .category-card:nth-child(4) {
  grid-column: 2 / 5;
  grid-row: 2 / 3;
  aspect-ratio: 958 / 314;
}

.category-overview-cats__grid--count-3 .category-card:nth-child(3) {
  grid-column: 3 / 5;
  grid-row: 1 / 3;
  aspect-ratio: auto;
}

.category-overview-cats__grid--count-2 .category-card:nth-child(2) {
  grid-column: 2 / 5;
  grid-row: 1 / 3;
  aspect-ratio: auto;
}

.category-overview-cats__grid--count-1 {
  grid-template-columns: 1fr;
  grid-template-rows: 420px;
}

.category-overview-cats__grid--count-1 .category-card:nth-child(1) {
  grid-column: 1 / -1;
  grid-row: 1 / 2;
}

@media (max-width: 767px) {
  .category-overview-cats__grid--count-1,
  .category-overview-cats__grid--count-2,
  .category-overview-cats__grid--count-3,
  .category-overview-cats__grid--count-4,
  .category-overview-cats__grid--count-5,
  .category-overview-cats__grid--count-6 {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .category-overview-cats__grid .category-card {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: auto !important;
  }
}

/* =========================================================
   CATEGORY OVERVIEW
========================================================= */

.category-overview {
  background: var(--grey);
  color: var(--dark-blue);
}

/* Breadcrumb */
.category-overview .breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 26px;
  color: #64748b;
  font-size: 12px;
  line-height: 1;
}

.category-overview .breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.category-overview .breadcrumb a:hover,
.category-overview .breadcrumb a:focus {
  color: var(--rosso-ok);
  text-decoration: none;
}

/* Hero */
.category-overview-hero {
  padding: 36px 0 28px;
}

.category-overview-hero__title {
  max-width: 760px;
  margin: 0 !important;
  color: var(--dark-blue);
  font-size: clamp(38px, 3.4vw, 56px) !important;
  line-height: 1.04 !important;
  font-weight: 800 !important;
  letter-spacing: -0.055em !important;
}

.category-overview-hero__text {
  max-width: 680px;
  margin-top: 18px;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
}

.category-overview-hero__text p {
  margin: 0;
}
/* =========================================================
   BLOG ARCHIVE
========================================================= */

.blog-archive {
  background: var(--grey);
  color: var(--dark-blue);
}

.blog-archive-section {
  padding: 28px 0 80px;
}

.blog-archive .breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 28px;
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
}

.blog-archive .breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.blog-archive .breadcrumb a:hover {
  color: var(--rosso-ok);
}

/* =========================================================
   FEATURED POST CARD
========================================================= */

.post-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  margin-bottom: 48px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(7, 13, 29, 0.04);
}

.post-featured-card__media {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  display: block;
  background: #dbe7fb;
}

.post-featured-card__media img {
  aspect-ratio: 770 / 485;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.post-featured-card__media:hover img {
  transform: scale(1.04);
}

.post-featured-card__badges {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-featured-card__badges span {
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: var(--rosso-ok);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.post-featured-card__badges span + span {
  background: #eaf1ff;
  color: var(--dark-blue);
}

.post-featured-card__body {
  padding: 46px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-card__meta {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  text-transform: uppercase;
}

.post-featured-card__title {
  margin: 0 0 18px;
  color: var(--dark-blue);
  font-size: 42px;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.post-featured-card__title a {
  color: inherit;
  text-decoration: none;
}

.post-featured-card__title a:hover {
  color: var(--rosso-ok);
}

.post-featured-card__excerpt {
  margin: 0 0 24px;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
}

/* =========================================================
   POST CARD GRID
========================================================= */

.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 28px;
}

.post-card {
  min-width: 0;
}

.post-card__media {
  display: block;
  overflow: hidden;
  border-radius: 7px;
  background: #dbe7fb;
}

.post-card__media img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.post-card__media:hover img {
  transform: scale(1.05);
}

.post-card__body {
  padding-top: 18px;
}

.post-card__tax {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  text-transform: uppercase;
}

.post-card__tax span {
  color: var(--rosso-ok);
}

.post-card__title {
  margin: 0 0 12px;
  color: var(--dark-blue);
  font-size: 22px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.post-card__title a {
  color: inherit;
  text-decoration: none;
}

.post-card__title a:hover {
  color: var(--rosso-ok);
}

.post-card__excerpt {
  margin: 0 0 18px;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.post-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rosso-ok);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
}

.post-card__readmore span {
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.post-card__readmore:hover {
  color: var(--rosso-ok);
  text-decoration: none;
}

.post-card__readmore:hover span {
  transform: translateX(5px);
}

/* =========================================================
   BLOG PAGINATION
========================================================= */

.blog-pagination {
  margin-top: 54px;
  display: flex;
  justify-content: center;
}

.blog-pagination ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
}

.blog-pagination li {
  margin: 0;
}

.blog-pagination a,
.blog-pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d6deec;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--dark-blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.blog-pagination .current {
  border-color: var(--rosso-ok);
  background: var(--rosso-ok);
  color: #fff;
}

.blog-pagination a:hover {
  border-color: var(--rosso-ok);
  color: var(--rosso-ok);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {
  .post-featured-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  }

  .post-featured-card__title {
    font-size: 36px;
  }

  .blog-archive-grid {
    gap: 36px 24px;
  }
}

@media (max-width: 991px) {
  .post-featured-card {
    grid-template-columns: 1fr;
  }

  .post-featured-card__media,
  .post-featured-card__media img {
    min-height: 360px;
  }

  .post-featured-card__body {
    padding: 34px;
  }

  .blog-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .blog-archive-section {
    padding: 24px 0 56px;
  }

  .blog-archive .breadcrumb {
    margin-bottom: 20px;
    font-size: 11px;
    flex-wrap: wrap;
  }

  .post-featured-card {
    margin-bottom: 36px;
    border-radius: 7px;
  }

  .post-featured-card__media,
  .post-featured-card__media img {
    min-height: 260px;
  }

  .post-featured-card__badges {
    top: 14px;
    left: 14px;
  }

  .post-featured-card__body {
    padding: 24px;
  }

  .post-card__meta {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .post-featured-card__title {
    font-size: 28px;
    line-height: 1.03;
  }

  .post-featured-card__excerpt {
    font-size: 14px;
  }

  .blog-archive-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .post-card__media img {
    height: 230px;
  }

  .post-card__title {
    font-size: 21px;
  }

  .blog-pagination {
    margin-top: 42px;
  }

  .blog-pagination a,
  .blog-pagination span {
    min-width: 34px;
    height: 34px;
    border-radius: 7px;
    font-size: 12px;
  }
}
/* =========================================================
   SINGLE BLOG
========================================================= */

.single-blog {
  background: var(--grey);
  color: var(--dark-blue);
}

.single-blog-hero {
  padding: 28px 0 34px;
}

.single-blog .breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 26px;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.single-blog .breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.single-blog .breadcrumb a:hover {
  color: var(--rosso-ok);
}

.single-blog-hero__content {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.single-blog-hero__content h1 {
  margin: 0;
  color: var(--dark-blue);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.single-blog-meta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.single-blog-meta__category {
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: #eaf1ff;
  color: var(--dark-blue);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
}

.single-blog-image {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 18px 45px rgba(7, 13, 29, 0.08);
}

.single-blog-image img {
  display: block;
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.single-blog-body {
  padding: 24px 0 58px;
}

.single-blog-layout {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 44px;
  align-items: start;
}

.single-blog-content {
  min-width: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.75;
}

.single-blog-content h2 {
  margin: 42px 0 16px;
  color: var(--dark-blue);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.single-blog-content h2:first-child {
  margin-top: 0;
}

.single-blog-content h3 {
  margin: 30px 0 12px;
  color: var(--dark-blue);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.single-blog-content p {
  margin: 0 0 20px;
}

.single-blog-content ul,
.single-blog-content ol {
  margin: 0 0 24px;
  padding-left: 22px;
}

.single-blog-content li {
  margin-bottom: 10px;
}

.single-blog-content a {
  color: var(--rosso-ok);
  font-weight: 700;
}

.single-blog-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 26px;
}

.single-blog-index {
  padding: 22px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(7, 13, 29, 0.04);
}

.single-blog-index h2,
.single-blog-share h2 {
  margin: 0 0 14px;
  color: var(--dark-blue);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.single-blog-index nav {
  display: grid;
  gap: 10px;
}

.single-blog-index a {
  color: #475569;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-blog-index a:hover {
  color: var(--rosso-ok);
}

.single-blog-share h2 {
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.single-blog-share__items {
  display: flex;
  gap: 10px;
}

.single-blog-share__items a {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf1ff;
  color: var(--dark-blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.single-blog-share__items a:hover {
  background: var(--rosso-ok);
  color: #fff;
}

.single-blog-navigation {
  max-width: 980px;
  margin: 64px auto 0;
  padding-top: 26px;
  border-top: 1px solid #d6deec;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.single-blog-navigation div:last-child {
  text-align: right;
}

.single-blog-navigation a {
  color: var(--dark-blue);
  text-decoration: none;
}

.single-blog-navigation span {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.single-blog-navigation strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

/* Responsive */
@media (max-width: 991px) {
  .single-blog-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .single-blog-sidebar {
    position: static;
    order: -1;
  }

  .single-blog-image img {
    height: 390px;
  }
}

@media (max-width: 767px) {
  .single-blog-hero {
    padding-top: 24px;
  }

  .single-blog .breadcrumb {
    flex-wrap: wrap;
    margin-bottom: 22px;
    font-size: 11px;
  }

  .single-blog-hero__content {
    text-align: center;
    margin-bottom: 24px;
  }

  .single-blog-hero__content h1 {
    font-size: 30px;
    line-height: 1.05;
  }

  .single-blog-meta {
    gap: 8px;
    font-size: 11px;
  }

  .single-blog-image img {
    height: 230px;
  }

  .single-blog-content {
    font-size: 14px;
    line-height: 1.65;
  }

  .single-blog-content h2 {
    margin-top: 34px;
    font-size: 24px;
  }

  .single-blog-index {
    padding: 18px;
  }

  .single-blog-navigation {
    margin-top: 44px;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .single-blog-navigation strong {
    display: none;
  }
}

/* =========================================================
   SEARCH PAGE
========================================================= */

.search-page {
  background: var(--grey);
  color: var(--dark-blue);
}

.search-page-hero {
  padding: 28px 0 38px;
}

.search-page .breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 28px;
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
}

.search-page .breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.search-page .breadcrumb a:hover {
  color: var(--rosso-ok);
}

.search-page-hero__content {
  max-width: 760px;
}

.search-page-hero__content h1 {
  margin: 0 0 24px;
  color: var(--dark-blue);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.search-page-hero__content h1 span {
  color: var(--rosso-ok);
}

.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 12px;
  max-width: 620px;
}

.search-page-form input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid #d6deec;
  border-radius: 8px;
  background: #fff;
  color: var(--dark-blue);
  font-size: 15px;
  font-weight: 600;
}

.search-page-form input:focus {
  outline: none;
  border-color: var(--rosso-ok);
}

.search-page-form button {
  height: 54px;
  border: 0;
  border-radius: 8px;
  background: var(--rosso-ok);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.search-page-form button:hover {
  background: #920300;
}

.search-page-results {
  padding: 0 0 80px;
}

.search-page-results__top {
  margin-bottom: 22px;
}

.search-page-results__top p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
}

.search-page-results__top strong {
  color: var(--dark-blue);
  font-weight: 800;
}

.search-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.search-page-empty {
  max-width: 520px;
  padding: 36px;
  border-radius: 8px;
  background: #fff;
}

.search-page-empty h2 {
  margin: 0 0 10px;
  color: var(--dark-blue);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.search-page-empty p {
  margin: 0 0 22px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.5;
}

.search-page-empty a {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rosso-ok);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.search-page-empty a:hover {
  background: #920300;
  color: #fff;
}

/* Pagination */
.search-page-pagination {
  margin-top: 54px;
  display: flex;
  justify-content: center;
}

.search-page-pagination ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
}

.search-page-pagination a,
.search-page-pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d6deec;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--dark-blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.search-page-pagination .current {
  border-color: var(--rosso-ok);
  background: var(--rosso-ok);
  color: #fff;
}

.search-page-pagination a:hover {
  border-color: var(--rosso-ok);
  color: var(--rosso-ok);
}

/* Responsive */
@media (max-width: 1199px) {
  .search-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .search-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .search-page-hero {
    padding: 24px 0 32px;
  }

  .search-page .breadcrumb {
    margin-bottom: 20px;
    font-size: 11px;
    flex-wrap: wrap;
  }

  .search-page-form {
    grid-template-columns: 1fr;
  }

  .search-page-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .search-page-results {
    padding-bottom: 56px;
  }

  .search-page-empty {
    padding: 24px;
  }

  .search-page-empty h2 {
    font-size: 24px;
  }
}

/* =========================================================
   BRANDS PAGE / MARCHI
========================================================= */

.brands-page {
  background: var(--grey);
  color: var(--dark-blue);
}

.brands-page-hero {
  padding: 28px 0 42px;
}

.brands-page .breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 28px;
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
}

.brands-page .breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.brands-page .breadcrumb a:hover {
  color: var(--rosso-ok);
}

.brands-page__header {
  max-width: 980px;
}

.brands-page__header h1 {
  margin: 0;
  color: var(--dark-blue);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brands-page__text {
  max-width: 680px;
  margin-top: 18px;
  color: #475569;
  font-size: 16px;
  line-height: 1.65;
}

.brands-page__text p {
  margin: 0;
}

/* =========================================================
   PARTNERS SECTION AS BRANDS GRID
========================================================= */

.brands-page .partners-section,
.partners-section--taxonomy {
  padding: 0 0 80px;
  background: var(--grey);
}

.partners-section--taxonomy .partners-section__mobile {
  display: none;
}

.brands-page .partners-section__desktop,
.partners-section--taxonomy .partners-section__desktop {
  display: block;
}

.brands-page .partners-section__list,
.partners-section--taxonomy .partners-section__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 42px 36px;
}

.brands-page .partners-section__item,
.partners-section--taxonomy .partners-section__item {
  margin: 0;
  min-width: 0;
}

.brands-page .partners-section__link,
.partners-section--taxonomy .partners-section__link {
  min-height: 160px;
  padding: 28px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 7px 7px 0 rgba(7, 13, 29, 0.07);
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.brands-page .partners-section__link:hover,
.brands-page .partners-section__link:focus,
.partners-section--taxonomy .partners-section__link:hover,
.partners-section--taxonomy .partners-section__link:focus {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 rgba(7, 13, 29, 0.09);
  text-decoration: none;
}

.brands-page .partners-section__logo,
.partners-section--taxonomy .partners-section__logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
}

.partners-section__name {
  color: var(--dark-blue);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  text-align: center;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {
  .brands-page .partners-section__list,
  .partners-section--taxonomy .partners-section__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 28px;
  }
}

@media (max-width: 991px) {
  .brands-page .partners-section__list,
  .partners-section--taxonomy .partners-section__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brands-page .partners-section__link,
  .partners-section--taxonomy .partners-section__link {
    min-height: 140px;
  }
}

@media (max-width: 767px) {
  .brands-page-hero {
    padding: 24px 0 32px;
  }

  .brands-page .breadcrumb {
    margin-bottom: 22px;
    font-size: 11px;
    flex-wrap: wrap;
  }

  .brands-page__header h1 {
    font-size: 34px;
  }

  .brands-page__text {
    font-size: 14px;
    line-height: 1.6;
  }

  .brands-page .partners-section,
  .partners-section--taxonomy {
    padding-bottom: 56px;
  }

  .brands-page .partners-section__list,
  .partners-section--taxonomy .partners-section__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .brands-page .partners-section__link,
  .partners-section--taxonomy .partners-section__link {
    min-height: 120px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 5px 5px 0 rgba(7, 13, 29, 0.07);
  }

  .brands-page .partners-section__logo,
  .partners-section--taxonomy .partners-section__logo {
    max-height: 58px;
  }

  .partners-section__name {
    font-size: 18px;
  }
}

.macchine-archive-main__layout--full {
  grid-template-columns: 1fr;
}
/* PREFOOTER */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.prefooter {
  background: var(--black);
  color: #fff;
  padding: 70px 0;
}

.prefooter__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 550px);
  align-items: center;
  gap: 64px;
}

.prefooter__title {
  margin: 0 0 18px;
  max-width: 640px;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.prefooter__text {
  margin: 0;
  max-width: 570px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.prefooter__form {
  width: 100%;
}

.prefooter__field {
  display: flex;
  width: 100%;
  min-height: 64px;
  padding: 4px;
  background: #fff;
  border-radius: 10px;
}

.prefooter__input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
  outline: none;
}

.prefooter__input::placeholder {
  color: var(--black);
  opacity: 1;
}

.prefooter__submit {
  flex: 0 0 auto;
  min-width: 132px;
  height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 8px;
  background: var(--rosso-ok);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.prefooter__submit:hover {
  background: #920300;
}

.prefooter__submit:focus-visible,
.prefooter__input:focus-visible,
.prefooter__checkbox:focus-visible {
  outline: 3px solid var(--soft-red);
  outline-offset: 3px;
}

.prefooter__privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
}

.prefooter__checkbox {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--rosso-ok);
  cursor: pointer;
}

.prefooter__privacy-label {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

@media (max-width: 991px) {
  .prefooter {
    padding: 44px 0;
  }

  .prefooter__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .prefooter__title {
    max-width: 360px;
    margin-bottom: 18px;
    font-size: 34px;
    line-height: 1.08;
  }

  .prefooter__text {
    max-width: 360px;
    font-size: 18px;
    line-height: 1.45;
  }

  .prefooter__field {
    min-height: 64px;
  }

  .prefooter__input {
    height: 56px;
    padding: 0 20px;
    font-size: 14px;
  }

  .prefooter__submit {
    min-width: 132px;
    height: 56px;
    padding: 0 22px;
    font-size: 15px;
  }

  .prefooter__privacy {
    margin-top: 22px;
  }
}

@media (max-width: 480px) {
  .prefooter__field {
    padding: 4px;
  }

  .prefooter__input {
    padding: 0 16px;
  }

  .prefooter__submit {
    min-width: 122px;
    padding: 0 18px;
  }
}

/* FOOTER */
.site-footer {
  background: var(--rosso-ok);
  color: #fff;
  padding: 72px 0 32px;
  font-size: 14px;
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 72px;
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 24px;
}

.site-footer__logo-img {
  max-width: 140px;
  height: auto;
}

.site-footer__description {
  max-width: 320px;
  line-height: 24px;
  margin: 0 0 28px;
  font-weight: 600;
}

.site-footer__socials {
  display: flex;
  gap: 18px;
  align-items: center;
}

.site-footer__title {
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer__menu,
.site-footer__contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__menu li,
.site-footer__contacts-list li {
  margin-bottom: 18px;
}

.site-footer__menu a,
.site-footer__contacts-list a {
  color: #fff;
}

.site-footer__contacts-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__whatsapp {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding: 14px 28px;
  min-width: 230px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
  text-decoration: none !important;
  font-weight: 700;
}

.site-footer__whatsapp:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__credits a {
  color: #fff;
}

@media (max-width: 991px) {
  .site-footer {
    padding: 48px 0 28px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__description {
    max-width: none;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
  }

  .site-footer__legal {
    flex-direction: column;
    gap: 8px;
  }

  .site-footer__whatsapp {
    width: 100%;
  }
}
