:root {
  --giallo: 249, 178, 51;
  --blu: 10, 22, 51;
  --light-blu: 22, 31, 53;
  --dark-blu: 7, 13, 26;
  --bianco: 224, 230, 247;
}

/* =====================
   Stili di base e body
   ===================== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  background: rgb(var(--blu));
  color: rgb(var(--bianco));
  min-height: 100vh;
}

/* =====================
   Topbar Lingue
   ===================== */
.topbar {
  width: 100%;
  background: rgb(var(--dark-blu));
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.topbar__lang {
  display: flex;
  gap: 0.7rem;
  padding: 0.3rem 1.5rem;
}

.topbar__lang img {
  width: 26px;
  height: 18px;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0.5;
}

.topbar__lang .current img,
.topbar__lang img:hover {
  opacity: 1;
}

@media (min-width: 768px) {
  .topbar {
    min-height: 44px;
  }

  .topbar__lang {
    padding: 0.3rem 3rem;
  }

  .topbar__lang img {
    width: 32px;
    height: 22px;
  }
}

/* =====================
   Header e navigazione
   ===================== */
.header {
  width: 100%;
  background: rgb(var(--blu));
  padding: 1.2rem 1rem 2rem 1rem;
  box-sizing: border-box;
  position: relative;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

.header__logo {
  width: 300px;
  max-width: 50vw;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .header__container {
    padding-left: .5rem;
    padding-right: .5rem;
  }
}

@media (min-width: 1000px) {
  .header__container {
    max-width: 1000px;
  }
}

@media (min-width: 1200px) {
  .header__container {
    max-width: 1440px;
  }
}





/* =====================
   Hamburger Menu Mobile
   ===================== */
.header__hamburger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
}

.header__hamburger img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.header__hamburger:hover img,
.header__hamburger:focus img {
  outline: none;
}

/* Gestione icone hamburger/close */
.header__hamburger-icon {
  opacity: 1;
  transform: rotate(0);
}

.header__close-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-14px, -14px) rotate(-90deg);
  opacity: 0;
}

.header__hamburger[aria-expanded="true"] .header__hamburger-icon {
  opacity: 0;
  transform: rotate(90deg);
}

.header__hamburger[aria-expanded="true"] .header__close-icon {
  opacity: 1;
  transform: translate(-14px, -14px) rotate(90deg);
}

/* Menu di navigazione mobile */
.header__nav {
  position: fixed;
  top: 0;
  right: -80vw;
  width: 80vw;
  height: 100vh;
  background: rgb(var(--light-blu));
  z-index: 1000;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  padding-top: 150px;
}

.header__nav.is-open {
  right: 0;
  border-top: 38px solid rgb(var(--dark-blu));
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.nav__item {
  border-bottom: 1px solid rgba(var(--bianco), 0.1);
}

.nav__item>a {
  display: block;
  color: rgb(var(--bianco));
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 1.2rem 1.5rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav__item>a:hover,
.nav__item>a:focus {
  background: rgba(var(--giallo), 0.1);
  color: rgb(var(--giallo));
  outline: none;
}

/* Sottomenu */
.nav__submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(var(--blu), 0.3);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav__submenu li a {
  display: block;
  color: rgba(var(--bianco), 0.8);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.8rem 2.5rem;
  transition: all 0.3s ease;
  margin: 10px 0;
}

.nav__submenu li:last-child a {
  margin-bottom: 30px;
}

.nav__submenu li a:hover,
.nav__submenu li a:focus {
  color: rgb(var(--giallo));
  background: rgba(var(--giallo), 0.05);
  padding-left: 3rem;
  outline: none;
}

.nav__item.has-submenu>a::after {
  content: '+';
  float: right;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  transform: translate(-6px, -4px);
}

.nav__item.has-submenu.is-expanded>a::after {
  transform: translate(-3px, -3px) rotate(45deg);
}

.nav__item.has-submenu.is-expanded .nav__submenu {
  max-height: 300px;
}

/* Overlay */
.header__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.header__overlay.is-active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1000px) {
  .header__hamburger {
    display: none;
  }

  .header__overlay {
    display: none;
  }

  .header__nav {
    position: static;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    padding-top: 0;
    flex: 0 0 auto;
    margin-left: 2rem;
    overflow: visible;
    transition: none;
  }

  .nav__list {
    flex-direction: row;
    gap: 1rem;
  }

  .nav__item {
    border-bottom: none;
    position: relative;
  }

  .nav__item>a {
    padding: 0;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: normal;
    background: rgba(var(--light-blu), 1);
    padding: 10px 30px;
    border-radius: 10px;
  }

  .nav__item>a:hover,
  .nav__item>a:focus,
  .nav__submenu li a:hover,
  .nav__submenu li a:focus {
    background: rgba(var(--dark-blu), 1);
    color: rgb(var(--giallo));
  }

  .nav__item.has-submenu:hover>a {
    border-radius: 10px 10px 0 0;
  }

  /* Sottomenu desktop - dropdown al hover */
  .nav__submenu {
    position: absolute;
    top: 35px;
    left: 50%;
    background: rgb(var(--light-blu));
    border-radius: 4px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
    width: 100%;
    border-radius: 0 0 10px 10px;
    max-height: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 5px);
    transition: all 0.3s ease;
  }

  .nav__item:hover .nav__submenu,
  .nav__item:focus-within .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 5px);
    max-height: none;
  }

  .nav__submenu li a {
    padding: 0.5rem 1.2rem;
    text-align: center;
    letter-spacing: -.25px;
  }

  .nav__submenu li:last-child a {
    margin-bottom: 10px;
  }

  .nav__submenu li a:hover,
  .nav__submenu li a:focus {
    padding-left: 1.2rem;
  }

  .nav__item.has-submenu>a::after {
    transform: translate(10px, -5px);
  }
}












/* =====================
   Hero Section
   ===================== */
.hero {
  position: relative;
  padding: 2.5rem 1rem 2rem 1rem;
  background: linear-gradient(120deg, rgba(10, 22, 51, 0.95) 60%, rgba(30, 60, 120, 0.7) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
}

.hero__title {
  opacity: 0;
}

.hero__carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s;
  z-index: 0;
}

.hero__img.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(10, 22, 51, 0.7) 60%, rgba(30, 60, 120, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__quotes-wrapper {
  position: relative;
  min-height: 2.5em;
  width: 100%;
  max-width: 800px;
}

.hero__single-quote {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-60%);
  width: 100%;
  max-width: 800px;
  opacity: 0;
  transition: opacity 1.2s;
  pointer-events: none;
  z-index: 2;
  font-family: 'EB Garamond', Garamond, serif;
  font-size: 2.25rem;
  line-height: 2.25rem;
  color: rgb(var(--bianco));
  margin-top: 2.2rem;
  text-align: left;
  text-shadow: 0 2px 12px rgba(10, 22, 51, 0.7);
}

.hero__single-quote.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero__quote {
  font-family: 'EB Garamond', Garamond, serif;
  font-weight: 300;
  position: relative;
  z-index: 2;
  font-size: 1.7rem;
  color: rgb(var(--bianco));
  max-width: 800px;
  margin: 0;
  line-height: 2rem;
  text-shadow: 0 4px 24px rgba(10, 22, 51, 0.85), 0 2px 12px rgba(10, 22, 51, 0.7);
}

.hero__single-quote-footer {
  display: block;
  margin-top: 1rem;
  color: rgb(var(--giallo));
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero small {
  display: none;
}






.ibs__divider {
  border: none;
  border-top: 1px solid rgba(var(--bianco), .15);
  margin: 2rem 0;
}

/* =====================
   Sezioni principali
   ===================== */
.section {
  padding: 2rem 1rem 1.5rem 1rem;
  margin-bottom: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.section--light {
  background: rgba(var(--light-blu), 1);
  border-radius: 6px;
  margin: 1.5rem auto 3rem auto;
}

.section h2,
.footer h2,
.section h1,
.section__title {
  font-weight: 700;
  text-transform: uppercase;
}

.section h2,
.section h1,
.section__title {
  color: rgb(var(--giallo));
  font-size: 2rem;
  margin: 0 0 1.5rem 0;
}

/* Cookie Policy */
.page[data-page="cookie-policy"] .section h2,
.page[data-page="privacy-policy"] .section h2 {
  margin-top: 2.5rem;
  font-size: 1.875rem;
}

.page[data-page="cookie-policy"] .section h3,
.page[data-page="privacy-policy"] .section h3 {
  color: rgb(var(--giallo));
  margin-top: 1.5rem;
}

.page[data-page="cookie-policy"] ul.section__list,
.page[data-page="privacy-policy"] ul.section__list {
  margin-top: 0;
}

.page[data-page="cookie-policy"] .section__list li,
.page[data-page="privacy-policy"] .section__list li {
  padding-top: 0;
}

.page[data-page="cookie-policy"] .section__list li::before,
.page[data-page="privacy-policy"] .section__list li::before {
  top: 0.6rem;
}

.page[data-page="cookie-policy"] a,
.page[data-page="privacy-policy"] a {
  color: rgb(var(--giallo));
}


.section p {
  color: rgb(var(--bianco));
  font-size: 1.15rem;
  line-height: 1.85rem;
  margin: 0 0 0.85rem 0;
}

.section p a {
  color: rgb(var(--giallo));
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dotted rgb(var(--giallo));
}

.section p a:hover {
  border-bottom: 1px solid rgb(var(--giallo));
}

.section__partner {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 10px 0;
}

.section__partner img {
  width: 75px;
  height: auto;
  margin: 0 0 0.85rem 0;
}

.section__list {
  margin-left: 0;
  padding: 0 18px;
}

.section__list li {
  font-size: 1.15rem;
  line-height: 1.75rem;
  list-style: none;
  position: relative;
  padding: 1.5rem 0 0 1.5rem;
}

.section__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2.16rem;
  width: 0.66rem;
  height: 0.66rem;
  background-color: rgb(var(--giallo));
  border-radius: 50%;
}

.section__list li .section__list-title {
  color: rgb(var(--giallo));
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* Sottoliste nelle sezioni (es. Compliance Finanziaria) */
.section__list--nested {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
}

.section__list--nested li {
  padding-top: 0.5rem;
}

.section__list--nested li::before {
  width: 0.4rem;
  height: 0.4rem;
  top: 1.1rem;
}

@media (min-width: 768px) {
  .hero {
    height: 100dvh;
    max-height: calc(100dvh - 560px);
  }

  .section,
  .footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero__quote {
    font-size: 3rem;
    line-height: 3rem;
    max-width: 800px;
    font-family: 'EB Garamond', Garamond, serif;
    text-align: left;
  }

  .hero__single-quote {
    font-size: 3rem;
    line-height: 3rem;
    max-width: 800px;
  }

  .hero small {
    display: block;
    font-size: 14px;
    line-height: 18px;
    max-width: 490px;
    position: relative;
    z-index: 2;
    color: rgb(var(--bianco));
    font-family: 'EB Garamond', Garamond, serif;
  }

  .page main {
    min-height: calc(100dvh - 550px);
  }

  .section__partner {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
  }

  .section__partner img {
    width: 75px;
    margin: 0 0 0.25rem 0;
  }
}

@media (min-width: 1000px) {
  .section {
    max-width: 1000px;
  }
}

@media (min-width: 1200px) {
  .section {
    max-width: 1440px;
  }

  section#soluzioni {
    margin-top: -2rem;
    position: relative;
    z-index: 2;
  }
}




/* =====================
   Footer / Contatti
   ===================== */
.footer {
  background: #16223d;
  color: rgb(var(--bianco));
  padding: 1.2rem 1rem .5rem 1rem;
  margin-top: 2rem;
  box-sizing: border-box;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.home .footer {
  margin-top: 0;
}

.footer h2 {
  color: rgb(var(--giallo));
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.footer h3 {
  color: rgb(var(--bianco));
  font-size: 1.2rem;
  line-height: 1.2rem;
  margin-bottom: 0.7rem;
}

.footer address {
  font-style: normal;
  color: rgb(var(--bianco));
  font-size: 1rem;
}

.footer a {
  color: rgb(var(--giallo));
  text-decoration: underline;
}

.footer__columns {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer__col {
  flex: 1;
}

.footer__divider {
  display: block;
  width: 2px;
  background: rgb(var(--giallo));
  height: 0;
  align-self: center;
  margin: 0 1.5rem;
  border-radius: 2px;
}

.footer__social-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__social-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__social-item svg {
  width: 20px;
  height: 20px;
  fill: rgb(var(--bianco));
}

.footer__social-item a {
  display: flex;
  gap: 15px;
}

@media (min-width: 768px) {
  .footer__columns {
    flex-direction: row;
    gap: 3rem;
    align-items: stretch;
  }

  .footer__col {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .footer__divider {
    display: block;
    width: 2px;
    background: rgb(var(--giallo));
    height: 120px;
    align-self: center;
    margin: 0 1.5rem;
    border-radius: 2px;
  }
}






@media (min-width: 1000px) {
  .footer__columns {
    max-width: 1000px;
    margin: 0 auto;
  }
}

@media (min-width: 1200px) {
  .footer__columns {
    max-width: 1440px;
  }
}


/* =====================
   Copyright Bar
   ===================== */
.copyright-bar {
  background: rgb(var(--dark-blu));
  color: rgb(var(--bianco));
  text-align: center;
  font-size: 0.95rem;
  padding: 1rem 0 0.7rem 0;
  letter-spacing: 0.03em;
  font-family: 'EB Garamond', Garamond, serif;
}

/* =============================
   Value Proposition Graphic
   ============================= */
.value-proposition-graphic {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;
  margin: 2rem 0;
}

.vp-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vp-col--left {
  flex-direction: row;
  justify-content: center;
  gap: 1.5rem;
}

.vp-col.vp-col--stacked {
  flex-flow: row wrap;
  gap: 30px;
  margin: 0 auto;
}

.vp-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  background: rgba(var(--bianco), .05);
  border-radius: 12px;
  border: 1px solid rgba(var(--bianco), .25);
  min-width: 150px;
  max-width: 220px;
  min-height: 180px;
  padding: 0.75rem 0.5rem 1.25rem 0.5rem;
  box-sizing: border-box;
  position: relative;
}

.vp-col.vp-col--stacked .vp-cell {
  flex: 0 0 calc(25% - 30px);
  min-width: 100%;
  max-width: none;
  height: 100%;
  padding: .5rem 5rem 1.5rem 5rem;
  opacity: 0;
  transition: opacity 1s;
}

.vp-col.vp-col--stacked .vp-cell.vp-cell-partners {
  padding: 2rem 2rem 1rem 2rem;
}

.vp-col.vp-col--stacked .vp-cell.vp-cell-partners-right {
  gap: 10px;
  padding: 2rem 1rem;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vp-col.vp-col--stacked .vp-cell.fade-in {
  opacity: 1;
}

.vp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  fill: rgba(var(--giallo), 1);
}

.vp-col.vp-col--stacked .vp-icon {
  width: 64px;
  height: 64px;
}

.vp-text {
  text-align: center;
  color: rgba(var(--bianco), .75);
}

.vp-text strong {
  color: rgba(var(--bianco), 1);
  font-size: 15px;
  line-height: 20px;
  display: block;
}

.vp-desc {
  color: rgba(var(--bianco), .75);
  font-size: 13px;
  line-height: 15px;
  display: block;
}

.vp-col--connector {
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0;
}

.vp-connector {
  width: 4px;
  height: 40px;
  background: linear-gradient(180deg, #B0C4DE 0%, #F5C542 100%);
  border-radius: 2px;
}

.vp-col--center {
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  line-height: 22px;
}

.vp-col--right {
  align-items: center;
  justify-content: center;
}

.vp-cloud-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  opacity: 0.85;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(10, 22, 51, 0.07);
}

.vp-award-list,
.vp-award-logos {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 50px 0;
  gap: 10px;
}

.vp-award-list-item,
.vp-award-logos-item {
  flex: 0 0 100px;
  background-color: rgba(var(--bianco), 1);
  border-radius: 15px;
  padding: 10px;
}

.vp-award-logos-item {
  background-color: transparent;
  border-radius: 0;
}

.vp-award-list-item img,
.vp-award-logos-item img {
  max-width: 100%;
  height: auto;
}

.vp-cell-partners-right-item {
  background: rgba(var(--bianco), .05);
  border-radius: 12px;
  padding: 1rem;
  min-height: 200px;
  flex: 0 0 calc(50% - 2.5rem);
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.vp-cell-partners-right-item h4 {
  font-size: 1.2rem;
  line-height: 1.2rem;
  margin-bottom: 0.7rem;
  color: rgba(var(--giallo), 1);
  text-transform: uppercase;
}

img.vp-cell-ISO-stamp {
  position: absolute;
  top: -15px;
  left: -15px;
}

img.vp-cell-kore-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background-color: rgba(var(--dark-blu), 0.5);
}


/* Responsive: mobile-first, layout verticale */
@media (min-width: 768px) {
  .value-proposition-graphic {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }

  .vp-col--left {
    flex-direction: column;
    gap: 1.5rem;
  }

  .vp-cell {
    min-width: 200px;
    max-width: 220px;
  }

  .vp-col.vp-col--stacked .vp-cell {
    flex: 0 0 calc(50% - 15px);
    min-width: 175px;
    max-width: none;
    height: 100%;
    min-height: 225px;
  }

  .vp-col--connector {
    min-width: 40px;
    min-height: 120px;
    flex: 1 0 80px;
  }

  .vp-connector {
    width: 4px;
    height: 120px;
    margin: 0 1rem;
  }

  .vp-col--center {
    min-width: 260px;
    align-items: flex-start;
    text-align: left;
    font-size: 20px;
  }

  .vp-text {
    color: rgba(var(--bianco), 1);
    font-size: 20px;
  }

  .vp-text strong {
    color: rgba(var(--bianco), 1);
    font-size: 20px;
    line-height: 26px;
  }

  .vp-desc {
    font-size: 14px;
    line-height: 18px;
  }

  .vp-col--right {
    flex: 1 0 33%;
    display: none;
  }

  #partners-content .vp-col {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }

  #partners-content .vp-col>.vp-cell {
    flex: 1 1 0;
    height: auto;
    min-height: 0;
    align-self: stretch;
  }
}

@media (min-width: 1000px) {
  .vp-col--right {
    display: block;
  }
}

@media (min-width: 1200px) {
  .value-proposition-graphic {
    gap: 4rem;
  }

  .vp-cell {
    min-width: 260px;
    max-width: 300px;
  }
}

/* === SVG Connector === */
.vp-connector-svg {
  display: block;
  width: 40px;
  height: 120px;
  max-width: 100%;
  transform: rotate(90deg);
  margin: -50px auto;
}

.vp-connector-svg line {
  stroke: rgba(var(--bianco), .25);
  stroke-width: 2px;
}

@media (min-width: 768px) {
  .vp-connector-svg {
    width: 160px;
    height: 220px;
    transform: none;
  }

  .vp-connector-svg line {
    stroke-width: 1px;
  }
}

.value-proposition-graphic__col {
  opacity: 0;
  transition: opacity 1s;
}

.value-proposition-graphic__col.fade-in {
  opacity: 1;
}

@keyframes elastic-bounce-in {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  45% {
    opacity: 0.85;
    transform: scale(1.12);
  }

  65% {
    opacity: 1;
    transform: scale(0.97);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.vp-col.vp-col--stacked .vp-cell.fade-in {
  opacity: 1;
  animation: elastic-bounce-in 1.2s ease-out;
}

/* =====================
   Team
   ===================== */

.section__twocolumns {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
}

.section__twocolumns svg {
  fill: rgba(var(--bianco), 1);
}

.section__twocolumns .twocolumns-icon {
  flex: 1 0 64px;
}

.IBS-people {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  justify-content: space-evenly;
}

.IBS-people-card {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  justify-content: space-evenly;
  flex: 0 0 250px;
  gap: 10px;
  margin: 1rem 0 2rem 0;
  padding: 0;
  list-style: none;
}

.people-pics {
  flex: 0 0 115px;
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.people-pics img {
  width: 115px;
  max-width: 100%;
  border-radius: 4px;
}

section .people-name * {
  font-size: 0.95rem;
  line-height: 1.325rem;
  margin: 0;
  padding: 0;
}

/* =============================
   Contact Form
   ============================= */
.contact-form {
  max-width: 700px;
  margin: 2rem auto 0;
  padding: 0;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-group--full {
  width: 100%;
}

.form-group label {
  font-weight: 600;
  color: rgb(var(--bianco));
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.required {
  color: #e74c3c;
  font-weight: 700;
}

.form-input,
.form-textarea {
  padding: 0.75rem 1rem;
  border: rgba(var(--bianco), 1);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(var(--bianco), 1);
  transition: border-color 0.3s, box-shadow 0.3s;
  color: rgb(var(--blu));
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgb(var(--giallo));
  box-shadow: 0 0 0 3px rgba(var(--giallo), 0.1);
}

.form-input.error,
.form-textarea.error {
  border-color: #e74c3c;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(var(--bianco), 1);
  border-radius: 4px;
  background: rgba(var(--bianco), 1);
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.3s;
}

.checkbox-custom::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
  background: rgb(var(--giallo));
  border-color: rgba(var(--bianco), 1);
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
  opacity: 1;
}

.checkbox-label input[type="checkbox"]:focus+.checkbox-custom {
  box-shadow: 0 0 0 3px rgba(var(--giallo), 0.1);
}

.checkbox-text {
  color: rgb(var(--bianco));
}

.checkbox-text a {
  color: rgb(var(--giallo));
  text-decoration: none;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

.form-submit {
  background: rgb(var(--giallo));
  color: rgb(var(--blu));
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  min-height: 52px;
  width: 100%;
}

.form-submit:hover:not(:disabled) {
  background: rgba(var(--giallo), 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--giallo), 0.3);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  text-align: center;
  font-weight: 500;
}

.form-message.success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.form-message.error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* Responsive */
@media (min-width: 768px) {
  .form-row {
    flex-direction: row;
    gap: 1.5rem;
  }

  .form-group {
    flex: 1;
  }

  .form-submit {
    width: auto;
    min-width: 200px;
  }
}

/* Radio buttons personalizzati */
.form-label {
  font-weight: 600;
  color: rgb(var(--blu));
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  display: block;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
}

.radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #e1e8ed;
  border-radius: 50%;
  background: #fff;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s;
}

.radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: rgba(var(--bianco), 1);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
}

.radio-label input[type="radio"]:checked+.radio-custom {
  background: rgb(var(--giallo));
  border-color: rgb(var(--giallo));
}

.radio-label input[type="radio"]:checked+.radio-custom::after {
  opacity: 1;
}

.radio-label input[type="radio"]:focus+.radio-custom {
  box-shadow: 0 0 0 3px rgba(var(--giallo), 0.1);
}

.radio-text {
  color: rgb(var(--bianco));
}

@media (min-width: 768px) {
  .radio-group {
    flex-direction: row;
    gap: 2rem;
  }
}

/* File upload personalizzato */
.file-upload-wrapper {
  position: relative;
}

.file-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 2px dashed rgba(var(--bianco), 0.3);
  border-radius: 8px;
  background: rgba(var(--bianco), 0.05);
  cursor: pointer;
  transition: all 0.3s;
  min-height: 52px;
}

.file-upload-label:hover {
  border-color: rgba(var(--giallo), 0.6);
  background: rgba(var(--giallo), 0.1);
}

.file-upload-label.file-selected {
  border-color: rgb(var(--giallo));
  background: rgba(var(--giallo), 0.1);
}

.file-input.error+.file-upload-label {
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

.file-upload-text {
  color: rgba(var(--bianco), 0.8);
  font-size: 0.95rem;
}

.file-upload-button {
  background: rgb(var(--giallo));
  color: rgb(var(--blu));
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: all 0.3s;
}

.file-upload-label:hover .file-upload-button {
  background: rgba(var(--giallo), 0.9);
}

.file-upload-info {
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(var(--bianco), 0.7);
  min-height: 20px;
}

.file-name {
  font-weight: 500;
  color: rgb(var(--giallo));
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  color: rgba(var(--bianco), 0.6);
  flex-shrink: 0;
}

.form-help {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(var(--bianco), 0.6);
  font-style: italic;
}

@media (min-width: 768px) {
  .file-upload-label {
    padding: 1rem 1.25rem;
  }

  .file-upload-info {
    font-size: 0.9rem;
  }
}

/* Campo aggiuntivo per controlli di validazione */
.form-field-extra {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}