/* =====================
   RESET
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* =====================
   FONT
===================== */
@font-face {
  font-family: "Synonym_Bold";
  src: url("Font/Synonym-Bold.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Synonym_Medium";
  src: url("Font/Synonym-Medium.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Synonym_Light";
  src: url("Font/Synonym-Light.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =====================
   TYPOGRAPHY SYSTEM
===================== */
:root {
  --font-primary: "Synonym_Bold", sans-serif;
  --font-secondary: "Synonym_Medium", sans-serif;

  --font-h1: var(--font-primary);
  --font-h2: var(--font-primary);
  --font-h3: var(--font-primary);
  --font-h4: var(--font-primary);
  --font-h5: var(--font-primary);
  --font-h6: var(--font-primary);
  --font-body: var(--font-primary);

  --weight-h1: 700;
  --weight-h2: 600;
  --weight-h3: 600;
  --weight-h4: 600;
  --weight-h5: 600;
  --weight-h6: 600;
  --weight-body: 400;
}

/* =====================
   BASE
===================== */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background: #000;
  color: #fff;
  font-family: "Synonym_Medium", sans-serif;
  font-weight: var(--weight-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


/* =====================
   HEADINGS
===================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-family: "Synonym_Bold", sans-serif;
  font-weight: var(--weight-h1);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 1px;
}

h2 {
  font-family: "Synonym_Bold", sans-serif;
  font-weight: var(--weight-h2);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.5px;
}

h3 {
  font-family: "Synonym_Bold", sans-serif;
  font-weight: var(--weight-h3);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: 0.5px;
}

h4 {
  font-family: "Synonym_Light", sans-serif;
  font-weight: var(--weight-h4);
  letter-spacing: 8px;
}

h5 {
  font-family: var(--font-h5);
  font-weight: var(--weight-h5);
  font-size: 16px;
}

h6 {
  font-family: var(--font-h6);
  font-weight: var(--weight-h6);
  font-size: 14px;
}

/* =====================
   TEXT
===================== */
p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
  margin: 0;
}

/* =====================
   MODULO HERO
===================== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero-video {
  z-index: 0;
}

.hero-img {
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 40px;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  letter-spacing: 3px;
  opacity: 0.8;
}

.arrow {
  width: 1px;
  height: 30px;
  background: #fff;
  margin-top: 10px;
  animation: arrowMove 1.6s infinite ease-in-out;
}

@keyframes arrowMove {
  0% {
    transform: translateY(0);
    opacity: 0.2;
  }
  50% {
    transform: translateY(12px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.2;
  }
}

/* =====================
   MODULO MARQUEE TEXT
===================== */
.marquee {
  background: #000000;
  color: #ffffff;
  overflow: hidden;
  height: 240px;
  display: flex;
  align-items: center;
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marqueeMove 22s linear infinite;
}

.marquee-text {
  font-family: "Synonym_Bold", sans-serif;
  font-size: 140px;
  font-weight: 600;
  letter-spacing: 2px;
  white-space: nowrap;
  padding-right: 80px;
  line-height: 1;
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee:hover .marquee-track {
  animation-duration: 28s;
}

@media (max-width: 600px) {
  .marquee {
    height: 120px;
  }

  .marquee-text {
    font-size: 62px;
    padding-right: 40px;
    letter-spacing: 1px;
  }

  .marquee-track {
    animation-duration: 18s;
  }
}








/* =====================
   MODULO PORTFOLIO
===================== */
.portfolio {
  background: #000000;
  padding: 0 0 110px;
}

.portfolio__grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.p-card {
  position: relative;
  display: block;
  height: 520px;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #111;
  transform: translateZ(0);
}

.p-card--full {
  grid-column: 1 / -1;
  height: 150px;
}

.p-card--big {
  grid-column: span 2;
}

.p-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.85s ease;
}

.p-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.3) 42%,
    rgba(0, 0, 0, 0) 70%
  );
  opacity: 0.95;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.p-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  text-align: center;
  padding: 0;
}

.p-card__title {
  font-size: 44px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 0.9;
  margin-bottom: 6px;
}

.p-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  letter-spacing: 1px;
  opacity: 0.92;
  position: relative;
  padding-bottom: 0.5px;
}

.p-card__cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.78);
  transform: scaleX(0.72);
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.85;
}

.p-card__chev {
  font-size: 18px;
  line-height: 0.5;
  transform: translateY(-1px);
}

.p-card:hover .p-card__img {
  transform: scale(1.1);
}

.p-card:hover .p-card__overlay {
  opacity: 1;
}

.p-card:hover .p-card__cta::after {
  transform: scaleX(1);
  opacity: 1;
}

@media (max-width: 1100px) {
  .portfolio__grid {
    padding: 0 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .p-card--full {
    grid-column: 1 / -1;
    height: 50px;
  }

  .p-card--big {
    grid-column: 1 / -1;
  }

  .p-card {
    height: 460px;
    border-radius: 24px;
  }

  .p-card__title {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .portfolio {
    padding: 70px 0 90px;
  }

  .portfolio__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 18px;
  }

  .p-card--full {
    grid-column: 1 / -1;
    height: 30px;
    min-height: unset;
  }

  .p-card {
    height: 64vw;
    min-height: 460px;
    border-radius: 22px;
  }

  .p-card__title {
    font-size: 30px;
  }
}








/* =====================
   MODULO TESTO
===================== */
.text-module {
  background: #ffffff;
  color: #000000;
  padding: 120px 0;
}

.text-module2 {
  background: #000000;
  color: #ffffff;
  padding: 120px 0;
}

.text-module__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-module__title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 32px;
}

.text-module__body p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0.9;
}

.text-module__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .text-module,
  .text-module2 {
    padding: 80px 0;
  }

  .text-module__inner {
    padding: 0 18px;
  }

  .text-module__title {
    font-size: 24px;
  }

  .text-module__body p {
    font-size: 15px;
  }
}




/* =====================
   VIDEO GRID REEL
===================== */
.video-grid-reel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.video-grid-reel__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #000;
}

.video-grid-reel__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.video-grid-reel__item:hover .video-grid-reel__media {
  transform: scale(1.03);
}

.video-grid-reel__fullscreen {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.video-grid-reel__fullscreen:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.video-grid-reel__media:fullscreen {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: black;
}

.video-grid-reel__media:-webkit-full-screen {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: black;
}

@media (max-width: 1024px) {
  .video-grid-reel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .video-grid-reel {
    grid-template-columns: 1fr;
  }
}





/* =====================
   MODULO GALLERY (FULL)
===================== */
.gallery-full {
  background: #000;
  height: 64vh;
  min-height: 520px;
  max-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.gallery-full__frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #111;
  overflow: hidden;
}

.gallery-full__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-full__track {
  height: 100%;
  width: 100%;
  display: flex;
  transform: translate3d(0, 0, 0);
  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.gallery-full__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-full__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.gallery-full__arrow:hover {
  transform: translateY(-50%) scale(1.08);
  background: rgba(25, 25, 25, 0.85);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

.gallery-full__arrow:active {
  transform: translateY(-50%) scale(0.94);
}

.gallery-full__arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.gallery-full__arrow-svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.gallery-full__arrow--left {
  left: 20px;
}

.gallery-full__arrow--right {
  right: 20px;
}

.gallery-full__arrow[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .gallery-full {
    height: 45vh;
    min-height: 460px;
  }

  .gallery-full__arrow {
    width: 48px;
    height: 48px;
  }

  .gallery-full__arrow-svg {
    width: 20px;
    height: 20px;
  }

  .gallery-full__arrow--left {
    left: 10px;
  }

  .gallery-full__arrow--right {
    right: 10px;
  }
}

@media (max-width: 600px) {
  .gallery-full {
    height: 50vh;
    min-height: 420px;
  }
}








/* =====================
   MODULO VIDEO
===================== */
.video-module {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.video-module__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  z-index: 0;
}


/* =====================
   MOBILE FIX
===================== */
@media (max-width: 600px) {

  .video-module {
    height: 50vh;
  }

  .video-module__media {
    object-fit: cover;
    transform: scale(1.0);
    object-position: center center;
  }

}









/* =====================
   MODULO PROGRAMS USED
===================== */
.programs-module {
  background: #f3f3f3;
  padding: 90px 80px;
}

.programs-module-1 {
  background: #000000;
  padding: 90px 80px;
}

.programs-module__inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 90px;
}

.programs-module__text {
  flex: 0 0 44%;
  display: flex;
  justify-content: flex-start;
}

.programs-module__title {
  font-family: var(--font-h1);
  font-size: clamp(40px, 5vw, 84px);
  line-height: 0.95;
  font-weight: 200;
  color: #000000;
  margin: 0;
}

.programs-module__title-1 {
  font-family: var(--font-h1);
  font-size: clamp(40px, 5vw, 84px);
  line-height: 0.95;
  font-weight: 200;
  color: #ffffff;
  margin: 0;
}

.programs-module__icons {
  flex: 0 0 42%;
  display: flex;
  justify-content: center;
}

.programs-module__grid {
  width: 100%;
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  column-gap: 60px;
  align-items: center;
  justify-content: flex-end;
}

.programs-module__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.programs-module__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.programs-module__icon:hover img {
  transform: scale(1.08);
}

@media (max-width: 1200px) {
  .programs-module,
  .programs-module-1 {
    padding: 70px 50px;
  }

  .programs-module__inner {
    gap: 60px;
  }

  .programs-module__grid {
    column-gap: 60px;
    row-gap: 55px;
  }
}

@media (max-width: 900px) {
  .programs-module__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
  }

  .programs-module__text,
  .programs-module__icons {
    flex: none;
    width: 100%;
  }

  .programs-module__icons {
    justify-content: flex-start;
  }

  .programs-module__grid {
    max-width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .programs-module,
  .programs-module-1 {
    padding: 50px 24px;
  }

  .programs-module__inner {
    gap: 42px;
    align-items: center;
  }

  .programs-module__text {
    justify-content: center;
    width: 100%;
  }

  .programs-module__title,
  .programs-module__title-1 {
    text-align: center;
    width: 100%;
  }

  .programs-module__icons {
    justify-content: center;
    width: 100%;
  }

  .programs-module__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 36px;
    row-gap: 36px;
    justify-content: center;
    justify-items: center;
    max-width: 260px;
    margin: 0 auto;
  }

  .programs-module__icon {
    width: 62px;
    height: 62px;
  }
}




/* =====================
   MODULO VIDEO GRID REEL + FULLSCREEN
===================== */
.video-grid-reel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 24px;
  background: #000;
}

.video-grid-reel__item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.video-grid-reel__media {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.video-grid-reel__fullscreen {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  cursor: pointer;
}

/* tablet */
@media (max-width: 900px) {
  .video-grid-reel {
    gap: 12px;
    padding: 18px;
  }

  .video-grid-reel__fullscreen {
    width: 34px;
    height: 34px;
    right: 8px;
    bottom: 8px;
  }
}

/* mobile */
@media (max-width: 600px) {
  .video-grid-reel {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .video-grid-reel__item {
    border-radius: 10px;
  }

  .video-grid-reel__media {
    aspect-ratio: 9 / 16;
  }

  .video-grid-reel__fullscreen {
    width: 28px;
    height: 28px;
    right: 6px;
    bottom: 6px;
    font-size: 14px;
  }
}



/* =====================
   MODULO HERO 2
===================== */
.hero2 {
  position: relative;
  background: #000;
  --hero-side-space: 80px;
}

.hero2__visual {
  position: relative;
  height: 64svh;
  min-height: 520px;
  max-height: 720px;
  overflow: hidden;
}

.hero2__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero2__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.86) 0%,
    rgba(0, 0, 0, 0.72) 26%,
    rgba(0, 0, 0, 0.42) 46%,
    rgba(0, 0, 0, 0.18) 60%,
    rgba(0, 0, 0, 0) 72%
  );
}

.hero2__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--hero-side-space);
  display: flex;
  align-items: center;
}

.hero2__content {
  width: min(520px, 70%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero2__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 0 32px;
  color: #fff;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
}

.hero2__back-icon {
  width: 28px;
  height: 28px;
  display: block;
}

.hero2__title {
  font-size: 52px;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0 0 16px;
}

.hero2__subtitle {
  font-size: 18px;
  letter-spacing: 1px;
  margin: 0;
  opacity: 0.95;
}

.hero2__text {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .hero2 {
    --hero-side-space: 24px;
  }

  .hero2__visual {
    height: 58svh;
    min-height: 460px;
  }

  .hero2__content {
    width: 78%;
  }

  .hero2__back {
    width: 40px;
    height: 40px;
    margin-bottom: 34px;
  }

  .hero2__back-icon {
    width: 24px;
    height: 24px;
  }

  .hero2__title {
    font-size: 38px;
  }
}

@media (max-width: 600px) {
  .hero2 {
    --hero-side-space: 50px;
  }

  .hero2__visual {
    min-height: 420px;
  }

  .hero2__media {
    object-position: 80% center;
  }

  .hero2__content {
    width: 100%;
  }

  .hero2__back {
    width: 38px;
    height: 38px;
    margin-bottom: 28px;
  }

  .hero2__back-icon {
    width: 22px;
    height: 22px;
  }

  .hero2__title {
    font-size: 32px;
  }

  .hero2__subtitle {
    font-size: 16px;
  }
}















/* =====================
   FLOATING HOME BUTTON
===================== */
.floating-home{
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px) scale(.96);
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 110px;
  height: 46px;
  padding: 0 22px;

  background: rgba(15,15,15,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;

  color: #fff;
  text-decoration: none;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.08);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease,
    background 0.25s ease;
}


/* Stato visibile */
.floating-home--visible{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}


/* Hover */
.floating-home:hover{
  background: rgba(25,25,25,0.94);
}


/* Testo / H1 */
.floating-home__text{
  margin: 0;
  padding: 0;

  line-height: 0;

  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #fff;
}


/* Mobile */
@media (max-width: 768px){

  .floating-home{
    top: 14px;
    min-width: 96px;
    height: 42px;
    padding: 0 18px;
  }

  .floating-home__text{
    font-size: 12px;
    letter-spacing: 0.07em;
  }

}






/* =====================
   MODULO VIDEO + TESTO
===================== */
.image-text-module {
  padding: 120px 60px;
  background: #000;
  color: #fff;
}

.image-text-module_1 {
  padding: 120px 60px;
  background: #fff;
  color: #000;
}


.image-text-module--light {
  background: #fff;
  color: #000;
}

/* GRID */
.image-text-module__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* VIDEO WRAPPER */
.image-text-module__media {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 600px;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
}

/* VIDEO */
.image-text-module__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* HOVER LEGGERO */
.image-text-module__media:hover .image-text-module__video {
  transform: scale(1.03);
}

.image-text-module__video {
  transition: transform 0.4s ease;
}

/* FULLSCREEN COME VIDEO GRID REEL */
.image-text-module__video:fullscreen {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: black;
}

.image-text-module__video:-webkit-full-screen {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: black;
}

.image-text-module__video:-moz-full-screen {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: black;
}

/* TESTO */
.image-text-module__title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 24px;
}

.image-text-module__body {
  font-size: 16px;
  line-height: 1.7;
  color: inherit;
}

.image-text-module__body_1 {
  font-size: 16px;
  line-height: 1.7;
  color: inherit;
}

.image-text-module__body p {
  margin: 0 0 16px;
}

/* FULLSCREEN BUTTON */
.image-text-module__fullscreen {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 20;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.image-text-module__fullscreen:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

/* VERSIONE LIGHT */
.image-text-module--light .image-text-module__fullscreen {
  background: rgba(255, 255, 255, 0.7);
  color: #000;
}

/* TABLET */
@media (max-width: 991px) {
  .image-text-module {
    padding: 90px 30px;
  }

  .image-text-module__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .image-text-module__media {
    max-height: none;
  }

  .image-text-module__title {
    font-size: 28px;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .image-text-module {
    padding: 70px 20px;
  }

  .image-text-module__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* MEDIA QUADRATA */
  .image-text-module__media {
    aspect-ratio: 1 / 1;
    max-height: none;
  }

  .image-text-module__title {
    font-size: 24px;
  }

  .image-text-module__body {
    font-size: 15px;
  }

  .image-text-module__fullscreen {
    width: 40px;
    height: 40px;
    font-size: 18px;
    right: 12px;
    bottom: 12px;
  }
}








/* =====================
   MODULO IMMAGINE + TESTO
===================== */
.image-text-module {
  padding: 120px 60px;
  background: #000000;
  color: #ffffff;
}

.image-text-module_1 {
  padding: 120px 60px;
  background: #ffffff;
  color: #000000;
}

.image-text-module--light {
  padding: 120px 60px;
  background: #ffffff;
  color: #000000;
}

.image-text-module__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.image-text-module__media {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 600px;
  overflow: hidden;
  background: #111;
}

.image-text-module__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-text-module__title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 24px;
}

.image-text-module__body {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #ffffff;
}

.image-text-module__body_1 {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #000000;
}

.image-text-module--light .image-text-module__body {
  color: #000000;
}

/* TABLET */
@media (max-width: 991px) {
  .image-text-module {
    padding: 90px 30px;
  }

  .image-text-module--light {
    padding: 90px 30px;
  }

  .image-text-module__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .image-text-module__media {
    max-height: none;
  }

  .image-text-module__title {
    font-size: 28px;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .image-text-module {
    padding: 70px 20px;
  }

  .image-text-module--light {
    padding: 70px 20px;
  }

  .image-text-module__inner {
    gap: 30px;
  }

  /* IMMAGINE QUADRATA */
  .image-text-module__media {
    aspect-ratio: 1 / 1;
    max-height: none;
  }

  .image-text-module__title {
    font-size: 24px;
  }

  .image-text-module__body {
    font-size: 15px;
    line-height: 1.6;
  }
}














/* =====================
   FOOTER ISTITUZIONALE
===================== */
.site-footer {
  background: #000000;
  color: #ffffff;
  padding: 90px 60px 70px;
}

.site-footer__inner {
  max-width: 1200px;   /* controlla larghezza */
  margin: 0 auto;      /* QUESTO centra tutto */
  padding: 0 20px;     /* margine interno mobile */
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;;
  align-items: start;
}

.site-footer__brand {
  max-width: 420px;
}

.site-footer__logo {
  margin: 0 0 48px;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.site-footer__info p {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

.site-footer__legal {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer__legal a,
.site-footer__col a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.site-footer__legal a:hover,
.site-footer__col a:hover {
  opacity: 0.7;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 80px;

  justify-content: end;   /* 👉 spinge tutto a destra */
}

.site-footer__col h3 {
  margin: 0 0 28px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.site-footer__col a {
  display: block;
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}

@media (max-width: 991px) {
  .site-footer {
    padding: 70px 24px 50px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .site-footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
  }
}

@media (max-width: 640px) {
  .site-footer__logo {
    font-size: 28px;
    margin-bottom: 36px;
  }

  .site-footer__info p,
  .site-footer__col a {
    font-size: 15px;
  }

  .site-footer__col h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .site-footer__links {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}










