* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #ffdfce;
    padding: 20px;
    color: #333;
  }
  
  header {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .Contenedor {
    background-color: #d24012;
    padding: 20px;
    border-radius: 10px;
  }
  
  h1 {
    font-family: "Special Gothic Expanded One", sans-serif;
    font-size: 40px;
    font-weight: bold;
  }
  
  .Tecnicas {
    margin-top: 60px;
    text-align: center;
  }
  
  .Tecnicas h2 {
    font-size: 30px;
    margin-bottom: 30px;
    color: #000000;
  }
  
  h2 {
    font-family: "Noto Sans", sans-serif;
    text-align: center;
  }
  
  p {
    font-family: "Winky Rough", sans-serif;
  }
  
  .grid-tipos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
  
  .tecnica {
    background-color: #f88846;
    padding: 15px;
    border-radius: 10px;
    color: white;
    text-align: center;
  }
  
  .tecnica h2 {
    margin-bottom: 10px;
    font-size: 20px;
  }
  
  .tecnica p {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .tecnica video {
    width: 100%;
    max-height: 200px;
    border-radius: 8px;
    margin-top: 10px;
  }
  
  a {
    color: rgb(0, 0, 0); /* Color del enlace */
    text-decoration: none; /* Elimina el subrayado */
  }
  
  .directores {
    margin-top: 60px;
    text-align: center;
  }
  
  .directores h2 {
    font-size: 30px;
    margin-bottom: 30px;
    color: #000000;
  }
  
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 0 20px;
  }
  
  .card-hover {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background-color: #f88846;
    color: white;
    height: 320px;
  }
  
  .card-hover:hover {
    transform: scale(1.05);
  }
  
  .card-hover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
  }
  
  .card-hover .info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f88846;
    padding: 20px;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition: opacity 0.5s ease;
  }
  
  .card-hover:hover .info {
    opacity: 1;
  }
  
  .card-hover .info h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .card-hover .info p {
    font-size: 14px;
  }

  footer {
    text-align: center;
    margin-top: 40px;
    color: #888;
  }
  


  
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }


  /* Asegura que el contenedor tenga layout para el menú */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* MENÚ HAMBURGUESA SIEMPRE VISIBLE */
.navbar {
  position: relative;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: #fff;
  margin: 4px 0;
  transition: 0.3s;
}

/* El menú oculto por defecto */
.nav-list {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  background-color: #fff4ec;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  flex-direction: column;
  z-index: 999;
  width: max-content;
  min-width: 200px;
}

.nav-list.active {
  display: flex;
}

.nav-list li {
  list-style: none;
  margin: 10px 0;
}

.nav-list li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 16px;
}

.nav-list li a:hover {
  color: #d24012;
}

  

  /* RESPONSIVO */
  @media (max-width: 1024px) {
    .grid-tipos {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .grid-tipos {
      grid-template-columns: 1fr;
    }
  }
  