/* NEW APPROACH */

/* RAREARTH - RESPONSIVE CSS MASTER */

.mt-custom {
  margin-top: -7px;
}

@media (min-width: 992px) {
  .mt-custom {
    margin-top: -14px;
  }
}

/*
=====================================================
PADDING RESPONSIVE 60px → 30px
===================================================== */

/* Mobile: 30px */

.px-60 {
  padding-left: 30px !important;
  padding-right: 30px !important;
}

.ps-5 {
  padding-left: 3.5rem !important;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .ps-5 {
    padding-left: 4.6rem !important;
  }
}

/* Tablet (768px+): 40px */
@media (min-width: 768px) {
  .px-60 {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

/* Desktop (992px+): 50px */
@media (min-width: 992px) {
  .px-60 {
    padding-left: 50px !important;
    padding-right: 50px !important;
  }
}

/* Large Desktop (1200px+): 60px */
@media (min-width: 1200px) {
  .px-60 {
    padding-left: 60px !important;
    padding-right: 60px !important;
  }
}

/* 
=====================================================
RESPONSIVE PADDING UTILITIES
===================================================== */

@media (max-width: 768px) {
  .py-custom {
    padding-top: 5rem !important;
    padding-bottom: 1rem !important;
  }
  .dashed-bottom.py-custom {
    padding-top: 5rem !important;
    padding-bottom: 2rem !important;
  }
}

.py-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.py-7 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.py-8 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

@media (min-width: 768px) {
  .py-md-7 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }

  .py-md-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
}

@media (min-width: 992px) {
  .py-lg-8 {
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
  }

  .py-lg-7 {
    padding-top: 8rem !important;
    padding-bottom: 6rem !important;
  }

  .py-lg-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
}

/*
=====================================================
RESPONSIVE ICON SIZING
===================================================== */

.icon-responsive {
  font-size: 1.75rem;
  transition: font-size 0.3s ease;
}

/* 
=====================================================
RESPONSIVE TITLE SIZING  
===================================================== */

.title-responsive {
  font-size: 1.75rem;
  line-height: 1.1;
  font-weight: 500;
  transition: font-size 0.3s ease;
}

/* 
=====================================================
RESPONSIVE PARAGRAPH
===================================================== 
*/

.description-responsive {
  font-size: 0.9rem;
  line-height: 1.5;
  transition: font-size 0.3s ease;
}

/* 
=====================================================
RESPONSIVE GAP UTILITY
===================================================== */

.gap-responsive {
  gap: 1rem;
  transition: gap 0.3s ease;
}

/* 
=====================================================
TABLET BREAKPOINT (768px+)
===================================================== */

@media (max-width: 768px) {
  .description-responsive {
    font-size: 0.9rem;
    width: 100%;
  }
}

@media (min-width: 768px) {
  .icon-responsive {
    font-size: 2.25rem;
  }

  .title-responsive {
    font-size: 2.25rem;
  }
  .gap-responsive {
    gap: 1.5rem;
  }
}

/* 
=====================================================
DESKTOP BREAKPOINT (992px+)
===================================================== */

@media (min-width: 992px) {
  .icon-responsive {
    font-size: 2.75rem;
  }

  .title-responsive {
    font-size: 2.75rem;
  }

  .description-responsive {
    font-size: 0.95rem;
  }

  .gap-responsive {
    gap: 2rem;
  }
}

/* 
=====================================================
LARGE DESKTOP BREAKPOINT (1200px+)
===================================================== */

@media (min-width: 1200px) {
  .icon-responsive {
    font-size: 3rem;
  }

  .title-responsive {
    font-size: 3rem;
  }

  .description-responsive {
    font-size: 1rem;
  }
}

/* 
=====================================================
EXTRA LARGE BREAKPOINT (1400px+)
===================================================== 
*/

@media (min-width: 1400px) {
  .icon-responsive {
    font-size: 3.2rem;
  }

  .title-responsive {
    font-size: 3.5rem;
  }

  .description-responsive {
    font-size: 1rem;
  }
}

/* 
=====================================================
RESPONSIVE BUTTON
===================================================== */

.btn-primary-1 {
  font-family: "Switzer", sans-serif;
  font-weight: 400;
  color: var(--color-white);
  background: var(--color-black-90);
  border: none;
  border-radius: 3px;
  padding: 6px 18px; /* Mobile: più piccolo */
  font-size: 13px; /* Mobile: più piccolo */
  transition: color 0.3s ease, background 0.3s ease;
}

.btn-secondary {
  font-family: "Switzer", "Inter", sans-serif !important;
  font-weight: 200 !important;
  border-radius: 3px !important;
  padding: 6px 18px !important; /* Mobile: più piccolo */
  font-size: 13px !important; /* Mobile: più piccolo */
  transition: color 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
}

.btn-primary-1:hover {
  color: var(--color-white);
  background: var(--color-black);
}

/* Tablet (768px+) */
@media (min-width: 768px) {
  .btn-primary-1 {
    padding: 7px 20px;
    font-size: 13.5px;
  }

  .btn-secondary {
    padding: 6px 20px !important;
    font-size: 13.5px !important;
  }
}

/* Desktop (992px+) - MASSIMO */
@media (min-width: 992px) {
  .btn-primary-1 {
    padding: 8px 24px; /* MASSIMO - tua misura originale */
    font-size: 14px; /* MASSIMO */
  }

  .btn-secondary {
    padding: 8px 24px; /* MASSIMO - tua misura originale */
    font-size: 14px; /* MASSIMO */
  }
}

/* 
=====================================================
IMAGE MORPH
===================================================== */

@media (min-width: 1400px) {
  .media-frame {
    position: relative;
    height: 80vh;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .media-frame {
    position: relative;
    height: 60vh;
    overflow: hidden;
  }

  .general-info-1.pt-150 {
    padding-top: 0px !important;
  }
}

@media (min-width: 992px) {
  .g-lg-4,
  .gx-lg-4 {
    --bs-gutter-x: 2.5rem;
  }
}

/* =====================================================
   RESPONSIVE CARDS SECTION
   ===================================================== */

.mwg_effect025 {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mwg_effect025 .container-fluid {
  display: flex;
}

.px-cards-responsive {
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .px-cards-responsive {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (min-width: 992px) {
  .px-cards-responsive {
    padding-left: 100px;
    padding-right: 100px;
  }
}

@media (min-width: 1200px) {
  .px-cards-responsive {
    padding-left: 140px;
    padding-right: 140px;
  }
}

/* =====================================================
   CARD RESPONSIVE SIZING
   ===================================================== */
.mwg_effect025 .card {
  width: 80vw; /* Mobile: card più grandi */
  aspect-ratio: 0.75;
  background-color: transparent;
  border-color: transparent;
  flex-shrink: 0; /* Importante per mobile */
}

.mwg_effect025 .card:not(:first-child) {
  margin: 0 0 0 -60vw; /* Mobile: overlap maggiore */
}

/* MOBILE */

@media (max-width: 600px) {
  @media (max-width: 500px) {
    .mwg_effect025 .card:nth-child(1) {
      z-index: 1 !important;
    }
    .mwg_effect025 .card:nth-child(2) {
      z-index: 1 !important;
    }
    .mwg_effect025 .card:nth-child(3) {
      z-index: 1 !important;
    }
    .mwg_effect025 .card:nth-child(4) {
      z-index: 1 !important;
    }
    .mwg_effect025 .card:nth-child(5) {
      z-index: 1 !important;
    }
    .mwg_effect025 .card:nth-child(6) {
      z-index: 1 !important;
    }
    .mwg_effect025 .card:nth-child(7) {
      z-index: 1 !important;
    }
  }
  .mwg_effect025 .card .content .top {
    font-size: 1rem !important;
  }
  .mwg_effect025 {
    height: auto !important; /* Rimuovi height: 100vh fisso */
    min-height: auto !important;
  }
  .mwg_effect025 .card {
    width: 100% !important;
    height: auto !important; /* IMPORTANTE */
    min-height: auto !important;
    aspect-ratio: auto !important; /* Rimuovi aspect-ratio fisso */
  }

  .mwg_effect025 .container-fluid {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: -46px;
  }

  .mwg_effect025 .card .content {
    width: 100%;
    height: auto !important;
  }

  .mwg_effect025 .card {
    margin: 0 0 -8vh 0 !important; /* Solo margin bottom */
  }

  .mwg_effect025 .card {
    position: static !important;
    z-index: auto !important;
  }

  .name-responsive {
    font-size: 0.9rem !important;
  }

  .job-responsive {
    font-size: 0.65rem !important;
  }
}

/* @media (min-width: 768px) and (max-width: 992px) {
  .mwg_effect025 .card .content .top {
    font-size: 0.7rem !important;
  }

  .name-responsive {
    font-size: 0.75rem !important;
  }

  .job-responsive {
    font-size: 0.55rem !important;
  }

  .mwg_effect025 {
    height: 60vh !important;
  }
} */

@media (max-width: 768px) {
  @media (max-width: 767px) {
    .mwg_effect025 .card:nth-child(1) {
      z-index: 7;
    }
    .mwg_effect025 .card:nth-child(2) {
      z-index: 6;
    }
    .mwg_effect025 .card:nth-child(3) {
      z-index: 5;
    }
    .mwg_effect025 .card:nth-child(4) {
      z-index: 4;
    }
    .mwg_effect025 .card:nth-child(5) {
      z-index: 3;
    }
    .mwg_effect025 .card:nth-child(6) {
      z-index: 2;
    }
    .mwg_effect025 .card:nth-child(7) {
      z-index: 1;
    }
  }

  .icon-bubble-responsive {
    font-size: 18px !important;
  }

  .mwg_effect025 .card .content {
    border-radius: 3px !important;
  }

  .icon-bubble-responsive {
    font-size: 20px;
  }

  .mwg_effect025 .card {
    transform: rotate(0deg) !important; /* Forza rotazione 0 */
  }

  /* Oppure ancora meno overlap */
  .mwg_effect025 .card:not(:first-child) {
    margin: 0 0 0 -30vw; /* Minimal overlap */
  }

  .mwg_effect025 .card {
    width: 45vw; /* Tablet: dimensioni intermedie */
  }

  .mwg_effect025 .card .content {
    padding: 22px !important;
  }

  .mwg_effect025 .card .content .bottom {
    display: flex;
    align-items: center;
    column-gap: 15px !important;
    font: 500 normal 0.9rem / 0.9 "Switzer", sans-serif;
    letter-spacing: -0.03em;
    border-top: 1px dashed #000;
    padding: 15px 0 0 !important;
  }

  .mwg_effect025 .card .content .bubble {
    width: 35px !important;
    height: 35px !important;
  }

  /*   .mwg_effect025 {
    height: 60vh !important;
  } */

  .mwg_effect025 .card {
    width: 38vw;
    aspect-ratio: 0.8;
  }
}
/* ============================ */

@media (min-width: 768px) {
  .mwg_effect025 .card {
    width: 50vw; /* Mobile: dimensioni piccole */
  }

  .mwg_effect025 .card:not(:first-child) {
    margin: 0 0 0 -25vw;
  }
}

@media (min-width: 992px) {
  .mwg_effect025 .card {
    width: 24vw; /* Desktop: dimensioni ridotte */
  }

  .mwg_effect025 .card:not(:first-child) {
    margin: 0 0 0 -15vw;
  }
}

@media (min-width: 1200px) {
  .mwg_effect025 .card {
    width: 20vw; /* Large: dimensioni originali */
  }

  .mwg_effect025 .card:not(:first-child) {
    margin: 0 0 0 -10vw;
  }
}

/* =====================================================
   CARD CONTENT RESPONSIVE
   ===================================================== */
.mwg_effect025 .card .content {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px; /* Mobile: padding fisso */
}

@media (min-width: 768px) {
  .mwg_effect025 .card .content {
    padding: 25px;
  }
}

@media (min-width: 1200px) {
  .mwg_effect025 .card .content {
    padding: clamp(20px, 5vw, 29px); /* Desktop: padding dinamico */
  }

  .name-responsive {
    font-size: 1.1rem;
  }
}

/* =====================================================
   RESPONSIVE TEXT SIZING
   ===================================================== */
.mwg_effect025 .card .content .top {
  font: 500 normal 1rem / 1.2 "Switzer", sans-serif;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .mwg_effect025 .card .content .top {
    font-size: 1.1rem;
  }
}

@media (min-width: 992px) {
  .mwg_effect025 .card .content .top {
    font: 500 normal clamp(0.95rem, 1.2vw, 2rem) / 1.2 "Switzer", sans-serif;
  }
}

/* =====================================================
   BOTTOM SECTION RESPONSIVE
   ===================================================== */
.mwg_effect025 .card .content .bottom {
  display: flex;
  align-items: center;
  column-gap: 15px; /* Mobile: gap ridotto */
  font: 500 normal 0.9rem / 0.9 "Switzer", sans-serif;
  letter-spacing: -0.03em;
  border-top: 1px dashed #000;
  padding: 20px 0 0; /* Mobile: padding ridotto */
}

@media (min-width: 768px) {
  .mwg_effect025 .card .content .bottom {
    column-gap: 18px;
    font-size: 1rem;
    padding: 25px 0 0;
  }
}

@media (min-width: 992px) {
  .mwg_effect025 .card .content .bottom {
    column-gap: 20px;
    font: 500 normal 1.1vw / 0.9 "Switzer", sans-serif;
    padding: 20px 0 0;
  }
}

/* =====================================================
BUBBLE RESPONSIVE
===================================================== */

.mwg_effect025 .card .content .bubble {
  width: 50px; /* Mobile: dimensione fissa */
  height: 50px;
  border-radius: 100%;
  background-color: #fff;
  display: grid;
  place-items: center;
}

.icon-bubble-responsive {
  font-size: 24px; /* Mobile */
}

@media (min-width: 768px) {
  .mwg_effect025 .card .content .bubble {
    width: 55px;
    height: 55px;
  }

  .icon-bubble-responsive {
    font-size: 26px;
  }
}

@media (min-width: 992px) {
  .mwg_effect025 .card .content .bubble {
    width: 3.3vw;
    height: 3.3vw;
  }

  .icon-bubble-responsive {
    font-size: 30px;
  }
}

/* =====================================================
   NAME AND JOB RESPONSIVE
   ===================================================== */

.name-responsive {
  font-size: 0.9rem;
}

.job-responsive {
  font: 500 normal 0.8rem / normal "IBM Plex Mono";
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .name-responsive {
    font-size: 1.1rem;
  }

  .job-responsive {
    font-size: 0.85rem;
  }
}

@media (min-width: 992px) {
  .job-responsive {
    font: 500 normal 0.75vw / normal "IBM Plex Mono";
    text-transform: uppercase;
  }
}

/* General resizing for cards */

@media (min-width: 1200px) and (max-width: 1400px) {
  .mwg_effect025 .card .content {
    padding: clamp(20px, 5vw, 25px);
  }

  .name-responsive {
    font-size: 1rem;
  }

  .icon-bubble-responsive {
    font-size: 24px;
  }
}

@media (min-width: 1400px) and (max-width: 1550px) {
  .mwg_effect025 .card .content {
    padding: clamp(20px, 5vw, 29px); /* Desktop: padding dinamico */
  }
}

@media (min-width: 1550px) {
  .mwg_effect025 .card .content {
    padding: clamp(20px, 5vw, 35px);
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .mwg_effect025 .card .content .bubble {
    width: 4.3vw;
    height: 4.3vw;
  }

  .icon-bubble-responsive {
    font-size: 25px;
  }

  .name-responsive {
    font-size: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .mwg_effect025 .card {
    width: 29vw;
  }

  .mwg_effect025 .card .content .top {
    font-size: 0.9rem;
  }
  .name-responsive {
    font-size: 1rem;
  }

  .mwg_effect025 .card:not(:first-child) {
    margin: 0 0 0 -20vw;
  }

  .job-responsive {
    font-size: 0.75rem;
  }

  .mwg_effect025 .card .content .bottom {
    column-gap: 18px;
    font-size: 1rem;
    padding: 17px 0 0;
  }

  .mwg_effect025 .card .content .bubble {
    width: 45px;
    height: 45px;
  }

  .icon-bubble-responsive {
    font-size: 20px;
  }
}

/* RESPONSIVE PROJECTS - MIGLIORATO */

/* 
=====================================================
MWG_EFFECT_038 TABLET BREAKPOINT (768px - 992px)
===================================================== */

@media (min-width: 992px) and (max-width: 1200px) {
  .mwg_effect038 .paragraph {
    width: 50% !important;
    font-size: 1.6vw !important;
  }

  .mwg_effect038 .project.on {
    flex: 0 0 61vw !important;
  }

  .mwg_effect038 .datas,
  .mwg_effect038 .year {
    font-size: 3.5vw;
  }
  .mwg_effect038 .datas {
    left: 34px;
  }
  .mwg_effect038 .media {
    margin: 30px 30px 30px 76px;
  }

  .mwg_effect038 .paragraph {
    left: 76px;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .mwg_effect038 .project {
    flex: 0 0 8vw; /* Progetti più larghi su tablet */
  }

  .mwg_effect038 .project.on {
    flex: 0 0 65vw; /* Progetto attivo più largo */
  }

  .mwg_effect038 .paragraph {
    width: 40%;
    bottom: 60%;
    left: 60px;
  }

  .mwg_effect038 .media {
    margin: 30px 20px 30px 90px;
  }

  .mwg_effect038 .datas {
    left: 38px;
  }
  .mwg_effect038 .media {
    margin: 30px 30px 30px 78px;
  }
}

/* =====================================================
MOBILE BREAKPOINT (≤ 768px) - MIGLIORATO
===================================================== */

@media (max-width: 991px) {
  .mwg_effect038 .project:last-child .datas,
  .mwg_effect038 .project:last-child .paragraph {
    margin: 0 !important;
  }
  .mwg_effect038 .project:last-child .paragraph {
    margin-bottom: 0 !important;
    margin-top: 15px !important;
  }
  .mwg_effect038 .year {
    color: #fff !important;
  }

  .mwg_effect038 .pin-height {
    height: auto;
    padding: 40px 0px; /* Padding top/bottom */
  }

  .mwg_effect038 .container {
    height: auto;
    white-space: initial;
    width: 100%;
    flex-direction: column;
    padding: 0; /* Padding laterale */
    gap: 15px; /* Spazio tra progetti */
  }

  .mwg_effect038 .project {
    border-right: 0 !important;
    border-left: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    /* padding-bottom: 30px; */
    height: auto !important;
    flex: 1;
    position: relative !important;
  }

  .mwg_effect038 .project.on {
    height: 26vh;
    flex: auto !important;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
  }

  .mwg_effect038 .project:not(:first-child) {
    border-top: none; /* Usa gap invece di border-top */
  }

  .mwg_effect038 .project:last-child {
    border-bottom: none;
  }

  /* Tutti i progetti visibili su mobile */
  .mwg_effect038 .project:not(.on) {
    color: #f1f1f1;
  }

  .mwg_effect038 .project:not(.on) .media,
  .mwg_effect038 .project:not(.on) .paragraph {
    display: none !important;
  }

  .mwg_effect038 .project .year {
    display: flex !important;
  }

  .mwg_effect038 .project:not(.on) .year {
    display: flex !important;
  }

  /* Layout mobile */
  .mwg_effect038 .datas {
    position: relative;
    transform: none;
    left: auto;
    margin: 0 0 15px 0;
    font-size: clamp(1.5rem, 5vw, 1.5rem) !important;
    line-height: 1.1 !important;
    width: auto;
    display: block;
    color: #fff;
    z-index: 10;
  }

  .mwg_effect038 .year {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    font-size: clamp(1.2rem, 4vw, 1.5rem) !important;
    line-height: 1 !important;
  }

  .mwg_effect038 .paragraph:not(:last-child) {
    position: relative !important;
    width: 100% !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 0 20px 0 !important;
    font-size: clamp(0.9rem, 3.5vw, 1rem) !important;
    line-height: 1.4 !important;
    white-space: normal !important;
  }

  .mwg_effect038 .media {
    margin: 0 !important;
    width: 100% !important;
    height: 50% !important;
    aspect-ratio: 1.6;
    border-radius: 4px;
    position: absolute;
    top: 0;
  }
}

/* PROCESS */ /* RESPONSIVE PROJECTS - MIGLIORATO */

/*
=====================================================
TABLET/MOBILE VERSION (769px+)
===================================================== */

@media (min-width: 1023px) and (max-width: 1400px) {
  .mwg_effect031 .bottom > div:last-child {
    flex-direction: column !important;
    transition: all 0.3s ease;
  }

  .mwg_effect031 .text {
    width: 50%;
    font-size: 1.5rem;
  }

  .mwg_effect031 .bottom img {
    width: 40vw !important;
  }
}

/* TABLET STYLES (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .mwg_effect031 .bottom {
    display: flex !important;
    flex-direction: column-reverse;
    position: relative;
    justify-content: flex-end;
  }

  .mwg_effect031 .bottom > div:last-child {
    position: unset !important;
    width: 100%;
  }

  .mwg_effect031 .bottom img {
    width: 100% !important;
    height: 50vh !important;
    /* margin-top: 30px; */
  }

  .mwg_effect031 .bottom .num {
    position: absolute;
    top: 20px;
    right: 25px;
  }

  .mwg_effect031 .text {
    width: auto;
    font-size: 2.2vw;
    margin-top: 35px;
  }

  .mwg_effect031 .content {
    padding: 35px 40px 50px 40px;
    justify-content: center;
  }

  .mwg_effect031 .top {
    padding-top: 70px;
  }

  .mwg_effect031 .top p {
    letter-spacing: -0.03em;
    width: 80%;
    margin-bottom: 2rem;
  }

  .mwg_effect031 .top svg {
    width: 6.5vw;
    padding-top: 12px;
  }

  .mwg_effect031 .slide:nth-child(3) .bottom img,
  .mwg_effect031 .slide:nth-child(6) .bottom img {
    width: 100% !important;
    height: 50vh !important;
    /*  margin-top: 30px; */
  }

  .mwg_effect031 .slide:nth-child(3) .bottom .num,
  .mwg_effect031 .slide:nth-child(6) .bottom .num {
    top: 20px;
  }

  .mwg_effect031 .slide:nth-child(1) .top p,
  .mwg_effect031 .slide:nth-child(6) .top p {
    width: 60% !important;
  }
}

/* MOBILE STYLES (max-width: 767px) */
@media (max-width: 767px) {
  .mwg_effect031 .bottom .num {
    position: absolute;
    right: 20px;
    top: 20px;
    mix-blend-mode: color-dodge;
    color: #f1f1f1;
  }

  .mwg_effect031 .content {
    justify-content: center;
    will-change: transform;
  }

  .mwg_effect031 .content {
    position: relative;
    padding: 25px 30px;
    min-height: auto;
    transform-origin: center;
  }

  .mwg_effect031 .bottom > div:last-child {
    position: relative;
    right: auto;
    font: 500 normal 64px / 0.9 "Plain", "Inter", sans-serif;
    gap: 20px;
    flex-direction: column;
    order: 1;
    width: 100%;
  }

  .mwg_effect031 .top {
    padding-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .mwg_effect031 .bottom {
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
  }

  .mwg_effect031 .text {
    width: 100%;
    font: 500 normal 18px / 1.3 "Switzer", "Inter", sans-serif;
    order: 2;
  }

  .mwg_effect031 .top p {
    font: 500 normal 48px / 1.1 "Plain", "Inter", sans-serif;
    width: 100%;
    margin-bottom: 0;
  }

  .mwg_effect031 .bottom > div:last-child {
    position: relative;
    right: auto;
    font: 500 normal 40px / 0.9 "Plain", "Inter", sans-serif;
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
    order: 1;
  }

  .mwg_effect031 .bottom img {
    width: 100%;
    height: 50vh;
  }

  .mwg_effect031 .top svg {
    width: 40px;
    height: 40px;
    padding-top: 10px;
    /* align-self: flex-end; */
  }
}

/* MOBILE PICCOLI (max-width: 480px) */
@media (max-width: 480px) {
  .mwg_effect031 .content {
    padding: 20px 15px 30px 15px;
    height: auto;
  }

  .mwg_effect031 .slide {
    height: auto;
    position: relative;
    z-index: 1;
  }

  .mwg_effect031 .top {
    padding-top: 40px;
    gap: 25px;
  }

  .mwg_effect031 .text {
    font-size: 16px;
    line-height: 1.4;
  }

  .mwg_effect031 .top p {
    font-size: 36px;
    line-height: 1.2;
  }

  .mwg_effect031 .bottom > div:last-child {
    font-size: 48px;
    gap: 15px;
  }

  .mwg_effect031 .bottom img {
    height: 40vh;
    min-height: 250px;
    max-height: 300px;
  }

  .mwg_effect031 .top svg {
    width: 35px;
    height: 35px;
  }

  .mwg_effect031 .bottom {
    margin-top: 40px;
    gap: 30px;
  }
}

/* FLOATING CARDS */ /* RESPONSIVE PROJECTS - MIGLIORATO */

/*
=====================================================
TABLET/MOBILE VERSION (769px+)
===================================================== */

/* PERFORMANCE OTTIMIZZAZIONI */
@media (prefers-reduced-motion: reduce) {
  .mwg_effect031 * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {
  .industries-section .container-fluid {
    touch-action: pan-x; /* Solo swipe orizzontale */
    overscroll-behavior: none; /* No bounce */
  }
}

@media (max-width: 1400px) {
  .industry-card-1 {
    min-height: 300px;
    padding: 4rem;
  }
}

@media (max-width: 1200px) {
  .industry-card-1 {
    min-height: 250px;
    padding: 4rem;
  }
}

@media (max-width: 768px) {
  .industry-card-1 {
    min-height: auto;
    padding: 2.5rem;
  }
}

/* Fix dimensioni cards mobile */
@media (max-width: 767px) {
  .industries-section .col-12.col-sm-4.col-lg-3 {
    flex: 0 0 250px; /* Larghezza fissa invece di 33% */
    max-width: 250px;
  }

  .industries-section .row.nowrap {
    flex-wrap: nowrap !important;
  }

  .industries-section.pb-100 {
    padding-bottom: 0px !important;
  }

  .ps-section.pb-100 {
    padding-bottom: 0px !important;
  }
}

/* Mobile piccoli */
@media (max-width: 480px) {
  .industries-section .col-12.col-sm-4.col-lg-3 {
    flex: 0 0 200px;
    max-width: 200px;
  }
}

/*
=====================================================
/* FAQ SECTION */ /* RESPONSIVE 
===================================================== */

/* 
=====================================================
TABLET BREAKPOINT (768px+)
===================================================== */

@media (max-width: 768px) {
  .faq-icon {
    font-size: 1.1rem !important;
  }

  .faq-section.p-30 {
    padding: 0px 30px 30px 30px;
  }

  .ms-100 {
    margin-left: 30px !important;
  }

  .accordion-body {
    padding-left: 59px !important;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .accordion-button {
    font-size: 1rem !important;
  }
}

@media (min-width: 768px) {
  .faq-section {
    padding: 0px 40px 20px 40px;
  }

  .accordion-button {
    padding-top: 40px;
    padding-bottom: 25px;
    font-size: 18px;
  }

  .faq-number {
    font-size: 16px;
  }

  .faq-question {
    font-size: 18px;
  }

  .faq-icon {
    font-size: 1.1rem;
  }

  .accordion-body {
    padding-left: 70px;
    padding-bottom: 28px;
    font-size: 16px;
  }

  .ms-100 {
    margin-left: 40px;
  }
}

/* 
=====================================================
DESKTOP BREAKPOINT (992px+)
===================================================== */

@media (min-width: 992px) {
  .faq-section {
    padding: 0px 50px 20px 50px;
  }

  .accordion-button {
    padding-top: 45px;
    padding-bottom: 28px;
    font-size: 19px;
  }

  .faq-number {
    font-size: 18px;
  }

  .faq-question {
    font-size: 19px;
  }

  .faq-icon {
    font-size: 1.15rem;
  }

  .accordion-body {
    padding-left: 112px;
    padding-bottom: 30px;
    font-size: 17px;
  }

  .ms-100 {
    margin-left: 80px;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .accordion-body {
    padding-left: 137px !important; /* Padding originale */
  }
}

/* 
=====================================================
LARGE DESKTOP BREAKPOINT (1200px+)
===================================================== */

@media (min-width: 1200px) {
  .faq-section {
    padding: 0px 60px 30px 60px;
  }

  .accordion-button {
    padding-top: 50px;
    padding-bottom: 30px;
    font-size: 20px; /* Dimensione originale */
  }

  .faq-number {
    font-size: 20px;
  }

  .faq-question {
    font-size: 20px;
  }

  .faq-icon {
    font-size: 1.25rem; /* Dimensione originale */
  }

  .accordion-body {
    padding-left: 158px; /* Padding originale */
    padding-bottom: 30px;
    font-size: 18px; /* Dimensione originale */
  }

  .ms-100 {
    margin-left: 100px; /* Vicino al valore originale */
  }
}

/* 
=====================================================
EXTRA LARGE BREAKPOINT (1400px+)
===================================================== */

@media (min-width: 1400px) {
  .faq-section {
    padding: 0px 70px 30px 70px;
  }

  .accordion-button {
    font-size: 21px;
  }

  .faq-number {
    font-size: 21px;
  }

  .faq-question {
    font-size: 21px;
  }

  .accordion-body {
    font-size: 19px;
  }

  .ms-100 {
    margin-left: 120px;
  }
}

/* 
=====================================================
MOBILE MOLTO PICCOLI (max-width: 480px)
===================================================== */

@media (max-width: 550px) {
  .faq-section {
    padding: 0px 20px 20px 20px;
  }

  .accordion-button {
    padding-top: 25px;
    padding-bottom: 18px;
    font-size: 15px;
  }

  .faq-number {
    font-size: 13px;
  }

  .faq-question {
    font-size: 13px;
    line-height: 1.2;
  }

  .faq-icon {
    font-size: 0.9rem;
  }

  .accordion-body {
    padding-left: 54px !important;
    padding-bottom: 20px;
    font-size: 13px;
  }

  .ms-100 {
    margin-left: 15px;
  }
}

/* 
=====================================================
OTTIMIZZAZIONI INTERATTIVITÀ
===================================================== */

/* Hover states per desktop */
@media (min-width: 992px) {
  .accordion-button:hover {
    color: var(--color-black);
  }

  .accordion-button:hover .faq-icon {
    transform: scale(1.1);
  }

  .accordion-button[aria-expanded="true"]:hover .faq-icon {
    transform: rotate(180deg) scale(1.1);
  }
}

/* Touch-friendly per mobile/tablet */
@media (max-width: 991px) {
  .accordion-button {
    min-height: 60px; /* Area touch più grande */
  }

  .faq-icon {
    padding: 5px; /* Area touch dell'icona */
  }
}

@media (max-width: 992px) {
  .rientro {
    margin-left: 0rem !important;
  }
}

/* 
=====================================================
FOOTER RESPONSIVE
===================================================== */

/* FOOTER 2 BLOCCHI RESPONSIVE */

/* Mobile: Stack verticale dei 2 blocchi */

.links-grid.mb-100 {
  margin-bottom: 0px !important;
}

@media (min-width: 1400px) {
  .links-grid.mb-100 {
    margin-bottom: 80px !important;
  }
}

@media (max-width: 1440px) {
  .footer.pt-130 {
    padding-top: 0px !important;
  }
}

@media (max-width: 1115px) {
  .fw-custom {
    font-size: 1rem !important;
  }
  footer.vh-100 {
    min-height: auto !important;
    padding-top: 40px !important;
    padding-bottom: 20px !important;
  }

  footer .px-30 {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Form mobile adjustments */
  footer .p-30 {
    padding: 20px !important;
  }

  /* Service toggles responsive */
  .service-toggle {
    flex: 1 1 auto;
    min-width: 120px;
    margin-bottom: 0px;
  }

  .footer-1.h-100 {
    height: auto !important;
  }
}

@media (max-width: 767px) {
  footer .px-30 {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  footer .p-30 {
    padding: 15px !important;
  }

  /* Service toggles molto piccoli */
  .service-toggle {
    font-size: 13px;
    padding: 5px 12px;
  }

  /* Form controls mobile */
  .form-control {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Mantieni tutto il CSS originale esistente */

@media (min-width: 993px) and (max-width: 1199px) {
  .service-toggle {
    padding: 6px 28px;
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  footer .row.mt-auto img {
    max-width: 500px !important;
    max-height: auto !important;
  }
  .service-toggle-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    overflow: hidden;
  }

  .service-toggle {
    flex: 1 1 auto;
    min-width: 0;
    font-size: clamp(10px, 2.5vw, 14px);
    padding: 6px clamp(4px, 1.5vw, 16px);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }

  .footer.pt-130 {
    padding-top: 0px !important;
  }
}

@media (max-width: 500px) {
  footer .row.mt-auto img {
    max-width: 100% !important;
    max-height: auto !important;
  }

  .service-toggle {
    flex: 1 !important;
    min-width: auto !important;
    margin-bottom: 0px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .fw-custom {
    font-size: 0.9rem !important;
  }

  .footer.font-18 {
    font-size: 13px !important;
  }

  .footer.mb-20 {
    margin-bottom: 15px !important;
  }

  .footer.px-30 {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .footer.pb-30 {
    padding-bottom: 15px !important;
  }
}

/* 
=====================================================
RECYCLE SECTION RESPONSIVE
===================================================== */

@media (min-width: 992px) and (max-width: 1441px) {
  .container-1440.container-fluid {
    width: 97%;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .container-max.container-fluid {
    width: 95%;
  }

  .mwg_effect022 .paragraphs {
    font-size: clamp(1.1rem, 1.5vw, 1.5rem) !important;
  }
}

@media (min-width: 1200px) and (max-width: 1441px) {
  .container-max.container-fluid {
    width: 96%;
  }
}

@media (min-width: 1620px) and (max-width: 1780px) {
  .container-max.container-fluid {
    width: 98%;
  }
}

@media (min-width: 1441px) and (max-width: 1620px) {
  .container-max.container-fluid {
    width: 97%;
  }
}

@media (max-width: 992px) {
  .paragraph-custom {
    font-size: 0.9rem !important;
  }

  .step h4 {
    font-size: clamp(1rem, 17px, 1.25rem) !important;
    font-weight: 600;
    color: var(--color-violet);
  }

  .mwg_effect022 .paragraphs {
    line-height: 1.1 !important;
  }
}

@media (max-width: 768px) {
  .mwg_effect022 .pin-height {
    height: 150vh;
  }

  .mwg_effect022.pt-150 {
    padding-top: 0px !important;
  }

  .rolling-text.pt-150 {
    padding-top: 127px !important;
  }

  .accordion-body-1 {
    font-size: clamp(0.9rem, 15px, 1.25rem) !important;
  }
}

@media (min-width: 1400px) {
  .text-extra-large {
    font-size: 3rem !important;
  }
}

/* 
=====================================================
RECYCLE DATA + CARD SECTION RESPONSIVE
===================================================== */

@media (max-width: 1410px) {
  h1 > .number {
    font-size: 21vh !important;
    transition: font-size 0.3s ease;
  }

  .industry-card {
    min-height: 300px !important;
    /* aspect-ratio: 0.9; */
    transition: min-height 0.3s ease;
  }

  .industry-card.p-30 {
    padding: 25px !important;
    transition: padding 0.3s ease;
  }

  .industry-title {
    font-size: 2rem !important;
  }
}

@media (min-width: 1410px) and (max-width: 1441px) {
  .industry-card {
    min-height: 350px !important;
    /* aspect-ratio: 0.9; */
    transition: min-height 0.3s ease;
  }

  .industry-title {
    font-size: 2.1rem !important;
  }
}

@media (max-width: 1200px) {
  h1 > .number {
    font-size: 15vh !important;
    transition: font-size 0.3s ease;
  }

  .industry-card {
    min-height: 300px !important;
    /* aspect-ratio: 0.9; */
    transition: min-height 0.3s ease;
  }

  .industry-card.p-30 {
    padding: 25px !important;
    transition: padding 0.3s ease;
  }

  .industry-title {
    font-size: 1.8rem !important;
  }

  .icon-wrap-1 {
    font-size: 1.6rem !important;
  }
}

@media (max-width: 992px) {
  h1 > .number {
    font-size: 11vh !important;
    transition: font-size 0.3s ease;
  }

  .industry-card {
    min-height: 250px !important;
    /* aspect-ratio: 0.9; */
    transition: min-height 0.3s ease;
  }

  .industry-card.p-30 {
    padding: 20px !important;
    transition: padding 0.3s ease;
  }

  .industry-title {
    font-size: 1.65rem !important;
  }

  .industry-footer.pt-4 {
    padding-top: 20px !important;
  }

  .industry-footer small {
    font-size: 0.775em !important;
    transition: font-size 0.3s ease;
  }

  .industry-footer h6 {
    font-size: 0.9em !important;
    transition: font-size 0.3s ease;
  }
}

@media (max-width: 768px) {
  h1 > .number {
    font-size: 17vh !important;
    transition: font-size 0.3s ease;
  }
  .data-section.pt-100 {
    padding-top: 70px !important;
  }

  .data-section h3 {
    font-size: 1.2rem !important;
  }

  .data-section h3 {
    font-size: 1.2rem !important;
  }

  .data-section.pb-100 {
    padding-bottom: 50px !important;
  }

  .industry-card {
    min-height: 250px !important;
    /* aspect-ratio: 0.9; */
    transition: min-height 0.3s ease;
  }

  .industry-card.p-30 {
    padding: 17px !important;
    transition: padding 0.3s ease;
  }

  .industry-title {
    font-size: 1.5rem !important;
  }

  .industry-footer.pt-4 {
    padding-top: 17px !important;
  }

  .industry-footer small {
    font-size: 0.675em !important;
    transition: font-size 0.3s ease;
  }

  .industry-footer h6 {
    font-size: 0.8em !important;
    transition: font-size 0.3s ease;
  }

  .icon-wrap-1 {
    font-size: 1.3rem !important;
    padding: 4px 10px !important;
  }
}

/* 
=====================================================
ACCORDION - RECYCLE
===================================================== */

@media (max-width: 1200px) {
  .accordion-button-1 {
    font-size: clamp(1rem, 18px, 1.25rem);
  }
}

@media (max-width: 992px) {
  .accordion-button-1 {
    font-size: clamp(1rem, 18px, 1.25rem);
  }

  .text-underline {
    text-decoration-thickness: 4px;
  }

  .accordion-button-1 {
    padding: 30px 0px;
    transition: padding 0.3s ease;
  }

  .accordion-body-1 {
    font-size: clamp(1rem, 16px, 1.25rem);
  }
}

/* 
=====================================================
/* PRODUCTS SECTION RESPONSIVE
===================================================== */

@media (min-width: 1400px) and (max-width: 1500px) {
}

@media (max-width: 768px) {
  .general-info.pb-100 {
    padding-bottom: 0px !important;
  }
  .specifics.pt-150 {
    padding-top: 100px !important;
  }
  .info-section.pt-150 {
    padding-top: 80px !important;
  }
}

@media (max-width: 1500px) {
  .cta .interactive-card {
    height: 500px !important;
    transition: height 0.3s ease;
  }
  .interactive-card:hover .card-heading::after {
    width: 67%;
  }

  .card-heading {
    font-family: "Plain", "Inter", sans-serif;
    font-size: 60px;
    font-weight: 500;
    color: var(--color-black-90);
    line-height: 1.1 !important;
    letter-spacing: -0.02em;
    position: relative;
    transition: all 0.4s ease;
    transform: translateX(0);
  }
}

@media (max-width: 1200px) {
  .description-medium-responsive {
    font-size: 0.9rem !important;
    line-height: normal !important;
  }
  .col-md-6:nth-child(1) .interactive-card:hover .card-heading::after {
    width: 80% !important;
  }

  /* Seconda card (seconda colonna) */
  .col-md-6:nth-child(2) .interactive-card:hover .card-heading::after {
    width: 84% !important;
  }
  .cta .interactive-card {
    height: 400px !important;
    transition: height 0.3s ease;
  }
  .card-heading {
    font-size: 3rem !important;
    line-height: 1.2 !important;
    transition: font-size 0.3s ease;
  }

  .card-inner {
    padding: 30px;
    transition: padding 0.3s ease;
  }

  .card-text {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    transition: font-size 0.3s ease;
  }

  .card-heading::after {
    bottom: -19px !important;
    height: 6px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .col-md-6:nth-child(1) .interactive-card:hover .card-heading::after {
    width: 87% !important;
  }

  /* Seconda card (seconda colonna) */
  .col-md-6:nth-child(2) .interactive-card:hover .card-heading::after {
    width: 90% !important;
  }
}

@media (max-width: 992px) {
  .col-md-6:nth-child(1) .interactive-card:hover .card-heading::after {
    width: 68% !important;
  }

  /* Seconda card (seconda colonna) */
  .col-md-6:nth-child(2) .interactive-card:hover .card-heading::after {
    width: 76% !important;
  }
}

@media (max-width: 768px) {
  .col-md-6:nth-child(1) .interactive-card:hover .card-heading::after {
    width: 100% !important;
  }

  /* Seconda card (seconda colonna) */
  .col-md-6:nth-child(2) .interactive-card:hover .card-heading::after {
    width: 100% !important;
  }

  .cta .interactive-card {
    height: 300px !important;
    transition: height 0.3s ease;
  }
}

@media (max-width: 576px) {
  .cta .interactive-card {
    height: 250px !important;
    transition: height 0.3s ease;
  }
  .card-heading {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    transition: font-size 0.3s ease;
  }

  .card-heading::after {
    bottom: -12px !important;
    height: 4px !important;
  }

  .interactive-card:hover .card-icon-wrapper {
    width: 30px !important;
    margin-right: 1.2em !important;
  }
}

/* 
=====================================================
/* ABOUT SECTION RESPONSIVE
===================================================== */

/* 1. DESKTOP GRANDE - 1400px e oltre */
@media (min-width: 1400px) {
  .about-title {
    font-size: 3.7rem;
    height: 4.7rem;
    transition: font-size 0.3s ease;
  }

  .item {
    left: 2px;
    top: -10px; /* Reset top per evitare conflitti */
  }
}

/* 2. DESKTOP MEDIUM - 1200px a 1399px */
@media (min-width: 1200px) and (max-width: 1399px) {
  .about-title {
    font-size: 3.2rem;
    height: 4.2rem;
    transition: font-size 0.3s ease;
  }

  .item {
    left: 1px;
    top: -9px; /* Reset top */
  }
}

/* 3. TABLET LANDSCAPE - 992px a 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
  .about-title {
    font-size: 2.9rem;
    height: 3.9rem;
    transition: font-size 0.3s ease;
  }

  .item {
    top: -9px;
    left: 1px;
  }
}

/* 4. TABLET PORTRAIT - 768px a 991px */
@media (min-width: 768px) and (max-width: 991px) {
  .about-title {
    font-size: 2.4rem;
    height: 3.4rem;
    transition: font-size 0.3s ease;
  }

  .item {
    top: -9px;
    left: 1px;
  }
}

/* 5. MOBILE - Sotto 768px */
@media (max-width: 767px) {
  .about-title {
    font-size: 2rem;
    height: 2.5rem;
    transition: font-size 0.3s ease;
    opacity: 1 !important;
  }

  .visible,
  .hidden {
    top: 0px;
    left: 1px !important;
  }

  .item {
    top: -8px;
    left: 0.48px;
  }

  .mwg_effect024 .pin-height {
    height: 100vh;
  }
}

/* MAGNETIC SECTION */

/* TABLET LANDSCAPE - 992px a 1199px */

@media (max-width: 1441px) and (min-width: 1200px) {
  .grid-wrapper {
    gap: 20px;
    max-width: 1200px;
  }

  .mwg_effect000 .medias {
    gap: 25px;
  }

  .mwg_effect000.media img {
    width: 15vw;
    height: 15vw;
    transition: all 0.3s ease;
  }
}

@media (max-width: 1199px) and (min-width: 993px) {
  .grid-wrapper {
    gap: 20px;
    max-width: 1200px;
  }

  .mwg_effect000 .medias {
    gap: 20px;
  }

  .mwg_effect000 .media img {
    width: 15vw;
    height: 15vw;
    transition: all 0.3s ease;
  }
}

/* TABLET PORTRAIT - 768px a 992px */
@media (max-width: 992px) and (min-width: 769px) {
  .grid-wrapper {
    grid-template-columns: 1fr; /* ✅ Stack verticale */
    gap: 2rem;
    text-align: center;
  }

  .mwg_effect000 .medias {
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 25px;
  }

  .mwg_effect000 .medias {
    gap: 20px;
    margin: 0 auto;
  }

  .mwg_effect000 img {
    width: 20vw;
    height: 20vw;
  }
}

/* MOBILE - 768px e sotto (il tuo esistente + miglioramenti) */
@media (max-width: 768px) {
  .grid-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .mwg_effect000 {
    height: 90vh;
  }

  .mwg_effect000 .medias {
    gap: 3vw;
    margin: 0 auto;
  }

  .mwg_effect000.pt-150 {
    padding-top: 0px !important;
  }
  .mwg_effect000.pb-150 {
    padding-bottom: 0px !important;
  }

  .mwg_effect000 .medias img {
    width: 18vw;
    height: 18vw;
  }
}

@media (max-width: 576px) {
  /* Nascondi alcune celle per layout pulito */
  .mwg_effect000 .media:nth-child(1),
  .mwg_effect000 .media:nth-child(3),
  .mwg_effect000 .media:nth-child(5),
  .mwg_effect000 .media:nth-child(7),
  .mwg_effect000 .media:nth-child(9) {
    display: none;
  }

  .mwg_effect000 .medias {
    grid-template-columns: repeat(2, 1fr); /* 2x2 invece di 3x3 */
    gap: 5vw !important;
    max-width: 100%;
  }

  .mwg_effect000 .medias img {
    width: 30vw !important;
    height: 30vw !important;
  }
}

/* MOBILE SMALL - 480px e sotto */
@media (max-width: 480px) {
  .grid-wrapper {
    gap: 1.5rem;
  }

  .mwg_effect000 .medias {
    grid-template-columns: repeat(2, 1fr); /* 2x2 invece di 3x3 */
    gap: 4vw;
  }

  /* Nascondi alcune celle per layout pulito */
  .mwg_effect000 .media:nth-child(1),
  .mwg_effect000 .media:nth-child(3),
  .mwg_effect000 .media:nth-child(5),
  .mwg_effect000 .media:nth-child(7),
  .mwg_effect000 .media:nth-child(9) {
    display: none;
  }

  .mwg_effect000 .medias img {
    width: 25vw;
    height: 25vw;
  }
}

/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ------------     THE END     ----------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */
/* ---------------------------------------- */

/* 
=====================================================
/* GENERAL MOBILE ADJUSTEMENT 
===================================================== */

@media (max-width: 481px) {
  .alert-danger,
  .alert-success {
    font-size: small !important;
  }

  .general-info.mb-200 {
    margin-bottom: 350px !important;
  }

  .general-info.pt-150 {
    padding-top: 100px !important;
  }

  /* CTA BUTTON */

  cta .interactive-card {
    height: 200px !important;
    transition: height 0.3s ease;
  }

  .card-inner {
    padding: 20px !important;
    transition: padding 0.3s ease;
  }

  .card-heading {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    transition: font-size 0.3s ease;
  }

  .card-text {
    font-size: 0.7rem !important;
  }

  .interactive-card:hover .card-icon-wrapper {
    width: 22px !important;
    margin-right: 1em !important;
  }

  /* FLOATING CARDS */

  .industry-card {
    min-height: 230px !important;
    /* aspect-ratio: 0.9; */
    transition: min-height 0.3s ease;
  }

  .industry-card.p-30 {
    padding: 17px !important;
    transition: padding 0.3s ease;
  }

  .industry-title {
    font-size: 1.4rem !important;
  }

  .industry-footer.pt-4 {
    padding-top: 17px !important;
  }

  .industry-footer small {
    font-size: 0.675em !important;
    transition: font-size 0.3s ease;
  }

  .industry-footer h6 {
    font-size: 0.8em !important;
    transition: font-size 0.3s ease;
  }

  .icon-wrap-1 {
    font-size: 1.3rem !important;
    padding: 4px 10px !important;
  }

  /* END CARDS */

  .rolling-text.pt-150 {
    padding-top: 100px !important;
  }

  .data-section.pb-150 {
    padding-bottom: 100px !important;
  }

  .accordion-padding.mt-5 {
    margin-top: 6rem !important;
  }

  .scroller-content .description-responsive,
  .scroller-content .media-mobile {
    display: none !important;
  }

  h1 > .number {
    font-size: 12vh !important;
    transition: font-size 0.3s ease;
  }

  .accordion-title.title-responsive {
    font-size: 1.6rem !important;
  }

  .accordion-section.pb-150 {
    padding-bottom: 100px !important;
  }

  .accordion-button-1,
  .accordion-body-1 {
    font-size: clamp(0.9rem, 14px, 1.25rem) !important;
  }

  .text-underline {
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
  }

  .scroller-content {
    width: calc(100vw - 60px) !important;
    height: calc(100vh - 155px) !important;
  }

  .description-responsive {
    font-size: 0.8rem !important;
    width: 100%;
  }

  .scroller-content .btn-primary-1 {
    padding: 6px 18px;
    font-size: 11px !important;
  }

  .title-responsive {
    font-size: 1.8rem !important;
  }

  .media-mobile {
    display: flex;
    flex-direction: column !important;
  }

  .mwg_effect038 .project.on {
    height: 30vh !important;
  }

  .small,
  small {
    font-size: 0.575em !important;
  }

  .service-toggle-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    overflow: hidden;
    flex-direction: column !important;
  }

  .service-toggle {
    font-size: clamp(12px, 2.5vw, 14px) !important;
  }

  .form-control {
    font-size: 12px !important;
  }

  .faq-section.pb-100 {
    padding-bottom: 50px !important;
  }

  .paragraph-custom {
    font-size: 0.75rem !important;
  }

  .mwg_effect022 .pin-height {
    height: 120vh !important;
  }
}

/* 
=====================================================
/* ULTRA MOBILE ADJUSTEMENT - IPHONE 5/X/SE 
===================================================== */

@media (max-width: 400px) {
  /* BUTTON */

  cta .interactive-card {
    height: 200px !important;
    transition: height 0.3s ease;
  }

  .card-inner {
    padding: 20px !important;
    transition: padding 0.3s ease;
  }

  .card-heading {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    transition: font-size 0.3s ease;
  }

  .card-text {
    font-size: 0.7rem !important;
  }

  .interactive-card:hover .card-icon-wrapper {
    width: 22px !important;
    margin-right: 1em !important;
  }

  .industry-card {
    max-height: 200px !important;
    /* aspect-ratio: 0.9; */
    transition: min-height 0.3s ease;
    min-height: 150px !important;
  }

  .industry-card.p-30 {
    padding: 15px !important;
    transition: padding 0.3s ease;
  }

  .industry-title {
    font-size: 1.2rem !important;
  }

  .industry-footer.pt-4 {
    padding-top: 15px !important;
  }

  .industry-footer small {
    font-size: 0.55em !important;
    transition: font-size 0.3s ease;
  }

  .industry-footer h6 {
    font-size: 0.7em !important;
    transition: font-size 0.3s ease;
  }

  .icon-wrap-1 {
    font-size: 1.2rem !important;
    padding: 4px 8px !important;
  }
}
