@media (max-width: 768px) {
    :root {
        --porcentaje_padding_standard: 4%;
        --padding-large: 10px;
    }
    body {
      background: url('../img/backs/backmobilephome.svg') top right no-repeat;
      background-size: cover;
    }
    header {
        padding: 17px var(--porcentaje_padding_standard);
      }

      header .logotipo {
        gap: 10px;
      }

      header .logotipo img {
        width: 75px;
      }

      header .logotipo .claim p {
        font-size: 13px;
        line-height: 13px;
      }


    .overlay-header {
        padding: 0;

        .overlay-logo .claim p {
          font-size: 13px;
          line-height: 13px;
        }
    }

    .close-btn {
      font-weight: 200;
    }

      .overlay {
        border-top: 4px solid var(--red);
        margin-top: 0;
        padding: var(--porcentaje_padding_standard);
      }

      .menu {
        background: linear-gradient(#272727, #000000);
        padding: 5%;
        border-radius: 20px ;
        width: 100%;
        height: 100%;
        flex-direction: column;
        align-items: flex-start;
      }

      .overlay-logo{
        gap: 5px;
      }

      .overlay-logo img {
        width: 75px;
      }

      .overlay-logo .claim {
        font-size: 13px;
        color: var(--red);
        
      }

      .overlay-menu {
        margin-bottom: 35px;
      }


      .overlay-menu li {
        border-bottom: 1px solid var(--black);
        padding: 10px 0;
      }

      .overlay-menu li:first-child {
        padding: 0 0 10px 0;
      }

      .overlay-menu li a {
        /* color: white; */
        text-decoration: none;
        font-size: 30px;
        font-weight: 200;
        color: var(--light_grey);
        width: 100%;
        font-family: var(--secondary-font);
        
      }

      .overlay-bottom {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 0;

        .legal-notice {
            color: var(--grey);
            font-family: var(--secondary-font);
            font-weight: 300;
            font-size: 16px;
            line-height: 19px;
            letter-spacing: -0.3px;
        }
      }

      main {
        margin-top: 120px;
        
      }

      .swiper-container {
        aspect-ratio: 393 / 525 !important; /* Asegura que el interior del swiper también tenga bordes redondeados */
    }

    .slide-text {
      width: 100% !important;
    }
    .custom-pagination {
      justify-content: flex-start;
  }

  .swiper-button-prev, .swiper-button-next {
    display: none !important;
}

    .custom-fraction-pagination {
      right: 20px !important;
      top: 20px; 
      scale: 0.8;
  }

      /* .slidershome .imagen {
        aspect-ratio: 393 / 625;
      }

      .dots-container {
        justify-content: flex-start;
      } */

      .sello {
        position: absolute;
        right: -50%; /* Asegúrate de que esté alineado a la derecha correctamente */
        top: 0; /* Opcional, depende de tu diseño */
        width: 100%; /* Ancho del 100% del viewport */
        height: auto; /* Altura automática basada en el contenido, ajusta según necesidad */
        z-index: 2; /* Asegura que se posicione sobre otros elementos según sea necesario */
    }
    

    .brandingservices {
      padding-top: 50px;
      padding-bottom: 0;
    }

    .detalles_service {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: -100px;
        margin-bottom: -135px;
      }

    .textos_servicio {
        display: flex;
        flex-direction: column;
        width: 100%;

        .titulosparrafos {
          margin-bottom: 70px;
        }
        
        .titulosparrafos h3 {
          color: var(--white);
          font-size: 23px;
          line-height: 28px;
          width: 60%;
        }

        .services {
          display: flex;
          flex-direction: column;
          gap: 40px;

          p {
            font-family: var(--secondary-font);
            font-size: 18px;
            line-height: 21px;
            color: var(--light_grey);
          }
        }

        .services ul {
          column-count: 2;
          column-gap: 10px;
          padding-left: 0;
          box-sizing: border-box;
          margin: 0;
        }
      }

    .form_contact {
        display: grid;
        grid-template-columns: 1fr;
      }

      .cta {
        text-align: left;
        border-radius: 20px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 20px;
        display: flex;
        justify-content: left;
        align-items: start;
        flex-direction: column;
        gap: 20px;
      }
      
      .cta h2 {
        font-weight: 400;
        font-size: 28px;
        line-height: 30px;
        text-wrap: balance;
      }
      
      .cta p {
        margin: 0;
        font-size: 18px;
        line-height: 24px;
        font-weight: 200;
      }
      
      .cta a {
        gap: 20px;
      }

      .quienes {
        display: flex;
        flex-direction: column;
        width: 100%;
        
        gap: 30px;
        padding: 100px var(--porcentaje_padding_standard);
      
        h2 {
          text-wrap: balance;
        }
      
        p {
          font-weight: 300;
        }
      
        .ctasquienes {
          display: flex;
          flex-direction: row;
          gap: 20px;
          width: 100%;
          justify-content: space-between;
      
          div {
            aspect-ratio: none;
            border-radius: 20px;
            aspect-ratio: 165/ 215;
            width: 165px;
            font-size: 22px;
            line-height: 24px;
            font-weight: 200;
      
            .icon {
              width: 20%;
              padding: 0;
              position: absolute;
              top: 16px;
              right: 16px;
            }
      
            h3 {
              width: 100%;
              position: absolute;
              padding: 16px;
              bottom: 0;
              left: 0;
              font-weight: 400;
            }
          }
        }
      }

      .work {
        margin-top: -350px;
        padding-top: 320px;
        overflow: hidden;
        background: url('../img/backs/backmobilebranding.jpg') top right no-repeat;
        background-size: 100%;
        width: 100%;
      }

      .worktitle {
        transform: rotate(0deg);
        padding-bottom: 0;
      }

      .method {
        
        background: none;
        padding-top: 0;
      }

      .method_details {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0 var(--porcentaje_padding_standard);
        margin-bottom: 50px;

        .etapas_details {
            aspect-ratio: auto;
          }
      }

      .brand_founders {

        ul {
          grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
          font-size: 20px;
        }

          .titlebrands {

            .ctabrands {
              display: none;
            }
          }
        

      .brand_founders h1 {
        width: 100%;
      }
    
      form {
        width: 100%;
        columns: 1;
        padding: 50px 0;
        bottom: 0;
      }

      .footer_contact {
      
        h2 {
          font-size: 33px;
          line-height: 34px;
          text-wrap: balance;
        }

        p {
            text-wrap: pretty;
        }
    }

      .bottom_footer {

      div:first-child p {
        font-size: 20px;
      }

      .legal_footer {
        font-size: 10px;
      }
    }
    
    }

    @media (max-width: 1500px) {
        form {
            columns: 1;
          }
    }

    @media (max-width: 1080px) {
        form {
            columns: 1;
          }

          .form_contact {
            grid-template-columns: 1fr;
          }

          .dots-container {
            margin-top: 20px;
          }
    }

  }