.elementor-868 .elementor-element.elementor-element-d5cc5dc{--display:flex;}body.elementor-page-868:not(.elementor-motion-effects-element-type-background), body.elementor-page-868 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-ab7a87f );}:root{--page-title-display:none;}/* Start custom CSS *//* =========================================================
   RECENT WORKS PAGE - GLOBAL CSS
   ========================================================= */

.ft-works-intro {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 14%, rgba(241, 90, 36, .08), transparent 30%),
    radial-gradient(circle at 82% 80%, rgba(40, 85, 150, .12), transparent 36%),
    linear-gradient(180deg, #050a14 0%, #07101f 100%);
}

.ft-works-intro .ft-grid-2 {
  align-items: start;
}

.ft-works-intro .ft-title--page {
  color: #ffffff !important;
}

.ft-works-intro .ft-lead {
  margin-top: 52px;
  color: rgba(255,255,255,.84);
  font-size: 16px !important;
  line-height: 1.68 !important;
}

.ft-works-gallery-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(241, 90, 36, .08), transparent 30%),
    radial-gradient(circle at 12% 86%, rgba(40, 85, 150, .14), transparent 36%),
    linear-gradient(180deg, #07101f 0%, #081426 100%);
}

.ft-works-gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.ft-works-gallery-section .ft-container {
  position: relative;
  z-index: 2;
}

/* Gallery masonry-like */
.ft-works-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 18px;
}

.ft-works-gallery .tile {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(10, 22, 42, .96), rgba(6, 14, 28, .98));
  border: 1px solid rgba(75, 94, 125, .76);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color .28s ease,
    box-shadow .28s ease,
    transform .28s ease,
    background .28s ease;
}

.ft-works-gallery .tile.big {
  grid-column: span 2;
  grid-row: span 2;
}

.ft-works-gallery .tile::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 50% 30%, rgba(241, 90, 36, .20), transparent 32%),
    linear-gradient(135deg, rgba(241, 90, 36, .12), transparent 42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.ft-works-gallery .tile:hover {
  border-color: #f15a24;
  background:
    linear-gradient(180deg, rgba(13, 29, 56, .98), rgba(6, 14, 28, .98));
  box-shadow:
    0 0 0 1px rgba(241, 90, 36, .62),
    0 0 30px rgba(241, 90, 36, .18),
    inset 0 0 24px rgba(241, 90, 36, .07);
  transform: translateY(-4px);
}

.ft-works-gallery .tile:hover::before {
  opacity: 1;
}

.ft-placeholder {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,.28);
  font-size: 42px;
  line-height: 1;
}

.ft-placeholder-text {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: rgba(255,255,255,.38);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

/* Se inseriamo immagini reali */
.ft-works-gallery .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform .35s ease,
    filter .35s ease;
}

.ft-works-gallery .tile:hover img {
  transform: scale(1.04);
  filter: brightness(.85) contrast(1.05);
}

.ft-work-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  color: #ffffff;
}

.ft-work-caption span {
  display: block;
  margin-bottom: 6px;
  color: #ff7a3d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.ft-work-caption strong {
  display: block;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 900;
}

/* Responsive */
@media (max-width: 1024px) {
  .ft-works-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }
}

@media (max-width: 767px) {
  .ft-works-intro .ft-lead {
    margin-top: 20px;
    font-size: 14px !important;
  }

  .ft-works-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .ft-works-gallery .tile.big {
    grid-column: span 1;
    grid-row: span 1;
  }
}



/* =========================================================
   MISSION VISION LAB - GALLERY REFINEMENT
   ========================================================= */

.ft-mission-gallery {
  grid-auto-rows: 250px;
}

.ft-mission-gallery .tile {
  background: #050a14;
}

.ft-mission-gallery .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ft-mission-gallery .tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5,10,20,.04) 0%, rgba(5,10,20,.22) 42%, rgba(5,10,20,.86) 100%),
    linear-gradient(90deg, rgba(5,10,20,.46) 0%, transparent 44%);
  pointer-events: none;
}

.ft-mission-gallery .tile:hover img {
  transform: scale(1.045);
  filter: brightness(.86) contrast(1.08);
}

.ft-mission-gallery .ft-work-caption {
  z-index: 4;
}

.ft-mission-gallery .ft-work-caption span {
  color: #ff7a3d;
}

.ft-mission-gallery .ft-work-caption strong {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(0,0,0,.45);
}

/* Alcune immagini tecniche stanno meglio contenute */
.ft-mission-gallery .tile:nth-child(1) img,
.ft-mission-gallery .tile:nth-child(2) img,
.ft-mission-gallery .tile:nth-child(3) img,
.ft-mission-gallery .tile:nth-child(11) img,
.ft-mission-gallery .tile:nth-child(12) img,
.ft-mission-gallery .tile:nth-child(13) img,
.ft-mission-gallery .tile:nth-child(14) img {
  object-fit: contain;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(241,90,36,.06), transparent 42%),
    #050a14;
}

/* Sulle immagini contenute manteniamo overlay più leggero */
.ft-mission-gallery .tile:nth-child(1)::after,
.ft-mission-gallery .tile:nth-child(2)::after,
.ft-mission-gallery .tile:nth-child(3)::after,
.ft-mission-gallery .tile:nth-child(11)::after,
.ft-mission-gallery .tile:nth-child(12)::after,
.ft-mission-gallery .tile:nth-child(13)::after,
.ft-mission-gallery .tile:nth-child(14)::after {
  background:
    linear-gradient(180deg, rgba(5,10,20,.02) 0%, rgba(5,10,20,.10) 42%, rgba(5,10,20,.82) 100%);
}

/* Responsive */
@media (max-width: 1024px) {
  .ft-mission-gallery {
    grid-auto-rows: 240px;
  }
}

@media (max-width: 767px) {
  .ft-mission-gallery {
    grid-auto-rows: 240px;
  }

  .ft-mission-gallery .tile.big {
    grid-row: span 1;
  }

  .ft-mission-gallery .ft-work-caption strong {
    font-size: 16px;
  }
}


/* =========================================================
   MISSION VISION LAB - UNIFORM GALLERY + LIGHTBOX READY
   ========================================================= */

.ft-mission-gallery--uniform {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  grid-auto-rows: auto;
}

/* Tutte le tile uguali */
.ft-mission-gallery--uniform .tile,
.ft-mission-gallery--uniform .tile.big {
  position: relative;
  grid-column: auto !important;
  grid-row: auto !important;
  height: 300px;
  min-height: 300px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(241,90,36,.06), transparent 42%),
    #050a14;
  border: 1px solid rgba(75, 94, 125, .76);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    border-color .28s ease,
    box-shadow .28s ease,
    transform .28s ease,
    background .28s ease;
}

/* Immagini sempre visibili, non tagliate */
.ft-mission-gallery--uniform .tile img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center;
  padding: 18px 18px 46px;
  display: block;
  background: transparent;
  transition:
    transform .32s ease,
    filter .32s ease;
}

/* Overlay leggero solo in basso */
.ft-mission-gallery--uniform .tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 95px;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5,10,20,.82) 100%);
  pointer-events: none;
}

/* Hover */
.ft-mission-gallery--uniform .tile:hover {
  border-color: #f15a24;
  background:
    radial-gradient(circle at 50% 45%, rgba(241,90,36,.10), transparent 42%),
    #050a14;
  box-shadow:
    0 0 0 1px rgba(241, 90, 36, .55),
    0 0 28px rgba(241, 90, 36, .18);
  transform: translateY(-4px);
}

.ft-mission-gallery--uniform .tile:hover img {
  transform: scale(1.025);
  filter: brightness(.96) contrast(1.04);
}

/* Caption solo arancione */
.ft-mission-gallery--uniform .ft-work-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 4;
  color: #ff7a3d;
}

.ft-mission-gallery--uniform .ft-work-caption span {
  display: block;
  color: #ff7a3d;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  margin: 0;
}

/* Elimina eventuali vecchi titoli bianchi */
.ft-mission-gallery--uniform .ft-work-caption strong {
  display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .ft-mission-gallery--uniform {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ft-mission-gallery--uniform .tile,
  .ft-mission-gallery--uniform .tile.big {
    height: 280px;
    min-height: 280px;
  }
}

@media (max-width: 767px) {
  .ft-mission-gallery--uniform {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ft-mission-gallery--uniform .tile,
  .ft-mission-gallery--uniform .tile.big {
    height: 260px;
    min-height: 260px;
  }

  .ft-mission-gallery--uniform .tile img {
    padding: 14px 14px 42px;
  }
}




/* =========================================================
   ELEMENTOR LIGHTBOX - DIMENSIONE NON FULLSCREEN
   Mission Vision Lab
   ========================================================= */

/* Overlay meno invasivo */
.elementor-lightbox {
  background-color: rgba(5, 10, 20, .86) !important;
}

/* Contenitore immagine più piccolo del fullscreen */
.elementor-lightbox .elementor-lightbox-image,
.elementor-lightbox .swiper-zoom-container img,
.elementor-lightbox .dialog-lightbox-message img {
  max-width: 78vw !important;
  max-height: 78vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border: 1px solid rgba(241, 90, 36, .35);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 0 42px rgba(241, 90, 36, .18);
  background: #050a14;
}

/* Evita che il contenitore si allarghi troppo */
.elementor-lightbox .dialog-lightbox-widget-content,
.elementor-lightbox .dialog-lightbox-message,
.elementor-lightbox .swiper,
.elementor-lightbox .swiper-slide {
  max-width: 82vw !important;
  max-height: 82vh !important;
}

/* Pulsante chiusura più coerente col sito */
.elementor-lightbox .dialog-lightbox-close-button,
.elementor-lightbox .elementor-lightbox-close {
  color: #ff7a3d !important;
}

/* Frecce */
.elementor-lightbox .elementor-swiper-button,
.elementor-lightbox .swiper-button-prev,
.elementor-lightbox .swiper-button-next {
  color: #ff7a3d !important;
}

/* Mobile: quasi pieno, ma non totalmente fullscreen */
@media (max-width: 767px) {
  .elementor-lightbox .elementor-lightbox-image,
  .elementor-lightbox .swiper-zoom-container img,
  .elementor-lightbox .dialog-lightbox-message img {
    max-width: 92vw !important;
    max-height: 74vh !important;
  }

  .elementor-lightbox .dialog-lightbox-widget-content,
  .elementor-lightbox .dialog-lightbox-message,
  .elementor-lightbox .swiper,
  .elementor-lightbox .swiper-slide {
    max-width: 94vw !important;
    max-height: 78vh !important;
  }
}/* End custom CSS */