/* ========== Mobile (<=575.98px) ========== */
@media (max-width: 575.98px) {
  #terra {
    width: 100%;
    height: auto;
  }
  nav.menu {
    padding: 0px 30px !important;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }

  .pr-custom {
    padding-right: 35px !important;
  }

  .lenguage {
    font-size: 1rem !important;
    line-height: 2.4;

    padding: 5px 5px;
  }

  .logonav {
    margin-top: 10px !important;
  }

  nav.menu.menu-open .navigation {
    margin-top: 50px;
  }

  ul.navigation > li > a {
    font-size: 17px !important;
  }
  .mt-300 {
    margin-top: 150px;
    padding: 0px 0px !important;
  }
  .ml-72 {
    margin-left: 27px !important;
    margin-top: 3px !important;
  }
  .ml-40 {
    margin-left: 20px !important;
  }
  .mr-50 {
    margin-right: 25px !important;
    margin-top: 15px !important;
  }
  .bg-pattern {
    background-attachment: scroll; /* niente fixed su mobile */
    background-size: cover; /* o 'auto' se il pattern è ripetibile */
    background-repeat: no-repeat !important; /* spesso meglio per i pattern */
    background-position: top center;
  }
  .paddinglf-rt-0px {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .bgpurple {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin-top: 100px;
    padding: 50px 10px 30px 10px !important ;
    background-color: rgba(64, 73, 198, 0.84);
  }
  .space-global {
    margin-top: 50px;
  }
  h1 {
    font-size: var(--h1-size-mobile);
    text-align: center !important;
  }
  .subtitle {
    font-size: 22px;
    text-align: center;
    word-spacing: 0px !important;
  }

  .frist {
    margin-top: 20px;
  }
  p {
    font-size: 20px !important;
  }
  header.header {
    background-image: url("../../img/header.svg");
    height: 120px;
  }

  .logo-container {
    margin-top: 80px;
  }
  .logo-container img {
    width: 100px;
  }

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

  .hero-subtitle {
    font-size: var(--h3-sec-mobile);
    text-align: center;
  }

  .big-title,
  .big-title2,
  .big-title3 {
    margin-top: 50px;
    font-size: 10rem;
  }

  .container-big-title,
  .container-big-title2 {
    margin-top: 110px;
    padding: 0px 15px;
  }

  .subTitleH2 {
    font-size: var(--h2-title-mobile);
    text-align: left;
    margin-left: 10px;

    letter-spacing: 3px;
  }

  .subTitleH2Reverse {
    font-size: var(--h2-title-mobile);
    text-align: right;
    margin-left: 20px;
    letter-spacing: 3px;
  }
  .custom-padding {
    padding: 0px 0px;
  }
  .marleft {
    margin-left: 45px;
  }

  .subTitleWhiteReverse,
  .subTitleWhite {
    font-size: 2rem;
    margin-top: 100px;
    letter-spacing: 4px;
    line-height: 2.3rem;
    padding: 0px 15px;
    font-weight: 500 !important;
  }

  ul.custom li {
    margin-bottom: 20px; /* spazio verticale tra le righe */
    line-height: 1.5; /* migliora leggibilità */
    padding-left: 30px;
    padding-top: 0px;
    font-size: 19px !important;
  }

  ul.custom li::before {
    content: "○"; /* pallino vuoto */
    color: #4a4ad4; /* colore del pallino */
    position: absolute;
    left: 10; /* posizione rispetto all’inizio dell’elemento */
    top: 6px;
    font-size: 15px; /* grandezza del pallino */
  }
  .container-paragraph,
  .container-paragraph2,
  .container-paragraph-reverse {
    width: 100% !important;
  }
  .bgpurpleWitohoutPatternMobile {
    background-color: rgba(64, 73, 198, 0.95);
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;

    margin-top: 250px;
  }
  .title-group {
    padding: 70px 0px;
  }

  .content-title h3 {
    font-size: 2rem;
    line-height: 40px;
    letter-spacing: 0px;
  }
  .content-big h2 {
    font-size: 4rem;
    line-height: 3.7rem;
    letter-spacing: -1px;
    word-spacing: 0px;
  }
  .bg-purple-blur {
    background: url("/img/sfumata_viola.svg");
    background-size: auto;
    background-position: top center;
    min-height: 50vh;
    background-repeat: no-repeat;
    padding: 0px 00px;
  }
  .content-big {
    padding-top: 60px;
  }

  .text-content {
    max-width: 100% !important;
    width: 100%;
    text-align: left;
    padding-top: 70px;
  }

  .img-left,
  .img-left2 {
    margin-left: 0px;
    left: 0px; /* -15px */
    width: 80%;
    top: 0px;
    padding-top: 80px;
  }

  .img-dx {
    width: 80%;
    padding-top: 50px;
    position: relative;
    left: 0px; /* 22px */
  }
  .test-affiliazioni {
    margin-top: 50px;

    font-size: 3.5rem;
  }

  .container-aff-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .spotelloH2 {
    font-size: 3.5rem !important;
  }
  .container-big-title2-a {
    margin-top: 60px;
    padding-right: 10px;
  }

  .info {
    width: 100% !important;
  }

  .big-title-contact {
    font-size: 2rem;
    font-weight: 700 !important;
    line-height: 1.4;
    text-align: left;
  }

  .bg-contatti {
    width: 100% !important;
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
    padding: 100px 0px;
  }

  .bg-contatti h3 {
    font-size: 4.5rem;
    line-height: 0.7;
  }
  .coantatti-testi {
    display: flex;
    flex-direction: column;
    text-align: center;

    gap: 15px;
  }

  .bigTitleTerra1,
  .bigTitleTerra2 {
    font-family: var(--font-cofor);
    font-weight: var(--cofo-black);
    font-size: 8rem;
    padding: 0px !important;
    margin: 0px !important;
    line-height: 0.8;
    color: var(--background-color);
  }

  .bigTitleTerra2 {
    margin-left: 20px !important;
    margin-top: -35px !important;
  }

  .strumentiPerRitrovarsiMobile {
    font-family: var(--font-cofor);
    text-align: right;
    color: var(--background-color);
    line-height: 1;
    margin-top: 58px;
    font-size: 1.8rem;
    letter-spacing: 4px;
    line-height: 2.5rem;
    padding: 0px 10px;
    font-weight: 500 !important;
  }

  .parlamiMobile {
    font-family: var(--font-cofor);
    color: var(--background-color);
    padding: 0px !important;
    font-size: 2.5rem;
    margin-top: 50px;
  }

  .bigTitelAcquaMobile {
    font-family: var(--font-cofor);
    color: var(--background-color);
    font-size: 8rem;
    line-height: 0.5;
    margin-left: -50px;
  }

  .bigTitelAcquaMobile2 {
    font-family: var(--font-cofor);
    color: var(--background-color);
    font-size: 8rem;
    line-height: 0.5;
    margin-left: 40px;
  }

  .bg-violet h3 {
    font-size: 8rem;
    line-height: 0.6;
    text-align: center;
  }

  footer {
    margin-top: 100px;
  }
  .psy {
    margin-top: 35px !important;
    text-align: center !important;
  }
  .testi {
    font-size: 10px;
    margin-top: 40px;
    text-align: center !important;
  }

  .social {
    display: flex;
    gap: 15px;
    margin-left: 0px !important;
  }
  .social img {
    width: 30px;
  }
  .contatto {
    font-size: 25px !important;
  }

  .social {
    display: flex;
    gap: 25px;
    margin-top: 18px;
  }

  .social img {
    width: 40px;
  }

  .cta button {
    font-size: 20px;
  }

  .bg-violet {
    padding: 60px 0px;
  }

  .footer-cata {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
    padding: 50px 0px 50px 0px;
    text-align: center;
  }
}

@media (min-width: 600px) and (max-width: 1199.98px) {
  h1 {
    font-size: var(--h1-size-tablet) !important;
  }
  .subtitle {
    font-size: var(--h2-sub-size-tablet) !important;
    text-align: center !important;
  }
  .subTitleH2 {
    font-size: var(--h2-title-tablet);
    text-align: left;
  }
  .subTitleH2Reverse {
    font-size: var(--h2-title-tablet);
    text-align: right;
    margin-left: 35px;
  }
  .big-title,
  .big-title2,
  .big-title3,
  .big-titleAcqua {
    font-size: 12rem;
  }
  .hero-subtitle {
    font-size: var(--h3-sec-size-tablet);
  }
  .custom-padding {
    padding: 0px 0px;
  }

  .subTitleWhiteReverse,
  .subTitleWhite {
    font-size: 3rem;
    margin-top: 87px;
    letter-spacing: 8px;
    line-height: 4rem;
  }
  .subTitleWhite {
    margin-top: 303px;
  }
  .tab-center {
    align-items: center !important;
  }

  .container-paragraph,
  .container-paragraph2,
  .container-paragraph-reverse {
    width: 100%;
  }
  .force-space {
    width: 93% !important;
  }

  .content-title h3 {
    font-size: 2rem;
    letter-spacing: 0px;
  }

  .container-big-title,
  .container-big-title2 {
    padding: 0px 0px;
  }
  .bg-purple-blur {
    padding: 150px 0px;
  }

  .content-big h2 {
    font-size: 8rem !important;
    line-height: 6rem;
  }

  .img-left,
  .img-left2 {
    margin-left: 0px;
    left: 0px;
    width: 100%;
  }

  .test-affiliazioni {
    margin-top: 130px;
    font-size: 6.5rem;
  }

  .ml-40 {
    margin-top: -90px !important;
    margin-left: 31px !important;
  }
  .mt-custom-terra {
    margin-top: 60px !important;
  }
  .mr-50 {
    margin-right: 40px !important;
    margin-top: -85px !important;
  }

  .subTitleWhite {
    margin-top: 150px !important;
  }

  .icon-close {
    right: 100px; /* la sovrappongo dove c'è il menu */
  }
}

@media (min-width: 1280px) and (max-width: 1440px) {
  /* Stili per laptop da 13" */
  .subTitleH2 {
    text-align: left;

    font-size: 7rem;
  }

  .img-left {
    margin-left: -50px;
  }

  .icon-close {
    right: 5%; /* la sovrappongo dove c'è il menu */
    top: 5px;
  }
}
