/* Sezione EIPASS nella home: colori ufficiali EIPASS, bottone arancio Fo.Svi.Ter. */
.eh { --eip: #0079C1; --eip-deep: #005A90; --eip-soft: #E7F2FA; --eip-soft2: #D6EAF7; --navy: #18317F; --orange: #F78E1E;
  font-family: "PT Sans", system-ui, sans-serif; color: #1d1d1f; overflow: hidden; }
.eh *, .eh *::before { box-sizing: border-box; }
.eh-wrap { width: min(1360px, 100% - 2 * clamp(20px, 4vw, 64px)); margin-inline: auto; }
.eh h2 { font-family: "PT Sans Narrow", "PT Sans", system-ui, sans-serif; font-weight: 700; line-height: 1.02; font-size: clamp(40px, 5vw, 72px); color: var(--navy); margin: 0; }
.eh h3 { font-family: "PT Sans Narrow", "PT Sans", system-ui, sans-serif; font-weight: 700; color: var(--navy); }
.eh ul { list-style: none; margin: 0; padding: 0; }
.eh a { text-decoration: none; color: inherit; }
.eh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--orange); color: #1d1d1f !important; font-weight: 700; font-size: 17px; box-shadow: 0 12px 30px -14px rgba(247, 142, 30, .9); transition: translate .3s, scale .3s, background .3s; }
.eh-btn:hover { translate: 0 -2px; background: #ff9c2f; }
.eh a:focus-visible, .eh button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Variante 1 · banda ufficiale blu */
.eh--banda { background: var(--eip); color: #fff; padding: clamp(70px, 9vw, 120px) 0 clamp(50px, 6vw, 80px); }
.eh--banda .eh-logo { width: clamp(150px, 15vw, 220px); height: auto; margin-bottom: 26px; }
.eh--banda h2 { color: #fff; margin-bottom: 34px; max-width: 12em; }
.eh-fatti { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 36px; }
.eh-fatti li { background: rgba(255, 255, 255, .1); border-radius: 22px; padding: 22px 24px; font-size: 18px; line-height: 1.45; }
.eh-fatti b { display: block; font-family: "PT Sans Narrow", "PT Sans", sans-serif; font-size: 28px; margin-bottom: 6px; }
.eh-nastro { margin-top: clamp(50px, 6vw, 80px); }
.eh-nastro-in { display: flex; gap: 14px; width: max-content; padding-left: clamp(20px, 4vw, 64px); }
.eh-pill { display: flex; flex-direction: column; gap: 2px; background: #fff; color: var(--navy) !important; border-radius: 20px; padding: 18px 24px; min-width: 240px; transition: transform .3s, background .3s; }
.eh-pill:hover { transform: translateY(-4px); background: var(--eip-soft); }
.eh-pill span { font-family: "PT Sans Narrow", "PT Sans", sans-serif; font-weight: 700; font-size: 24px; }
.eh-pill small { font-size: 16px; color: var(--eip-deep); font-weight: 700; }

/* Variante 2 · catalogo compatto a schede */
.eh--catalogo { background: #fff; padding: clamp(70px, 9vw, 120px) 0; }
.eh-head { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; margin-bottom: 34px; }
.eh--catalogo .eh-logo { height: clamp(64px, 6vw, 92px); width: auto; }
.eh-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.eh-tabs button { border: 0; cursor: pointer; font: 700 17px "PT Sans", sans-serif; padding: 13px 20px; border-radius: 999px; background: var(--eip-soft); color: var(--eip-deep); transition: background .25s, color .25s; }
.eh-tabs button span { opacity: 1; margin-left: 4px; }
.eh-tabs button[aria-selected="true"] { background: var(--eip); color: #fff; }
.eh-righe li a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 22px 6px; border-top: 1px solid #DCE6EF; transition: background .25s, padding .25s; }
.eh-righe li:last-child a { border-bottom: 1px solid #DCE6EF; }
.eh-righe li a:hover { background: var(--eip-soft); padding-inline: 18px; }
.eh-righe b { font-family: "PT Sans Narrow", "PT Sans", sans-serif; font-size: clamp(24px, 2.2vw, 32px); color: var(--navy); }
.eh-righe span { font-weight: 700; color: var(--eip-deep); }
.eh-righe em { font-style: normal; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--orange); }
.eh-foot { margin-top: 34px; }

/* Variante 3 · pannello fisso blu e aree che scorrono */
.eh--colonna { background: var(--eip-soft); padding: clamp(70px, 9vw, 120px) 0; overflow: visible; }
.eh-col-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.eh-fisso { position: sticky; top: 110px; }
.eh-pannello { background: var(--eip); color: #fff; border-radius: 28px; padding: clamp(32px, 4vw, 56px); }
.eh--colonna .eh-logo { width: clamp(150px, 14vw, 210px); height: auto; margin-bottom: 26px; }
.eh--colonna h2 { color: #fff; margin-bottom: 18px; }
.eh-pannello p { font-size: 19px; margin: 0 0 30px; }
.eh-area { padding: 8px 0 30px; }
.eh-area h3 { font-size: clamp(30px, 3vw, 42px); margin: 0 0 14px; color: var(--eip-deep); }
.eh-area li a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 20px; margin-bottom: 8px; background: #fff; border-radius: 16px; transition: transform .25s, box-shadow .25s; }
.eh-area li a:hover { transform: translateX(6px); box-shadow: 0 20px 40px -26px rgba(0, 90, 144, .5); }
.eh-area b { font-family: "PT Sans Narrow", "PT Sans", sans-serif; font-size: 24px; color: var(--navy); }
.eh-area span { font-weight: 700; color: var(--eip-deep); font-size: 16px; text-align: right; }

@media (max-width: 1000px) {
  .eh-fatti { grid-template-columns: 1fr; }
  .eh-col-in { grid-template-columns: 1fr; }
  .eh-fisso { position: static; }
  .eh-righe li a { grid-template-columns: 1fr auto; }
  .eh-righe span { grid-column: 1; grid-row: 2; }
  .eh-righe em { grid-row: 1 / span 2; grid-column: 2; }
}
@media (max-width: 640px) {
  .eh-nastro { overflow-x: auto; scrollbar-width: none; }
  .eh-nastro::-webkit-scrollbar { display: none; }
  .eh-pill { min-width: 210px; }
  .eh-area li a { flex-direction: column; gap: 2px; }
  .eh-area span { text-align: left; }
  .eh-btn { width: 100%; }
}

/* EIPASS 7 Moduli User in evidenza */
.eh-evid { display: grid; grid-template-columns: 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--eip); color: #fff; border-radius: 26px; padding: clamp(26px, 3.4vw, 44px); margin: 0 0 34px; box-shadow: 0 30px 70px -36px rgba(0, 90, 144, .6); }
.eh-evid--chiaro { background: #fff; color: #1d1d1f; margin: 6px 0 34px; }
.eh-evid-k { font-weight: 700; color: #fff; margin: 0 0 6px; }
.eh-evid--chiaro .eh-evid-k { color: #b45309; } /* arancio scuro: l arancio pieno su bianco non si legge (contrasto 2,4) */
.eh-evid h3 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.02; margin: 0 0 10px; color: #fff; }
.eh-evid--chiaro h3 { color: var(--navy); }
.eh-evid p { margin: 0 0 16px; font-size: 18px; max-width: 34em; }
.eh-evid-dati { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.eh-evid-dati li { font-weight: 700; font-size: 17px; }
.eh-evid-dati li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 9px; transform: translateY(-2px); }
.eh-evid-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.eh-link { font-weight: 700; text-decoration: underline !important; text-underline-offset: 5px; text-decoration-color: var(--orange) !important; }
.eh-evid--chiaro .eh-link { color: var(--navy); }
.eh--colonna .eh-evid { margin-bottom: 40px; }
@media (max-width: 760px) {
  .eh-evid { grid-template-columns: 1fr; }
  .eh-evid-cta { align-items: stretch; }
  .eh-evid-cta .eh-link { text-align: center; }
}

/* touch: il primo tocco applica l'hover e lo lascia attaccato; qui il sollevamento non parte (web-build, motion-craft sez. 6) */
@media (hover: none), (pointer: coarse) {
  .eh-btn:hover { translate: none; }
  .eh-pill:hover, .eh-area li a:hover { transform: none; }
}

.eh-btn:active { scale: .97; transition-duration: .12s; }

/* titoli su più righe: righe pari, niente parola sola in fondo */
.eh h2 { text-wrap: balance; }
