/* ===== HOSTING HERO RESPONSIVE STYLES ===== */

/* Estilos base para el hero corregido */
.app-hero {
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

/* Ajustes para tablets */
@media (max-width: 992px) {
  .app-hero {
    min-height: 80vh;
  }
  
  /* Ajustar el ancho de la imagen en tablets */
  .app-hero > div:nth-child(1) {
    width: 50% !important;
  }
  
  .app-hero > div:nth-child(2) {
    width: 60% !important;
  }
  
  .app-hero h1 {
    font-size: 2.5rem !important;
  }
  
  .app-hero .lead {
    font-size: 1.1rem !important;
  }
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .app-hero {
    min-height: 70vh;
    padding: 40px 0;
  }
  
  /* En móviles, reducir la imagen de fondo */
  .app-hero > div:nth-child(1) {
    width: 40% !important;
    opacity: 0.3;
  }
  
  .app-hero > div:nth-child(2) {
    width: 50% !important;
  }
  
  .app-hero > div:nth-child(3) {
    background: linear-gradient(to right, 
      rgba(30,69,129,0.9) 0%, 
      rgba(30,69,129,0.6) 60%, 
      rgba(30,69,129,0.2) 80%, 
      transparent 100%) !important;
  }
  
  .app-hero h1 {
    font-size: 2rem !important;
    line-height: 1.3 !important;
  }
  
  .app-hero .lead {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem !important;
  }
  
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
}

/* Ajustes para móviles pequeños */
@media (max-width: 576px) {
  .app-hero {
    min-height: 60vh;
    padding: 30px 0;
  }
  
  /* En móviles pequeños, imagen muy sutil */
  .app-hero > div:nth-child(1) {
    width: 30% !important;
    opacity: 0.2;
  }
  
  .app-hero h1 {
    font-size: 1.75rem !important;
    margin-bottom: 1rem !important;
  }
  
  .app-hero .lead {
    font-size: 0.95rem !important;
    margin-bottom: 1.25rem !important;
  }
  
  .app-hero .container {
    padding: 0 15px;
  }
}

/* Mejoras de legibilidad del texto */
@media (max-width: 768px) {
  .app-hero h1,
  .app-hero .lead {
    text-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
  }
}

/* Asegurar que los botones sean accesibles en móviles */
@media (max-width: 768px) {
  .hero-buttons .btn {
    padding: 12px 24px;
    font-size: 1rem;
    min-height: 48px; /* Tamaño mínimo para touch */
  }
}