/* ==========================================================================
   TINTORIA MANIFATTURA BARBARA S.P.A.
   EDITORIAL LOGISTICS & INDUSTRIAL DESIGN SYSTEM (FREIGHT REFERENCE STYLE)
   ========================================================================== */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, Menlo, monospace;

  --c-white: #ffffff;
  --c-bg-light: #f8fafc;
  --c-border: #e2e8f0;
  --c-border-subtle: #edf2f7;
  
  --c-black: #0d1117;
  --c-black-pure: #000000;
  --c-navy-dark: #090d14;
  
  --c-text-main: #11141a;
  --c-text-muted: #5e6674;
  --c-text-light: #94a3b8;

  /* Accent Green dal nuovo orientamento: un verde spento, profondo, sofisticato ed elegante */
  --c-accent-green: #34483b;
  --c-accent-green-dim: rgba(255, 255, 255, 0.65);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background-color: var(--c-white);
  color: var(--c-text-main);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: var(--c-white);
  overflow-x: clip;
}

body.mobile-menu-open {
  overflow: hidden;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* ==========================================================================
   1. HERO SECTION (FULL BLEED DARK WITH VIDEO / PHOTO - STILE FREIGHT)
   ========================================================================== */
.hero-freight {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--c-black);
  color: var(--c-white);
  overflow: hidden;
}

/* Video o Immagine di Sfondo Full-Bleed */
.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Overlay Cinematografico Scuro */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(9, 13, 20, 0.65) 0%,
    rgba(9, 13, 20, 0.4) 40%,
    rgba(9, 13, 20, 0.88) 100%
  );
  z-index: 2;
}

/* Header Fisso In Cima (Sticky / Fixed Navigation) */
.hero-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  padding: 30px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0);
  transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              backdrop-filter 0.3s ease,
              -webkit-backdrop-filter 0.3s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

/* Stato Scrolled: Barra BIANCA satinata ad alto contrasto (richiesta utente) */
.hero-header.is-scrolled {
  padding: 14px clamp(20px, 4vw, 56px);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-header.is-scrolled .hero-logo-img {
  filter: none !important; /* Mostra il logo scuro originale ad alto contrasto */
}

.hero-header.is-scrolled .hero-nav a {
  color: #111418 !important;
}

.hero-header.is-scrolled .hero-nav a:hover {
  color: var(--c-accent-green, #34483b) !important;
}

.hero-header.is-scrolled .hero-nav a.active {
  color: #111418 !important;
  font-weight: 600;
}

.hero-header.is-scrolled .hero-nav a.active::after {
  background: #111418 !important;
}

.hero-header.is-scrolled .lang-switch {
  color: #64748b !important;
}

.hero-header.is-scrolled .lang-switch a {
  color: #64748b !important;
}

.hero-header.is-scrolled .lang-switch a:hover,
.hero-header.is-scrolled .lang-switch a.active {
  color: #111418 !important;
  font-weight: 700;
}

.hero-header.is-scrolled .header-contact-link {
  color: #111418 !important;
  font-weight: 600;
}

.hero-header.is-scrolled .header-contact-link:hover {
  color: var(--c-accent-green, #34483b) !important;
}

.hero-header.is-scrolled .header-contact-link .header-arrow {
  color: #111418 !important;
}

.hero-header.is-scrolled .freight-menu-trigger .trigger-bar {
  background-color: #111418 !important;
}

/* Animazione CSS nativa su scroll (supporto browser moderni) */
@supports (animation-timeline: scroll()) {
  @keyframes header-scroll-bg {
    to {
      padding-top: 14px;
      padding-bottom: 14px;
      background-color: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
      border-bottom-color: rgba(0, 0, 0, 0.08);
    }
  }

  .hero-header {
    animation: header-scroll-bg linear both;
    animation-timeline: scroll();
    animation-range: 0 60px;
  }
}

.hero-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-logo-img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1); /* Logo bianco puro su fondo scuro */
}

/* Navigazione Orizzontale Minimalista, Uniforme & Lineare */
.hero-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 28px);
}

.hero-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
  text-decoration: none;
}

.hero-nav a:hover,
.hero-nav a.active {
  color: #ffffff;
}

.hero-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: #ffffff;
}

/* Header Right: Lingua e Contatti Lineare Senza Bordo */
.hero-header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.lang-switch a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: #ffffff;
}

.header-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  padding: 6px 0;
  transition: var(--transition);
  letter-spacing: -0.01em;
}

.header-contact-link .header-arrow {
  font-size: 0.95rem;
  transition: transform 0.25s ease;
  display: inline-block;
  line-height: 1;
}

.header-contact-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.header-contact-link:hover .header-arrow {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   FREIGHT SIGNATURE NAVIGATION (DUAL: MENU DESKTOP + 3 TRATTINI MOBILE & OVERLAY)
   ========================================================================== */
/* Su Desktop (> 1180px): Mostra la barra orizzontale classica, nasconde i 3 trattini */
@media (min-width: 1181px) {
  .hero-nav {
    display: flex !important;
    align-items: center;
    gap: clamp(14px, 1.6vw, 28px);
  }
  .freight-menu-trigger {
    display: none !important;
  }
}

/* Su Tablet e Mobile (<= 1180px): Nasconde la barra orizzontale e mostra i 3 trattini Freight */
@media (max-width: 1180px) {
  .hero-nav {
    display: none !important;
  }
  .freight-menu-trigger {
    display: flex !important;
  }
}

.freight-menu-trigger {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 48px;
  height: 48px;
  display: none; /* controllato dai media query sopra */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 10002;
  border-radius: 8px;
  transition: all 0.25s ease;
  touch-action: manipulation;
}

.freight-menu-trigger .trigger-bar {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.25s ease;
  transform-origin: center;
}

.freight-menu-trigger:hover .trigger-bar {
  opacity: 0.85;
}

/* Tasto Chiudi 'X' in alto a destra nell'Overlay a schermo intero (richiesta utente) */
.overlay-close-btn {
  position: fixed;
  top: 24px;
  right: clamp(20px, 4vw, 56px);
  z-index: 10003;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 20, 24, 0.06);
  border: 1px solid rgba(17, 20, 24, 0.12);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: #111418;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: manipulation;
}

.overlay-close-btn:hover {
  background: #111418;
  color: #ffffff;
  border-color: #111418;
  transform: translateY(-1px);
}

.overlay-close-btn .close-x-icon {
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 700;
  display: inline-block;
}

@media (max-width: 768px) {
  .overlay-close-btn {
    top: 14px;
    right: 16px;
    padding: 6px 14px;
    font-size: 0.78rem;
  }
}

/* Quando il menu a schermo intero è aperto (Overlay bianco stile Screenshot 1) */
body.menu-overlay-open {
  overflow: hidden !important;
}

body.menu-overlay-open .freight-menu-trigger .trigger-bar {
  background-color: #111418 !important;
}

body.menu-overlay-open .freight-menu-trigger .trigger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-overlay-open .freight-menu-trigger .trigger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.menu-overlay-open .freight-menu-trigger .trigger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.menu-overlay-open .hero-logo-img {
  filter: none !important;
}

body.menu-overlay-open .header-contact-link,
body.menu-overlay-open .lang-switch,
body.menu-overlay-open .lang-switch a {
  color: #111418 !important;
}

body.menu-overlay-open .hero-header {
  background-color: transparent !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
}

/* Overlay Contenitore a Schermo Intero (Screenshot 1) */
.freight-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: #ffffff;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.freight-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay-content {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 130px clamp(24px, 5vw, 64px) 60px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.menu-overlay-group {
  margin-bottom: 36px;
}

.menu-group-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #64748b;
  margin-bottom: 24px;
}

.menu-overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-nav-item {
  font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #111418;
  text-decoration: none;
  display: inline-block;
  width: fit-content;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.menu-nav-item:hover {
  color: var(--c-accent-green, #34483b);
  transform: translateX(8px);
}

.menu-nav-item.active {
  color: var(--c-accent-green, #34483b);
}

.menu-group-contact {
  margin-top: 10px;
  padding-top: 36px;
  border-top: 1px solid #e2e8f0;
}

.menu-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.menu-btn-black {
  background: #111418;
  color: #ffffff;
  padding: 16px 30px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.menu-btn-black:hover {
  background: #000000;
  transform: translateY(-2px);
}

.menu-btn-green {
  background: var(--c-accent-green, #34483b);
  color: #ffffff;
  padding: 16px 30px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.menu-btn-green:hover {
  background: #27372d;
  transform: translateY(-2px);
}

.menu-contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

.menu-contact-details a {
  color: #111418;
  font-weight: 600;
  text-decoration: none;
}

.menu-contact-details a:hover {
  text-decoration: underline;
}

/* Su schermi piccoli */
@media (max-width: 768px) {
  .menu-overlay-content {
    padding: 110px 24px 40px;
  }
  .menu-nav-item {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 6px;
  }
  .menu-contact-actions {
    flex-direction: column;
  }
  .menu-btn-black,
  .menu-btn-green {
    width: 100%;
    text-align: center;
  }
}

.mobile-menu-trigger {
  display: none !important;
}

/* Contenuto Inferiore dell'Hero */
.hero-body {
  position: relative;
  z-index: 5;
  padding: 0 56px 70px;
  width: 100%;
  max-width: 1480px;
  margin: auto auto 0;
}

/* Linea divisoria con tag "+ HOME" come nel riferimento */
.hero-divider-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.hero-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  white-space: normal;
  line-height: 1.5;
}

.hero-tag-line {
  flex-grow: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

/* Griglia Sdoppiata del Titolo */
.hero-content-split {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  align-items: flex-end;
  gap: 60px;
}

.hero-main-headline {
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero-sub-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* Scatola Testo con Freccetta ↳ Bianca e Pulita (Stile Esatto Screenshot Freight) */
.hero-lead-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-lead-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  flex-shrink: 0;
  color: #ffffff;
}

.hero-lead-arrow svg {
  width: 17px;
  height: 17px;
  stroke: #ffffff;
}

.hero-lead-text {
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin: 0;
}

/* Pulsante Glass Rettangolare Senza Bordo (Stile Esatto 'Request A Quote') */
.btn-glass-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  color: #ffffff;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: var(--transition);
}

.btn-glass-hero:hover {
  background: rgba(255, 255, 255, 0.32);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   2. SECTION 2: WHITE SECTION ("WHAT WE DO" - STILE FREIGHT)
   ========================================================================== */
.section-services-white {
  background: var(--c-white);
  padding: 100px 0 110px;
}

.services-container {
  width: 100%;
  max-width: 1380px;
  padding: 0 clamp(24px, 4vw, 56px);
  margin: 0 auto;
  box-sizing: border-box;
}

.services-top-split {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.section-label-small {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #111418;
  display: block;
}

/* Grande Dichiarazione Editoriale (Stile Esatto Screenshot Freight: Grigio Antracite #333, Regular 400, Proporzionato) */
.services-big-statement {
  font-size: clamp(1.35rem, 2.05vw, 2.05rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: #333333;
  max-width: 980px;
  margin-bottom: 0;
}

/* ==========================================================================
   NUOVA SEZIONE TRATTAMENTI CON FOTO (STILE REFERENCE SCREENSHOT)
   ========================================================================== */
.treatments-section-wrap {
  margin-top: 80px;
  padding-top: 50px;
  border-top: 1px solid var(--c-border);
  width: 100%;
}

/* Header con Titolo a sinistra + Linea che si estende + Paragrafo a destra */
.treatments-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 36px;
  width: 100%;
}

.treatments-header-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.treatments-main-title {
  font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--c-black);
  margin: 0;
}

.treatments-title-line {
  flex: 1;
  height: 1px;
  background-color: var(--c-border);
  min-width: 50px;
}

.treatments-header-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--c-text-muted);
  max-width: 440px;
  flex-shrink: 0;
  margin: 0;
}

/* Griglia Card Fotografiche Slanciate a Filo Pagina (Stile Esatto Freight) */
.treatments-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.treatment-card-freight {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
  box-sizing: border-box;
}

.treatment-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.36;
  border-radius: 4px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.treatment-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.treatment-card-freight:hover .treatment-card-photo {
  transform: scale(1.04);
}

.treatment-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(18, 22, 28, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.treatment-card-meta {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  margin-top: 16px;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.treatment-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.treatment-card-img-wrap + .treatment-card-footer {
  margin-top: 22px;
}

.treatment-card-heading {
  font-size: clamp(1.04rem, 1.18vw, 1.25rem);
  font-weight: 500;
  line-height: 1.32;
  color: #111418;
  letter-spacing: -0.015em;
  margin: 0;
  transition: color 0.2s ease;
}

.treatment-card-arrow {
  font-size: 1.25rem;
  font-weight: 400;
  color: #111418;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.2s ease;
}

.treatment-card-freight:hover .treatment-card-heading {
  color: var(--c-accent-green, #34483b);
}

.treatment-card-freight:hover .treatment-card-arrow {
  transform: translateX(5px);
  color: var(--c-accent-green, #34483b);
}

/* Introduzione al Processo Integrato (Legacy) */
.services-intro-bar {
  margin-bottom: 40px;
  max-width: 960px;
}

.services-subheading {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-text-main);
  margin-bottom: 8px;
}

.services-subtext {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--c-text-muted);
}

/* Griglia a 4 Colonne con Bordo Superiore Sottile */
.services-4col-grid,
.services-3col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  border-top: 1px solid var(--c-border);
  padding-top: 48px;
}

.service-col-item {
  display: flex;
  flex-direction: column;
}

/* Tag Numerico Lineare invece di icone */
.service-col-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.service-col-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-black);
  margin-bottom: 14px;
}

.service-col-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--c-text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Link diretto "Scopri tutti i servizi" presente su ciascuna colonna */
.service-col-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-black);
  padding-top: 14px;
  border-top: 1px dashed var(--c-border);
  transition: var(--transition);
}

.service-col-link:hover {
  gap: 12px;
  color: #0284c7;
}

/* Pulsante Nero Rettangolare (come 'Learn More' nel riferimento) */
.btn-solid-black {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-black);
  color: var(--c-white);
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition);
  margin-top: 50px;
}

.btn-solid-black:hover {
  background: #27303f;
  transform: translateY(-2px);
}

/* ==========================================================================
   SEZIONE CHI SIAMO & I NOSTRI NUMERI (EDITORIAL REFERENCE STYLE)
   ========================================================================== */
.section-about-numbers {
  background-color: var(--c-white);
  padding: 110px 0 120px;
  border-top: 1px solid var(--c-border);
}

.about-numbers-container {
  width: 100%;
  max-width: 1380px;
  padding: 0 clamp(24px, 4vw, 56px);
  margin: 0 auto;
  box-sizing: border-box;
}

/* Parte Superiore: Headline a Sinistra + Foto Impianti a Destra */
.about-top-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}

.about-eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #111418;
  margin-bottom: 24px;
  display: block;
}

.about-headline {
  font-size: clamp(1.35rem, 2.05vw, 2.05rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: #333333;
  max-width: 980px;
}

.about-photo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  background-color: #f1f5f9;
}

.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo-wrapper:hover .about-photo-img {
  transform: scale(1.03);
}

/* Parte Inferiore: Breve Storia a Sinistra + Numeri Impattanti a Destra Allineati alla Foto */
.about-bottom-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 64px;
  align-items: flex-start;
}

.about-history-col {
  padding-right: 20px;
}

.about-history-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--c-text-muted);
  max-width: 520px;
  margin-bottom: 24px;
}

.about-history-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-black);
  text-decoration: none;
  transition: var(--transition);
}

.about-history-link:hover {
  color: #0284c7;
  gap: 12px;
}

.about-stats-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}

.about-stat-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: baseline;
}

.about-stat-value {
  font-size: clamp(1.35rem, 2.05vw, 2.05rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #333333;
  text-align: left;
  white-space: nowrap;
}

.about-stat-value .stat-unit {
  font-size: 0.8em;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #333333;
}

.about-stat-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--c-text-muted);
  max-width: 280px;
}

/* ==========================================================================
   SEZIONE BOTANICOLORS (RICERCA E SVILUPPO - SFONDO BIANCO PURO)
   ========================================================================== */
.section-botanicolors {
  background-color: #ffffff;
  padding: 85px 0 95px;
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
}

.botanicolors-container {
  width: 100%;
  max-width: 1380px;
  padding: 0 clamp(24px, 4vw, 56px);
  margin: 0 auto;
  box-sizing: border-box;
}

/* 1. Header Superiore: Tag, Logo & Titolo */
.botanicolors-top-intro {
  max-width: 860px;
  margin-bottom: 24px;
}

.botanicolors-tag-wrap {
  display: flex;
  align-items: center;
}

.botanicolors-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #2e4d3a;
}

.botanicolors-logo-wrap {
  display: flex;
  align-items: center;
  margin: 16px 0 14px;
}

.botanicolors-logo-img {
  height: 48px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.botanicolors-main-title {
  font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #111418;
  margin: 0;
}

/* 2. Video Showcase a Tutta Pagina (Subito dopo il titolo, senza bordini neri) */
.botanicolors-video-showcase {
  width: 100%;
  margin: 28px 0 46px;
}

.botanicolors-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background-color: #000000;
  border: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
}

.botanicolors-video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background-color: #000000;
  border: none;
  outline: none;
}

/* 3. Dettagli Sotto al Video: Story a sinistra, Partners & CTA a destra (Zero Riquadri) */
.botanicolors-bottom-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.botanicolors-story-col {
  display: flex;
  flex-direction: column;
}

.botanicolors-text-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
}

.botanicolors-text-body p {
  margin: 0 0 14px;
}

.botanicolors-text-body p:last-child {
  margin-bottom: 0;
}

.botanicolors-text-body strong {
  color: #111418;
  font-weight: 700;
}

/* Colonna Partners & Azione (Completamente su sfondo bianco, senza box) */
.botanicolors-partners-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.botanicolors-partners-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  margin: 0;
}

/* I due loghi direttamente su sfondo bianco puro */
.botanicolors-logos-direct {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 4px 0 10px;
}

.botanicolors-partner-img {
  max-width: 100%;
  object-fit: contain;
  display: block;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.botanicolors-partner-img:hover {
  opacity: 1;
  transform: scale(1.02);
}

.lucchini-img {
  height: 34px;
}

.ileana-img {
  height: 48px;
}

.botanicolors-cta-wrap {
  margin-top: 6px;
}

.botanicolors-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 0.92rem;
  text-decoration: none;
  text-transform: none;
  letter-spacing: -0.01em;
  box-sizing: border-box;
}

.botanicolors-btn-arrow {
  transition: transform 0.2s ease;
}

.botanicolors-btn:hover .botanicolors-btn-arrow {
  transform: translateX(3px);
}

/* Responsive Tablet & Mobile */
@media (max-width: 992px) {
  .botanicolors-bottom-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .section-botanicolors {
    padding: 42px 0 52px !important;
  }
  
  .botanicolors-container {
    padding: 0 20px !important;
  }
  
  .botanicolors-top-intro {
    margin-bottom: 16px !important;
  }
  
  .botanicolors-logo-wrap {
    margin: 12px 0 10px !important;
  }
  
  .botanicolors-logo-img {
    height: 38px !important;
  }
  
  .botanicolors-main-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }
  
  .botanicolors-video-showcase {
    margin: 20px 0 28px !important;
  }
  
  .botanicolors-video-wrapper {
    border-radius: 6px !important;
  }
  
  .botanicolors-bottom-grid {
    gap: 26px !important;
  }
  
  .botanicolors-text-body {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }
  
  .botanicolors-logos-direct {
    gap: 24px !important;
    padding: 0 0 6px !important;
  }
  
  .lucchini-img {
    height: 28px !important;
  }
  
  .ileana-img {
    height: 42px !important;
  }
  
  .botanicolors-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 18px !important;
    font-size: 0.86rem !important;
  }
}

/* ==========================================================================
   3. SECTION 3: THREE TALL PHOTOGRAPHIC COLUMNS (COMMUNITY, INNOVATION, SUSTAINABILITY)
   ========================================================================== */
.section-3pillars-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  min-height: 560px;
  background: var(--c-black);
}

.pillar-col-card {
  position: relative;
  min-height: 560px;
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #ffffff;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar-col-card:last-child {
  border-right: none;
}

/* Sfondo Grafico / Fotografico con Overlay */
.pillar-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-col-card:hover .pillar-bg-img {
  transform: scale(1.05);
}

.pillar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 22, 0.88) 0%,
    rgba(10, 14, 22, 0.65) 45%,
    rgba(10, 14, 22, 0.95) 100%
  );
  z-index: 2;
}

.pillar-content-top {
  position: relative;
  z-index: 3;
}

/* Numero Circolare come nel riferimento */
.pillar-circle-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.pillar-title {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 14px;
}

.pillar-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 360px;
}

/* ==========================================================================
   4. SECTION 4: THE SOPHISTICATED MUTED GREEN BANNER (QUALITÀ & AMBIENTE)
   ========================================================================== */
.section-green-banner {
  background-color: var(--c-accent-green);
  color: #ffffff;
  padding: 120px 48px;
  text-align: center;
}

.green-banner-inner {
  max-width: 980px;
  margin: 0 auto;
}

.green-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  display: inline-block;
}

/* Tipografia bicolore dal riferimento: testo bianco + testo attenuato */
.green-headline {
  font-size: clamp(2.1rem, 3.8vw, 3.3rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 40px;
}

.green-headline-dim {
  color: var(--c-accent-green-dim);
  font-weight: 500;
}

.green-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.cert-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: uppercase;
}

/* Griglia Cards Loghi Certificazioni Ufficiali */
.green-cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 38px auto 0;
}

.green-cert-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.green-cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.green-cert-logo-box {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  width: 100%;
}

.green-cert-img {
  width: auto;
  object-fit: contain;
}

.green-cert-img.oekotex-img {
  max-height: 76px;
}

.green-cert-img.zdhc-img {
  max-height: 44px;
  max-width: 170px;
}

.green-cert-img.grs-img {
  max-height: 72px;
  max-width: 175px;
}

.green-cert-label {
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #111418;
  text-transform: uppercase;
  text-align: center;
  transition: color 0.2s ease;
}

.green-cert-card:hover .green-cert-label {
  color: var(--c-accent-green);
}

.btn-green-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--c-accent-green);
  padding: 16px 36px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-green-cta:hover {
  background: #f1f5f2;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

/* ==========================================================================
   SEZIONE RICHIEDI CAMPIONATURA (STILE EDITORIALE & MINIMALE)
   ========================================================================== */
.section-campionatura {
  background-color: var(--c-white);
  padding: 110px 56px 120px;
  border-top: 1px solid var(--c-border);
}

.campionatura-container {
  max-width: 1380px;
  margin: 0 auto;
}

.campionatura-header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.campionatura-tag {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #111418;
  white-space: nowrap;
}

.campionatura-tag-line {
  flex-grow: 1;
  height: 1px;
  background: var(--c-border);
}

.campionatura-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 72px;
  align-items: flex-start;
}

.campionatura-title {
  font-size: clamp(1.35rem, 2.05vw, 2.05rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: #333333;
  margin-bottom: 22px;
}

.campionatura-desc {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 36px;
  font-weight: 400;
}

.campionatura-features-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 44px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #111418;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: #111418;
}

.feature-item strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 600;
  color: #111418;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.feature-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.campionatura-direct-contacts {
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.direct-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.direct-label {
  color: #64748b;
  font-size: 0.88rem;
}

.direct-val {
  color: #111418;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.direct-val:hover {
  color: var(--c-accent-green, #34483b);
}

/* ==========================================================================
   FREIGHT MINIMALIST FORM & CONTACT SYSTEM (STILE SCREENSHOT)
   ========================================================================== */
.section-contact-freight {
  background-color: #ffffff;
  padding: 80px clamp(20px, 4vw, 56px) 110px;
}

.contact-freight-container {
  max-width: 1380px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: stretch;
}

/* Schede Flottanti Arrotondate Stile Freight */
.contact-info-card,
.contact-form-card,
.campionatura-form-col {
  border-radius: 28px;
  box-sizing: border-box;
}

.contact-form-card,
.campionatura-form-col {
  background: #f1f3f6;
  border: 1px solid rgba(17, 20, 24, 0.05);
  padding: clamp(32px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid rgba(17, 20, 24, 0.09);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  padding: clamp(32px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
}

.plant-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Tag Meta Freight (+ YOUR INFO) */
.freight-meta-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #64748b;
  display: block;
  margin-bottom: 10px;
}

.plant-card-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #111418;
  margin: 0 0 14px;
  line-height: 1.15;
}

.plant-card-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 28px;
}

.plant-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.plant-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.plant-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(17, 20, 24, 0.04);
  color: var(--c-accent-green, #34483b);
  flex-shrink: 0;
  margin-top: 2px;
}

.plant-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 3px;
}

.plant-value {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #111418;
}

.plant-link {
  color: #111418;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.plant-link:hover {
  color: var(--c-accent-green, #34483b);
  text-decoration: underline;
}

.plant-sub-note {
  font-size: 0.82rem;
  color: #64748b;
}

/* Social Icon Link Bianco e Nero (Pagina Contatti) */
.plant-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 20px;
}

.plant-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  line-height: 1;
}

.plant-social-link:hover {
  transform: translateY(-2px);
  opacity: 0.75;
}

.plant-social-link svg {
  width: 32px !important;
  height: 32px !important;
  display: block;
}

.plant-corporate-footer {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(17, 20, 24, 0.08);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #64748b;
}

/* Modulo Inviaci una richiesta - Tipografia e Campi Underline */
.freight-form-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #111418;
  margin: 0 0 10px;
  line-height: 1.12;
}

.freight-form-subtitle {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 36px;
}

.freight-minimal-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.freight-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.freight-field-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.freight-field-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 2px;
}

.freight-line-input,
.freight-line-select,
.freight-line-textarea {
  width: 100%;
  background: transparent !important;
  border: none !important;
  border-bottom: 1.5px solid rgba(17, 20, 24, 0.2) !important;
  border-radius: 0 !important;
  padding: 10px 0 12px 0 !important;
  font-family: var(--font-sans);
  font-size: 1rem !important; /* 16px per evitare zoom iOS */
  color: #111418 !important;
  box-sizing: border-box;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease;
}

.freight-line-input::placeholder,
.freight-line-textarea::placeholder {
  color: #94a3b8;
  opacity: 0.8;
}

.freight-line-input:focus,
.freight-line-select:focus,
.freight-line-textarea:focus {
  border-bottom-color: #111418 !important;
}

.freight-select-wrap {
  position: relative;
  width: 100%;
}

.freight-line-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 28px !important;
}

.freight-select-arrow {
  position: absolute;
  right: 4px;
  bottom: 12px;
  font-size: 0.9rem;
  color: #64748b;
  pointer-events: none;
}

.freight-privacy-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 4px;
}

.freight-checkbox {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: #111418;
  cursor: pointer;
}

.freight-privacy-label {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.55;
  cursor: pointer;
}

.freight-btn-row {
  margin-top: 10px;
}

.freight-btn-black {
  background: #111418;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  width: fit-content;
}

.freight-btn-black:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.form-privacy-note {
  font-size: 0.78rem;
  line-height: 1.5;
  color: #64748b;
  margin-top: 14px;
}

/* ==========================================================================
   5. SEZIONE PARTNERS & WHISTLEBLOWING (RICHIESTI DALL'UTENTE)
   ========================================================================== */
.section-compliance {
  background: #f8fafc;
  padding: 90px 56px;
  border-top: 1px solid var(--c-border);
}

.compliance-container {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.compliance-col {
  padding: 40px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 6px;
}

.compliance-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-muted);
  margin-bottom: 12px;
}

.compliance-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-black);
  margin-bottom: 14px;
}

.compliance-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--c-text-muted);
  margin-bottom: 24px;
}

.btn-compliance-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-black);
}

.btn-compliance-link:hover {
  gap: 10px;
  color: #0284c7;
}

/* ==========================================================================
   6. FOOTER MINIMALISTA E LINEARE (STILE SCREENSHOT)
   ========================================================================== */
.site-footer-freight {
  background: #0b0e14;
  color: var(--c-text-light);
  padding: 80px clamp(24px, 4vw, 56px) 40px;
}

.footer-freight-container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  box-sizing: border-box;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-logo {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
  display: block;
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
  margin: 0;
}

.footer-col-title {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 22px;
}

.footer-links-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links-list a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-hq-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-hq-text a {
  color: #ffffff;
  text-decoration: none;
}

.footer-linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  transition: all 0.25s ease;
  margin-top: 12px;
}

.footer-linkedin-link:hover {
  color: #ffffff;
  background: #0077b5;
  border-color: #0077b5;
  transform: translateY(-1px);
}

.footer-linkedin-link svg {
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  fill: currentColor;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

/* LinkedIn Footer Semplice (Senza Riquadri, Quadrato Bianco e IN Nero) */
.footer-linkedin-simple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 10px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-linkedin-simple:hover {
  opacity: 0.85;
  color: #ffffff;
  text-decoration: underline;
  transform: translateX(2px);
}

.footer-linkedin-simple svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  border-radius: 3px;
}

.footer-bottom-row {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   INNER PAGES DESIGN SYSTEM (AZIENDA, IMPIANTI, SERVIZI, SOSTENIBILITÀ)
   ========================================================================== */

/* Hero per Pagine Interne (Formato Snello e Slanciato) */
.hero-inner-page {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--c-black);
  color: var(--c-white);
  overflow: hidden;
  padding-top: 140px;
}

.hero-contact-mobile-header {
  display: none;
}

.hero-contact-desktop-body {
  display: block;
}

/* Breadcrumbs stile editoriale */
.breadcrumbs-editorial {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.breadcrumbs-editorial a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs-editorial a:hover {
  color: #ffffff;
}

.breadcrumbs-editorial span.sep {
  opacity: 0.4;
}

/* Sezione Contenuto Pagina (Bianco) */
.section-page-content {
  background-color: var(--c-white);
  padding: 100px 56px 110px;
}

.page-content-container {
  max-width: 1380px;
  margin: 0 auto;
}

/* Griglia Storia Azienda Sdoppiata */
.story-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 72px;
  align-items: flex-start;
  margin-top: 50px;
}

.story-lead-p {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--c-black);
  font-weight: 500;
  margin-bottom: 22px;
}

.story-body-p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--c-text-muted);
  margin-bottom: 22px;
}

/* Timeline Milestones Lineare */
.story-milestones-list {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.milestone-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: baseline;
}

.milestone-year {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-black);
  letter-spacing: -0.01em;
}

.milestone-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--c-text-muted);
}

/* Foto Angoli Retti (border-radius: 0) senza smussature */
.story-photo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.05);
  background-color: #f1f5f9;
}

/* ==========================================================================
   SEZIONE WIDE AZIENDA (STILE IMMAGINE 2 FREIGHT)
   ========================================================================== */
.section-wide-azienda {
  position: relative;
  width: 100%;
  min-height: 480px;
  background-color: var(--c-black);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.wide-azienda-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: contrast(110%);
}

.wide-azienda-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.72) 0%, rgba(13, 17, 23, 0.88) 100%);
}

.wide-azienda-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1380px;
  padding: 100px clamp(24px, 4vw, 56px);
  margin: 0 auto;
  box-sizing: border-box;
}

.wide-azienda-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 24px;
}

.wide-azienda-quote {
  font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #ffffff;
  max-width: 1050px;
  margin-bottom: 28px;
}

.wide-azienda-text {
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  max-width: 880px;
  margin-bottom: 0;
}

/* ==========================================================================
   SEZIONE LE QUATTRO DATE (STILE IMMAGINE 1 FREIGHT - 2X2 GRID)
   ========================================================================== */
.section-dates-grid {
  background-color: var(--c-white);
  padding: 110px 0 120px;
  border-top: 1px solid var(--c-border);
}

.dates-grid-container {
  width: 100%;
  max-width: 1380px;
  padding: 0 clamp(24px, 4vw, 56px);
  margin: 0 auto;
  box-sizing: border-box;
}

.dates-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.dates-left-col {
  display: flex;
  flex-direction: column;
}

.dates-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #111418;
  margin-bottom: 20px;
  display: block;
}

.dates-main-title {
  font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: #111418;
  margin-bottom: 28px;
}

.dates-photo-box {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 4px;
  overflow: hidden;
  background-color: #f1f5f9;
  margin-bottom: 18px;
}

.dates-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dates-photo-box:hover img {
  transform: scale(1.03);
}

.dates-photo-caption {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--c-text-muted);
}

/* 2x2 Grid per le 4 Date (Stile Lineare Monocromatico Freight) */
.dates-2x2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.date-card-freight {
  border-radius: 4px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  border: none;
}

.date-card-freight:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Palette 4 Toni Grayscale (Nero, Grigio Scuro, Grigio Chiaro, Grigio Più Chiaro) */
.date-card-1 {
  background-color: #0f1318;
  color: #ffffff;
  border: none;
}
.date-card-1 .date-card-top-num {
  color: #ffffff;
}
.date-card-1 .date-card-sublabel {
  color: rgba(255, 255, 255, 0.65);
}
.date-card-1 .date-card-divider {
  background-color: rgba(255, 255, 255, 0.2);
}
.date-card-1 .date-card-desc {
  color: rgba(255, 255, 255, 0.85);
}

.date-card-2 {
  background-color: #2b333e;
  color: #ffffff;
  border: none;
}
.date-card-2 .date-card-top-num {
  color: #ffffff;
}
.date-card-2 .date-card-sublabel {
  color: rgba(255, 255, 255, 0.65);
}
.date-card-2 .date-card-divider {
  background-color: rgba(255, 255, 255, 0.2);
}
.date-card-2 .date-card-desc {
  color: rgba(255, 255, 255, 0.85);
}

.date-card-3 {
  background-color: #cfd6df;
  color: #0f1318;
  border: none;
}
.date-card-3 .date-card-top-num {
  color: #0f1318;
}
.date-card-3 .date-card-sublabel {
  color: #475569;
}
.date-card-3 .date-card-divider {
  background-color: rgba(15, 19, 24, 0.2);
}
.date-card-3 .date-card-desc {
  color: #1e293b;
}

.date-card-4 {
  background-color: #e9ecf0;
  color: #0f1318;
  border: none;
}
.date-card-4 .date-card-top-num {
  color: #0f1318;
}
.date-card-4 .date-card-sublabel {
  color: #64748b;
}
.date-card-4 .date-card-divider {
  background-color: rgba(15, 19, 24, 0.16);
}
.date-card-4 .date-card-desc {
  color: #334155;
}

.date-card-top-num {
  font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.2rem, 3vw, 2.9rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}

.date-card-sublabel {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.date-card-divider {
  width: 100%;
  height: 1px;
  margin: 22px 0 16px;
  border: none;
}

.date-card-desc {
  font-size: 0.91rem;
  line-height: 1.62;
  margin: 0;
}

/* ==========================================================================
   SEZIONE LA SEDE (FOTO SEDE + MAPPA ARCHITETTURALE GRAYSCALE)
   ========================================================================== */
.section-sede-mappa {
  background-color: #ffffff;
  padding: 100px 0 110px;
  border-top: 1px solid var(--c-border);
}

.sede-mappa-container {
  width: 100%;
  max-width: 1380px;
  padding: 0 clamp(24px, 4vw, 56px);
  margin: 0 auto;
  box-sizing: border-box;
}

.sede-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

.sede-header-left {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}

.sede-tag-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111418;
}

.sede-main-title {
  font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: #111418;
  margin: 0;
}

.sede-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.sede-photo-col {
  width: 100%;
}

.sede-photo-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.sede-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sede-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sede-info-clean {
  margin: 0;
}

.sede-heading {
  font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111418;
  margin: 0 0 14px 0;
}

.sede-address-line {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 24px 0;
}

.sede-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.sede-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
}

.sede-contact-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  min-width: 75px;
}

.sede-contact-val {
  color: #111418;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sede-contact-val:hover {
  color: #0284c7;
}

.sede-note-line {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #64748b;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  margin: 0;
}

/* ==========================================================================
   CONTATTI DIRETTI DEI REPARTI (contatti.html)
   ========================================================================== */
.dept-contacts-section {
  margin-top: 70px;
  margin-bottom: 70px;
}

.dept-contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.dept-contact-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dept-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.dept-tag {
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-accent-green, #34483b);
  display: block;
  margin-bottom: 8px;
}

.dept-title {
  font-size: 1.12rem;
  font-weight: 600;
  color: #111418;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.dept-person {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 12px;
}

.dept-person strong {
  color: #111418;
  font-weight: 600;
}

.dept-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--c-accent-green, #34483b);
  text-decoration: none;
  font-weight: 600;
  word-break: break-all;
  transition: color 0.2s ease;
}

.dept-email-link:hover {
  color: #111418;
  text-decoration: underline;
}

.dept-hours-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

/* Stile Mappa Architetturale in Scala di Grigi con HUD Grafico */
.sede-map-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sede-map-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 4px;
  overflow: hidden;
  background-color: #15191f;
  border: 1px solid #e2e8f0;
}

.sede-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  filter: grayscale(100%) invert(6%) contrast(120%) brightness(96%);
  display: block;
}

/* HUD Overlay Grafico sulla Mappa */
.map-hud-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  box-sizing: border-box;
}

.map-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.map-hud-badge {
  background: rgba(17, 20, 24, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.map-hud-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.map-hud-coords {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #111418;
  padding: 8px 14px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
}

.map-hud-bottom {
  display: flex;
  justify-content: flex-end;
  pointer-events: auto;
}

.map-hud-link {
  background: #ffffff;
  color: #111418;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-hud-link:hover {
  background: #111418;
  color: #ffffff;
}

@media (max-width: 900px) {
  .dates-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dates-2x2-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sede-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sede-map-frame,
  .sede-map-frame iframe {
    min-height: 340px;
  }
}

.story-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-photo-wrapper:hover .story-photo-img {
  transform: scale(1.03);
}

.story-photo-caption {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-top: 14px;
  line-height: 1.5;
}

/* Striscia Metriche a 4 Colonne */
.section-stats-strip {
  background-color: var(--c-bg-light);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 80px 56px;
}

.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-strip-item {
  display: flex;
  flex-direction: column;
}

.stat-strip-num {
  font-size: clamp(2.6rem, 3.8vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--c-black);
  margin-bottom: 12px;
}

.stat-strip-num .stat-unit {
  font-size: 0.6em;
  font-weight: 400;
  color: var(--c-text-main);
}

.stat-strip-label {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--c-text-muted);
}

/* Sezione Persone & Competenze */
.section-people-split {
  background-color: var(--c-white);
  padding: 110px 56px 120px;
}

.people-split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.people-features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
}

.people-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.people-feature-icon {
  color: #0284c7;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5;
  flex-shrink: 0;
}

.people-feature-text {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--c-text-muted);
}

.people-feature-text strong {
  color: var(--c-black);
}

/* Sezione Valori con 3 Colonne Editoriali */
.section-values-pillars {
  background-color: var(--c-white);
  padding: 100px 56px 120px;
  border-top: 1px solid var(--c-border);
}

.values-header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 54px;
}

.values-main-title {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--c-black);
  white-space: nowrap;
}

.values-title-line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--c-border);
}

.values-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.value-col-card {
  display: flex;
  flex-direction: column;
}

.value-col-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-text-light);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.value-col-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--c-black);
  margin-bottom: 12px;
}

.value-col-text {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--c-text-muted);
}

/* Sezione CTA Visita Stabilimento */
.section-azienda-cta {
  background-color: var(--c-bg-light);
  padding: 90px 0;
  border-top: 1px solid var(--c-border);
}

.azienda-cta-inner {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 56px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.azienda-cta-text h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--c-black);
  margin-bottom: 12px;
}

.azienda-cta-text p {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--c-text-muted);
  max-width: 640px;
}

.azienda-cta-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ==========================================================================
   PAGINA PRODOTTI E MATERIALI: FIBRE IN SCALA DI GRIGI & TABELLA LINEARE
   ========================================================================== */
.fiber-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 70px;
}

.fiber-card-freight {
  border-radius: 4px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: none;
  box-sizing: border-box;
}

.fiber-card-1 {
  background-color: #111418;
  color: #ffffff;
}

.fiber-card-1 .fiber-card-tag {
  color: rgba(255, 255, 255, 0.55);
}

.fiber-card-1 .fiber-card-title {
  color: #ffffff;
}

.fiber-card-1 .fiber-card-lead {
  color: rgba(255, 255, 255, 0.75);
}

.fiber-card-1 .fiber-list-item {
  color: rgba(255, 255, 255, 0.88);
}

.fiber-card-1 .fiber-list-item strong {
  color: #ffffff;
}

.fiber-card-1 .fiber-dot {
  color: rgba(255, 255, 255, 0.5);
}

.fiber-card-2 {
  background-color: #2a2e35;
  color: #ffffff;
}

.fiber-card-2 .fiber-card-tag {
  color: rgba(255, 255, 255, 0.55);
}

.fiber-card-2 .fiber-card-title {
  color: #ffffff;
}

.fiber-card-2 .fiber-card-lead {
  color: rgba(255, 255, 255, 0.75);
}

.fiber-card-2 .fiber-list-item {
  color: rgba(255, 255, 255, 0.88);
}

.fiber-card-2 .fiber-list-item strong {
  color: #ffffff;
}

.fiber-card-2 .fiber-dot {
  color: rgba(255, 255, 255, 0.5);
}

.fiber-card-3 {
  background-color: #f1f5f9;
  color: #111418;
}

.fiber-card-3 .fiber-card-tag {
  color: #64748b;
}

.fiber-card-3 .fiber-card-title {
  color: #111418;
}

.fiber-card-3 .fiber-card-lead {
  color: #475569;
}

.fiber-card-3 .fiber-list-item {
  color: #334155;
}

.fiber-card-3 .fiber-list-item strong {
  color: #111418;
}

.fiber-card-3 .fiber-dot {
  color: #64748b;
}

.fiber-card-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.fiber-card-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
}

.fiber-card-lead {
  font-size: 0.90rem;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.fiber-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fiber-list-item {
  display: flex;
  gap: 10px;
  font-size: 0.86rem;
  line-height: 1.55;
}

.fiber-dot {
  font-weight: 700;
  line-height: 1.55;
}

/* Tabella Lineare Minimalista senza Riquadri */
.linear-table-box {
  background-color: #f8fafc;
  border-radius: 4px;
  padding: 32px 36px;
  margin-bottom: 70px;
  border: none;
}

.linear-table-header {
  margin-bottom: 24px;
}

.linear-table-header h4 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111418;
  margin: 0 0 4px 0;
  letter-spacing: -0.015em;
}

.linear-table-header span {
  font-size: 0.82rem;
  color: #64748b;
}

.linear-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

.linear-table thead tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.linear-table th {
  padding: 12px 16px 12px 0;
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.linear-table td {
  padding: 13px 16px 13px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: #334155;
  line-height: 1.5;
}

.linear-table tbody tr:last-child td {
  border-bottom: none;
}

.linear-table td strong {
  color: #111418;
  font-weight: 600;
}

.linear-table-val {
  font-weight: 600;
  color: #111418;
}

@media (max-width: 900px) {
  .fiber-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .linear-table-box {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   STILI PAGINA LAVORAZIONI & REPARTI (TINTORIA, FISSAGGIO, ASCIUGATURA)
   ========================================================================== */

/* Barra di navigazione rapida tra i 3 reparti */
.reparti-nav-bar {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 16px 56px;
}

.reparti-nav-container {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  overflow-x: auto;
}

.reparti-nav-link {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.reparti-nav-link:hover,
.reparti-nav-link.active {
  color: var(--c-black);
  border-bottom-color: var(--c-black);
}

.reparti-nav-link span.num {
  font-family: var(--font-mono);
  color: var(--c-text-light);
  font-size: 0.75rem;
}

/* ==========================================================================
   SEZIONE SERVIZI / LAVORAZIONI A RIGHE ORIZZONTALI (STILE FREIGHT SCREENSHOT 1)
   ========================================================================== */
/* ==========================================================================
   SEZIONE SERVIZI / LAVORAZIONI A TENDINA ACCORDION (STILE NUOVA RICHIESTA)
   ========================================================================== */
.section-services-freight-list {
  background-color: var(--c-white);
  padding: 40px 0 120px;
}

.services-list-container {
  width: 100%;
  max-width: 1380px;
  padding: 0 clamp(24px, 4vw, 56px);
  margin: 0 auto;
  box-sizing: border-box;
}

.lavorazioni-accordion-header {
  display: grid;
  grid-template-columns: auto 1px 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 50px;
  padding-bottom: 20px;
}

.lavorazioni-accordion-title {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--c-black, #111418);
  margin: 0;
}

.lavorazioni-accordion-divider {
  width: 1px;
  height: 76px;
  background-color: var(--c-border, #e5e7eb);
}

.lavorazioni-accordion-subtitle {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.5;
  color: #333333;
  max-width: 620px;
  margin: 0;
  font-weight: 400;
}

.lavorazioni-accordion-list {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-top: 1px solid #e5e7eb;
  transition: background-color 0.25s ease;
}

.accordion-item:last-of-type {
  border-bottom: 1px solid #e5e7eb;
}

/* Header a Tendina Cliccabile */
.accordion-header {
  width: 100%;
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  user-select: none;
  transition: padding 0.25s ease;
}

.accordion-item.is-open .accordion-header {
  padding-bottom: 24px;
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  min-width: clamp(260px, 25vw, 360px);
}

.accordion-num {
  font-family: var(--font-mono, monospace);
  font-size: 1.05rem;
  font-weight: 500;
  color: #111418;
  letter-spacing: 0.04em;
  border-bottom: 1.5px solid #111418;
  padding-bottom: 1px;
  line-height: 1;
}

.accordion-title {
  font-size: clamp(1.4rem, 2.1vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #111418;
  margin: 0;
  white-space: nowrap;
}

/* Preview Text quando l'accordion è chiuso */
.accordion-header-preview {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  padding: 0 16px;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.accordion-item.is-open .accordion-header-preview {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.accordion-v-sep {
  width: 1px;
  height: 28px;
  background-color: #cbd5e1;
  flex-shrink: 0;
}

.accordion-preview-desc {
  font-size: 0.94rem;
  line-height: 1.5;
  color: #555555;
  margin: 0;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Bottone Toggle (+) e (—) */
.accordion-toggle-btn {
  background: none;
  border: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
}

.toggle-symbol {
  font-size: 1.85rem;
  font-weight: 300;
  line-height: 1;
  color: #111418;
  display: inline-block;
  transition: transform 0.25s ease, color 0.2s ease;
}

.accordion-header:hover .toggle-symbol {
  color: var(--c-accent-green, #34483b);
  transform: scale(1.1);
}

/* Corpo dell'Accordion */
.accordion-body {
  display: none;
  padding-bottom: 48px;
  animation: fadeInAccordion 0.3s ease;
}

.accordion-item.is-open .accordion-body {
  display: block;
}

@keyframes fadeInAccordion {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Griglia a 3 Colonne (Foto, Descrizione, Impianti) */
.accordion-3col-layout {
  display: grid;
  grid-template-columns: 360px 1fr 1.35fr;
  gap: 40px;
  align-items: flex-start;
  padding-top: 12px;
}

.acc-media-col {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.acc-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.acc-media-col:hover .acc-media-img {
  transform: scale(1.04);
}

.acc-desc-col p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #4b5563;
  margin: 0;
}

/* Tabella Impianti / Capacità Produttiva */
.acc-specs-col {
  background-color: #f8fafc;
  border-radius: 10px;
  padding: 24px 28px;
  border: 1px solid #f1f5f9;
}

.acc-specs-heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111418;
  margin: 0 0 18px;
}

.acc-specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.acc-spec-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  font-size: 0.88rem;
  line-height: 1.5;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.acc-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.acc-spec-label {
  font-weight: 600;
  color: #111418;
}

.acc-spec-val {
  color: #64748b;
}

/* Stili Specifici per Riga 04 Trattamenti con Sub-Tabs */
.accordion-full-lead {
  font-size: 1.02rem;
  line-height: 1.68;
  color: #333333;
  margin: 0 0 24px;
}

.acc-tabs-nav {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 30px;
}

.acc-tab-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 500;
  color: #64748b;
  padding: 10px 0 14px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.acc-tab-btn:hover {
  color: #111418;
}

.acc-tab-btn.active {
  color: #111418;
  font-weight: 600;
}

.acc-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #111418;
}

.acc-tab-panel {
  display: none;
  animation: fadeInAccordion 0.25s ease;
}

.acc-tab-panel.active {
  display: block;
}

.acc-tab-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: flex-start;
}

/* Sub-Tabs Trattamenti Speciali aggiornati */
.acc-tab-sanitized-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 40px;
  align-items: center;
}

.acc-tab-inner-title {
  font-size: 1.18rem;
  font-weight: 600;
  color: #111418;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}

.acc-tab-text-flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: #475569;
}

.acc-tab-text-flow p {
  margin: 0;
}

.acc-sanitized-logo-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.acc-sanitized-logo-box img {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.acc-softness-clean-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px 24px;
  padding-top: 6px;
}

.acc-softness-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: #111418;
}

.acc-softness-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111418;
  flex-shrink: 0;
}

.acc-special-treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.acc-special-card {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.acc-special-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.acc-special-card img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 860px) {
  .acc-tab-sanitized-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .acc-special-treatments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .acc-special-treatments-grid {
    grid-template-columns: 1fr;
  }
}

.acc-ingredients-table {
  background-color: #f8fafc;
  border-radius: 10px;
  padding: 24px 28px;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ingredient-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  font-size: 0.88rem;
  line-height: 1.5;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.ingredient-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ing-name {
  font-weight: 600;
  color: #111418;
}

.ing-desc {
  color: #64748b;
}

.acc-treatment-footer-row {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.acc-treatment-options {
  font-size: 0.88rem;
  color: #64748b;
}

.acc-treatment-options strong {
  color: #111418;
}

/* Bottom CTA Banner (Image 1 & 2) */
.services-bottom-cta-banner {
  margin-top: 70px;
  padding-top: 48px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bottom-cta-statement {
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #111418;
  margin: 0;
}

.bottom-cta-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.18rem;
  font-weight: 500;
  color: #111418;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.bottom-cta-contact-btn:hover {
  opacity: 0.7;
  transform: translateX(3px);
}

/* ==========================================================================
   LABORATORIO & PROVE COLORE - RIGHE ORIZZONTALI DINAMICHE
   ========================================================================== */
.lab-horizontal-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid #e8e8e8;
}

.lab-horizontal-row:first-of-type {
  padding-top: 10px;
}

.lab-horizontal-row:last-of-type {
  border-bottom: none;
  padding-bottom: 20px;
}

.lab-horizontal-row.row-reverse {
  grid-template-columns: 1fr 1.15fr;
}

.lab-row-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 4px;
  overflow: hidden;
  background-color: #f1f5f9;
  box-shadow: none;
}

.lab-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lab-row-media:hover img {
  transform: scale(1.03);
}

.lab-row-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  display: block;
  margin-bottom: 12px;
}

.lab-row-title {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #111418;
  margin: 0 0 18px;
  line-height: 1.25;
}

.lab-row-desc {
  font-size: 0.96rem;
  line-height: 1.68;
  color: #475569;
  margin-bottom: 20px;
}

.lab-capacities-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 22px;
}

.lab-capacities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
}

.lab-capacities-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lab-bullet-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0f172a;
  flex-shrink: 0;
}

.lab-highlight-badge {
  background: #f8fafc;
  border-left: 3px solid #111418;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.6;
}

.treatment-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-black);
  text-decoration: none;
  padding: 8px 0;
  transition: var(--transition);
  border-bottom: 1.5px solid var(--c-black);
}

.treatment-explore-btn span.arrow {
  transition: transform 0.25s ease;
  display: inline-block;
}

.treatment-explore-btn:hover {
  color: var(--c-accent-green, #34483b);
  border-bottom-color: var(--c-accent-green, #34483b);
}

.treatment-explore-btn:hover span.arrow {
  transform: translateX(5px);
}

/* ==========================================================================
   CATALOGO TRATTAMENTI SPECIALI & TARGHETTE CERTIFICATE (HEIQ)
   ========================================================================== */
.section-trattamenti-catalog {
  background-color: var(--c-white);
  padding: 60px 0 120px;
}

.trattamenti-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 56px);
}

.trattamenti-macro-block {
  margin-bottom: 90px;
}

.trattamenti-macro-block:last-child {
  margin-bottom: 0;
}

.trattamenti-category-header {
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
}

.trattamenti-category-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-accent-green, #34483b);
  margin-bottom: 8px;
  display: block;
}

.trattamenti-category-title {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #111418;
  margin-bottom: 12px;
}

.trattamenti-category-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: #4b5563;
  max-width: 880px;
}

/* Griglia Schede Funzionali Standard (Sanificanti & Ammorbidenti) */
.trattamenti-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trattamento-feature-card {
  background: #f8fafc;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trattamento-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.feature-card-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 10px;
}

.feature-card-title {
  font-size: 1.22rem;
  font-weight: 600;
  color: #111418;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.feature-card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #0284c7;
  margin-bottom: 14px;
}

.feature-card-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 18px;
  flex-grow: 1;
}

.feature-card-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px dashed var(--c-border);
  padding-top: 14px;
}

.feature-card-benefits li {
  font-size: 0.82rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-card-benefits li::before {
  content: '✓';
  color: var(--c-accent-green, #34483b);
  font-weight: bold;
}

/* Griglia Targhette / Hangtags Ufficiali (Stile Esatto Foto Fornita) */
.hangtags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 1060px;
  margin: 0 auto;
}

.hangtag-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hangtag-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* Foro fustellato del cartellino in alto al centro */
.hangtag-diecut-hole {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
  z-index: 5;
}

.hangtag-banner-media {
  position: relative;
  width: 100%;
  aspect-ratio: 638 / 874;
  height: auto;
  overflow: hidden;
  background-color: #f8fafc;
}

.hangtag-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hangtag-card:hover .hangtag-banner-img {
  transform: scale(1.05);
}

.hangtag-qr-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ffffff;
  padding: 5px 6px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4;
}

.hangtag-qr-badge svg {
  width: 28px;
  height: 28px;
  display: block;
}

.hangtag-qr-badge span {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0f172a;
  margin-top: 2px;
  line-height: 1;
}

.hangtag-swiss-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: #d90429;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 3px;
  line-height: 1.15;
  box-shadow: 0 4px 10px rgba(217, 4, 41, 0.35);
  z-index: 4;
}

.hangtag-card-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: #ffffff;
}

.hangtag-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.hangtag-brand-name {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.hangtag-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.hangtag-subheadline {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0284c7;
  margin-bottom: 12px;
}

.hangtag-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 16px;
  flex-grow: 1;
}

.hangtag-footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--c-accent-green, #34483b);
  background: rgba(52, 72, 59, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
}

/* ==========================================================================
   RESPONSIVE GRIDS (ECO INFRASTRUTTURE & FORM CONTATTI)
   ========================================================================== */
.eco-infra-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 70px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .treatments-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .eco-infra-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 1180px) {
  .hero-header {
    padding: 20px 32px;
  }
  .hero-header.is-scrolled {
    padding: 14px 32px;
  }
  .hero-nav {
    display: none !important;
  }
  .freight-menu-trigger {
    display: flex !important;
  }
  .hero-body {
    padding: 0 32px 50px;
  }
  .hero-content-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .section-services-white {
    padding: 80px 0 90px;
  }
  .services-top-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .services-4col-grid,
  .services-3col-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .treatments-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .treatments-header-left {
    width: 100%;
  }
  .about-top-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }
  .about-bottom-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-stat-row {
    grid-template-columns: 140px 1fr;
    gap: 24px;
  }
  .section-3pillars-visual {
    grid-template-columns: 1fr;
  }
  .pillar-col-card {
    min-height: 380px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .compliance-container {
    grid-template-columns: 1fr;
  }
  .campionatura-split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .section-campionatura {
    padding: 80px 32px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lab-horizontal-row,
  .lab-horizontal-row.row-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  .story-split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .stats-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .people-split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .values-3col-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .azienda-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .service-freight-row {
    grid-template-columns: 50px 180px 1fr;
    gap: 28px;
  }
  .service-row-media-col {
    grid-column: 1 / -1;
    max-width: 540px;
  }
  .hangtags-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
    gap: 28px;
  }
  .trattamenti-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero-header {
    padding: 16px 20px;
  }
  .hero-header.is-scrolled {
    padding: 12px 20px;
  }
  .hero-header-right {
    gap: 14px;
  }
  .hero-logo-img {
    height: 34px;
  }
  .hero-header.is-scrolled .hero-logo-img {
    height: 30px;
  }
  .hero-body {
    padding: 0 20px 40px;
  }
  .hero-divider-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
  }
  .hero-tag-line {
    width: 60px;
    flex-grow: 0;
  }
  .hero-tag {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    line-height: 1.45;
  }
  .hero-main-headline {
    font-size: clamp(1.95rem, 6.5vw, 2.4rem);
    line-height: 1.18;
  }
  .section-services-white {
    padding: 60px 0 70px;
  }
  .section-services-freight-list {
    padding: 30px 0 80px;
  }
  /* Accordion Responsive */
  .lavorazioni-accordion-header {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }
  .lavorazioni-accordion-divider {
    display: none;
  }
  .accordion-header {
    padding: 24px 0;
  }
  .accordion-header-left {
    min-width: 0;
  }
  .accordion-header-preview {
    display: none;
  }
  .accordion-3col-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .acc-tab-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .acc-tabs-nav {
    overflow-x: auto;
    white-space: nowrap;
    gap: 20px;
  }
  .acc-spec-row,
  .ingredient-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .services-bottom-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .service-freight-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 36px 0;
  }
  .service-row-num {
    padding-top: 0;
  }
  .service-row-media-col {
    max-width: 100%;
  }
  .services-4col-grid,
  .services-3col-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* Certificazioni Internazionali su Mobile: 4 loghi compatti 2x2, testo nascosto, titolo ridotto */
  .cert-header-row {
    margin-bottom: 24px !important;
  }
  .cert-section-title {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
  }
  .cert-grid-sostenibilita {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    margin-bottom: 42px !important;
  }
  .cert-card-item {
    background: #ffffff !important;
    border: 1px solid rgba(17, 20, 24, 0.08) !important;
    border-radius: 16px !important;
    padding: 16px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 112px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
  }
  .cert-card-item .cert-logo-box {
    height: 84px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .cert-card-item .cert-logo-img {
    max-height: 78px !important;
    max-width: 145px !important;
    width: auto !important;
    object-fit: contain !important;
  }
  /* Ingrandimento dedicato per OEKO-TEX (STeP & Standard 100) e GRS */
  .cert-card-item .cert-logo-oekotex {
    max-height: 86px !important;
    max-width: 135px !important;
    transform: scale(1.15) !important;
    transform-origin: center center !important;
  }
  .cert-card-item .cert-logo-grs {
    max-height: 82px !important;
    max-width: 148px !important;
    transform: scale(1.12) !important;
    transform-origin: center center !important;
  }
  .cert-card-item .cert-logo-zdhc {
    max-height: 48px !important;
    max-width: 145px !important;
  }
  .cert-details-block {
    display: none !important;
  }
  .treatments-title-line {
    display: none;
  }
  .treatments-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .treatment-card-img-wrap {
    aspect-ratio: 1 / 1.15;
  }
  .treatment-card-meta {
    font-size: 0.68rem;
    margin-top: 10px;
    margin-bottom: 4px;
  }
  .treatment-card-heading {
    font-size: 0.95rem;
    line-height: 1.25;
  }
  .treatment-card-arrow {
    display: none;
  }
  .hangtags-grid,
  .trattamenti-feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-about-numbers {
    padding: 60px 0 70px;
  }
  .about-stat-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .about-stat-value {
    text-align: left;
    font-size: 2.5rem;
  }
  .about-stat-desc {
    max-width: 100%;
  }
  .section-green-banner {
    padding: 70px 20px;
  }
  .green-cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 520px;
    margin: 28px auto 0;
  }
  .dept-contacts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  @media (max-width: 520px) {
    .green-cert-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      max-width: 100%;
    }
    .green-cert-card {
      padding: 16px 10px;
      min-height: 125px;
    }
    .green-cert-logo-box {
      height: 64px;
    }
    .green-cert-img.oekotex-img {
      max-height: 64px;
      transform: scale(1.12);
    }
    .green-cert-img.grs-img {
      max-height: 62px;
      transform: scale(1.1);
    }
    .green-cert-img.zdhc-img {
      max-height: 38px;
    }
    .green-cert-label {
      font-size: 0.68rem;
    }
  }
  .section-campionatura {
    padding: 60px 20px;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .campionatura-form-col {
    padding: 28px 20px;
  }
  .section-compliance {
    padding: 60px 20px;
  }
  /* Footer Mobile Compatto (richiesta utente: niente scroll infinito, visibile intero) */
  .site-footer-freight {
    padding: 36px 20px 24px !important;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
    padding-bottom: 24px !important;
  }
  .footer-col-brand {
    grid-column: 1 / -1;
  }
  .footer-brand-logo {
    height: 28px !important;
    margin-bottom: 12px !important;
  }
  .footer-brand-desc {
    font-size: 0.82rem !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
  }
  .footer-col-nav {
    display: none !important; /* Su mobile si rimuove la colonna Navigazione ridondante */
  }
  .footer-col-legal {
    grid-column: 1 / 2;
  }
  .footer-col-hq {
    grid-column: 2 / 3;
  }
  .footer-col-title {
    font-size: 0.68rem !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 10px !important;
  }
  .footer-links-list li {
    margin-bottom: 6px !important;
  }
  .footer-links-list a,
  .footer-hq-text {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
  }
  .footer-bottom-row {
    padding-top: 18px !important;
    font-size: 0.72rem !important;
    flex-direction: column;
    gap: 6px !important;
    align-items: flex-start !important;
  }
  .hero-inner-page {
    min-height: 460px;
  }
  .section-page-content,
  .section-stats-strip,
  .section-people-split,
  .section-values-pillars,
  .section-azienda-cta {
    padding: 60px 20px 70px;
  }
  .stats-strip-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .values-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .values-title-line {
    display: none;
  }
  .milestone-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .section-reparto,
  .section-reparto-alt {
    padding: 60px 20px 70px;
  }
  .reparti-nav-bar {
    padding: 12px 20px;
  }
  .machinery-spec-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  /* Hero Pagina Contatti su Mobile: compatto stile Freight con foto in alto e titolo immediato */
  .hero-inner-page.hero-contact-page {
    min-height: 200px !important;
    height: 210px !important;
    padding-top: 60px !important;
    padding-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
  }
  .hero-contact-desktop-body {
    display: none !important;
  }
  .hero-contact-mobile-header {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 0 20px 24px !important;
    position: relative !important;
    z-index: 2 !important;
  }
  .hero-contact-mobile-meta {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .hero-contact-arrow {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
  }
  .hero-contact-email-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.84rem !important;
    text-decoration: none !important;
    font-family: var(--font-sans) !important;
    letter-spacing: -0.01em !important;
  }
  .hero-contact-mobile-title {
    font-family: 'Inter Tight', 'Inter', sans-serif !important;
    font-size: 2.3rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.035em !important;
    color: #ffffff !important;
    margin: 4px 0 0 !important;
    line-height: 1.1 !important;
  }

  /* Sezione Modulo & Sede: scheda Richiesta PRIMA, Sede Asola DOPO */
  .section-contact-freight {
    padding: 0 16px 60px !important;
    margin-top: -16px !important;
    position: relative !important;
    z-index: 4 !important;
    background-color: transparent !important;
  }
  .contact-freight-container {
    padding: 0 !important;
    max-width: 100% !important;
  }
  .contact-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
  }
  .contact-form-card {
    order: 1 !important;
    background: #f1f3f6 !important;
    border: 1px solid rgba(17, 20, 24, 0.06) !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    padding: 32px 20px !important;
  }
  .contact-info-card {
    order: 2 !important;
    background: #ffffff !important;
    border: 1px solid rgba(17, 20, 24, 0.08) !important;
    border-radius: 24px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    padding: 32px 20px !important;
  }
  .eco-infra-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dept-contacts-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .hero-header {
    padding: 12px 16px;
  }
  .hero-header.is-scrolled {
    padding: 10px 16px;
  }
  .hero-logo-img {
    height: 30px;
  }
  .hero-header-right {
    gap: 10px;
  }
  .header-contact-link {
    font-size: 0.82rem;
  }
  .hero-body {
    padding: 0 16px 36px;
  }
  .hero-main-headline {
    font-size: clamp(1.75rem, 7vw, 2.1rem);
  }
  .contact-form-card,
  .contact-info-card {
    padding: 28px 18px !important;
    border-radius: 20px !important;
  }
  .treatments-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .treatment-card-img-wrap {
    aspect-ratio: 1 / 1.1;
  }
  .treatment-card-heading {
    font-size: 0.88rem;
  }
}

/* ==============================================================================
   COOKIE CONSENT - MINIMAL WHITE BOTTOM BAR & CLEAN PREFERENCES MODAL
   ============================================================================== */

/* 1. Barra Bianca in Basso (Full Width fissa a filo inferiore) */
.cookie-bar-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  color: #111418;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.05);
  z-index: 999999;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  animation: cookieBarSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookieBarSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-bar-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-bar-text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #111418;
  margin: 0;
}

.cookie-bar-text a {
  color: #111418;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.cookie-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-bar-btn {
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.cookie-bar-btn-outline {
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
}

.cookie-bar-btn-outline:hover {
  background: #f8fafc;
}

.cookie-bar-btn-black {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}

.cookie-bar-btn-black:hover {
  background: #262626;
  border-color: #262626;
}

.cookie-bar-close {
  background: transparent;
  border: none;
  font-size: 16px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 6px;
  margin-left: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.cookie-bar-close:hover {
  color: #000000;
}

/* 2. Badge Preferenze in Basso a Sinistra (Discreto, Minimale) */
.cookie-floating-badge {
  position: fixed;
  bottom: 16px;
  left: 18px;
  z-index: 99999;
  background: #ffffff;
  color: #111418;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.cookie-floating-badge:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* 3. Modal Preferenze (Senza Riquadri, Scritte Normali, Checkbox e 2 Pulsanti Rettangolari) */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: cookieFade 0.2s ease forwards;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

@keyframes cookieFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal-card {
  background: #ffffff;
  border-radius: 6px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  padding: 28px 32px;
  box-sizing: border-box;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}

.cookie-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
  line-height: 1.25;
}

.cookie-modal-close {
  background: #ffffff;
  border: 1.5px solid #000000;
  width: 26px;
  height: 26px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.cookie-modal-close:hover {
  background: #f1f5f9;
}

.cookie-modal-intro {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #111418;
  margin: 0 0 20px 0;
}

.cookie-modal-body {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 6px;
  margin-bottom: 24px;
}

.cookie-modal-body::-webkit-scrollbar {
  width: 6px;
}
.cookie-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

/* Singola Categoria: NIENTE BOX, solo Checkbox + Scritta Grassetto + Testo normale */
.cookie-pref-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cookie-pref-header {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.cookie-pref-header.is-disabled {
  cursor: default;
}

.cookie-checkbox {
  width: 17px;
  height: 17px;
  margin: 0;
  cursor: pointer;
  accent-color: #000000;
}

.cookie-pref-header.is-disabled .cookie-checkbox {
  cursor: default;
}

.cookie-pref-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #000000;
}

.cookie-pref-desc {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #111418;
  margin: 0;
  padding-left: 27px;
}

/* Footer Modal: 2 Pulsanti Rettangolari a Tutta Larghezza */
.cookie-modal-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.cookie-modal-btn {
  flex: 1;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  font-family: inherit;
}

.cookie-modal-btn-save {
  background: #ffffff;
  color: #000000;
  border: 1.5px solid #000000;
}

.cookie-modal-btn-save:hover {
  background: #f8fafc;
}

.cookie-modal-btn-accept {
  background: #000000;
  color: #ffffff;
  border: 1.5px solid #000000;
}

.cookie-modal-btn-accept:hover {
  background: #262626;
  border-color: #262626;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .cookie-bar-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 18px 16px;
    gap: 12px;
  }
  
  .cookie-bar-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 6px;
  }
  
  .cookie-bar-btn {
    padding: 8px 6px;
    font-size: 0.78rem;
    text-align: center;
  }

  .cookie-modal-card {
    padding: 20px 18px;
    max-height: 94vh;
  }

  .cookie-pref-desc {
    padding-left: 0;
  }

  .cookie-modal-footer {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-modal-btn {
    width: 100%;
  }
}
