:root{
  --brand:#14d692;
  --brand-dark:#0fbd7f;
  --brand-ink:#087c53;
  --ink:#070807;
  --surface:#f4f5f4;
  --muted:#505852;
  --hero-image:none;
  --gutter:clamp(30px,4.2vw,80px);
  --section-y:100px;
  --radius-control:10px;
  --ease-out:cubic-bezier(.23,1,.32,1);
  --font-display:"Helvetica Neue",Helvetica,Arial,sans-serif;
  --font-body:"Helvetica Neue",Helvetica,Arial,sans-serif;
  --type-display:clamp(36px,5.6vw,92px);
  --type-section:clamp(30px,3.1vw,44px);
  --type-body:16px;
}
*{box-sizing:border-box}
::selection{background:rgba(20,214,146,.28);color:var(--ink)}
#offerte,#selettore,#contenuto,#come-funziona,#pun,#documenti,#arera,#faq,#top,#perche,#vantaggi,#point,#professionisti,#prodotti,#candidatura,#visione,#dove,#persone,#valori,#modello,#gruppo,#numeri,#entra-nel-mondo,#contatti,#istituti-partner{scroll-margin-top:96px}
html{background:#fff}
body{margin:0;background:var(--surface);color:var(--ink);font-family:var(--font-body);-webkit-font-smoothing:antialiased;text-wrap:pretty}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{color:inherit;cursor:pointer}
button{border:0;background:none;padding:0}
a,button{ -webkit-tap-highlight-color:transparent }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--brand);outline-offset:5px}
.icon-library{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.skip-link{position:fixed;top:10px;left:20px;z-index:100;padding:14px;background:var(--brand);transform:translateY(-160%)}
.skip-link:focus{transform:none}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header{position:absolute;inset:0 0 auto;z-index:10;display:flex;align-items:center;gap:32px;min-height:88px;padding:0 var(--gutter);color:white}
.brand{display:inline-flex;flex-shrink:0;width:180px}
.brand img{display:block;width:100%;height:auto;filter:brightness(0) invert(1)}
.desktop-nav,.utility-nav{display:flex;align-items:center;gap:26px;white-space:nowrap}
.desktop-nav{padding-left:30px;border-left:1px solid #ffffff40}
.site-header nav{font-size:13px;font-weight:600}
.utility-nav{margin-left:auto;gap:24px}
.utility-nav a,.utility-nav button{display:flex;align-items:center;gap:9px}
.utility-nav .icon{color:var(--brand);width:19px;height:19px}
nav a,nav button{transition:color 180ms}
nav a:hover,nav button:hover{color:var(--brand)}
.menu-toggle{display:none;width:44px;height:44px;align-items:center;justify-content:center;flex-direction:column;gap:7px}
.menu-toggle span{width:25px;height:2px;background:white}
.hero{position:relative;min-height:650px;overflow:hidden;isolation:isolate}
/* Neutral fallback remains visible if the browser cannot play the videos. */
.hero-background{position:absolute;inset:0;background-color:#51544e;background-image:var(--hero-image);background-size:cover;background-position:center;z-index:-3}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;pointer-events:none}
.hero-video.is-active{opacity:1}
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.68) 0%,rgba(0,0,0,.42) 36%,rgba(0,0,0,.72) 100%);
  pointer-events:none;
  z-index:1;
}
.hero-video-toggle{position:absolute;top:105px;right:var(--gutter);z-index:2;display:flex;align-items:center;justify-content:center;width:44px;height:44px;color:white;background:rgba(0,0,0,.3);border:1px solid #ffffff55;border-radius:4px}
.hero-video-toggle[hidden],.video-play-icon{display:none}
.hero-video-toggle.is-paused .video-pause-icon{display:none}
.hero-video-toggle.is-paused .video-play-icon{display:block}
.hero-video-toggle:hover{color:var(--brand)}
.hero-type{position:absolute;top:145px;left:0;width:100%;text-align:center;white-space:nowrap}
.hero-outline{visibility:hidden;font-size:clamp(110px,12.65vw,224px);font-weight:800;letter-spacing:-.065em;line-height:1.15;color:transparent;-webkit-text-stroke:1px rgba(20,214,146,.42)}
.hero h1{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);margin:0;padding:0 var(--gutter);color:var(--brand);font-size:clamp(54px,5vw,88px);font-weight:900;line-height:.95;letter-spacing:-.055em;white-space:normal}
.hero-wave{position:absolute;bottom:-1px;left:0;width:100%;height:250px;fill:var(--surface);z-index:-1}
.product-selectors{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:1440px;margin:470px auto 30px;width:calc(100% - var(--gutter)*2)}

/* HERO V2 — variante temporanea per confronto visivo */
.hero-v2-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}
.hero-v2-overlay{background:rgba(0,0,0,.34)}
.hero-v2-copy{
  position:absolute;
  top:118px;
  left:50%;
  z-index:2;
  width:calc(100% - var(--gutter)*2);
  max-width:1440px;
  padding-left:clamp(18px,5vw,86px);
  transform:translateX(-50%);
}
.hero-v2-copy p{
  margin:0 0 18px;
  color:#fff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.hero-v2-copy h2{
  margin:0;
  color:#fff;
  font-size:clamp(64px,5.25vw,76px);
  font-weight:700;
  line-height:.88;
  letter-spacing:-.055em;
}
.hero-v2-copy h2 span{display:block}
.hero-v2-copy h2 span:last-child{color:var(--brand)}

/* HERO V3 — split concept, variante temporanea per confronto */
.hero-dev-label{
  margin:0;
  padding:10px var(--gutter) 8px;
  background:var(--surface);
  color:#8a928c;
  font-size:10px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.hero-v3,.hero-v4,.hero-v5,.hero-v6,.hero-v7{position:relative}
.hero-dismiss{
  position:absolute;
  top:96px;
  right:var(--gutter);
  z-index:8;
  min-height:32px;
  padding:0 12px;
  border-radius:8px;
  background:#fff;
  color:var(--ink);
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.hero .hero-dismiss{right:calc(var(--gutter) + 52px)}
.hero-v3 .hero-dismiss,
.hero-v4 .hero-dismiss,
.hero-v5 .hero-dismiss,
.hero-v6 .hero-dismiss,
.hero-v7 .hero-dismiss{top:6px}
.hero-dismiss:hover{background:var(--brand)}
.hero-restore{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:40;
  min-height:40px;
  padding:0 16px;
  border-radius:8px;
  background:var(--ink);
  color:#fff;
  font-size:12px;
  font-weight:700;
}
.hero-v3{background:var(--surface)}
.hero-v3-stage{
  display:grid;
  grid-template-columns:minmax(420px,.42fr) minmax(0,.58fr);
  min-height:640px;
}
.hero-v3-panel{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:48px;
  padding:clamp(48px,5vw,76px) clamp(34px,4vw,64px) clamp(28px,3vw,44px);
  background:#111412;
  color:#fff;
}
.hero-v3-eyebrow{
  margin:0 0 30px;
  color:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.hero-v3-eyebrow span{color:var(--brand)}
.hero-v3-copy h2{
  margin:0 0 24px;
  font-size:clamp(44px,3.6vw,64px);
  font-weight:700;
  line-height:1.02;
  letter-spacing:-.045em;
}
.hero-v3-copy h2 span{color:var(--brand)}
.hero-v3-lead{
  margin:0;
  max-width:430px;
  color:#c5cbc7;
  font-size:16px;
  line-height:1.6;
}
.hero-v3-actions{
  display:flex;
  align-items:center;
  gap:26px;
  margin-top:34px;
}
.hero-v3-modules{
  display:flex;
  flex-direction:column;
  border-top:1px solid #ffffff26;
}
.hero-v3-module{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:21px 0;
  border-bottom:1px solid #ffffff26;
  text-align:left;
  transition:color 180ms;
}
.hero-v3-module:last-child{border-bottom:0}
.hero-v3-module-copy{display:flex;flex-direction:column;gap:5px}
.hero-v3-module-copy strong{
  font-size:17px;
  font-weight:700;
  letter-spacing:-.025em;
}
.hero-v3-module-copy span{
  color:#9ca49e;
  font-size:13px;
  line-height:1.45;
}
.hero-v3-module .icon{
  width:19px;
  height:19px;
  color:var(--brand);
  transition:transform 180ms;
}
.hero-v3-module:hover{color:var(--brand)}
.hero-v3-module:hover .icon{transform:translateX(4px)}
.hero-v3-media{
  position:relative;
  min-height:0;
  overflow:hidden;
  background:#51544e;
}
.hero-v3-media video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* HERO V4 — featured card + product grid, variante temporanea */
.hero-v4{background:var(--surface);padding:0 0 56px}
.hero-v4-inner{
  display:flex;
  flex-direction:column;
  gap:16px;
  max-width:1440px;
  margin:0 auto;
  padding:0 var(--gutter);
}
.hero-v4-banner{
  position:relative;
  overflow:hidden;
  min-height:420px;
  border-radius:12px;
  color:#fff;
  background:#111412;
}
.hero-v4-banner-media,
.hero-v4-banner-overlay{position:absolute;inset:0}
.hero-v4-banner-media video{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  pointer-events:none;
}
.hero-v4-banner-overlay{background:rgba(7,8,7,.56)}
.hero-v4-banner-copy{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1fr auto;
  grid-template-rows:1fr auto;
  gap:32px 40px;
  min-height:420px;
  padding:48px 56px 44px;
}
.hero-v4-banner-text{max-width:640px;grid-column:1;grid-row:1}
.hero-v4-cta{grid-column:2;grid-row:2;align-self:end}
.hero-v4-eyebrow{
  margin:0 0 22px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.hero-v4-eyebrow span{color:var(--brand)}
.hero-v4-banner-copy h2{
  margin:0 0 20px;
  font-size:clamp(42px,4.4vw,68px);
  font-weight:700;
  line-height:1.02;
  letter-spacing:-.045em;
}
.hero-v4-lead{
  margin:0;
  max-width:460px;
  color:#d5dbd7;
  font-size:16px;
  line-height:1.6;
}
.hero-v4-cta{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:48px;
  padding:0 22px;
  border-radius:8px;
  background:var(--brand);
  color:var(--ink);
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
  flex-shrink:0;
}
.hero-v4-cta .icon{width:18px;height:18px}
.hero-v4-cta:hover{background:#fff}
.hero-v4-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.hero-v4-card{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:220px;
  padding:28px 26px 24px;
  overflow:hidden;
  border-radius:12px;
  text-align:left;
  color:#fff;
  background:#111412;
}
.hero-v4-card-visual{
  position:absolute;
  inset:0;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
}
.hero-v4-card-media .hero-v4-card-visual{background-image:url('img/card1.png')}
.hero-v4-card-assicurazioni .hero-v4-card-visual{background-image:url('img/card3.png')}
.hero-v4-card-media::after{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(7,8,7,.42);
}
.hero-v4-card-brand{background:var(--brand);color:var(--ink)}
.hero-v4-card-body,
.hero-v4-card-go{position:relative;z-index:1}
.hero-v4-card-body{display:flex;flex-direction:column;gap:8px;max-width:240px}
.hero-v4-card-body strong{
  font-size:22px;
  font-weight:700;
  letter-spacing:-.03em;
  line-height:1.15;
}
.hero-v4-card-body span{
  font-size:14px;
  line-height:1.45;
  color:#c8ceca;
}
.hero-v4-card-brand .hero-v4-card-body span{color:#0b3d2c}
.hero-v4-card-go{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  margin-top:28px;
  border-radius:8px;
  background:#fff;
  color:var(--ink);
}
.hero-v4-card-brand .hero-v4-card-go{background:var(--ink);color:#fff}
.hero-v4-card-go .icon{width:18px;height:18px;transition:transform 180ms}
.hero-v4-card:hover .hero-v4-card-go .icon{transform:translateX(4px)}

/* HERO V5 — boutique of solutions, variante temporanea */
.hero-v5{background:var(--surface);padding:0 0 56px}
.hero-v5-inner{
  display:flex;
  flex-direction:column;
  gap:16px;
  max-width:1440px;
  margin:0 auto;
  padding:0 var(--gutter);
}
.hero-v5-banner{
  position:relative;
  overflow:hidden;
  min-height:560px;
  border-radius:12px;
  color:#fff;
  background:#d8ddd8;
}
.hero-v5-media,
.hero-v5-overlay{position:absolute;inset:0}
.hero-v5-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:38% 42%;
}
/* frontend-exception: overlay laterale solo per contrasto del testo sulla foto */
.hero-v5-overlay{
  background:linear-gradient(90deg,rgba(7,8,7,.42) 0%,rgba(7,8,7,.18) 26%,rgba(7,8,7,.04) 40%,rgba(7,8,7,0) 52%);
  pointer-events:none;
}
.hero-v5-copy{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  max-width:min(46%,540px);
  min-height:560px;
  padding:52px 0 52px 44px;
}
.hero-v5-eyebrow{
  margin:0 0 22px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.hero-v5-eyebrow span{color:var(--brand)}
.hero-v5-copy h2{
  margin:0 0 20px;
  font-size:clamp(32px,3vw,44px);
  font-weight:700;
  line-height:1.08;
  letter-spacing:-.04em;
}
.hero-v5-copy h2 span{display:block}
.hero-v5-lead{
  margin:0;
  max-width:420px;
  color:#e6ebe7;
  font-size:16px;
  line-height:1.6;
}
.hero-v5-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:22px;
  margin-top:28px;
}
.hero-v5-cta{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:48px;
  padding:0 22px;
  border-radius:8px;
  background:var(--brand);
  color:var(--ink);
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}
.hero-v5-cta .icon{width:18px;height:18px}
.hero-v5-cta:hover{background:#fff}
.hero-v5-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.hero-v5-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:112px;
  padding:26px 24px;
  border-radius:12px;
  background:#fff;
  color:var(--ink);
  text-align:left;
  border:1px solid #e6e8e6;
}
.hero-v5-card-copy{display:flex;flex-direction:column;gap:6px}
.hero-v5-card-copy strong{
  font-size:18px;
  font-weight:700;
  letter-spacing:-.03em;
}
.hero-v5-card-copy span{
  color:#6f7672;
  font-size:14px;
  line-height:1.45;
}
.hero-v5-card .icon{
  width:18px;
  height:18px;
  color:var(--brand);
  transition:transform 180ms;
}
.hero-v5-card:hover .icon{transform:translateX(4px)}

/* HERO V6 — boutique + nav integrata */
.hero-v6{background:var(--surface);padding:0 0 28px}
.hero-v6-inner{
  display:flex;
  flex-direction:column;
  gap:14px;
  max-width:1440px;
  margin:0 auto;
  padding:0 var(--gutter);
}
.hero-v6-banner{
  position:relative;
  overflow:hidden;
  height:clamp(540px,67vh,620px);
  border-radius:12px;
  color:#fff;
  background:#d8ddd8;
}
.hero-v6-media,
.hero-v6-overlay{position:absolute;inset:0;pointer-events:none}
.hero-v6-media{overflow:hidden}
.hero-v6-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:36% 42%;
  transform:scale(1.06);
  animation:hero-v6-kenburns 22s ease-in-out infinite alternate;
}
@keyframes hero-v6-kenburns{
  from{transform:scale(1.08)}
  to{transform:scale(1)}
}
@media(prefers-reduced-motion:reduce){
  .hero-v6-media img{animation:none;transform:none}
}
/* frontend-exception: overlay laterale e fascia nav, inchiostro brand #000D08 */
.hero-v6-overlay-x{
  background:linear-gradient(90deg,rgba(0,13,8,.76) 0%,rgba(0,13,8,.62) 20%,rgba(0,13,8,.34) 38%,rgba(0,13,8,.1) 56%,transparent 70%);
}
.hero-v6-overlay-y{
  inset:0 0 auto;
  height:112px;
  background:linear-gradient(180deg,rgba(0,13,8,.42) 0%,rgba(0,13,8,.16) 65%,transparent 100%);
}
.hero-v6-nav{
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:3;
  display:grid;
  grid-template-columns:max-content minmax(0,1fr) max-content;
  align-items:center;
  gap:28px;
  height:64px;
  min-height:64px;
  padding:0 36px;
  color:#fff;
  font-weight:600;
  text-shadow:0 1px 8px rgba(0,13,8,.35);
}
.hero-v6-nav .brand{width:172px}
.hero-v6-nav .desktop-nav{
  justify-content:center;
  padding-left:0;
  border-left:0;
  gap:32px;
  font-size:15px;
  font-weight:600;
}
.hero-v6-nav .utility-nav{margin-left:0;gap:22px;flex-shrink:0;font-size:15px;font-weight:600}
.hero-v6-nav .utility-nav .icon{color:#fff}
.hero-v6-point{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:8px;
  background:rgba(0,13,8,.28);
}
.hero-v6-point .icon{color:#16db96;width:17px;height:17px}
.hero-v6-nav a:hover,
.hero-v6-nav button:hover{color:#fff;opacity:.82}
.hero-v6-point:hover{color:#fff;opacity:1;border-color:rgba(255,255,255,.5)}
.hero-v6-nav.is-sticky{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:30;
  height:64px;
  padding:0 var(--gutter);
  background:rgba(0,13,8,.82);
  text-shadow:none;
}
.hero-v6-copy{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  max-width:min(42%,520px);
  height:100%;
  padding:168px 0 44px 48px;
}
.hero-v6-eyebrow{
  margin:0 0 18px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.hero-v6-eyebrow span{color:var(--brand)}
.hero-v6-copy h2{
  margin:0 0 18px;
  font-size:clamp(32px,3vw,44px);
  font-weight:700;
  line-height:1.08;
  letter-spacing:-.04em;
}
.hero-v6-copy h2 span{display:block}
.hero-v6-lead{
  margin:0;
  max-width:380px;
  color:#e4ebe7;
  font-size:16px;
  line-height:1.55;
}
.hero-v6-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:22px;
  margin-top:26px;
}
.hero-v6-cta{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:48px;
  padding:0 22px;
  border-radius:8px;
  background:#16db96; /* frontend-exception: CTA richiesta per questa variante */
  color:var(--ink);
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}
.hero-v6-cta .icon{width:18px;height:18px}
.hero-v6-cta:hover{background:#fff}
.hero-v6-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  color:#fff;
  font-size:14px;
  font-weight:600;
}
.hero-v6-link .icon{width:16px;height:16px}
.hero-v6-link:hover{color:var(--brand)}
.hero-v6-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.hero-v6-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:102px;
  padding:22px 24px;
  border-radius:10px;
  background:#fff;
  color:var(--ink);
  text-align:left;
  border:1px solid #eceeec;
  transition:transform 180ms,border-color 180ms;
}
.hero-v6-card:hover{
  transform:translateY(-2px);
  border-color:#cfd3d0;
}
.hero-v6-card-copy{display:flex;flex-direction:column;gap:4px}
.hero-v6-card-copy strong{
  font-size:16px;
  font-weight:700;
  letter-spacing:-.03em;
}
.hero-v6-card-copy span{
  color:#7a817c;
  font-size:13px;
  line-height:1.4;
}
.hero-v6-card .icon{
  width:20px;
  height:20px;
  color:var(--brand);
  transition:transform 180ms;
}
.hero-v6-card:hover .icon{transform:translateX(4px)}
body.uses-hero-v6-nav .site-header{display:none}
body.uses-hero-v6-nav .hero-v6 .hero-dev-label{display:none}
body.uses-hero-v6-nav .hero-v6 .hero-dismiss{top:14px;right:calc(var(--gutter) + 8px);z-index:4}

/* HERO V7 — full-bleed + card hover verde */
.hero-v7{
  --hero-v7-card-h:102px;
  --hero-v7-fold-gap:18px;
  background:var(--surface);
  padding:0 0 16px;
}
.hero-v7-banner{
  position:relative;
  overflow:hidden;
  width:100%;
  /* Banner fino al fold: i btn restano a metà sull'immagine, fondo vicino above-the-fold */
  height:calc(100dvh - (var(--hero-v7-card-h) / 2) - var(--hero-v7-fold-gap));
  min-height:560px;
  max-height:none;
  border-radius:0;
  color:#fff;
  background:#d8ddd8;
  z-index:0;
}
.hero-v7-media,
.hero-v7-overlay{position:absolute;inset:0;pointer-events:none}
/* Stacking isolato: overlay sopra video, sotto copy/nav */
.hero-v7-media{overflow:hidden;z-index:0}
.hero-v7-overlay{z-index:2}
.hero-v7-media img,
.hero-v7-media .hero-v7-video{
  width:100%;
  height:100%;
  object-fit:cover;
  /* Più in basso: il viso resta sotto le scritte hero */
  object-position:42% 58%;
}
.hero-v7-media .hero-v7-video{
  position:absolute;
  inset:0;
  z-index:1;
  border:0;
  background:#d8ddd8;
  /* Nessun chrome player / controlli nativi */
  -webkit-appearance:none;
}
.hero-v7-media .hero-v7-video::-webkit-media-controls,
.hero-v7-media .hero-v7-video::-webkit-media-controls-enclosure,
.hero-v7-media .hero-v7-video::-webkit-media-controls-start-playback-button{
  display:none !important;
  -webkit-appearance:none;
}
.hero-v7-media-fallback{
  position:absolute;
  inset:0;
  z-index:0;
}
/* Parallasse leggero: media sotto, overlay e copy restano fermi */
.hero-v7-media img[data-hero-parallax],
.hero-v7-media .hero-v7-video[data-hero-parallax]{
  height:118%;
  top:-4%;
  bottom:auto;
  position:absolute;
  left:0;
  will-change:transform;
  transform:translate3d(0,var(--hero-parallax,0px),0);
}
@media(prefers-reduced-motion:reduce){
  .hero-v7-media .hero-v7-video{display:none}
  .hero-v7-media img[data-hero-parallax],
  .hero-v7-media .hero-v7-video[data-hero-parallax]{
    height:100%;
    top:0;
    transform:none;
    will-change:auto;
  }
}
.hero-v7-overlay-x{
  background:linear-gradient(90deg,rgba(0,13,8,.76) 0%,rgba(0,13,8,.62) 20%,rgba(0,13,8,.34) 38%,rgba(0,13,8,.1) 56%,transparent 70%);
}
.hero-v7-overlay-y{
  inset:0 0 auto;
  height:148px;
  background:linear-gradient(180deg,rgba(0,13,8,.58) 0%,rgba(0,13,8,.28) 55%,transparent 100%);
}
.hero-v7-nav{
  position:fixed;
  top:16px;
  left:50%;
  right:auto;
  z-index:50;
  display:grid;
  grid-template-columns:max-content minmax(0,1fr) max-content;
  align-items:center;
  gap:28px;
  width:min(1380px,calc(100% - 40px));
  height:58px;
  min-height:58px;
  padding:0 20px 0 10px;
  border-radius:var(--radius-control);
  background:transparent;
  color:#fff;
  font-weight:700;
  text-shadow:0 1px 2px rgba(0,13,8,.55),0 2px 14px rgba(0,13,8,.35);
  transform:translateX(-50%);
  transition:background-color 280ms var(--ease-out),box-shadow 280ms var(--ease-out),color 240ms ease,border-color 280ms ease,width 280ms ease,padding 280ms ease,gap 280ms ease;
}
.hero-v7-nav .brand{width:152px}
.hero-v7-nav .desktop-nav{
  justify-content:flex-start;
  justify-self:start;
  padding-left:0;
  border-left:0;
  gap:22px;
  font-size:15px;
  font-weight:700;
  white-space:normal;
}
.hero-v7-nav .utility-nav{
  margin-left:0;
  justify-self:end;
  gap:22px;
  flex-shrink:0;
  font-size:14px;
  font-weight:700;
}
.hero-v7-nav .utility-nav .icon{color:#fff}
.hero-v7-point{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:8px;
  background:rgba(0,13,8,.28);
}
.hero-v7-point .icon{color:#16db96;width:17px;height:17px}
.hero-v7-nav .utility-nav a:hover,
.hero-v7-nav .utility-nav button:hover{color:#fff;opacity:.82}
.hero-v7-point:hover{color:#fff;opacity:1;border-color:rgba(255,255,255,.5)}
.nav-dropdown.is-active > .nav-dropdown-trigger{
  color:var(--brand);
}

/* Mega dropdown — pattern stile NavigationMenu Home */
.nav-dropdown{position:relative}
.nav-dropdown-trigger{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:36px;
  padding:0 12px;
  border-radius:8px;
  color:#fff;
  font:inherit;
  font-weight:700;
  white-space:nowrap;
}
.nav-dropdown-chevron{
  width:14px;
  height:14px;
  opacity:.7;
  transition:transform 200ms;
}
.nav-dropdown.is-open .nav-dropdown-chevron{transform:rotate(180deg)}
.nav-dropdown-trigger:hover,
.nav-dropdown.is-open .nav-dropdown-trigger{
  background:rgba(255,255,255,.12);
  opacity:1;
}
.nav-dropdown-panel{
  position:absolute;
  top:calc(100% + 10px);
  left:50%;
  z-index:40;
  display:grid;
  grid-template-columns:minmax(160px,.85fr) minmax(220px,1.15fr);
  align-items:start;
  gap:10px;
  width:min(520px,72vw);
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.65);
  background:rgba(255,255,255,.92);
  -webkit-backdrop-filter:blur(20px) saturate(1.35);
  backdrop-filter:blur(20px) saturate(1.35);
  color:var(--ink);
  box-shadow:0 16px 40px rgba(0,0,0,.12);
  text-shadow:none;
  transform:translateX(-35%) translateY(-6px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity 200ms ease,transform 200ms ease,visibility 200ms ease;
}
.nav-dropdown.is-open .nav-dropdown-panel{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-35%) translateY(0);
}
.nav-dropdown-panel[hidden]{
  display:grid !important;
}
.nav-dropdown-feature{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-self:start;
  width:100%;
  aspect-ratio:5 / 6;
  min-height:0;
  overflow:hidden;
  border-radius:10px;
  padding:18px;
  text-align:left;
  color:#fff;
  background:#111412;
}
.nav-dropdown-feature img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 35%;
}
.nav-dropdown-feature::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,13,8,.08) 20%,rgba(0,13,8,.72) 100%);
}
.nav-dropdown-feature-copy{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.nav-dropdown-feature-copy strong{
  font-size:17px;
  font-weight:700;
  letter-spacing:-.03em;
}
.nav-dropdown-feature-copy span{
  color:#d7ddd9;
  font-size:13px;
  line-height:1.45;
  font-weight:500;
}
.nav-dropdown-links{
  list-style:none;
  margin:0;
  padding:4px 0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.nav-dropdown-links a,
.nav-dropdown-links button{
  display:flex;
  flex-direction:column;
  gap:4px;
  width:100%;
  padding:12px 12px;
  border-radius:8px;
  text-align:left;
  color:var(--ink);
  font:inherit;
}
.nav-dropdown-links a:hover,
.nav-dropdown-links button:hover{background:rgba(255,255,255,.55)}
.nav-dropdown-links strong{
  font-size:14px;
  font-weight:700;
  letter-spacing:-.02em;
}
.nav-dropdown-links span{
  color:#6f7672;
  font-size:13px;
  line-height:1.4;
  white-space:normal;
}
.hero-v7-nav.is-sticky{
  width:min(1120px,calc(100% - 32px));
  gap:18px;
  padding:0 8px 0 20px;
  border:1px solid rgba(7,8,7,.08);
  background:#fff;
  color:var(--ink);
  text-shadow:none;
  box-shadow:0 8px 24px rgba(7,8,7,.08);
}
.hero-v7-nav.is-sticky .brand{width:152px}
.hero-v7-nav.is-sticky .brand img{filter:none}
.hero-v7-nav.is-sticky .desktop-nav{
  justify-content:center;
  justify-self:stretch;
  gap:8px;
  font-size:15px;
  font-weight:700;
}
.hero-v7-nav.is-sticky .utility-nav{
  justify-self:end;
  gap:12px;
  font-size:14px;
  font-weight:700;
}
.hero-v7-nav.is-sticky .utility-nav a,
.hero-v7-nav.is-sticky .utility-nav button{color:var(--ink)}
.hero-v7-nav.is-sticky .utility-nav .icon{color:var(--brand)}
.hero-v7-nav.is-sticky .utility-nav a:hover,
.hero-v7-nav.is-sticky .utility-nav button:hover{color:var(--brand);opacity:1}
.hero-v7-nav.is-sticky .nav-dropdown-trigger{color:var(--ink)}
.hero-v7-nav.is-sticky .nav-dropdown-trigger:hover,
.hero-v7-nav.is-sticky .nav-dropdown.is-open .nav-dropdown-trigger{
  background:#f4f5f4;
}
.hero-v7-nav.is-sticky .nav-dropdown.is-active > .nav-dropdown-trigger{
  color:var(--brand);
}
.hero-v7-nav.is-sticky .hero-v7-point{
  border-color:rgba(7,8,7,.14);
  background:transparent;
}
.hero-v7-nav.is-sticky .hero-v7-point:hover{
  border-color:var(--brand);
  color:var(--ink);
}
.hero-v7-nav.is-sticky .utility-nav [data-service="clienti"]{
  min-height:40px;
  padding:0 16px;
  border:1px solid rgba(7,8,7,.16);
  border-radius:var(--radius-control);
  background:#fff;
  color:var(--ink);
}
.hero-v7-nav.is-sticky .utility-nav [data-service="clienti"]:hover{
  background:#f4f5f4;
  border-color:rgba(7,8,7,.28);
  color:var(--ink);
}
.hero-v7-nav.is-sticky .utility-nav [data-service="clienti"] .icon{color:var(--brand)}
.hero-v7-nav.is-sticky .menu-toggle{
  justify-self:end;
  width:44px;
  height:44px;
  border-radius:0;
  background:transparent;
  border:0;
}
.hero-v7-nav.is-sticky .menu-toggle span{background:var(--ink)}
.hero-v7-nav.is-sticky .nav-dropdown-panel{
  top:calc(100% + 14px);
}
.hero-v7-copy{
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  max-width:min(78%,1100px);
  height:100%;
  padding:140px 0 36px var(--gutter);
}
.hero-v7-copy h1,
.hero-v7-copy h2{
  margin:0;
  max-width:1100px;
  font-family:var(--font-display);
  font-size:var(--type-display);
  font-weight:800;
  line-height:.94;
  letter-spacing:-.04em;
}
.hero-v7-copy h1 span,
.hero-v7-copy h2 span{
  display:block;
  white-space:nowrap;
}
.hero-v7-copy h1 .hero-v7-accent,
.hero-v7-copy h2 .hero-v7-accent{
  font-style:normal;
  color:var(--brand);
}
.hero-v7-lead{
  margin:32px 0 0;
  max-width:420px;
  color:#e4ebe7;
  font-size:16px;
  line-height:1.55;
}
.hero-v7-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:22px;
  margin-top:26px;
}
.hero-v7-cta{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  min-height:48px;
  padding:0 32px;
  overflow:hidden;
  border:1.5px solid rgba(255,255,255,.45);
  border-radius:var(--radius-control);
  background:transparent;
  color:#fff;
  font-size:14px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;
  transition:border-color 420ms var(--ease-out),border-radius 420ms var(--ease-out),color 420ms var(--ease-out),transform 160ms ease;
}
.hero-v7-cta > span:not(.hero-v7-cta-circle){
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  line-height:1;
  transform:translateX(-10px);
  transition:transform 520ms var(--ease-out),color 320ms ease;
}
.hero-v7-cta-circle{
  position:absolute;
  top:50%;
  left:50%;
  z-index:0;
  width:16px;
  height:16px;
  border-radius:50%;
  background:var(--brand);
  opacity:0;
  transform:translate(-50%,-50%);
  transition:width 520ms var(--ease-out),height 520ms var(--ease-out),opacity 420ms var(--ease-out);
  pointer-events:none;
}
.hero-v7-cta-arr{
  position:absolute;
  z-index:2;
  width:16px;
  height:16px;
  color:#fff;
  transition:left 420ms var(--ease-out),right 420ms var(--ease-out),color 320ms ease;
}
.hero-v7-cta-arr-in{left:-25%}
.hero-v7-cta-arr-out{right:16px}
.hero-v7-cta:hover{
  border-color:transparent;
  border-radius:12px;
  color:var(--ink);
}
.hero-v7-cta:hover > span:not(.hero-v7-cta-circle){
  transform:translateX(10px);
  color:var(--ink);
}
.hero-v7-cta:hover .hero-v7-cta-circle{
  width:220px;
  height:220px;
  opacity:1;
}
.hero-v7-cta:hover .hero-v7-cta-arr{color:var(--ink)}
.hero-v7-cta:hover .hero-v7-cta-arr-in{left:16px}
.hero-v7-cta:hover .hero-v7-cta-arr-out{right:-25%}
.hero-v7-cta:active{transform:scale(.98)}
@media(prefers-reduced-motion:reduce){
  .hero-v7-cta,
  .hero-v7-cta > span:not(.hero-v7-cta-circle),
  .hero-v7-cta-circle,
  .hero-v7-cta-arr{transition:none}
}
.hero-v7-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  color:#fff;
  font-size:14px;
  font-weight:600;
  line-height:1;
}
.hero-v7-link .icon{
  width:16px;
  height:16px;
  flex-shrink:0;
  display:block;
  color:inherit;
}
.hero-v7-link:hover{color:var(--brand)}
.hero-v7-cards{
  /* Overlay sull'immagine: leggermente più alte (+10px) */
  position:relative;
  z-index:2;
  margin-top:calc(var(--hero-v7-card-h) / -2 - 10px);
  padding:0 var(--gutter);
}
.hero-v7-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
}
.hero-v7-card{
  position:relative;
  display:flex;
  align-items:stretch;
  height:var(--hero-v7-card-h);
  min-height:var(--hero-v7-card-h);
  overflow:hidden;
  border-radius:22px;
  text-decoration:none;
  isolation:isolate;
  box-shadow:0 14px 28px rgba(0,0,0,.16);
  transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s ease;
}
.hero-v7-card-media{
  position:relative;
  z-index:0;
  flex:0 0 88px;
  width:88px;
  overflow:hidden;
  background-color:transparent;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.hero-v7-card-media::after{
  content:"";
  position:absolute;
  inset:-18%;
  background-image:inherit;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  transition:transform .55s cubic-bezier(.22,1,.36,1);
  will-change:transform;
}
.hero-v7-card-copy{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  flex:1 1 auto;
  min-width:0;
  padding:16px 8px 16px 16px;
}
.hero-v7-card-copy em{
  font-style:normal;
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  line-height:1;
  opacity:.55;
}
.hero-v7-card-copy strong{
  font-size:clamp(15px,1.25vw,18px);
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.15;
}
.hero-v7-card-copy > span{
  font-size:13px;
  font-weight:550;
  line-height:1.3;
  opacity:.72;
}
.hero-v7-card-go{
  position:relative;
  z-index:1;
  flex:0 0 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  align-self:stretch;
  color:inherit;
  opacity:.55;
  transition:opacity .3s ease,transform .35s cubic-bezier(.22,1,.36,1);
}
.hero-v7-card-go .icon{
  width:18px;
  height:18px;
  display:block;
}
.hero-v7-grid a.hero-v7-card--green,
.hero-v7-grid a.hero-v7-card--green:hover,
.hero-v7-grid a.hero-v7-card--green:focus-visible,
.hero-v7-card--green .hero-v7-card-copy{background:#14d692;color:#042016}
.hero-v7-grid a.hero-v7-card--white,
.hero-v7-grid a.hero-v7-card--white:hover,
.hero-v7-grid a.hero-v7-card--white:focus-visible,
.hero-v7-card--white .hero-v7-card-copy{background:#fff;color:#0a0a0a}
.hero-v7-grid a.hero-v7-card--ink,
.hero-v7-grid a.hero-v7-card--ink:hover,
.hero-v7-grid a.hero-v7-card--ink:focus-visible,
.hero-v7-card--ink .hero-v7-card-copy{background:#0a0a0a;color:#fff}
.hero-v7-grid a.hero-v7-card--green .hero-v7-card-go,
.hero-v7-grid a.hero-v7-card--green:hover .hero-v7-card-go{color:#042016}
.hero-v7-grid a.hero-v7-card--white .hero-v7-card-go,
.hero-v7-grid a.hero-v7-card--white:hover .hero-v7-card-go{color:#0a0a0a}
.hero-v7-grid a.hero-v7-card--ink .hero-v7-card-go,
.hero-v7-grid a.hero-v7-card--ink:hover .hero-v7-card-go{color:#fff}
/* Indicatori coerenti su tutte le card (palette permanente ok) */
.hero-v7-card--green .hero-v7-card-copy em,
.hero-v7-card--white .hero-v7-card-copy em,
.hero-v7-card--ink .hero-v7-card-copy em{
  opacity:.55;
  color:inherit;
}
.hero-v7-card--ink .hero-v7-card-copy em{color:rgba(255,255,255,.72)}
.hero-v7-card:hover{
  z-index:2;
  transform:translateY(-6px);
  box-shadow:0 20px 36px rgba(0,0,0,.24);
}
.hero-v7-card:hover .hero-v7-card-media::after{
  transform:scale(1.08);
}
.hero-v7-card:hover .hero-v7-card-go{
  opacity:1;
  transform:translateX(3px);
}
.hero-v7-card:hover .hero-v7-card-copy em{opacity:.85}
.hero-v7-card:active{transform:translateY(-2px)}
@media(prefers-reduced-motion:reduce){
  .hero-v7-card,
  .hero-v7-card-media::after,
  .hero-v7-card-go{transition:none}
  .hero-v7-card:hover,
  .hero-v7-card:hover .hero-v7-card-media::after,
  .hero-v7-card:hover .hero-v7-card-go{transform:none}
}
body.uses-hero-v7-nav .site-header{display:none}
body.uses-hero-v7-nav .hero-v7 .hero-dismiss{top:14px;right:calc(var(--gutter) + 8px);z-index:4}

/* Swup waits on these animations; fade is handled in page-transitions.css */

.product-panel{
  position:relative;
  min-height:190px;
  padding:20px 24px 18px;
  border-radius:24px;
  background:#141715;
  color:#fff;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  transition:transform 240ms cubic-bezier(.16,1,.3,1),box-shadow 240ms cubic-bezier(.16,1,.3,1);
  box-shadow:0 24px 50px -12px rgba(0,0,0,.35),0 12px 24px -8px rgba(0,0,0,.2);
}
.product-panel::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:0;
  background-repeat:no-repeat;
  filter:contrast(0.96) saturate(0.95);
  transition:transform 400ms cubic-bezier(.16,1,.3,1),filter 300ms ease;
}
.product-panel:hover{
  transform:translateY(-4px);
  box-shadow:0 32px 64px -12px rgba(0,0,0,.45),0 16px 30px -8px rgba(0,0,0,.28);
}
.product-panel:hover::before{
  transform:scale(1.03);
  filter:contrast(1) saturate(1);
}
.product-panel-prestito::before{
  background-image:url('img/card1.png');
  background-position:22% 76%;
  background-size:165%;
}
.product-panel-energia::before{
  background-image:url('img/card2.png');
  background-position:50% 72%;
  background-size:160%;
}
.product-panel-assicurazioni::before{
  background-image:url('img/card3.png');
  background-position:64% 48%;
  background-size:155%;
}
.product-panel h2{
  position:relative;
  z-index:2;
  color:#ffffff;
  font-style:normal;
  font-weight:800;
  text-transform:uppercase;
  text-align:right;
  line-height:1.05;
  letter-spacing:-.045em;
  font-size:clamp(26px,2.4vw,34px);
  text-shadow:0 2px 10px rgba(0,0,0,.5);
  margin:0;
}
.product-panel h2 span{
  color:#ffffff;
}
.product-panel-bottom{
  position:relative;
  z-index:2;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  margin-top:auto;
  width:100%;
}
.panel-cta{
  display:inline-flex;
  align-items:center;
  border-radius:50%;
  margin:0;
}
.arrow-circle{
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:50%;
  background:#14d692;
  color:#070807;
  transition:background 200ms,transform 200ms cubic-bezier(.16,1,.3,1);
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.arrow-circle .icon{
  width:22px;
  height:22px;
  transition:transform 200ms;
  stroke-width:1.5;
}
.panel-cta:hover .arrow-circle{
  background:#16db96;
  transform:scale(1.06);
}
.panel-cta:hover .icon{
  transform:translateX(3px);
}
/* ==========================================================================
   EDITORIAL SECTIONS (ANTI-AI DESIGN SYSTEM)
   ========================================================================== */
.editorial-manifesto{
  padding:var(--section-y) var(--gutter);
  background:var(--surface);
}
.editorial-inner{
  max-width:1380px;
  margin:0 auto;
  width:100%;
}
.manifesto-intro{
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--ink);
  margin:0 0 24px;
}
.manifesto-title{
  font-family:var(--font-display);
  font-size:var(--type-section);
  font-weight:800;
  letter-spacing:-.04em;
  line-height:1.08;
  color:var(--ink);
  max-width:920px;
  margin:0 0 22px;
}
.manifesto-trust{
  max-width:720px;
  margin:0 0 48px;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
/* Nel blocco trust il marchio resta del colore del paragrafo (muted), senza accent mint */
.manifesto-trust .brand-accent{color:inherit}
.manifesto-trust a{
  color:var(--brand-ink);
  font-weight:700;
  border-bottom:1px solid rgba(8,124,83,.35);
}
.manifesto-trust a:hover{border-bottom-color:var(--brand-ink)}
.manifesto-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  border-top:1px solid rgba(7,8,7,.14);
}
.manifesto-col{
  display:flex;
  flex-direction:column;
  padding:44px clamp(18px,2.2vw,36px) 8px clamp(10px,1.2vw,16px);
  border-right:1px solid rgba(7,8,7,.1);
}
.manifesto-col:last-child{
  border-right:0;
  padding-right:0;
}
.manifesto-col-title{
  font-family:var(--font-display);
  font-size:18px;
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.25;
  margin:0 0 12px;
  color:var(--ink);
}
.manifesto-col p{
  font-size:15px;
  line-height:1.65;
  color:#4a504c;
  margin:0;
  max-width:34ch;
}

/* ISTITUTI E PARTNER */
.partner-strip{
  padding:var(--section-y) var(--gutter);
  background:var(--surface);
}
.partner-strip-inner{
  display:grid;
  grid-template-columns:210px 1fr;
  align-items:center;
  gap:42px;
  padding:32px 0 0;
  border-top:1px solid rgba(7,8,7,.14);
}
.partner-title{
  margin:0;
  color:var(--ink);
  font-family:var(--font-display);
  font-size:clamp(18px,1.6vw,22px);
  font-weight:800;
  line-height:1.2;
  letter-spacing:-.03em;
}
.partner-name-list{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:clamp(24px,3vw,52px);
  min-width:0;
}
.partner-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  height:32px;
  /* // frontend-exception: i loghi partner mantengono i colori ufficiali richiesti. */
  opacity:1;
  filter:none;
  transition:opacity 180ms,filter 180ms;
}
.partner-logo img{
  display:block;
  max-width:100%;
  max-height:30px;
  width:auto;
  height:auto;
}
.partner-logo:hover{opacity:.78;filter:none}
.partner-logo-fucino,.partner-logo-ibl{opacity:1;filter:none}
.partner-logo-fucino img{filter:invert(1)}

/* 2. AMBITI DI ATTIVITÀ */
.editorial-services{
  padding:var(--section-y) var(--gutter);
  background:#fff;
}
.services-header{
  border-bottom:1px solid rgba(7,8,7,.16);
  padding-bottom:24px;
  margin-bottom:0;
}
.services-title{
  font-family:var(--font-display);
  font-size:clamp(28px,3vw,42px);
  font-weight:800;
  letter-spacing:-.04em;
  text-transform:none;
  margin:0;
  color:var(--ink);
}
.service-row-list{
  display:flex;
  flex-direction:column;
}
.service-row{
  display:grid;
  grid-template-columns:70px 1fr auto;
  align-items:baseline;
  gap:clamp(20px,4vw,60px);
  padding:48px 0;
  border-bottom:1px solid rgba(7,8,7,.12);
}
.service-row-num{
  font-family:var(--font-display);
  font-size:18px;
  font-weight:700;
  color:var(--muted);
  font-variant-numeric:tabular-nums;
}
.service-row-heading{
  font-family:var(--font-display);
  font-size:clamp(26px,2.4vw,34px);
  font-weight:800;
  letter-spacing:-.035em;
  line-height:1.15;
  margin:0 0 12px;
  color:var(--ink);
}
.service-row-info p{
  font-size:16px;
  line-height:1.65;
  color:#4a504c;
  margin:0;
  max-width:780px;
}
.editorial-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  font-weight:700;
  color:var(--ink);
  text-decoration:none;
  border-bottom:1.5px solid var(--ink);
  padding-bottom:4px;
  transition:color 180ms,border-color 180ms;
}
.editorial-link:hover{
  color:#087c53;
  border-color:#087c53;
}
.editorial-link .icon{
  width:17px;
  height:17px;
  transition:transform 180ms;
}
.editorial-link:hover .icon{
  transform:translateX(4px);
}

/* COME FUNZIONA */
.process-section{
  padding:var(--section-y) var(--gutter);
  background:#fff;
}
.process-heading{
  display:grid;
  grid-template-columns:minmax(280px,.8fr) 1fr;
  align-items:end;
  gap:48px;
  margin-bottom:32px;
}
.process-heading h2{
  margin:0;
  max-width:520px;
  font-family:var(--font-display);
  font-size:var(--type-section);
  font-weight:800;
  line-height:1.04;
  letter-spacing:-.04em;
}
.process-heading>p{
  justify-self:end;
  max-width:430px;
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.55;
}
.process-steps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin:0;
  padding:0;
  border-top:1px solid rgba(7,8,7,.16);
  list-style:none;
}
.process-steps li{
  position:relative;
  min-width:0;
  padding:28px clamp(18px,2.2vw,32px) 8px clamp(10px,1.2vw,16px);
  border-right:1px solid rgba(7,8,7,.1);
}
.process-steps li:last-child{border-right:0;padding-right:0}
.process-steps li::before{content:none}
.process-number{
  display:block;
  margin:0 0 18px;
  color:var(--muted);
  font-family:var(--font-display);
  font-size:12px;
  font-weight:700;
  line-height:1;
  letter-spacing:.04em;
  font-variant-numeric:tabular-nums;
}
.process-steps h3{
  margin:0 0 10px;
  font-family:var(--font-display);
  font-size:clamp(18px,1.45vw,22px);
  font-weight:800;
  line-height:1.15;
  letter-spacing:-.03em;
}
.process-steps p{
  margin:0;
  max-width:28ch;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

/* SCEGLIPRIMA! IN NUMERI */
.metrics-strip{
  padding:var(--section-y) var(--gutter);
  background:#fff;
}
.metrics-title{
  flex:0 0 auto;
  margin:0;
  max-width:none;
  color:var(--ink);
  font-family:var(--font-display);
  font-size:clamp(18px,1.5vw,22px);
  font-weight:800;
  line-height:1.1;
  letter-spacing:-.03em;
  white-space:nowrap;
  padding-top:.2em;
}
.metrics-strip>.editorial-inner{
  display:flex;
  flex-wrap:nowrap;
  align-items:flex-start;
  gap:clamp(28px,4vw,56px);
  padding:36px 0 0;
  border-top:1px solid rgba(7,8,7,.16);
}
.metrics-list{
  flex:1 1 auto;
  min-width:0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin:0;
  padding:0;
  gap:0;
}
.metrics-list>div{
  min-width:0;
  padding:0 clamp(16px,2vw,28px);
  border-right:1px solid rgba(7,8,7,.1);
}
.metrics-list>div:first-child{padding-left:0}
.metrics-list>div:last-child{border-right:0;padding-right:0}
.metrics-list dt{
  margin:0 0 10px;
  color:var(--ink);
  font-family:var(--font-display);
  font-size:clamp(32px,3.2vw,44px);
  font-weight:800;
  line-height:.95;
  letter-spacing:-.04em;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.metrics-list dd{
  margin:0;
  color:var(--muted);
  font-size:14px;
  font-weight:500;
  line-height:1.35;
  letter-spacing:0;
  text-transform:none;
}

/* 3. SCEGLIPRIMA! CLUB */
.section-eyebrow{
  margin:0;
  font-size:12px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.brand-lock{white-space:nowrap}
.brand-accent,
.hero-v7-copy .hero-v7-accent{color:var(--brand)}
.club-section{
  padding:var(--section-y) var(--gutter);
  background:#fff;
}
.club-stage{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);
  grid-template-rows:auto auto;
  overflow:hidden;
  background:#111412;
  color:#fff;
  border-radius:12px;
}
.club-copy{
  padding:clamp(54px,5vw,82px) clamp(42px,5vw,76px) 50px;
}
.club-copy h2{
  margin:0 0 28px;
  max-width:690px;
  font-family:var(--font-display);
  font-size:clamp(48px,6vw,88px);
  font-weight:800;
  line-height:.94;
  letter-spacing:-.04em;
}
.club-intro{
  max-width:600px;
  margin:0;
  color:#c5cbc7;
  font-size:clamp(18px,1.55vw,23px);
  line-height:1.5;
}
.club-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:22px 28px;
  margin-top:38px;
}
.primary-link{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;
  min-height:54px;
  padding:15px 18px;
  border-radius:8px;
  font-size:14px;
  font-weight:700;
  transition:background 200ms,color 200ms;
}
.primary-link-brand{background:var(--brand);color:var(--ink)}
.primary-link-brand:hover{background:#fff}
.primary-link .icon,.text-link .icon,.channel-action .icon,.network-action .icon{transition:transform 200ms}
.primary-link:hover .icon,.text-link:hover .icon,.channel-action:hover .icon,.network-action:hover .icon{transform:translateX(4px)}
.text-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:5px 0;
  border-bottom:1px solid currentColor;
  font-size:14px;
  font-weight:700;
}
.text-link-light{color:#fff}
.text-link-light:hover{color:var(--brand)}
.text-link .icon{width:17px;height:17px}
.club-visual{
  position:relative;
  grid-column:2;
  grid-row:1/3;
  align-self:center;
  aspect-ratio:4/3;
  margin:32px 32px 32px 0;
  overflow:hidden;
  border:1px solid #ffffff2b;
  border-radius:9px;
  background:#252925;
}
.club-visual img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.club-point{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  margin:0 clamp(42px,5vw,76px);
  padding:34px 0 44px;
  border-top:1px solid #ffffff2e;
}
.club-point p{margin:0;color:#aeb5b0;font-size:15px;line-height:1.55}
.club-point strong{color:#fff;font-weight:700}
.club-point .text-link{flex-shrink:0}

/* 4. CANALI DI CONTATTO */
.contact-channels{
  padding:var(--section-y) var(--gutter);
  background:var(--surface);
}
.channels-heading{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:end;
  gap:40px;
  margin-bottom:52px;
}
.channels-heading h2{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(44px,5.3vw,72px);
  font-weight:800;
  line-height:.98;
  letter-spacing:-.05em;
}
.channels-heading>p{
  margin:0 0 5px;
  max-width:34ch;
  color:var(--muted);
  font-size:16px;
  line-height:1.5;
}
.channel-hub{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(340px,.82fr);
  border:1px solid rgba(7,8,7,.16);
  border-radius:10px;
  overflow:visible;
}
.channel-panel{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:530px;
  padding:34px clamp(30px,4vw,58px) 38px;
}
.channel-panel-point{
  overflow:hidden;
  background:#fff;
  border-right:1px solid rgba(7,8,7,.16);
  border-radius:10px 0 0 10px;
  transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease;
}
.channel-panel-point:hover{
  transform:translateY(-2px);
  border-color:rgba(7,8,7,.32);
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}
.channel-panel-point:hover .channel-action .icon{
  transform:translateX(4px);
}
.channel-panel-point::after{
  content:"POINT";
  position:absolute;
  right:-.035em;
  bottom:68px;
  color:transparent;
  font-size:clamp(92px,13vw,190px);
  font-weight:800;
  line-height:.75;
  letter-spacing:-.08em;
  -webkit-text-stroke:1px rgba(7,8,7,.1);
  pointer-events:none;
}
.channel-panel-phone{background:var(--brand);color:var(--ink);border-radius:0 10px 10px 0}
.channel-panel-top{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding-bottom:24px;
  border-bottom:1px solid currentColor;
}
.channel-icon{width:26px;height:26px}
.channel-panel-phone .channel-panel-top{border-color:rgba(7,8,7,.22)}
.channel-panel-phone .channel-icon{color:var(--ink)}
.channel-panel-copy{
  position:relative;
  z-index:1;
  max-width:580px;
  padding-top:42px;
}
.channel-panel-copy .section-eyebrow{color:#68726b}
.channel-panel-phone .section-eyebrow{color:var(--ink)}
.channel-panel-copy .section-eyebrow{display:none}
.channel-panel-copy h3{
  margin:0 0 20px;
  font-size:clamp(35px,4vw,58px);
  line-height:1;
  letter-spacing:-.055em;
}
.channel-panel-copy>p:not(.section-eyebrow):not(.channel-phone):not(.channel-hours){
  max-width:440px;
  margin:0;
  color:#535b55;
  font-size:17px;
  line-height:1.6;
}
.channel-panel-phone .channel-panel-copy>p:not(.section-eyebrow):not(.channel-phone):not(.channel-hours){color:#0b3d2c}
.channel-phone{margin:32px 0 7px;color:#0b3d2c;font-size:13px;line-height:1.5}
.channel-phone a{
  display:inline-block;
  margin-top:3px;
  color:var(--ink);
  font-size:clamp(24px,2.5vw,34px);
  font-weight:700;
  letter-spacing:-.04em;
}
.channel-phone a:hover{color:#fff}
.channel-hours{margin:0;color:#0b3d2c;font-size:12px}
.channel-action{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:54px;
  margin-top:auto;
  padding-top:20px;
  border-top:1px solid rgba(7,8,7,.18);
  font-size:14px;
  font-weight:700;
}
.channel-action:hover{color:#087c53}
.channel-panel-phone .channel-action{border-color:rgba(7,8,7,.22);color:var(--ink)}
.channel-panel-phone .channel-action:hover{color:#fff}

/* 5. INGRESSI NEL NETWORK */
.network-entry{
  padding:var(--section-y) var(--gutter);
  background:#fff;
}
.network-heading{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:0;
  margin-bottom:52px;
  padding-top:0;
  border-top:0;
}
.network-heading h2{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(48px,5.8vw,80px);
  font-weight:800;
  line-height:.95;
  letter-spacing:-.04em;
}
.network-panels{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
  gap:24px;
}
.network-panel{
  display:grid;
  grid-template-rows:minmax(0,.86fr) minmax(0,1fr);
  min-height:730px;
  overflow:hidden;
  border:1px solid rgba(7,8,7,.15);
  border-radius:10px;
  transition:transform 180ms ease,border-color 180ms ease;
}
.network-panel:hover{
  transform:translateY(-2px);
  border-color:rgba(7,8,7,.32);
}
.network-careers{background:var(--surface)}
.network-point{
  grid-template-rows:auto minmax(480px,1fr);
  background:#111412;
  color:#fff;
}
.network-point:hover{
  border-color:rgba(255,255,255,.34);
}
.network-careers:hover .network-action .icon,
.network-point:hover .network-action .icon{
  transform:translateX(4px);
}
.network-visual{
  position:relative;
  min-height:0;
  overflow:hidden;
  background:#dfe2df;
}
.network-visual img{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.network-careers .network-visual img{object-position:56% 50%}
.network-point .network-visual img{object-position:50% 20%}
.network-visual-placeholder{
  position:relative;
  min-height:0;
  overflow:hidden;
  background:#dfe2df;
}
.network-point .network-visual-placeholder{background:#282d29}
.network-visual-placeholder::before,.network-visual-placeholder::after{
  content:"";
  position:absolute;
  background:rgba(7,8,7,.16);
}
.network-visual-placeholder::before{inset:0 auto 0 38%;width:1px}
.network-visual-placeholder::after{inset:58% 0 auto;height:1px}
.network-point .network-visual-placeholder::before,.network-point .network-visual-placeholder::after{background:#ffffff24}
.network-visual-placeholder span{
  position:absolute;
  top:22px;
  left:24px;
  z-index:1;
  color:#68706a;
  font-size:10px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.network-point .network-visual-placeholder span{color:#9ca49e}
.network-visual-placeholder strong{
  position:absolute;
  right:-.02em;
  bottom:-.08em;
  color:transparent;
  font-size:clamp(78px,9vw,142px);
  line-height:.8;
  letter-spacing:-.08em;
  -webkit-text-stroke:1px rgba(7,8,7,.18);
}
.network-point .network-visual-placeholder strong{-webkit-text-stroke-color:#ffffff24}
.network-content{
  display:flex;
  flex-direction:column;
  padding:42px clamp(30px,4vw,54px) 38px;
}
.network-careers .section-eyebrow{color:#657068}
.network-point .section-eyebrow{color:var(--brand)}
.network-content h3{
  margin:13px 0 25px;
  max-width:520px;
  font-size:clamp(34px,3.7vw,54px);
  line-height:1.02;
  letter-spacing:-.055em;
}
.network-content ul{
  display:flex;
  flex-wrap:wrap;
  gap:10px 24px;
  margin:0 0 38px;
  padding:0;
  list-style:none;
  color:#515953;
  font-size:13px;
}
.network-content li{position:relative;padding-left:13px}
.network-content li::before{
  content:"";
  position:absolute;
  top:.55em;
  left:0;
  width:4px;
  height:4px;
  background:var(--brand);
}
.network-point .network-content ul{color:#b3bbb5}
.network-action{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:52px;
  margin-top:auto;
  padding-top:18px;
  border-top:1px solid rgba(7,8,7,.2);
  font-size:14px;
  font-weight:700;
}
.network-careers .network-action:hover{color:#087c53}
.network-point .network-action{border-color:#ffffff32}
.network-point .network-action:hover{color:var(--brand)}

/* 6. CONTATTI & SEDE */
.editorial-contact{
  padding:var(--section-y) var(--gutter);
  background:var(--surface);
  border-top:1px solid rgba(7,8,7,.12);
}
.contact-layout{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:clamp(40px,6vw,100px);
}
.contact-heading{
  font-size:clamp(34px,3.8vw,56px);
  font-weight:800;
  letter-spacing:-.045em;
  margin:0 0 16px;
  color:var(--ink);
}
.contact-lead{
  font-size:17px;
  line-height:1.6;
  color:#4a504c;
  margin:0 0 34px;
  max-width:460px;
}
.contact-info-list{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  max-width:440px;
}
.info-block{
  display:flex;
  flex-direction:column;
  padding:16px 0;
  border-top:1px solid rgba(7,8,7,.12);
}
.info-label{
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:#7a827c;
  margin-bottom:5px;
}
.info-value{
  font-size:14px;
  font-weight:600;
  line-height:1.5;
  color:var(--ink);
  font-style:normal;
  text-decoration:none;
}
.info-value:hover{
  color:#087c53;
}
.contact-form-container{
  background:#fff;
  border:1px solid rgba(7,8,7,.12);
  padding:40px 36px;
}
.editorial-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.form-field-item{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.form-field-item label{
  font-size:13px;
  font-weight:600;
  color:#4a504c;
}
.form-field-item input,
.form-field-item select,
.form-field-item textarea{
  border:1px solid #c9d0ca;
  border-radius:2px;
  padding:12px 14px;
  font-size:15px;
  background:#fff;
  color:var(--ink);
  outline:none;
  font-family:inherit;
  transition:border-color 160ms;
}
.form-field-item input:focus,
.form-field-item select:focus,
.form-field-item textarea:focus{
  border-color:var(--ink);
}
.form-privacy-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:12px;
  line-height:1.5;
  color:#5a605b;
  margin:6px 0;
}
.form-privacy-row input{
  width:16px;
  height:16px;
  margin-top:2px;
  accent-color:var(--ink);
}
.form-privacy-row a{
  color:var(--ink);
  text-decoration:underline;
  text-underline-offset:2px;
}
.editorial-btn{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  background:var(--ink);
  color:#fff;
  font-size:15px;
  font-weight:700;
  padding:16px 22px;
  border-radius:2px;
  border:none;
  cursor:pointer;
  transition:background 180ms;
  width:100%;
}
.editorial-btn:hover{
  background:#1a201c;
}
.editorial-btn .icon{
  width:18px;
  height:18px;
}


.site-footer{background:#050505;color:white;padding:72px var(--gutter) 40px}
.footer-inner{max-width:1380px;margin:0 auto;width:100%}
.footer-main{
  display:grid;
  grid-template-columns:1.35fr repeat(3,minmax(0,1fr));
  gap:clamp(40px,4.5vw,72px);
  padding-bottom:72px;
}
.footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:0}
.footer-brand .brand{width:188px;margin:0}
.footer-brand-copy{
  margin:18px 0 0;
  max-width:280px;
  color:var(--muted);
  font-size:14px;
  line-height:1.75;
  font-weight:400;
}
.footer-brand address{
  font-style:normal;
  display:grid;
  gap:10px;
  margin-top:22px;
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
}
.footer-brand address a{color:#c9cecb}
.social-links{display:flex;gap:14px;margin-top:28px;padding-top:0}
.social-links a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border:1px solid #ffffff22;
  border-radius:8px;
  color:#c9cecb;
}
.social-links a:hover{color:var(--brand);border-color:var(--brand)}
.social-links svg{width:16px;height:16px;fill:currentColor}
.social-links .icon{fill:none;width:16px;height:16px}
.footer-nav{
  display:flex;
  align-items:flex-start;
  flex-direction:column;
  gap:16px;
  font-size:14px;
  font-weight:400;
  line-height:1.55;
  color:#b7bdb9;
}
.footer-nav h2{
  margin:0 0 8px;
  color:#fff;
  font-size:15px;
  font-weight:600;
  letter-spacing:-.01em;
  text-transform:none;
}
.footer-nav a,
.footer-nav button{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:22px;
  text-align:left;
  color:inherit;
}
.footer-nav .icon{
  width:16px;
  height:16px;
  color:var(--brand);
  flex-shrink:0;
  margin-left:0;
}
.site-footer a,.site-footer button{transition:color 180ms}
.site-footer a:hover,.site-footer button:hover{color:var(--brand)}
.footer-legal{
  border-top:1px solid #ffffff22;
  margin-top:8px;
  padding-top:36px;
  color:var(--muted);
  font-size:12px;
  line-height:1.95;
}
.company-line{display:flex;flex-wrap:wrap;gap:12px 26px;margin-bottom:24px}
.company-line strong{color:#d9ddda;font-weight:500}
.company-line>a{margin-left:auto}
.credit-disclaimer p{margin:0 0 16px}
.credit-disclaimer strong{font-weight:500}
.credit-disclaimer a{text-decoration:underline;text-underline-offset:3px}
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:32px;
  padding-top:24px;
  border-top:1px solid #ffffff18;
  font-size:12px;
  line-height:1.6;
}
.footer-bottom p{margin:0}
.footer-bottom-end{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 28px;
}
.footer-bottom nav{display:flex;flex-wrap:wrap;gap:12px 24px}
.back-to-top{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#d9ddda;
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.back-to-top .icon{
  width:32px;
  height:32px;
  padding:7px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  color:var(--brand);
  transform:rotate(-90deg);
  transition:border-color 180ms;
}
.back-to-top:hover .icon{border-color:var(--brand)}
.necessary-cookies{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;border-block:1px solid #d2d8d3;padding:20px 0;font-size:13px}
.necessary-cookies span{color:#087c53}
.cookie-policy{font-size:13px;text-decoration:underline}
.cookie-save{display:block;background:var(--brand);width:100%;padding:14px;margin-top:25px;border-radius:6px;font-weight:600}
dialog{color:var(--ink);border:0;padding:0}
dialog::backdrop{background:rgba(0,0,0,.6)}
body:has(dialog[open]){overflow:hidden}
.mobile-menu{
  position:fixed;
  inset:0 0 0 auto;
  max-width:none;
  max-height:none;
  width:min(420px,100vw);
  height:100%;
  height:100dvh;
  margin:0;
  border:0;
  background:#151716;
  color:#fff;
  padding:22px 30px;
  transform:translateX(100%);
  opacity:.98;
  transition:transform 380ms var(--ease-out),opacity 280ms ease;
}
.mobile-menu[open]{
  transform:translateX(0);
  opacity:1;
}
.mobile-menu.is-closing{
  transform:translateX(100%);
  opacity:.98;
}
.mobile-menu::backdrop{
  background:rgba(0,13,8,.55);
  opacity:0;
  transition:opacity 320ms ease;
}
.mobile-menu[open]::backdrop{opacity:1}
.mobile-menu.is-closing::backdrop{opacity:0}
@starting-style{
  .mobile-menu[open]{
    transform:translateX(100%);
    opacity:.98;
  }
  .mobile-menu[open]::backdrop{opacity:0}
}
@media(prefers-reduced-motion:reduce){
  .mobile-menu,
  .mobile-menu::backdrop{transition:none}
}
.mobile-menu-top{display:flex;align-items:center;justify-content:space-between;gap:20px}
.icon-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0}
.mobile-menu nav{display:flex;flex-direction:column;margin:60px 0 40px}
.mobile-menu nav a,.mobile-menu nav button{display:flex;justify-content:space-between;align-items:center;text-align:left;padding:23px 0;border-bottom:1px solid #ffffff20;font-size:clamp(20px,4vw,32px);font-weight:600;letter-spacing:-.04em}
.mobile-menu nav span{color:var(--brand)}
.mobile-utilities{display:flex;flex-wrap:wrap;gap:25px;font-size:14px}
.service-dialog{width:calc(100% - 40px);max-width:500px;border-radius:24px;padding:52px 36px 36px}
.dialog-close{position:absolute;top:10px;right:10px}
.service-dialog h2{font-size:32px;letter-spacing:-.045em;margin:0 0 20px}
.service-dialog p{line-height:1.6;color:#535b55}
.dialog-contacts{display:grid;margin-top:28px}
.dialog-contacts a{display:flex;justify-content:space-between;padding:17px 0;border-top:1px solid #d2d8d3;font-size:15px}
.dialog-contacts span{color:#087c53}
@media(min-width:1400px){
  .manifesto-title{margin-bottom:50px}
}
@media(min-width:1700px){.site-header nav{font-size:15px}.site-header{gap:38px}.desktop-nav{gap:32px}.utility-nav{gap:30px}.hero{min-height:830px}.hero-type{top:140px}.hero-v2-copy{top:128px}.product-selectors{margin-top:520px}.product-panel{min-height:200px;padding:24px 28px 20px}.hero-wave{height:265px}}
@media(max-width:1270px) and (min-width:1101px){.site-header{gap:20px}.site-header .brand{width:150px}.desktop-nav{padding-left:20px;gap:18px}.utility-nav{gap:17px}.site-header nav{font-size:11px}.utility-nav a,.utility-nav button{gap:6px}}
@media(max-width:1100px){
  .desktop-nav,.utility-nav{display:none}
  .site-header{justify-content:space-between}
  .menu-toggle{display:flex;justify-self:end}
  .hero-v7-nav{
    grid-template-columns:1fr auto;
    justify-content:space-between;
  }
  .hero-v7:has(.hero-v7-brand) .hero-v7-nav:not(.is-sticky){
    left:auto !important;
    right:max(2px, env(safe-area-inset-right, 0px)) !important;
    width:auto;
    grid-template-columns:auto;
    justify-content:end;
    padding-right:0;
  }
  .hero-v7:has(.hero-v7-brand) .hero-v7-nav:not(.is-sticky) .menu-toggle{
    justify-self:end;
  }
  .product-panel{padding:20px 22px 18px}
  .product-panel h2{font-size:28px}
  .product-selectors{gap:16px}
  .hero-type{top:155px}
  .hero{min-height:760px}
  .hero-v2-copy{top:125px;padding-left:30px}
  .hero-v3-stage{grid-template-columns:minmax(360px,.46fr) minmax(0,.54fr);min-height:600px}
  .hero-v4-banner-copy{padding:40px 36px 34px}
  .hero-v4-card{min-height:200px;padding:24px 22px 22px}
  .hero-v4-card-body strong{font-size:20px}
  .hero-v5-banner{display:flex;flex-direction:column;min-height:0}
  .hero-v5-media{position:relative;height:340px}
  .hero-v5-media img{object-position:58% 36%}
  .hero-v5-overlay{background:rgba(7,8,7,.08)}
  .hero-v5-copy{
    max-width:100%;
    min-height:0;
    padding:36px 32px 32px;
    background:#111412;
    justify-content:flex-start;
  }
  .hero-v5-grid{grid-template-columns:1fr}
  .hero-v6-nav{grid-template-columns:1fr auto;padding:0 24px}
  .hero-v6-copy{max-width:54%;padding:148px 28px 36px 32px}
  .hero-v6-media img{object-position:48% 40%}
  .hero-v7-nav{grid-template-columns:1fr auto}
  .hero-v7-nav.is-sticky{
    width:min(1120px,calc(100% - 24px));
    padding:0 10px 0 16px;
  }
  .hero-v7-copy{max-width:54%;padding:120px var(--gutter) 32px}
  
  .manifesto-grid{grid-template-columns:1fr 1fr}
  .manifesto-col{padding:36px 28px 8px 14px}
  .manifesto-col:nth-child(2){border-right:0;padding-right:0}
  .manifesto-col:nth-child(3){grid-column:1/-1;border-right:0;padding-right:0;padding-top:28px;border-top:1px solid rgba(7,8,7,.1)}
  .partner-strip-inner{grid-template-columns:1fr;gap:22px;padding-top:28px}
  .partner-name-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 32px}
  .club-stage{grid-template-columns:minmax(0,1fr) minmax(340px,.85fr)}
  .club-copy{padding-left:42px;padding-right:42px}
  .club-point{margin-inline:42px;align-items:flex-start;flex-direction:column;gap:18px}
  .club-visual{margin:26px 26px 26px 0}
  .channel-panel{min-height:500px;padding-inline:34px}
  .network-panel{min-height:680px}
  .network-content{padding-inline:34px}
}
@media(max-width:850px){
  :root{--section-y:72px}
  .hero{min-height:0}
  .product-selectors{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:430px;margin-bottom:34px;gap:20px}
  .product-panel{min-height:175px;padding:20px 20px 18px;border-radius:22px}
  .product-panel h2{font-size:22px}
  .product-panel:last-child{grid-column:1/-1;justify-self:center;width:calc((100% - 20px)/2)}
  .hero-wave{height:260px}
  .hero-type{top:148px}
  .hero h1{font-size:58px}
  .hero-outline{font-size:12.5vw}
  .hero-v2-copy{top:105px;padding-left:26px}
  .hero-v2-copy h2{font-size:60px}
  .hero-v3-stage{grid-template-columns:1fr;min-height:0}
  .hero-v3-panel{gap:40px;padding:46px 30px 0}
  .hero-v3-media{min-height:360px}
  .hero-v4-banner{min-height:380px}
  .hero-v4-banner-copy{grid-template-columns:1fr;grid-template-rows:auto auto;min-height:380px;padding:36px 28px 30px}
  .hero-v4-cta{grid-column:1;justify-self:start}
  .hero-v4-grid{grid-template-columns:1fr}
  .hero-v4-card{min-height:180px}
  .hero-v5-media{height:280px}
  .hero-v5-copy{padding:32px 28px 28px}
  .hero-v5-media img{object-position:62% 36%}
  .hero-v6-banner{display:flex;flex-direction:column;height:auto;min-height:0}
  .hero-v6-copy{max-width:100%;height:auto;padding:32px 28px 28px;background:#000d08;justify-content:flex-start}
  .hero-v6-grid{grid-template-columns:1fr}
  .hero-v6-media{position:relative;height:300px}
  .hero-v6-media img{object-position:62% 36%}
  .hero-v6-overlay-x{background:rgba(0,13,8,.08)}
  .hero-v6-overlay-y{background:linear-gradient(180deg,rgba(0,13,8,.42) 0%,rgba(0,13,8,.12) 46%,rgba(0,13,8,0) 100%)}
  .hero-v7-cards{
    margin-top:0;
    padding:16px var(--gutter) 0;
  }
  /* Home stacked: media sopra + pannello testo. Pagine interne restano overlay su foto. */
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-banner{
    display:flex;
    flex-direction:column;
    height:auto;
    max-height:none;
    min-height:0;
  }
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-media{
    position:relative;
    height:min(42dvh,280px);
    aspect-ratio:auto;
  }
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-media img{
    object-fit:cover;
    object-position:58% 32%;
  }
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-copy{
    max-width:100%;
    height:auto;
    padding:32px var(--gutter) 28px;
    background:#fff;
    color:var(--ink);
    justify-content:flex-start;
  }
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-copy h1,
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-copy h2{
    color:var(--ink);
  }
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-copy .hero-v7-accent{
    color:var(--brand);
  }
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-lead{
    color:#4a504c;
  }
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-cta{
    border-color:var(--brand);
    background:var(--brand);
    color:var(--ink);
  }
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-cta-arr{
    color:var(--ink);
  }
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-cta:hover{
    border-color:var(--ink);
    background:var(--ink);
    color:#fff;
  }
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-cta:hover .hero-v7-cta-circle{
    opacity:0;
  }
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-cta:hover .hero-v7-cta-arr,
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-cta:hover > span:not(.hero-v7-cta-circle){
    color:#fff;
  }
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-link{
    color:var(--ink);
  }
  .hero-v7:not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-link:hover{
    color:var(--brand);
  }
  .hero-v7-copy h1,
  .hero-v7-copy h2{
    font-size:clamp(32px,8.2vw,48px);
  }
  .hero-v7-copy h1 span,
  .hero-v7-copy h2 span{white-space:normal}
  .hero-v7-lead{
    margin-top:22px;
    font-size:16px;
    max-width:none;
  }
  .hero-v7-grid{grid-template-columns:1fr}
  /* Pagine interne: testo trasparente sull'immagine (niente hero nera) */
  .finance-hero .hero-v7-copy,
  .energia-hero .hero-v7-copy,
  .chi-hero .hero-v7-copy,
  .lavora-hero .hero-v7-copy,
  .legal-hero .hero-v7-copy{
    background:transparent;
  }
  
  .editorial-manifesto{padding:var(--section-y) var(--gutter)}
  .manifesto-title{margin-bottom:40px}
  .manifesto-grid{grid-template-columns:1fr}
  .manifesto-col,
  .manifesto-col:nth-child(2),
  .manifesto-col:nth-child(3){
    border-right:0;
    border-top:1px solid rgba(7,8,7,.1);
    padding:28px 0 8px 14px;
  }
  .manifesto-col:first-child{border-top:0;padding-top:28px}
  .manifesto-trust{margin-bottom:28px}
  .partner-strip-inner{grid-template-columns:1fr;gap:18px;padding-top:28px}
  .partner-name-list{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px 20px;
    overflow:visible;
    padding-bottom:0;
  }
  .partner-logo{flex:none;justify-content:flex-start;height:28px}
  .service-row{grid-template-columns:1fr;gap:16px;padding:36px 0}
  .service-row-num{font-size:14px}
  .service-row-action{margin-top:10px}
  .process-section{padding:var(--section-y) var(--gutter)}
  .process-heading{grid-template-columns:1fr 1fr;gap:32px;margin-bottom:28px}
  .process-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .process-steps li{padding:24px 24px 20px 14px;border-right:1px solid rgba(7,8,7,.1)}
  .process-steps li:nth-child(even){border-right:0;padding-right:0}
  .process-steps li:nth-child(n+3){border-top:1px solid rgba(7,8,7,.14);padding-top:24px}
  .process-number{margin-bottom:14px}
  .metrics-strip{padding:var(--section-y) var(--gutter)}
  .metrics-strip>.editorial-inner{flex-wrap:wrap;gap:22px;padding:28px 0 0}
  .metrics-title{white-space:normal;padding-left:4px}
  .metrics-list{flex:1 1 100%;grid-template-columns:repeat(2,minmax(0,1fr))}
  .metrics-list>div{padding:0 24px 22px 14px;border-right:1px solid rgba(7,8,7,.1)}
  .metrics-list>div:first-child,
  .metrics-list>div:nth-child(odd){padding-left:14px}
  .metrics-list>div:nth-child(even){border-right:0;padding-right:0}
  .metrics-list>div:nth-child(n+3){padding-top:8px;border-top:1px solid rgba(7,8,7,.1)}
  .club-section{padding:var(--section-y) var(--gutter)}
  .club-stage{grid-template-columns:1fr;grid-template-rows:auto auto auto}
  .club-copy{grid-column:1;padding:48px 42px 38px}
  .club-visual{grid-column:1;grid-row:2;margin:0 42px;aspect-ratio:4/3}
  .club-point{grid-column:1;grid-row:3;margin:30px 42px 0;padding:26px 0 34px}
  .contact-channels{padding:var(--section-y) var(--gutter)}
  .channels-heading{grid-template-columns:1fr;margin-bottom:36px}
  .channels-heading>p{margin:0}
  .channel-hub{grid-template-columns:repeat(2,minmax(0,1fr))}
  .channel-panel{min-height:510px;padding-inline:28px}
  .channel-panel-point{border-right:1px solid rgba(7,8,7,.16);border-bottom:0}
  .network-entry{padding:var(--section-y) var(--gutter)}
  .network-heading{gap:14px;margin-bottom:38px}
  .network-heading .section-eyebrow{max-width:none}
  .network-panels{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px}
  .network-panel{grid-template-rows:260px auto;min-height:620px}
  .network-point{grid-template-rows:auto 500px}
  .contact-layout{grid-template-columns:1fr;gap:44px}
  .contact-info-list{grid-template-columns:1fr;gap:0}
}
@media(max-width:560px){
  :root{--gutter:20px;--section-y:60px}
  .site-header{min-height:80px}
  .brand{width:166px}
  .hero-type{top:132px}
  .hero-outline{font-size:12.8vw;letter-spacing:-.065em;transform:scaleY(1.35)}
  .hero h1{font-size:clamp(32px,9.5vw,53px);letter-spacing:-.065em}
  .hero-v2-copy{top:70px;padding-left:8px}
  .hero-v2-copy p{margin-bottom:14px;font-size:10px}
  .hero-v2-copy h2{font-size:48px}
  .hero-v3-panel{gap:34px;padding:40px 22px 0}
  .hero-v3-eyebrow{margin-bottom:22px}
  .hero-v3-copy h2{font-size:40px}
  .hero-v3-lead{font-size:15px}
  .hero-v3-actions{align-items:flex-start;flex-direction:column;gap:14px;margin-top:28px}
  .hero-v3-actions .primary-link{width:100%}
  .hero-v3-module{padding:18px 0}
  .hero-v3-module-copy strong{font-size:16px}
  .hero-v3-media{min-height:270px}
  .hero-v4{padding-bottom:36px}
  .hero-v4-banner{min-height:340px}
  .hero-v4-banner-copy{min-height:340px;padding:30px 22px 24px}
  .hero-v4-banner-copy h2{font-size:36px}
  .hero-v4-lead{font-size:15px}
  .hero-v4-cta{width:100%}
  .hero-v4-card-body strong{font-size:19px}
  .hero-v5{padding-bottom:36px}
  .hero-v5-media{height:220px}
  .hero-v5-copy{padding:28px 22px 26px}
  .hero-v5-copy h2{font-size:30px}
  .hero-v5-lead{font-size:15px}
  .hero-v5-media img{object-position:66% 34%}
  .hero-v5-cta{width:100%}
  .hero-v6{padding-bottom:24px}
  .hero-v6-nav{padding:0 18px}
  .hero-v6-media{height:220px}
  .hero-v6-copy{padding:26px 22px}
  .hero-v6-copy h2{font-size:30px}
  .hero-v6-lead{font-size:15px}
  .hero-v6-cta{width:100%}
  .hero-v6-media img{object-position:66% 34%}
  .hero-v7{padding-bottom:24px}
  .hero-v7-copy{padding:26px 22px}
  .hero-v7-cta{width:100%}
  .product-selectors{display:flex;flex-direction:column;gap:14px;margin-top:360px;margin-bottom:22px}
  .product-panel{min-height:140px;border-radius:20px;padding:18px 20px 16px}
  .product-panel:last-child{width:100%}
  .product-panel h2{font-size:24px}
  .arrow-circle{width:38px;height:38px}
  .arrow-circle .icon{width:20px;height:20px}
  .hero-wave{top:410px;bottom:auto;height:180px}
  .hero::after{content:"";position:absolute;inset:589px 0 0;background:var(--surface);z-index:-1}
  
  .editorial-manifesto,
  .editorial-services,
  .process-section,
  .metrics-strip,
  .club-section,
  .contact-channels,
  .network-entry,
  .editorial-contact,
  .partner-strip{padding:var(--section-y) var(--gutter)}
  .partner-strip-inner{gap:16px;padding-top:24px}
  .partner-name-list{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px 14px;
  }
  .partner-logo{flex:none;height:26px}
  .partner-logo img{max-height:24px}
  .process-heading{grid-template-columns:1fr;gap:12px;margin-bottom:25px}
  .process-heading h2{font-size:30px}
  .process-heading>p{justify-self:start;font-size:14px}
  .process-steps{grid-template-columns:1fr}
  .process-steps li{
    display:grid;
    grid-template-columns:40px 1fr;
    gap:14px;
    padding:20px 0;
    border-right:0;
  }
  .process-steps li:nth-child(n+2){border-top:1px solid rgba(7,8,7,.14)}
  .process-number{margin:4px 0 0;font-size:13px}
  .process-steps h3{font-size:18px}
  .process-steps p{max-width:none;font-size:14px}
  .metrics-strip>.editorial-inner{flex-direction:column;align-items:flex-start;gap:20px;padding:24px 0 0}
  .metrics-title{padding-left:4px}
  .metrics-list{margin-top:0;width:100%}
  .metrics-list>div{padding:0 12px 18px 14px;border-right:1px solid rgba(7,8,7,.1)}
  .metrics-list>div:first-child,
  .metrics-list>div:nth-child(odd){padding-left:14px}
  .metrics-list>div:nth-child(even){border-right:0;padding-right:0}
  .metrics-list dt{font-size:28px}
  .metrics-list dd{font-size:13px;letter-spacing:0;text-transform:none}
  .club-stage{border-radius:9px}
  .club-copy{padding:36px 24px 28px}
  .club-copy h2{margin:15px 0 24px;font-size:44px}
  .club-intro{font-size:17px}
  .club-actions{align-items:flex-start;flex-direction:column;gap:10px;margin-top:30px}
  .primary-link{width:100%}
  .club-visual{margin:0 24px}
  .club-point{margin:24px 24px 0;padding:22px 0 26px}
  .channels-heading{gap:25px;margin-bottom:34px}
  .channels-heading h2{font-size:42px}
  .channels-heading>p{padding-left:16px;font-size:15px}
  .channel-hub{grid-template-columns:1fr}
  .channel-hub{border-radius:8px;overflow:hidden}
  .channel-panel-point,
  .channel-panel-phone{border-radius:0}
  .channel-panel{min-height:430px;padding:26px 24px 28px}
  .channel-panel-point{border-right:0;border-bottom:1px solid rgba(7,8,7,.16)}
  .channel-panel-copy{padding-top:32px}
  .channel-panel-copy h3{font-size:36px}
  .channel-panel-copy>p:not(.section-eyebrow):not(.channel-phone):not(.channel-hours){font-size:15px}
  .channel-panel-point::after{bottom:64px;font-size:100px}
  .network-heading{margin-bottom:34px}
  .network-heading h2{font-size:44px}
  .network-panels{gap:18px}
  .network-panel{grid-template-rows:210px auto;min-height:540px;border-radius:8px}
  .network-point{grid-template-rows:auto 320px;min-height:710px}
  .network-content{padding:32px 24px 28px}
  .network-content h3{font-size:36px}
  .network-content ul{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:30px}
  .network-visual-placeholder strong{font-size:74px}
  .contact-form-container{padding:26px 20px}
  .form-row{grid-template-columns:1fr}
  
  .mobile-menu{padding:18px 20px}
  .mobile-menu nav{margin-top:48px}
  .mobile-menu nav a,.mobile-menu nav button{font-size:24px}
  .service-dialog{padding:50px 26px 28px}
}
@media(max-width:1100px){
  .footer-main{grid-template-columns:1fr 1fr;gap:40px 48px}
  .footer-brand{grid-column:1/-1}
  .footer-bottom{flex-direction:column;align-items:stretch}
  .footer-bottom-end{
    width:100%;
    justify-content:space-between;
  }
  .footer-bottom .back-to-top{margin-left:auto}
}
@media(max-width:560px){
  .site-footer{padding:54px var(--gutter) 34px}
  .footer-main{grid-template-columns:1fr;gap:36px;padding-bottom:40px}
  .footer-brand .brand{width:168px}
  .footer-brand-copy{max-width:none}
  .footer-nav{font-size:13px;gap:12px}
  .footer-nav h2{margin-bottom:4px}
  .footer-legal{padding-top:24px;font-size:12px}
  .credit-disclaimer p{margin-bottom:14px}
  .footer-bottom{margin-top:22px;gap:16px;font-size:12px}
  .footer-bottom nav{gap:12px 18px}
  .footer-bottom-end{
    width:100%;
    justify-content:space-between;
    align-items:center;
  }
  .footer-bottom .back-to-top{margin-left:auto}
}
/* —— Hero alternativa bento (prova) —— */
.hero-bento{
  --bento-radius:30px;
  --bento-scoop:30px;
  --bento-gap:10px;
  --bento-pad-y:10px;
  --bento-bg:#f3f1ed;
  --bento-ink:#0a0a0a;
  /* Full viewport */
  --bento-stage-h:calc(100dvh - (var(--bento-pad-y) * 2));
  min-height:100dvh;
  box-sizing:border-box;
  padding:var(--bento-pad-y) clamp(12px,2vw,22px);
  background:var(--bento-bg);
  color:var(--bento-ink);
}
/* Intro staggered: hero → prodotti sotto */
.hero-bento .hero-bento-main-wrap,
.hero-bento-products-section .hero-bento-product{
  animation:hero-bento-enter .72s cubic-bezier(.22,1,.36,1) both;
  will-change:opacity,transform;
}
.hero-bento .hero-bento-main-wrap{animation-delay:.05s}
.hero-bento-products-section .hero-bento-product:nth-child(1){animation-delay:.18s}
.hero-bento-products-section .hero-bento-product:nth-child(2){animation-delay:.32s}
.hero-bento-products-section .hero-bento-product:nth-child(3){animation-delay:.46s}
@keyframes hero-bento-enter{
  from{opacity:0;transform:translate3d(0,20px,0) scale(.985)}
  to{opacity:1;transform:translate3d(0,0,0) scale(1)}
}
@media(prefers-reduced-motion:reduce){
  .hero-bento .hero-bento-main-wrap,
  .hero-bento-products-section .hero-bento-product{
    animation:none !important;
    opacity:1;
    transform:none;
  }
}
.hero-bento-shell{
  max-width:1480px;
  margin:0 auto;
  height:100%;
}
.hero-bento-stage{
  position:relative;
  display:flex;
  flex-direction:column;
  height:var(--bento-stage-h);
  min-height:min(100dvh - 20px,920px);
}
/* Inverse-corner SVG (Colabs path) — fill matches page bg so image shows through the curve */
.hero-bento-scoop{
  display:block;
  position:absolute;
  width:var(--bento-scoop);
  height:var(--bento-scoop);
  pointer-events:none;
  z-index:2;
}
.hero-bento-scoop path{fill:var(--bento-bg)}
.hero-bento-scoop--bottom{
  top:100%;
  left:0;
  transform:scale(1.01);
}
.hero-bento-scoop--right{
  top:0;
  left:100%;
  transform:scale(1.01);
}
.hero-bento-scoop--headline-top{
  top:calc(var(--bento-scoop) * -1);
  left:0;
  transform:rotate(-90deg);
}
.hero-bento-scoop--headline-end{
  top:auto;
  left:auto;
  right:calc(var(--bento-scoop) * -1);
  bottom:0;
  transform:rotate(-90deg);
}
.hero-bento-nav-sentinel{
  position:absolute;
  top:88px;
  left:0;
  width:1px;
  height:1px;
  pointer-events:none;
  visibility:hidden;
}
.hero-bento-nav{
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:30;
  display:flex;
  align-items:flex-start;
  pointer-events:none;
  transition:none;
}
.hero-bento-nav > *{pointer-events:auto}
/* Sticky glass — montata su body (fuori da .pt-stage) */
.hero-bento-nav.is-sticky{
  position:fixed !important;
  top:14px;
  left:50%;
  right:auto;
  z-index:1000;
  align-items:center;
  gap:8px;
  width:min(1180px,calc(100% - 28px));
  height:58px;
  min-height:58px;
  padding:4px 8px 4px 6px;
  border:1px solid rgba(255,255,255,.55);
  border-radius:999px;
  background:rgba(255,255,255,.78);
  -webkit-backdrop-filter:blur(18px) saturate(1.4);
  backdrop-filter:blur(18px) saturate(1.4);
  box-shadow:0 12px 36px rgba(0,0,0,.14);
  pointer-events:auto;
  transform:translateX(-50%);
  animation:hero-bento-nav-in .4s cubic-bezier(.22,1,.36,1) both;
}
@keyframes hero-bento-nav-in{
  from{opacity:0;transform:translateX(-50%) translateY(-120%)}
  to{opacity:1;transform:translateX(-50%) translateY(0)}
}
@media(prefers-reduced-motion:reduce){
  .hero-bento-nav.is-sticky{animation:none}
}
.hero-bento-nav.is-sticky .hero-bento-scoop{display:none}
.hero-bento-nav.is-sticky .hero-bento-brand{
  flex-direction:row;
  align-items:center;
}
.hero-bento-nav.is-sticky .hero-bento-brand-link{
  height:48px;
  padding:0 18px 0 16px;
  background:transparent;
  border-radius:999px;
}
.hero-bento-nav.is-sticky .hero-bento-brand-link img{height:30px}
.hero-bento-nav.is-sticky .hero-bento-menu{
  height:auto;
  margin-left:0;
  padding:0;
  border-radius:0;
  min-width:0;
}
.hero-bento-nav.is-sticky .hero-bento-pill{
  min-height:46px;
  margin-left:0;
  padding:0 8px;
  background:transparent;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.hero-bento-nav.is-sticky .hero-bento-pill .nav-dropdown-trigger{
  padding:10px 12px;
  font-size:13px;
}
.hero-bento-nav.is-sticky .hero-bento-pill .nav-dropdown-trigger:hover,
.hero-bento-nav.is-sticky .hero-bento-pill .nav-dropdown.is-open .nav-dropdown-trigger{
  background:rgba(255,255,255,.65);
}
.hero-bento-nav.is-sticky .hero-bento-pill .nav-dropdown-panel{
  top:calc(100% + 14px);
}
.hero-bento-nav.is-sticky .hero-bento-utility{
  margin:0 0 0 auto;
  min-height:46px;
  padding:0 6px;
  background:transparent;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.hero-bento-nav.is-sticky .hero-bento-utility a,
.hero-bento-nav.is-sticky .hero-bento-utility button{
  padding:10px 8px;
  font-size:12px;
}
.hero-bento-nav.is-sticky .hero-bento-point{
  min-height:34px;
  padding:0 12px;
  border-color:rgba(0,0,0,.12);
  background:rgba(255,255,255,.5);
}
.hero-bento-nav.is-sticky .hero-bento-utility [data-service="clienti"]{
  min-height:34px;
  padding:0 12px;
  border:1px solid rgba(0,0,0,.14);
  border-radius:999px;
  background:rgba(255,255,255,.7);
  color:var(--bento-ink);
  opacity:1;
}
.hero-bento-nav.is-sticky .hero-bento-utility [data-service="clienti"]:hover{
  background:rgba(0,0,0,.06);
  border-color:rgba(0,0,0,.28);
  color:var(--bento-ink);
  opacity:1;
}
.hero-bento-nav.is-sticky .hero-bento-utility [data-service="clienti"] .icon{
  color:var(--brand);
}
.hero-bento-nav.is-sticky .hero-bento-menu-toggle{
  margin-left:auto;
  margin-right:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.hero-bento-nav.is-sticky .hero-bento-menu-toggle span{
  background:var(--ink);
}
.hero-bento-brand{
  position:relative;
  z-index:2;
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
}
.hero-bento-brand-link{
  display:flex;
  align-items:center;
  height:88px;
  padding:22px 36px 16px 22px;
  background:var(--bento-bg);
  /* 3-value: TL 0 | TR+BL 0 | BR 30 — convex wave under logo */
  border-radius:0 0 var(--bento-radius);
}
.hero-bento-brand-link img{
  display:block;
  width:auto;
  height:40px;
  filter:none !important;
}
/* Nav shell overlaps logo slightly (Colabs translate -50px / pad-left 50px) */
.hero-bento-menu{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  flex:1 1 auto;
  min-width:0;
  height:88px;
  margin-left:calc(var(--bento-scoop) * -1);
  padding:0 10px 0 50px;
  border-radius:0 0 40px;
}
.hero-bento-pill{
  display:flex;
  align-items:center;
  gap:2px;
  min-height:52px;
  max-width:100%;
  margin-left:10px;
  padding:0 14px;
  border-radius:30px;
  background:rgba(255,255,255,.7);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  box-shadow:0 0 15px rgba(0,0,0,.1);
  overflow:visible;
}
.hero-bento-pill > a{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:16px 12px;
  color:var(--bento-ink);
  font-size:14px;
  font-weight:650;
  letter-spacing:-.02em;
  text-decoration:none;
  white-space:nowrap;
  transition:opacity .18s ease;
}
.hero-bento-pill > a:hover{opacity:.7}
.hero-bento-pill .nav-dropdown{position:relative}
.hero-bento-pill .nav-dropdown-trigger{
  color:var(--bento-ink);
  font-size:14px;
  font-weight:650;
  letter-spacing:-.02em;
  padding:16px 12px;
  background:transparent;
  border:0;
  cursor:pointer;
}
.hero-bento-pill .nav-dropdown-trigger:hover,
.hero-bento-pill .nav-dropdown.is-open .nav-dropdown-trigger{
  color:var(--bento-ink);
  background:rgba(255,255,255,.55);
  border-radius:999px;
}
.hero-bento-pill .nav-dropdown-chevron{
  width:13px;
  height:13px;
  opacity:.5;
}
.hero-bento-pill .nav-dropdown-panel{
  top:calc(100% + 10px);
  left:0;
  z-index:40;
  transform:translateX(0) translateY(-6px);
}
.hero-bento-pill .nav-dropdown.is-open .nav-dropdown-panel{
  transform:translateX(0) translateY(0);
}
.hero-bento-pill .nav-dropdown:last-of-type .nav-dropdown-panel{
  left:auto;
  right:0;
}
.hero-bento-utility{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:4px;
  min-height:52px;
  margin:18px 8px 0 auto;
  padding:0 10px;
  border-radius:30px;
  background:rgba(255,255,255,.7);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  box-shadow:0 0 15px rgba(0,0,0,.1);
}
.hero-bento-utility a,
.hero-bento-utility button{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:12px 10px;
  border:0;
  background:transparent;
  color:var(--bento-ink);
  font:inherit;
  font-size:13px;
  font-weight:650;
  letter-spacing:-.02em;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  transition:opacity .18s ease;
}
.hero-bento-utility a:hover,
.hero-bento-utility button:hover{opacity:.7}
.hero-bento-utility .icon{
  width:16px;
  height:16px;
  color:var(--brand);
}
.hero-bento-point{
  padding-inline:12px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:999px;
  margin-right:2px;
}
.hero-bento-menu-toggle{
  display:none;
  flex:0 0 auto;
  margin:14px 10px 0 0;
}
body.uses-hero-bento-nav .site-header{display:none}
/* Fonte sticky bento: fuori flusso, visibile solo quando montata su body */
.hero-bento-sticky-source{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  margin:-1px !important;
  padding:0 !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
  pointer-events:none !important;
}
/* Pagine con sticky glass: mai sticky/bianca v7; nascondi in-banner quando sticky attiva */
body.home-hero-stack .hero-v7-nav.is-sticky,
body.home-hero-stack > .hero-v7-nav{
  display:none !important;
}
body.home-hero-stack:has(> .hero-bento-nav.is-sticky) .hero-v7-nav{
  visibility:hidden;
  pointer-events:none;
}
body.home-hero-stack .hero-bento-nav-sentinel{
  display:none !important;
}
/* In-hero bento (se presente): nav fissa nel layout */
body.home-hero-stack .hero-bento .hero-bento-nav:not(.is-sticky){
  position:absolute !important;
  top:0;
  left:0;
  right:0;
  width:auto;
  height:auto;
  min-height:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  transform:none;
  animation:none;
  pointer-events:none;
  z-index:30;
}
body.home-hero-stack .hero-bento .hero-bento-nav:not(.is-sticky) > *{pointer-events:auto}
/* Sticky glass bento su body dopo hero ufficiale */
body.home-hero-stack > .hero-bento-nav.is-sticky{
  position:fixed !important;
  top:14px;
  left:50%;
  right:auto;
  z-index:1000;
  display:flex;
  align-items:center;
  gap:8px;
  width:min(1180px,calc(100% - 28px));
  height:58px;
  min-height:58px;
  padding:4px 8px 4px 6px;
  border:1px solid rgba(255,255,255,.55);
  border-radius:999px;
  background:rgba(255,255,255,.78);
  -webkit-backdrop-filter:blur(18px) saturate(1.4);
  backdrop-filter:blur(18px) saturate(1.4);
  box-shadow:0 12px 36px rgba(0,0,0,.14);
  pointer-events:auto;
  transform:translateX(-50%);
  clip:auto !important;
}
.hero-v7:has(.hero-v7-brand){
  --hero-v7-brand-bg:#f3f1ed;
  --hero-v7-scoop:30px;
  --hero-v7-brand-h:96px;
}
.hero-v7:has(.hero-v7-brand) .hero-v7-banner{
  overflow:visible !important;
}
/* Home: copy centrato tra bordo basso e ondina logo */
.hero-v7:has(.hero-v7-brand):not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-copy{
  justify-content:center;
  padding-top:calc(var(--hero-v7-brand-h) + var(--hero-v7-scoop));
  padding-bottom:clamp(28px,4vh,52px);
  padding-left:var(--gutter);
  box-sizing:border-box;
}
/* Pagine interne: lascia spazio sotto ondina/nav */
.finance-hero:has(.hero-v7-brand) .hero-v7-copy,
.energia-hero:has(.hero-v7-brand) .hero-v7-copy,
.chi-hero:has(.hero-v7-brand) .hero-v7-copy,
.lavora-hero:has(.hero-v7-brand) .hero-v7-copy,
.legal-hero:has(.hero-v7-brand) .hero-v7-copy{
  padding-top:max(120px, calc(var(--hero-v7-brand-h) + var(--hero-v7-scoop) + 12px));
}
/* Brand scoop Colabs sulla hero ufficiale */
.hero-v7-brand{
  position:absolute;
  top:0;
  left:0;
  z-index:6;
  display:flex;
  flex-direction:column;
  pointer-events:none;
}
.hero-v7-brand > *{pointer-events:auto}
.hero-v7-brand-link{
  display:flex;
  align-items:center;
  height:96px;
  padding:20px 40px 14px 22px;
  background:var(--hero-v7-brand-bg);
  border:0;
  border-radius:0 0 30px;
  box-shadow:none;
  outline:none;
}
/* Niente bordino brand verde sul profilo logo */
.hero-v7-brand-link:focus,
.hero-v7-brand-link:focus-visible{
  outline:2px solid rgba(10,10,10,.28);
  outline-offset:3px;
}
.hero-v7-brand-link img{
  display:block;
  width:auto;
  height:52px;
  filter:none !important;
}
.hero-v7-scoop{
  display:block;
  position:absolute;
  width:var(--hero-v7-scoop);
  height:var(--hero-v7-scoop);
  pointer-events:none;
  z-index:2;
}
.hero-v7-scoop path{fill:var(--hero-v7-brand-bg)}
.hero-v7-scoop--bottom{
  top:100%;
  left:0;
}
.hero-v7-scoop--right{
  top:0;
  left:100%;
}
/* In-banner con brand scoop: voci a dx del logo, brand nav nascosto (c'è lo scoop) */
.hero-v7:has(.hero-v7-brand) .hero-v7-nav:not(.is-sticky){
  position:absolute !important;
  top:18px;
  left:clamp(210px,22vw,280px);
  right:clamp(16px,3vw,40px);
  /* Sopra l'ondina logo (brand z-index:6) così i dropdown non finiscono sotto */
  z-index:7;
  width:auto;
  max-width:none;
  transform:none !important;
  grid-template-columns:max-content 1fr;
  justify-content:stretch;
  gap:clamp(22px,2.8vw,40px);
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  color:#fff;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  animation:none !important;
}
.hero-v7:has(.hero-v7-brand) .hero-v7-nav:not(.is-sticky) .brand{display:none}
.hero-v7:has(.hero-v7-brand) .hero-v7-nav:not(.is-sticky) .desktop-nav{
  justify-self:start;
  padding-left:0;
  gap:24px;
}
.hero-v7:has(.hero-v7-brand) .hero-v7-nav:not(.is-sticky) .utility-nav{
  margin-left:auto;
  justify-self:end;
  gap:8px;
  padding:6px 8px 6px 10px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(0,13,8,.38);
  -webkit-backdrop-filter:blur(10px) saturate(1.1);
  backdrop-filter:blur(10px) saturate(1.1);
}
.hero-v7:has(.hero-v7-brand) .hero-v7-nav:not(.is-sticky) .utility-nav a,
.hero-v7:has(.hero-v7-brand) .hero-v7-nav:not(.is-sticky) .utility-nav button{
  padding:0 10px;
  min-height:34px;
  border-radius:999px;
  text-shadow:none;
}
.hero-v7:has(.hero-v7-brand) .hero-v7-nav:not(.is-sticky) .hero-v7-point{
  border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
}
.hero-v7:has(.hero-v7-brand) .hero-v7-nav:not(.is-sticky) .utility-nav .icon{
  color:var(--brand);
}
@media(max-width:850px){
  .hero-v7:has(.hero-v7-brand){--hero-v7-brand-h:80px}
  .hero-v7-brand-link{
    height:80px;
    padding:16px 28px 12px 16px;
  }
  .hero-v7-brand-link img{height:40px}
  .hero-v7:has(.hero-v7-brand) .hero-v7-nav:not(.is-sticky){
    left:auto;
    right:max(2px, env(safe-area-inset-right, 0px));
    top:14px;
    padding-right:0;
  }
  .hero-v7:has(.hero-v7-brand) .hero-v7-nav:not(.is-sticky) .menu-toggle{
    width:44px;
    height:44px;
    margin:0;
    border-radius:10px;
    background:rgba(0,13,8,.34);
    border:1px solid rgba(255,255,255,.28);
  }
  .hero-v7:has(.hero-v7-brand) .hero-v7-nav:not(.is-sticky) .menu-toggle span{
    background:#fff;
  }
  /* Mobile: copy in pannello / layout pagina — niente recentramento ondina */
  .hero-v7:has(.hero-v7-brand):not(.finance-hero):not(.energia-hero):not(.chi-hero):not(.lavora-hero):not(.legal-hero) .hero-v7-copy{
    justify-content:flex-start;
    padding-top:32px;
    padding-bottom:28px;
  }
  .finance-hero:has(.hero-v7-brand) .hero-v7-copy,
  .energia-hero:has(.hero-v7-brand) .hero-v7-copy,
  .chi-hero:has(.hero-v7-brand) .hero-v7-copy,
  .lavora-hero:has(.hero-v7-brand) .hero-v7-copy,
  .legal-hero:has(.hero-v7-brand) .hero-v7-copy{
    padding-top:32px;
  }
}
.hero-bento-grid{
  display:grid;
  /* Full-screen: solo main, prodotti sotto */
  grid-template-columns:minmax(0,1fr);
  gap:0;
  flex:1 1 auto;
  height:100%;
  min-height:0;
  align-items:stretch;
}
.hero-bento-main-wrap{
  position:relative;
  height:100%;
  min-height:0;
  min-width:0;
}
/* Ticket prodotto — foto + colore logo, fila orizzontale */
.hero-bento-minis{
  position:absolute;
  right:clamp(14px,2vw,24px);
  bottom:clamp(14px,2vw,24px);
  z-index:8;
  display:flex;
  flex-direction:row;
  align-items:stretch;
  gap:8px;
  width:auto;
  max-width:min(620px,68vw);
}
.hero-bento-mini{
  position:relative;
  display:flex;
  align-items:stretch;
  flex:1 1 0;
  min-width:0;
  height:72px;
  overflow:hidden;
  border-radius:16px;
  text-decoration:none;
  isolation:isolate;
  box-shadow:0 10px 22px rgba(0,0,0,.16);
  transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s ease;
}
.hero-bento-mini-media{
  position:relative;
  z-index:0;
  flex:0 0 58px;
  overflow:hidden;
  background-color:transparent;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.hero-bento-mini-media::after{
  content:"";
  position:absolute;
  inset:-18%;
  background-image:inherit;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  transition:transform .55s cubic-bezier(.22,1,.36,1);
  will-change:transform;
}
.hero-bento-mini-copy{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
  flex:1 1 auto;
  min-width:0;
  padding:10px 14px 10px 12px;
}
.hero-bento-mini-copy em{
  font-style:normal;
  font-size:10px;
  font-weight:800;
  letter-spacing:.16em;
  line-height:1;
  opacity:.62;
}
.hero-bento-mini-copy strong{
  font-size:13px;
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.15;
}
.hero-bento-mini-copy strong::after{
  content:"";
  display:block;
  width:0;
  height:2px;
  margin-top:6px;
  border-radius:2px;
  background:currentColor;
  transition:width .4s cubic-bezier(.22,1,.36,1);
}
.hero-bento-mini--green,
.hero-bento-mini--green .hero-bento-mini-copy{
  background:#14d692;
  color:#042016;
}
.hero-bento-mini--white,
.hero-bento-mini--white .hero-bento-mini-copy{
  background:#fff;
  color:#0a0a0a;
}
.hero-bento-mini--ink,
.hero-bento-mini--ink .hero-bento-mini-copy{
  background:#0a0a0a;
  color:#fff;
}
.hero-bento-mini--ink .hero-bento-mini-copy em{color:#14d692;opacity:1}
.hero-bento-mini:hover{
  z-index:2;
  transform:translateY(-6px);
  box-shadow:0 16px 28px rgba(0,0,0,.22);
}
.hero-bento-mini:hover .hero-bento-mini-media::after{
  transform:scale(1.1);
}
.hero-bento-mini:hover .hero-bento-mini-copy strong::after{width:22px}
.hero-bento-mini:active{transform:translateY(-2px)}
@media(prefers-reduced-motion:reduce){
  .hero-bento-mini,
  .hero-bento-mini-media::after,
  .hero-bento-mini-copy strong::after{transition:none}
  .hero-bento-mini:hover,
  .hero-bento-mini:hover .hero-bento-mini-media::after{transform:none}
}
@media(max-width:980px){
  .hero-bento-minis{max-width:min(480px,78vw);gap:6px}
  .hero-bento-mini{height:62px;border-radius:14px}
  .hero-bento-mini-media{flex-basis:46px}
  .hero-bento-mini-copy{padding:8px 10px}
  .hero-bento-mini-copy strong{font-size:12px}
}
@media(max-width:640px){
  .hero-bento-minis{
    left:10px;
    right:10px;
    bottom:10px;
    max-width:none;
    gap:6px;
  }
  .hero-bento-mini{height:56px}
  .hero-bento-mini-media{flex-basis:36px}
  .hero-bento-mini-copy em{display:none}
  .hero-bento-mini-copy strong{font-size:11px}
}
.hero-bento-main{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  height:100%;
  min-height:0;
  overflow:hidden;
  /* Colabs Main: TL TR BR rounded, BL square (title tab) */
  border-radius:var(--bento-radius) var(--bento-radius) var(--bento-radius) 0;
  background:#1a1c1a;
  /* Safari rounded overflow */
  -webkit-mask-image:-webkit-radial-gradient(white,black);
  mask-image:radial-gradient(white,black);
}
.hero-bento-main-media{
  position:absolute;
  inset:0;
}
.hero-bento-main-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:62% 40%;
}
.hero-bento-headline{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  max-width:min(540px,88%);
  margin-top:auto;
  padding:24px 24px 0 0;
  border-radius:0 var(--bento-radius) 0 0;
  background:var(--bento-bg);
}
.hero-bento-headline h2{
  margin:0;
  padding:0 0 22px 0;
  font-size:clamp(34px,4.2vw,56px);
  font-weight:800;
  line-height:.95;
  letter-spacing:-.055em;
  color:var(--bento-ink);
}
.hero-bento-headline h2 span{display:block}
.hero-bento-headline h2 .hero-bento-accent{
  font-style:normal;
  color:var(--brand);
}
.hero-bento-scroll{
  flex-shrink:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  margin:0 0 18px;
  border-radius:50%;
  background:var(--bento-ink);
  color:#fff;
}
.hero-bento-scroll .icon{
  width:18px;
  height:18px;
  animation:hero-bento-scroll-bob 1.8s ease-in-out infinite;
}
@keyframes hero-bento-scroll-bob{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(4px)}
}
.hero-bento-products-section{
  --bento-radius:30px;
  --bento-scoop:30px;
  --bento-gap:10px;
  --bento-bg:#f3f1ed;
  --bento-ink:#0a0a0a;
  padding:0 clamp(12px,2vw,22px) clamp(28px,4vw,48px);
  background:var(--bento-bg);
  color:var(--bento-ink);
}
.hero-bento-products{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:var(--bento-gap);
  width:100%;
  min-height:0;
}
.hero-bento-products-section .hero-bento-product{
  min-height:clamp(240px,32vw,320px);
  height:auto;
  border-radius:var(--bento-radius) var(--bento-radius) 0;
}
.hero-bento-product{
  /* Colabs Cta proportions (scaled): pad 10, btn 50, scoop 20 */
  --bento-go-pad:10px;
  --bento-go-btn:42px;
  --bento-go-scoop:20px;
  position:relative;
  display:flex;
  align-items:flex-end;
  width:100%;
  height:100%;
  min-height:0;
  overflow:hidden;
  /* TL TR BL; BR tagliato dallo scoop freccia */
  border-radius:var(--bento-radius) var(--bento-radius) 0;
  color:#fff;
  text-decoration:none;
  background:#0a0c0a;
  transition:transform .5s cubic-bezier(.22,1,.36,1);
  -webkit-mask-image:-webkit-radial-gradient(white,black);
  mask-image:radial-gradient(white,black);
}
.hero-bento-product::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  background:linear-gradient(135deg,rgba(22,219,150,.0) 0%,rgba(22,219,150,.0) 55%,rgba(22,219,150,.22) 100%);
  opacity:0;
  pointer-events:none;
  transition:opacity .45s ease;
}
.hero-bento-product::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  border:1px solid rgba(255,255,255,.14);
  border-radius:inherit;
  pointer-events:none;
  transition:border-color .4s ease,box-shadow .45s ease;
}
.hero-bento-product:hover{
  transform:translate3d(-3px,-4px,0);
}
.hero-bento-product:hover::before{opacity:1}
.hero-bento-product:hover::after{
  border-color:rgba(22,219,150,.55);
  box-shadow:inset 0 0 0 1px rgba(22,219,150,.2);
}
.hero-bento-product:focus-visible{
  outline:2px solid #16DB96;
  outline-offset:3px;
}
.hero-bento-product-kicker{
  position:absolute;
  top:18px;
  left:18px;
  z-index:3;
  padding:7px 9px;
  border:1px solid rgba(255,255,255,.3);
  border-radius:999px;
  background:rgba(0,13,8,.46);
  color:#fff;
  font-size:9px;
  font-weight:800;
  line-height:1;
  letter-spacing:.14em;
  text-transform:uppercase;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  transition:transform .45s cubic-bezier(.22,1,.36,1),background .35s ease,border-color .35s ease,color .35s ease;
}
.hero-bento-product:hover .hero-bento-product-kicker{
  transform:translateY(-2px);
  background:rgba(22,219,150,.92);
  border-color:rgba(22,219,150,.95);
  color:#042016;
}
.hero-bento-product-media{
  position:absolute;
  inset:-12%;
  z-index:0;
  display:block;
  width:124%;
  height:124%;
  margin:0;
  padding:0;
  border:0;
  overflow:hidden;
  background-color:transparent;
  background-repeat:no-repeat !important;
  background-position:center center !important;
  background-size:cover !important;
  transform:translate3d(0,var(--bento-parallax,0px),0) scale(1);
  transform-origin:center center;
  will-change:transform;
  backface-visibility:hidden;
  transition:transform .7s cubic-bezier(.22,1,.36,1);
}
.hero-bento-product:hover .hero-bento-product-media{
  transform:translate3d(0,var(--bento-parallax,0px),0) scale(1.1);
}
.hero-bento-product-media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  /* frontend-exception: overlay leggero solo in basso per leggibilità testo */
  background:linear-gradient(180deg,rgba(0,13,8,0) 42%,rgba(0,13,8,.45) 78%,rgba(0,13,8,.72) 100%);
  pointer-events:none;
  transition:opacity .45s ease;
}
.hero-bento-product:hover .hero-bento-product-media::after{
  opacity:.88;
  background:linear-gradient(180deg,rgba(0,13,8,.08) 28%,rgba(0,13,8,.55) 72%,rgba(0,13,8,.82) 100%);
}
@media(prefers-reduced-motion:reduce){
  .hero-bento-product,
  .hero-bento-product:hover{transform:none;transition:none}
  .hero-bento-product::before,
  .hero-bento-product::after,
  .hero-bento-product-kicker,
  .hero-bento-product-copy,
  .hero-bento-product-go-btn,
  .hero-bento-product-go-btn .icon{transition:none}
  .hero-bento-product-media,
  .hero-bento-product:hover .hero-bento-product-media{
    transform:none !important;
    transition:none;
  }
  .hero-bento-product:hover .hero-bento-product-kicker,
  .hero-bento-product:hover .hero-bento-product-copy,
  .hero-bento-product:hover .hero-bento-product-go-btn,
  .hero-bento-product:hover .hero-bento-product-go-btn .icon{
    transform:none;
  }
}
.hero-bento-product-copy{
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  gap:5px;
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  /* spazio sicuro: freccia BR + raggio card */
  padding:16px 72px 26px 20px;
  transition:transform .45s cubic-bezier(.22,1,.36,1);
}
.hero-bento-product:hover .hero-bento-product-copy{
  transform:translateY(-4px);
}
.hero-bento-product-copy strong{
  display:block;
  font-size:clamp(14px,1.15vw,16px);
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.22;
  overflow-wrap:break-word;
  word-break:normal;
  transition:color .35s ease;
}
.hero-bento-product:hover .hero-bento-product-copy strong{
  color:#16DB96;
}
.hero-bento-product-copy span{
  display:block;
  font-size:12px;
  font-weight:500;
  color:rgba(255,255,255,.9);
  line-height:1.35;
  overflow-wrap:break-word;
  transition:color .35s ease,opacity .35s ease;
}
.hero-bento-product:hover .hero-bento-product-copy span{
  color:rgba(255,255,255,.98);
}
/* Colabs ArrowCont: page-bg pad, TL 50% radius, negative margin flush to BR */
.hero-bento-product-go{
  position:absolute;
  right:0;
  bottom:0;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:var(--bento-go-pad);
  margin:0 calc(var(--bento-go-pad) * -1) calc(var(--bento-go-pad) * -1) 0;
  background:var(--bento-bg);
  border-radius:50% 0 0 0;
}
.hero-bento-product-go > .hero-bento-scoop{
  width:var(--bento-go-scoop);
  height:var(--bento-go-scoop);
  z-index:1;
}
.hero-bento-scoop--go-top{
  top:calc(var(--bento-go-scoop) * -1);
  right:var(--bento-go-pad);
  left:auto;
  bottom:auto;
  transform:rotate(180deg) scale(1.01);
}
.hero-bento-scoop--go-side{
  top:auto;
  right:auto;
  bottom:var(--bento-go-pad);
  left:calc(var(--bento-go-scoop) * -1);
  transform:rotate(180deg) scale(1.01);
}
.hero-bento-product-go-btn{
  position:relative;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:var(--bento-go-btn);
  height:var(--bento-go-btn);
  border-radius:50%;
  border:1px solid var(--bento-ink);
  background:var(--bento-ink);
  color:#fff;
  overflow:hidden;
  transition:
    transform .45s cubic-bezier(.22,1,.36,1),
    background .35s ease,
    border-color .35s ease,
    color .35s ease,
    box-shadow .45s ease;
}
.hero-bento-product:hover .hero-bento-product-go-btn{
  transform:scale(1.1);
  background:#16DB96;
  border-color:#16DB96;
  color:#042016;
  box-shadow:0 8px 22px rgba(22,219,150,.35);
}
.hero-bento-product-go-btn .icon{
  width:15px;
  height:15px;
  transition:transform .45s cubic-bezier(.22,1,.36,1);
}
.hero-bento-product:hover .hero-bento-product-go-btn .icon{
  transform:translateX(2px) rotate(-28deg) scale(1.28);
}

@media(max-width:980px){
  .hero-bento{
    --bento-pad-y:12px;
    --bento-stage-h:auto;
  }
  .hero-bento-stage{
    height:auto;
    min-height:0;
  }
  .hero-bento-nav{
    position:relative;
    margin-bottom:0;
  }
  .hero-bento-nav.is-sticky{
    position:fixed;
    margin-bottom:0;
  }
  .hero-bento-brand-link{border-radius:0}
  .hero-bento-scoop--bottom,
  .hero-bento-scoop--right{display:none}
  .hero-bento-menu{margin-left:0;padding-left:12px}
  .hero-bento-pill{justify-content:flex-start;margin-left:0}
  .hero-bento{
    min-height:0;
  }
  .hero-bento-grid{
    grid-template-columns:1fr;
    height:auto;
  }
  .hero-bento-main-wrap,
  .hero-bento-main{
    height:auto;
    min-height:min(72dvh,520px);
  }
  .hero-bento-main{border-radius:var(--bento-radius)}
  .hero-bento-products-section{
    padding-bottom:28px;
  }
  .hero-bento-products{
    height:auto;
    grid-template-columns:1fr;
  }
  .hero-bento-products-section .hero-bento-product,
  .hero-bento-product{
    min-height:200px;
    height:auto;
    border-radius:var(--bento-radius) var(--bento-radius) 0;
  }
  .hero-bento-product-copy{
    padding:16px 72px 26px 20px;
  }
}
@media(max-width:1100px){
  .hero-bento-utility{display:none}
  .hero-bento-menu-toggle{
    display:inline-flex;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    width:44px;
    height:44px;
    margin:14px 12px 0 auto;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    cursor:pointer;
  }
  .hero-bento-menu-toggle span{
    display:block;
    width:18px;
    height:2px;
    margin-inline:auto;
    background:var(--ink);
  }
  body.home-hero-stack > .hero-bento-nav.is-sticky{
    justify-content:space-between;
    gap:10px;
    padding:4px 4px 4px 10px;
  }
  body.home-hero-stack > .hero-bento-nav.is-sticky .hero-bento-menu{
    display:none;
  }
  body.home-hero-stack > .hero-bento-nav.is-sticky .hero-bento-menu-toggle{
    display:inline-flex;
    margin:0;
    margin-left:auto;
    flex-shrink:0;
  }
  .hero-v7-nav.is-sticky{
    padding-right:4px;
  }
  .hero-v7-nav.is-sticky .menu-toggle{
    margin-right:0;
  }
}
@media(max-width:640px){
  .hero-bento{padding:10px 10px 16px}
  .hero-bento-menu{display:none}
  .hero-bento-brand-link{
    height:68px;
    padding:14px 20px;
  }
  .hero-bento-brand-link img{height:32px}
  .hero-bento-main-wrap,
  .hero-bento-main{min-height:min(52dvh,360px)}
  .hero-bento-headline{
    max-width:100%;
    padding:18px 16px 0 0;
  }
  .hero-bento-headline h2{
    font-size:clamp(28px,8vw,38px);
    padding-bottom:16px;
  }
  .hero-bento-scroll{margin-bottom:12px}
}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important;animation:none!important}}


/* Five insurance areas, with descriptions kept on two lines. */
.nav-dropdown-panel.ass-nav-panel{width:min(960px,calc(100vw - 48px));grid-template-columns:220px minmax(0,1fr);left:0;right:auto;translate:var(--ass-panel-shift,0px) 0;transform:translateY(-6px)}
.hero-bento-pill .nav-dropdown:last-of-type .nav-dropdown-panel.ass-nav-panel{left:0;right:auto}
.nav-dropdown.is-open .nav-dropdown-panel.ass-nav-panel{transform:translateY(0)}
.ass-nav-panel .nav-dropdown-links{display:grid;grid-template-rows:repeat(3,auto);grid-auto-flow:column;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}
.ass-nav-panel .nav-dropdown-links a{padding-block:9px}
.ass-nav-panel .nav-dropdown-feature{height:100%;min-height:280px;aspect-ratio:auto}
.mobile-menu nav a.mobile-insurance-link{padding-left:20px;font-size:16px}

/* Full-screen internal heroes; the homepage does not use hero-internal. */
.hero-v7.hero-internal .hero-v7-banner{height:100vh;height:100dvh;min-height:0}
.hero-v7.hero-internal:has(.hero-v7-brand) .hero-v7-copy{
  display:flex;flex-direction:column;justify-content:flex-end;height:100%;min-height:0;padding-top:140px;padding-bottom:96px;
}
.hero-v7-scroll{
  position:absolute;z-index:4;left:50%;bottom:24px;transform:translateX(-50%);
  display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.45);
  border-radius:50%;background:rgba(0,13,8,.14);color:#fff;
  transition:background .18s ease,border-color .18s ease;
}
.hero-v7-scroll .icon{width:20px;height:20px;transform:rotate(90deg);transition:transform .18s ease}
.hero-v7-scroll:hover{background:rgba(255,255,255,.12);border-color:var(--brand)}
.hero-v7-scroll:hover .icon{transform:translateY(3px) rotate(90deg)}
@media(max-height:620px){
 .hero-v7.hero-internal:has(.hero-v7-brand) .hero-v7-copy{padding-top:100px;padding-bottom:76px}
 .hero-v7.hero-internal .hero-v7-copy h1{font-size:clamp(28px,6dvh,38px);line-height:1;margin-bottom:12px}
 .hero-v7.hero-internal .hero-v7-copy h1 span{white-space:normal}
 .hero-v7.hero-internal .hero-v7-lead{font-size:14px;line-height:1.4;margin-bottom:0}
 .hero-v7.hero-internal .hero-v7-actions{margin-top:16px;gap:8px 16px}
 .hero-v7.hero-internal .hero-v7-cta{min-height:44px}
 .hero-v7.hero-internal .lavora-eyebrow{font-size:10px;margin-bottom:8px}
 .hero-v7.hero-internal .lavora-hero-kicker{font-size:10px;margin:10px 0 8px}
 .hero-v7.hero-internal .lavora-hero-points{flex-direction:row;flex-wrap:wrap;gap:8px 16px;margin-bottom:0}
 .hero-v7.hero-internal .lavora-hero-points li{font-size:12px;gap:6px}
 .hero-v7-scroll{bottom:14px}
}
@media(prefers-reduced-motion:reduce){.hero-v7-scroll,.hero-v7-scroll .icon{transition:none}}

