@font-face {
  font-family: "Varoste";
  src: url("/fonts/Varoste/Varoste.woff") format("woff");
}

.cookie-banner {
  position: fixed;
  font-family: "Inter", sans-serif;
  bottom: 0;
  right: 0px;
  text-transform: initial;
  background: var(--text-color);
  color: var(--bg-color);
  padding: 0.7rem 1.4rem;
  text-align: center;
  font-size: 0.9em;
  z-index: 9999;
}

.cookie-text {
  font-family: "Inter", sans-serif;
  /* font-weight: 600; */
  color: var(--bg-color) !important;
  text-decoration: none !important;
  margin-bottom: 0 !important;
  text-transform: none !important;
}

button.cookie:hover {
  text-decoration: underline;
  text-decoration-color: var(--bg-color);
  text-decoration-thickness: 1px;
}

.cookie {
  border: none;
  background-color: transparent;
  margin-left: 20px;
  color: var(--bg-color);
}

:root {
  --bg-color: #ffffff;
  --text-color: #000000;
}

body {
  overscroll-behavior-x: none !important;
  background-color: var(--bg-color);
  color: var(--text-color);
  /* transition: background-color 0.5s ease, color 0.5s ease; */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  appearance: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* //////// GENERAL STYLES ////////// */

.date {
  position: absolute;
  bottom: 1.5rem;
  left: 3rem;
}

.text-primary {
  color: var(--text-color) !important;
  font-size: 3.5vw !important;
  margin: 0 !important;
}

.row {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.noselect {
  -webkit-touch-callout: none !important; /* Safari su iOS */
  -webkit-user-select: none !important; /* Safari */
  -khtml-user-select: none !important; /* Konqueror HTML */
  -moz-user-select: none !important; /* Firefox */
  -ms-user-select: none !important; /* Internet Explorer/Edge */
  user-select: none !important; /* Standard */
}

h1 {
  font-family: "Varoste", sans-serif;
  text-transform: uppercase;
  /* line-height: 0 !important; */
  color: inherit;
}

h2 {
  font-family: "Varoste", sans-serif;
  font-weight: 400 !important;
  /* text-transform: uppercase; */
  margin: 0 !important;
  color: var(--text-color);
}

.bb {
  border-bottom: 1px solid var(--text-color) !important;
}

.contact-section {
  margin-top: -15vh;
  position: relative;
  z-index: 10 !important;
}

.contact-section p {
  font-size: 0.8em !important;
}

.contact-section h4 {
  text-transform: none !important;
  font-weight: 600 !important;
  font-family: "Inter", sans-serif;
}

.contact-section .titolo {
  text-transform: none !important;
  font-family: "Varoste", sans-serif;
  pointer-events: visible;
}

.contact-section a {
  font-size: 1.3em !important;
}

.title-4 {
  font-family: "Inter", sans-serif;
  font-weight: 400 !important;
  font-size: xxx-large;
  color: var(--text-color);
}

h3,
h4 {
  font-family: "Inter", sans-serif;
  font-weight: 400 !important;
  text-transform: uppercase;
  margin: 0 !important;
  color: var(--text-color);
}

a {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text-color);
  text-decoration: none !important;
  /* mix-blend-mode: difference !important; */
}

a.nav-link {
  font-weight: 600;
}

p {
  font-family: "Inter", sans-serif;
  /* font-weight: 600; */
  text-transform: uppercase;
  color: inherit;
  text-decoration: none !important;
  margin-bottom: 0 !important;
}

ul,
li {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none !important;
  margin-bottom: 0 !important;
}

a:hover {
  text-decoration: underline 2px !important;
  text-decoration-color: var(--text-color) !important;
}

.section-100 {
  height: 100vh;
  /* width: 100vw; */
  /* display: flex;
  justify-content: center;
  align-items: center; */
  position: relative;
  /* border-bottom: 1px solid var(--text-color) !important; */
}

.contacts-section {
  height: 100vh;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.title-2 {
  font-size: 10vw;
  color: var(--text-color);
}

.title-3 {
  font-size: clamp(1rem, 20vw, 25rem);
  font-family: "Varoste", sans-serif;
  color: var(--text-color);
  margin: 0 !important;
}

.logo-svg {
  width: 100%;
  fill: var(--text-color);
}

.cta-icon-1 {
  position: absolute;
  font-size: inherit;
  color: currentColor;
  pointer-events: none;
  line-height: -1;
  margin-left: 10px;
}

/* Footer */

.footer-video-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 45vh; /* <--- Limite massimo in altezza */
  aspect-ratio: 16 / 9; /* Mantiene proporzioni video */
}

.footer-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  clip-path: inset(100% 0 0 0);
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  will-change: clip-path;
}

.footer-video-button {
  font-family: "Varoste", sans-serif;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  color: var(--bg-color);
  opacity: 0;
  z-index: 10;
  transition: opacity 0.2s ease;
  mix-blend-mode: difference;
  font-size: 2rem;
}

.footer-section a,
.footer-section p {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-color);
  font-size: 0.8em !important;
}

.pe-md-5 {
  padding-right: 4rem !important;
}

/* ////// */

.not-found {
  font-family: "Varoste", sans-serif;
  font-weight: 200;
  transform: translateY(0.1em);
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -42%);
  font-size: 10vw;
  margin: 0;
  /* z-index: 2; */
  white-space: nowrap;
  overflow: hidden;
  max-width: 100vw;
}

.title {
  font-family: "Varoste", sans-serif;
  font-weight: 200;
  transform: translateY(0.1em);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -42%);
  font-size: 15vw;
  margin: 0;
  /* z-index: 2; */
  white-space: nowrap;
  overflow: hidden;
  max-width: 100vw;
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -42%);
  font-size: 15vw;
  margin: 0;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100vw;
}

h1.reveal-text {
  overflow: hidden;
}

.char {
  display: inline-block;
  transform: translateY(100%);
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}

.z-index-1 {
  z-index: 100 !important;
}

.z-index-0 {
  z-index: -2 !important;
}

.vertical-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-180deg);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-color);
  z-index: 100;
  pointer-events: none;
  font-weight: 600;
  height: 100%;
  position: relative;
  left: 0;
}

.vertical-tagline-1 {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(-180deg);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-color);
  font-weight: 600;
  pointer-events: none;
  z-index: -1;
}

.vertical-tagline-2 {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(-180deg);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-color);
  font-weight: 600;
  pointer-events: none;
  z-index: 2;
}

/* ///// MOUSEMOVE - MWG_EFFECT002 ///// */

.mwg_effect002 .card {
  border: none !important;
  background-color: var(--bg-color);
  width: 23vw;
  aspect-ratio: 1;
  border-radius: 0%;
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  transform: translate(-50%, -50%);
}

.mwg_effect002 .card .medias {
  width: 100%;
  height: 100%;
  transform: scale(1.2, 1.2);
}

.mwg_effect002 .card .media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
}

.mwg_effect002 .card .media.on {
  visibility: visible;
}

.mwg_effect002 .media {
  display: none;
  clip-path: inset(100% 0 0 0);
  opacity: 0;
  display: block;
  visibility: hidden;
  width: 100%;
  height: auto;
  transition: clip-path 0.3s ease;
}

.mwg_effect002 {
  pointer-events: none;
}

/* //////////// BUTTON //////////// */

@keyframes rotateText {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cta-button {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  text-align: center;
  color: #f4f1df; /* o inherit */
  text-decoration: none;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.cta-circle {
  width: 120px;
  height: 120px;
  fill: none;
  font-size: 11px;
  font-family: "Inter", serif;
  animation: rotateText 10s linear infinite;
  position: absolute;
}

.cta-circle text {
  fill: currentColor;
}

.cta-icon {
  position: absolute;
  font-size: 1.5rem;
  color: currentColor;
  pointer-events: none;
  line-height: 0;
}

/* ///// 008 /////// */

.mwg_effect008 {
  position: relative;
  overflow: hidden;
  display: flex;
  height: 100vh;
  align-items: center;
}

.mwg_effect008 .container {
  will-change: transform;
  width: max-content;
  white-space: nowrap;
  display: flex;
  gap: 1vw;
  padding: 0 1vw 0 0;
  user-select: none;
  cursor: grab;
  z-index: 0;
}

.mwg_effect008 .card-1 {
  flex: 0 0 400px;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.mwg_effect008 .card-1 img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

@media (max-width: 768px) {
  .mwg_effect026 {
    overflow-y: auto !important;
  }

  .mwg_effect026 .container {
    position: static !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px;
    width: 100% !important;
    padding: 0 !important;
  }

  .mwg_effect026 .content {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    pointer-events: auto !important;
    padding: inherit !important;
  }

  .mwg_effect026 .media {
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    aspect-ratio: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  .mwg_effect026 .media img {
    width: 100%;
    height: auto;
    display: block;
  }

  body {
    overflow-y: auto !important;
  }

  .row > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .px-contact {
    padding-left: 12px !important;
    padding-left: 12px !important;
  }

  .date {
    left: 0 !important;
  }
}

@media (max-width: 767px) {
  .mwg_effect008 .card-1 {
    flex: 0 0 300px;
    aspect-ratio: 1;
    overflow: auto;
    position: relative;
  }
  .mwg_effect008 {
    flex-direction: column;
    height: auto;
  }

  .mwg_effect008 .container {
    flex-direction: column;
    gap: 2rem;
    padding: 0 !important;
    width: 100%;
    white-space: normal;
    cursor: default;
    transform: none !important;
  }

  .mwg_effect008 .card-1 {
    width: 100%;
    max-width: 100%;
    flex: none;
    aspect-ratio: auto;
  }

  .mwg_effect008 .card-1 img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* ////////// MWG_EFFECT0036 //////////// */

.mwg_effect036 {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3vw;
  padding-top: 3vw;
}

.mwg_effect036 .description {
  font-size: 0.75em;
}

.mwg_effect036 h5.sentence {
  /* width: 80%; */
  font: 400 normal 5.6vw / 1 "Varoste", sans-serif;
  letter-spacing: 0.01em;
  text-transform: none;
  text-align: center;
  line-height: 1.2em;
  text-transform: uppercase;
}

.mwg_effect036 span {
  /*   background-color: var(--text-color);
  color: var(--bg-color); */
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.1em;
  /* padding: 5px 20px; */
  display: inline-block; /* necessario per far funzionare transform */
  /* transform: rotate(-5deg); /* ruota di 15 gradi in senso orario */
}

.reveal-word {
  display: inline-block;
  clip-path: inset(100% 0 0 0);
  opacity: 0;
  transition: clip-path 0.6s ease;
}

.mwg_effect036 .medias img {
  width: 1px;
  height: 1px;
  top: 0;
  left: 0;
  position: absolute;
  visibility: hidden;
  pointer-events: none;
}

.mwg_effect036 > img {
  pointer-events: none;
  width: 20vw;
  height: 20vw;
  display: block;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
}

/* ////////////// RESPONSIVE /////////////////// */

@media (max-width: 767px) {
  body {
    padding: 24px;
  }

  .media img {
    clip-path: none !important;
    opacity: 1 !important;
  }

  .mwg_effect002 .card {
    width: 70vw;
  }

  .nav-links {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px;
    padding: 0;
  }

  .nav-link {
    padding: 0;
    font-size: 1rem;
  }

  .cta-button {
    align-self: flex-end;
    transform: scale(0.7);
    bottom: 10px;
    right: 10px;
    margin: 0;
    padding: 0;
  }

  .mwg_effect036 h5.sentence {
    font: 400 normal 9.6vw / 1 "Varoste", sans-serif;
    line-height: 1.3;
  }

  p.description {
    font-size: 0.7rem;
  }
  .title {
    font-size: 25vw;
  }

  .mwg_effect029 .wrap {
    flex-direction: column !important;
    /* justify-content: space-between; */
    /* padding: 0 25px; */
  }

  .mwg_effect029 .paragraph {
    width: auto !important;
    font: 400 normal 6.9vw/1 "Varoste", sans-serif !important;
    letter-spacing: normal !important;
    line-height: normal !important;
    text-align: justify !important;
  }

  .paragraph-1 {
    padding: 0 !important;
  }

  .mwg_effect029 .sticky {
    padding: 10vh 0 0 !important;
  }

  .mwg_effect029 .sticky img {
    height: 131vw !important;
  }

  .footer-video-wrapper {
    height: 205px !important;
  }

  .image-container {
    width: 96% !important;
  }

  .mwg_effect036 > img {
    width: 40vw;
    height: 40vw;
  }
}

.responsive-title {
  text-align: center;
  z-index: 10;
  pointer-events: none;
}

/* --- DESKTOP --- */
@media (min-width: 768px) {
  .responsive-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* --- MOBILE --- */
@media (max-width: 767px) {
  .responsive-title {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* //////////  MWG_EFFECT_024  ////////// */

.sticky-title {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  text-align: center;
  pointer-events: none;
}

.mwg_effect024 .container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mwg_effect024 .sentences {
  position: relative;
  font-family: "Varoste", sans-serif !important;
  font-weight: 200;
  font-size: 10vw;
  color: var(--text-color);
}

.mwg_effect024 .sentence {
  overflow: hidden;
}

.mwg_effect024 .sentence h2 {
  display: flex;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  font-size: 10vw;
}

.mwg_effect024 i {
  width: auto;
  height: auto;
  font-size: 5vw;
  padding: 3vw;
}

.mwg_effect024 .texts {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--text-color);
  font: 500 normal 0.6vw / normal "Inter", sans-serif;
  text-transform: uppercase;
}

/* //////////  MWG_EFFECT_029  ////////// */

.mwg_effect029 {
  background-color: var(--bg-color);
}

.mwg_effect029 .wrap {
  display: flex;
  justify-content: space-between;
  /* padding: 0 25px; */
}

.mwg_effect029 .paragraph {
  width: 50vw;
  color: var(--text-color) !important;
  font: 400 normal 3.9vw/1 "Varoste", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.paragraph-1 {
  padding: 40vh 0 0;
}

.mwg_effect029 .paragraph span {
  display: inline-block;
}

.mwg_effect029 .sticky {
  position: relative;
  padding: 40vh 0 0;
}

.mwg_effect029 .sticky img {
  height: 40vw;
  /* aspect-ratio: 1; */
  clip-path: inset(100% 0 0 0);
  opacity: 0;
  transition: clip-path 0.3s ease;
  position: sticky;
  top: calc(100vh - 41vw - 25px);
}

/* ////// MWG_EFFECT30 ////// */

.image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.hover-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(100% 0 0 0); /* inizialmente nascosta */
  opacity: 0;
  pointer-events: none;
  will-change: clip-path;
  z-index: 1;
  transition: none;
}

.mwg_effect008 {
  opacity: 0;
}

body .home footer,
body .home #footer {
  display: none !important;
}

@media (max-width: 400px) {
  .footer-section {
    padding-top: 20px !important;
  }

  .mwg_effect029 .sticky img {
    height: 127vw !important;
  }

  .mwg_effect036 > img {
    width: 60vw;
    height: 60vw;
  }

  .cookie-banner {
    left: 0px;
    right: 0px !important;
    align-items: center;
    font-size: smaller;
  }

  .cookie-text {
    font-size: .8rem !important;
  }
}
