/* ==========================================================================
   IBN Guyana — design system istituzionale
   Tipografia editoriale (Newsreader / IBM Plex), palette carta+inchiostro,
   accenti dai colori del logo (rosso, oro, verde) usati con misura.
   ========================================================================== */

:root {
  --ibn-paper: #f7f4ee;
  --ibn-paper-2: #efeae1;
  --ibn-ink: #141414;
  --ibn-ink-2: #3a3a3a;
  --ibn-ink-3: #6e6e6e;
  --ibn-line: #d9d3c8;
  --ibn-line-dark: #2a2a2a;
  --ibn-night: #101010;
  --ibn-red: #c4001a;
  --ibn-red-bright: #ff021d;
  --ibn-gold: #e5b800;
  --ibn-green: #00823a;

  --ibn-serif: "Newsreader", "Times New Roman", Georgia, serif;
  --ibn-sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --ibn-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --ibn-wrap: 1240px;
  --ibn-gutter: 24px;
  --ibn-section: clamp(48px, 6.5vw, 92px);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
/* scroll fluido gestito da Lenis (ibn-motion.js): niente scroll-behavior: smooth, che blocca il suo scrollTo */
body.ibn {
  margin: 0;
  background: var(--ibn-paper);
  color: var(--ibn-ink-2);
  font-family: var(--ibn-sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.ibn h1, body.ibn h2, body.ibn h3, body.ibn h4 {
  font-family: var(--ibn-serif);
  font-weight: 500;
  color: var(--ibn-ink);
  margin: 0;
  letter-spacing: -0.01em;
}
body.ibn a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.ibn a:hover { color: var(--ibn-red); }
body.ibn em { font-style: italic; }
body.ibn img { max-width: 100%; height: auto; display: block; }
body.ibn ::selection { background: var(--ibn-gold); color: var(--ibn-ink); }
body.ibn :focus-visible { outline: 2px solid var(--ibn-red); outline-offset: 3px; }

.ibn-wrap { max-width: var(--ibn-wrap); margin-inline: auto; padding-inline: var(--ibn-gutter); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; background: var(--ibn-ink); color: #fff; padding: 8px 12px; z-index: 999; }

/* --------------------------------------------------------------------------
   Motivi: kicker con indice, freccia dorata, filetto tricolore
   -------------------------------------------------------------------------- */
p.ibn-kicker,
.elementor-widget-heading.ibn-kicker .elementor-heading-title {
  font-family: var(--ibn-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ibn-ink-3);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  line-height: 1.4;
}
p.ibn-kicker::before,
.elementor-widget-heading.ibn-kicker .elementor-heading-title::before {
  content: "";
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--ibn-gold);
  flex: none;
}
.ibn-kicker__n { color: var(--ibn-red); margin-right: 6px; }
.ibn-section--night p.ibn-kicker, .ibn-section--night .elementor-widget-heading.ibn-kicker .elementor-heading-title { color: #9a9a9a; }

.ibn-tricolor {
  height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--ibn-gold) 0 33.33%, var(--ibn-red-bright) 33.33% 66.66%, var(--ibn-green) 66.66% 100%);
}

/* --------------------------------------------------------------------------
   Tipografia (classi usate dai template Elementor e dal tema)
   -------------------------------------------------------------------------- */
h1.ibn-display,
.elementor-widget-heading.ibn-display .elementor-heading-title {
  font-family: var(--ibn-serif);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ibn-ink);
  max-width: 14ch;
  margin: 0;
}
.elementor-widget-heading.ibn-h2 .elementor-heading-title {
  font-family: var(--ibn-serif);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ibn-ink);
  max-width: 18ch;
}
.elementor-widget-heading.ibn-h3 .elementor-heading-title {
  font-family: var(--ibn-serif);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  color: var(--ibn-ink);
}
.elementor-widget-heading.ibn-statement .elementor-heading-title {
  font-family: var(--ibn-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ibn-ink);
  max-width: 30ch;
}
.elementor-widget-text-editor.ibn-lede, p.ibn-lede, div.ibn-lede {
  font-family: var(--ibn-sans);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ibn-ink-2);
  max-width: 58ch;
}
.elementor-widget-text-editor.ibn-lede p:last-child { margin-bottom: 0; }
.elementor-widget-text-editor.ibn-body {
  font-family: var(--ibn-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ibn-ink-2);
  max-width: 62ch;
}
.elementor-widget-text-editor.ibn-small { font-size: 14px; line-height: 1.55; color: var(--ibn-ink-3); }
.elementor-widget-text-editor.ibn-mono {
  font-family: var(--ibn-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: var(--ibn-ink-2);
}
.elementor-widget-text-editor.ibn-mono p { margin: 0; }
figcaption.ibn-caption, p.ibn-caption,
.elementor-widget-text-editor.ibn-caption,
.elementor-widget-image.ibn-img .widget-image-caption {
  font-family: var(--ibn-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ibn-ink-3);
  text-align: left;
  margin-top: 12px;
}
.elementor-widget-heading .elementor-heading-title em { font-style: italic; font-weight: 400; color: var(--ibn-red); }

/* Sezioni scure: inversione controllata */
.e-con.ibn-section--night { background: var(--ibn-night); color: #d8d4cc; }
.ibn-section--night .elementor-widget-heading .elementor-heading-title,
.ibn-section--night .elementor-widget-heading.ibn-row__title .elementor-heading-title,
.ibn-section--night .elementor-widget-heading.ibn-h2 .elementor-heading-title,
.ibn-section--night .elementor-widget-heading.ibn-h3 .elementor-heading-title,
.ibn-section--night .elementor-widget-heading.ibn-statement .elementor-heading-title { color: #f4f1ea; }
.ibn-section--night .elementor-widget-text-editor,
.ibn-section--night .elementor-widget-text-editor.ibn-row__text,
.ibn-section--night .elementor-widget-text-editor.ibn-lede { color: #c9c4ba; }
.ibn-section--night .elementor-widget-text-editor.ibn-row__role { color: #9a9a9a; }
.ibn-section--night .elementor-widget-heading .elementor-heading-title em { color: var(--ibn-gold); }
.e-con.ibn-section--paper2 { background: var(--ibn-paper-2); }

/* --------------------------------------------------------------------------
   Sezioni e contenitori Elementor
   -------------------------------------------------------------------------- */
.e-con.ibn-section { padding-block: var(--ibn-section); }
.e-con.ibn-section--tight { padding-block: calc(var(--ibn-section) * 0.55); }
.e-con.ibn-section--top0 { padding-top: 0; }
.e-con.ibn-section--bottom0 { padding-bottom: 0; }
.e-con.ibn-hairline-top { border-top: 1px solid var(--ibn-line); }
.ibn-section--night.ibn-hairline-top { border-top-color: var(--ibn-line-dark); }

/* Elementor: azzeriamo il gap/margine di default tra elementi e gestiamo noi il ritmo */
.ibn .e-con { --gap: 0px; }
.ibn .elementor-widget:not(:last-child) { margin-block-end: 0; }
.ibn .elementor-widget + .elementor-widget { margin-top: 14px; }
.ibn .elementor-widget-heading.ibn-kicker + .elementor-widget { margin-top: 0; }
.ibn .elementor-widget-heading + .elementor-widget-text-editor { margin-top: 22px; }
.ibn .elementor-widget-text-editor + .elementor-widget-button,
.ibn .elementor-widget-heading + .elementor-widget-button { margin-top: 28px; }
.ibn .elementor-widget-text-editor + .elementor-widget-text-editor { margin-top: 14px; }
.ibn .elementor-widget-spacer + .elementor-widget, .ibn .elementor-widget + .elementor-widget-spacer { margin-top: 0; }
.ibn .elementor-widget + .e-con, .ibn .e-con + .elementor-widget { margin-top: 28px; }
.ibn .elementor-widget-heading.ibn-row__idx + .elementor-widget-heading { margin-top: 8px; }
.ibn .ibn-row .elementor-widget + .elementor-widget { margin-top: 10px; }
.ibn .ibn-row .elementor-widget-text-editor + .elementor-widget-button { margin-top: 16px; }

/* --------------------------------------------------------------------------
   Link e pulsanti (squadrati, sobri)
   -------------------------------------------------------------------------- */
.ibn .elementor-widget-button .elementor-button-wrapper { display: flex; justify-content: flex-start; }
.ibn .elementor-widget-button.ibn-link .elementor-button,
a.ibn-link {
  display: inline-flex;
  width: auto;
  align-self: flex-start;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0 0 4px;
  font-family: var(--ibn-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ibn-ink);
  border-bottom: 1px solid var(--ibn-ink);
  text-decoration: none !important;
  transition: color .2s, border-color .2s;
}
.ibn .elementor-widget-button.ibn-link .elementor-button:hover, a.ibn-link:hover { color: var(--ibn-red); border-color: var(--ibn-red); }
.ibn .elementor-widget-button .elementor-button-content-wrapper { gap: 8px; }
.ibn .elementor-widget-button.ibn-btn .elementor-button,
.ibn .elementor-widget-button.ibn-link .elementor-button { text-decoration: none !important; width: auto; flex: 0 0 auto; align-self: flex-start; }
.ibn-section--night .elementor-widget-button.ibn-link .elementor-button { color: #f4f1ea; border-color: #f4f1ea; }
.ibn-section--night .elementor-widget-button.ibn-link .elementor-button:hover { color: var(--ibn-gold); border-color: var(--ibn-gold); }

.ibn .elementor-widget-button.ibn-btn .elementor-button,
a.ibn-btn {
  display: inline-block;
  background: var(--ibn-ink);
  color: var(--ibn-paper);
  border-radius: 0;
  border: 1px solid var(--ibn-ink);
  padding: 14px 24px;
  font-family: var(--ibn-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.ibn .elementor-widget-button.ibn-btn .elementor-button:hover, a.ibn-btn:hover { background: var(--ibn-red); border-color: var(--ibn-red); color: #fff; }
.ibn-section--night .elementor-widget-button.ibn-btn .elementor-button { background: var(--ibn-paper); color: var(--ibn-ink); border-color: var(--ibn-paper); }
.ibn-section--night .elementor-widget-button.ibn-btn .elementor-button:hover { background: var(--ibn-gold); border-color: var(--ibn-gold); }
.ibn .elementor-widget-button.ibn-btn--outline .elementor-button { background: transparent; color: var(--ibn-ink); }
.ibn .elementor-widget-button.ibn-btn--outline .elementor-button:hover { background: var(--ibn-ink); color: var(--ibn-paper); }

/* --------------------------------------------------------------------------
   Registro (ledger): righe con filetto, indice mono, titolo serif
   -------------------------------------------------------------------------- */
.e-con.ibn-row {
  border-top: 1px solid var(--ibn-line);
  padding-block: 30px;
}
.e-con.ibn-ledger > .e-con.ibn-row:last-child { border-bottom: 1px solid var(--ibn-line); }
.ibn-section--night .e-con.ibn-row { border-color: var(--ibn-line-dark); }
.elementor-widget-heading.ibn-row__idx .elementor-heading-title {
  font-family: var(--ibn-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ibn-red);
  padding-top: 6px;
}
.elementor-widget-heading.ibn-row__title .elementor-heading-title {
  font-family: var(--ibn-serif);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.2;
  color: var(--ibn-ink);
}
.elementor-widget-text-editor.ibn-row__text { font-size: 15.5px; line-height: 1.6; color: var(--ibn-ink-2); max-width: 54ch; }
.elementor-widget-text-editor.ibn-row__role { font-family: var(--ibn-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ibn-ink-3); line-height: 1.6; }
.elementor-widget-image.ibn-row__logo { width: 100%; }
.elementor-widget-image.ibn-row__logo img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.elementor-widget-image.ibn-row__thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.elementor-widget-image.ibn-row__portrait img { width: 100%; max-width: 140px; aspect-ratio: 4/5; object-fit: cover; }
.ibn .ibn-row .elementor-widget-text-editor + .elementor-widget-button { margin-top: 14px; }

/* Fatti / cifre */
.e-con.ibn-fact { border-top: 1px solid var(--ibn-line); padding-top: 18px; }
.ibn-section--night .e-con.ibn-fact { border-color: var(--ibn-line-dark); }
.elementor-widget-heading.ibn-fact__v .elementor-heading-title {
  font-family: var(--ibn-serif);
  font-weight: 500;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ibn-ink);
}
.elementor-widget-text-editor.ibn-fact__l { font-family: var(--ibn-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ibn-ink-3); margin-top: 12px !important; line-height: 1.5; }
.ibn-section--night .elementor-widget-heading.ibn-fact__v .elementor-heading-title { color: #f4f1ea; }

/* Elenco settori (testo serif in due colonne) */
.ibn-sectors { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.ibn-sectors li {
  font-family: var(--ibn-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
  padding: 12px 0;
  border-top: 1px solid var(--ibn-line-dark);
  break-inside: avoid;
  display: flex; gap: 18px; align-items: baseline;
}
.ibn-sectors li span { font-family: var(--ibn-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ibn-gold); }

/* Immagini */
.elementor-widget-image.ibn-img img { width: 100%; }
.elementor-widget-image.ibn-img--band img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.elementor-widget-image.ibn-img--band .elementor-widget-container { max-width: 940px; margin-left: auto; margin-right: auto; }
.elementor-widget-image.ibn-img--band img { aspect-ratio: 4/3; object-position: center 25%; border-radius: 6px; }
.elementor-widget-image.ibn-img--tall img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.elementor-widget-image.ibn-img--mark img { width: 120px; }
.elementor-widget-image.ibn-img--logo img { max-height: 40px; width: auto; }

/* Citazione istituzionale */
.elementor-widget-text-editor.ibn-quote {
  font-family: var(--ibn-serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--ibn-ink);
  max-width: 60ch;
}
.elementor-widget-text-editor.ibn-quote p::before { content: "“"; color: var(--ibn-red); }
.elementor-widget-text-editor.ibn-quote p::after { content: "”"; color: var(--ibn-red); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.ibn-header {
  position: sticky; top: 0; z-index: 100;
  /* Tinta piena: color-mix() e backdrop-filter non sono supportati da tutti i browser mobili,
     e senza fallback la barra resta trasparente sul contenuto. */
  background: var(--ibn-paper);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.ibn-header.is-scrolled { border-bottom-color: var(--ibn-line); }
.ibn-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 76px; }
.ibn-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ibn-ink); }
.ibn-brand:hover { color: var(--ibn-ink); }
.ibn-brand__mark { width: 34px; height: auto; }
.ibn-brand__logo { max-height: 44px; width: auto; }
.ibn-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.ibn-brand__name { font-family: var(--ibn-serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.ibn-brand__sub { font-family: var(--ibn-mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ibn-ink-3); margin-top: 3px; }

.ibn-nav { display: flex; align-items: center; gap: 36px; }
.ibn-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.ibn-nav__list li { position: relative; }
.ibn-nav__list > li > a {
  display: inline-block; padding: 8px 0;
  font-family: var(--ibn-sans); font-size: 15px; font-weight: 500; color: var(--ibn-ink);
  text-decoration: none; border-bottom: 1px solid transparent;
}
.ibn-nav__list > li > a:hover, .ibn-nav__list > li.current-menu-item > a, .ibn-nav__list > li.current-menu-ancestor > a { border-bottom-color: var(--ibn-ink); color: var(--ibn-ink); }
.ibn-nav__list .sub-menu {
  list-style: none; margin: 0; padding: 10px 0;
  position: absolute; top: 100%; left: -18px; min-width: 240px;
  background: var(--ibn-paper); border: 1px solid var(--ibn-line);
  box-shadow: 0 16px 40px -24px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.ibn-nav__list li:hover > .sub-menu, .ibn-nav__list li.is-open > .sub-menu, .ibn-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ibn-nav__list .sub-menu a { display: block; padding: 9px 18px; font-size: 14.5px; color: var(--ibn-ink-2); text-decoration: none; }
.ibn-nav__list .sub-menu a:hover { color: var(--ibn-red); background: var(--ibn-paper-2); }
.ibn-nav__aside { display: flex; align-items: center; gap: 22px; padding-left: 28px; border-left: 1px solid var(--ibn-line); }
.ibn-nav__contact { font-family: var(--ibn-mono); font-size: 12px; letter-spacing: 0.04em; text-decoration: none; color: var(--ibn-ink-2); }
.ibn-lang { display: flex; gap: 10px; font-family: var(--ibn-mono); font-size: 12px; letter-spacing: 0.08em; }
.ibn-lang a { text-decoration: none; color: var(--ibn-ink-3); padding: 2px 0; border-bottom: 1px solid transparent; }
.ibn-lang a.is-active { color: var(--ibn-ink); border-bottom-color: var(--ibn-red); }
.ibn-burger { display: none; background: none; border: 1px solid var(--ibn-line); width: 44px; height: 44px; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.ibn-burger span { display: block; width: 20px; height: 1.5px; background: var(--ibn-ink); transition: transform .2s; }
.ibn-nav-open .ibn-burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.ibn-nav-open .ibn-burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 1023px) {
  .ibn-burger { display: flex; }
  .ibn-nav {
    display: none; position: absolute; left: 0; right: 0; top: 76px;
    background: var(--ibn-paper); border-bottom: 1px solid var(--ibn-line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--ibn-gutter) 24px; max-height: calc(100vh - 76px); overflow: auto;
  }
  .ibn-nav.is-open { display: flex; }
  .ibn-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .ibn-nav__list > li > a { display: block; padding: 14px 0; border-bottom: 1px solid var(--ibn-line); font-size: 18px; font-family: var(--ibn-serif); font-weight: 500; }
  .ibn-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: none; padding: 4px 0 8px 16px; display: none; }
  .ibn-nav__list li.is-open > .sub-menu { display: block; }
  .ibn-nav__aside { border: 0; padding: 20px 0 0; justify-content: space-between; }
}

/* --------------------------------------------------------------------------
   Footer (colophon)
   -------------------------------------------------------------------------- */
.ibn-footer { background: var(--ibn-night); color: #b9b4aa; margin-top: 0; border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--ibn-gold) 0 33.33%, var(--ibn-red-bright) 33.33% 66.66%, var(--ibn-green) 66.66% 100%) 1; }
.ibn-footer a { color: #e6e2da; text-decoration: none; }
.ibn-footer a:hover { color: var(--ibn-gold); }
.ibn-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.8fr; gap: 48px; padding: 72px 0 56px; }
.ibn-footer__mark { width: 40px; }
.ibn-footer__name { font-family: var(--ibn-serif); font-size: 22px; color: #f4f1ea; line-height: 1.1; margin: 16px 0 14px; }
.ibn-footer__name span { font-family: var(--ibn-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #8f8a80; }
.ibn-footer__about { font-size: 14px; line-height: 1.6; max-width: 40ch; margin: 0; }
.ibn-footer__h { font-family: var(--ibn-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8f8a80; margin: 6px 0 18px; font-weight: 500; }
.ibn-footer__office, .ibn-footer__lines { font-size: 14px; line-height: 1.7; margin: 0 0 16px; }
.ibn-footer__office strong { color: #f4f1ea; font-weight: 500; }
.ibn-footer__social a { margin-right: 14px; }
.ibn-footer__menu { list-style: none; margin: 0; padding: 0; }
.ibn-footer__menu a { display: block; padding: 4px 0; font-size: 14.5px; }
.ibn-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 28px; border-top: 1px solid var(--ibn-line-dark); font-family: var(--ibn-mono); font-size: 11.5px; letter-spacing: 0.04em; color: #8f8a80; }
.ibn-footer__bottom p { margin: 0; }
.ibn-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.ibn-footer .ibn-lang a { color: #8f8a80; }
.ibn-footer .ibn-lang a.is-active { color: #f4f1ea; }
@media (max-width: 900px) { .ibn-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .ibn-footer__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   News (archivio e articolo) — resi dal tema, non da Elementor
   -------------------------------------------------------------------------- */
.ibn-page-head { padding: calc(var(--ibn-section) * 0.9) var(--ibn-gutter) 48px; }
.ibn-page-head .ibn-display { max-width: 16ch; }
.ibn-page-head .ibn-lede { margin-top: 24px; }
.ibn-ledger { list-style: none; margin: 0 0 var(--ibn-section); padding: 0; border-bottom: 1px solid var(--ibn-line); }
.ibn-ledger__row { display: grid; grid-template-columns: 180px 1fr 48px; gap: 32px; align-items: start; padding: 30px 0; border-top: 1px solid var(--ibn-line); }
.ibn-ledger__meta { font-family: var(--ibn-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ibn-ink-3); display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.ibn-ledger__title { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
.ibn-ledger__title a { text-decoration: none; }
.ibn-ledger__text { margin: 10px 0 0; max-width: 62ch; color: var(--ibn-ink-2); }
.ibn-ledger__link { font-family: var(--ibn-serif); font-size: 26px; text-decoration: none; color: var(--ibn-ink); justify-self: end; }
.ibn-pagination { font-family: var(--ibn-mono); font-size: 13px; margin-bottom: var(--ibn-section); }
.ibn-pagination .nav-links { display: flex; gap: 14px; }
.ibn-pagination .page-numbers { padding: 6px 10px; border: 1px solid var(--ibn-line); text-decoration: none; }
.ibn-pagination .page-numbers.current { background: var(--ibn-ink); color: var(--ibn-paper); border-color: var(--ibn-ink); }
@media (max-width: 720px) { .ibn-ledger__row { grid-template-columns: 1fr; gap: 10px; } .ibn-ledger__link { display: none; } }

.ibn-article__figure { margin: 0 auto 48px; }
.ibn-article__figure img { width: 100%; }
.ibn-article__body { max-width: 720px; margin-inline: auto; }
.ibn-article__foot { max-width: 720px; margin: 56px auto var(--ibn-section); padding-top: 24px; border-top: 1px solid var(--ibn-line); }
.ibn-prose { font-size: 18px; line-height: 1.7; color: var(--ibn-ink-2); }
.ibn-prose > * + * { margin-top: 1.2em; }
.ibn-prose h2 { font-size: 30px; margin-top: 2em; }
.ibn-prose h3 { font-size: 24px; margin-top: 1.6em; }
.ibn-prose blockquote { margin: 2em 0; padding-left: 20px; border-left: 2px solid var(--ibn-red); font-family: var(--ibn-serif); font-size: 24px; line-height: 1.4; color: var(--ibn-ink); }
.ibn-prose a { color: var(--ibn-red); }
.ibn-prose figcaption { font-family: var(--ibn-mono); font-size: 12px; color: var(--ibn-ink-3); margin-top: 8px; }

/* Shortcode [ibn_latest_news] e [ibn_contact_block] */
.ibn-news { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ibn-line); }
.ibn-news li { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 22px 0; border-top: 1px solid var(--ibn-line); align-items: baseline; }
.ibn-news time { font-family: var(--ibn-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ibn-ink-3); }
.ibn-news a { font-family: var(--ibn-serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.2; text-decoration: none; color: var(--ibn-ink); }
.ibn-news a:hover { color: var(--ibn-red); }
.ibn-news__empty { font-family: var(--ibn-mono); font-size: 13px; color: var(--ibn-ink-3); }
@media (max-width: 640px) { .ibn-news li { grid-template-columns: 1fr; gap: 6px; } }

.ibn-contact-block { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ibn-contact-block h4 { font-family: var(--ibn-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ibn-ink-3); margin: 0 0 10px; font-weight: 500; }
.ibn-contact-block p { margin: 0 0 20px; line-height: 1.7; font-size: 15.5px; }
.ibn-contact-block p strong { font-family: var(--ibn-serif); font-size: 20px; font-weight: 500; color: var(--ibn-ink); }
.ibn-contact-block a { text-decoration: none; }
@media (max-width: 640px) { .ibn-contact-block { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Moduli (Contact Form 7 / Elementor Pro forms)
   -------------------------------------------------------------------------- */
.ibn .wpcf7 label, .ibn .elementor-field-label { display: block; font-family: var(--ibn-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ibn-ink-3); margin-bottom: 8px; }
.ibn .wpcf7 input:not([type=submit]), .ibn .wpcf7 textarea, .ibn .wpcf7 select,
.ibn .elementor-field-textual {
  width: 100%; box-sizing: border-box; background: #fff; border: 1px solid var(--ibn-line); border-radius: 0;
  padding: 13px 14px; font-family: var(--ibn-sans); font-size: 15.5px; color: var(--ibn-ink); transition: border-color .2s;
}
.ibn .wpcf7 input:focus, .ibn .wpcf7 textarea:focus, .ibn .elementor-field-textual:focus { outline: none; border-color: var(--ibn-ink); }
.ibn .wpcf7 p { margin: 0 0 18px; }
.ibn .wpcf7 input[type=submit], .ibn .elementor-button[type=submit] { background: var(--ibn-ink); color: var(--ibn-paper); border: 1px solid var(--ibn-ink); border-radius: 0; padding: 14px 26px; font-family: var(--ibn-sans); font-size: 14px; font-weight: 500; cursor: pointer; }
.ibn .wpcf7 input[type=submit]:hover { background: var(--ibn-red); border-color: var(--ibn-red); }
.ibn .wpcf7-not-valid-tip { font-family: var(--ibn-mono); font-size: 12px; color: var(--ibn-red); margin-top: 6px; }
.ibn .wpcf7-response-output { border: 1px solid var(--ibn-line) !important; margin: 20px 0 0 !important; padding: 12px 14px !important; font-size: 14px; }
.ibn .elementor-widget-google_maps iframe { filter: grayscale(1) contrast(1.05); }

/* ==========================================================================
   Layer "motion & depth": animazioni, gradienti, micro-interazioni
   (rispetta prefers-reduced-motion)
   ========================================================================== */

/* Barra di avanzamento tricolore (iniettata da ibn.js) */
.ibn-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--ibn-gold), var(--ibn-red-bright) 50%, var(--ibn-green)); transition: width .12s linear; }

/* Reveal allo scroll con stagger (solo se JS attivo) */
html.ibn-js .ibn [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); will-change: opacity, transform; }
html.ibn-js .ibn [data-reveal].is-visible { opacity: 1; transform: none; }
html.ibn-js .ibn .e-con.ibn-row[data-reveal] { transform: translateX(-18px); }
html.ibn-js .ibn .e-con.ibn-row[data-reveal].is-visible { transform: none; }

/* Hero: gradiente animato nei colori del logo sopra la foto, testi in entrata */
.e-con.ibn-hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: #f4f1ea; isolation: isolate; overflow: hidden; }
.e-con.ibn-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(115deg, rgba(10,10,11,.96) 0%, rgba(10,10,11,.86) 45%, rgba(92,1,12,.72) 100%); }
.e-con.ibn-hero::after { content: ""; position: absolute; inset: -30%; z-index: -1; pointer-events: none; opacity: .75; filter: blur(60px);
  background:
    radial-gradient(38% 38% at 18% 25%, rgba(255,211,0,.35), transparent 70%),
    radial-gradient(36% 36% at 82% 30%, rgba(255,2,29,.40), transparent 70%),
    radial-gradient(34% 34% at 60% 85%, rgba(0,160,52,.33), transparent 70%);
  animation: ibn-mesh 18s ease-in-out infinite alternate; }
@keyframes ibn-mesh { 0% { transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1); } 50% { transform: translate3d(3%, 4%, 0) rotate(6deg) scale(1.08); } 100% { transform: translate3d(-2%, 3%, 0) rotate(-4deg) scale(1.02); } }
.ibn-hero .elementor-widget-heading .elementor-heading-title, .ibn-hero .elementor-widget-text-editor { color: #f4f1ea; }
.ibn-hero .elementor-widget-text-editor.ibn-lede { color: #d8d4cc; }
.ibn-hero .elementor-widget-text-editor.ibn-mono { color: #b9b4aa; }
.ibn-hero .elementor-widget-heading.ibn-kicker .elementor-heading-title { color: #b9b4aa; }
.ibn-hero .elementor-widget-heading .elementor-heading-title em .w, .ibn-hero .elementor-widget-heading .elementor-heading-title .w em { display: inline; overflow: visible; }
.ibn-hero .elementor-widget-heading .elementor-heading-title em {
  background: linear-gradient(90deg, var(--ibn-gold), var(--ibn-red-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ibn-hero .elementor-widget-button.ibn-link .elementor-button { color: #f4f1ea; border-color: rgba(244,241,234,.5); }
.ibn-hero .elementor-widget-button.ibn-link .elementor-button:hover { color: var(--ibn-gold); border-color: var(--ibn-gold); }
.ibn-hero .elementor-widget-button.ibn-btn .elementor-button { background: var(--ibn-gold); color: var(--ibn-ink); border-color: var(--ibn-gold); }
.ibn-hero .elementor-widget-button.ibn-btn .elementor-button:hover { background: #fff; border-color: #fff; }
.ibn-hero .elementor-widget-image.ibn-img--mark img { width: 150px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); animation: ibn-float 7s ease-in-out infinite; }
@keyframes ibn-float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-3deg); } }
.ibn-hero > .e-con > .e-con > .elementor-widget { animation: ibn-up .9s cubic-bezier(.2,.7,.2,1) both; }
.ibn-hero > .e-con > .e-con > .elementor-widget:nth-child(1) { animation-delay: .05s }
.ibn-hero > .e-con > .e-con > .elementor-widget:nth-child(2) { animation-delay: .18s }
.ibn-hero > .e-con > .e-con > .elementor-widget:nth-child(3) { animation-delay: .32s }
.ibn-hero > .e-con > .e-con > .elementor-widget:nth-child(n+4), .ibn-hero > .e-con > .e-con > .e-con { animation: ibn-up .9s .48s cubic-bezier(.2,.7,.2,1) both; }
@keyframes ibn-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.ibn-hero .ibn-tricolor { height: 4px; background-size: 200% 100%; animation: ibn-shimmer 6s linear infinite; }
@keyframes ibn-shimmer { to { background-position: -200% 0; } }
.ibn-hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 56px; background: linear-gradient(to bottom, transparent, var(--ibn-gold)); }
.ibn-hero__scroll::after { content: ""; position: absolute; left: -2px; bottom: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--ibn-gold); animation: ibn-drop 1.8s ease-in-out infinite; }
@keyframes ibn-drop { 0% { transform: translateY(-40px); opacity: 0 } 50% { opacity: 1 } 100% { transform: translateY(0); opacity: 0 } }

/* Sezioni scure con profondità */
.e-con.ibn-section--night { position: relative; isolation: isolate; background: radial-gradient(60% 50% at 80% 0%, rgba(196,0,26,.28), transparent 70%), radial-gradient(50% 45% at 5% 100%, rgba(0,130,58,.22), transparent 70%), var(--ibn-night); }
.e-con.ibn-section--night::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--ibn-gold), var(--ibn-red-bright) 50%, var(--ibn-green)); background-size: 200% 100%; animation: ibn-shimmer 8s linear infinite; }

/* Cifre: contatore + testo sfumato */
.elementor-widget-heading.ibn-fact__v .elementor-heading-title { background: linear-gradient(90deg, var(--ibn-ink), var(--ibn-red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ibn-section--night .elementor-widget-heading.ibn-fact__v .elementor-heading-title { background: linear-gradient(90deg, #fff, var(--ibn-gold)); -webkit-background-clip: text; background-clip: text; }
.e-con.ibn-fact { transition: transform .35s, border-color .35s; }
.e-con.ibn-fact:hover { transform: translateY(-4px); border-color: var(--ibn-red); }

/* Registro: barra d'accento, titolo che scivola, freccia */
.e-con.ibn-row { position: relative; transition: background .3s; }
.e-con.ibn-row::before { content: ""; position: absolute; left: -16px; top: 30px; bottom: 30px; width: 3px; background: linear-gradient(var(--ibn-gold), var(--ibn-red-bright)); transform: scaleY(0); transform-origin: top; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.e-con.ibn-row:hover::before { transform: scaleY(1); }
.e-con.ibn-row .elementor-widget-heading.ibn-row__title .elementor-heading-title { transition: transform .35s, color .35s; }
.e-con.ibn-row:hover .elementor-widget-heading.ibn-row__title .elementor-heading-title { transform: translateX(6px); color: var(--ibn-red); }
.ibn-section--night .e-con.ibn-row:hover .elementor-widget-heading.ibn-row__title .elementor-heading-title { color: var(--ibn-gold); }
.elementor-widget-image.ibn-row__logo img { filter: grayscale(1); opacity: .8; transition: filter .35s, opacity .35s, transform .35s; }
.e-con.ibn-row:hover .elementor-widget-image.ibn-row__logo img { filter: none; opacity: 1; transform: scale(1.06); }
.elementor-widget-image.ibn-row__thumb img, .elementor-widget-image.ibn-row__portrait img { transition: transform .5s; }
.e-con.ibn-row:hover .elementor-widget-image.ibn-row__thumb img, .e-con.ibn-row:hover .elementor-widget-image.ibn-row__portrait img { transform: scale(1.04); }

/* Pulsanti e link */
.ibn .elementor-widget-button.ibn-link .elementor-button { border-bottom-width: 0; background-image: linear-gradient(90deg, var(--ibn-red), var(--ibn-gold)); background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 100%; transition: background-size .35s, color .25s; }
.ibn .elementor-widget-button.ibn-link .elementor-button:hover { background-size: 100% 2px; }
.ibn .elementor-widget-button.ibn-btn .elementor-button { position: relative; overflow: hidden; }
.ibn .elementor-widget-button.ibn-btn .elementor-button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s; }
.ibn .elementor-widget-button.ibn-btn .elementor-button:hover::after { transform: translateX(120%); }

/* Immagini: cornice, parallax leggero, zoom hover */
.elementor-widget-image.ibn-img img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.elementor-widget-image.ibn-img:hover img { transform: scale(1.03); }
.elementor-widget-image.ibn-img--band { position: relative; overflow: hidden; }

.elementor-widget-image.ibn-img--tall img, .elementor-widget-image.ibn-img img { box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }

/* Pilastri e blocchi: card leggera con luce in hover */
.ibn-section .e-con.e-flex > .e-con[data-reveal]:not(.ibn-row):not(.ibn-fact) .elementor-widget-heading.ibn-h3 .elementor-heading-title { transition: color .3s; }

/* Marquee loghi partner */
.ibn-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ibn-marquee__track { display: flex; gap: 72px; width: max-content; align-items: center; animation: ibn-marquee 38s linear infinite; }
.ibn-marquee:hover .ibn-marquee__track { animation-play-state: paused; }
.ibn-marquee__track img { height: 42px !important; width: auto !important; max-width: 160px !important; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s, transform .3s; }
.ibn-marquee__track img:hover { filter: none; opacity: 1; transform: scale(1.08); }
@keyframes ibn-marquee { to { transform: translateX(-50%); } }

/* Header: si compatta allo scroll */
.ibn-header__bar { transition: height .3s; }
.ibn-header.is-scrolled .ibn-header__bar { height: 62px; }
.ibn-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(0,0,0,.35); }
.ibn-nav__list > li > a { position: relative; border: 0; }
.ibn-nav__list > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: linear-gradient(90deg, var(--ibn-red), var(--ibn-gold)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.ibn-nav__list > li > a:hover::after, .ibn-nav__list > li.current-menu-item > a::after, .ibn-nav__list > li.current-menu-ancestor > a::after { transform: scaleX(1); }

/* Quote */
.elementor-widget-text-editor.ibn-quote p::before, .elementor-widget-text-editor.ibn-quote p::after { font-size: 1.4em; }

/* Selettore lingua: pill sfumata sull'attivo */
.ibn-lang a.is-active { border-bottom: 0; background: linear-gradient(90deg, var(--ibn-red), var(--ibn-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html.ibn-js .ibn [data-reveal] { opacity: 1; transform: none; transition: none; }
  .e-con.ibn-hero::after, .ibn-hero .elementor-widget-image.ibn-img--mark img, .ibn-hero .ibn-tricolor, .e-con.ibn-section--night::before, .ibn-hero__scroll::after { animation: none; }
  /* la striscia dei loghi continua a scorrere: è l'unico modo per vederli tutti su schermi stretti */
  .ibn-hero > .e-con > .e-con > .elementor-widget, .ibn-hero > .e-con > .e-con > .e-con { animation: none; }
}
@media (max-width: 767px) { .e-con.ibn-hero { min-height: auto; } .ibn-hero__scroll { display: none; } .e-con.ibn-row::before { display: none; } }
.e-con.ibn-hero--page { min-height: 58vh; }
.e-con.ibn-hero--page .elementor-widget-heading.ibn-display .elementor-heading-title { font-size: clamp(38px, 5vw, 68px); }

/* ==========================================================================
   Esperienza avanzata (GSAP/Lenis): preloader, cursore, split-text, stack, h-scroll…
   ========================================================================== */
html.ibn-motion.lenis, html.ibn-motion.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto; }
html.ibn-loading { overflow: hidden; }
html.ibn-has-cursor, html.ibn-has-cursor a, html.ibn-has-cursor button { cursor: none; }

/* Grana leggera su tutta la pagina */
body.ibn::after { content: ""; position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* Preloader */
.ibn-preloader { position: fixed; inset: 0; z-index: 1000; background: var(--ibn-night); color: #f4f1ea; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.ibn-preloader__mark { position: relative; width: 96px; height: 84px; }
.ibn-preloader__mark .p { position: absolute; width: 0; height: 0; border-style: solid; }
.ibn-preloader__mark .p1 { left: 40px; top: 0; border-width: 0 0 26px 52px; border-color: transparent transparent transparent var(--ibn-gold); transform: skewY(0); }
.ibn-preloader__mark .p1 { border-width: 26px 0 0 52px; border-color: var(--ibn-gold) transparent transparent transparent; }
.ibn-preloader__mark .p2 { left: 0; top: 18px; border-width: 24px 0 24px 52px; border-color: transparent transparent transparent var(--ibn-red-bright); }
.ibn-preloader__mark .p3 { left: 40px; bottom: 0; border-width: 0 0 26px 52px; border-color: transparent transparent var(--ibn-green) transparent; }
.ibn-preloader__count { font-family: var(--ibn-serif); font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.ibn-preloader__tag { font-family: var(--ibn-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #8f8a80; }

/* Cursore */
.ibn-cursor { position: fixed; inset: 0; pointer-events: none; z-index: 900; opacity: 0; transition: opacity .3s; }
.ibn-cursor.is-on { opacity: 1; }
.ibn-cursor__dot { position: absolute; top: -4px; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--ibn-red-bright); mix-blend-mode: difference; }
.ibn-cursor__ring { position: absolute; top: -22px; left: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(20,20,20,.55); display: flex; align-items: center; justify-content: center; transition: width .3s, height .3s, top .3s, left .3s, background .3s, border-color .3s; mix-blend-mode: difference; border-color: rgba(255,255,255,.9); }
.ibn-cursor.is-link .ibn-cursor__ring { width: 64px; height: 64px; top: -32px; left: -32px; background: rgba(255,255,255,.18); }
.ibn-cursor.is-view .ibn-cursor__ring { width: 92px; height: 92px; top: -46px; left: -46px; background: var(--ibn-gold); border-color: var(--ibn-gold); mix-blend-mode: normal; }
.ibn-cursor__label { font-family: var(--ibn-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ibn-ink); opacity: 0; transition: opacity .2s; }
.ibn-cursor.is-view .ibn-cursor__label { opacity: 1; }

/* Split text */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.w .wi { display: inline-block; will-change: transform; }

/* Hero: chip fluttuanti in vetro */
.ibn-chips { display: grid; gap: 14px; margin-top: 10px; perspective: 800px; }
.ibn-chip { display: flex; align-items: center; gap: 12px; padding: 14px 18px; min-width: 300px; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; background: rgba(255,255,255,.06); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); transform-style: preserve-3d; will-change: transform; }
.ibn-chip:nth-child(2) { margin-left: 38px; } .ibn-chip:nth-child(3) { margin-left: 12px; }
.ibn-chip__v { font-family: var(--ibn-serif); font-size: 26px; line-height: 1; color: #fff; flex: 0 0 auto; padding-right: 6px; border-right: 1px solid rgba(255,255,255,.18); margin-right: 4px; }
.ibn-chip__l { flex: 1 1 auto; font-family: var(--ibn-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #c9c4ba; line-height: 1.4; }
.ibn-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ibn-green); box-shadow: 0 0 0 0 rgba(0,160,52,.6); animation: ibn-pulse 2s infinite; margin-left: auto; }
@keyframes ibn-pulse { 70% { box-shadow: 0 0 0 10px rgba(0,160,52,0); } 100% { box-shadow: 0 0 0 0 rgba(0,160,52,0); } }
.e-con.ibn-hero { --ibn-hero-shift: 0; }
.e-con.ibn-hero::before { background: linear-gradient(115deg, rgba(10,10,11,calc(.96 - var(--ibn-hero-shift)*.2)) 0%, rgba(10,10,11,.86) 45%, rgba(92,1,12,.72) 100%); }

/* Pannelli impilati (servizi) */
.e-con.ibn-stack .ibn-stack__panels { display: block; }
.e-con.ibn-stack__panel { position: sticky; top: calc(96px + var(--k, 0) * 18px); margin-bottom: 26px; min-height: 58vh; padding: clamp(28px, 4vw, 56px) !important; border-radius: 10px; background: #fff; border: 1px solid var(--ibn-line); box-shadow: 0 40px 80px -50px rgba(0,0,0,.35); transform-origin: top center; overflow: hidden; }
.e-con.ibn-stack__panel:nth-child(2) { background: var(--ibn-paper-2); }
.e-con.ibn-stack__panel:nth-child(3) { background: var(--ibn-night); color: #d8d4cc; }
.e-con.ibn-stack__panel:nth-child(3) .elementor-widget-heading .elementor-heading-title, .e-con.ibn-stack__panel:nth-child(3) .elementor-widget-text-editor { color: #f4f1ea; }
.e-con.ibn-stack__panel:nth-child(3) .elementor-widget-button.ibn-link .elementor-button { color: #f4f1ea; }
.e-con.ibn-stack__panel .elementor-widget-html { position: static; }
.ibn-stack__big { position: absolute; right: 28px; top: 8px; font-family: var(--ibn-serif); font-size: clamp(90px, 14vw, 200px); line-height: 1; color: rgba(196,0,26,.10); pointer-events: none; }
.e-con.ibn-stack__panel:nth-child(3) .ibn-stack__big { color: rgba(255,211,0,.14); }
.e-con.ibn-stack__panel:nth-child(1) { --k: 0; } .e-con.ibn-stack__panel:nth-child(2) { --k: 1; } .e-con.ibn-stack__panel:nth-child(3) { --k: 2; }
.e-con.ibn-stack__panel .elementor-widget-heading.ibn-h2 .elementor-heading-title { font-size: clamp(34px, 4.4vw, 60px); max-width: 16ch; }
.e-con.ibn-stack__panel .elementor-widget-text-editor.ibn-lede { max-width: 52ch; }

/* Scorrimento orizzontale pinnato (settori) */
.e-con.ibn-hs { overflow: hidden; }
.ibn-hscroll { position: relative; margin-top: 40px; }
.ibn-hscroll__track { display: flex; gap: 22px; width: max-content; padding-right: 10vw; will-change: transform; }
.ibn-hcard { flex: 0 0 auto; width: clamp(240px, 24vw, 340px); min-height: 300px; padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: space-between; transform-style: preserve-3d; transition: border-color .3s, background .3s; }
.ibn-hcard:hover { border-color: var(--ibn-gold); background: linear-gradient(160deg, rgba(255,211,0,.12), rgba(255,255,255,.03)); }
.ibn-hcard__n { font-family: var(--ibn-mono); font-size: 12px; letter-spacing: .12em; color: var(--ibn-gold); }
body.ibn .ibn-hcard h3 { font-family: var(--ibn-serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; color: #f4f1ea; margin: 18px 0 12px; }
body.ibn .ibn-hcard p { font-size: 14.5px; line-height: 1.55; color: #b9b4aa; margin: 0; }
.ibn-hcard__arrow { font-family: var(--ibn-serif); font-size: 26px; color: var(--ibn-gold); margin-top: 18px; transition: transform .3s; }
.ibn-hcard:hover .ibn-hcard__arrow { transform: translateX(8px); }
.ibn-hscroll__bar { height: 2px; margin-top: 34px; background: linear-gradient(90deg, var(--ibn-gold), var(--ibn-red-bright), var(--ibn-green)); transform: scaleX(0); transform-origin: left; }
@media (max-width: 899px) { .ibn-hscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 12px; } .ibn-hscroll__bar { display: none; } }

/* Sezioni scure: sfondo che si espande allo scroll */
.e-con.ibn-section--night { --ibn-night-r: 160%; background: radial-gradient(circle at 50% 0%, var(--ibn-night) var(--ibn-night-r), transparent calc(var(--ibn-night-r) + 1%)), radial-gradient(60% 50% at 80% 0%, rgba(196,0,26,.28), transparent 70%), radial-gradient(50% 45% at 5% 100%, rgba(0,130,58,.22), transparent 70%), var(--ibn-night); }

/* Anteprima flottante */
.ibn-preview { position: fixed; top: 0; left: 0; width: 220px; height: 150px; z-index: 850; pointer-events: none; border-radius: 8px; background: #fff center/contain no-repeat; background-origin: content-box; padding: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); border: 1px solid var(--ibn-line); opacity: 0; transform: scale(.85) rotate(-3deg); transition: opacity .25s, transform .35s cubic-bezier(.2,.7,.2,1); }
.ibn-preview.is-on { opacity: 1; transform: scale(1) rotate(0); }

/* Footer: wordmark gigante */
.ibn-footer { position: relative; overflow: hidden; }
.ibn-footer__wordmark { position: absolute; left: 50%; bottom: -0.08em; transform: translateX(-50%); font-family: var(--ibn-serif); font-weight: 500; font-size: clamp(90px, 17vw, 260px); line-height: 1; letter-spacing: -0.04em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); pointer-events: none; user-select: none; }
.ibn-footer .ibn-wrap { position: relative; z-index: 1; }

/* Header nascondibile */
.ibn-header { transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .2s, box-shadow .2s; }
.ibn-header.is-hidden { transform: translateY(-100%); }

/* Cifre e pilastri con profondità */
.e-con.ibn-fact { transform-style: preserve-3d; background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0)); border-radius: 8px; padding: 18px 16px 12px; border: 1px solid var(--ibn-line); }
.ibn-section--night .e-con.ibn-fact { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0)); border-color: var(--ibn-line-dark); }

@media (prefers-reduced-motion: reduce) { .ibn-preloader, .ibn-cursor, .ibn-preview, .ibn-footer__wordmark { display: none; } .w { overflow: visible; } }

/* Con il layer GSAP attivo l'ingresso dell'hero è gestito da JS: niente doppia animazione CSS */
html.ibn-motion .ibn-hero > .e-con > .e-con > .elementor-widget, html.ibn-motion .ibn-hero > .e-con > .e-con > .e-con { animation: none; }
@media (max-width: 640px) {
  .ibn-hero .elementor-widget-heading.ibn-kicker .elementor-heading-title { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; }
  .ibn-hero .elementor-widget-heading.ibn-kicker { margin-bottom: 14px; }
  .ibn-chips { margin-top: 24px; } .ibn-chip:nth-child(2), .ibn-chip:nth-child(3) { margin-left: 0; } .ibn-chip { min-width: 0; }
  .ibn-footer__wordmark { font-size: 22vw; }
}

/* ==========================================================================
   Hero v1 (come la versione Next), banda foto senza zoom, card impilate, hover morbidi
   ========================================================================== */
.e-con.ibn-hero::after { display: none; }                      /* niente nebbia sopra la foto */
.e-con.ibn-hero::before { background: linear-gradient(115deg, rgba(10,10,11,.90) 0%, rgba(10,10,11,.62) 50%, rgba(92,1,12,.40) 100%) !important; }
.e-con.ibn-hero { background-color: #0a0a0b; }
.ibn-hero__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(to bottom, var(--ibn-gold-bright, #FFD300), var(--ibn-red-bright, #FF021D) 50%, var(--ibn-green-bright, #00A034)); }
.ibn-hero .elementor-widget-html { position: static; }
.e-con.ibn-hero--v1 { min-height: 86vh; padding-top: clamp(96px, 12vh, 150px) !important; padding-bottom: clamp(64px, 8vh, 110px) !important; }
.e-con.ibn-hero--v1 > .elementor-widget, .e-con.ibn-hero--v1 > .e-con { max-width: 720px; }
.ibn-hero .elementor-widget-heading.ibn-display .elementor-heading-title, .e-con.ibn-hero--page .elementor-widget-heading.ibn-display .elementor-heading-title {
  font-family: "Space Grotesk", var(--ibn-sans); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; font-size: clamp(38px, 4.6vw, 64px); }
.ibn-hero .elementor-widget-heading.ibn-display .elementor-heading-title em { font-style: normal; }
.ibn-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; font-family: var(--ibn-sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #ffe066; }
.e-con.ibn-hero--v1 .ibn-eyebrow { padding: 8px 16px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.05); backdrop-filter: blur(4px); }
.ibn-eyebrow--line::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.ibn-hero .elementor-widget-text-editor.ibn-lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; color: #dcd8d0; margin-top: 22px !important; max-width: 640px; }
.e-con.ibn-hero__ctas { margin-top: 36px !important; }
.ibn .elementor-widget-button.ibn-btn .elementor-button { padding: 16px 28px; font-size: 16px; }
.ibn .elementor-widget-button.ibn-btn--outline .elementor-button { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.35) !important; }
.ibn .elementor-widget-button.ibn-btn--outline .elementor-button:hover { border-color: #fff !important; background: rgba(255,255,255,.08) !important; }
.ibn-hero .elementor-widget-button.ibn-btn:not(.ibn-btn--outline) .elementor-button { background: var(--ibn-gold-bright, #FFD300); color: var(--ibn-ink); border-color: var(--ibn-gold-bright, #FFD300); box-shadow: 0 12px 30px -12px rgba(255,211,0,.6); }
.ibn-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 56px 0 0; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); max-width: 600px; }
.ibn-stat { margin: 0; }
.ibn-stat__v { margin: 0; font-family: "Space Grotesk", var(--ibn-sans); font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); line-height: 1; color: #ffe066; }
.ibn-stat__l { margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; color: #c9c4ba; }
.e-con.ibn-hero--page { min-height: 0; padding-top: clamp(80px, 10vh, 130px) !important; padding-bottom: clamp(64px, 8vh, 110px) !important; }
.e-con.ibn-hero--page .elementor-widget-heading.ibn-display .elementor-heading-title { font-size: clamp(34px, 4vw, 54px); }

/* Sezione 01: hover con transizione, niente scatti */
html.ibn-motion .ibn [data-reveal] { transition: none; }
html.ibn-js .ibn .e-con.ibn-fact { transition: transform .55s cubic-bezier(.2,.7,.2,1), border-color .4s, box-shadow .55s cubic-bezier(.2,.7,.2,1), background .4s; }
.e-con.ibn-fact:hover { transform: translateY(-6px); border-color: var(--ibn-red); box-shadow: 0 24px 40px -28px rgba(20,20,20,.35); background: #fff; }

/* Card partner impilate (sezione 04) */
.ibn-sticky { position: sticky; top: 120px; align-self: flex-start; }
.e-con.ibn-stack__panel--card { min-height: 0; padding: 26px 30px !important; border-radius: 10px; background: #fff; border: 1px solid var(--ibn-line); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); top: calc(120px + var(--k, 0) * 12px); margin-bottom: 18px; }
.e-con.ibn-stack__panel--card:nth-child(n) { background: #fff; color: inherit; }
.e-con.ibn-stack__panel--card:nth-child(even) { background: var(--ibn-paper-2); }
.e-con.ibn-stack__panel--card .elementor-widget-heading .elementor-heading-title { color: var(--ibn-ink); }
.e-con.ibn-stack__panel--card .elementor-widget-text-editor.ibn-mono { margin-top: 6px !important; color: var(--ibn-ink-3); }
.elementor-widget-image.ibn-pcard__logo img { max-height: 64px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(1.05); transition: filter .4s; }
.e-con.ibn-stack__panel--card:hover .ibn-pcard__logo img { filter: none; }
.e-con.ibn-stack--cards .ibn-stack__panels { padding-bottom: 8vh; }
@media (max-width: 1024px) { .ibn-sticky { position: static; } }
@media (max-width: 640px) { .ibn-stats { grid-template-columns: 1fr 1fr; } .e-con.ibn-hero--v1 { min-height: 0; } .elementor-widget-image.ibn-img--band img { aspect-ratio: 4/3; } }

/* Hero v1: larghezze (i figli di un container boxed stanno dentro .e-con-inner) */
.e-con.ibn-hero--v1 .e-con-inner > .elementor-widget, .e-con.ibn-hero--v1 .e-con-inner > .e-con, .e-con.ibn-hero--v1 > .elementor-widget, .e-con.ibn-hero--v1 > .e-con { max-width: 760px; }
.e-con.ibn-hero--v1 .elementor-widget-heading.ibn-display .elementor-heading-title { max-width: none; }
.e-con.ibn-hero--v1 .elementor-widget-text-editor.ibn-lede { max-width: 640px; }
.e-con.ibn-hero--page .elementor-widget-heading.ibn-display .elementor-heading-title { max-width: 16ch; }

/* Sezione settori su schermi bassi: tutto dentro l'altezza della finestra */
@media (max-height: 800px) and (min-width: 900px) {
  .e-con.ibn-hs { padding-top: 40px !important; padding-bottom: 40px !important; }
  .e-con.ibn-hs .elementor-widget-heading.ibn-h2 .elementor-heading-title { font-size: clamp(28px, 3vw, 40px); }
  .e-con.ibn-hs .elementor-widget-text-editor.ibn-lede { font-size: 15px; }
  .ibn-hscroll { margin-top: 22px; }
  .ibn-hcard { min-height: 230px; padding: 20px; }
  .ibn-hscroll__bar { margin-top: 20px; }
}
.elementor-widget-image.ibn-img--band { max-width: 960px; margin-left: auto !important; margin-right: auto !important; }
.e-con.ibn-hero--v1 .elementor-widget-heading.ibn-display .elementor-heading-title { font-size: clamp(38px, 4.3vw, 60px); }

/* Settori: pila orizzontale — le card impilate restano visibili sotto la successiva */
.ibn-hcard { position: relative; transform-origin: left center; will-change: transform; }
.ibn-hscroll__track .ibn-hcard:nth-child(n) { z-index: 1; }
.ibn-hscroll { overflow: visible; }
.e-con.ibn-hs { overflow: hidden; }
/* Card settori opache: nella pila il testo di quelle sotto non deve trasparire */
.ibn-hcard { background: linear-gradient(160deg, #1d1d1f, #131314); backdrop-filter: none; }
.ibn-hcard:hover { background: linear-gradient(160deg, #262622, #141413); }

/* Sezione 05: card settori impilate su fondo scuro (stesso effetto della 04) */
.ibn-section--night .e-con.ibn-stack__panel--card,
.ibn-section--night .e-con.ibn-stack__panel--card:nth-child(n) { background: linear-gradient(160deg, #1f1f21, #141415); border-color: rgba(255,255,255,.10); box-shadow: 0 30px 60px -36px rgba(0,0,0,.9); color: #d8d4cc; }
.ibn-section--night .e-con.ibn-stack__panel--card:nth-child(even) { background: linear-gradient(160deg, #26241f, #161513); }
.ibn-section--night .e-con.ibn-stack__panel--card .elementor-widget-heading .elementor-heading-title { color: #f4f1ea; }
.ibn-section--night .e-con.ibn-stack__panel--card .elementor-widget-text-editor.ibn-body { color: #b9b4aa; margin-top: 8px !important; }
.ibn-section--night .e-con.ibn-stack__panel--card:hover { border-color: rgba(255,211,0,.45); }
.elementor-widget-heading.ibn-scard__n .elementor-heading-title { font-family: var(--ibn-serif); font-size: clamp(40px, 4vw, 56px); line-height: 1; color: var(--ibn-gold) !important; letter-spacing: -0.02em; }
.elementor-widget-heading.ibn-scard__n .elementor-heading-title span { font-family: var(--ibn-mono); font-size: 12px; letter-spacing: .1em; color: #8f8a80; margin-left: 4px; vertical-align: top; }
.ibn-section--night .elementor-widget-text-editor.ibn-body { color: #c9c4ba; }
.ibn-section--night .e-con.ibn-stack__panel--card, .ibn-section--night .e-con.ibn-stack__panel--card:nth-child(n) { box-shadow: 0 18px 36px -28px rgba(0,0,0,.9); }
/* Card impilate su telefono: tutta la larghezza, padding ridotto */
@media (max-width: 767px) {
  .e-con.ibn-stack--cards .e-con { --width: 100% !important; width: 100% !important; max-width: 100% !important; }
  .e-con.ibn-stack__panel--card { padding: 22px 20px !important; }
  .elementor-widget-heading.ibn-scard__n .elementor-heading-title { font-size: 40px; }
}
@media (max-width: 767px) {
  .e-con.ibn-stack--cards .e-con:not(.ibn-stack__panel) { --padding-left: 0px; --padding-right: 0px; padding-left: 0 !important; padding-right: 0 !important; }
}

/* Sezione 05 (fila orizzontale): card come contenitori Elementor */
.e-con.ibn-hscroll { margin-top: 44px; overflow: visible; }
.e-con.ibn-hscroll__track { --width: max-content; width: max-content !important; max-width: none !important; flex-wrap: nowrap !important; padding: 0 !important; will-change: transform; }
.e-con.ibn-hcard { --width: clamp(250px, 24vw, 340px); width: clamp(250px, 24vw, 340px) !important; flex: 0 0 auto !important; min-height: 290px; padding: 28px 26px !important; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: linear-gradient(160deg, #1f1f21, #141415); box-shadow: 0 24px 48px -30px rgba(0,0,0,.9); justify-content: flex-start; transform-origin: left center; transition: border-color .4s; }
.e-con.ibn-hcard:nth-child(even) { background: linear-gradient(160deg, #26241f, #161513); }
.e-con.ibn-hcard:hover { border-color: rgba(255,211,0,.5); }
.e-con.ibn-hcard .elementor-widget-heading.ibn-hcard__title .elementor-heading-title { font-family: var(--ibn-serif); font-weight: 500; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; color: #f4f1ea; margin-top: 22px; }
.e-con.ibn-hcard .elementor-widget-text-editor.ibn-hcard__text { margin-top: 12px !important; font-size: 15px; line-height: 1.55; color: #b9b4aa; }
.e-con.ibn-hcard .elementor-widget-text-editor.ibn-hcard__text p { margin: 0; }
.e-con.ibn-hscroll .elementor-widget-html { margin-top: 0 !important; }
.ibn-hscroll__bar { margin-top: 34px; }
@media (max-height: 800px) and (min-width: 900px) { .e-con.ibn-hcard { min-height: 220px; padding: 22px 20px !important; } .e-con.ibn-hscroll { margin-top: 26px; } }
@media (max-width: 899px) {
  .e-con.ibn-hscroll { overflow-x: auto !important; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding-bottom: 14px !important; margin-left: -20px; margin-right: -20px; padding-left: 20px !important; padding-right: 20px !important; }
  .e-con.ibn-hcard { --width: 78vw; width: 78vw !important; scroll-snap-align: start; min-height: 240px; }
}
@media (min-width: 900px) { .e-con.ibn-hscroll { padding-left: 24px !important; padding-right: 24px !important; } }
.e-con.ibn-hscroll { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
/* allinea la fila di card al testo della sezione (riga 24px + colonna 24px) */
.e-con.ibn-hscroll { padding-left: 48px !important; padding-right: 48px !important; }
@media (max-width: 899px) { .e-con.ibn-hscroll { scroll-padding-left: 48px; } }
@media (max-width: 899px) { .e-con.ibn-hcard { --width: min(250px, 66vw); width: min(250px, 66vw) !important; } }

/* Sezione 05 senza animazione (movimento ridotto nel sistema o JS assente):
   niente fila che esce dallo schermo, le card si dispongono in griglia */
@media (min-width: 900px) {
  .e-con.ibn-hs:not(.is-hs-active) .e-con.ibn-hscroll__track { --width: 100%; width: 100% !important; flex-wrap: wrap !important; }
  .e-con.ibn-hs:not(.is-hs-active) .e-con.ibn-hcard { --width: calc((100% - 66px) / 4); width: calc((100% - 66px) / 4) !important; min-height: 240px; }
  .e-con.ibn-hs:not(.is-hs-active) .ibn-hscroll__bar { display: none; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .e-con.ibn-hs:not(.is-hs-active) .e-con.ibn-hcard { --width: calc((100% - 44px) / 3); width: calc((100% - 44px) / 3) !important; }
}

/* Lenis gestisce lo scroll fluido: qualsiasi scroll-behavior: smooth (anche quello di Elementor)
   fa "scivolare" ogni suo scrollTo e la pagina resta ferma in alto. CSS consigliato da Lenis. */
html.lenis, html.lenis body { scroll-behavior: auto !important; }

/* Sezioni bloccate allo scroll (pin GSAP): Elementor dà a ogni contenitore "transition: transform .4s";
   al blocco/sblocco GSAP riposiziona la sezione col transform e la transizione la faceva "volare" via. */
.pin-spacer > .e-con, .e-con.ibn-hs { transition: none !important; }
html { overflow-anchor: none; }

/* Sezione 05 bloccata: riempie lo schermo, contenuto centrato in verticale sotto l'header */
@media (min-width: 900px) {
  .e-con.ibn-hs.is-hs-active { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 84px !important; padding-bottom: 32px !important; box-sizing: border-box; }
  .e-con.ibn-hs.is-hs-active > .e-con-inner { justify-content: center; }
}

/* Hero: video di sfondo sotto il velo scuro (::before, z-index -2) */
.e-con.ibn-hero .ibn-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -3; pointer-events: none; background: #0a0a0b; }
.e-con.ibn-hero:has(.ibn-hero__video) { background-image: none !important; }
.e-con.ibn-hero .ibn-hero__video.is-hidden { visibility: hidden; }
@media (max-width: 767px) { .e-con.ibn-hero .ibn-hero__video { object-position: 45% center; } }

/* Hero (home e pagine interne): solo un velo scuro leggero e uniforme sopra foto e video.
   Nessun gradiente colorato, nessuna nebbia animata. */
.e-con.ibn-hero::before { background: rgba(0, 0, 0, .45) !important; animation: none !important; }
.e-con.ibn-hero::after { display: none !important; }

/* Hero: i due pulsanti sulla stessa linea e allineati al testo sopra */
.e-con.ibn-hero__ctas { --padding-left: 0px; --padding-right: 0px; padding-left: 0 !important; padding-right: 0 !important; align-items: center !important; }
.e-con.ibn-hero__ctas > .elementor-widget, .e-con.ibn-hero__ctas > .e-con-inner > .elementor-widget { margin-top: 0 !important; margin-bottom: 0 !important; }
@media (max-width: 767px) { .e-con.ibn-hero__ctas { align-items: flex-start !important; } }

/* ==========================================================================
   Guyana: luoghi, simboli, mappa, icone
   ========================================================================== */
/* Icone (Lucide, a tratto) */
.ibn-ico { width: 100%; height: 100%; display: block; stroke: currentColor; fill: none; stroke-width: 1.6; }
.ibn-row__icon { width: 52px; height: 52px; padding: 12px; border-radius: 50%; border: 1px solid var(--ibn-line); color: var(--ibn-red); background: #fff; transition: background .4s, color .4s, border-color .4s; }
.e-con.ibn-row:hover .ibn-row__icon { background: var(--ibn-ink); color: var(--ibn-gold); border-color: var(--ibn-ink); }
.ibn-section--night .ibn-row__icon { background: transparent; border-color: var(--ibn-line-dark); color: var(--ibn-gold); }
.ibn-hcard__icon { width: 34px; height: 34px; color: var(--ibn-gold); margin-bottom: 18px; }
.ibn-stack__icon { width: 44px; height: 44px; color: var(--ibn-red); margin-bottom: 20px; }
.e-con.ibn-stack__panel:nth-child(3) .ibn-stack__icon { color: var(--ibn-gold); }

/* Hero: luogo della ripresa */
.ibn-hero__place { position: absolute; right: clamp(16px, 4vw, 48px); bottom: 24px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); font-family: var(--ibn-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #f4f1ea; }
.ibn-hero__place .ibn-ico { width: 15px; height: 15px; color: var(--ibn-gold); }
.e-con.ibn-hero--page { position: relative; }
@media (max-width: 767px) { .ibn-hero__place { position: static; margin-top: 24px; } }

/* Foto con didascalia e crediti */
.ibn-photo { margin: 0; }
.ibn-photo__frame { overflow: hidden; border-radius: 6px; background: #1a1a1a; aspect-ratio: 4 / 3; }
.ibn-photo__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ibn-photo figcaption { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.ibn-photo figcaption span { font-size: 14px; line-height: 1.5; color: var(--ibn-ink-2); }
.ibn-photo figcaption small { font-family: var(--ibn-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--ibn-ink-3); }
.ibn-photo figcaption small a { color: inherit; text-decoration: underline; text-decoration-color: rgba(0,0,0,.25); text-underline-offset: 2px; }
.ibn-section--night .ibn-photo figcaption span { color: #d8d4cc; }
.ibn-section--night .ibn-photo figcaption small { color: #8f8a80; }
.ibn-section--night .ibn-photo figcaption small a { text-decoration-color: rgba(255,255,255,.25); }
.ibn-photo--band .ibn-photo__frame { aspect-ratio: 21 / 9; }
.ibn-photo--tall .ibn-photo__frame { aspect-ratio: 4 / 5; }
@media (max-width: 767px) { .ibn-photo--band .ibn-photo__frame { aspect-ratio: 4 / 3; } }
.ibn-photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .ibn-photo-pair { grid-template-columns: 1fr; } }

/* Mappa */
.ibn-map { margin: 0 auto; max-width: 440px; }
.ibn-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.ibn-map__nb { fill: #1a1a1a; stroke: #2c2c2c; stroke-width: 1; }
.ibn-map__land { fill: rgba(0,160,52,.22); stroke: var(--ibn-gold); stroke-width: 1.6; stroke-linejoin: round; }
.ibn-map__dot { fill: var(--ibn-red-bright, #FF021D); stroke: #101010; stroke-width: 2; }
.ibn-map__pin.is-place .ibn-map__dot { fill: #fff; }
.ibn-map__pulse { fill: none; stroke: var(--ibn-red-bright, #FF021D); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ibn-map-pulse 2.4s ease-out infinite; animation-delay: calc(var(--d, 0) * .6s); }
.ibn-map__pin.is-place .ibn-map__pulse { stroke: #fff; }
@keyframes ibn-map-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4); opacity: 0; } }
.ibn-map__name { font-family: var(--ibn-sans); font-size: 13px; font-weight: 600; fill: #f4f1ea; paint-order: stroke; stroke: #101010; stroke-width: 3px; }
.ibn-map__note { font-family: var(--ibn-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; fill: #b9b4aa; paint-order: stroke; stroke: #101010; stroke-width: 3px; }

/* Bandiera */
.ibn-flag { display: block; width: 100%; max-width: 360px; height: auto; border-radius: 4px; box-shadow: 0 24px 48px -28px rgba(0,0,0,.6); overflow: hidden; }
.ibn-flag-wrap .ibn-flag { max-width: 300px; }

/* Simboli nazionali */
.ibn-symbols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ibn-symbol { display: flex; flex-direction: column; padding: 18px; border-radius: 10px; background: #fff; border: 1px solid var(--ibn-line); transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s cubic-bezier(.2,.7,.2,1), border-color .4s; }
.ibn-symbol:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -28px rgba(20,20,20,.35); border-color: var(--ibn-red); }
.ibn-symbol .ibn-photo figcaption span { display: none; }
.ibn-symbol .ibn-photo__frame { aspect-ratio: 4 / 3; }
.ibn-symbol__label { margin: 18px 0 6px; font-family: var(--ibn-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ibn-red); }
body.ibn .ibn-symbol__name { margin: 0; font-family: var(--ibn-serif); font-weight: 500; font-size: 24px; line-height: 1.15; color: var(--ibn-ink); }
.ibn-symbol__text { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ibn-ink-2); }
.ibn-symbol--motto { background: var(--ibn-night); border-color: var(--ibn-night); color: #f4f1ea; justify-content: space-between; gap: 18px; }
.ibn-symbol--motto .ibn-symbol__label { margin-top: 0; color: var(--ibn-gold); }
.ibn-symbol__quote { margin: 0; font-family: var(--ibn-serif); font-size: clamp(26px, 2.2vw, 32px); line-height: 1.15; color: #f4f1ea; }
.ibn-symbol--motto .ibn-flag { max-width: none; }
@media (max-width: 1024px) { .ibn-symbols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ibn-symbols { grid-template-columns: 1fr; } }

/* Motto nazionale */
.ibn-motto { display: flex; align-items: center; gap: clamp(28px, 5vw, 72px); }
.ibn-motto .ibn-flag { flex: 0 0 auto; width: clamp(140px, 18vw, 240px); }
.ibn-motto__kicker { margin: 0 0 12px; font-family: var(--ibn-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ibn-gold); }
.ibn-motto__text { margin: 0; font-family: var(--ibn-serif); font-weight: 500; font-size: clamp(32px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -0.02em; color: #f4f1ea; }
@media (max-width: 767px) { .ibn-motto { flex-direction: column; align-items: flex-start; } }

@media (prefers-reduced-motion: reduce) { .ibn-map__pulse { animation: none; opacity: 0; } }

/* Correzioni: foto che riempiono sempre la cornice (Elementor forza img{height:auto}),
   luogo della ripresa nel flusso sotto il testo, mappa senza bordo netto */
.ibn-photo .ibn-photo__frame img { height: 100% !important; max-width: none; }
.ibn-hero__place { position: static; margin-top: 28px; align-self: flex-start; }
.e-con.ibn-hero--page .ibn-hero__place { margin-bottom: 4px; }
.ibn-map svg { -webkit-mask-image: radial-gradient(75% 70% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(75% 70% at 50% 50%, #000 62%, transparent 100%); }

/* Rete di partner: griglia di loghi */
.e-con.ibn-logo-grid { display: grid !important; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.e-con.ibn-logo-card { --width: auto; width: auto !important; padding: 20px 16px 14px !important; border-radius: 10px; background: #fff; border: 1px solid var(--ibn-line); justify-content: space-between; transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s cubic-bezier(.2,.7,.2,1), border-color .4s; }
.e-con.ibn-logo-card:hover { transform: translateY(-5px); box-shadow: 0 22px 36px -26px rgba(20,20,20,.35); border-color: var(--ibn-red); }
.elementor-widget-image.ibn-logo-card__img { height: 84px; display: flex; align-items: center; justify-content: center; }
.elementor-widget-image.ibn-logo-card__img img { max-height: 64px !important; max-width: 100% !important; width: auto !important; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .5s, opacity .5s; }
.e-con.ibn-logo-card:hover .elementor-widget-image.ibn-logo-card__img img { filter: none; opacity: 1; }
.elementor-widget-heading.ibn-logo-card__name .elementor-heading-title { margin-top: 12px; font-family: var(--ibn-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; color: var(--ibn-ink-3); text-align: center; }
@media (max-width: 1100px) { .e-con.ibn-logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .e-con.ibn-logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
/* striscia dei loghi in home: più loghi, stessa velocità */
.ibn-marquee__track { animation-duration: 150s; }

/* 06 — Leadership */
.e-con.ibn-lead { padding: clamp(24px, 3vw, 40px) !important; border-radius: 16px; background: #fff; border: 1px solid var(--ibn-line); box-shadow: 0 40px 80px -60px rgba(20,20,20,.45); }
.ibn-lead__portrait { position: relative; margin: 0 14px 14px 0; }
.ibn-lead__portrait::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--ibn-gold); border-radius: 12px; z-index: 0; pointer-events: none; }
.ibn-lead__portrait .ibn-photo__frame { position: relative; z-index: 1; aspect-ratio: 1 / 1; border-radius: 12px; }
.ibn-lead__portrait .ibn-photo__frame img { object-position: center 30%; }
.ibn-lead__badge { position: absolute; z-index: 2; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: var(--ibn-night); color: var(--ibn-gold); font-family: var(--ibn-mono); font-size: 11px; letter-spacing: .14em; }
.elementor-widget-text-editor.ibn-lead__role { font-family: var(--ibn-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ibn-red); }
.elementor-widget-text-editor.ibn-lead__role p { margin: 0; }
.elementor-widget-heading.ibn-lead__name .elementor-heading-title { margin: 8px 0 14px; font-family: var(--ibn-serif); font-weight: 500; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -0.02em; color: var(--ibn-ink); }
.ibn-seats__title { margin: 0 0 10px; font-family: var(--ibn-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ibn-ink-3); }
.ibn-seats ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ibn-line); }
.ibn-seats li { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px; padding: 12px 8px; border-bottom: 1px solid var(--ibn-line); border-radius: 8px; transition: background .4s, transform .5s cubic-bezier(.2,.7,.2,1); }
.ibn-seats li:hover { background: var(--ibn-paper-2); transform: translateX(6px); }
.ibn-seats__logo { width: 64px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--ibn-red); }
.ibn-seats__logo img { max-width: 64px; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.ibn-seats__logo .ibn-ico { width: 26px; height: 26px; }
.ibn-seats__org { font-family: var(--ibn-serif); font-size: 18px; line-height: 1.25; color: var(--ibn-ink); }
.ibn-seats__role { font-family: var(--ibn-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ibn-ink-3); text-align: right; max-width: 200px; }
.e-con.ibn-team-row > .e-con.ibn-team-card, .e-con.ibn-team-row > .e-con-inner > .e-con.ibn-team-card { flex: 1 1 0; }
.e-con.ibn-team-card { padding: 18px !important; border-radius: 14px; background: #fff; border: 1px solid var(--ibn-line); transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s cubic-bezier(.2,.7,.2,1), border-color .4s; }
.e-con.ibn-team-card:hover { transform: translateY(-5px); box-shadow: 0 24px 40px -28px rgba(20,20,20,.35); border-color: var(--ibn-red); }
.elementor-widget-image.ibn-team__photo img { width: 100% !important; max-width: 140px !important; aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: 10px; }
.elementor-widget-heading.ibn-team__name .elementor-heading-title { margin: 6px 0 8px; font-family: var(--ibn-serif); font-weight: 500; font-size: 24px; line-height: 1.15; color: var(--ibn-ink); }
@media (max-width: 767px) {
  .ibn-seats li { grid-template-columns: 52px 1fr; }
  .ibn-seats__role { grid-column: 2; text-align: left; max-width: none; }
  .e-con.ibn-team-row { flex-direction: column !important; }
}
.ibn-lead__portrait .ibn-photo__frame img { display: block; width: 100%; height: 100% !important; object-fit: cover; max-width: none; }
.e-con.ibn-team-card > .e-con:first-child, .e-con.ibn-team-card > .e-con-inner > .e-con:first-child { --width: 128px; width: 128px !important; flex: 0 0 128px; }
.e-con.ibn-team-card > .e-con:last-child, .e-con.ibn-team-card > .e-con-inner > .e-con:last-child { --width: auto; width: auto !important; flex: 1 1 auto; }
.elementor-widget-image.ibn-team__photo img { max-width: 128px !important; }
@media (max-width: 767px) { .e-con.ibn-team-card { flex-direction: row !important; } .e-con.ibn-team-card > .e-con:first-child { --width: 96px; width: 96px !important; flex-basis: 96px; } }

/* Pulsanti: il testo resta fermo (restano riflesso e cambio colore) */
.ibn .elementor-widget-button .elementor-button-text, .ibn .elementor-widget-button:hover .elementor-button-text { transform: none !important; }

/* Movimento ridotto: Elementor azzera TUTTE le transizioni (html * { transition-duration: 0s !important }).
   Gli effetti al passaggio del mouse partono solo da un gesto del visitatore: li riportiamo morbidi. */
@media (prefers-reduced-motion: reduce) {
  body.ibn .e-con.ibn-fact, body.ibn .ibn-symbol, body.ibn .e-con.ibn-logo-card, body.ibn .e-con.ibn-logo-card img,
  body.ibn .e-con.ibn-team-card, body.ibn .ibn-seats li, body.ibn .e-con.ibn-row, body.ibn .ibn-row__icon, body.ibn .ibn-row__logo img,
  body.ibn .e-con.ibn-hcard, body.ibn .e-con.ibn-stack__panel--card, body.ibn .elementor-button, body.ibn .elementor-button::after,
  body.ibn .ibn-marquee__track img, body.ibn .ibn-nav__list > li > a::after, body.ibn a.ibn-link, body.ibn a.ibn-btn,
  body.ibn .e-con.ibn-svc-card, body.ibn .ibn-svc-card__media img, body.ibn .ibn-row__photo img, body.ibn .e-con.ibn-hcard::before,
  body.ibn .ibn-lead__portrait, body.ibn .e-con.ibn-logo-card img {
    transition-duration: .5s !important;
  }
}

/* Loghi dei partner sempre a colori (niente scala di grigi / trasparenza in attesa dell'hover) */
body.ibn .ibn-marquee__track img, body.ibn .elementor-widget-image.ibn-row__logo img, body.ibn .elementor-widget-image.ibn-pcard__logo img,
body.ibn .elementor-widget-image.ibn-logo-card__img img, body.ibn .ibn-seats__logo img { filter: none !important; opacity: 1 !important; }

/* Menu mobile: attaccato al bordo inferiore dell'header (che cambia altezza allo scroll),
   header sempre visibile e in posizione mentre il menu è aperto */
@media (max-width: 1023px) {
  .ibn-nav { top: 100% !important; max-height: calc(100dvh - 100%); box-shadow: 0 24px 40px -24px rgba(0,0,0,.35); }
  body.ibn-nav-open .ibn-header { transform: none !important; background: var(--ibn-paper); border-bottom-color: var(--ibn-line); }
}

/* Telefoni e schermi piccoli: cifre (01) e pilastri (03) due per riga invece che in colonna */
@media (max-width: 767px) {
  .e-con.ibn-grid2 { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px !important; }
  .e-con.ibn-grid2 > .e-con, .e-con.ibn-grid2 > .e-con-inner > .e-con { --width: auto; width: auto !important; min-width: 0; margin: 0 !important; }
  .e-con.ibn-grid2 > .e-con.ibn-fact { padding: 14px 12px 10px !important; }
  .e-con.ibn-grid2 .elementor-widget-heading.ibn-fact__v .elementor-heading-title { font-size: clamp(28px, 9vw, 40px); }
  .e-con.ibn-grid2 .elementor-widget-text-editor.ibn-fact__l { font-size: 10.5px; letter-spacing: .05em; margin-top: 8px !important; }
  .e-con.ibn-grid2 .elementor-widget-heading.ibn-h3 .elementor-heading-title { font-size: 19px; }
  .e-con.ibn-grid2 > .e-con.ibn-pillar { padding: 14px 12px !important; border: 1px solid var(--ibn-line); border-radius: 10px; background: rgba(255,255,255,.55); }
  .ibn-section--night .e-con.ibn-grid2 > .e-con.ibn-pillar { background: rgba(255,255,255,.04); border-color: var(--ibn-line-dark); }
}
@media (max-width: 560px) {
  .ibn-symbols { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ibn-symbol { padding: 12px; }
  body.ibn .ibn-symbol__name { font-size: 19px; }
  .ibn-symbol__text { font-size: 13px; }
  .ibn-symbol--motto { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .e-con.ibn-section .e-con:has(.ibn-grid2):not(.ibn-grid2) { --padding-left: 0px; --padding-right: 0px; padding-left: 0 !important; padding-right: 0 !important; }
  .e-con.ibn-grid2 { padding-left: 0 !important; padding-right: 0 !important; }
}
@media (max-width: 767px) {
  .e-con.ibn-section:has(.ibn-grid2) .e-con:not(.ibn-fact):not(.ibn-pillar) { --padding-left: 0px; --padding-right: 0px; padding-left: 0 !important; padding-right: 0 !important; }
}
@media (max-width: 767px) {
  .e-con.ibn-grid2 .elementor-widget-heading.ibn-fact__v .elementor-heading-title { font-size: clamp(22px, 6.6vw, 32px); white-space: nowrap; }
  .e-con.ibn-grid2 > .e-con, .e-con.ibn-grid2 > .e-con-inner > .e-con { align-self: stretch !important; height: auto !important; }
}

/* Telefoni: un solo margine laterale (quello della sezione, 24px). Elementor aggiunge 24px di padding
   a ogni contenitore annidato e il testo finiva a 72px dal bordo. Le "card" mantengono il loro padding. */
@media (max-width: 767px) {
  .e-con.ibn-section .e-con:not(.ibn-fact):not(.ibn-pillar):not(.ibn-hcard):not(.ibn-stack__panel):not(.ibn-team-card):not(.ibn-lead):not(.ibn-logo-card):not(.ibn-matrix__cell):not(.ibn-mosaic__tile):not(.ibn-svc-card) {
    --padding-left: 0px; --padding-right: 0px; padding-left: 0 !important; padding-right: 0 !important;
  }
}

/* Striscia dei loghi: scorre da sola anche con "movimento ridotto" (altrimenti su telefono
   se ne vedono solo due), più rapida su schermi stretti e trascinabile col dito. */
.ibn-marquee__track { animation-name: ibn-marquee !important; animation-play-state: running !important; }
@media (max-width: 767px) {
  .ibn-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .ibn-marquee::-webkit-scrollbar { display: none; }
  .ibn-marquee__track { animation-duration: 55s !important; gap: 44px; }
  .ibn-marquee:active .ibn-marquee__track { animation-play-state: paused !important; }
}

/* Settori (05): foto di sfondo nelle card, scurita; numero, titolo e testo restano dove sono */
.e-con.ibn-hcard { position: relative; isolation: isolate; background-size: cover !important; background-position: center center !important; }
.e-con.ibn-hcard::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(10, 10, 11, .72); transition: background .5s; }
.e-con.ibn-hcard:hover::before { background: rgba(10, 10, 11, .62); }
.e-con.ibn-hcard:nth-child(even) { background-color: transparent; }
body.ibn .ibn-hcard .elementor-widget-text-editor.ibn-hcard__text { color: #cfcac1; }
.ibn-credits { margin: 22px 0 0; font-family: var(--ibn-mono); font-size: 10px; line-height: 1.7; letter-spacing: .02em; color: #6f6a62; }
.ibn-credits a { color: inherit; text-decoration: none; }
.ibn-credits a:hover { color: var(--ibn-gold); }
@media (max-width: 767px) { .ibn-credits { font-size: 9.5px; } }

/* Aree di investimento: foto del settore in ogni riga, con l'icona sopra */
.ibn-row__photo { position: relative; margin: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: #141415; }
.ibn-row__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .5s; }
.e-con.ibn-row:hover .ibn-row__photo img { transform: scale(1.04); }
.ibn-row__photo-ico { position: absolute; left: 10px; top: 10px; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(10,10,11,.72); color: var(--ibn-gold); backdrop-filter: blur(4px); }
.ibn-row__photo-ico .ibn-ico { stroke-width: 1.8; }
@media (max-width: 767px) { .ibn-row__photo { max-width: 200px; } }
.ibn-row__photo img { height: 100% !important; max-width: none; }

/* Altri servizi: griglia di card con foto */
.e-con.ibn-svc-grid { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.e-con.ibn-svc-card { --width: auto; width: auto !important; padding: 0 0 20px !important; border-radius: 14px; background: #fff; border: 1px solid var(--ibn-line); overflow: hidden; transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s cubic-bezier(.2,.7,.2,1), border-color .4s; }
.e-con.ibn-svc-card:hover { transform: translateY(-6px); box-shadow: 0 28px 48px -32px rgba(20,20,20,.4); border-color: var(--ibn-red); }
.ibn-svc-card__media { position: relative; margin: 0 0 18px; aspect-ratio: 16 / 10; background: #141415; }
.ibn-svc-card__media img { display: block; width: 100%; height: 100% !important; max-width: none; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.e-con.ibn-svc-card:hover .ibn-svc-card__media img { transform: scale(1.05); }
.ibn-svc-card__ico { position: absolute; left: 14px; bottom: -18px; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--ibn-night); color: var(--ibn-gold); box-shadow: 0 12px 24px -12px rgba(0,0,0,.6); }
.e-con.ibn-svc-card > .elementor-widget, .e-con.ibn-svc-card > .e-con-inner > .elementor-widget { padding-left: 22px; padding-right: 22px; }
.elementor-widget-heading.ibn-svc-card__title .elementor-heading-title { margin-top: 16px; font-family: var(--ibn-serif); font-weight: 500; font-size: 26px; line-height: 1.15; color: var(--ibn-ink); }
.e-con.ibn-svc-card .elementor-widget-text-editor.ibn-body { margin-top: 10px !important; font-size: 15px; }
@media (max-width: 1100px) { .e-con.ibn-svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .e-con.ibn-svc-grid { grid-template-columns: 1fr; gap: 18px; } }

/* Aree di investimento: mosaico di riquadri con foto, dimensioni diverse */
.e-con.ibn-mosaic { display: grid !important; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 14px; }
.e-con.ibn-mosaic__tile { --width: auto; width: auto !important; position: relative; isolation: isolate; justify-content: flex-end; padding: 20px !important; border-radius: 12px; overflow: hidden; background-size: cover !important; background-position: center center !important; transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s cubic-bezier(.2,.7,.2,1); }
.e-con.ibn-mosaic__tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,.25) 0%, rgba(10,10,11,.82) 72%); transition: background .5s; }
.e-con.ibn-mosaic__tile:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -34px rgba(0,0,0,.7); }
.e-con.ibn-mosaic__tile:hover::before { background: linear-gradient(180deg, rgba(10,10,11,.15) 0%, rgba(10,10,11,.74) 72%); }
.e-con.ibn-mosaic__tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.e-con.ibn-mosaic__tile:nth-child(4), .e-con.ibn-mosaic__tile:nth-child(8) { grid-column: span 2; }
.e-con.ibn-mosaic__tile:nth-child(6) { grid-row: span 2; }
.ibn-mosaic__n { position: absolute; left: 20px; top: 16px; font-family: var(--ibn-mono); font-size: 11px; letter-spacing: .12em; color: rgba(255,255,255,.75); }
.ibn-mosaic__ico { position: absolute; right: 16px; top: 14px; width: 26px; height: 26px; color: var(--ibn-gold); }
body.ibn .elementor-widget-heading.ibn-mosaic__name .elementor-heading-title { font-family: var(--ibn-serif); font-weight: 500; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; color: #fff; }
.elementor-widget-text-editor.ibn-mosaic__text { margin-top: 8px !important; font-size: 14px; line-height: 1.5; color: #cfcac1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.e-con.ibn-mosaic__tile:nth-child(1) .elementor-widget-text-editor.ibn-mosaic__text { -webkit-line-clamp: 5; }
@media (max-width: 1024px) { .e-con.ibn-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } .e-con.ibn-mosaic__tile:nth-child(6) { grid-row: span 1; } }
@media (max-width: 560px) { .e-con.ibn-mosaic { gap: 10px; grid-auto-rows: 150px; } .e-con.ibn-mosaic__tile:nth-child(1), .e-con.ibn-mosaic__tile:nth-child(4), .e-con.ibn-mosaic__tile:nth-child(8) { grid-column: span 2; } .elementor-widget-text-editor.ibn-mosaic__text { -webkit-line-clamp: 2; font-size: 13px; } }

/* Market intelligence: matrice 2×2 e metodo in quattro passi sopra una foto */
.e-con.ibn-matrix { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--ibn-line); border-radius: 14px; overflow: hidden; background: #fff; }
.e-con.ibn-matrix__cell { --width: auto; width: auto !important; padding: clamp(22px, 2.6vw, 38px) !important; border-right: 1px solid var(--ibn-line); border-bottom: 1px solid var(--ibn-line); transition: background .45s; }
.e-con.ibn-matrix__cell:nth-child(2n) { border-right: 0; }
.e-con.ibn-matrix__cell:nth-child(n+3) { border-bottom: 0; }
.e-con.ibn-matrix__cell:hover { background: var(--ibn-paper-2); }
.ibn-matrix__n { font-family: var(--ibn-serif); font-size: 30px; line-height: 1; color: var(--ibn-red); }
body.ibn .elementor-widget-heading.ibn-matrix__title .elementor-heading-title { margin-top: 14px; font-family: var(--ibn-serif); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; color: var(--ibn-ink); }
.e-con.ibn-matrix__cell .elementor-widget-text-editor.ibn-body { margin-top: 10px !important; max-width: 46ch; }
@media (max-width: 767px) { .e-con.ibn-matrix { grid-template-columns: 1fr; } .e-con.ibn-matrix__cell { border-right: 0 !important; border-bottom: 1px solid var(--ibn-line) !important; } .e-con.ibn-matrix__cell:last-child { border-bottom: 0 !important; } }

.e-con.ibn-section--photo { position: relative; isolation: isolate; background-size: cover !important; background-position: center center !important; background-attachment: scroll; }
.e-con.ibn-section--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 8, 9, .86); }
.e-con.ibn-steps { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.e-con.ibn-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: linear-gradient(90deg, var(--ibn-gold), rgba(255,255,255,.25)); }
.e-con.ibn-steps__step { --width: auto; width: auto !important; padding: 0 !important; background: transparent; }
.ibn-steps__dot { display: block; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ibn-gold); background: var(--ibn-night); position: relative; }
.ibn-steps__dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--ibn-gold); transform: scale(0); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.e-con.ibn-steps__step:hover .ibn-steps__dot::after { transform: scale(1); }
.ibn-steps__n { display: block; margin-top: 16px; font-family: var(--ibn-mono); font-size: 11px; letter-spacing: .14em; color: var(--ibn-gold); }
body.ibn .elementor-widget-heading.ibn-steps__title .elementor-heading-title { margin-top: 8px; font-family: var(--ibn-serif); font-weight: 500; font-size: 26px; line-height: 1.15; color: #f4f1ea; }
.e-con.ibn-steps__step .elementor-widget-text-editor.ibn-body { margin-top: 8px !important; color: #c3bfb6; font-size: 15px; }
@media (max-width: 900px) { .e-con.ibn-steps { grid-template-columns: 1fr 1fr; } .e-con.ibn-steps::before { display: none; } }
@media (max-width: 560px) { .e-con.ibn-steps { grid-template-columns: 1fr; gap: 28px; } }

/* Telefoni: testi dei riquadri (mosaico aree) e delle celle I-IV più compatti e con il giusto margine interno */
@media (max-width: 767px) {
  .e-con.ibn-matrix__cell { padding: 22px 20px !important; }
  .ibn-matrix__n { font-size: 26px; }
  body.ibn .elementor-widget-heading.ibn-matrix__title .elementor-heading-title { margin-top: 10px; font-size: 21px; }
  .e-con.ibn-matrix__cell .elementor-widget-text-editor.ibn-body { font-size: 14.5px; line-height: 1.55; }

  .e-con.ibn-mosaic__tile { padding: 16px !important; }
  .ibn-mosaic__n { left: 16px; top: 12px; font-size: 10px; }
  .ibn-mosaic__ico { right: 12px; top: 10px; width: 22px; height: 22px; }
  body.ibn .elementor-widget-heading.ibn-mosaic__name .elementor-heading-title { font-size: 19px; line-height: 1.12; padding-right: 30px; }
  .e-con.ibn-mosaic__tile:nth-child(1) .elementor-widget-heading.ibn-mosaic__name .elementor-heading-title { font-size: 24px; }
  .elementor-widget-text-editor.ibn-mosaic__text { margin-top: 6px !important; font-size: 12.5px; line-height: 1.45; -webkit-line-clamp: 2; }
  .e-con.ibn-mosaic__tile:nth-child(1) .elementor-widget-text-editor.ibn-mosaic__text { -webkit-line-clamp: 3; font-size: 13px; }
  .e-con.ibn-steps__step .elementor-widget-text-editor.ibn-body { font-size: 14.5px; }
  body.ibn .elementor-widget-heading.ibn-steps__title .elementor-heading-title { font-size: 23px; }
}

/* Mosaico: numero e icona su una riga in alto (non più sovrapposti al titolo), testo in basso */
.e-con.ibn-mosaic__tile { justify-content: flex-start; }
.e-con.ibn-mosaic__tile > .elementor-widget-html > .elementor-widget-container,
.e-con.ibn-mosaic__tile > .e-con-inner > .elementor-widget-html > .elementor-widget-container { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ibn-mosaic__n, .ibn-mosaic__ico { position: static; }
.e-con.ibn-mosaic__tile .elementor-widget-heading.ibn-mosaic__name { margin-top: auto; padding-top: 12px; }
body.ibn .elementor-widget-heading.ibn-mosaic__name .elementor-heading-title { padding-right: 0; }
.ibn-mosaic__n, .ibn-mosaic__ico { flex: 0 0 auto; }
.ibn-mosaic__ico { width: 26px; height: 26px; display: block; }
@media (max-width: 767px) { .ibn-mosaic__ico { width: 22px; height: 22px; } }
.e-con.ibn-mosaic__tile { flex-wrap: nowrap !important; }

/* Mosaico: righe di testo in base alla dimensione del riquadro (niente righe tagliate a metà) */
.elementor-widget-text-editor.ibn-mosaic__text { -webkit-line-clamp: 2; }
.e-con.ibn-mosaic__tile:nth-child(1) .elementor-widget-text-editor.ibn-mosaic__text { -webkit-line-clamp: 4; }
.e-con.ibn-mosaic__tile:nth-child(6) .elementor-widget-text-editor.ibn-mosaic__text { -webkit-line-clamp: 5; }
.e-con.ibn-mosaic__tile:nth-child(4) .elementor-widget-text-editor.ibn-mosaic__text,
.e-con.ibn-mosaic__tile:nth-child(8) .elementor-widget-text-editor.ibn-mosaic__text { -webkit-line-clamp: 2; }
@media (max-width: 1024px) { .e-con.ibn-mosaic__tile:nth-child(6) .elementor-widget-text-editor.ibn-mosaic__text { -webkit-line-clamp: 2; } }
@media (max-width: 560px) {
  .elementor-widget-text-editor.ibn-mosaic__text { -webkit-line-clamp: 2; }
  .e-con.ibn-mosaic__tile:nth-child(1) .elementor-widget-text-editor.ibn-mosaic__text { -webkit-line-clamp: 3; }
}
/* il limite di righe va applicato al paragrafo (il widget Elementor lo avvolge) */
.elementor-widget-text-editor.ibn-mosaic__text { display: block; overflow: hidden; min-height: 0; }
.elementor-widget-text-editor.ibn-mosaic__text p { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; -webkit-line-clamp: 2; margin: 0; }
.e-con.ibn-mosaic__tile:nth-child(1) .elementor-widget-text-editor.ibn-mosaic__text p { -webkit-line-clamp: 4; }
.e-con.ibn-mosaic__tile:nth-child(6) .elementor-widget-text-editor.ibn-mosaic__text p { -webkit-line-clamp: 5; }
@media (max-width: 1024px) { .e-con.ibn-mosaic__tile:nth-child(6) .elementor-widget-text-editor.ibn-mosaic__text p { -webkit-line-clamp: 2; } }
@media (max-width: 560px) {
  .elementor-widget-text-editor.ibn-mosaic__text p { -webkit-line-clamp: 2; }
  .e-con.ibn-mosaic__tile:nth-child(1) .elementor-widget-text-editor.ibn-mosaic__text p { -webkit-line-clamp: 3; }
}
/* il testo si adatta allo spazio che resta nel riquadro, senza sbordare in basso */
.e-con.ibn-mosaic__tile > .elementor-widget-text-editor.ibn-mosaic__text,
.e-con.ibn-mosaic__tile > .e-con-inner > .elementor-widget-text-editor.ibn-mosaic__text { flex: 0 1 auto; min-height: 0; overflow: hidden; }
.e-con.ibn-mosaic__tile .elementor-widget-text-editor.ibn-mosaic__text p { display: -webkit-box !important; -webkit-box-orient: vertical; overflow: hidden; }
/* altezza delle righe del mosaico: spazio anche per i nomi su due righe */
.e-con.ibn-mosaic { grid-auto-rows: 205px; }
@media (max-width: 1024px) { .e-con.ibn-mosaic { grid-auto-rows: 185px; } }
@media (max-width: 560px) { .e-con.ibn-mosaic { grid-auto-rows: 168px; } }
