/* ============================
   BREAKPOINT 1: MÓVILES (<576px)
============================ */
@media (max-width: 575.98px) {
  .titulo-texto {
    font-size: 1.5rem;
  }

  .min-height-title,
  .min-height-parrafo {
    min-height: auto;
  }

  .img-carrusel,
  .cliente-logo {
    max-height: 90px;
  }

  .gif-navbar {
    height: 30px;
  }

  .hero-section h1 {
    font-size: 2.4rem;
    text-align: center;
  }

  .hero-section p {
    font-size: 1.2rem;
    text-align: center;
  }
  .hero-section {
  min-height: auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-section img {
  max-height: 180px !important;
  margin-top: 1rem;
  margin-bottom: 1rem;
}


  .carousel-inner .img-carrusel {
    height: 100% !important;   /* 👈 Forzamos a llenar su contenedor */
    width: 100% !important;
    object-fit: cover !important; /* 👈 Se recorta, pero rellena bien */
    object-position: center;
  }
   .tilt-card{ 
    justify-content:center; 
    padding: 50px;
  }   /* centra el hijo en el eje X   */
  .tilt-card .tilt-caption{ 
    width:100%; 
    text-align: justify;
    font-size:  1.3rem;
  }

  
}

/* ============================
   BREAKPOINT 2: TABLETS (576px–991.98px)
============================ */
@media (min-width: 576px) and (max-width: 991.98px) {
  .titulo-texto {
    font-size: 2rem;
  }

  .min-height-title {
    min-height: 60px;
  }

  .min-height-parrafo {
    min-height: 120px;
  }

  .img-carrusel,
  .cliente-logo {
    max-height: 120px;
  }

  .gif-navbar {
    height: 35px;
  }

  .hero-section h1 {
    font-size: 3.2rem;
  }

  .hero-section p {
    font-size: 1.4rem;
  }
}

/* ============================
   BREAKPOINT 3: DESKTOP (≥992px)
============================ */
@media (min-width: 992px) {
  .titulo-texto {
    font-size: 2.5rem;
  }

  .min-height-title {
    min-height: 80px;
  }

  .min-height-parrafo {
    min-height: 140px;
  }

  .img-carrusel,
  .cliente-logo {
    max-height: 150px;
  }

  .gif-navbar {
    height: 40px;
  }

  .hero-section h1 {
    font-size: 5rem;
  }

  .hero-section p {
    font-size: 1.6rem;
  }
}
