/**
Agregado el 20 oct 2025 (seba)
Estas sobrecargas permiten centrar o redimensionar elementos que no
funcionaban en dispositivos moviles
**/

/* --- Sección principal --- */
.home-section {
  position: relative;
  background-size: cover;
  background-position: center center;
  color: #fff;
  text-align: left;
}

/* --- Ajustes generales del texto --- */
.home-text {
  max-width: 600px;
  padding: 60px 15px;
}

/* --- Títulos responsivos --- */
.home-text h1 {
  font-size: 1.4rem;
  line-height: 1.4;
  font-weight: 600;
}

.home-text h2 {
  font-size: 1.1rem;
  font-weight: 400;
}

/* --- Botones --- */
.home-text .btn {
  margin-bottom: 10px;
  white-space: normal;
}

/* --- Ajustes por tamaño de pantalla --- */

/* Pantallas pequeñas (teléfonos) */
@media (max-width: 767px) {
  .home-text {
    text-align: center;
    margin: 0 auto;
    padding: 40px 20px;
  }

  .home-text h1 {
    font-size: 1.1rem;
  }

  .home-text h2 {
    font-size: 1rem;
  }

  .home-text .btn {
    display: block;
    width: 100%;
    margin-bottom: 12px;
  }

  .hidden-xs {
    display: none !important;
  }
}

/* Pantallas medianas (tablets, landscape phones) */
@media (min-width: 768px) and (max-width: 1199px) {
  .home-text h1 {
    font-size: 1.8rem;
  }

  .home-text h2 {
    font-size: 1.4rem;
  }
}

/* Pantallas grandes (desktop) */
@media (min-width: 1200px) {
  .home-text h1 {
    font-size: 2.4rem;
  }

  .home-text h2 {
    font-size: 1.8rem;
  }
}
