/* ==== HERO DE BIENVENIDA ==== */
.hero {
  position: relative;
  text-align: center;
  padding: 200px 20px; /* 🔼 antes 120px */
  background: url('img/fondo-2.jpg') no-repeat center center/cover;
  color: white;
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 👈 sube el contenido */
  align-items: center;
  gap: 10px; /* espacio entre líneas */
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero h1,
.hero p,
.hero a {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.3rem;
  margin-top: -15px;
}

.hero a {
  display: inline-block;
  padding: 12px 28px;
  background-color: yellow;
  color: black;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 4px;
  transition: 0.3s;
}

.hero a:hover {
  background-color: #f5c518;
}

/* ==== BOTÓN DE IDIOMA CON BANDERAS ==== */
.lang-toggle {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
}

.lang-toggle button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
  background-color: yellow;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.lang-toggle button:hover {
  background-color: #f1f1f1;
  transform: translateY(-3px);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
}

.lang-toggle img {
  width: 24px;   /* antes 16px */
  height: 24px;  /* antes 16px */
  object-fit: cover;
  border-radius: 50%;
}


/* ==== BOTÓN WHATSAPP ==== */
.footer-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: yellow;
  text-align: center;
  padding: 12px;
  z-index: 999;
}

.footer-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #000000;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-button:hover {
  color: #25D366;
}

.footer-button i {
  font-size: 18px;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-youtube-btn {
  display: inline-block;
  background-color: #ff4c4c;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.custom-youtube-btn:hover {
  background-color: #c0392b;
}

.youtube-box {
  background-color: #ffe7e7; /* fondo suave */
  padding: 15px;
  border-radius: 15px;
  text-align: center;
  margin-top: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.youtube-btn {
  background-color: #e53935;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  display: inline-block;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.youtube-btn:hover {
  background-color: #c62828;
}



