/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
This is where reset, normalize & box-sizing styles go.
*/

*, *:before, *:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/



/* Smooth scroll globale */
html {
  scroll-behavior: smooth;
}


/* ============================
GLAMORA REVEAL — CSS
Elegante, minimale, accessibile
============================ */

/* Keyframes */
@keyframes g-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes g-blur-in {
  from { opacity: 0; filter: blur(6px); }
  to   { opacity: 1; filter: blur(0); }
}

/* Stato iniziale (finché il wrapper non entra in viewport) */
.stagger > * { opacity: 0; transform: translateY(8px); }
.stagger-blur > * { opacity: 0; filter: blur(6px); }

/* Quando il wrapper riceve .is-in, partono le animazioni */
.is-in.stagger > * { animation: g-fade-up .8s ease-out both; }
.is-in.stagger-blur > * { animation: g-blur-in .9s ease-out both; }

/* Variante lenta per heading o hero */
.is-in .fx-fade-up-slow { animation: g-fade-up .95s ease-out both; }

/* Stagger (ritmo cadenzato 120ms) — estendi se ti serve oltre 12 */
.is-in.stagger > *:nth-child(2),
.is-in.stagger-blur > *:nth-child(2) { animation-delay: 120ms; }
.is-in.stagger > *:nth-child(3),
.is-in.stagger-blur > *:nth-child(3) { animation-delay: 240ms; }
.is-in.stagger > *:nth-child(4),
.is-in.stagger-blur > *:nth-child(4) { animation-delay: 360ms; }
.is-in.stagger > *:nth-child(5),
.is-in.stagger-blur > *:nth-child(5) { animation-delay: 480ms; }
.is-in.stagger > *:nth-child(6),
.is-in.stagger-blur > *:nth-child(6) { animation-delay: 600ms; }
.is-in.stagger > *:nth-child(7),
.is-in.stagger-blur > *:nth-child(7) { animation-delay: 720ms; }
.is-in.stagger > *:nth-child(8),
.is-in.stagger-blur > *:nth-child(8) { animation-delay: 840ms; }
.is-in.stagger > *:nth-child(9),
.is-in.stagger-blur > *:nth-child(9) { animation-delay: 960ms; }
.is-in.stagger > *:nth-child(10),
.is-in.stagger-blur > *:nth-child(10) { animation-delay: 1080ms; }
.is-in.stagger > *:nth-child(11),
.is-in.stagger-blur > *:nth-child(11) { animation-delay: 1200ms; }
.is-in.stagger > *:nth-child(12),
.is-in.stagger-blur > *:nth-child(12) { animation-delay: 1320ms; }

/* Micro-motion per link/bottoni secondari (sottolineatura elegante) */
.ink-underline { position: relative; text-decoration: none; }
.ink-underline::after{
  content:""; position:absolute; left:0; bottom:-2px; width:100%; height:1px;
  background: var(--g-black); transform: scaleX(0); transform-origin: left center;
  transition: transform .35s ease-out;
}
.ink-underline:hover::after{ transform: scaleX(1); }

/* Accessibilità: niente motion per chi lo richiede */
@media (prefers-reduced-motion: reduce){
  .stagger > *, .stagger-blur > *{
    opacity: 1; transform: none; filter: none; animation: none !important;
  }
}


/* CSS */
[data-fade] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-fade].is-visible {
  opacity: 1;
  transform: translateY(0);
}



.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


.row-fluid .span1,
.row-fluid .span2,
.row-fluid .span3,
.row-fluid .span4,
.row-fluid .span5,
.row-fluid .span6,
.row-fluid .span7,
.row-fluid .span8,
.row-fluid .span9,
.row-fluid .span10,
.row-fluid .span11,
.row-fluid .span12{
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
  .row-fluid .span1 {
    width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
  }
  
  .row-fluid .span2 {
    width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
  }
  
  .row-fluid .span3 {
    width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
  }
  
  .row-fluid .span4 {
    width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
  }
  
  .row-fluid .span5 {
    width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
  }
  
  .row-fluid .span6 {
    width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
  }
  
  .row-fluid .span7 {
    width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
  }
  
  .row-fluid .span8 {
    width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
  }
  
  .row-fluid .span9 {
    width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
  }
  
  .row-fluid .span10 {
    width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
  }
  
  .row-fluid .span11 {
    width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
  }
  
}
.content-wrapper {
  margin: 0 auto;
  padding: 0 1rem;
}

@media screen and (min-width: 1380px) {
  .content-wrapper {
    padding: 0;
  }
}

.dnd-section > .row-fluid {
  margin: 0 auto;
}

.dnd-section .dnd-column {
  padding: 0 1rem;
}

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

/* Elements
Base HMTL elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

/* ===================================
   TYPOGRAPHY SYSTEM - GLAMORA
   Centralized via CSS Variables
=================================== */

:root {
  /* Font Family */
  --font-base: "Good Sans", "Noto Sans", sans-serif;

  /* Font Weights */
  --weight-thin: 100;
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  --weight-black: 900;

  /* Base Colors */
  --color-text: #000000;
  --color-muted: #555555;
  --color-border: #CCCCCC;

  /* Line Heights */
  --lh-tight: 1.25;
  --lh-regular: 1.4;
  --lh-relaxed: 1.5;
  --lh-loose: 1.618;

  /* Font Sizes (fluid, min/max) */
  --fs-body: max(14px, min(.83vw, 16px));
  --fs-h1:   max(32px, min(3.34vw, 64px));
  --fs-h2:   max(28px, min(2.08vw, 40px));
  --fs-h3:   max(24px, min(1.46vw, 28px));
  --fs-h4:   max(18px, min(1.04vw, 20px));
  --fs-h5:   max(16px, min(.9vw, 18px));
  --fs-h6:   14px;
  --fs-small: 12px;
  --fs-code:  13px;
}

/* =========================
   Liste di CONTENUTO (no form)
   ========================= */

/* Stile base solo per UL/OL di contenuto */
ul:not(.inputs-list):not(.multi-container):not([role="checkbox"]):not([role="radiogroup"]),
ol:not(.inputs-list):not(.multi-container):not([role="checkbox"]):not([role="radiogroup"]) {
  margin: 1.25rem 0;
  padding-left: 1.25rem;
  color: var(--g-black);
  line-height: 1.6;
  font-size: 1rem;
}

/* UL: pallino piccolo e nero */
ul:not(.inputs-list):not(.multi-container):not([role="checkbox"]):not([role="radiogroup"]) {
  list-style: none;
}
ul:not(.inputs-list):not(.multi-container):not([role="checkbox"]):not([role="radiogroup"]) > li {
  position: relative;
  margin: 0 0 0.6rem;
  padding-left: 0.75rem;
}
ul:not(.inputs-list):not(.multi-container):not([role="checkbox"]):not([role="radiogroup"]) > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;              /* centrato verticalmente sulla riga */
  width: 4px;               /* pallino piccolo */
  height: 4px;
  background: var(--g-black);
  border-radius: 50%;
}

/* OL: numerazione semplice (nessun effetto) */
ol:not(.inputs-list):not(.multi-container):not([role="checkbox"]):not([role="radiogroup"]) {
  list-style: none;
  counter-reset: glam-counter;
}
ol:not(.inputs-list):not(.multi-container):not([role="checkbox"]):not([role="radiogroup"]) > li {
  position: relative;
  margin: 0 0 0.6rem;
  padding-left: 1.1rem;
  counter-increment: glam-counter;
}
ol:not(.inputs-list):not(.multi-container):not([role="checkbox"]):not([role="radiogroup"]) > li::before {
  content: counter(glam-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--g-black);
  font-weight: 300;
}

/* =========================
   PROTEZIONE per liste FORM
   (checkbox/radio HubSpot)
   ========================= */

/* Niente pallini, mai, nelle liste dei form */
.inputs-list,
.inputs-list li {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Evita pseudo-bullet derivati da altri stili */
.inputs-list li::before {
  content: none !important;
}

/* Ruoli ARIA comuni nei form */
ul[role="checkbox"],
ul[role="radiogroup"] {
  list-style: none !important;
}
ul[role="checkbox"] li::before,
ul[role="radiogroup"] li::before {
  content: none !important;
}

/* ======================
   Base text
====================== */
body {
  line-height: var(--lh-regular) !important;
  overflow-wrap: break-word !important;
  font-family: var(--font-base) !important;
  font-weight: var(--weight-light);
  color: var(--color-text) !important;
}

/* Language-specific handling */
html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict !important;
  overflow-wrap: normal !important;
  word-break: break-all !important;
}


.text-overline {
    font-size: max(10px, min(.63vw, 12px));
    letter-spacing: .2em;
}

/* Paragraphs */
p, .text-body {
  font-size: var(--fs-body) !important;
  line-height: var(--lh-loose) !important;
  font-weight: var(--weight-light);
  margin: 0 0 1.4rem !important;
}

/* Anchors */
a {
  cursor: pointer !important;
  text-decoration: none !important;
  color: inherit !important;
}

/* Headings */
h1, .text-display-1 {
  font-size: var(--fs-h1) !important;
  line-height: var(--lh-tight) !important;
  font-weight: var(--weight-regular);
}
h2, .text-display-2 {
  font-size: var(--fs-h2) !important;
  line-height: var(--lh-regular) !important;
  font-weight: var(--weight-regular);
}
h3, .text-display-3 {
  font-size: var(--fs-h3) !important;
  line-height: var(--lh-regular) !important;
  font-weight: var(--weight-regular);
}
h4, .text-display-4 {
  font-size: var(--fs-h4) !important;
  line-height: var(--lh-loose) !important;
  font-weight: var(--weight-regular);
}
h5, .text-display-5 {
  font-size: var(--fs-h5) !important;
  line-height: var(--lh-relaxed) !important;
  font-weight: var(--weight-regular);
}
h6, .text-display-6 {
  font-size: var(--fs-h6) !important;
  line-height: var(--lh-relaxed) !important;
  font-weight: var(--weight-regular);
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

/* Small text & captions */
.small, .caption {
  font-size: var(--fs-small) !important;
  line-height: var(--lh-regular) !important;
  font-weight: var(--weight-light) !important;
  color: var(--color-muted) !important;
}


/* Code blocks */
pre {
  overflow: auto !important;
  font-size: 14px !important;
  line-height: var(--lh-regular) !important;
}
code {
  vertical-align: bottom !important;
  font-family: monospace !important;
  font-size: var(--fs-code) !important;
}

/* Blockquotes */
blockquote {
  border-left: 2px solid var(--color-text) !important;
  margin: 0 0 1.4rem !important;
  padding-left: 0.7rem !important;
  font-style: italic !important;
  font-weight: var(--weight-light) !important;
}

/* Horizontal rules */
hr {
  border: none !important;
  border-bottom: 1px solid var(--color-border) !important;
  margin: 2rem 0 !important;
}

/* Image alt text */
img {
  font-size: 0.583rem !important;
  word-break: normal !important;
}
/* ===============================
   BUTTON SYSTEM - GLAMORA (vars)
   Tutto modificabile via :root
================================= */
:root{
  /* Font */
  --btn-font-family: "Good Sans", "Noto Sans", sans-serif;
  --btn-font-weight: 400;

  /* Dimensioni */
  --btn-gap: .5rem;
  --btn-radius: 0;
  --btn-padding-y: .75rem; /* py-3 */
  --btn-padding-x: 1.5rem; /* px-6 */
  --btn-fs-sm: 14px;
  --btn-fs-md: clamp(14px,.94vw,16px);
  --btn-fs-link: 14px;
  --btn-lh: 1.618;
  --btn-lh-link: 1.4;

  /* Colori brand */
  --g-black: #000000;
  --g-white: #ffffff;
  --g-warm:  #C5BBAE;    /* Warm Grey 4U */
  --g-near:  #111111;
  --g-gray:  #969696;

  /* Stati & accessibilità */
  --btn-focus-color: var(--g-black);
  --btn-disabled-opacity: .5;

  /* Animazioni */
  --btn-ease: cubic-bezier(.4,0,.2,1);
  --btn-duration: .3s;
  --btn-underline-duration: .5s;
  --btn-underline-h: 1px; /* tertiary */
  --btn-underline-h-strong: 2px; /* secondary */
}

/* ===============================
   BASE
================================= */
.btn,
.btn-primary,
.btn-secondary,
.btn-tertiary{
  display: inline-flex;
  align-items: center;
  gap: var(--btn-gap);
  white-space: nowrap;
  max-width: min-content;
  user-select: none;
  text-decoration: none;
  cursor: pointer;
  outline: 2px solid transparent;
  outline-offset: 2px;
  border: none;
  border-radius: var(--btn-radius);
  position: relative; /* underline */
  font-family: var(--btn-font-family);
  font-weight: var(--btn-font-weight);
  -webkit-tap-highlight-color: transparent;
}

/* Focus visibile */
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-tertiary:focus-visible{
  outline: 2px solid var(--btn-focus-color);
  outline-offset: 2px;
}

/* Disabilitato coerente su <a> e <button> */
.btn[aria-disabled="true"],
.btn-primary[aria-disabled="true"],
.btn-secondary[aria-disabled="true"],
.btn-tertiary[aria-disabled="true"],
.btn:disabled,
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-tertiary:disabled{
  opacity: var(--btn-disabled-opacity);
  pointer-events: none;
}

/* Riduzione motion */
@media (prefers-reduced-motion: reduce){
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-tertiary,
  .btn-secondary::after,
  .btn-tertiary::after{
    transition: none !important;
  }
}

/* ===============================
   TERTIARY (link con underline)
================================= */
.btn-tertiary{
  font-size: var(--btn-fs-link);
  line-height: var(--btn-lh-link);
  color: var(--g-black);
  background: transparent;
}

/* underline animata */
.btn-tertiary::after{
  content:"";
  position:absolute;
  left:0; bottom:-2px;
  height: var(--btn-underline-h);
  width:0;
  background-color: currentColor;
  transition: width var(--btn-underline-duration) var(--btn-ease);
}
.btn-tertiary:hover::after,
.btn-tertiary[pressed="true"]::after,
.btn-tertiary[aria-pressed="true"]::after{
  width:100%;
}

/* ===============================
   SECONDARY (link più marcato)
================================= */
.btn-secondary{
  font-size: clamp(14px,.83vw,16px);
  line-height: var(--btn-lh);
  color: var(--g-black);
  background: transparent;
}

/* underline più spessa */
.btn-secondary::after{
  content:"";
  position:absolute;
  left:0; bottom:-2px;
  width:0;
  height: var(--btn-underline-h-strong);
  background-color: currentColor;
  transition: width var(--btn-underline-duration) var(--btn-ease);
}
.btn-secondary:hover::after,
.btn-secondary[pressed="true"]::after,
.btn-secondary[aria-pressed="true"]::after{
  width:100%;
}

/* ===============================
   PRIMARY (pieno)
   Default: testo bianco, bg nero
   Hover:  bg warm, testo nero
================================= */
.btn-primary{
  justify-content: center;
  padding: var(--btn-padding-y) var(--btn-padding-x);
  font-size: var(--btn-fs-md);
  line-height: var(--btn-lh);
  color: var(--g-white) !important;
  background-color: var(--g-black);
  transition: background-color var(--btn-duration) var(--btn-ease),
              color var(--btn-duration) var(--btn-ease);
}
.btn-primary:hover{
  background-color: var(--g-warm);
  color: var(--g-black) !important;
}

/* ===============================
   Utility opzionali
================================= */
/* Blocca a tutta larghezza */
.btn--block{ display:flex; width:100%; max-width: none; }
/* Taglie */
.btn--sm{ padding: .5rem 1rem; font-size: var(--btn-fs-sm); line-height: 1.4; }
.btn--lg{ padding: 1rem 2rem; font-size: clamp(16px,1vw,18px); line-height: var(--btn-lh); }
/* Icone (leading/trailing) */
.btn > svg{ width: 1em; height: 1em; flex:0 0 auto; translate: 0 .02em; }
.btn--icon-trailing{ flex-direction: row-reverse; }
/* Stato loading */
.btn.is-loading,
.btn-primary.is-loading,
.btn-secondary.is-loading,
.btn-tertiary.is-loading{ pointer-events:none; opacity:.7; }

/* High Contrast / Forced Colors */
@media (forced-colors: active){
  .btn, .btn-primary, .btn-secondary, .btn-tertiary{
    outline-color: CanvasText;
  }
}
/* --- Fields --- */
.hs-form-field { margin-bottom: 1.4rem; }

/* --- Labels --- */
form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  color: var(--g-black);
}

/* --- Inputs & Textarea --- */
form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  display: inline-block;
  width: 100%;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--g-black);
  background-color: #fff;
  color: var(--g-black);
  transition: border-color .2s ease, box-shadow .2s ease;
  font-weight: 500;
}
form input::placeholder,
form textarea::placeholder {
  color: var(--g-black);
  opacity: 80%;
}
form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--g-black);
  box-shadow: 0 0 0 2px rgba(0,0,0,.08);
}
form textarea { resize: vertical; }

/* =========================
Checkboxes / Radios – Glamora
========================= */

/* il markup HS è: <ul class="inputs-list"><li><label><input> <span>Testo</span></label></li> */
form .inputs-list{ margin:0; padding:0; list-style:none; }
form .inputs-list > li{ margin: .6rem 0; }

/* allinea input + testo */
form .inputs-list label{
  display: inline-flex;
  align-items: center;
  gap: .6rem;              /* distanza tra box e testo */
  cursor: pointer;
  line-height: 1.2;
}

/* =========================
Checkbox / Radio custom con icona
========================= */

/* reset base */
form input[type=checkbox],
form input[type=radio] {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  min-width: 20px !important; 
  height: 20px;
  border: 1px solid var(--g-black);
  border-radius: 3px; /* radio: rotondi */
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  background: #fff;
  transition: all .2s ease;
}

/* focus ring */
form input[type=checkbox]:focus-visible,
form input[type=radio]:focus-visible {
  outline: 2px solid var(--g-black);
  outline-offset: 2px;
}

/* icona check */
form input[type=checkbox]::after {
  content: "";
  width: 12px; height: 12px;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M20.285 6.709l-11.025 11.025-5.546-5.546 1.414-1.414 4.132 4.132 9.611-9.611z'/></svg>") no-repeat center / contain;
  background-color: white; /* invisibile di base */
  transform: scale(0);
  transition: transform .2s ease, background-color .2s ease;
}

/* checked → spunta bianca su fondo nero */
form input[type=checkbox]:checked {
  background: var(--g-black);
  border-color: var(--g-black);
}
form input[type=checkbox]:checked::after {
  transform: scale(1);
  background-color: white;
}

/* radio con pallino */
form input[type=radio] {
  border-radius: 50%;
}
form input[type=radio]::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--g-black);
  transform: scale(0);
  transition: transform .2s ease;
}
form input[type=radio]:checked::after {
  transform: scale(1);
}


/* testo accanto */
form .inputs-list span{ line-height: 1.25; }


/* --- Error --- */
.hs-input.invalid.error { border-color: #EF6B51; }
.hs-error-msg { color: #EF6B51; margin-top: 0.35rem; font-size: 0.8rem; }

/* --- Submit Button: usa btn-primary --- */
form input[type=submit],
form .hs-button {
  @apply btn-primary; /* se usi Tailwind+CSS vars */
}

/* se non hai @apply, forza le classi */
form input[type=submit],
form .hs-button {
  justify-content: center;
  padding: var(--btn-padding-y) var(--btn-padding-x);
  font-size: var(--btn-fs-md);
  line-height: var(--btn-lh);
  color: var(--g-white) !important;
  background-color: var(--g-black);
  border: none;
  transition: background-color var(--btn-duration) var(--btn-ease),
    color var(--btn-duration) var(--btn-ease);
}
form input[type=submit]:hover,
form .hs-button:hover {
  background-color: var(--g-warm);
  color: var(--g-black) !important;
}
/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

/* ==============================
   Header no navigation - setup
============================== */

/* Altezze facilmente variabili */
:root {
  --hdr-h: 64px;      /* ≈ h-16 */
  --hdr-h-lg: 88px;   /* ≈ h-22 */
}

/* Container principale dell'header (variante no-navigation) */
.header--no-navigation .header__container {
  position: relative !important;           /* riferimento per centrare il logo in assoluto */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;      /* fallback */
  height: var(--hdr-h) !important;
  background: var(--g-white);
  border-bottom: 1px solid var(--g-black);
}

@media (min-width: 1024px) {
  .header--no-navigation .header__container {
    height: var(--hdr-h-lg) !important;
  }
}

/* Wrapper interno: centrato su tutti i breakpoint (override regole generiche) */
.header--no-navigation .header__container .content-wrapper {
  width: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* LOGO sempre al centro, a prova di conflitti */
.header--no-navigation .header__logo {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  max-width: 200px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Logo non cliccabile (landing page) */
.header--no-navigation .header__logo a {
  pointer-events: none !important;
}

/* Dimensioni minime/consistenti del marchio */
.header--no-navigation .header__logo img,
.header--no-navigation .header__logo svg {
  display: block !important;
  margin: 0 auto !important;
  height: 20px;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .header--no-navigation .header__logo img,
  .header--no-navigation .header__logo svg {
    height: 24px;
  }
}


/* ==============================
   DND sections / base layout
============================== */

.header .dnd-section {
  padding: 0;
}

/* Regole generiche: mantenute, la variante no-nav fa override dove serve */
.header__container {
  display: flex;
  justify-content: space-between;
}

.header__row-1 {
  padding-top: 1rem;
}

.header__row-1,
.header__row-2 {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 1150px) and (min-width: 767px) {
  .header__column {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .header__container {
    flex-direction: column;
    padding: 1rem 0;
  }

  .header__column {
    position: relative;
  }

  .header__row-1 {
    padding-top: 0;
  }

  .header__row-2 {
    justify-content: center;
    padding: 1.05rem;
  }
}


/* ==============================
   Navigation skipper (a11y)
============================== */

.header__skip {
  height: 1px;
  left: -1000px;
  overflow: hidden;
  position: absolute;
  text-align: left;
  top: -1000px;
  width: 1px;
}

.header__skip:hover,
.header__skip:focus,
.header__skip:active {
  height: auto;
  left: 0;
  overflow: visible;
  top: 0;
  width: auto;
}


/* ==============================
   Logo (generico)
============================== */

.header__logo {
  align-items: center;
  display: flex;
  height: auto;
  margin-right: auto;
  max-width: 200px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .header__logo {
    margin: 0 auto;
    width: 100%;
  }
}

.header__logo img {
  max-width: 100%;
}

.header__logo .logo-company-name {
  font-size: 1.167rem;
  margin-top: 0.7rem;
}

.header__logo--main {
  padding-top: 1rem;
}


/* ==============================
   Search (tema originale)
============================== */

.header__search {
  padding: 0 1rem;
  width: auto;
}


.hs-search-field__form {
  position: relative;
}

.header__search .hs-search-field__label {
  flex-basis: auto;
}


.header__search .hs-search-field__input {
  
  height: 45px;
  padding: 0 0.7rem;
}


.header__search .hs-search-field__button {
  padding: 10px;
  fill: #000;
  background-color: transparent;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
}

.header__search .hs-search-field__button svg {
  height: 25px;
}


.header__search .hs-search-field--open .hs-search-field__input {
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  max-width: 100%;
}

.header__search .hs-search-field--open .hs-search-field__suggestions {
  background-color: #FFF;
  border: 2px solid #D1D6DC;
  border-radius: 0 0 6px 6px;
  border-top-width: 1px;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.header__search .hs-search-field__suggestions li {
  border-top: 1px solid #D1D6DC;
  font-size: 0.875rem;
}

.header__search .hs-search-field__suggestions li a {
  color: #494A52;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.header__search .hs-search-field__suggestions #results-for {
  display: none;
}

@media (min-width: 767px) {
  .header__search form {
    align-items: center;
    display: flex;
    flex-direction: row;
  }

  .header__search label {
    margin: 0 1rem 0 0;
  }

  .header__search .hs-search-field__input {
    width: auto;
  }
}

@media (max-width: 767px) {
  .header__search {
    border-top: 2px solid #CED4DB;
    order: 1;
    padding: 1.05rem;
  }
}


/* ==============================
   Language switcher (originale)
============================== */

.header__language-switcher {
  cursor: pointer;
  padding-right: 1.4rem;
}

.header__language-switcher .lang_switcher_class {
  position: static;
}

.header__language-switcher .lang_list_class {
  border: 2px solid;
  border-radius: 3px;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2);
  display: block;
  left: calc(100% - 24px);
  opacity: 0;
  min-width: 100px;
  padding-top: 0;
  text-align: left;
  top: 100%;
  transition: opacity 0.3s;
  visibility: hidden;
}

.header__language-switcher:hover .lang_list_class,
.header__language-switcher:focus .lang_list_class {
  opacity: 1;
  transition: opacity 0.3s;
  visibility: visible;
}

.header__language-switcher .lang_list_class:before {
  left: 70%;
  top: -25px;
}

.header__language-switcher .lang_list_class:after {
  left: 70%;
  top: -22px;
}

.header__language-switcher .lang_list_class.first-active::after {
  top: -22px;
  transition: 0.3s;
}

.header__language-switcher .lang_list_class li {
  border: none;
  font-size: 18px;
  padding: 0.35rem 0.7rem;
}

.header__language-switcher .lang_list_class li:first-child {
  border-radius: 6px 6px 0 0;
  border-top: none;
}

.header__language-switcher .lang_list_class li:last-child {
  border-bottom: none;
  border-radius: 0 0 6px 6px;
}

.header__language-switcher .lang_list_class li:hover {
  transition: background-color 0.3s;
}

.header__language-switcher--label {
  display: flex;
  position: relative;
}

.header__language-switcher--label-current {
  align-items: center;
  display: flex;
  font-size: 0.75rem;
  margin-bottom: 0.175rem;
  margin-left: 0.7rem;
}

.header__language-switcher--label-current:after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #494A52;
  content: "";
  display: block;
  height: 0px;
  margin-left: 0.7rem;
  margin-top: 0.175rem;
  width: 0px;
}

@media (max-width: 767px) {
  .header__language-switcher {
    border-top: 2px solid #CED4DB;
    padding-left: 1.05rem;
    padding-right: 0;
  }

  .header__language-switcher .lang_list_class {
    border: none;
    box-shadow: unset;
    display: block;
    left: 30px;
    opacity: 1;
    padding: 0 1.05rem;
    top: 0;
    visibility: visible;
  }

  .header__language-switcher .lang_list_class li {
    background-color: inherit;
    font-size: 0.917rem;
  }

  .header__language-switcher--label-current {
    display: none;
  }

  .header__language-switcher .globe_class {
    background-image: none;
  }

  .header__language-switcher .lang_list_class li:hover {
    background-color: inherit;
  }

  .header__language-switcher .lang_list_class:before,
  .header__language-switcher .lang_list_class:after {
    content: none;
  }}


/* ==============================
   Navigation
============================== */

#nav-toggle {
  display: none;
}


/* ==============================
   Mobile toggles (originale)
============================== */

@media (max-width: 767px) {
  .header__navigation,
  .header__search,
  .header__language-switcher {
    display: none;
    width: 100%;
  }

  .header__navigation.open,
  .header__search.open,
  .header__language-switcher.open {
    background-color: #F8FAFC;
    display: block;
    left: 0;
    min-height: calc(100vh - 115px);
    position: absolute;
    right: 0;
    top: 75px;
    z-index: 2;
  }

  .header__navigation--toggle,
  .header__search--toggle,
  .header__language-switcher--toggle,
  .header__close--toggle {
    cursor: pointer;
    margin: 0 5vw;
    position: relative;
  }

  .header__navigation--toggle.hide,
  .header__search--toggle.hide,
  .header__language-switcher--toggle.hide {
    display: none;
  }

  .header__navigation--toggle.open,
  .header__search--toggle.open,
  .header__language-switcher--toggle.open {
    display: block;
    margin-left: 0;
    margin-right: auto;
  }

  .header__navigation--toggle:after,
  .header__search--toggle:after,
  .header__language-switcher--toggle:after {
    display: none;
    font-size: 1.083rem;
    font-weight: 600;
    position: absolute;
    left: 40px;
    text-transform: uppercase;
    top: -10px;
  }

  .header__navigation--toggle.open:after,
  .header__search--toggle.open:after,
  .header__language-switcher--toggle.open:after {
    display: block;
    word-break: normal;
  }

  .header__navigation--toggle {
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__navigation--toggle:after {
    content: "Menu";
  }

  .header__language-switcher--toggle {
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__language-switcher--toggle:after {
    content: "Language";
  }

  .header__search--toggle {
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__search--toggle:after {
    content: "Search";
  }

  .header__close--toggle {
    background-repeat: no-repeat;
    background-size: 110%;
    display: none;
    height: 25px;
    margin-right: 0;
    width: 25px;
  }

  .header__close--toggle.show {
    display: block;
  }
}
/* Menu and simple menu */

.hs-menu-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Horizontal menu */

.hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper {
  flex-direction: column;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-horizontal ul {
    flex-direction: column;
  }
}

/* Vertical menu */

.hs-menu-wrapper.hs-menu-flow-vertical ul {
  flex-direction: column;
}

/* Flyouts */

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts ul {
  display: inline-flex;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-vertical ul {
    display: flex;
  }
}

.hs-menu-wrapper.flyouts .hs-item-has-children {
  position: relative;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper a {
  display: block;
  white-space: nowrap;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 0;
  opacity: 1;
  top: 100%;
}

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 100%;
  opacity: 1;
  top: 0;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.flyouts .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
    left: 0;
    opacity: 1;
    position: relative;
    top: auto;
  }
}

/* CTA, logo, and rich text images */

.hs_cos_wrapper_type_cta img,
.hs_cos_wrapper_type_logo img,
.hs_cos_wrapper_type_rich_text img {
  height: auto;
  max-width: 100%;
}

/* Utilities
Helper classes with ability to override anything that comes before it
*/

/* For content that needs to be visually hidden but stay visible for screenreaders */

.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}