/* Estilos del contenedor */
.button-download-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
 
  cursor: pointer; /* Asegura que el cursor cambie a la manita cuando se pase sobre el div */
}

/* Estilos del enlace */
.button-download {
  display: inline-flex;
  justify-content: flex-start; /* Alineación izquierda */
  align-items: center; /* Centra verticalmente ícono y texto */
  padding: 12px 40px;
  border: 3px solid #5AA298; /* Color del borde */
  border-radius: 26px;
  background-color: transparent;
  color: #5AA298; /* Color del texto */
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 20px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: none; /* Elimina cualquier transición */
  min-height: 55px;
  max-width: 100%;
  width: 100%;
  margin-left: 36px;
  margin-top: 60px;
}

/* Estilos de la imagen dentro del botón */
.button-download .button-icon {
  width: 50px;  /* Ajusta el tamaño de la imagen */
  height: 50px;
  margin-right: -15px;
  object-fit: contain;  /* Asegura que la imagen no se distorsione */
}

/* Texto dentro del enlace */
.text-to-download {
  display: inline-block;
  line-height: 1;
}

/* Desactivar efectos de hover */
.button-download:hover {
  color: #5AA298 !important; /* Mantener color inicial */
  background-color: transparent !important; /* Mantener fondo inicial */
  border-color: #5AA298 !important; /* Mantener borde inicial */
  text-decoration: none !important; /* Sin subrayado */
  font-weight: 700 !important; /* Mantener el peso de la fuente */
  text-transform: none !important; /* Sin cambios en transformación */
  transition: none !important; /* Sin animaciones */
}


/* Estilos del formulario */
.custom-form-wrapper {
  border: 3px solid #3F5B8A;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  padding: 35px;
  margin-top: 20px; /* Ajuste en el margen superior */
   background-color: white;
}

.custom-form-wrapper .form-title h3 {
  margin-bottom: 20px; /* Asegura que haya espacio entre el título y el formulario */
}
form .hs-richtext, form .hs-richtext p {
    font-size: 12px !important;
    margin-top: 18px !important;
    color: black !important;
}
/* Estilo del contenedor del botón de CTA */
.button-container {
  text-align: center;
  margin-top: 20px;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3f5b8a; /* Color principal */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease-in-out;
}



/* --- Ajustes Responsivos --- */


@media (max-width: 768px) {
  /* Ajustar márgenes y padding en móviles */
  .custom-form-wrapper {
    padding: 20px;
    margin-top: 15px; /* Ajusta el margen superior */
  }
 
  .button-download .button-icon {
    width: 46px !important;  /* Aumenta el tamaño de la imagen */
    height: 70px !important;
            margin-left: -11px;
  }

  .button-download {
    margin-top: 30px;
    width: 100%;
  }

  .text-to-download {
    margin-left: 20px; /* Ajuste el margen entre el texto y el ícono */
  }
}
  .button-download-wrapper {
    margin-top: 20px; /* Ajuste del espacio entre formulario y botón en móviles */
    margin-top: 20px;
    margin-bottom: 60px;
    margin-right: 29px;
    }
  }


  .custom-form-wrapper .form-title h3 {
    font-size: 18px; /* Ajuste del tamaño de fuente en móviles */
    margin-bottom: 15px;
  }

  .text-to-download {
    margin-left: 30px; /* Reduce el margen entre el ícono y el texto */
  }

  .cta-button {
    width: 100%; /* Botón CTA a pantalla completa en móviles */
  }
}
