/* ==========================================================================
   Ermes Digital Communication — integrazioni al tema
   © Ermes Digital Communication. Tutti i diritti riservati. https://www.ermesdigital.it
   Caricato dopo style.css: accessibilità, ricerca nel sito, Teresina, box AI,
   modulo contatti, illustrazioni. Usa gli stessi colori e font del tema.
   ========================================================================== */

:root {
	--ermes-red: #c4191c;
	--ermes-red-text: #ff6b66; /* rosso schiarito per testi piccoli su fondo scuro (contrasto AA) */
	--ermes-bg: #1d1d1d;
	--ermes-bg-2: #1a1a1a;
	--ermes-line: rgba(255, 255, 255, .1);
	--ermes-line-strong: rgba(255, 255, 255, .22);
}

/* ---------- Accessibilità ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10000; padding: 12px 20px; background: var(--ermes-red); color: #fff; font-weight: 600; border-radius: 6px; }
.skip-link:focus { top: 16px; outline: 2px solid #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid #fff !important; outline-offset: 3px; }
.search-icon button { background: none; border: 0; color: inherit; font-size: inherit; cursor: pointer; padding: 0; }
.icon { width: 1.15em; height: 1.15em; vertical-align: -.2em; }
.icon--flip { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) {
	.loader-wrap { display: none !important; }
	.cursor { display: none !important; }
	.rotate-circle, .slide-har .box, .main-marq .box { animation: none !important; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Illustrazioni del set Ermes (trasparenti) nei riquadri del tema ---------- */
.ermes-illustration { object-fit: contain !important; padding: 8%; background: radial-gradient(60% 60% at 50% 40%, rgba(196, 25, 28, .28), transparent 70%); }
.portfolio-fixed .cont .img-hiden img.ermes-illustration { max-height: 320px; margin-inline: auto; }

/* ---------- Bottoni di supporto ---------- */
.ermes-ai-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 30px; border: 1px solid var(--ermes-red); background: transparent; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: background .3s; }
.ermes-ai-btn:hover, .ermes-ai-btn[aria-expanded="true"] { background: var(--ermes-red); }
.butn.butn-sm { padding: 10px 22px; font-size: 12px; }
.alert { padding: 14px 18px; border-radius: 8px; border: 1px solid var(--ermes-line-strong); background: rgba(255, 255, 255, .06); color: #fff; margin-bottom: 20px; }
.alert-danger { border-color: var(--ermes-red); background: rgba(196, 25, 28, .18); }
.alert-success { border-color: rgba(255, 255, 255, .35); }

/* ---------- Modulo contatti ---------- */
.ermes-contact-form .form-group.is-invalid input, .ermes-contact-form .form-group.is-invalid textarea { border-color: var(--ermes-red) !important; }
.ermes-contact-form .field__error { margin: 6px 0 0; font-size: 13px; color: var(--ermes-red-text); }
.ermes-check { display: flex; gap: 12px; align-items: flex-start; }
.ermes-check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--ermes-red); flex: none; }
.ermes-check label { opacity: .85; line-height: 1.6; cursor: pointer; }
.ermes-hp { position: absolute; left: -9999px; }
.ermes-brief { padding: 16px 18px; border: 1px solid var(--ermes-red); border-radius: 12px; margin-bottom: 16px; background: var(--ermes-bg-2); }
.ermes-brief textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--ermes-line-strong); border-radius: 8px; background: var(--ermes-bg); color: #fff; resize: vertical; }
.ermes-brief textarea:focus { outline: none; border-color: #fff; }

/* ---------- Pagina ricerca ---------- */
.ermes-search-hero form { display: flex; gap: 10px; max-width: 720px; margin-top: 30px; }
.ermes-search-hero input { flex: 1; min-width: 0; padding: 16px 22px; border-radius: 30px; border: 1px solid var(--ermes-line-strong); background: var(--ermes-bg-2); color: #fff; font-size: 16px; }
.ermes-search-hero input:focus { outline: none; border-color: #fff; }
.ermes-results { display: grid; gap: 16px; padding: 0; list-style: none; margin: 0; }
.ermes-result { display: flex; gap: 20px; padding: 22px 24px; border: 1px solid var(--ermes-line); border-radius: 12px; background: var(--ermes-bg-2); transition: border-color .3s, transform .3s; }
.ermes-result:hover { border-color: var(--ermes-red); transform: translateY(-2px); }
.ermes-result__media { flex: none; width: 120px; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--ermes-bg-2); display: grid; place-items: center; }
.ermes-result__media img { width: 100%; height: 100%; object-fit: contain; }
.ermes-result__type { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ermes-red-text); font-weight: 600; margin-bottom: 4px; }
.ermes-result h3 { font-size: 20px; margin-bottom: 6px; }
.ermes-result h3 a { color: #fff; }
.ermes-result h3 a:hover { color: var(--ermes-red-text); }
.ermes-result p { margin: 0 0 6px; }
.ermes-result__url { font-size: 12px; opacity: .6; word-break: break-all; }
.ermes-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 30px; list-style: none; }
.ermes-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 30px; border: 1px solid var(--ermes-line-strong); color: #fff; font-size: 13px; text-decoration: none; transition: border-color .3s, background .3s, color .3s; }
.ermes-chip:hover { border-color: #fff; color: #fff; }
.ermes-chip b { color: var(--ermes-red-text); }
@media (max-width: 575px) { .ermes-result__media { display: none; } }

/* ---------- Box AI (sintesi ricerca, "in breve") ---------- */
.ai-box { position: relative; padding: 24px 26px; border-radius: 12px; background: var(--ermes-bg-2); border: 1px solid var(--ermes-red); color: #fff; margin-bottom: 40px; }
.ai-box__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ai-box__badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 30px; background: var(--ermes-red); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: 2px; }
.ai-box__title { font-size: 18px; margin: 0; }
.ai-box__body ul, .ai-box__body ol { padding-left: 20px; margin: 0; }
.ai-box__body li + li { margin-top: 6px; }
.ai-box__body a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ai-box__body a:hover { color: var(--ermes-red-text); }
.ai-box__body p:last-child { margin: 0; }
.ai-box__loading { display: flex; align-items: center; gap: 10px; margin: 0; opacity: .8; }
.ai-box__note { font-size: 12px; opacity: .6; margin: 14px 0 0; }
.ai-box.is-error .ai-box__body { color: var(--ermes-red-text); }
.ai-dots { display: inline-flex; gap: 4px; vertical-align: middle; }
.ai-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ermes-red-text); animation: ermes-blink 1.2s infinite; }
.ai-dots i:nth-child(2) { animation-delay: .2s; }
.ai-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes ermes-blink { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }

/* ---------- Ricerca istantanea (dialog) ---------- */
.search-dialog { border: 1px solid var(--ermes-line-strong); padding: 0; width: min(720px, calc(100vw - 32px)); border-radius: 16px; background: var(--ermes-bg); color: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); margin: max(4vh, 16px) auto auto; }
.search-dialog::backdrop { background: rgba(0, 0, 0, .8); backdrop-filter: blur(6px); }
.search-dialog__inner { padding: 22px; }
.search-dialog__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.search-dialog__title { font-size: 18px; margin: 0; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; border: 1px solid var(--ermes-line-strong); background: transparent; cursor: pointer; transition: background .3s, color .3s; }
.icon-btn:hover { background: #fff; color: #000; }
.icon-btn .icon { width: 20px; height: 20px; }
.icon-btn--ghost { border-color: transparent; opacity: .7; }
.icon-btn--ghost:hover { background: transparent; color: #fff; opacity: 1; }
.icon-btn--primary { background: var(--ermes-red); border-color: var(--ermes-red); }
.icon-btn--primary:hover { background: #7a1f1f; border-color: #7a1f1f; color: #fff; }
.search-dialog .search-form { position: relative; display: flex; gap: 8px; align-items: center; }
.search-form__icon { position: absolute; left: 16px; opacity: .6; pointer-events: none; }
.search-dialog .search-form input { flex: 1; min-width: 0; padding: 15px 16px 15px 48px; border-radius: 30px; border: 1px solid var(--ermes-line-strong); background: var(--ermes-bg-2); color: #fff; font-size: 16px; }
.search-dialog .search-form input:focus { outline: none; border-color: #fff; }
.search-dialog .search-form .butn { white-space: nowrap; }
.search-dialog__help { font-size: 13px; opacity: .6; margin: 10px 0 0; }
.search-live { margin-top: 12px; max-height: 50vh; overflow-y: auto; }
.search-live:empty { display: none; }
.search-live__list { display: grid; gap: 4px; }
.search-live__item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 8px; color: #fff; text-decoration: none; }
.search-live__item:hover, .search-live__item:focus { background: var(--ermes-bg-2); color: #fff; }
.search-live__type { flex: none; min-width: 90px; font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--ermes-red-text); padding-top: 5px; }
.search-live__title { font-weight: 600; display: block; }
.search-live__excerpt { display: block; font-size: 13px; opacity: .7; }
.search-live__more { display: block; padding: 12px 14px; font-weight: 600; color: var(--ermes-red-text); }
.search-live__empty { padding: 12px; opacity: .8; }
.search-dialog__foot { display: flex; align-items: center; gap: 6px; font-size: 14px; opacity: .8; margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--ermes-line); }
.search-dialog__foot .icon { color: var(--ermes-red-text); }
.link-btn { background: none; border: 0; padding: 0; color: #fff; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ermes-red-text); }

/* ---------- Chat Teresina (pagina e widget) ---------- */
.chat { display: flex; flex-direction: column; gap: 16px; }
.chat__thread { display: flex; flex-direction: column; gap: 14px; }
.chat__msg { display: flex; gap: 12px; align-items: flex-end; }
.chat__msg--user { flex-direction: row-reverse; }
.chat__avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ermes-red); color: #fff; flex: none; }
.chat__avatar .icon { width: 18px; height: 18px; }
.chat__msg--user .chat__avatar { background: #fff; color: #000; }
.chat__bubble { max-width: min(80%, 640px); padding: 14px 18px; border-radius: 16px 16px 16px 4px; background: var(--ermes-bg-2); border: 1px solid var(--ermes-line); color: #ddd; font-size: 15px; line-height: 1.7; }
.chat__bubble p:last-child, .chat__bubble ul:last-child, .chat__bubble ol:last-child { margin-bottom: 0; }
.chat__bubble ul, .chat__bubble ol { padding-left: 20px; }
.chat__bubble a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.chat__bubble a:hover { color: var(--ermes-red-text); }
.chat__msg--user .chat__bubble { background: var(--ermes-red); border-color: var(--ermes-red); color: #fff; border-radius: 16px 16px 4px 16px; }
.chat__related-lbl { margin: 12px 0 6px; font-size: 10px; text-transform: uppercase; letter-spacing: 2px; opacity: .6; font-weight: 600; }
.chat__related { display: flex; flex-direction: column; gap: 5px; padding: 0 !important; list-style: none; margin: 0; }
.chat__related a { display: flex; gap: 8px; align-items: baseline; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--ermes-line-strong); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; }
.chat__related a:hover { border-color: var(--ermes-red); color: #fff; }
.chat__related span { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--ermes-red-text); font-weight: 600; flex: none; }
.chat__form { position: relative; display: grid; gap: 10px; padding: 12px; border-radius: 12px; background: var(--ermes-bg-2); border: 1px solid var(--ermes-line-strong); }
.chat__form:focus-within { border-color: #fff; }
.chat__input { width: 100%; border: 0; padding: 8px; resize: none; min-height: 44px; max-height: 200px; background: transparent; color: #fff; font: inherit; }
.chat__input:focus { outline: none; }
.chat__actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.chat__hint { font-size: 13px; opacity: .6; margin: 0; }
.chat__hint kbd { font-size: 12px; padding: 1px 6px; border: 1px solid var(--ermes-line-strong); border-radius: 4px; }
.chat__status { font-size: 14px; color: var(--ermes-red-text); margin: 0; }
.chat__status:empty { display: none; }
.chat__note { font-size: 13px; opacity: .6; margin: 0; }
.chat__suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; font-size: 14px; opacity: .9; }
.chat__suggestions--compact { margin-top: 0; }
.chip { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 30px; border: 1px solid var(--ermes-line-strong); background: transparent; color: #fff; font-size: 13px; cursor: pointer; transition: border-color .3s, background .3s, color .3s; }
.chip:hover { border-color: #fff; }
.chip--sm { padding: 5px 12px; font-size: 12px; }
.teresina { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 950; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.teresina__fab { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 30px; background: var(--ermes-bg-2); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); border: 1px solid var(--ermes-line-strong); cursor: pointer; transition: transform .3s, border-color .3s; }
.teresina__fab:hover { transform: translateY(-3px); border-color: var(--ermes-red); }
.teresina__fab-icon { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ermes-red); color: #fff; }
.teresina__fab-icon::after { content: ""; position: absolute; right: -2px; top: -2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--ermes-bg-2); animation: ermes-pulse 2s infinite; }
@keyframes ermes-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.7); opacity: .7; } }
.teresina__fab[aria-expanded="true"] .teresina__fab-label { display: none; }
.teresina__panel { width: min(400px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 96px)); display: flex; flex-direction: column; border-radius: 16px; background: var(--ermes-bg); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); border: 1px solid var(--ermes-line-strong); overflow: hidden; }
.teresina__panel[hidden] { display: none; }
.teresina__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ermes-bg-2); border-bottom: 1px solid var(--ermes-line); color: #fff; }
.teresina__head > div { flex: 1; }
.teresina__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ermes-red); }
.teresina__name { font-weight: 600; margin: 0; color: #fff; }
.teresina__role { font-size: 12px; opacity: .6; margin: 0; }
.chat--widget { flex: 1; min-height: 0; padding: 16px; }
.chat--widget .chat__thread { flex: 1; overflow-y: auto; min-height: 200px; padding-right: 4px; }
.chat--widget .chat__bubble { max-width: 88%; font-size: 14px; }
.chat--widget .chat__form { grid-template-columns: 1fr auto; align-items: end; padding: 6px 6px 6px 10px; }
.chat--widget .chat__input { min-height: 40px; padding: 6px 4px; }
.chat--widget .chat__status { grid-column: 1 / -1; }
@media (max-width: 600px) { .teresina__fab-label { display: none; } .teresina__fab { padding: 8px; } }

.form-group.rest button, .navbar .search-form .form-group button { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }


/* ---------- Niente cursore personalizzato su touch e mobile ---------- */
@media (hover: none), (pointer: coarse), (max-width: 991.98px) {
	.cursor, .cursor2, .cursor-follower { display: none !important; }
	body { cursor: auto !important; }
}

/* ---------- Teresina a schermo intero su mobile, senza zoom automatico sui campi ---------- */
@media (max-width: 767.98px) {
	.teresina { right: 0; bottom: 0; left: 0; align-items: flex-end; pointer-events: none; padding: 0 16px calc(16px + env(safe-area-inset-bottom)) 0; }
	.teresina > * { pointer-events: auto; }
	.teresina__fab { margin: 0; }
	.teresina__panel { position: fixed; inset: 0; width: 100%; max-height: none; height: 100dvh; border-radius: 0; border: 0; z-index: 1200; }
	.teresina__head { padding-top: max(14px, env(safe-area-inset-top)); }
	.chat--widget { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); }
	.chat--widget .chat__thread { min-height: 0; }
	body.teresina-open { overflow: hidden; }
}
/* iOS ingrandisce la pagina se un campo ha testo sotto i 16px: mai sotto quella soglia */
.chat__input, .search-dialog .search-form input, .ermes-menu__search input, .ermes-search-hero input, .ermes-brief textarea,
.ermes-contact-form input:not([type=checkbox]), .ermes-contact-form textarea { font-size: 16px; }

/* ---------- Ex accento verde acido del tema: ora rosso, con testi leggibili ---------- */
.main-color, .main-color3 { color: var(--ermes-red-text) !important; }
.main-colorbg .text-dark, .main-colorbg3 .text-dark, .main-colorbg.text-dark, .main-colorbg3.text-dark,
.main-colorbg, .main-colorbg3, .butn.main-colorbg3 span, .butn.main-colorbg span { color: #fff !important; }
.main-colorbg3 .stroke, .main-colorbg .stroke { -webkit-text-stroke-color: #fff; }

/* ==========================================================================
   Illustrazioni del set Ermes: forme (SVG inline, currentColor) e personaggi
   ========================================================================== */
.ermes-shape { display: block; width: 100%; height: auto; color: var(--ermes-red); }
.ermes-shape--icon { width: 44px; height: 44px; }
.icon-img-50 .ermes-shape--icon { width: 50px; height: 50px; }
/* forma decorativa nelle testate di pagina */
.page-header { position: relative; overflow: hidden; }
.ermes-hero-shape { position: absolute; right: -4vw; top: 40px; width: clamp(160px, 26vw, 420px); color: var(--ermes-red); opacity: .14; pointer-events: none; animation: ermes-float 14s ease-in-out infinite; }
.ermes-hero-shape .ermes-shape { transform-origin: center; animation: ermes-spin 90s linear infinite; }
@keyframes ermes-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes ermes-spin { to { transform: rotate(360deg); } }
@media (max-width: 767.98px) { .ermes-hero-shape { top: 10px; width: 40vw; right: -12vw; opacity: .1; } }
/* personaggio con forma alle spalle */
.ermes-hero-char { position: relative; width: min(100%, 340px); margin-left: auto; }
.ermes-hero-char--sm { width: 220px; margin: 0 0 24px; }
.ermes-hero-char img { position: relative; width: 100%; height: auto; display: block; }
.ermes-hero-char__shape { position: absolute; inset: 6% 6% auto; width: 88%; color: #3a1012; }
.ermes-empty-char { display: block; width: 200px; height: auto; margin: 0 0 20px; }
/* card "come lavoriamo" (composizione dal file .ai: forma + personaggio in riquadro) */
.ermes-card { height: 100%; padding: 22px 22px 26px; border-radius: 16px; background: var(--ermes-bg-2); border: 1px solid var(--ermes-line); transition: transform .35s, border-color .35s; }
.ermes-card:hover { transform: translateY(-6px); border-color: var(--ermes-red); }
.ermes-card__art { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #f3efec; }
.ermes-card__shape { position: absolute; inset: -18% -18% auto auto; width: 90%; color: #5a1416; opacity: .95; }
.ermes-card__art img { position: absolute; left: 50%; bottom: -4%; width: 82%; height: auto; transform: translateX(-50%); transition: transform .5s; }
.ermes-card:hover .ermes-card__art img { transform: translateX(-50%) scale(1.04); }
.ermes-card h5 { font-size: 18px; }
/* 404 */
.ermes-404 { position: relative; width: min(100%, 360px); margin: 0 auto 30px; }
.ermes-404 img { position: relative; width: 100%; height: auto; display: block; }
.ermes-404__shape { position: absolute; inset: 0; color: #3a1012; }
.ermes-404__code { position: absolute; right: -6%; top: 4%; font-size: 64px; font-weight: 800; color: transparent; -webkit-text-stroke: 1px var(--ermes-red-text); letter-spacing: 2px; }
/* widget Teresina: avatar illustrato */
.teresina__avatar, .chat__avatar { overflow: hidden; }
.teresina__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .ermes-hero-shape, .ermes-hero-shape .ermes-shape { animation: none; } }

/* ---------- Scena 3D nell'hero (Three.js) ---------- */
.header-main-crev { position: relative; }
.ermes-3d { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.ermes-3d.is-ready { opacity: 1; }
.ermes-3d canvas { display: block; width: 100% !important; height: 100% !important; }
.header-main-crev .container.ontop { position: relative; z-index: 2; }
.header-main-crev .bg-pattern { z-index: 1; opacity: .5; }


/* ---------- Gallery: le miniature si aprono a schermo intero (Magnific Popup del tema) ---------- */
.ermes-zoom { position: relative; display: block; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.ermes-zoom img { display: block; width: 100%; transition: transform .5s; }
.ermes-zoom:hover img, .ermes-zoom:focus-visible img { transform: scale(1.03); }
.ermes-zoom__ico { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(26, 26, 26, .85); color: #fff; opacity: 0; transition: opacity .3s; }
.ermes-zoom__ico svg { width: 18px; height: 18px; }
.ermes-zoom:hover .ermes-zoom__ico, .ermes-zoom:focus-visible .ermes-zoom__ico { opacity: 1; }
@media (hover: none) { .ermes-zoom__ico { opacity: 1; } }
.mfp-bg { background: #0d0d0d; opacity: .94; }
.mfp-figure figcaption .mfp-title, .mfp-counter { display: none !important; } /* galleria progetti: solo immagini, niente didascalie né contatore */
.mfp-image-holder .mfp-close, .mfp-arrow { color: #fff; opacity: .9; }
.mfp-close:focus-visible, .mfp-arrow:focus-visible { outline: 2px solid #fff; }
.ermes-illustration--svg { padding: 6%; }

/* ---------- L'omino del logo come marchio ---------- */
.ermes-omino-inline { display: inline-block; width: 18px; vertical-align: -3px; margin-right: 4px; color: var(--ermes-red-text); }
.ermes-omino-inline .ermes-shape { display: inline-block; }
.teresina__fab-icon .ermes-shape { width: 22px; height: 22px; color: #fff; }
.teresina__avatar .ermes-shape { width: 60%; height: auto; color: #fff; }

/* ---------- Effetti (ispirati a siti di motion design, nello stile Ermes) ---------- */
/* titolo dell'hero reso in WebGL: il testo HTML resta per lettori di schermo e motori, ma invisibile */
.html-mesh-hidden { color: transparent !important; -webkit-text-fill-color: transparent; }
.header-main-crev .caption h1 { position: relative; z-index: 3; }
/* bordo luminoso rotante sui bottoni con bordo */
@property --ermes-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.butn.butn-bord { position: relative; isolation: isolate; }
.butn.butn-bord::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--ermes-angle), transparent 0 60%, #fff 78%, var(--ermes-red) 88%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; z-index: -1; }
.butn.butn-bord:hover::before, .butn.butn-bord:focus-visible::before { opacity: 1; animation: ermes-angle 1.6s linear infinite; }
@keyframes ermes-angle { to { --ermes-angle: 360deg; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ==========================================================================
   Tipografia fluida: il tema usa pixel fissi (piccoli sui grandi schermi, rigidi sui piccoli).
   Le dimensioni scalano con la finestra tra un minimo leggibile e un massimo.
   ========================================================================== */
:root { --fz-min: 16px; --fz-scale: 1; } /* --fz-scale: moltiplicatore scelto dal widget di accessibilità */
body { font-size: clamp(calc((16px) * var(--fz-scale, 1)), calc((0.9rem + 0.3vw) * var(--fz-scale, 1)), calc((18px) * var(--fz-scale, 1))) !important; }
p { font-size: clamp(calc((16px) * var(--fz-scale, 1)), calc((0.92rem + 0.35vw) * var(--fz-scale, 1)), calc((19.5px) * var(--fz-scale, 1))) !important; line-height: 1.75 !important; }
li, td, th, label, input, textarea, select, .dropdown-item, .nav-link, .chat__bubble, .ermes-result p, .ai-box__body { font-size: clamp(calc((15px) * var(--fz-scale, 1)), calc((0.88rem + 0.3vw) * var(--fz-scale, 1)), calc((18px) * var(--fz-scale, 1))); }
.fz-10, .fz-12 { font-size: clamp(calc((13px) * var(--fz-scale, 1)), calc((0.75rem + 0.15vw) * var(--fz-scale, 1)), calc((14px) * var(--fz-scale, 1))) !important; }
.fz-13 { font-size: clamp(calc((14px) * var(--fz-scale, 1)), calc((0.8rem + 0.2vw) * var(--fz-scale, 1)), calc((15.5px) * var(--fz-scale, 1))) !important; }
.fz-14 { font-size: clamp(calc((15px) * var(--fz-scale, 1)), calc((0.85rem + 0.3vw) * var(--fz-scale, 1)), calc((17px) * var(--fz-scale, 1))) !important; }
.fz-15, .fz-16 { font-size: clamp(calc((16px) * var(--fz-scale, 1)), calc((0.9rem + 0.35vw) * var(--fz-scale, 1)), calc((18.5px) * var(--fz-scale, 1))) !important; }
.fz-18 { font-size: clamp(calc((17px) * var(--fz-scale, 1)), calc((0.95rem + 0.4vw) * var(--fz-scale, 1)), calc((20.5px) * var(--fz-scale, 1))) !important; }
.fz-20, .fz-22 { font-size: clamp(calc((18px) * var(--fz-scale, 1)), calc((1rem + 0.5vw) * var(--fz-scale, 1)), calc((23px) * var(--fz-scale, 1))) !important; }
.fz-24, .fz-25, .fz-26 { font-size: clamp(calc((20px) * var(--fz-scale, 1)), calc((1.05rem + 0.7vw) * var(--fz-scale, 1)), calc((27px) * var(--fz-scale, 1))) !important; }
.fz-28, .fz-30 { font-size: clamp(calc((22px) * var(--fz-scale, 1)), calc((1.1rem + 0.9vw) * var(--fz-scale, 1)), calc((32px) * var(--fz-scale, 1))) !important; }
.fz-35, .fz-40, .fz-42 { font-size: clamp(calc((26px) * var(--fz-scale, 1)), calc((1.2rem + 1.4vw) * var(--fz-scale, 1)), calc((44px) * var(--fz-scale, 1))) !important; }
.fz-44, .fz-45, .fz-46, .fz-48, .fz-50 { font-size: clamp(calc((30px) * var(--fz-scale, 1)), calc((1.3rem + 1.8vw) * var(--fz-scale, 1)), calc((54px) * var(--fz-scale, 1))) !important; }
.fz-55 { font-size: clamp(calc((32px) * var(--fz-scale, 1)), calc((1.35rem + 2.1vw) * var(--fz-scale, 1)), calc((60px) * var(--fz-scale, 1))) !important; }
.fz-60, .fz-65 { font-size: clamp(calc((34px) * var(--fz-scale, 1)), calc((1.4rem + 2.4vw) * var(--fz-scale, 1)), calc((66px) * var(--fz-scale, 1))) !important; }
.fz-70 { font-size: clamp(calc((36px) * var(--fz-scale, 1)), calc((1.45rem + 2.8vw) * var(--fz-scale, 1)), calc((76px) * var(--fz-scale, 1))) !important; }
.fz-80 { font-size: clamp(calc((40px) * var(--fz-scale, 1)), calc((1.5rem + 3.3vw) * var(--fz-scale, 1)), calc((88px) * var(--fz-scale, 1))) !important; }
h1:not([class*="fz-"]) { font-size: clamp(calc((36px) * var(--fz-scale, 1)), calc((1.45rem + 2.8vw) * var(--fz-scale, 1)), calc((74px) * var(--fz-scale, 1))) !important; }
h2:not([class*="fz-"]) { font-size: clamp(calc((28px) * var(--fz-scale, 1)), calc((1.25rem + 1.7vw) * var(--fz-scale, 1)), calc((48px) * var(--fz-scale, 1))) !important; }
h3:not([class*="fz-"]) { font-size: clamp(calc((24px) * var(--fz-scale, 1)), calc((1.15rem + 1.2vw) * var(--fz-scale, 1)), calc((38px) * var(--fz-scale, 1))) !important; }
h4:not([class*="fz-"]) { font-size: clamp(calc((21px) * var(--fz-scale, 1)), calc((1.05rem + 0.8vw) * var(--fz-scale, 1)), calc((30px) * var(--fz-scale, 1))) !important; }
h5:not([class*="fz-"]) { font-size: clamp(calc((19px) * var(--fz-scale, 1)), calc((1rem + 0.5vw) * var(--fz-scale, 1)), calc((25px) * var(--fz-scale, 1))) !important; }
h6:not([class*="fz-"]) { font-size: clamp(calc((17px) * var(--fz-scale, 1)), calc((0.95rem + 0.4vw) * var(--fz-scale, 1)), calc((21px) * var(--fz-scale, 1))) !important; }
h1, h2, h3 { line-height: 1.15; }
.sub-title, .dot-titl, .dot-titl-non, h6.sub-title, h6.dot-titl, h6.dot-titl-non, span.sub-title { font-size: clamp(calc((13px) * var(--fz-scale, 1)), calc((0.78rem + 0.2vw) * var(--fz-scale, 1)), calc((15px) * var(--fz-scale, 1))) !important; }
.navbar .navbar-nav .nav-link { font-size: clamp(calc((13px) * var(--fz-scale, 1)), calc((0.78rem + 0.15vw) * var(--fz-scale, 1)), calc((14.5px) * var(--fz-scale, 1))); }
.navbar .dropdown-menu .dropdown-item { font-size: clamp(calc((14px) * var(--fz-scale, 1)), calc((0.82rem + 0.2vw) * var(--fz-scale, 1)), calc((16px) * var(--fz-scale, 1))); }
.butn { font-size: clamp(calc((13px) * var(--fz-scale, 1)), calc((0.8rem + 0.2vw) * var(--fz-scale, 1)), calc((15px) * var(--fz-scale, 1))); }
.main-marq .item h4, .main-marq .box .item h4 { font-size: clamp(calc((34px) * var(--fz-scale, 1)), calc((2rem + 3vw) * var(--fz-scale, 1)), calc((90px) * var(--fz-scale, 1))) !important; }
/* mobile: le testate del tema forzavano 55-60px, troppo per uno schermo stretto */
@media (max-width: 575.98px) {
	.fz-80, .fz-70, h1.fz-80, h2.fz-70 { font-size: clamp(calc((34px) * var(--fz-scale, 1)), calc((9.5vw) * var(--fz-scale, 1)), calc((44px) * var(--fz-scale, 1))) !important; }
	.fz-55, .fz-60, .fz-65, h1.fz-55, h1.fz-60 { font-size: clamp(calc((30px) * var(--fz-scale, 1)), calc((8.5vw) * var(--fz-scale, 1)), calc((40px) * var(--fz-scale, 1))) !important; }
	.fz-50, h2.fz-50, h3.fz-50 { font-size: clamp(calc((28px) * var(--fz-scale, 1)), calc((7.5vw) * var(--fz-scale, 1)), calc((36px) * var(--fz-scale, 1))) !important; }
	h1:not([class*="fz-"]) { font-size: clamp(calc((32px) * var(--fz-scale, 1)), calc((9vw) * var(--fz-scale, 1)), calc((42px) * var(--fz-scale, 1))) !important; }
}

/* ==========================================================================
   Articolo del blog: colonna di lettura, indice laterale, navigazione
   ========================================================================== */
.ermes-post__kicker { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.ermes-post__kicker a { color: var(--ermes-red-text); }
.ermes-post__title { max-width: 18ch; }
.ermes-post__lead { max-width: 64ch; margin-top: 24px; font-size: clamp(18px, 1rem + 0.6vw, 22px) !important; line-height: 1.6 !important; color: #eee; font-weight: 300; }
.ermes-post { padding-top: 40px; }
.ermes-post__cover { margin: 0 0 50px; border-radius: 16px; overflow: hidden; background: var(--ermes-bg-2); }
.ermes-post__cover img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.ermes-post__side { position: sticky; top: 110px; align-self: flex-start; }
.ermes-toc { margin-bottom: 30px; padding: 18px 20px; border: 1px solid var(--ermes-line); border-radius: 12px; background: var(--ermes-bg-2); }
.ermes-toc summary { cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--ermes-red-text); list-style: none; }
.ermes-toc summary::-webkit-details-marker { display: none; }
.ermes-toc summary::after { content: "+"; float: right; font-size: 16px; line-height: 1; }
.ermes-toc[open] summary::after { content: "–"; }
.ermes-toc__list { margin: 14px 0 0; padding: 0 0 0 18px; display: grid; gap: 8px; }
.ermes-toc__list li::marker { color: var(--ermes-red-text); font-size: 13px; }
.ermes-toc__list a { color: rgba(255, 255, 255, .78); font-size: 14px !important; line-height: 1.4; text-decoration: none; }
.ermes-toc__list a:hover, .ermes-toc__list a.is-active { color: #fff; }
.ermes-toc__list a.is-active { text-decoration: underline; text-decoration-color: var(--ermes-red); text-underline-offset: 4px; }
.ermes-post__cta { padding: 20px; border-radius: 12px; border: 1px solid var(--ermes-line); }
.ermes-post__cta p { margin-bottom: 14px; }
.ermes-post__cta .link-btn { display: block; font-size: 14px; }
/* corpo del testo (HTML dal CMS) */
.ermes-post__body { max-width: 720px; }
.ermes-post__body > * + * { margin-top: 1.25em; }
.ermes-post__body p { font-size: clamp(17px, 1rem + 0.35vw, 19.5px) !important; line-height: 1.8 !important; color: #d9d9d9; }
.ermes-post__body p:first-of-type { font-size: clamp(18px, 1.05rem + 0.4vw, 21px) !important; color: #f0f0f0; }
.ermes-post__body h2 { position: relative; margin-top: 2.4em; padding-top: 18px; font-size: clamp(24px, 1.15rem + 1.1vw, 34px) !important; line-height: 1.25; }
.ermes-post__body h2::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; background: var(--ermes-red); border-radius: 3px; }
.ermes-post__body h3 { margin-top: 1.8em; font-size: clamp(20px, 1.05rem + 0.6vw, 25px) !important; line-height: 1.3; }
.ermes-post__body h2 + p, .ermes-post__body h3 + p { margin-top: .7em; }
.ermes-post__body ul, .ermes-post__body ol { padding-left: 1.3em; display: grid; gap: .55em; }
.ermes-post__body li { font-size: clamp(16.5px, 0.98rem + 0.3vw, 18.5px); line-height: 1.7; color: #d9d9d9; }
.ermes-post__body ul li::marker { color: var(--ermes-red); }
.ermes-post__body ol li::marker { color: var(--ermes-red-text); font-weight: 600; }
.ermes-post__body strong { color: #fff; font-weight: 600; }
.ermes-post__body a { color: #fff; text-decoration: underline; text-decoration-color: var(--ermes-red); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.ermes-post__body a:hover { color: var(--ermes-red-text); }
.ermes-post__body blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--ermes-red); background: var(--ermes-bg-2); border-radius: 0 12px 12px 0; font-size: 1.1em; }
.ermes-post__body img { max-width: 100%; height: auto; border-radius: 12px; }
.ermes-post__body hr { border: 0; border-top: 1px solid var(--ermes-line); margin: 2em 0; }
.ermes-post .ai-box--inline { margin-bottom: 40px; }
/* precedente / successivo */
.ermes-post__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--ermes-line); }
.ermes-post__nav-item { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--ermes-line); border-radius: 12px; color: #fff; transition: border-color .3s; }
.ermes-post__nav-item:hover { border-color: var(--ermes-red); color: #fff; }
.ermes-post__nav-item span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ermes-red-text); }
.ermes-post__nav-item strong { font-size: 15px; line-height: 1.4; }
.ermes-post__nav-item--right { text-align: right; align-items: flex-end; }
@media (max-width: 991.98px) {
	.ermes-post__side { position: static; margin-top: 40px; }
	.ermes-post__cover { margin-bottom: 30px; }
	.ermes-post__nav { grid-template-columns: 1fr; }
	.ermes-post__nav-item--right { text-align: left; align-items: flex-start; }
}

/* ---------- "Torna su" del tema sopra il pulsante di Teresina, mai sovrapposti ---------- */
.progress-wrap { bottom: 100px !important; right: 16px !important; }
@media (max-width: 600px) { .progress-wrap { display: block; bottom: 92px !important; } }
body.teresina-open .progress-wrap { display: none; }

/* ---------- Marchio 3D (omino estruso) nelle testate ---------- */
.ermes-mark { position: absolute; right: clamp(16px, 6vw, 120px); top: 90px; width: clamp(120px, 15vw, 220px); aspect-ratio: 1.25; pointer-events: none; z-index: 1; }
.ermes-mark .ermes-shape { width: 70%; margin: 15%; color: var(--ermes-red); opacity: .35; transition: opacity .6s; }
.ermes-mark.has-3d .ermes-shape { opacity: 0; }
.ermes-mark canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1s; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); }
.ermes-mark.is-ready canvas { opacity: 1; }
@media (max-width: 767.98px) { .ermes-mark { top: 70px; right: 8px; width: 96px; } }

/* ---------- Servizi: immagini fisse a sinistra che cambiano scorrendo i contenuti ---------- */
.portfolio-fixed .img:nth-of-type(6) { z-index: 6; }
.portfolio-fixed .img:nth-of-type(7) { z-index: 7; }
.portfolio-fixed .img { background-size: cover; transform: scale(1.06); transition: opacity .6s ease, transform 1.6s ease; }
.portfolio-fixed .img.current, .portfolio-fixed .img:first-of-type { transform: scale(1); }
.portfolio-fixed .left::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 70%, rgba(26, 26, 26, .55)); }

/* ---------- Mini scene 3D dei servizi ---------- */
.ermes-scene { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: radial-gradient(70% 70% at 50% 45%, #262626, #161616 75%); border: 1px solid var(--ermes-line); outline-offset: 4px; }
.ermes-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: opacity .6s; }
.ermes-scene.has-3d img { opacity: 0; pointer-events: none; }
.ermes-scene canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .8s; cursor: crosshair; }
.ermes-scene.is-ready canvas { opacity: 1; }
/* grana fine sopra la scena 3D, come nelle illustrazioni del set */
.ermes-scene.has-3d::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .22; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); border-radius: inherit; }
.ermes-scene__hint, .ermes-scene__clear { z-index: 3; }
.ermes-scene__hint { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 30px; background: rgba(26, 26, 26, .85); border: 1px solid var(--ermes-line-strong); color: #fff; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0; transition: opacity .4s; }
.ermes-scene.is-ready .ermes-scene__hint { opacity: .85; }
.ermes-scene.is-hot .ermes-scene__hint { opacity: 0; }
@media (hover: none) { .ermes-scene__hint::before { content: "Tocca"; } .ermes-scene__hint { font-size: 0; } .ermes-scene__hint::before { font-size: 11px; } }
.ermes-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px rgba(0, 0, 0, .45); border-radius: inherit; }
/* riquadro rosso sulle scene: più in basso e più compatto, così copre poco l'animazione */
.serv-intro .img .cont-box { bottom: -96px; width: 44%; min-width: 260px; padding: 18px 22px; border-radius: 12px; }
.serv-intro .img .cont-box > span:empty { display: none; }
.serv-intro .img .cont-box h5 { margin-top: 0 !important; font-size: clamp(15px, 0.9rem + 0.3vw, 18px) !important; line-height: 1.35; }
.serv-intro .img.mb-50 { margin-bottom: 120px !important; }
@media (max-width: 767.98px) { .serv-intro .img .cont-box { bottom: -70px; width: 70%; } .serv-intro .img.mb-50 { margin-bottom: 96px !important; } }
.ermes-scene[data-ermes-scene="graphic-design"] canvas { cursor: crosshair; }
.ermes-scene[data-ermes-scene="graphic-design"].is-hot .ermes-scene__hint { opacity: .85; }
.ermes-scene.has-drawing .ermes-scene__hint { opacity: 0 !important; }
.ermes-scene__clear { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 7px 14px; border-radius: 30px; border: 1px solid var(--ermes-line-strong); background: rgba(26, 26, 26, .9); color: #fff; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; }
.ermes-scene__clear:hover { border-color: #fff; }
.ermes-scene__cam { background: var(--ermes-red); border-color: var(--ermes-red); }
.ermes-scene__cam:hover { background: #7a1f1f; }
.ermes-scene__cam:disabled { opacity: .7; cursor: wait; }

/* ---------- Servizi: le scene 3D nel pannello fisso a sinistra ---------- */
.portfolio-fixed .img.ermes-scene--panel { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; border: 0; background: #161616; transform: none; }
.portfolio-fixed .img.ermes-scene--panel img { padding: 0; object-fit: cover; }
.portfolio-fixed .img.ermes-scene--panel::after { box-shadow: inset 0 0 120px rgba(0, 0, 0, .5); }
.portfolio-fixed .img.ermes-scene--panel .ermes-scene__hint { right: 24px; bottom: 24px; }
.portfolio-fixed .img.ermes-scene--panel .ermes-scene__clear { left: 24px; bottom: 24px; }
.portfolio-fixed .img.ermes-scene--panel.current { pointer-events: auto; }
.portfolio-fixed .img.ermes-scene--panel:not(.current):not(:first-of-type) { pointer-events: none; }

/* ---------- Teresina su desktop: pannello più largo e alto quanto lo schermo ---------- */
@media (min-width: 768px) {
	.teresina { bottom: 20px; right: 20px; }
	.teresina__panel { width: min(540px, calc(100vw - 40px)); height: calc(100vh - 40px); max-height: none; display: flex; flex-direction: column; }
	.teresina__head { padding: 18px 20px; }
	.teresina__avatar { width: 48px; height: 48px; }
	.teresina__name { font-size: 17px; }
	.chat--widget { padding: 20px; }
	.chat--widget .chat__thread { flex: 1; min-height: 0; }
	.chat--widget .chat__bubble { font-size: 15.5px; max-width: 84%; padding: 15px 19px; }
	.chat--widget .chat__input { min-height: 48px; font-size: 16px; }
	.chat__suggestions--compact .chip { font-size: 13px; padding: 7px 14px; }
}
/* Teresina sopra la barra di navigazione (z 999); nascosta quando il menu mobile è aperto */
.teresina { z-index: 1100; }
body.ermes-menu-open .teresina { display: none; }

/* ---------- Forme brand dei servizi: la stessa in menu, liste, riquadri e capitoli ---------- */
.ermes-shape--menu { display: inline-block; width: 13px; height: 13px; margin-right: 9px; vertical-align: -1px; color: var(--ermes-red-text); }
.dropdown-item.active .ermes-shape--menu, .dropdown-item:hover .ermes-shape--menu { color: #fff; }
.ermes-menu__nav .ermes-shape--menu { display: none; }
.ermes-shape--box { width: 34px; height: 34px; color: #fff; }
.sub-title .ermes-shape--pill { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; color: currentColor; }

/* ---------- Scene illustrate (immagini complete su fondo scuro) ---------- */
.ermes-scene-img { display: block; width: 100%; height: auto; border-radius: 14px; }
.ermes-hero-char { width: min(100%, 420px); }
.ermes-hero-char--sm { width: min(100%, 300px); margin: 0 0 24px; }
.ermes-404 { width: min(100%, 420px); }
.ermes-404__code { display: none; }
.ermes-card__art { background: var(--ermes-bg); }
.ermes-card__art img { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; object-fit: cover; }
.ermes-card:hover .ermes-card__art img { transform: scale(1.04); }
.ermes-empty-char { width: min(100%, 320px); }
.header-main-crev .img img { border-radius: 14px; }


/* ---------- Icone a linea dei servizi (stile delle icone originali del tema) ---------- */
.ermes-svc-icon { display: inline-block; width: 50px; height: 50px; color: var(--ermes-red); vertical-align: middle; }
.ermes-svc-icon--50 { width: 55px; height: 55px; }
.ermes-svc-icon--menu { width: 18px; height: 18px; margin-right: 10px; vertical-align: -4px; color: var(--ermes-red-text); }
.dropdown-item:hover .ermes-svc-icon--menu, .dropdown-item.active .ermes-svc-icon--menu { color: #fff; }
.ermes-menu__nav .ermes-svc-icon--menu { display: none; }
.ermes-svc-icon--box { width: 40px; height: 40px; color: #fff; }
.sub-title .ermes-svc-icon--pill { width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; color: currentColor; }
.icon-img-50 .ermes-svc-icon { width: 55px; height: 55px; }
.portfolio-fixed .cont .img-hiden .ermes-scene-img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.ermes-scene img.ermes-scene-img { object-fit: cover; padding: 0; border-radius: 0; }
/* ?nl=1: pagina senza loader né animazioni (per verifiche e screenshot automatici) */
body.no-loader .loader-wrap { display: none !important; }
body.no-loader *, body.no-loader *::before, body.no-loader *::after { animation: none !important; transition: none !important; }

/* ---------- Menu mobile a schermo intero (sotto i 992px) ----------
   Il pannello [data-mobile-menu] viene spostato da ermes.js dentro <body> (la navbar del tema ha transform e
   backdrop-filter, che confinerebbero un elemento fixed). Struttura: barra fissa (logo + chiudi) e corpo scorrevole. */
.ermes-menu__ico-close { display: none; }
.navbar-toggler[aria-expanded="true"] .ermes-menu__ico-open { display: none; }
.navbar-toggler[aria-expanded="true"] .ermes-menu__ico-close { display: inline; }
.ermes-menu__bar, .ermes-menu__close, .ermes-menu__acc, .ermes-menu__deco { display: none; }
@media (min-width: 992px) {
	.ermes-menu__search, .ermes-menu__foot { display: none !important; }
	.ermes-menu__body, .ermes-menu__row { display: contents; }
}
@media (max-width: 991.98px) {
	body.ermes-menu-open { overflow: hidden; }
	.navbar .navbar-toggler { min-width: 44px; min-height: 44px; color: #fff; }
	.navbar-collapse[data-mobile-menu] {
		display: flex !important; flex-direction: column; justify-content: flex-start; align-items: stretch;
		position: fixed; inset: 0; height: 100dvh; z-index: 1300; margin: 0; padding: 0; border: 0; max-height: none; overflow: hidden;
		background: var(--ermes-bg-2) url(../imgs/patterns/graph.png) center / 600px repeat; background-blend-mode: soft-light;
		opacity: 0; visibility: hidden; transform: translateY(-10px);
		transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
	}
	.navbar-collapse[data-mobile-menu]::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 40% at 90% 0%, rgba(196, 25, 28, .28), transparent 70%); }
	.navbar-collapse[data-mobile-menu].show { opacity: 1 !important; visibility: visible !important; transform: none; transition: opacity .3s ease, transform .3s ease, visibility 0s; }
	/* barra fissa in alto */
	.ermes-menu__bar { position: relative; z-index: 2; flex: none; display: flex; align-items: center; justify-content: space-between; padding: calc(12px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 12px max(24px, env(safe-area-inset-left)); border-bottom: 1px solid var(--ermes-line); background: var(--ermes-bg-2); }
	.ermes-menu__logo { display: block; }
	.ermes-menu__logo img { width: 92px; height: auto; display: block; }
	.ermes-menu__close { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--ermes-line-strong); background: rgba(255, 255, 255, .06); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
	.ermes-menu__close:hover, .ermes-menu__close:focus-visible { background: var(--ermes-red); border-color: var(--ermes-red); }
	/* corpo scorrevole */
	.ermes-menu__body { position: relative; z-index: 1; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 20px max(24px, env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
	.ermes-menu__search { display: flex; margin: 0 0 18px; border: 1px solid var(--ermes-line-strong); border-radius: 30px; overflow: hidden; background: rgba(255, 255, 255, .05); }
	.ermes-menu__search input { flex: 1; min-width: 0; padding: 12px 18px; border: 0; background: transparent; color: #fff; font-size: 16px; }
	.ermes-menu__search input:focus { outline: none; }
	.ermes-menu__search input::placeholder { color: rgba(255, 255, 255, .5); }
	.ermes-menu__search button { border: 0; background: transparent; color: #fff; font-size: 20px; padding: 0 16px; min-width: 48px; }
	/* voci numerate */
	[data-mobile-menu] .navbar-nav { flex-direction: column; counter-reset: voce; margin: 0; padding: 0; list-style: none; }
	[data-mobile-menu] .navbar-nav .nav-item { counter-increment: voce; border-bottom: 1px solid var(--ermes-line); }
	[data-mobile-menu] .navbar-nav .nav-link { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; margin: 0; border: 0; color: #fff; text-decoration: none; font-size: clamp(24px, 6.5vw, 34px); font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.15; }
	[data-mobile-menu] .navbar-nav .nav-link::before { content: counter(voce, decimal-leading-zero); font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--ermes-red-text); flex: none; }
	[data-mobile-menu] .navbar-nav .nav-link .rolling-text { height: auto; line-height: inherit; }
	[data-mobile-menu] .navbar-nav .nav-link .rolling-text .block:last-child { display: none; } /* niente doppio testo dell'effetto rolling */
	[data-mobile-menu] .rolling-text .letter { color: inherit; }
	[data-mobile-menu] .navbar-nav .nav-link:hover, [data-mobile-menu] .navbar-nav .nav-link:focus-visible, [data-mobile-menu] .navbar-nav .menu-active .nav-link { color: var(--ermes-red-text) !important; } /* rosso chiaro leggibile (AA) anche sulla voce attiva del tema */
	.navbar-collapse[data-mobile-menu]:focus { outline: none !important; }
	[data-mobile-menu] .navbar-nav .nav-link.dropdown-toggle::after { display: none; }
	/* Servizi: il link porta alla pagina, il pulsante + apre l'elenco */
	.ermes-menu__row { display: flex; align-items: center; }
	.ermes-menu__row .nav-link { flex: 1 1 auto; }
	.ermes-menu__acc { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
	.ermes-menu__acc svg { width: 20px; height: 20px; transition: transform .25s ease; }
	.ermes-menu__acc[aria-expanded="true"] svg { transform: rotate(45deg); }
	[data-mobile-menu] .navbar-nav .dropdown-menu, [data-mobile-menu] .navbar-nav .dropdown-menu.show { display: none; position: static; float: none; opacity: 1; visibility: visible; transform: none; padding: 0 0 14px 34px; margin: 0; border: 0; background: transparent; min-width: 0; }
	[data-mobile-menu] .navbar-nav .dropdown.is-open .dropdown-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
	[data-mobile-menu] .dropdown-menu .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 15px; font-weight: 500; line-height: 1.25; color: rgba(255, 255, 255, .8); background: transparent; white-space: normal; }
	[data-mobile-menu] .dropdown-menu .dropdown-item::after { display: none; }
	[data-mobile-menu] .dropdown-menu .dropdown-item:hover, [data-mobile-menu] .dropdown-menu .dropdown-item:focus-visible { color: #fff; background: transparent; }
	[data-mobile-menu] .dropdown-menu .dropdown-item.active { color: var(--ermes-red-text); }
	[data-mobile-menu] .dropdown-menu .dropdown-item:first-child { grid-column: 1 / -1; font-weight: 600; color: #fff; }
	[data-mobile-menu] .dropdown-item .ermes-svc-icon--menu { width: 22px; height: 22px; flex: none; margin: 0; }
	/* piede: contatto, recapiti, social */
	.ermes-menu__foot { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
	.ermes-menu__foot .butn { font-size: 12px; }
	.ermes-menu__contacts { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 15px; }
	.ermes-menu__contacts a { color: rgba(255, 255, 255, .85); }
	.ermes-menu__social { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
	.ermes-menu__social a { color: rgba(255, 255, 255, .7); }
	.ermes-menu__deco { display: block; position: absolute; right: -50px; bottom: -30px; width: 220px; color: var(--ermes-red); opacity: .1; pointer-events: none; z-index: 0; }
}
@media (prefers-reduced-motion: reduce) { .navbar-collapse[data-mobile-menu] { transition: none; transform: none; } }

/* ==========================================================================
   Tema chiaro (ricavato dalla versione "light" del tema originale, vedi ermes-light.css)
   e preferenze di lettura del widget di accessibilità. L'attributo data-theme è impostato
   sull'<html> dallo script in testa al layout (nessun lampeggio) e da ermes-a11y.js.
   ========================================================================== */
html { color-scheme: dark; }
html[data-theme="light"] {
	color-scheme: light;
	--ermes-bg: #f1f3f5; --ermes-bg-2: #fff;
	--ermes-line: rgba(0, 0, 0, .1); --ermes-line-strong: rgba(0, 0, 0, .28);
	--ermes-red-text: #b5171a; /* rosso leggibile (AA) su fondo chiaro */
	--colore-testo: #1d1d1d; --colore-placeholder: #777;
}
/* loghi: bianco sul tema scuro, scuro sul tema chiaro */
.ermes-logo--light { display: none; }
html[data-theme="light"] .ermes-logo--dark { display: none; }
html[data-theme="light"] .ermes-logo--light { display: inline-block; }
/* loader */
html[data-theme="light"] .loader-wrap { background: #f1f3f5; }
html[data-theme="light"] .loader-wrap .load-text span, html[data-theme="light"] .loader-wrap-heading { color: #1d1d1d; }
/* componenti Ermes con bianco esplicito */
html[data-theme="light"] a:focus-visible, html[data-theme="light"] button:focus-visible, html[data-theme="light"] input:focus-visible, html[data-theme="light"] textarea:focus-visible, html[data-theme="light"] select:focus-visible, html[data-theme="light"] [tabindex]:focus-visible { outline-color: #1d1d1d !important; }
html[data-theme="light"] .skip-link:focus { outline-color: #1d1d1d; }
html[data-theme="light"] .alert { background: rgba(0, 0, 0, .04); color: #1d1d1d; }
html[data-theme="light"] .ermes-brief textarea:focus, html[data-theme="light"] .ermes-search-hero input:focus, html[data-theme="light"] .search-dialog .search-form input:focus, html[data-theme="light"] .chat__form:focus-within { border-color: #1d1d1d; }
html[data-theme="light"] .ermes-brief textarea, html[data-theme="light"] .ermes-search-hero input, html[data-theme="light"] .search-dialog .search-form input, html[data-theme="light"] .chat__input { color: #1d1d1d; }
html[data-theme="light"] .ermes-result h3 a, html[data-theme="light"] .ermes-chip:hover, html[data-theme="light"] .ai-box, html[data-theme="light"] .ai-box__body a, html[data-theme="light"] .icon-btn, html[data-theme="light"] .icon-btn--ghost:hover, html[data-theme="light"] .search-live__item, html[data-theme="light"] .search-live__item:hover, html[data-theme="light"] .search-live__item:focus, html[data-theme="light"] .link-btn, html[data-theme="light"] .chat__bubble, html[data-theme="light"] .chat__bubble a, html[data-theme="light"] .chat__related a:hover, html[data-theme="light"] .teresina__fab, html[data-theme="light"] .teresina__panel, html[data-theme="light"] .teresina__name, html[data-theme="light"] .ermes-toc__list a:hover, html[data-theme="light"] .ermes-toc__list a.is-active, html[data-theme="light"] .ermes-post__body strong, html[data-theme="light"] .ermes-post__body a, html[data-theme="light"] .ermes-post__nav-item:hover, html[data-theme="light"] .search-dialog, html[data-theme="light"] .search-dialog__title { color: #1d1d1d; }
html[data-theme="light"] .chat__msg--user .chat__bubble, html[data-theme="light"] .chat__msg--user .chat__bubble a { color: #fff; }
html[data-theme="light"] .icon-btn:hover { background: #1d1d1d; color: #fff; }
html[data-theme="light"] .chat__msg--user .chat__avatar { background: #1d1d1d; color: #fff; }
html[data-theme="light"] .chip:hover, html[data-theme="light"] .ermes-chip:hover { border-color: #1d1d1d; }
html[data-theme="light"] .ermes-toc__list a { color: rgba(0, 0, 0, .7); }
html[data-theme="light"] .teresina__panel { box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
html[data-theme="light"] .search-dialog::backdrop { background: rgba(20, 20, 20, .55); }
html[data-theme="light"] .dropdown-item:hover .ermes-svc-icon--menu, html[data-theme="light"] .dropdown-item.active .ermes-svc-icon--menu { color: inherit; }
html[data-theme="light"] .ermes-scene-img, html[data-theme="light"] .ermes-card__art img, html[data-theme="light"] .ermes-post__cover img { box-shadow: 0 10px 40px rgba(0, 0, 0, .12); }
/* menu mobile */
@media (max-width: 991.98px) {
	html[data-theme="light"] .navbar-collapse[data-mobile-menu] { background: var(--ermes-bg-2); }
	html[data-theme="light"] .navbar-collapse[data-mobile-menu]::before { background: radial-gradient(70% 40% at 90% 0%, rgba(196, 25, 28, .14), transparent 70%); }
	html[data-theme="light"] .navbar .navbar-toggler, html[data-theme="light"] .ermes-menu__close, html[data-theme="light"] .ermes-menu__search input, html[data-theme="light"] .ermes-menu__search button, html[data-theme="light"] [data-mobile-menu] .navbar-nav .nav-link, html[data-theme="light"] .ermes-menu__acc, html[data-theme="light"] [data-mobile-menu] .dropdown-menu .dropdown-item:hover, html[data-theme="light"] [data-mobile-menu] .dropdown-menu .dropdown-item:focus-visible, html[data-theme="light"] [data-mobile-menu] .dropdown-menu .dropdown-item:first-child { color: #1d1d1d; }
	html[data-theme="light"] .ermes-menu__close { background: rgba(0, 0, 0, .05); }
	html[data-theme="light"] .ermes-menu__close:hover, html[data-theme="light"] .ermes-menu__close:focus-visible { color: #fff; }
	html[data-theme="light"] .ermes-menu__search { background: rgba(0, 0, 0, .03); }
	html[data-theme="light"] .ermes-menu__search input::placeholder { color: rgba(0, 0, 0, .5); }
	html[data-theme="light"] [data-mobile-menu] .dropdown-menu .dropdown-item { color: rgba(0, 0, 0, .75); }
	html[data-theme="light"] .ermes-menu__contacts a { color: rgba(0, 0, 0, .8); }
	html[data-theme="light"] .ermes-menu__social a { color: rgba(0, 0, 0, .65); }
}

/* ---------- Strumenti in testata: tema e accessibilità ---------- */
.ermes-tools { display: flex; align-items: center; gap: 2px; margin-left: 4px; margin-right: 6px; }
.ermes-tools__btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.ermes-tools__btn svg { width: 20px; height: 20px; }
.ermes-tools__btn:hover { background: rgba(255, 255, 255, .1); }
html[data-theme="light"] .ermes-tools__btn { color: #1d1d1d; }
html[data-theme="light"] .ermes-tools__btn:hover { background: rgba(0, 0, 0, .06); }
.ermes-theme-btn .ermes-ico-sun { display: none; }
html[data-theme="dark"] .ermes-theme-btn .ermes-ico-sun { display: block; }
html[data-theme="dark"] .ermes-theme-btn .ermes-ico-moon { display: none; }
@media (max-width: 991.98px) { .navbar .ermes-tools { display: none; } }
.ermes-menu__bar .ermes-tools { margin: 0 8px 0 auto; }
@media (min-width: 992px) { .ermes-menu__bar .ermes-tools { display: none; } }

/* ---------- Widget di accessibilità (dialog) ---------- */
.a11y-dialog { border: 1px solid var(--ermes-line-strong); padding: 0; width: min(440px, calc(100vw - 32px)); border-radius: 16px; background: var(--ermes-bg); color: inherit; }
.a11y-dialog::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); }
html[data-theme="light"] .a11y-dialog { color: #1d1d1d; }
.a11y-dialog__inner { padding: 22px 24px 24px; }
.a11y-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.a11y-dialog__title { margin: 0; font-size: 20px !important; font-weight: 600; }
.a11y-dialog__intro { font-size: 14px !important; opacity: .8; margin: 0 0 18px; line-height: 1.5 !important; }
.a11y-group { padding: 12px 0; border-top: 1px solid var(--ermes-line); }
.a11y-group__label { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--ermes-red-text); margin-bottom: 8px; }
.a11y-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.a11y-seg button, .a11y-toggle { font: inherit; font-size: 14px; padding: 8px 14px; min-height: 40px; border-radius: 30px; border: 1px solid var(--ermes-line-strong); background: transparent; color: inherit; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.a11y-seg button[aria-pressed="true"], .a11y-toggle[aria-pressed="true"] { background: var(--ermes-red); border-color: var(--ermes-red); color: #fff; }
.a11y-seg button:hover, .a11y-toggle:hover { border-color: currentColor; }
.a11y-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.a11y-toggle { display: flex; align-items: center; gap: 8px; text-align: left; }
.a11y-toggle::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid currentColor; flex: none; }
.a11y-toggle[aria-pressed="true"]::before { background: #fff; border-color: #fff; }
.a11y-dialog__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ermes-line); font-size: 14px; }
.a11y-dialog__foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) { .a11y-toggles { grid-template-columns: 1fr; } }

/* ---------- Preferenze di lettura (attributi su <html>, salvate nel browser) ---------- */
html[data-a11y-font="1"] { --fz-scale: 1.15; }
html[data-a11y-font="2"] { --fz-scale: 1.3; }
html[data-a11y-spacing="1"] body, html[data-a11y-spacing="1"] p, html[data-a11y-spacing="1"] li, html[data-a11y-spacing="1"] a, html[data-a11y-spacing="1"] button, html[data-a11y-spacing="1"] input, html[data-a11y-spacing="1"] textarea, html[data-a11y-spacing="1"] h1, html[data-a11y-spacing="1"] h2, html[data-a11y-spacing="1"] h3, html[data-a11y-spacing="1"] h4, html[data-a11y-spacing="1"] h5, html[data-a11y-spacing="1"] h6 { letter-spacing: .06em !important; word-spacing: .14em !important; }
html[data-a11y-spacing="1"] p, html[data-a11y-spacing="1"] li { line-height: 1.95 !important; margin-bottom: 1.2em; }
html[data-a11y-readable="1"] body, html[data-a11y-readable="1"] h1, html[data-a11y-readable="1"] h2, html[data-a11y-readable="1"] h3, html[data-a11y-readable="1"] h4, html[data-a11y-readable="1"] h5, html[data-a11y-readable="1"] h6, html[data-a11y-readable="1"] p, html[data-a11y-readable="1"] a, html[data-a11y-readable="1"] li, html[data-a11y-readable="1"] button, html[data-a11y-readable="1"] input, html[data-a11y-readable="1"] textarea, html[data-a11y-readable="1"] .butn, html[data-a11y-readable="1"] .nav-link { font-family: Verdana, "Atkinson Hyperlegible", Arial, Helvetica, sans-serif !important; font-style: normal !important; }
html[data-a11y-readable="1"] .stroke, html[data-a11y-readable="1"] .strok h4 { -webkit-text-stroke: 0 !important; color: inherit !important; }
html[data-a11y-links="1"] a, html[data-a11y-links="1"] .link-btn { text-decoration: underline !important; text-underline-offset: 3px !important; text-decoration-thickness: 2px !important; }
html[data-a11y-motion="1"] *, html[data-a11y-motion="1"] *::before, html[data-a11y-motion="1"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-a11y-motion="1"] .loader-wrap, html[data-a11y-motion="1"] .cursor { display: none !important; }
html[data-a11y-motion="1"] .main-marq .slide-har, html[data-a11y-motion="1"] .marquee .slide-har { animation: none !important; transform: none !important; }
html[data-a11y-motion="1"] .wow, html[data-a11y-motion="1"] [data-scroll] { visibility: visible !important; opacity: 1 !important; transform: none !important; }
html[data-a11y-motion="1"] .ermes-scene canvas, html[data-a11y-motion="1"] .ermes-mark canvas { display: none !important; }
html[data-a11y-motion="1"] .ermes-scene .ermes-scene-img { opacity: 1 !important; }
/* contrasto elevato */
html[data-a11y-contrast="1"] { --ermes-bg: #000; --ermes-bg-2: #000; --ermes-line: rgba(255, 255, 255, .45); --ermes-line-strong: rgba(255, 255, 255, .7); --ermes-red-text: #ff8f8a; --colore-testo: #fff; }
html[data-a11y-contrast="1"] body, html[data-a11y-contrast="1"] .sub-bg, html[data-a11y-contrast="1"] .main-bg, html[data-a11y-contrast="1"] .navbar.sub-bg, html[data-a11y-contrast="1"] footer, html[data-a11y-contrast="1"] .ermes-post__body { background-color: #000 !important; color: #fff !important; }
html[data-a11y-contrast="1"] p, html[data-a11y-contrast="1"] li, html[data-a11y-contrast="1"] h1, html[data-a11y-contrast="1"] h2, html[data-a11y-contrast="1"] h3, html[data-a11y-contrast="1"] h4, html[data-a11y-contrast="1"] h5, html[data-a11y-contrast="1"] h6, html[data-a11y-contrast="1"] .nav-link, html[data-a11y-contrast="1"] .dropdown-item, html[data-a11y-contrast="1"] .chat__bubble { color: #fff !important; opacity: 1 !important; }
html[data-a11y-contrast="1"] a:not(.butn) { text-decoration: underline; text-underline-offset: 3px; }
html[data-a11y-contrast="1"] .sub-title, html[data-a11y-contrast="1"] .main-color { color: #ff8f8a !important; }
html[data-a11y-contrast="1"] .butn, html[data-a11y-contrast="1"] .chip, html[data-a11y-contrast="1"] .ermes-chip, html[data-a11y-contrast="1"] .icon-btn, html[data-a11y-contrast="1"] input, html[data-a11y-contrast="1"] textarea { border-color: #fff !important; }
html[data-a11y-contrast="1"] .stroke, html[data-a11y-contrast="1"] .strok h4 { -webkit-text-stroke: 0 !important; color: #fff !important; }
html[data-theme="light"][data-a11y-contrast="1"] { --ermes-bg: #fff; --ermes-bg-2: #fff; --ermes-line: rgba(0, 0, 0, .5); --ermes-line-strong: rgba(0, 0, 0, .8); --ermes-red-text: #8f0f12; --colore-testo: #000; }
html[data-theme="light"][data-a11y-contrast="1"] body, html[data-theme="light"][data-a11y-contrast="1"] .sub-bg, html[data-theme="light"][data-a11y-contrast="1"] .main-bg, html[data-theme="light"][data-a11y-contrast="1"] .navbar.sub-bg, html[data-theme="light"][data-a11y-contrast="1"] footer, html[data-theme="light"][data-a11y-contrast="1"] .ermes-post__body { background-color: #fff !important; color: #000 !important; }
html[data-theme="light"][data-a11y-contrast="1"] p, html[data-theme="light"][data-a11y-contrast="1"] li, html[data-theme="light"][data-a11y-contrast="1"] h1, html[data-theme="light"][data-a11y-contrast="1"] h2, html[data-theme="light"][data-a11y-contrast="1"] h3, html[data-theme="light"][data-a11y-contrast="1"] h4, html[data-theme="light"][data-a11y-contrast="1"] h5, html[data-theme="light"][data-a11y-contrast="1"] h6, html[data-theme="light"][data-a11y-contrast="1"] .nav-link, html[data-theme="light"][data-a11y-contrast="1"] .dropdown-item, html[data-theme="light"][data-a11y-contrast="1"] .chat__bubble, html[data-theme="light"][data-a11y-contrast="1"] .stroke, html[data-theme="light"][data-a11y-contrast="1"] .strok h4 { color: #000 !important; }
html[data-theme="light"][data-a11y-contrast="1"] .sub-title, html[data-theme="light"][data-a11y-contrast="1"] .main-color { color: #8f0f12 !important; }
html[data-theme="light"][data-a11y-contrast="1"] .butn, html[data-theme="light"][data-a11y-contrast="1"] .chip, html[data-theme="light"][data-a11y-contrast="1"] .ermes-chip, html[data-theme="light"][data-a11y-contrast="1"] .icon-btn, html[data-theme="light"][data-a11y-contrast="1"] input, html[data-theme="light"][data-a11y-contrast="1"] textarea { border-color: #000 !important; }
/* tema chiaro: testi degli articoli e grigi semitrasparenti */
html[data-theme="light"] .ermes-post__body p, html[data-theme="light"] .ermes-post__body li { color: #333; }
html[data-theme="light"] .ermes-post__body p:first-of-type { color: #1d1d1d; }
html[data-theme="light"] .ermes-post__lead { color: #2a2a2a; }
html[data-theme="light"] .ermes-post__kicker { color: rgba(0, 0, 0, .65); }
html[data-theme="light"] .ermes-post__body blockquote { background: #fff; }
/* tema chiaro: scene 3D su fondo chiaro (il canvas è trasparente) */
html[data-theme="light"] .ermes-scene { background: radial-gradient(70% 70% at 50% 45%, #fff, #e3e6ea 75%); }
html[data-theme="light"] .ermes-scene::after { box-shadow: inset 0 0 60px rgba(0, 0, 0, .08); }
html[data-theme="light"] .ermes-scene__hint, html[data-theme="light"] .ermes-scene__clear { background: rgba(255, 255, 255, .85); color: #1d1d1d; }
/* ---------- Piè di pagina ---------- */
main { background-color: var(--ermes-bg-2); } /* il footer del tema scorre da sotto: serve uno sfondo opaco anche nelle pagine senza sezioni colorate */
.sub-footer .copyright p { margin: 0; line-height: 1.7; }
.sub-footer .copyright p + p { margin-top: 6px; }
.ermes-foot-links a, .ermes-foot-links .link-btn { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ermes-line-strong); }
.ermes-foot-links a:hover, .ermes-foot-links .link-btn:hover { text-decoration-color: currentColor; }
.ermes-foot-note { opacity: .7; }
@media (max-width: 991.98px) { .sub-footer .copyright { display: block !important; } .sub-footer .copyright .ml-auto { margin: 14px 0 0 !important; } }
/* ---------- Progetti per anno ---------- */
.ermes-since { margin-top: 18px !important; font-size: clamp(16px, 0.95rem + 0.3vw, 19px) !important; }
.ermes-since__num { display: inline-block; font-size: 1.9em; font-weight: 800; line-height: 1; color: var(--ermes-red-text); vertical-align: -3px; margin-right: 4px; }
.ermes-years { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; margin: -30px 0 60px; }
.ermes-years a { padding: 6px 10px; border-radius: 30px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: inherit; opacity: .6; text-decoration: none; transition: opacity .2s, background .2s; }
.ermes-years a:hover, .ermes-years a:focus-visible, .ermes-years a.is-current { opacity: 1; background: rgba(255, 255, 255, .08); }
html[data-theme="light"] .ermes-years a:hover, html[data-theme="light"] .ermes-years a.is-current { background: rgba(0, 0, 0, .06); }
.ermes-years a.is-empty { display: none; }
.ermes-year { scroll-margin-top: 110px; }
.ermes-year.is-empty { display: none; }
.ermes-year__head { display: flex; align-items: center; gap: 24px; margin: 0 0 40px; padding: 0 15px; }
.ermes-year__num { font-size: clamp(56px, 7vw, 110px) !important; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: inherit; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.ermes-year:first-of-type .ermes-year__num { color: inherit; -webkit-text-fill-color: currentColor; -webkit-text-stroke: 0; }
.ermes-year__line { flex: 1 1 auto; height: 1px; background: var(--ermes-line-strong); }
.ermes-year__count { flex: none; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ermes-red-text); }
.ermes-year + .ermes-year { margin-top: 20px; }
.portfolio .info-overlay .info .tag { margin-bottom: 6px; }
@media (max-width: 767.98px) { .ermes-year__head { gap: 14px; margin-bottom: 26px; } .ermes-years { margin-top: -40px; } }
/* home, sezione numeri: il personaggio nel pannello sinistro non deve riempire tutto il riquadro */
.sideimg-numbers .bg-left .img { width: min(55%, 360px); margin: 0 4% 0 auto; } /* vicino al testo della colonna destra */
.sideimg-numbers .bg-left .img img { width: 100%; height: auto; display: block; }
@media (max-width: 991.98px) { .sideimg-numbers .bg-left .img { width: min(60%, 280px); padding: 40px 0; margin: 0 auto; } } /* su tablet e mobile centrata */
/* home su mobile: icone dei servizi in evidenza più discrete e più spazio al testo */
@media (max-width: 767.98px) {
	.ermes-svc-icon--50, .icon-img-50 .ermes-svc-icon { width: 32px; height: 32px; }
	.icon-img-50 { width: auto; }
	.serv-img-reveal .block__title .mr-80 { margin-right: 16px !important; }
	.serv-img-reveal .block__title .ml-auto { margin-left: 10px !important; }
	.serv-img-reveal .block__title .icon-img-50 .ermes-svc-icon { width: 26px; height: 26px; }
	.serv-img-reveal .block__title p { font-size: 15px; }
}
/* home, "Il nostro approccio": ovali tutti della stessa altezza e rollover sobrio (sale di poco, numero e freccia in rosso) */
.approach-carso .swiper-wrapper { align-items: stretch; }
.approach-carso .swiper-slide { height: auto; display: flex; transition: border-color .45s, transform .45s cubic-bezier(.22,.61,.36,1), background-color .45s; }
.approach-carso .swiper-slide .item { width: 100%; display: flex; flex-direction: column; align-items: center; }
.approach-carso .swiper-slide .item p { flex: 1 1 auto; }
.approach-carso .swiper-slide .item .stroke { transition: color .45s, -webkit-text-stroke-color .45s; }
.approach-carso .swiper-slide .item a span { display: inline-flex; transition: transform .35s, color .35s; }
.approach-carso .swiper-slide:hover { transform: translateY(-6px); background-color: rgba(196, 25, 28, .06); border-color: var(--ermes-red); }
.approach-carso .swiper-slide:hover .item .stroke { color: var(--ermes-red); -webkit-text-stroke-color: var(--ermes-red); }
.approach-carso .swiper-slide:hover .item a span { transform: translateX(6px); color: var(--ermes-red-text); }
html[data-a11y-motion="1"] .approach-carso .swiper-slide, html[data-a11y-motion="1"] .approach-carso .swiper-slide:hover { transform: none; }
/* home, loghi clienti: stessa altezza e resa monocromatica (colori originali al passaggio del mouse) */
/* loghi clienti della home in riquadri bianchi, a colori (come la pagina Clienti) */
.clients-carso .swiper-slide .item .img { width: 100%; height: 110px; display: flex; align-items: center; justify-content: center; margin: 0; padding: 18px 22px; border-radius: 14px; background: #fff !important; border: 1px solid var(--ermes-line); transition: transform .3s, border-color .3s, box-shadow .3s; }
.clients-carso .item .img a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.clients-carso .item .img img { width: auto; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; filter: none; opacity: 1; }
.clients-carso .item .img:hover { transform: translateY(-4px); border-color: var(--ermes-red); box-shadow: 0 16px 40px rgba(0, 0, 0, .18); }
@media (max-width: 767.98px) { .clients-carso .swiper-slide .item .img { height: 90px; padding: 14px 16px; } .clients-carso .item .img img { max-height: 52px; } }
/* home, carosello progetti: copertine tutte in 3:2 con taglio centrato */
.work-carsouel .work-crus .img { aspect-ratio: 3 / 2; overflow: hidden; background: #111; }
.work-carsouel .work-crus .img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* illustrazioni "vive" (pagine servizi e affini): galleggiano piano, si inclinano seguendo il mouse e prendono un alone rosso */
.ermes-live { perspective: 1100px; animation: ermes-float 7s ease-in-out infinite; }
.ermes-live:nth-of-type(2n) { animation-delay: -3.5s; }
.ermes-live .ermes-scene-img { transition: transform .7s cubic-bezier(.22,.61,.36,1), box-shadow .7s; will-change: transform; transform-style: preserve-3d; backface-visibility: hidden; }
.ermes-live:hover .ermes-scene-img { box-shadow: 0 34px 70px -24px rgba(196, 25, 28, .45); }
.ermes-live.is-tilting .ermes-scene-img { transition: transform .18s ease-out, box-shadow .7s; }
@keyframes ermes-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .ermes-live { animation: none; } .ermes-live .ermes-scene-img { transition: none; } }
html[data-a11y-motion="1"] .ermes-live { animation: none !important; }
/* pagine servizi, "Seguiamo step chiari": icone lineari in un cerchio sottile (niente dischi rossi pieni) e numero dello step */
.process .item .icon.ermes-step__icon { width: 64px; height: 64px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid rgba(255, 255, 255, .16); color: var(--ermes-red-text); margin-bottom: 22px; transition: border-color .4s, transform .4s cubic-bezier(.22,.61,.36,1), background-color .4s; }
.process .item .icon.ermes-step__icon svg.icon { width: 26px; height: 26px; min-width: 0; background: none; border: 0; border-radius: 0; margin: 0; color: inherit; stroke-width: 1.4; } /* svg_icon porta la classe .icon: qui non deve ereditare il disco */
.process .item:hover .icon.ermes-step__icon { border-color: var(--ermes-red); background-color: rgba(196, 25, 28, .08); transform: translateY(-4px); }
.ermes-step__num { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--ermes-red-text); margin-bottom: 8px; }
html[data-theme="light"] .process .item .icon.ermes-step__icon { border-color: rgba(0, 0, 0, .14); }
html[data-a11y-motion="1"] .process .item:hover .icon.ermes-step__icon { transform: none; }
/* chi siamo: introduzione sulla metà destra, un po' più grande */
.ermes-about-intro p { font-size: 18px; line-height: 1.7; }
@media (max-width: 991.98px) { .ermes-about-intro p { font-size: 16px; } }
/* scheda progetto: stessa impaginazione degli articoli */
.ermes-project__body { max-width: none; }
.ermes-project__body > h2:first-child, .ermes-project__body > h3:first-child { margin-top: 0; }
.ermes-project__body p:first-of-type { color: inherit; }
.work-single .project-info li { line-height: 1.6; }
/* scheda progetto: precedente / successivo con anteprima */
.ermes-prj-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--ermes-line); }
.ermes-prj-nav__item { display: flex; align-items: center; gap: 18px; padding: 14px; border: 1px solid var(--ermes-line); border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .3s, transform .3s; }
.ermes-prj-nav__item:hover, .ermes-prj-nav__item:focus-visible { border-color: var(--ermes-red); color: inherit; transform: translateY(-2px); }
.ermes-prj-nav__item--next { flex-direction: row-reverse; text-align: right; }
.ermes-prj-nav__thumb { flex: none; width: 150px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--ermes-bg-2); }
.ermes-prj-nav__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.ermes-prj-nav__item:hover .ermes-prj-nav__thumb img { transform: scale(1.06); }
.ermes-prj-nav__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ermes-prj-nav__label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ermes-red-text); }
.ermes-prj-nav__text strong { font-size: 16px; line-height: 1.35; }
.ermes-prj-nav__text small { font-size: 13px; opacity: .7; }
@media (max-width: 767.98px) { .ermes-prj-nav { grid-template-columns: 1fr; } .ermes-prj-nav__thumb { width: 110px; } .ermes-prj-nav__item--next { flex-direction: row; text-align: left; } }
/* campi di testo: niente contorno di messa a fuoco (basta il bordo che cambia colore), in entrambi i temi */
input:focus-visible, textarea:focus-visible, select:focus-visible, .chat__input:focus-visible { outline: none !important; }
.contact-crev input:focus, .contact-crev textarea:focus, .ermes-brief textarea:focus, .chat__form:focus-within, .ermes-search-hero input:focus, .search-dialog .search-form input:focus, .ermes-menu__search:focus-within { border-color: var(--ermes-red) !important; }
/* tema chiaro: modulo contatti e chat Teresina leggibili */
html[data-theme="light"] .contact-crev input, html[data-theme="light"] .contact-crev textarea, html[data-theme="light"] .contact-crev select, html[data-theme="light"] .contact-crev label { color: #1d1d1d; }
html[data-theme="light"] .contact-crev input::placeholder, html[data-theme="light"] .contact-crev textarea::placeholder, html[data-theme="light"] .chat__input::placeholder, html[data-theme="light"] .ermes-brief textarea::placeholder { color: #777; }
html[data-theme="light"] .contact-crev input, html[data-theme="light"] .contact-crev textarea { border-color: rgba(0, 0, 0, .25); background: #fff; }
html[data-theme="light"] .chip, html[data-theme="light"] .chat__related a, html[data-theme="light"] .chat__related a:hover, html[data-theme="light"] .teresina__head, html[data-theme="light"] .teresina__role, html[data-theme="light"] .chat__hint, html[data-theme="light"] .chat__note, html[data-theme="light"] .chat--widget, html[data-theme="light"] .chat__bubble p, html[data-theme="light"] .chat__bubble li { color: #1d1d1d; }
html[data-theme="light"] .chip:hover { border-color: #1d1d1d; }
html[data-theme="light"] .chat__bubble { background: #fff; }
html[data-theme="light"] .chat__msg--user .chat__bubble, html[data-theme="light"] .chat__msg--user .chat__bubble p { color: #fff; }
html[data-theme="light"] .teresina__fab-icon::after { box-shadow: 0 0 0 2px #fff; }
/* ---------- Esito del controllo contrasto chiaro/scuro ---------- */
html:not([data-theme="light"]) .main-color2, html:not([data-theme="light"]) a.main-color2 { color: #dc2c2f !important; } /* titoli rossi delle call-to-action: sopra 3:1 sul fondo scuro */
code { color: var(--ermes-red-text); background: rgba(127, 127, 127, .12); padding: 1px 5px; border-radius: 4px; font-size: .92em; }
.navbar .dropdown-menu .dropdown-item.active, .navbar .dropdown-menu .dropdown-item:active { background: transparent !important; color: var(--ermes-red-text) !important; } /* niente blu di Bootstrap sulla voce attiva */
html[data-theme="light"] .ermes-post__nav-item, html[data-theme="light"] .ermes-post__nav-item strong, html[data-theme="light"] .ermes-chip, html[data-theme="light"] .ermes-chips .ermes-chip { color: #1d1d1d; }
html[data-theme="light"] .skills .resume-exp .box-items { border-color: rgba(0, 0, 0, .14); background: #fff; }
html[data-theme="light"] .skills .resume-exp .box-items .item { background: #fff; border-color: rgba(0, 0, 0, .14) !important; } /* divisioni visibili anche nel tema chiaro */
html[data-theme="light"] .skills .resume-exp .box-items .item h6, html[data-theme="light"] .skills .resume-exp .box-items .item span { color: #1d1d1d; }
html[data-theme="light"] .portfolio .info-overlay .item-img .info h3 a, html[data-theme="light"] .portfolio .info-overlay .item-img .info h5 a, html[data-theme="light"] .portfolio .info-overlay .item-img .info .tag a { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); } /* testo sopra la foto del progetto */
/* ---------- Clienti: loghi su tessera bianca e elenco con monogramma ---------- */
.ermes-logos { row-gap: 20px; }
.ermes-logo-card { display: flex; flex-direction: column; gap: 12px; height: 100%; color: inherit; text-decoration: none; }
.ermes-logo-card__img { display: grid; place-items: center; height: 130px; padding: 22px 26px; border-radius: 14px; background: #fff; border: 1px solid var(--ermes-line); transition: transform .3s, border-color .3s, box-shadow .3s; }
.ermes-logo-card__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: none; opacity: 1; }
a.ermes-logo-card:hover .ermes-logo-card__img, a.ermes-logo-card:focus-visible .ermes-logo-card__img { transform: translateY(-4px); border-color: var(--ermes-red); box-shadow: 0 16px 40px rgba(0, 0, 0, .18); }
.ermes-logo-card__name { display: flex; flex-direction: column; gap: 2px; font-size: 14px; font-weight: 600; line-height: 1.3; }
.ermes-logo-card__name small { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; color: var(--ermes-red-text); }
.ermes-clients-more { margin-top: 70px; padding-top: 50px; border-top: 1px solid var(--ermes-line); }
.ermes-client-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 24px; padding: 0 !important; margin: 0; list-style: none; }
.ermes-client-list li { font-size: 15px; }
.ermes-client-list li > a, .ermes-client-list li > span:last-child { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.ermes-client-list li > a { display: flex; align-items: center; gap: 12px; }
.ermes-client-list li > a:hover span:last-child { color: var(--ermes-red-text); }
.ermes-client-list__mono { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--ermes-bg); border: 1px solid var(--ermes-line-strong); font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--ermes-red-text); }
html[data-theme="light"] .ermes-client-list__mono { background: #fff; }
@media (max-width: 767.98px) { .ermes-logo-card__img { height: 100px; padding: 16px; } .ermes-client-list { grid-template-columns: 1fr; } }
.ermes-logo-card__img img { max-height: 84px; width: auto; }
@media (max-width: 767.98px) { .ermes-logo-card__img img { max-height: 64px; } }
/* clienti senza logo: tessera con monogramma, stessa griglia */
.ermes-logo-card__img--mono { background: var(--ermes-bg-2); }
html[data-theme="light"] .ermes-logo-card__img--mono { background: #fff; }
.ermes-logo-card__mono { font-size: 34px; font-weight: 800; letter-spacing: 2px; color: var(--ermes-red-text); }
/* tema chiaro: la cornice decorativa (circle-star.svg, tratto bianco) attorno ai bottoni circolari resta visibile in scuro; al passaggio, sul fondo rosso, torna bianca */
html[data-theme="light"] .butn-circle .circle-star { filter: brightness(0); opacity: .7; transition: filter .3s, opacity .3s; }
html[data-theme="light"] .butn-circle:hover .circle-star { filter: none; opacity: 1; }
/* illustrazioni vive (GSAP, in loop): l'illustrazione originale resta intatta, sopra piccoli livelli animati */
.ermes-living { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.ermes-scene.is-living img.ermes-scene-img { opacity: 1; width: 100% !important; height: 100% !important; transform-origin: 50% 50%; will-change: transform; }
.ermes-living { transform-origin: 50% 50%; will-change: transform; }
.ermes-scene.is-living { cursor: crosshair; } /* il tema (.serv-intro .img img) la ridurrebbe al 65% */
.ermes-scene.is-living::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .18; mix-blend-mode: overlay; border-radius: inherit; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ermes-scene.is-living .ermes-scene__hint { display: none; }
.ermes-scene .ermes-living__panel { position: absolute; inset: auto; width: auto !important; height: auto !important; opacity: 1; pointer-events: none; cursor: default; }
.ermes-living__eye { position: absolute; }
.ermes-living__eye i { position: absolute; display: block; border-radius: 50%; }
.ermes-living__cover { inset: 0; }
.ermes-living__lid { opacity: 0; }
.ermes-living__fly { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; filter: drop-shadow(0 6px 18px rgba(196, 25, 28, .35)); }
.ermes-living__fly svg { width: 100%; height: 100%; display: block; }
.ermes-scene .ermes-living__panel { transform-origin: 0 0; }
.ermes-living__led { position: absolute; display: block; border-radius: 50%; transition: background-color .18s; pointer-events: none; }
.ermes-scene.is-living .ermes-scene__clear { display: none; }
.ermes-living__glow { position: absolute; border-radius: 50%; opacity: 0; pointer-events: none; background: radial-gradient(circle, rgba(255, 107, 102, .7) 0%, rgba(255, 107, 102, .22) 40%, rgba(255, 107, 102, 0) 70%); mix-blend-mode: screen; }
/* testate compatte per le pagine di servizio al lettore (accessibilità, ricerca, assistente): niente 60vh vuoti */
.page-header.ermes-header--compact { min-height: 0; }
.page-header.ermes-header--compact .container.mt-80 { margin-top: 50px !important; }
.page-header.ermes-header--compact.section-padding { padding-top: 60px; }
.page-header.ermes-header--compact + .section-padding { padding-top: 50px; } /* il testo che segue non deve stare troppo sotto */
@media (max-width: 767.98px) { .page-header.ermes-header--compact.section-padding { padding-top: 30px; } }
/* tema scuro: blocchi alternati con tonalità distinte, come nel chiaro */
html:not([data-theme="light"]) .sub-bg { background-color: #161616; }
html:not([data-theme="light"]) .navbar.sub-bg { background-color: #161616; }
/* pagina Teresina */
.ermes-assist__lead { font-size: 18px; line-height: 1.7; max-width: 640px; }
.ermes-assist__card { padding: 22px; border-radius: 18px; background: var(--ermes-bg-2); border: 1px solid var(--ermes-line); }
.ermes-assist__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--ermes-line); }
.ermes-assist__avatar img { width: 48px; height: 48px; border-radius: 50%; display: block; object-fit: cover; }
.ermes-assist__name { margin: 0; font-weight: 700; font-size: 17px; }
.ermes-assist__role { margin: 0; font-size: 13px; opacity: .75; display: flex; align-items: center; gap: 6px; }
.ermes-assist__dot { width: 8px; height: 8px; border-radius: 50%; background: #3fbf6a; box-shadow: 0 0 0 3px rgba(63, 191, 106, .2); }
.ermes-assist__reset { margin-left: auto; }
.ermes-assist__thread { min-height: 260px; max-height: 58vh; overflow-y: auto; padding-right: 6px; scroll-behavior: smooth; }
.chat--page .chat__bubble { max-width: min(88%, 720px); background: var(--ermes-bg); }
.chat--page .chat__msg--user .chat__bubble { background: var(--ermes-red); }
.chat--page .chat__form { background: var(--ermes-bg); }
.ermes-assist__send { padding: 12px 26px; }
.chat__fb { display: flex; gap: 6px; margin-top: 10px; }
.chat__fb button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ermes-line-strong); background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; opacity: .7; }
.chat__fb button:hover, .chat__fb button.is-on { opacity: 1; border-color: var(--ermes-red); color: var(--ermes-red-text); }
.chat__fb .icon { width: 14px; height: 14px; }
.ermes-assist__benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.ermes-assist__benefits li { display: flex; gap: 14px; align-items: flex-start; }
.ermes-assist__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(196, 25, 28, .12); color: var(--ermes-red-text); }
.ermes-assist__icon .icon { width: 20px; height: 20px; }
.ermes-assist__cta { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--ermes-line); }
.ermes-assist__why { padding: 28px; border-radius: 16px; border: 1px solid var(--ermes-line); height: 100%; }
html[data-theme="light"] .ermes-assist__card, html[data-theme="light"] .chat--page .chat__msg--bot .chat__bubble, html[data-theme="light"] .chat--page .chat__form { background: #fff; }
.chat .chat__msg--user .chat__bubble, html[data-theme="light"] .chat .chat__msg--user .chat__bubble { background: var(--ermes-red); border-color: var(--ermes-red); color: #fff; }
.chat .chat__msg--user .chat__bubble p, html[data-theme="light"] .chat .chat__msg--user .chat__bubble p { color: #fff; }
html[data-theme="light"] .ermes-assist__icon { background: rgba(196, 25, 28, .1); color: var(--ermes-red); }
/* home, carosello progetti: card tutte della stessa misura (il tema le alternava 450/380 px) */
.work-carsouel .work-crus.random .swiper-slide .item .img, .work-carsouel .work-crus.random .swiper-slide:nth-of-type(odd) .item .img { height: auto; aspect-ratio: 3 / 2; transform: none; }
/* contatti: testata con testo che riempie lo spazio */
.ermes-contact-lead { font-size: 17px; line-height: 1.7; max-width: 560px; }
.ermes-contact-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: 14px; opacity: .85; }
.ermes-contact-points li { position: relative; padding-left: 18px; }
.ermes-contact-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--ermes-red); }
/* loghi in home: niente scheletro chiaro dietro i loghi (col filtro monocromatico diventava un rettangolo bianco) */
.clients-carso .img.cms-skel { background: #fff !important; }
/* modale accessibilità: la X non deve schiacciarsi nel flex */
.a11y-dialog__head .icon-btn { flex: none; width: 44px; height: 44px; }
/* banner cookie: in basso, discreto, pulsanti con la stessa evidenza per accettare e rifiutare */
.ermes-consent { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 1200; display: flex; justify-content: flex-start; pointer-events: none; }
.ermes-consent[hidden] { display: none; }
.ermes-consent__box { pointer-events: auto; position: relative; width: min(100%, 460px); padding: 22px 26px; border-radius: 16px; background: var(--ermes-bg-2); border: 1px solid var(--ermes-line-strong); box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.ermes-consent__x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ermes-line-strong); background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; }
.ermes-consent__x .icon { width: 16px; height: 16px; }
.ermes-consent__title { margin: 0 40px 6px 0; font-weight: 700; font-size: 17px; }
.ermes-consent__text { margin: 0; font-size: 14px; line-height: 1.6; opacity: .9; }
.ermes-consent__text a { text-decoration: underline; text-underline-offset: 3px; }
.ermes-consent__prefs { display: grid; gap: 10px; margin: 16px 0 4px; }
.ermes-consent__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--ermes-line); font-size: 14px; cursor: pointer; }
.ermes-consent__row small { display: block; opacity: .7; font-size: 12px; margin-top: 2px; }
.ermes-consent__row input { width: 20px; height: 20px; accent-color: var(--ermes-red); flex: none; }
.ermes-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ermes-consent__actions .butn { padding: 10px 20px; }
.ermes-consent .butn[hidden] { display: none; }
html[data-theme="light"] .ermes-consent__box { background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .18); }
@media (max-width: 575px) { .ermes-consent { left: 8px; right: 8px; bottom: 8px; } .ermes-consent__box { padding: 18px 16px; } }
/* contenuti di terze parti bloccati fino al consenso */
.ermes-embed { position: relative; min-height: var(--embed-h, 400px); background: var(--ermes-bg-2); border-top: 1px solid var(--ermes-line); border-bottom: 1px solid var(--ermes-line); }
.ermes-embed iframe { display: block; width: 100%; height: var(--embed-h, 400px); border: 0; }
.ermes-embed__gate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 20px; gap: 6px; }
.ermes-embed.is-loaded .ermes-embed__gate { display: none; }
.ermes-embed__title { margin: 0; font-weight: 700; font-size: 18px; }
.ermes-embed__text { margin: 0; max-width: 560px; font-size: 14px; line-height: 1.6; opacity: .85; }
.ermes-embed__actions { margin: 14px 0 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.ermes-embed__link { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* pagine legali */
.ermes-legal h2 { font-size: 24px; margin: 40px 0 14px; }
.ermes-legal h3 { font-size: 18px; margin: 24px 0 8px; }
.ermes-legal p { line-height: 1.75; }
.ermes-legal__status { padding: 18px 20px; border-radius: 12px; border: 1px solid var(--ermes-line-strong); background: var(--ermes-bg-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ermes-legal__status p { margin: 0; }
.ermes-legal__table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0 20px; }
.ermes-legal__table th, .ermes-legal__table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--ermes-line); }
.ermes-legal__table th { font-weight: 600; opacity: .8; }
.ermes-legal__table code { font-size: 13px; }
html[data-theme="light"] .ermes-legal__status { background: #fff; }
/* footer: link al sistema ticket ben visibile */
.ermes-ticket-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 30px; border: 1px solid var(--ermes-red); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .3px; transition: background .3s, color .3s; }
.ermes-ticket-link .icon { width: 16px; height: 16px; color: var(--ermes-red-text); }
.ermes-ticket-link:hover { background: var(--ermes-red); color: #fff; }
.ermes-ticket-link:hover .icon { color: #fff; }
html[data-theme="light"] .ermes-ticket-link { color: #1d1d1d; }
html[data-theme="light"] .ermes-ticket-link:hover { color: #fff; }
/* stato apertura alla Google e chiusure straordinarie */
.ermes-open { display: flex; align-items: center; gap: 8px; margin: 0; }
.ermes-open__dot { width: 9px; height: 9px; border-radius: 50%; background: #3fbf6a; box-shadow: 0 0 0 3px rgba(63, 191, 106, .2); flex: none; }
.ermes-open.is-closed .ermes-open__dot { background: #ff6b66; box-shadow: 0 0 0 3px rgba(255, 107, 102, .2); }
.ermes-open--big { margin-top: 14px; font-size: 15px; }
.ermes-closures { list-style: none; padding: 12px 16px; margin: 14px 0 0; border-left: 3px solid var(--ermes-red); background: rgba(196, 25, 28, .08); border-radius: 0 10px 10px 0; font-size: 14px; }
.ermes-closures li + li { margin-top: 4px; }
/* pagina progetti: card tutte in 4:3 con taglio centrato (le copertine hanno proporzioni diverse) */
.portfolio .items .item-img .inner { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ermes-bg-2); }
.portfolio .items .item-img .inner img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* partner senza logo: monogramma nello stile del sito */
.ermes-partner-mono { display: inline-grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; border: 1px solid var(--ermes-line-strong); font-size: 42px; font-weight: 700; letter-spacing: 2px; color: var(--ermes-red-text); margin: 0; }
.ermes-partner-mono--sm { width: 84px; height: 84px; font-size: 28px; }
.clients .brand .img .ermes-partner-mono { margin: 0 auto; display: grid; }
html[data-theme="light"] .ermes-partner-mono { color: var(--ermes-red); border-color: rgba(0, 0, 0, .15); }
/* Chi siamo, griglia partner: card della stessa altezza e loghi della stessa misura ottica */
.clients .brand .item { height: 180px; padding: 0 24px; display: flex; align-items: center; justify-content: center; }
.clients .brand .img { width: 100%; max-width: 190px; height: 64px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.clients .brand .img img { width: auto; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; display: block; }
.clients .brand .img .ermes-partner-mono--sm { width: 64px; height: 64px; font-size: 22px; }
@media (max-width: 767.98px) { .clients .brand .item { height: 140px; padding: 0 14px; } .clients .brand .img { height: 52px; } .clients .brand .img img { max-height: 52px; } .clients .brand .img .ermes-partner-mono--sm { width: 52px; height: 52px; font-size: 18px; } }
html[data-theme="light"] .clients .brand .img img[src*="feedaty"] { filter: brightness(.45) contrast(1.2); } /* scritta bianca: nel tema chiaro la si scurisce */

/* ---------- Mobile: meno vuoto tra il primo blocco (intestazione) e il successivo ----------
   Il tema sotto i 992px forza .page-header { padding-bottom: 120px !important } annullando il pb-0 voluto,
   e somma 120px del blocco seguente + 80px di mt-80: su smartphone restavano 250-650px vuoti. */
@media (max-width: 767.98px) {
	main > :is(.page-header, .work-header).section-padding:first-child:not(.ermes-header--compact) { padding-top: 96px; }
	main > :is(.page-header, .work-header):first-child > .container.mt-80 { margin-top: 24px !important; }
	main > .page-header:first-child { padding-bottom: 48px !important; }
	main > .page-header.pb-0:first-child { padding-bottom: 0 !important; }
	main > :is(.page-header, .work-header):first-child .main-marq.section-padding { padding-top: 40px; }
	main > :is(.page-header, .work-header):first-child + :is(section, div, article).section-padding { padding-top: 56px; }
	main > :is(.page-header, .work-header):first-child + :is(section, div, article)[class*="pt-"] { padding-top: 40px !important; }
}

/* ---------- Fondatori: link in Chi siamo e pagine /roberto-gastaldi/, /ilaria-pesenti/ ---------- */
.ermes-founder-link, .ermes-person__link { color: inherit; text-decoration: underline; text-decoration-color: var(--ermes-red); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color .2s; }
.ermes-founder-link:hover, .ermes-founder-link:focus-visible, .ermes-person__link:hover, .ermes-person__link:focus-visible { color: var(--ermes-red-text); }
.ermes-person__role { margin-top: 14px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--ermes-red-text); }
/* foto che si trasforma nell'omino Ermes al passaggio del mouse (tocco su mobile, Invio da tastiera) */
.ermes-person__flip { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; border: 1px solid var(--ermes-line); background: var(--ermes-bg-2); cursor: pointer; isolation: isolate; }
.ermes-person__flip:focus-visible { outline: 2px solid var(--ermes-red); outline-offset: 4px; }
.ermes-person__photo .ermes-person__flip img { position: absolute !important; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; z-index: 1; } /* il tema forza position:relative su .team-single .img img */
.ermes-person__photo .ermes-person__flip .ermes-person__omino { z-index: 2; }
.ermes-person__real { object-fit: cover; object-position: center top; transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .9s; }
.ermes-person__omino { object-fit: contain; object-position: center bottom; padding: 28px 22px 0; box-sizing: border-box; background: #fcf7eb; clip-path: circle(0% at 50% 38%); transition: clip-path .9s cubic-bezier(.2, .7, .2, 1); z-index: 1; } /* fondo crema come le illustrazioni del magazine */
html[data-theme="light"] .ermes-person__flip { border-color: rgba(0, 0, 0, .08); }
.ermes-person__flip:hover .ermes-person__omino, .ermes-person__flip:focus-visible .ermes-person__omino, .ermes-person__flip.is-omino .ermes-person__omino { clip-path: circle(80% at 50% 38%); }
.ermes-person__flip:hover .ermes-person__real, .ermes-person__flip:focus-visible .ermes-person__real, .ermes-person__flip.is-omino .ermes-person__real { transform: scale(1.06); filter: grayscale(1); }
.ermes-person__hint { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 6px 11px; border-radius: 20px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #fff; background: rgba(20, 20, 20, .62); backdrop-filter: blur(6px); transition: opacity .4s; pointer-events: none; }
.ermes-person__flip:hover .ermes-person__hint, .ermes-person__flip:focus-visible .ermes-person__hint, .ermes-person__flip.is-omino .ermes-person__hint { opacity: 0; }
.ermes-person__hint-touch { display: none; }
@media (hover: none) { .ermes-person__hint-mouse { display: none; } .ermes-person__hint-touch { display: inline; } }
@media (prefers-reduced-motion: reduce) { .ermes-person__real, .ermes-person__omino { transition-duration: .01s; } }
.ermes-person__network { padding: 22px 24px; border-radius: 14px; border: 1px solid var(--ermes-line); } /* BNI sotto la foto del fondatore */
.ermes-person__network img { width: 72px; height: auto; display: block; }
.ermes-person__network p { font-size: 15px; line-height: 1.6; }
.ermes-person__network-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ermes-person__network-links svg { width: 12px; height: 12px; vertical-align: baseline; }
html[data-theme="light"] .ermes-person__network { border-color: rgba(0, 0, 0, .1); }
.ermes-person__highlight { padding: 24px 28px; border-left: 3px solid var(--ermes-red); border-radius: 0 12px 12px 0; background: rgba(196, 25, 28, .08); font-size: 17px; line-height: 1.65; } /* il ruolo di sviluppatore in evidenza */
.ermes-person__highlight p + p { margin-top: 14px; }
.team-single .cont p.ermes-person__closing { font-size: 21px; line-height: 1.5; font-weight: 500; } /* la frase che chiude la biografia */
@media (max-width: 767.98px) { .team-single .cont p.ermes-person__closing { font-size: 18px; } .ermes-person__highlight { padding: 20px 18px; } }
html[data-theme="light"] .ermes-person__highlight { background: rgba(196, 25, 28, .06); }
.ermes-person__quote { margin: 0; padding: 18px 0 18px 22px; border-left: 3px solid var(--ermes-red); }
.ermes-person__quote p { font-size: 20px; line-height: 1.5; font-style: italic; }
.ermes-person__quote cite { display: block; margin-top: 8px; font-size: 13px; font-style: normal; opacity: .7; }
.ermes-person__family { padding: 34px 38px; border-radius: 14px; border: 1px solid var(--ermes-line); }
@media (max-width: 767.98px) { .ermes-person__family { padding: 24px 20px; } .ermes-person__quote p { font-size: 17px; } }

/* icona del link esterno come SVG: il carattere ↗ su iPhone diventava un'emoji */
.ermes-ext { display: inline-flex; align-items: center; gap: 6px; }
.ermes-ext svg { width: 1em; height: 1em; flex: none; }

/* ---------- Mobile: respiro tra testi, immagini e moduli ---------- */
.logo-partner { margin-top: 24px; } /* logo del partner non incollato al titolo */
@media (max-width: 991.98px) {
	.ermes-contact-form { margin-top: 40px; } /* contatti: il modulo non parte attaccato agli orari */
	.header-main-crev .col-lg-3 { margin-top: 18px; } /* home: testo sotto il titolo */
}

/* Clienti: il logo si adatta sempre al riquadro (niente loghi larghi che escono dai bordi, niente loghi minuscoli) */
.ermes-logo-card__img { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ermes-logo-card__img img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; min-width: 0; object-fit: contain; }

/* ---------- Progetti: filtri come link e paginazione (21 per pagina) ---------- */
.portfolio .filtering .ermes-filter-link { color: inherit; text-decoration: none; }
.portfolio .filtering .ermes-filter-link:hover span, .portfolio .filtering .ermes-filter-link:focus-visible span { opacity: 1; }
.ermes-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ermes-pagination__page, .ermes-pagination__step { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 30px; border: 1px solid var(--ermes-line-strong); color: inherit; font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.ermes-pagination__page:hover, .ermes-pagination__step:hover, .ermes-pagination__page:focus-visible, .ermes-pagination__step:focus-visible { border-color: var(--ermes-red); color: inherit; }
.ermes-pagination__page.is-current { background: var(--ermes-red); border-color: var(--ermes-red); color: #fff; }
.ermes-pagination__step svg { width: 16px; height: 16px; }
.ermes-pagination__gap { opacity: .6; padding: 0 4px; }
html[data-theme="light"] .ermes-pagination__page, html[data-theme="light"] .ermes-pagination__step { border-color: rgba(0, 0, 0, .15); }
@media (max-width: 575.98px) { .ermes-pagination { gap: 6px; } .ermes-pagination__page, .ermes-pagination__step { min-width: 38px; height: 38px; padding: 0 8px; font-size: 13px; } .ermes-pagination__gap { padding: 0; } }

/* ---------- Menu su tablet in orizzontale (iPad 1024-1280): le voci non si comprimono e non vanno a capo ----------
   L'effetto "rolling text" del tema ha altezza fissa di una riga: se la voce si stringe la parola va a capo
   e restano visibili solo le prime lettere ("HO", "PROG"). */
.navbar .navbar-nav > li { flex-shrink: 0; }
.navbar .navbar-nav .rolling-text, .navbar .navbar-nav .rolling-text .block { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1279.98px) {
	.navbar .navbar-nav .nav-link { padding-left: 7px; padding-right: 7px; font-size: 13px; letter-spacing: .4px; }
	.navbar .navbar-nav > li { margin-left: 0; margin-right: 0; }
}
.clients-carso .swiper-container { padding: 6px 2px 26px; } /* spazio per il sollevamento al passaggio del mouse */
.ermes-sideimg-wrap { position: relative; } /* home: l'illustrazione accanto a "Trasformiamo le tue idee" resta sopra il banner scorrevole */
