/* === GENERAL === */


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


  html, body {
    width: 100%;
    overflow-x: hidden;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
  }



  /* /// MENU /// */

  header {
    background-color: #3253A1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 30px;
    position: fixed; /* Fijo en la parte superior */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

  }
  

  .logo img {
    height: 50px;
    width: auto;
    margin-left: 80px;
    margin-top: 10px;
  }
  

  .boto-descarregar {
    margin-top: 20px;
  }
  

  .boto-descarregar a {
    background: transparent;
    border: 3px solid #FADEC3;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    margin-right: 80px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  

  .boto-descarregar a:hover {
    background-color: #FAD6E7;
    color: #3253A1;
    border: 3px solid #3253A1;
  }



  /* ZONA BIENVENIDA- */


  .content-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    gap: 50px;
    align-items: center;
    background-image: url('img/fondo_header.jpg');
    background-size: cover;
    background-position: center;
    height: 450px;
    padding: 50px 80px 0 80px;
    margin-top: 80px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .titulo_header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    color: #FAD6E7;
  }
  
  .titulo {
    font-size: 2em;
    color: #FAD6E7;
  }
  
  .titulo_header p {
    font-size: 1.2em;
    color: #FAD6E7;
  }
  
  .img_header {
    height: 195px;
    width: auto;
  }









































/* APARTAT QUI SOM */
.apartado_quiSom {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 50px 60px;
  gap: 40px;
  flex-wrap: wrap;
}

.texto_quiSom {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.titulo_quiSom {
  font-size: 1.5em;
  color: #3253A1;
  font-weight: 700;
}

.texto_quiSom p {
  color: #000000;
  font-size: 0.9em;
  line-height: 1.6;
}

.imagen_quiSom {
  height: 200px;
  width: auto;
  flex-shrink: 0;
}


  /* ZONA LA NOSTRA MISIÓ */

  .bloque-svg {
    position: relative;
    width: 100%;
    height: 400px; /* Aumentamos un poco la altura */
    margin: 60px 0;
    overflow: hidden; /* Asegura que el SVG no se desborde */
    margin-top: 125px;
    margin-bottom: 100px;
  }
  
  
  .forma-fondo {
    width: 100%; /* El SVG ocupa todo el ancho */
    height: 100%; /* Se ajusta al contenedor */
    display: block;
  }
  
  
  .texto-en-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centra el texto vertical y horizontalmente */
    text-align: center;
    color: #fff;
    padding: 20px;
    max-width: 80%; /* Limita el ancho del texto */
  }

  
  .texto-en-svg h2 {
    font-size: 1.5em; /* Ajustamos el tamaño del título */
    margin-bottom: 20px;
  }


  .texto-en-svg p {
    font-size: 0.9em; /* Ajusta el tamaño del texto */
    line-height: 1.6;
    max-width: 800px; /* Añadimos un máximo ancho para evitar que se estire demasiado el texto */
    margin: 0 auto; /* Centra el párrafo */
  }






/* ZONA VALORES DE MARCA */

.circulo_generalvalores {
  display: flex;
  justify-content: space-around;
  padding: 0 120px; /* Margen a los lados */
  flex-wrap: nowrap;
  gap: 20px; /* Espacio entre los óvalos */
  margin-bottom: 50px;
  margin-top: 50px;
}


.forma_circulo {
  width: 225px; /* Un poco más estrecho */
  height: 235px; /* Más alto */
  background: #FADEC3;
  border-radius: 1000px; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Toque suave */
}


.texto_circulo {
  color: black;
  font-size: 1em;
  font-weight: 300;
  line-height: 1.3;
  word-wrap: break-word;
  max-width: 80%; /* Evitar que el texto se desborde */
}


.subtitulo{
  text-align: center;
  color: #3253A1;
  font-weight:800;
}












.seccion_descarrega { 
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 50px 10px;
  flex-wrap: wrap;
}


.texto-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra los textos y el botón horizontalmente */
  height: 100%;
}


.titulo-app {
  font-size: 1.5em;
  color: #3253A1; /* Azul */
  margin: 0;
}


.subtitulo-app {
  font-size: 1em;
  color: #3253A1; /* Azul */
  margin-top: 10px;
}


.boton-descarga {
  background-color: #3253A1;
  color: white;
  padding: 15px 25px;
  border-radius: 15px;
  text-decoration: none;
  margin-top: 20px;
}


.boton-descarga:hover {
  background-color: #254b7d;
}


.imagen-movil {
  max-width: 450px;
  height: auto;
}



/* VIDEO PROMOCIONAL */
.video-promocional {
  width: 100%;
  max-width: 700px; 
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px; 
}





/* ZONA FORMULARI NEWSLETTER */

.seccion-newsletter {
  text-align: center;
  margin-top: 60px;  
  padding: 20px;  
  background-color: #ffffff;  
}

.titulo-newsletter {
  font-size: 1.3em;  
  font-weight: bold;
  color: #3253A1;  
  margin-bottom: 10px;  
}

.subtitulo-newsletter {
  font-size: 1em;
  color: #333;  
  font-weight: 400;
  max-width: 600px; 
  margin: 0 auto;  
  word-wrap: break-word;  
  line-height: 1.5;  
}

.form-newsletter {
  max-width: 500px;  
  margin: 20px auto;  
  text-align: left;
}

.form__group {
  position: relative;
  padding: 15px 0;  
  width: 100%;
}

.form__field {
  font-family: inherit;
  width: 100%;
  border: none;
  border-bottom: 2px solid #9b9b9b;
  outline: 0;
  font-size: 17px;
  color: #333;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
  margin-bottom: 20px;  
}

.form__field::placeholder {
  color: transparent;
}

.form__field:placeholder-shown ~ .form__label {
  font-size: 1em;
  cursor: text;
  top: 20px;
}

.form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 1em;
  color: #9b9b9b;
  pointer-events: none;
}

.form__field:focus {
  padding-bottom: 6px;
  font-weight: 500;
  border-width: 3px;
  border-image: linear-gradient(to right, #116399, #3253A1);
  border-image-slice: 1;
}

.form__field:focus ~ .form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 1em;
  color: #3253A1;
  font-weight: 700;
}

.form__field:required, .form__field:invalid {
  box-shadow: none;
}

.btn-submit {
  background-color: #3253A1;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 15px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.btn-submit:hover {
  background-color: #3253A1;
}



/* Estilo para el checkbox */
.checkbox-group {
  display: flex;
  align-items: center;
  margin-top: 1px;  /* Espacio entre el formulario y el checkbox */
  justify-content: flex-start;  
}


.checkbox-input {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #9b9b9b;
  outline: none;
  transition: background-color 0.2s, border-color 0.2s;
  margin-right: 10px;
}


.checkbox-input:checked {
  background-color: #3253A1;
  border-color: #3253A1;
}


.checkbox-label {
  font-size: 16px;
  color: #333;
  cursor: pointer;
}


.terms-link {
  color: #3253A1;
  text-decoration: none;
}


.terms-link:hover {
  text-decoration: underline;
}







/* FOOTER */



.footer {
  display: flex;
  justify-content: space-around;
  background-color: #3253A1;
  color: white;
  padding: 50px 30px; /* MÁS ESPACIO arriba y abajo */
  flex-wrap: wrap;
  font-size: 0.9em; /* REDUCIR TAMAÑO DEL TEXTO */
}

.footer-block {
  flex: 1;
  min-width: 200px;
}

.footer-left p,
.footer-center p {
  margin: 5px 0; 
  font-size: 0.9em; 
}

.footer-left {
  text-align: left;
  margin-left: 20px;
}

.footer-center {
  text-align: center;
}

.footer-right {
  text-align: right;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 30px);
  grid-template-rows: repeat(2, 30px);
  gap: 15px;
}

.icon-grid img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}






















































  


/* --- MEDIA QUERIES --- */

  /* TABLET */
  @media only screen and (max-width: 768px) 
  {

    .content-wrapper {
      flex-wrap: wrap;
      flex-direction: column;
      height: auto;
      padding: 40px 40px 20px;
      margin-top: 60px;
      text-align: center;
      align-items: center;
    }
  
    .titulo {
      font-size: 1.8em;
    }
  
    .titulo_header {
      margin-top: 15px;
      align-items: center;
      text-align: center;
      gap: 8px;
    }
  
    .titulo_header p {
      font-size: 1.1em;
    }
  
    .img_header {
      height: 160px;
      margin-top: 20px;
    }







    header {
      padding: 20px 25px; 
    }
  
    .logo img {
      height: 40px; 
      margin-left: 20px; 
    }
  
    .boto-descarregar a {
      font-size: 14px; 
      margin-right: 20px; 
    }
  
    
  
    



/* Apartado qui som */
   .apartado_quiSom {
    padding: 40px 30px;
    gap: 30px;
    flex-direction: row; 
    justify-content: center; 
    align-items: center;
    text-align: center; 
  }

  .texto_quiSom {
    max-width: 100%;
    text-align: center;
    align-items: center;
    font-size: 1rem;
  }

  .imagen_quiSom {
    height: 160px;
  }


  .texto_quiSom p {
    font-size: 0.9em;
  }

/* zona la nostra misio */



.bloque-svg 
{
  height: auto;
  margin-left: 20px;
  margin-right: 20px;
}

.texto-en-svg  
{
  font-size: 0.8em;
  width: 500px;
}


.texto-en-svg p {
      font-size: 0.6em;

}










  /* ZONA VALORS DE MARCA */


  .circulo_generalvalores {
    padding: 0 40px;
    gap: 15px;
    justify-content: center; 
  }

  .forma_circulo {
    width: 250px;
    height: 154px;
    padding: 15px;
  }

  .texto_circulo {
    font-size: 0.95em;
    max-width: 90%;
  }









/* ZONA PROMOCIONAL */

  .seccion_descarrega {
    padding: 30px 40px;
    gap: 40px;
  }

  .imagen-movil {
    max-width: 300px;
  }

  .titulo-app {
    font-size: 1.3em;
    font-weight: 550;
  }

  .subtitulo-app {
    font-size: 0.95em;
  }

  .boton-descarga {
    padding: 12px 20px;
    font-size: 0.95em;
  }



  /* Zona video (imatge) promocional */

   .video-promocional {
    max-width: 90%;
  }




  /* FORMULARIO NEWSLETTER */

  .titulo-newsletter {
    font-size: 1em;
    padding: 0 10px;
  }

  .subtitulo-newsletter {
    font-size: 0.8em;
    padding: 0 10px;
  }

  .form-newsletter {
    max-width: 100%;
    padding: 0 15px;
  }

  .form__field {
    font-size: 16px;
  }

  .form__label {
    font-size: 0.9em;
  }

  .checkbox-label {
    font-size: 14px;
  }

  .btn-submit {
    font-size: 13px;
    padding: 12px 25px;
  }

  .form__field:focus ~ .form__label {
    font-size: 0.9em;
  }




/* FOOTER */


 .footer {
    font-size: 0.8em; 
  }


























  }













/* MOVIL */

  @media only screen and (max-width: 576px) 
  {

    .content-wrapper {
      padding: 30px 20px 20px;
    }
  
    .titulo {
      font-size: 1.4em;
    }
  
    .titulo_header p {
      font-size: 1em;
    }
  
    .img_header {
      height: 130px;
    }

    .titulo_header {
      margin-top: 20px;
      align-items: center;
      text-align: center;
      gap: 5px; /* Menos espacio entre los títulos */
    }


    header {
      padding: 20px 25px; /* Ajuste en el espacio del header */
      
    }

    .logo img {
        height: 45px;
        margin: 0 auto;
      
    }

    .boto-descarregar a {
      display: none;
    }






/* Apartado qui som */

   .apartado_quiSom {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
  }

  .texto_quiSom {
    max-width: 90%;
    text-align: center;
  }

  .imagen_quiSom {
    height: 140px;
    margin-top: 20px;
  }

  .texto_quiSom p {
    font-size: 0.8em;
  }


/*  Apartado la nostra misió */


  .bloque-svg 
  {
    height: auto;
    margin-left: 20px;
    margin-right: 20px;
  }

  .texto-en-svg  
  {
    font-size: 0.8em;
    width: 500px;
  }











  /* ZONA VALORES MARCA */



  .circulo_generalvalores {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    gap: 25px;
  }

  .forma_circulo {
    width: 220px;
    height: 220px;
    padding: 20px;
    
  }

  .texto_circulo {
    font-size: 0.95em;
    max-width: 100%;
  }






  /* ZONA PRMOCIONAL */


   .seccion_descarrega {
    flex-direction: column-reverse;
    padding: 20px;
    gap: 30px;
    text-align: center;
  }

  .texto-container {
    align-items: center;
  }

  .imagen-movil {
    max-width: 85%;
  }





  /* FOOTER */


    .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding: 30px 20px;
    font-size: 0.8em;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
  }

  .icon-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }


.video-promocional {
    max-width: 100%;
  }


  }









