.btnfos {
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 45px;
  max-width: 160px;
  margin: 0 auto 2em;
  position: relative;
  text-transform: uppercase;
  vertical-align: middle;
  width: 100%;
}

.btnfos-2 {
  letter-spacing: 0;
}

.btnfos-2:hover,
.btnfos-2:active {
  letter-spacing: 5px;
}

.btnfos-2:after,
.btnfos-2:before {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0);
  bottom: 0px;
  content: " ";
  display: block;
  margin: 0 auto;
  position: relative;
  -webkit-transition: all 280ms ease-in-out;
  transition: all 280ms ease-in-out;
  width: 0;
}

.btnfos-2:hover:after,
.btnfos-2:hover:before {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-color: #fff;
  -webkit-transition: width 350ms ease-in-out;
  transition: width 350ms ease-in-out;
  width: 70%;
}

.btnfos-2:hover:before {
  bottom: auto;
  top: 0;
  width: 70%;
}

.btn-catalogo {
    position: relative;
    display: inline-block;
    padding: 12px 34px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #212529;              /* texto oscuro */
    background: transparent;
    border: 2px solid #212529;   /* borde visible */
    border-radius: 30px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.35s ease;
}

.btn-catalogo-anim::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #212529;         /* fondo hover */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: -1;
}

.btn-catalogo-anim:hover::before {
    transform: scaleX(1);
}

.btn-catalogo-anim:hover {
    color: #fff;                 /* texto blanco en hover */
    border-color: #212529;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.btn-catalogo:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(33, 37, 41, 0.3);
}



/* Media Queries para Responsividad (ajustado para mostrar el botón en todo momento) */
@media (max-width: 1200px) {
  .carousel-caption a {
    font-size: 1rem;
    padding: 6px 12px;
  }

  .btn-catalogo {
    font-size: 1rem;
    padding: 6px 12px;
  }
}

@media (max-width: 992px) {
  .carousel-caption a,
  .btn-catalog {
    font-size: 0.9rem;
    padding: 15px 12px;
    top: 15px;
  }
}

@media (max-width: 768px) {
  .carousel-caption a,
  .btn-catalog {
      font-size: 0.9rem;
      padding: 8px 16px;
  }
}
@media (max-width: 576px) {
  .carousel-caption a {
      font-size: 0.9rem;
      padding: 6px 12px;
      top: 50px;
      left: 50px;
  }

  .btn-catalogo {
    font-size: 0.9rem;
    padding: 6px 12px;
    top: 5px;
  }
}



  