/* Hero base */
.hero {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Capa semitransparente */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contenedor del contenido */
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 2rem;
  text-align: center;
}

/* Logo con sombra */
.hero-logo {
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

/* Texto sobre fondo difuminado */
.hero-texto {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #222;
  font-family: 'Karla', sans-serif;
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.404);
  backdrop-filter: blur(3px);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Evita que el contenido arrastre scroll horizontal */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}


@media (max-width: 768px) {
  .hero-container {
    padding: 1rem;
    max-width: 90%;
  }

  .hero-logo {
    max-width: 180px;
    margin-bottom: 1rem;
  }

  .hero-texto {
    font-size: 1rem;
    padding: 1rem;
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.404);
  }
}
