/* Fuente y pesos globales */
body, .hero h1, .hero p, .bubble-nav a, .footer {
  font-family: 'Ubuntu', sans-serif;
}

/* Pesos */
.hero h1 {
  font-weight: 700;
}

.hero p {
  font-weight: 400;
}

.bubble-nav a {
  font-weight: 500;
}

.footer p {
  font-weight: 300;
}

/* Contenedor hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  text-align: center;
  padding: 4rem 2rem;
  overflow: hidden;
}

/* Capas de fondo para animación */
.hero-background {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 1.5s ease, transform 1.5s ease;
  z-index: 0;
  filter: brightness(0.9);
}

/* Activar animación */
.hero-background.animar {
  opacity: 1;
  transform: translateX(0);
}

/* Contenido visible sobre fondo */
.hero > h1,
.hero > p,
.hero > nav {
  position: relative;
  z-index: 1;
}

/* Texto hero */
.hero h1 {
  font-size: 4rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
  line-height: 1.2;
  text-shadow: #68686b 3px 4px 3px;
}

.hero p {
  font-size: 1.2rem;
  color: #ffffff;
  max-width: 600px;
  line-height: 1.5;
  font-weight: 300;
}

.bubble-nav a {
  display: inline-block;
  margin: 1rem 1.5rem;
  padding: 0.6rem 1.2rem;
  background-color:  #f99e61;
  border-radius: 50px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.bubble-nav a:hover {
  background-color: #57ace4;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #8e8e93;
}
