body {
  background-color: var(--ux-gray12);
  color: var(--ux-gray1);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  font-family: "Montserrat", sans-serif;
  opacity: 0;
  transition: opacity 0.5s;
}
body.ready {
  opacity: 1;
}
.rotate-screen-hint {
  position: fixed;
  bottom: 160px;
  right: 20%;
  left: 20%;
  display: none;
  max-width: 420px;
  padding: 16px;
  background-color: var(--ux-gray12);
  color: var(--ux-gray1);
  font-size: 18px;
  border-radius: 16px;
  border: 1px solid var(--ux-gray1);
  z-index: 10000;
  cursor: pointer;
  justify-content: space-between;
}
.rotate-screen-hint__message {
  line-height: 1.2;
}
body.rotate-hint-active .rotate-screen-hint {
  display: flex;
  align-items: center;
}
* {
  font-optical-sizing: auto;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.ux-ratio {
  position: relative;
}
.dark {
  background-color: var(--ux-gray1);
  color: var(--ux-gray12);
}
* {
  box-sizing: border-box;
}
.mf_ingrosso .title {
  position: absolute;
  left: -24px;
  width: 75%;
  height: 100%;
  line-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  font-size: 160px;
  font-weight: 700;
}
.opportunity .title {
  position: absolute;
  left: 12px;
  width: 75%;
  height: 100%;
  line-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  font-size: 160px;
  font-weight: 700;
}
.page-column {
  width: 100%;
}
.page-column.opportunity > .ux-ratio:first-child .title > div {
  transform: translateX(-120%);
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 700ms ease-out, opacity 700ms ease-out;
}
.page-column.opportunity > .ux-ratio:first-child .ux-stage.inview .title > div {
  transform: translateX(0);
  opacity: 1;
}
.page-column.opportunity > .ux-ratio:first-child .ux-stage.inview .title > div:nth-child(1) {
  transition-delay: 0ms;
}
.page-column.opportunity > .ux-ratio:first-child .ux-stage.inview .title > div:nth-child(2) {
  transition-delay: 150ms;
}
.page-column.opportunity > .ux-ratio:first-child .ux-stage.inview .title > div:nth-child(3) {
  transition-delay: 300ms;
}
.page-column.opportunity > .ux-ratio:first-child .ux-stage.inview .title > div:nth-child(4) {
  transition-delay: 450ms;
}
.page-column.opportunity > .ux-ratio:first-child .ux-stage.inview .title > div:nth-child(5) {
  transition-delay: 600ms;
}
.page-column.opportunity > .ux-ratio:first-child .ux-stage.inview .title > div:nth-child(6) {
  transition-delay: 750ms;
}
@media (prefers-reduced-motion: reduce) {
  .page-column.opportunity > .ux-ratio:first-child .title > div,
  .page-column.opportunity > .ux-ratio:first-child .ux-stage.inview .title > div {
    transition: none;
    transform: none;
    opacity: 1;
  }
}
/* Generic slide-in utilities (from left) */
.ux-stage {
  /* For multi-line blocks composed by child elements (e.g., .title > div) */
  /* For single block titles (one element, possibly with <br>) */
}
.ux-stage .slide-lines > * {
  transform: translateX(-120%);
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 700ms ease-out, opacity 700ms ease-out;
}
.ux-stage .slide-in-left {
  transform: translateX(-120%);
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 700ms ease-out, opacity 700ms ease-out;
}
.ux-stage.inview {
  /* Staggered delays for up to 8 lines */
}
.ux-stage.inview .slide-lines > * {
  transform: translateX(0);
  opacity: 1;
}
.ux-stage.inview .slide-in-left {
  transform: translateX(0);
  opacity: 1;
}
.ux-stage.inview .slide-lines > *:nth-child(1) {
  transition-delay: 0ms;
}
.ux-stage.inview .slide-lines > *:nth-child(2) {
  transition-delay: 150ms;
}
.ux-stage.inview .slide-lines > *:nth-child(3) {
  transition-delay: 300ms;
}
.ux-stage.inview .slide-lines > *:nth-child(4) {
  transition-delay: 450ms;
}
.ux-stage.inview .slide-lines > *:nth-child(5) {
  transition-delay: 600ms;
}
.ux-stage.inview .slide-lines > *:nth-child(6) {
  transition-delay: 750ms;
}
.ux-stage.inview .slide-lines > *:nth-child(7) {
  transition-delay: 900ms;
}
.ux-stage.inview .slide-lines > *:nth-child(8) {
  transition-delay: 1050ms;
}
/* Make subtitle slide from left when explicitly requested */
.mf_ingrosso .ux-stage .subtitle.slide-in-left,
.opportunity .ux-stage .subtitle.slide-in-left {
  right: auto !important;
  /* cancel the right-based animation */
  left: 0 !important;
  transition: transform 700ms ease-out, opacity 700ms ease-out !important;
}
@media (prefers-reduced-motion: reduce) {
  .ux-stage .slide-lines > *,
  .ux-stage.inview .slide-lines > *,
  .ux-stage .slide-in-left,
  .ux-stage.inview .slide-in-left {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
.subtitle {
  position: absolute;
  right: 0;
  bottom: 74px;
  padding: 74px;
  font-size: 75px;
  font-weight: 300;
  display: flex;
  justify-content: center;
  align-items: center;
}
.section {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 12px;
  /* Ensure multi-line titles stack vertically */
}
.section .section-title {
  line-height: 100%;
  font-size: 150px;
  font-weight: 700;
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-right: 64px;
}
.section .section-title.slide-lines {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  /* keep vertically centered */
}
.section .section-content {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  line-height: 45px;
}
.showcase-box .section-title {
  font-size: 130px;
}
.opportunity .showcase-box .section {
  padding: 15%;
}
.ux-ratio {
  overflow: hidden;
}
.numbers-text {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  font-weight: 500;
}
.numbers-boxes {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 32px;
}
.numbers-boxes .box {
  width: 400px;
  padding: 32px;
  padding-top: 64px;
  padding-bottom: 300px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  font-size: 30px;
  font-weight: 500;
}
.numbers-boxes .box .number {
  font-size: 60px;
  font-weight: 900;
  color: #DB1D3A;
}
.ux-stage {
  position: relative;
  overflow: hidden;
}
.mf_ingrosso .ux-stage .subtitle {
  right: -100%;
  transition: right 2s ease;
  position: absolute;
}
.opportunity .ux-stage .subtitle {
  right: -100%;
  transition: right 2s ease;
  position: absolute;
}
.mf_ingrosso .ux-stage.inview .subtitle {
  right: 10%;
}
.opportunity .ux-stage.inview .subtitle {
  right: -2.5%;
}
.title .word-spazio {
  margin-left: 64px;
  letter-spacing: 64px;
  font-size: 200px;
  transition: margin-left 2s ease, letter-spacing 2s ease, font-size 2s ease;
}
.ux-stage.inview .title .word-spazio {
  margin-left: 12px;
  margin-right: 32px;
  letter-spacing: -24px;
  font-size: 160px;
}
.numbers-boxes .number {
  font-variant-numeric: tabular-nums;
}
.showcase-box {
  z-index: 0;
  position: absolute;
  left: 100%;
  top: -25%;
  width: 100%;
  height: 150%;
  transition: left 0.4s ease;
  background-color: var(--ux-gray12);
  box-sizing: border-box;
  border: 1px solid var(--ux-gray7);
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
}
.showcase-box.active {
  left: 4.96%;
  z-index: 1;
}
.showcase-box.active .showcase-dot-container {
  /* Adjusted to keep center alignment with new 150% height */
  top: calc(43.386667%);
  /* Move dot slightly right so box-shadow is fully visible */
  left: -8%;
}
/* The clickable circle (dot container) */
.showcase-dot-container {
  position: absolute;
  left: -9.92%;
  width: 9.92%;
  /* Scale heights by 2/3 to preserve visual size with 150% parent */
  height: 11.753333%;
  border-radius: 100%;
  cursor: pointer;
  transition: top 0.4s ease;
}
.showcase-dot-container .showcase-dot {
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 100%;
  will-change: box-shadow;
  /* sizes unchanged */
  animation: pulseGlow 2s ease-out infinite;
}
/* --- Pulsing glow for showcase dots --- */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65), 0 0 6px rgba(255, 255, 255, 0.85);
  }
  70% {
    box-shadow: 0 0 0 22px rgba(255, 255, 255, 0), 0 0 14px rgba(255, 255, 255, 0.6);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 0 4px rgba(255, 255, 255, 0.35);
  }
}
/* hover/focus feedback */
.showcase-dot-container:hover .showcase-dot,
.showcase-dot-container:focus-within .showcase-dot {
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.25), 0 0 12px rgba(255, 255, 255, 0.75);
}
/* when the related box is active, intensify the pulse */
.showcase-box.active .showcase-dot {
  animation-duration: 1.2s;
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .showcase-dot {
    animation: none;
  }
}
/* Vertical placement per dot container */
.showcase-dot-container--1 {
  top: 20.586667%;
}
.showcase-dot-container--2 {
  top: 36.26%;
}
.showcase-dot-container--3 {
  top: 51.933333%;
}
.showcase-dot-container--4 {
  top: 67.56%;
}
.showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--ux-gray1);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.showcase-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.showcase-content {
  position: absolute;
  top: 16.666667%;
  left: 10%;
  bottom: 16.666667%;
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.showcase-title {
  font-size: 60px;
  font-weight: 700;
}
.showcase-text {
  font-size: 24px;
  font-weight: 300;
  line-height: 45px;
}
.showcase-image {
  position: absolute;
  right: 10%;
  top: 15%;
  bottom: 15%;
  width: 40%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.contact-form {
  width: 100%;
  height: 100%;
  font-size: 15px;
  line-height: normal;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contact-success {
  width: 100%;
  height: 100%;
  padding: 30px;
  font-size: 36px;
  line-height: 45px;
  box-sizing: border-box;
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.form-group {
  width: 100%;
  display: block;
  margin-bottom: 30px;
}
.form-group.has-error .input,
.form-group.has-error .textarea {
  border-color: var(--ux-red);
}
.form-group label {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.form-group .error {
  margin: 6px 0;
  color: var(--ux-red);
}
.form-group .input,
.form-group .textarea {
  width: 100%;
  display: block;
  padding: 0 15px;
  border-radius: 8px;
  font-size: 15px;
  border: 1px solid #f0f0f0;
  outline: none;
  background: #f0f0f0;
  font-family: "Montserrat", sans-serif;
}
.form-group .input {
  height: 48px;
}
.form-group .textarea {
  padding: 15px;
  height: 120px;
  resize: vertical;
}
.form-group .button {
  cursor: pointer;
  font-size: 18px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 8px;
  color: white;
  border: 0;
  outline: none;
  background: var(--ux-gray1);
}
.first-page {
  position: absolute;
  width: 100%;
  height: 100%;
}
.first-page .side {
  position: absolute;
  width: 50%;
  height: 100%;
}
.first-page .right {
  left: 50%;
}
.texts {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.texts .text {
  width: 50%;
  font-size: 40px;
  font-weight: 500;
  padding: 32px;
}
.top-left-text {
  padding: 32px;
  position: absolute;
  width: 50%;
  font-size: 24px;
  height: 100%;
  color: var(--ux-gray7);
}
.scopri-di-piu {
  position: absolute;
  bottom: 64px;
  font-size: 24px;
}
.page-column {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: var(--ux-gray12);
  overflow-y: auto;
  transition: 0.5s left, 0.5s right;
}
.page-column.mf_ingrosso {
  left: -100%;
  right: 100%;
}
.page-column.opportunity {
  left: 100%;
  right: -100%;
}
.page-column.menu .area-opportunity {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  bottom: 0;
}
.page-column.menu .area-mf_ingrosso {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  bottom: 0;
}
body.opportunity .menu {
  left: -100%;
  right: 100%;
}
body.opportunity .page-column.opportunity {
  left: 0;
  right: 0;
}
body.mf_ingrosso .menu {
  left: 100%;
  right: -100%;
}
body.mf_ingrosso .page-column.mf_ingrosso {
  left: 0;
  right: 0;
}
.logo {
  position: absolute;
  top: 0;
  left: 0;
  height: 17.5%;
  width: 25%;
  background-repeat: no-repeat;
  background-size: 80%;
  background-position: center;
}
.back-x {
  position: absolute;
  top: 0;
  right: 0;
  height: 17.5%;
  width: 10%;
  background-repeat: no-repeat;
  background-size: 25%;
  background-position: center;
}
.image {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
@media only screen and (max-width: 1000px) {
  .top-left-text {
    font-size: 16px;
  }
  .texts .text {
    font-size: 18px;
  }
  .scopri-di-piu {
    font-size: 14px;
  }
}
