* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ANIMACIÓN FADE IN */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: aparecer 1s ease-out forwards;
}

.fade-in:nth-child(1) { animation-delay: 0s; }
.fade-in:nth-child(2) { animation-delay: 0.5s; }
.fade-in:nth-child(3) { animation-delay: 1s; }

@keyframes aparecer {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animación de entrada para el avatar */
@keyframes aparecerDesdeAbajo {
  0% {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.animar-avatar {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  display: block;
  margin: 20px auto;
  animation: aparecerDesdeAbajo 1.2s ease-out forwards;
  animation-delay: 0.3s;

  /* Glow / iluminación */
  box-shadow:
    0 0 20px rgba(255, 61, 0, 0.4),     /* brillo rojo tenue */
    0 0 40px rgba(255, 61, 0, 0.3),     /* halo más suave */
    0 0 80px rgba(255, 61, 0, 0.2);     /* capa más expandida */
}

/* BODY */
body {
  font-family: 'Manrope', sans-serif;
  background: linear-gradient(to bottom right, #1f1f1f, #1f1f1f);
  color: #1c1c1c;
  overflow-x: hidden;
  text-align: center;
}

/* MENÚ PRINCIPAL */
.menu {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #121212;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  color: #eaeaea;
  letter-spacing: 0.4px;
  position: relative;
  padding-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #ff3D00;
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #ff3D00;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .menu {
    text-align: center;
    padding: 1.5rem 1rem;
  }
}

/* HERO */
.hero {
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
}

.hero-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1400px;
}

.hero-texto {
  flex: 1 1 300px;
  text-align: left;
}

.hero-texto h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #dfdfdf;
  line-height: 1.2;
}

.descripcion {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #dfdfdf;
}

.hero-imagen {
  flex: 1 1 250px;
  text-align: center;
}

.hero-imagen img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 20px auto;
}

/* BLOQUES */
.bloques {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.bloque {
  flex: 1 1 250px;
  max-width: 350px;
  background-color: #f0f0f0;
  border-radius: 20px;
  padding: 0.65rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.bloque:hover {
  transform: scale(1.02);
}

.contenido-bloque {
  text-align: left;
  padding: 1rem;
  width: 100%;
}

.contenido-bloque h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #dfdfdf;
}

.contenido-bloque ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contenido-bloque ul li {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #dfdfdf;
}

/* INTEGRANTES */
.integrantes-bloques {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.integrante-bloque {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f0f0f0;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 5px 10px #f0f0f0;
  width: 100%;
  max-width: 400px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, background-color 0.3s;
  margin-bottom: 1rem;
}

.integrante-bloque:hover {
  transform: scale(1.02);
  background-color: #f0f0f0;
}

.integrante-bloque img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 1rem;
}

.integrante-bloque .texto {
  text-align: left;
  font-size: 14px;
}

/* CLASES */
.menu-clases {
  padding: 1rem;
  text-align: center;
}

.menu-clases h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #dfdfdf;
}

.menu-clases ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.menu-clases li a {
  text-decoration: none;
  color: #1a1a1a;
  background-color: #dfdfdf;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: bold;
  transition: background 0.3s;
}

.menu-clases li a:hover {
  background-color: #ff3D00;
}

/* FOOTER */
.footer {
  margin-top: 1rem;
  background-color: #dfdfdf;
  color: #ff3D00;
  padding: 1rem;
  font-size: 0.6rem;
  margin-bottom: 1rem;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-col {
  flex: 1 1 300px;
  text-align: center;
}

.footer-info {
  font-size: 0.6rem;
  line-height: 1.5;
  text-align: center;
}

/* CLASE INDIVIDUAL */
.clase-contenido {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1rem;
  text-align: center;
  color: #dfdfdf;
}

.clase-contenido h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.volver {
  display: inline-block;
  margin-bottom: 2rem;
  text-decoration: none;
  color: #ff3D00;
  font-weight: bold;
  transition: color 0.3s ease;
}

.volver:hover {
  color: #ffffff;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Animación para el contenido del hero */
.hero-texto {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

.hero-texto h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #dfdfdf;
}

.hero-texto p {
  font-size: 1.2rem;
  color: #dfdfdf;
  margin-top: 1rem;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}