/* ==========================================================================
   For.Tec. — design system 2026
   Foglio di stile unico del frontend: classi prefissate "ft-".
   Le dipendenze del vecchio template (style.min.css, main.js) sono state rimosse.
   ========================================================================== */

/* ---------- font (self-hosted) ---------- */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('/frontend/fonts/ft/plex-sans-latin.woff2?v=2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('/frontend/fonts/ft/plex-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/frontend/fonts/ft/source-serif-latin.woff2?v=4') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/frontend/fonts/ft/source-serif-latin-ext.woff2?v=3') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/frontend/fonts/ft/plex-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/frontend/fonts/ft/plex-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/frontend/fonts/ft/plex-arabic-400.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/frontend/fonts/ft/plex-arabic-500.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/frontend/fonts/ft/plex-arabic-600.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* ---------- token ---------- */
:root {
  --ft-navy: #0B2A4D;
  --ft-navy-card: #10365F;
  --ft-blue: #0F427A;
  --ft-red: #E20613;
  --ft-ink: #1B2430;
  --ft-text: #4A5563;
  --ft-text-strong: #3D4855;
  --ft-muted: #5A6675;
  --ft-muted-2: #626D7B;
  --ft-line: #E3E6EA;
  --ft-line-2: #D5DAE1;
  --ft-input: #C9D0D8;
  --ft-stone: #F3F4F1;
  --ft-tint: #EAF0F7;
  --ft-on-dark: #C9D6E6;
  --ft-on-dark-2: #9FB4CF;
  --ft-on-dark-3: #D5DEEA;
  --ft-on-dark-4: #E4EBF4;

  --ft-sans: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ft-serif: 'Source Serif 4', 'IBM Plex Sans Arabic', Georgia, 'Times New Roman', serif;
  --ft-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --ft-gutter: clamp(16px, 6.67vw, 96px);
  --ft-max: 1440px;
  --ft-header-h: 96px;
  --ft-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset minimo ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body,
figure,
blockquote {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
p {
  margin: 0 0 16px;
}
img,
svg,
video {
  vertical-align: middle;
}
img,
video {
  max-width: 100%;
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}

/* ---------- base ---------- */
html {
  scroll-padding-top: calc(var(--ft-header-h) + 16px);
}
body {
  font-family: var(--ft-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ft-ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.ft-lock {
  overflow: hidden;
}
.ft-page img {
  image-rendering: auto;
}
.ft-page a {
  color: var(--ft-blue);
  text-decoration: none;
  transition: color .2s var(--ft-ease), background-color .2s var(--ft-ease), border-color .2s var(--ft-ease);
}
.ft-page a:hover {
  color: var(--ft-red);
}
.ft-page :focus-visible {
  outline: 2px solid var(--ft-red);
  outline-offset: 2px;
}
.ft-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ft-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--ft-blue);
  color: #fff !important;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
}
.ft-skip:focus {
  top: 12px;
}
.ft-container {
  width: 100%;
  max-width: var(--ft-max);
  margin: 0 auto;
  padding-inline-start: var(--ft-gutter);
  padding-inline-end: var(--ft-gutter);
  box-sizing: border-box;
}
.ft-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- tipografia ---------- */
.ft-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--ft-sans);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ft-blue);
}
.ft-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  flex-shrink: 0;
  background: var(--ft-red);
}
.ft-eyebrow--light {
  color: var(--ft-on-dark-2);
}
.ft-h1,
.ft-h2,
.ft-h3 {
  margin: 0;
  font-family: var(--ft-serif);
  font-weight: 500;
  color: var(--ft-navy);
}
.ft-h1 {
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -.015em;
}
.ft-h2 {
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.1;
}
.ft-h3 {
  font-size: 21px;
  line-height: 1.25;
}
.ft-lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ft-text);
}
.ft-on-dark .ft-h1,
.ft-on-dark .ft-h2,
.ft-on-dark .ft-h3 {
  color: #ffffff;
}

/* ---------- pulsanti e link ---------- */
.ft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--ft-blue);
  background: var(--ft-blue);
  color: #ffffff !important;
  font-family: var(--ft-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
}
.ft-btn:hover {
  background: var(--ft-navy);
  border-color: var(--ft-navy);
}
.ft-btn .ft-icon {
  font-size: 16px;
  transition: transform .2s var(--ft-ease);
}
.ft-btn:hover .ft-icon--arrow {
  transform: translateX(3px);
}
.ft-btn--outline {
  background: transparent;
  color: var(--ft-blue) !important;
}
.ft-btn--outline:hover {
  background: var(--ft-blue);
  border-color: var(--ft-blue);
  color: #ffffff !important;
}
.ft-btn--white {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ft-navy) !important;
  font-weight: 600;
}
.ft-btn--white:hover {
  background: var(--ft-tint);
  border-color: var(--ft-tint);
}
.ft-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ft-blue);
  font-size: 15px;
  font-weight: 600;
  color: var(--ft-blue);
  white-space: nowrap;
}
.ft-link-arrow .ft-icon {
  font-size: 14px;
  stroke-width: 2;
  transition: transform .2s var(--ft-ease);
}
.ft-link-arrow:hover {
  border-color: var(--ft-red);
}
.ft-link-arrow:hover .ft-icon {
  transform: translateX(3px);
}

/* ---------- top bar ---------- */
.ft-topbar {
  background: var(--ft-navy);
  color: var(--ft-on-dark-3);
  font-size: 13px;
  line-height: 1;
}
.ft-topbar__inner {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ft-topbar__group {
  display: flex;
  align-items: center;
  gap: 22px;
}
.ft-page .ft-topbar a,
.ft-topbar__btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ft-on-dark-3);
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--ft-sans);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}
.ft-page .ft-topbar a:hover,
.ft-topbar__btn:hover {
  color: #ffffff;
}
.ft-topbar .ft-icon {
  font-size: 14px;
}
.ft-topbar__sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, .22);
}
.ft-topbar__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* lingua */
.ft-lang {
  position: relative;
}
.ft-lang__toggle {
  color: #ffffff !important;
  font-weight: 600;
  gap: 6px !important;
}
.ft-lang__toggle .ft-icon {
  font-size: 12px;
  stroke-width: 2.2;
  transition: transform .2s var(--ft-ease);
}
.ft-lang.is-open .ft-lang__toggle .ft-icon {
  transform: rotate(180deg);
}
.ft-lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 1100;
  min-width: 170px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--ft-line);
  box-shadow: 0 12px 32px rgba(11, 42, 77, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s var(--ft-ease), transform .18s var(--ft-ease), visibility .18s;
}
.ft-lang.is-open .ft-lang__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.ft-page .ft-lang__menu a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  color: var(--ft-ink);
  font-size: 14px;
}
.ft-page .ft-lang__menu a:hover,
.ft-page .ft-lang__menu a[aria-current="true"] {
  background: var(--ft-stone);
  color: var(--ft-blue);
}
.ft-lang__code {
  font-family: var(--ft-mono);
  font-size: 12px;
  color: var(--ft-muted-2);
  text-transform: uppercase;
}

/* ---------- header ---------- */
.ft-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--ft-line);
  transition: box-shadow .2s var(--ft-ease);
}
.ft-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(11, 42, 77, .08);
}
.ft-header__inner {
  height: var(--ft-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ft-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.ft-logo img {
  display: block;
  height: 64px;
  width: auto;
}
.ft-logo__claim {
  display: flex;
  flex-direction: column;
  border-inline-start: 1px solid var(--ft-line-2);
  padding-inline-start: 14px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ft-muted);
}

.ft-nav {
  height: 100%;
}
.ft-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 40px);
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-nav__item {
  height: 100%;
  display: flex;
  align-items: center;
}
.ft-page .ft-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ft-ink);
  font-family: var(--ft-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}
.ft-page .ft-nav__link:hover,
.ft-nav__item.is-open > .ft-nav__link {
  color: var(--ft-blue);
}
.ft-page .ft-nav__link.is-active {
  color: var(--ft-blue);
  border-bottom-color: var(--ft-red);
}
.ft-nav__link .ft-icon {
  font-size: 12px;
  stroke-width: 2.2;
  transition: transform .2s var(--ft-ease);
}
.ft-nav__item.is-open > .ft-nav__link .ft-icon {
  transform: rotate(180deg);
}

/* dropdown semplice */
.ft-nav__item--dropdown {
  position: relative;
}
.ft-dropdown,
.ft-mega {
  position: absolute;
  z-index: 1050;
  background: #ffffff;
  border: 1px solid var(--ft-line);
  border-top: 2px solid var(--ft-red);
  box-shadow: 0 18px 40px rgba(11, 42, 77, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s var(--ft-ease), transform .18s var(--ft-ease), visibility .18s;
}
.ft-nav__item.is-open > .ft-dropdown,
.ft-nav__item.is-open > .ft-mega {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.ft-dropdown {
  top: 100%;
  left: -20px;
  min-width: 240px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
}
.ft-page .ft-dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--ft-ink);
  font-size: 15px;
}
.ft-page .ft-dropdown a:hover {
  background: var(--ft-stone);
  color: var(--ft-blue);
}

/* mega menu prodotti: ancorato all'header (sticky, quindi posizionato) */
.ft-nav__item--mega {
  position: static;
}
.ft-mega {
  top: 100%;
  left: 0;
  right: 0;
  border-inline-start: 0;
  border-inline-end: 0;
}
.ft-mega__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 40px;
  padding-top: 36px;
  padding-bottom: 40px;
}
.ft-mega__all {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-bottom: -12px;
}
.ft-page .ft-mega__title {
  display: block;
  margin-bottom: 12px;
  font-family: var(--ft-serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ft-navy);
}
.ft-page .ft-mega__title:hover {
  color: var(--ft-red);
}
.ft-mega__list,
.ft-mega__sublist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-mega__list > li + li {
  margin-top: 6px;
}
.ft-page .ft-mega__list a {
  color: var(--ft-text);
  font-size: 14px;
  line-height: 1.45;
}
.ft-page .ft-mega__list a:hover {
  color: var(--ft-blue);
}
.ft-mega__group {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ft-muted-2);
}
.ft-mega__sublist {
  margin-top: 4px;
  padding-inline-start: 12px;
  border-inline-start: 1px solid var(--ft-line);
}

/* azioni header */
.ft-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.ft-icon-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--ft-line-2);
  background: #ffffff;
  color: var(--ft-blue);
  cursor: pointer;
  font-size: 19px;
  transition: border-color .2s var(--ft-ease), color .2s var(--ft-ease);
}
.ft-icon-btn:hover {
  border-color: var(--ft-blue);
}
.ft-icon-btn .ft-icon {
  stroke-width: 2;
}
.ft-burger {
  display: none;
}
.ft-header__cta .ft-icon {
  font-size: 17px;
}

/* ricerca */
.ft-search {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--ft-line);
  box-shadow: 0 18px 40px rgba(11, 42, 77, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s var(--ft-ease), transform .18s var(--ft-ease), visibility .18s;
}
.ft-search.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.ft-search__form {
  display: flex;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.ft-search__input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--ft-input);
  background: #ffffff;
  color: var(--ft-ink);
  font-family: var(--ft-sans);
  font-size: 16px;
  box-sizing: border-box;
}
.ft-search__input:focus {
  border-color: var(--ft-blue);
  outline: none;
}

/* menu mobile */
.ft-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
}
.ft-drawer.is-open {
  visibility: visible;
}
.ft-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 42, 77, .55);
  opacity: 0;
  transition: opacity .25s var(--ft-ease);
}
.ft-drawer.is-open .ft-drawer__overlay {
  opacity: 1;
}
.ft-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  transform: translateX(100%);
  transition: transform .3s var(--ft-ease);
}
.ft-drawer.is-open .ft-drawer__panel {
  transform: none;
}
.ft-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ft-line);
}
.ft-drawer__head img {
  height: 48px;
  width: auto;
}
.ft-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 24px;
}
.ft-drawer__list,
.ft-drawer__sub {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-drawer__list > li {
  border-bottom: 1px solid var(--ft-line);
}
.ft-page .ft-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  color: var(--ft-ink);
  font-family: var(--ft-sans);
  font-size: 17px;
  font-weight: 500;
  text-align: start;
  cursor: pointer;
}
.ft-page .ft-drawer__link.is-active {
  color: var(--ft-blue);
}
.ft-drawer__link .ft-icon {
  font-size: 14px;
  stroke-width: 2.2;
  transition: transform .2s var(--ft-ease);
}
.ft-drawer__link[aria-expanded="true"] .ft-icon {
  transform: rotate(180deg);
}
.ft-drawer__sub {
  display: none;
  padding: 0 20px 14px;
}
.ft-drawer__sub.is-open {
  display: block;
}
.ft-page .ft-drawer__sub a {
  display: block;
  padding: 8px 0 8px 14px;
  border-inline-start: 2px solid var(--ft-line);
  color: var(--ft-text);
  font-size: 15px;
}
.ft-page .ft-drawer__sub a:hover {
  border-inline-start-color: var(--ft-red);
  color: var(--ft-blue);
}
.ft-drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 24px;
  border-top: 1px solid var(--ft-line);
}
.ft-drawer__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ft-page .ft-drawer__langs a {
  min-width: 44px;
  padding: 8px 10px;
  border: 1px solid var(--ft-line-2);
  color: var(--ft-ink);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}
.ft-page .ft-drawer__langs a[aria-current="true"] {
  border-color: var(--ft-blue);
  background: var(--ft-blue);
  color: #ffffff;
}

/* ---------- hero ---------- */
.ft-hero {
  position: relative;
  display: flex;
  min-height: 620px;
  background: var(--ft-stone);
  overflow: hidden;
}
/* il testo usa lo stesso contenitore delle sezioni sottostanti, la foto occupa la parte destra */
.ft-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}
.ft-hero__content {
  width: 44%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 72px 0;
  box-sizing: border-box;
}
.ft-hero__lead {
  max-width: 470px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ft-text-strong);
}
.ft-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.ft-hero__media {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: 55.5%;
}
.ft-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ft-hero__media::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 360px;
  max-width: 50%;
  background: linear-gradient(90deg, #F3F4F1 0%, rgba(243, 244, 241, .85) 30%, rgba(243, 244, 241, 0) 100%);
}

.ft-page .ft-hero__guide {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 470px;
  padding: 14px 16px;
  border-left: 3px solid var(--ft-red);
  background: rgba(255, 255, 255, .7);
  color: var(--ft-ink);
  font-size: 14px;
  line-height: 1.4;
}
.ft-page .ft-hero__guide:hover {
  background: #ffffff;
  color: var(--ft-blue);
}
.ft-hero__guide-label {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ft-red);
}
.ft-hero__guide-title {
  flex: 1;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ft-hero__guide .ft-icon {
  font-size: 16px;
  stroke-width: 2;
}

/* ---------- trust strip ---------- */
.ft-trust {
  border-bottom: 1px solid var(--ft-line);
  background: #ffffff;
}
.ft-trust__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.ft-trust__label {
  width: 170px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ft-blue);
}
.ft-trust__label::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--ft-red);
}
.ft-trust__logos {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ft-trust__group {
  display: flex;
  align-items: center;
  gap: 26px;
}
.ft-trust__group img {
  display: block;
  width: 76px;
  height: 76px;
}
.ft-trust__group--iso {
  gap: 18px;
}
.ft-trust__group--iso img {
  width: 96px;
  height: 96px;
}
.ft-trust__sep {
  width: 1px;
  height: 72px;
  background: var(--ft-line);
}

/* ---------- sezioni ---------- */
.ft-section {
  padding-top: 96px;
  padding-bottom: 104px;
}
.ft-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}
.ft-section__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ft-section__intro .ft-lead {
  max-width: 620px;
}

/* prodotti */
.ft-grid-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-grid-products > li {
  display: flex;
}
.ft-grid-products > li > .ft-card {
  flex: 1;
}
.ft-page .ft-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ft-line);
  background: #ffffff;
  color: var(--ft-ink);
  transition: border-color .2s var(--ft-ease), box-shadow .2s var(--ft-ease), transform .2s var(--ft-ease);
}
.ft-page .ft-card:hover {
  color: var(--ft-ink);
  border-color: var(--ft-line-2);
  box-shadow: 0 14px 34px rgba(11, 42, 77, .10);
  transform: translateY(-2px);
}
.ft-card__media {
  position: relative;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ft-stone);
}
.ft-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ft-ease);
}
.ft-card:hover .ft-card__media img {
  transform: scale(1.04);
}
.ft-card__media--icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.ft-card__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 24px;
}
.ft-card__code {
  font-family: var(--ft-mono);
  font-size: 12px;
  color: var(--ft-muted-2);
}
.ft-card__text {
  flex-grow: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ft-text);
}
.ft-card__more {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ft-blue);
}
.ft-card__more .ft-icon {
  font-size: 14px;
  stroke-width: 2;
  transition: transform .2s var(--ft-ease);
}
.ft-card:hover .ft-card__more {
  color: var(--ft-red);
}
.ft-card:hover .ft-card__more .ft-icon {
  transform: translateX(3px);
}
.ft-cta-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 28px;
  background: var(--ft-blue);
  color: #ffffff;
}
.ft-cta-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ft-cta-card__body > .ft-icon {
  font-size: 32px;
  stroke-width: 1.5;
}
.ft-cta-card__title {
  margin: 0;
  font-family: var(--ft-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
}
.ft-cta-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ft-on-dark);
}
.ft-page .ft-cta-card .ft-btn {
  justify-content: space-between;
  min-height: 46px;
  padding: 0 18px;
  font-size: 14px;
  color: var(--ft-blue) !important;
}

/* certificazioni */
.ft-certs {
  position: relative;
  background: var(--ft-navy);
  color: #ffffff;
}
.ft-certs::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--ft-red);
}
.ft-certs__inner {
  display: flex;
  gap: 72px;
  padding-top: 104px;
  padding-bottom: 104px;
}
.ft-certs__intro {
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.ft-certs__intro .ft-lead {
  line-height: 1.65;
  color: var(--ft-on-dark);
}
.ft-checklist {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 20px 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.ft-checklist li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ft-on-dark-4);
}
.ft-checklist .ft-icon {
  font-size: 18px;
  stroke: #ffffff;
  stroke-width: 2;
}
.ft-certs__grid {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-cert {
  display: flex;
  gap: 20px;
  padding: 26px 28px;
  background: var(--ft-navy-card);
  border: 1px solid rgba(255, 255, 255, .14);
}
.ft-cert__logo {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
.ft-cert__logo img {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
}
.ft-cert__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.ft-cert__code {
  font-family: var(--ft-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ft-on-dark-2);
}
.ft-cert__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ft-on-dark);
}
.ft-cert__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12px;
  line-height: 1.4;
  color: var(--ft-on-dark-2);
}
.ft-page .ft-cert__foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.ft-page .ft-cert__foot a:hover {
  color: var(--ft-on-dark-2);
}
.ft-cert__foot .ft-icon {
  font-size: 14px;
  stroke-width: 2;
}

/* azienda */
.ft-about {
  display: flex;
  min-height: 520px;
}
.ft-about__media {
  position: relative;
  width: 50%;
  flex-shrink: 0;
}
.ft-about__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ft-about__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  max-width: 720px;
  padding: 72px var(--ft-gutter) 72px 80px;
  box-sizing: border-box;
}
.ft-about__content .ft-h2 {
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.12;
}
.ft-about__content .ft-lead {
  font-size: 16px;
  line-height: 1.7;
}
.ft-stats {
  display: flex;
  gap: 48px;
  margin: 0;
  padding: 8px 0 0;
}
.ft-stats div {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.ft-stats dt {
  font-size: 13px;
  color: var(--ft-muted);
}
.ft-stats dd {
  margin: 0;
  font-family: var(--ft-serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  color: var(--ft-blue);
}
.ft-about__content .ft-link-arrow {
  margin-top: 6px;
}

/* news */
.ft-section--news {
  padding-bottom: 96px;
}
.ft-grid-news {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-page .ft-news-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--ft-ink);
}
.ft-news-card__media {
  overflow: hidden;
  background: var(--ft-stone);
  aspect-ratio: 16 / 9;
}
.ft-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ft-ease);
}
.ft-news-card:hover .ft-news-card__media img {
  transform: scale(1.04);
}
.ft-news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.ft-news-card__tag {
  padding: 4px 10px;
  background: var(--ft-tint);
  color: var(--ft-blue);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ft-news-card__date {
  color: var(--ft-muted-2);
}
.ft-news-card__title {
  margin: 0;
  font-family: var(--ft-serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ft-navy);
  transition: color .2s var(--ft-ease);
}
.ft-news-card:hover .ft-news-card__title {
  color: var(--ft-blue);
}
.ft-news-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ft-text);
}
.ft-news-card__more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--ft-blue);
}

/* domande frequenti */
.ft-faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}
.ft-faq__list {
  border-top: 1px solid var(--ft-line-2);
}
.ft-faq__item {
  border-bottom: 1px solid var(--ft-line-2);
}
.ft-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.ft-faq__item summary::-webkit-details-marker {
  display: none;
}
.ft-faq__question {
  margin: 0;
  font-family: var(--ft-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ft-navy);
}
.ft-faq__item summary:hover .ft-faq__question {
  color: var(--ft-blue);
}
.ft-faq__item summary .ft-icon {
  font-size: 18px;
  stroke-width: 2;
  color: var(--ft-blue);
  transition: transform .2s var(--ft-ease);
}
.ft-faq__item[open] summary .ft-icon {
  transform: rotate(180deg);
}
.ft-faq__answer {
  margin: -6px 0 24px;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ft-text-strong);
}
@media (max-width: 991px) {
  .ft-faq__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}
@media (max-width: 767px) {
  .ft-faq__question {
    font-size: 18px;
  }
}

/* contatti */
.ft-section--contact {
  padding-top: 0;
  padding-bottom: 96px;
}
.ft-contact {
  display: flex;
  border: 1px solid var(--ft-line);
}
.ft-contact__aside {
  position: relative;
  width: 460px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 56px 48px;
  background: var(--ft-blue);
  color: #ffffff;
  box-sizing: border-box;
}
.ft-contact__aside::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 4px;
  background: var(--ft-red);
}
.ft-contact__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ft-on-dark);
}
.ft-contact__aside .ft-h2 {
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.15;
  color: #ffffff;
}
.ft-contact__aside p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ft-on-dark-3);
}
.ft-contact__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-style: normal;
}
.ft-contact__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  line-height: 1.5;
}
.ft-contact__list address {
  font-style: normal;
}
.ft-contact__list .ft-icon {
  font-size: 18px;
  margin-top: 2px;
}
.ft-page .ft-contact__list a {
  color: #ffffff;
}
.ft-page .ft-contact__list a:hover {
  color: var(--ft-on-dark);
}
.ft-contact__form {
  flex-grow: 1;
  min-width: 0;
  padding: 56px;
}

/* form */
.ft-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}
.ft-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ft-ink);
}
.ft-field--full {
  grid-column: 1 / -1;
}
.ft-field__req {
  color: var(--ft-red);
}
.ft-page .ft-field input,
.ft-page .ft-field select,
.ft-page .ft-field textarea {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--ft-input);
  border-radius: 0;
  background-color: #ffffff;
  color: var(--ft-ink);
  font-family: var(--ft-sans);
  font-size: 15px;
  font-weight: 400;
  box-sizing: border-box;
  box-shadow: none;
  transition: border-color .2s var(--ft-ease), box-shadow .2s var(--ft-ease);
}
.ft-page .ft-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F427A' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
.ft-page .ft-field textarea {
  height: 120px;
  min-width: 0;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5;
}
.ft-page .ft-field input:focus,
.ft-page .ft-field select:focus,
.ft-page .ft-field textarea:focus {
  border-color: var(--ft-blue);
  box-shadow: 0 0 0 3px rgba(15, 66, 122, .12);
  outline: none;
}
.ft-page .ft-field input[readonly] {
  background: var(--ft-stone);
}
.ft-form__foot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.ft-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ft-text);
  cursor: pointer;
}
.ft-check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 1px 0 0;
  accent-color: var(--ft-blue);
}
.ft-check a {
  font-weight: 500;
  text-decoration: underline;
}
.ft-form__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  color: var(--ft-muted-2);
}
.ft-page .ft-form__note a {
  color: inherit;
  text-decoration: underline;
}
.ft-page .ft-form .alert {
  grid-column: 1 / -1;
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 0;
  border-inline-start: 3px solid var(--ft-red);
  border-radius: 0;
  background: #FDECEC;
  color: var(--ft-ink);
  font-size: 14px;
}
.ft-page .ft-form .alert.alert-success {
  border-inline-start-color: #1F8A4C;
  background: #E8F5EE;
}
.ft-form .alert.hidden {
  display: none;
}
.ft-form .alert .alert-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ft-ink);
}
.ft-form .alert .alert-message {
  margin: 0;
  color: var(--ft-text-strong);
}
.ft-form .alert .btn-close {
  display: none;
}

/* ---------- footer ---------- */
.ft-footer {
  background: var(--ft-stone);
  border-top: 1px solid var(--ft-line);
}
/* sezioni sotto la piega: il browser ne calcola layout e rendering solo quando si avvicinano alla viewport */
.ft-certs,
.ft-about,
.ft-section--news,
.ft-faq,
.ft-section--contact,
.ft-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.ft-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr 1fr 1fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 64px;
}
.ft-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.ft-footer__brand img {
  display: block;
  height: 72px;
  width: auto;
}
.ft-footer__brand p,
.ft-footer__brand address {
  margin: 0;
  font-size: 14px;
  font-style: normal;
  line-height: 1.7;
  color: var(--ft-text);
}
.ft-page .ft-footer__brand a {
  font-weight: 500;
}
.ft-page .ft-footer__brand .ft-footer__map {
  color: var(--ft-text);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--ft-line-2);
}
.ft-footer__title {
  margin: 0 0 20px;
  font-family: var(--ft-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ft-navy);
}
.ft-footer__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.35;
}
.ft-page .ft-footer__links a {
  color: var(--ft-text);
}
.ft-page .ft-footer__links a:hover {
  color: var(--ft-blue);
}
.ft-footer__iso {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ft-footer__iso img {
  display: block;
  width: 100%;
  height: auto;
  background: #ffffff;
}
.ft-footer__badges {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.ft-footer__badges img {
  display: block;
  width: 100%;
  height: auto;
}
.ft-footer__social {
  display: flex;
  gap: 10px;
}
.ft-page .ft-footer__social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ft-line-2);
  background: #ffffff;
  color: var(--ft-blue);
  font-size: 16px;
}
.ft-page .ft-footer__social a:hover {
  border-color: var(--ft-blue);
  background: var(--ft-blue);
  color: #ffffff;
}
.ft-subfooter {
  background: var(--ft-navy);
  color: var(--ft-on-dark);
  font-size: 13px;
  line-height: 1.5;
}
.ft-subfooter__inner {
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.ft-subfooter p {
  margin: 0;
}
.ft-subfooter__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-page .ft-subfooter a {
  color: var(--ft-on-dark);
}
.ft-page .ft-subfooter a:hover {
  color: #ffffff;
}
.ft-subfooter__credits {
  color: var(--ft-on-dark-2);
}

/* iubenda: i link incorporati ereditano lo stile del footer */
.ft-page .ft-subfooter .iubenda-embed {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--ft-on-dark) !important;
  font: inherit !important;
}
.ft-page .ft-subfooter .iubenda-embed::before,
.ft-page .ft-subfooter .iubenda-embed::after {
  display: none !important;
}

/* reCAPTCHA: badge nascosto, dicitura presente nel form (consentito da Google) */
.grecaptcha-badge {
  visibility: hidden;
}

/* ---------- widget ereditati (accessibilità, torna su) ---------- */
.ft-page .acc-launcher .ft-icon {
  font-size: 24px;
}
.ft-page .acc-launcher button {
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: var(--ft-navy);
  box-shadow: 0 6px 18px rgba(11, 42, 77, .25);
}
.ft-totop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 980;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: var(--ft-blue);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(11, 42, 77, .2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ft-ease), transform .2s var(--ft-ease), visibility .2s, background-color .2s var(--ft-ease);
}
.ft-totop .ft-icon {
  transform: rotate(-90deg);
  stroke-width: 2;
}
.ft-totop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.ft-totop:hover {
  background: var(--ft-navy);
}

/* ---------- contatti rapidi flottanti ---------- */
.ft-quick {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ft-page .ft-quick a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--ft-line-2);
  color: var(--ft-blue);
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(11, 42, 77, .12);
}
.ft-page .ft-quick a:hover {
  background: var(--ft-blue);
  border-color: var(--ft-blue);
  color: #ffffff;
}
.ft-quick__label {
  display: none;
}
.ft-page .ft-quick .ft-quick__wa {
  color: #15803D;
}
.ft-page .ft-quick .ft-quick__wa:hover {
  background: #15803D;
  border-color: #15803D;
  color: #ffffff;
}

/* ---------- responsive ---------- */
@media (max-width: 1360px) {
  .ft-logo__claim {
    display: none;
  }
  .ft-certs__inner {
    gap: 48px;
  }
  .ft-certs__intro {
    width: 320px;
  }
}

@media (max-width: 1180px) {
  :root {
    --ft-header-h: 76px;
  }
  .ft-nav,
  .ft-header__cta {
    display: none;
  }
  .ft-burger {
    display: inline-flex;
  }
  .ft-logo img {
    height: 52px;
  }
  .ft-grid-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ft-trust__label,
  .ft-trust__sep {
    display: none;
  }
  .ft-trust__logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 40px;
  }
  .ft-trust__group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .ft-certs__inner {
    flex-direction: column;
  }
  .ft-certs__intro {
    width: auto;
    max-width: 720px;
  }
  .ft-contact__aside {
    width: 380px;
    padding: 48px 36px;
  }
  .ft-contact__form {
    padding: 48px 36px;
  }
  .ft-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .ft-hero {
    flex-direction: column;
    min-height: 0;
  }
  .ft-hero__content {
    width: auto;
    max-width: none;
    padding: 40px 0 56px;
    gap: 22px;
  }
  .ft-hero__media {
    position: relative;
    width: auto;
    height: 46vw;
    min-height: 240px;
    max-height: 420px;
  }
  .ft-hero__media::after {
    display: none;
  }
  .ft-trust__logos {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .ft-trust__group {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .ft-trust__sep {
    display: none;
  }
  .ft-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .ft-grid-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .ft-certs__inner {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .ft-about {
    flex-direction: column;
  }
  .ft-about__media {
    width: auto;
    height: 52vw;
    max-height: 440px;
  }
  .ft-about__content {
    max-width: none;
    padding: 56px var(--ft-gutter);
  }
  .ft-grid-news {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }
  .ft-contact {
    flex-direction: column;
  }
  .ft-contact__aside {
    width: auto;
  }
}

@media (max-width: 767px) {
  .ft-page .ft-topbar .ft-topbar__mail,
  .ft-topbar__social,
  .ft-topbar__social + .ft-topbar__sep,
  .ft-topbar__acc-label,
  .ft-page .acc-launcher {
    display: none;
  }
  body.ft-page {
    padding-bottom: 56px;
  }
  .ft-topbar__group {
    gap: 16px;
  }
  .ft-header__inner {
    gap: 12px;
  }
  .ft-logo img {
    height: 46px;
  }
  .ft-header__actions {
    gap: 8px;
  }
  .ft-icon-btn {
    width: 44px;
    height: 44px;
  }
  .ft-search__form {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .ft-search__form .ft-btn {
    padding: 0 16px;
  }
  .ft-hero__actions .ft-btn {
    flex: 1 1 auto;
  }
  /* loghi garanzie e certificati: 3 per riga */
  .ft-trust__group,
  .ft-trust__group--iso {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    gap: 16px 12px;
  }
  .ft-trust__group img {
    width: 64px;
    height: 64px;
  }
  .ft-trust__group--iso img {
    width: 84px;
    height: 84px;
  }
  .ft-footer__badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    gap: 12px;
  }
  .ft-footer__badges img {
    width: 64px;
  }
  .ft-footer__iso img {
    max-width: 96px;
    margin: 0 auto;
  }
  .ft-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .ft-section__head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
  }
  .ft-grid-products,
  .ft-grid-news,
  .ft-certs__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ft-card__media {
    height: 200px;
  }
  .ft-certs__inner {
    padding-top: 56px;
    padding-bottom: 56px;
    gap: 36px;
  }
  .ft-cert {
    padding: 20px;
    gap: 16px;
  }
  .ft-cert__logo {
    width: 64px;
    height: 64px;
  }
  .ft-cert__logo img {
    width: 56px;
    height: 56px;
  }
  .ft-stats {
    gap: 32px;
  }
  .ft-stats dd {
    font-size: 38px;
  }
  .ft-section--contact {
    padding-top: 0;
    padding-inline-start: 0;
    padding-inline-end: 0;
  }
  .ft-contact {
    border-inline-start: 0;
    border-inline-end: 0;
  }
  .ft-contact__aside,
  .ft-contact__form {
    padding: 40px var(--ft-gutter);
  }
  .ft-form__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .ft-form__foot {
    flex-direction: column;
    align-items: stretch;
  }
  .ft-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-top: 48px;
    padding-bottom: 40px;
  }
  .ft-subfooter__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .ft-quick {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    gap: 0;
    background: #ffffff;
    border-top: 1px solid var(--ft-line);
    box-shadow: 0 -6px 18px rgba(11, 42, 77, .08);
  }
  .ft-page .ft-quick a {
    flex: 1;
    width: auto;
    height: 56px;
    gap: 8px;
    border: 0;
    border-inline-end: 1px solid var(--ft-line);
    box-shadow: none;
    font-size: 18px;
  }
  .ft-page .ft-quick a:last-child {
    border-inline-end: 0;
  }
  .ft-quick__label {
    display: inline;
    font-size: 14px;
    font-weight: 600;
  }
  /* sopra la barra fissa dei contatti (56px) e sopra il pulsante della chat */
  .ft-totop {
    right: 12px;
    bottom: 130px;
  }
  /* Tidio: contenitore fisso a tutto schermo (contenuto in shadow DOM) */
  .ft-page #tidio-chat {
    bottom: 56px !important;
    height: calc(100% - 56px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ft-page *,
  .ft-page *::before,
  .ft-page *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ==========================================================================
   Pagine interne
   ========================================================================== */

/* utilità usate dai JS esistenti */
.ft-page .d-none,
.ft-page .hidden {
  display: none !important;
}

/* ---------- intestazione pagina ---------- */
.ft-pagehead {
  background: var(--ft-stone);
  border-bottom: 1px solid var(--ft-line);
}
.ft-pagehead__inner {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-top: 40px;
  padding-bottom: 64px;
}
.ft-pagehead__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ft-pagehead__title {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
  max-width: 900px;
}
.ft-pagehead__lead {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ft-text-strong);
}
.ft-pagehead__lead p {
  margin: 0 0 12px;
}
.ft-pagehead__lead p:last-child {
  margin-bottom: 0;
}
.ft-pagehead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.ft-pagehead__media {
  width: 42%;
  max-width: 560px;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.ft-pagehead__media img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid var(--ft-line);
}

.ft-h1__sub {
  display: block;
  margin-top: 8px;
  font-size: .5em;
  line-height: 1.25;
  color: var(--ft-text-strong);
}

/* breadcrumb */
.ft-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ft-muted);
}
.ft-breadcrumb li {
  display: inline-flex;
  align-items: center;
}
.ft-breadcrumb li + li::before {
  content: "/";
  margin: 0 10px;
  color: var(--ft-line-2);
}
.ft-page .ft-breadcrumb a {
  color: var(--ft-muted);
}
.ft-page .ft-breadcrumb a:hover {
  color: var(--ft-blue);
}
.ft-breadcrumb [aria-current] {
  color: var(--ft-ink);
  font-weight: 500;
}

/* ---------- layout con barra laterale ---------- */
.ft-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
}
.ft-layout--left {
  grid-template-columns: 300px minmax(0, 1fr);
}
.ft-layout--half {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ft-aside {
  position: sticky;
  top: calc(var(--ft-header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ft-aside__box {
  border: 1px solid var(--ft-line);
  background: #ffffff;
  padding: 24px;
}
.ft-aside__box--dark {
  border-color: var(--ft-blue);
  background: var(--ft-blue);
  color: #ffffff;
}
.ft-aside__title {
  margin: 0 0 16px;
  font-family: var(--ft-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ft-navy);
}
.ft-aside__box--dark .ft-aside__title {
  color: var(--ft-on-dark);
}
.ft-aside__box--dark p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ft-on-dark-3);
}
.ft-aside__box--dark .ft-h3 {
  margin-bottom: 10px;
  color: #ffffff;
}
.ft-navlist,
.ft-navlist ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-navlist > li + li {
  border-top: 1px solid var(--ft-line);
}
.ft-page .ft-navlist a {
  display: block;
  padding: 10px 0;
  color: var(--ft-ink);
  font-size: 15px;
  line-height: 1.4;
}
.ft-page .ft-navlist a:hover,
.ft-page .ft-navlist a[aria-current="page"] {
  color: var(--ft-blue);
}
.ft-page .ft-navlist a[aria-current="page"] {
  font-weight: 600;
}
.ft-navlist ul {
  padding: 0 0 10px 14px;
  border-inline-start: 2px solid var(--ft-line);
  margin-inline-start: 2px;
}
.ft-page .ft-navlist ul a {
  padding: 6px 0;
  font-size: 14px;
  color: var(--ft-text);
}
.ft-navlist__group {
  display: block;
  padding: 8px 0 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ft-muted-2);
}
.ft-minilist {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-page .ft-minilist a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ft-ink);
}
.ft-minilist__title {
  font-family: var(--ft-serif);
  font-size: 17px;
  line-height: 1.3;
  color: var(--ft-navy);
}
.ft-page .ft-minilist a:hover .ft-minilist__title {
  color: var(--ft-blue);
}
.ft-minilist time {
  font-size: 12px;
  color: var(--ft-muted-2);
}

/* ---------- testo formattato (contenuti da backend) ---------- */
.ft-prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ft-text-strong);
  overflow-wrap: break-word;
}
.ft-prose > :first-child {
  margin-top: 0;
}
.ft-prose > :last-child {
  margin-bottom: 0;
}
.ft-prose p,
.ft-prose ul,
.ft-prose ol,
.ft-prose table,
.ft-prose blockquote,
.ft-prose figure {
  margin: 0 0 20px;
}
.ft-prose h1,
.ft-prose h2,
.ft-prose h3,
.ft-prose h4,
.ft-prose h5,
.ft-prose h6 {
  margin: 36px 0 14px;
  font-family: var(--ft-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ft-navy);
  text-transform: none;
}
.ft-prose h1,
.ft-prose h2 {
  font-size: 30px;
}
.ft-prose h3 {
  font-size: 24px;
}
.ft-prose h4,
.ft-prose h5,
.ft-prose h6 {
  font-size: 20px;
}
.ft-prose ul,
.ft-prose ol {
  padding-inline-start: 22px;
}
.ft-prose ul {
  list-style: none;
}
.ft-prose ul > li {
  position: relative;
}
.ft-prose ul > li::before {
  content: "";
  position: absolute;
  inset-inline-start: -18px;
  top: .72em;
  width: 7px;
  height: 7px;
  background: var(--ft-red);
}
.ft-prose ol {
  list-style: decimal;
}
.ft-prose li + li {
  margin-top: 6px;
}
.ft-prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ft-prose strong,
.ft-prose b {
  font-weight: 600;
  color: var(--ft-ink);
}
.ft-prose img {
  max-width: 100%;
  height: auto !important;
}
.ft-prose iframe,
.ft-prose video {
  max-width: 100%;
}
.ft-prose table {
  width: 100% !important;
  border-collapse: collapse;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}
.ft-prose th,
.ft-prose td {
  padding: 10px 12px;
  border: 1px solid var(--ft-line);
  text-align: start;
  vertical-align: top;
}
.ft-prose th,
.ft-prose thead td {
  background: var(--ft-stone);
  font-weight: 600;
  color: var(--ft-ink);
}
.ft-prose blockquote {
  padding: 4px 0 4px 20px;
  border-inline-start: 3px solid var(--ft-red);
  font-family: var(--ft-serif);
  font-size: 20px;
  color: var(--ft-navy);
}
/* i testi incollati dal vecchio editor spesso hanno font e colori inline */
.ft-prose [style*="font-family"] {
  font-family: inherit !important;
}

/* ---------- blocchi contenuto prodotto ---------- */
.ft-blocks {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.ft-block--boxed {
  padding: 32px;
}
.ft-block__figure {
  margin: 0 0 24px;
}
.ft-block__figure img {
  display: block;
  max-width: 100%;
  height: auto;
}
.ft-gallery {
  display: grid;
  grid-template-columns: repeat(var(--ft-cols, 3), minmax(0, 1fr));
  gap: 12px;
}
.ft-page .ft-gallery a {
  display: block;
  overflow: hidden;
  background: var(--ft-stone);
  aspect-ratio: 4 / 3;
}
.ft-gallery--one a {
  aspect-ratio: auto;
}
.ft-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ft-ease);
}
.ft-gallery a:hover img {
  transform: scale(1.04);
}
/* Swiper 4: regole strutturali minime (il CSS del vecchio template non e piu caricato) */
.swiper-container {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.swiper-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  box-sizing: content-box;
  transition-property: transform;
  transform: translate3d(0, 0, 0);
}
.swiper-slide {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  transition-property: transform;
}
.swiper-button-disabled {
  opacity: .35;
  pointer-events: none;
}

/* slider classico della gallery prodotto */
.ft-slider__stage {
  position: relative;
  background: var(--ft-stone);
  border: 1px solid var(--ft-line);
}
.ft-slider .swiper-slide {
  aspect-ratio: 16 / 10;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ft-page .ft-slider .swiper-slide a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.ft-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ft-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .92);
  color: var(--ft-blue);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(11, 42, 77, .15);
  transition: background-color .2s var(--ft-ease), color .2s var(--ft-ease), opacity .2s;
}
.ft-slider__arrow:hover {
  background: var(--ft-blue);
  color: #ffffff;
}
.ft-slider__arrow .ft-icon {
  stroke-width: 2;
}
.ft-slider__arrow--prev {
  inset-inline-start: 16px;
}
.ft-slider__arrow--next {
  inset-inline-end: 16px;
}
.ft-slider__counter {
  position: absolute;
  bottom: 14px;
  inset-inline-end: 16px;
  z-index: 2;
  padding: 4px 10px;
  background: rgba(11, 42, 77, .82);
  color: #ffffff;
  font-family: var(--ft-mono);
  font-size: 12px;
}
.ft-slider__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ft-slider__thumbs::-webkit-scrollbar {
  display: none;
}
.ft-slider__thumb {
  flex: 0 0 auto;
  width: 88px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  background: var(--ft-stone);
  cursor: pointer;
  opacity: .6;
  transition: opacity .2s var(--ft-ease), border-color .2s var(--ft-ease);
}
.ft-slider__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ft-slider__thumb:hover,
.ft-slider__thumb.is-active {
  opacity: 1;
}
.ft-slider__thumb.is-active {
  border-color: var(--ft-red);
}
.ft-gallery-single img {
  width: 100%;
  border: 1px solid var(--ft-line);
}
.ft-videos {
  display: grid;
  grid-template-columns: repeat(var(--ft-cols, 1), minmax(0, 1fr));
  gap: 16px;
}
.ft-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ft-navy);
}
.ft-video iframe,
.ft-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ft-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 28px;
  background: var(--ft-stone);
  border: 1px solid var(--ft-line);
  align-items: center;
}
.ft-downloads__label {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ft-serif);
  font-size: 20px;
  color: var(--ft-navy);
}
.ft-downloads__label .ft-icon {
  font-size: 28px;
  color: var(--ft-red);
}

/* ---------- liste e griglie ---------- */
.ft-group + .ft-group {
  margin-top: 64px;
}
.ft-group__title {
  margin: 0 0 24px;
  font-family: var(--ft-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--ft-navy);
}
.ft-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-grid-3 > li,
.ft-grid-4 > li {
  display: flex;
}
.ft-grid-3 > li > *,
.ft-grid-4 > li > * {
  flex: 1;
}
.ft-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-grid-news--page {
  row-gap: 56px;
}
.ft-news-card-wrap {
  height: 100%;
}

/* card informative (servizi, certificati, normative) */
.ft-tile {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--ft-line);
  background: #ffffff;
  color: var(--ft-ink);
  box-sizing: border-box;
  transition: border-color .2s var(--ft-ease), box-shadow .2s var(--ft-ease), transform .2s var(--ft-ease);
}
.ft-page a.ft-tile:hover {
  color: var(--ft-ink);
  border-color: var(--ft-line-2);
  box-shadow: 0 14px 34px rgba(11, 42, 77, .10);
  transform: translateY(-2px);
}
.ft-tile__media {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--ft-line);
  box-sizing: border-box;
  flex-shrink: 0;
}
.ft-tile__media img {
  max-width: 76px;
  max-height: 76px;
  object-fit: contain;
  display: block;
}
.ft-tile__media--wide {
  width: 100%;
  height: 160px;
  border: 0;
  background: var(--ft-stone);
}
.ft-tile__media--wide img {
  max-width: 80%;
  max-height: 120px;
}
.ft-tile__label {
  font-family: var(--ft-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ft-muted-2);
  text-transform: uppercase;
}
.ft-tile__title {
  margin: 0;
  font-family: var(--ft-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ft-navy);
}
.ft-tile__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--ft-line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ft-blue);
}
.ft-tile__foot .ft-icon {
  font-size: 15px;
  stroke-width: 2;
}
.ft-page a.ft-tile:hover .ft-tile__foot {
  color: var(--ft-red);
}

/* chi siamo: storia e video */
.ft-story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: center;
}
.ft-story__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ft-story__video {
  margin: 0;
}
.ft-story__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ft-text);
}
.ft-story__duration {
  flex-shrink: 0;
  font-family: var(--ft-mono);
  font-size: 12px;
  color: var(--ft-muted-2);
}
.ft-video-facade {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ft-navy);
  cursor: pointer;
}
.ft-video-facade img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ft-ease), opacity .3s;
}
.ft-video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 42, 77, 0) 40%, rgba(11, 42, 77, .45) 100%);
  pointer-events: none;
}
.ft-video-facade:hover img {
  transform: scale(1.03);
}
.ft-video-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ft-red);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transition: transform .2s var(--ft-ease), background-color .2s var(--ft-ease);
}
.ft-video-facade__play svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
}
.ft-video-facade:hover .ft-video-facade__play {
  transform: scale(1.08);
}
.ft-video-facade.is-playing::after,
.ft-video-facade.is-playing .ft-video-facade__play {
  display: none;
}
/* video nella sezione azienda della home: riempie tutta la colonna */
.ft-about__media.ft-video-facade {
  aspect-ratio: auto;
}
.ft-about__media.ft-video-facade img {
  position: absolute;
  inset: 0;
}
@media (max-width: 991px) {
  .ft-about__media.ft-video-facade {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}
.ft-video-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* chi siamo: numeri */
.ft-figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}
.ft-figures > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 44px 32px 44px 0;
}
.ft-figures > div + div {
  padding-inline-start: 32px;
  border-inline-start: 1px solid rgba(255, 255, 255, .14);
}
.ft-figures dd {
  margin: 0;
  font-family: var(--ft-serif);
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
  color: #ffffff;
}
.ft-figures dt {
  font-size: 15px;
  line-height: 1.4;
  color: var(--ft-on-dark);
}

/* chi siamo: punti di forza */
.ft-strengths {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-strength {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 2px solid var(--ft-navy);
}
.ft-strength__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ft-tint);
  color: var(--ft-blue);
  font-size: 22px;
}
.ft-strength__title {
  margin: 0;
  font-family: var(--ft-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ft-navy);
}
.ft-strength__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ft-text);
}
@media (max-width: 1180px) {
  .ft-strengths {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .ft-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .ft-figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ft-figures > div,
  .ft-figures > div + div {
    padding: 28px 16px 28px 0;
    border-inline-start: 0;
  }
  .ft-figures > div:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, .14);
  }
  .ft-strengths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .ft-figures dd {
    font-size: 40px;
  }
  .ft-strengths {
    grid-template-columns: minmax(0, 1fr);
  }
  .ft-video-facade__play {
    width: 68px;
    height: 68px;
    margin: -34px 0 0 -34px;
  }
}

/* servizi: fasi di lavoro */
.ft-steps {
  background: var(--ft-navy);
  color: #ffffff;
}
.ft-steps__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-steps__item {
  display: flex;
  gap: 20px;
  padding: 44px 40px 44px 0;
}
.ft-steps__item + .ft-steps__item {
  padding-inline-start: 40px;
  border-inline-start: 1px solid rgba(255, 255, 255, .14);
}
.ft-steps__number {
  flex-shrink: 0;
  font-family: var(--ft-serif);
  font-size: 56px;
  font-weight: 500;
  line-height: .9;
  color: var(--ft-red);
}
.ft-steps__title {
  margin: 0 0 8px;
  font-family: var(--ft-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: #ffffff;
}
.ft-steps__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ft-on-dark);
}

/* servizi: card */
.ft-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-service {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ft-line);
  background: #ffffff;
  transition: border-color .2s var(--ft-ease), box-shadow .2s var(--ft-ease);
}
.ft-service::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -1px;
  width: 0;
  height: 3px;
  background: var(--ft-red);
  transition: width .3s var(--ft-ease);
}
.ft-service:hover {
  border-color: var(--ft-line-2);
  box-shadow: 0 14px 34px rgba(11, 42, 77, .10);
}
.ft-service:hover::after {
  width: 100%;
}
.ft-service__media {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ft-stone);
}
.ft-service__media img {
  display: block;
  width: auto;
  height: 122px;
  mix-blend-mode: multiply;
  max-width: 80%;
  object-fit: contain;
  transition: transform .4s var(--ft-ease);
}
.ft-service:hover .ft-service__media img {
  transform: scale(1.05);
}
.ft-service__title {
  margin: 0;
  padding: 24px 28px 28px;
  font-family: var(--ft-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ft-navy);
}
@media (max-width: 991px) {
  .ft-steps__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .ft-steps__item,
  .ft-steps__item + .ft-steps__item {
    padding: 28px 0;
    border-inline-start: 0;
  }
  .ft-steps__item + .ft-steps__item {
    border-top: 1px solid rgba(255, 255, 255, .14);
  }
  .ft-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .ft-services {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .ft-service {
    flex-direction: row;
    align-items: center;
  }
  .ft-service__media {
    width: 112px;
    height: 96px;
    flex-shrink: 0;
  }
  .ft-service__media img {
    height: 76px;
    max-width: 90%;
  }
  .ft-service__title {
    padding: 12px 16px;
    font-size: 17px;
  }
  .ft-steps__number {
    font-size: 44px;
  }
}

/* nota / avviso */
.ft-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 40px;
  padding: 18px 20px;
  border-inline-start: 3px solid var(--ft-blue);
  background: var(--ft-tint);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ft-text-strong);
}
.ft-note .ft-icon {
  font-size: 20px;
  margin-top: 1px;
  color: var(--ft-blue);
}

/* elenco a "chip" */
.ft-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-chips li,
.ft-page .ft-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--ft-line-2);
  background: #ffffff;
  color: var(--ft-ink);
  font-size: 14px;
  line-height: 1.2;
}
.ft-chips li:has(a) {
  padding: 0;
  border: 0;
  background: none;
}
.ft-page .ft-chips a:hover {
  border-color: var(--ft-blue);
  color: var(--ft-blue);
}
.ft-chips .ft-icon {
  font-size: 15px;
  color: var(--ft-red);
}

.ft-filters {
  margin-bottom: 40px;
}
.ft-page .ft-chips a[aria-current="page"] {
  border-color: var(--ft-blue);
  background: var(--ft-blue);
  color: #ffffff;
}
@media (max-width: 767px) {
  .ft-filters .ft-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline-end: calc(-1 * var(--ft-gutter));
    padding-inline-end: var(--ft-gutter);
    scrollbar-width: none;
  }
  .ft-filters .ft-chips::-webkit-scrollbar {
    display: none;
  }
  .ft-filters .ft-chips a {
    white-space: nowrap;
  }
}
.ft-chips__count {
  font-family: var(--ft-mono);
  font-size: 12px;
  opacity: .7;
}

/* fascia call to action */
.ft-cta-band {
  position: relative;
  background: var(--ft-navy);
  color: #ffffff;
}
.ft-cta-band::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--ft-red);
}
.ft-cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.ft-cta-band__text {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ft-cta-band__text .ft-h2 {
  color: #ffffff;
  font-size: clamp(26px, 2.6vw, 36px);
}
.ft-cta-band__text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ft-on-dark);
}
.ft-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}
.ft-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .5);
  color: #ffffff !important;
}
.ft-btn--ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #ffffff;
}

/* paginazione (server e ajax) */
.ft-pagination,
.ft-page .list-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.ft-pagination ol {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ft-pagination a,
.ft-pagination span,
.ft-page .list-pagination .page-link,
.ft-page .list-pagination .page-number {
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ft-line-2);
  background: #ffffff;
  color: var(--ft-ink);
  font-size: 15px;
  font-weight: 500;
  box-sizing: border-box;
  cursor: pointer;
}
.ft-page .ft-pagination a:hover,
.ft-page .list-pagination .page-link:hover,
.ft-page .list-pagination .page-number:hover {
  border-color: var(--ft-blue);
  color: var(--ft-blue);
}
.ft-pagination [aria-current],
.ft-page .list-pagination .page-number.active {
  border-color: var(--ft-blue);
  background: var(--ft-blue);
  color: #ffffff;
}
.ft-pagination .ft-pagination__gap {
  border: 0;
  min-width: 20px;
  color: var(--ft-muted-2);
}
.ft-page .list-pagination .page-item-numbers {
  display: flex;
  gap: 8px;
}
.ft-pagination .ft-icon {
  font-size: 16px;
  stroke-width: 2;
}
.ft-icon--flip {
  transform: scaleX(-1);
}

/* mappa */
.ft-map {
  height: 560px;
  background: var(--ft-stone);
  border: 1px solid var(--ft-line);
}
.ft-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* pagine messaggio (grazie, 404) */
.ft-message {
  max-width: 680px;
  margin: 0 auto;
  padding: 96px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.ft-message__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ft-tint);
  color: var(--ft-blue);
  font-size: 34px;
}
.ft-message__code {
  font-family: var(--ft-mono);
  font-size: 14px;
  letter-spacing: .2em;
  color: var(--ft-red);
}
.ft-message p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ft-text-strong);
}
.ft-message__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

/* ricerca */
.ft-searchbar {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px auto;
  gap: 12px;
  max-width: 860px;
}
.ft-page .ft-searchbar input,
.ft-page .ft-searchbar select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--ft-input);
  border-radius: 0;
  background-color: #ffffff;
  color: var(--ft-ink);
  font-family: var(--ft-sans);
  font-size: 16px;
  box-sizing: border-box;
}
.ft-page .ft-searchbar select {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F427A' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
.ft-searchbar .ft-btn {
  min-height: 52px;
}
.ft-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 24px;
}
.ft-results:empty {
  display: none;
}
.ft-results > p,
.ft-results > .ft-empty {
  grid-column: 1 / -1;
}
.ft-empty {
  padding: 40px;
  border: 1px dashed var(--ft-line-2);
  text-align: center;
  color: var(--ft-text);
}

/* evento */
.ft-event__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ft-line);
}

/* form password categoria riservata */
.ft-lockbox {
  max-width: 560px;
  padding: 36px;
  border: 1px solid var(--ft-line);
  background: #ffffff;
}
.ft-lockbox p {
  margin: 0 0 20px;
  color: var(--ft-text-strong);
}
.ft-lockbox__row {
  display: flex;
  gap: 12px;
}
.ft-page .ft-lockbox input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--ft-input);
  border-radius: 0;
  font-family: var(--ft-sans);
  font-size: 15px;
  box-sizing: border-box;
}
.ft-page .ft-lockbox .alert {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 0;
  border-inline-start: 3px solid var(--ft-red);
  border-radius: 0;
  background: #FDECEC;
  font-size: 14px;
}
.ft-page .ft-lockbox .alert .alert-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}
.ft-page .ft-lockbox .alert .alert-message {
  margin: 0;
}
.ft-page .ft-lockbox .alert .btn-close {
  display: none;
}

/* card con foto prodotto intera (scontornate su bianco) */
.ft-card__media--contain {
  background: #ffffff;
  border-bottom: 1px solid var(--ft-line);
}
.ft-card__media--contain img {
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
}
.ft-lockbox__title {
  margin-bottom: 12px;
}
.ft-section-title {
  margin: 14px 0 28px;
}

.ft-aside__box--dark .ft-aside__phone {
  margin: 16px 0 0;
}
.ft-page .ft-aside__box--dark .ft-aside__phone a {
  color: #ffffff;
  font-weight: 600;
}
.ft-aside__box--dark .ft-btn {
  width: 100%;
}
.ft-section--contact-top {
  padding-top: 96px;
}
@media (max-width: 767px) {
  .ft-section--contact-top {
    padding-top: 56px;
  }
}

/* articolo news */
.ft-article {
  min-width: 0;
}
.ft-article__cover img {
  width: 100%;
  border: 1px solid var(--ft-line);
}
.ft-article__foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ft-line);
}

.ft-intro {
  max-width: 860px;
  margin-bottom: 48px;
}
.ft-map + .ft-group {
  margin-top: 56px;
}

/* sezioni con sfondo */
.ft-section--stone {
  background: var(--ft-stone);
}
.ft-section--tight {
  padding-top: 72px;
  padding-bottom: 72px;
}

@media (max-width: 1180px) {
  .ft-layout,
  .ft-layout--left,
  .ft-layout--half {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .ft-aside {
    position: static;
  }
  .ft-layout--left .ft-aside {
    order: 2;
  }
  .ft-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .ft-pagehead__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding-top: 28px;
    padding-bottom: 48px;
  }
  .ft-pagehead__media {
    width: auto;
    max-width: none;
  }
  .ft-grid-3,
  .ft-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ft-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ft-cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .ft-map {
    height: 440px;
  }
}

@media (max-width: 767px) {
  .ft-pagehead__lead {
    font-size: 16px;
  }
  .ft-pagehead__media img {
    max-height: 300px;
    object-fit: contain;
  }
  .ft-pagehead__actions .ft-btn {
    flex: 1 1 auto;
  }
  .ft-grid-3,
  .ft-grid-4,
  .ft-results {
    grid-template-columns: minmax(0, 1fr);
  }
  .ft-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ft-gallery--one {
    grid-template-columns: minmax(0, 1fr);
  }
  .ft-videos {
    grid-template-columns: minmax(0, 1fr);
  }
  .ft-slider .swiper-slide {
    aspect-ratio: 4 / 3;
  }
  .ft-slider__arrow {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }
  .ft-slider__thumb {
    width: 64px;
    height: 48px;
  }
  .ft-prose {
    font-size: 16px;
  }
  .ft-prose h1,
  .ft-prose h2 {
    font-size: 25px;
  }
  .ft-prose h3 {
    font-size: 21px;
  }
  .ft-block--boxed {
    padding: 20px !important;
  }
  .ft-searchbar {
    grid-template-columns: minmax(0, 1fr);
  }
  .ft-map {
    height: 360px;
  }
  .ft-message {
    padding: 64px 0;
  }
  .ft-lockbox {
    padding: 24px;
  }
  .ft-lockbox__row {
    flex-direction: column;
  }
  .ft-cta-band__actions,
  .ft-cta-band__actions .ft-btn {
    width: 100%;
  }
}

/* ==========================================================================
   Arabo (RTL)
   ========================================================================== */
[dir="rtl"] body {
  font-family: 'IBM Plex Sans Arabic', var(--ft-sans);
}
/* il letter-spacing spezza la legatura dei caratteri arabi */
[dir="rtl"] .ft-eyebrow,
[dir="rtl"] .ft-trust__label,
[dir="rtl"] .ft-footer__title,
[dir="rtl"] .ft-aside__title,
[dir="rtl"] .ft-contact__eyebrow,
[dir="rtl"] .ft-logo__claim,
[dir="rtl"] .ft-news-card__tag,
[dir="rtl"] .ft-mega__group,
[dir="rtl"] .ft-navlist__group,
[dir="rtl"] .ft-tile__label,
[dir="rtl"] .ft-hero__guide-label {
  letter-spacing: 0;
}
[dir="rtl"] .ft-page .ft-hero__guide {
  border-left: 0;
  border-right: 3px solid var(--ft-red);
}
[dir="rtl"] .ft-h1,
[dir="rtl"] .ft-h2,
[dir="rtl"] .ft-h3,
[dir="rtl"] .ft-prose h1,
[dir="rtl"] .ft-prose h2,
[dir="rtl"] .ft-prose h3 {
  letter-spacing: 0;
  line-height: 1.35;
}

/* frecce orientate nel verso di lettura */
[dir="rtl"] .ft-icon:has(use[href="#ft-i-arrow"]) {
  transform: scaleX(-1);
}
[dir="rtl"] .ft-icon--flip:has(use[href="#ft-i-arrow"]) {
  transform: none;
}
[dir="rtl"] .ft-btn:hover .ft-icon--arrow,
[dir="rtl"] .ft-link-arrow:hover .ft-icon,
[dir="rtl"] .ft-card:hover .ft-card__more .ft-icon {
  transform: scaleX(-1) translateX(3px);
}
[dir="rtl"] .ft-totop .ft-icon {
  transform: rotate(-90deg);
}
[dir="rtl"] .ft-arrow {
  display: inline-block;
  transform: scaleX(-1);
}

/* posizioni */
[dir="rtl"] .ft-lang__menu {
  right: auto;
  left: 0;
}
[dir="rtl"] .ft-dropdown {
  left: auto;
  right: -20px;
}
[dir="rtl"] .ft-drawer__panel {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}
[dir="rtl"] .ft-drawer.is-open .ft-drawer__panel {
  transform: none;
}
[dir="rtl"] .ft-hero__media::after {
  left: auto;
  right: 0;
  background: linear-gradient(270deg, #F3F4F1 0%, rgba(243, 244, 241, .85) 30%, rgba(243, 244, 241, 0) 100%);
}
[dir="rtl"] .ft-about__content {
  padding: 72px 80px 72px var(--ft-gutter);
}
[dir="rtl"] .ft-contact__aside::before {
  left: auto;
  right: 0;
}
[dir="rtl"] .ft-page .ft-field select,
[dir="rtl"] .ft-page .ft-searchbar select {
  background-position: left 14px center;
}
[dir="rtl"] .ft-quick {
  left: auto;
  right: 20px;
}
[dir="rtl"] .ft-totop {
  right: auto;
  left: 20px;
}
[dir="rtl"] .ft-page .acc-launcher {
  right: auto;
  left: 12px;
}
/* numeri di telefono ed email restano da sinistra a destra */
[dir="rtl"] a[href^="tel:"],
[dir="rtl"] a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: isolate;
}

@media (max-width: 991px) {
  [dir="rtl"] .ft-about__content {
    padding: 40px var(--ft-gutter) 56px;
  }
}
@media (max-width: 767px) {
  [dir="rtl"] .ft-quick {
    left: 0;
    right: 0;
  }
  [dir="rtl"] .ft-totop {
    left: 12px;
    right: auto;
  }
}

.iub__us-widget {
  display: none !important;
}
/* =======================================================================
   Pannello accessibilita (widget condiviso) e marker della mappa "Nel mondo"
   (ex accessibility.css, unito qui per avere un solo CSS bloccante)
   ======================================================================= */
/* Pannello accessibilità (widget condiviso) e marker della mappa "Nel mondo" */
/***** page mappa *****/
.map {
  height: 800px;
}
.IPAZAH-content-container.HJDHPx-interactive img {
  border-radius: 25px;
    border: 2px solid #e20813;
    width: 50px;
    height: 50px;
}
.yNHHyP-marker-view:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-top: 8px solid #e20813;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    bottom: -7px;
}
.yNHHyP-marker-view img {
  width: 30px !important;
}

/* #region accessibility */
:root{
      --acc-font-scale: 1;           /* 1, 1.25, 1.5, 1.75, 2 */
      --acc-line-height: normal;     /* normal, 1.3, 1.6, 2 */
      --acc-contrast-bg: initial;
      --acc-contrast-fg: initial;
      --acc-link-highlight: transparent;
      --acc-panel-width: 380px;
      --acc-z: 2147483000;           /* very high z-index */
    }

    /*html{ font-size: calc(16px * var(--acc-font-scale)); }
    body{ line-height: var(--acc-line-height); }*/

    /* Contrast themes */
    body.acc-contrast-dark{ background:#111 !important; color:#eee !important; }
    body.acc-contrast-soft{ background:#f6f6f6 !important; color:#333 !important; }
    body.acc-contrast-high{ background:#000 !important; color:#fff !important; }

    /* Readable font */
    body.acc-readable-font{ font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji" !important; letter-spacing: 0.02em; }

    /* Alignment (applies broadly; you can scope to your content wrapper instead) */
    body.acc-align-left{ text-align:left !important; }
    body.acc-align-right{ text-align:right !important; }

    /* Grayscale */
    body.acc-grayscale{ filter: grayscale(100%); }

    /* Hide images */
    body.acc-hide-images img, body.acc-hide-images picture, body.acc-hide-images video{ visibility:hidden !important; }

    /* Pause animations/transitions */
    body.acc-pause-anim *, body.acc-pause-anim *::before, body.acc-pause-anim *::after{
      animation: none !important; transition: none !important;
    }

    /* Highlight links */
    body.acc-highlight-links a{ outline: 2px dashed currentColor; background: #fffa; text-decoration: underline !important; }

    /* Focus ring */
    body.acc-strong-focus :focus-visible{ outline: 3px solid #ff0 !important; outline-offset: 3px; box-shadow: 0 0 0 4px #0008; }

    /* Reading mask */
    .acc-reading-mask{ position: fixed; inset: 0; pointer-events: none; z-index: calc(var(--acc-z) - 1); display:none; }
    .acc-reading-mask::before{ content:""; position:absolute; inset:0; background: linear-gradient(#000b, #000b) top/100% var(--mask-top, 40% ) no-repeat,
                                                                    linear-gradient(#000b, #000b) bottom/100% var(--mask-bottom, 40%) no-repeat; }
    body.acc-reading-mask-on .acc-reading-mask{ display:block; }

    /* Launcher button */
    .acc-launcher{ position: fixed; right: 12px; top: 50%; transform: translateY(-50%); z-index: var(--acc-z); }
    .acc-launcher button{ all:unset; display:flex; align-items:center; justify-content:center; width:56px; height:56px; border-radius: 14px; background:#b5181c; color:#fff; cursor:pointer; box-shadow: 0 6px 18px #0005; }
    .acc-launcher button:focus-visible{ outline:3px solid #fff; outline-offset:3px; }
    .acc-icon{ width: 26px; height: 26px; display:block; }
    .acc-launcher i { font-size: 22px; }

    /* Panel */
    .acc-panel{ position: fixed; right: -100%; top: 0; height: 100dvh; width: min(100%, var(--acc-panel-width)); background: #fff; color:#111; z-index: var(--acc-z); box-shadow: -8px 0 24px #0005; transition: right .25s ease; display:flex; flex-direction: column; }
    .acc-panel.open{ right: 0; }
    .acc-panel-header{ display:flex; align-items:center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #e5e7eb; }
    .acc-panel-title{ font-size: 18px; font-weight: 700; }
    .acc-close{ all:unset; cursor:pointer; padding:8px; border-radius: 10px; }
    .acc-close:focus-visible{ outline:2px solid; }

    .acc-panel-body{ padding: 14px; overflow:auto; }
    .acc-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    @media (max-width: 480px){ .acc-grid{ grid-template-columns: 1fr; } }

    .acc-btn{ display:flex; align-items:center; gap:9px; border:1px solid #e5e7eb; border-radius: 12px; padding:10px; cursor:pointer; background:#fafafa; min-height:46px; }
    .acc-btn[aria-pressed="true"]{ border-color:#111; box-shadow: 0 0 0 2px #111 inset; background:#fff; }
    .acc-btn .acc-btn-title{ font-weight:600; font-size: 14px; }
    .acc-btn .acc-btn-sub{ font-size: 12px; opacity:.7; }
    .acc-btn .acc-btn-icon{ width:20px; height:20px; }

    .acc-section{ margin: 10px 0 4px; font-weight:700; font-size:12px; text-transform: uppercase; color:#666; letter-spacing:.06em; }

    .acc-controls{ display:flex; gap:8px; flex-wrap: wrap; }
    .acc-pill{ display:inline-flex; border:1px solid #ddd; border-radius:999px; padding:4px 10px; font-size:12px; cursor:pointer; background:#fff; }

    .acc-footer{ padding: 12px 14px; border-top:1px solid #e5e7eb; display:flex; gap:8px; flex-wrap:wrap; }
    .acc-reset{ all:unset; background:#ef4444; color:#fff; padding:10px 12px; border-radius:12px; font-weight:700; cursor:pointer; }

    /* Outline section */
    .acc-outline{ margin-top: 12px; border-top:1px solid #eee; padding-top: 12px; }
    .acc-outline-list{ line-height:1.4; font-size:13px; max-height: 220px; overflow:auto; padding-right:6px; }
    .acc-outline-list li{ margin: 4px 0; }
    .acc-outline-list a{ color: inherit; text-decoration: underline; }

    /* Optional demo content styling */
    /*.demo-wrap{ max-width: 900px; margin: 0 auto; padding: 40px 16px; }
    .demo-wrap h1{ font-size: 2rem; margin:.5em 0; }
    .demo-wrap p{ margin: .75em 0; }*/
/* #endregion */
