* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff4ec;
    padding: 20px;
  }
  
  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;
  }

  a {
    color: rgb(0, 0, 0); /* Color del enlace */
    text-decoration: none; /* Elimina el subrayado */
  }
  

  h2 {
    font-family: "Noto Sans", sans-serif;
    text-align: center;
  }
  
 
  footer {
    text-align: center;
    margin-top: 40px;
    color: #888;
  }

  .Tecnicas {
    margin-top: 60px;
    text-align: center;
  }
  
  .Tecnicas h2 {
    font-size: 30px;
    margin-bottom: 30px;
    color: #000000;
  }
  
  p {
    font-family: "Winky Rough", sans-serif;
  }
  
  .grid-tipos {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 25px;
    justify-content: center;
  }

  .grid-tipos2 {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 25px;
    justify-content: center;
  }
  
  .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;
  }


  /* Animación base y clase visible */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }


  footer {
    text-align: center;
    margin-top: 40px;
    color: #888;
  }
  

  

  .hover-img {
    opacity: 0;
    display: none;
    margin-top: 10px;
    width: 100%;
    border-radius: 8px;
    transition: opacity 0.3s ease;
  }
  
  
  .tecnica {
    position: relative;
    overflow: hidden;
  }
  
  .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease;
    z-index: 2;
  }
  
  

  /*.tecnica:hover h2,
.tecnica:hover p {
  opacity: 0;
  transition: opacity 0.3s ease;
}*/


/* 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;
  }

  /* 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;
  }
  
  /* Establece proporción 1:1 solo en grid-tipos2 */
.grid-tipos2 .tecnica {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Asegura que imagen y texto se mantengan bien dentro */
.grid-tipos2 .tecnica img {
  max-height: 100%;
  object-fit: cover;
  border-radius: 8px;
}


  @media (max-width: 1024px) {
    .grid-tipos {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .grid-tipos2 {
      display: flex;
      flex-wrap: wrap;
    }
  }
  
  /* Teléfonos */
  @media (max-width: 300px) {
    .grid-tipos,
    .grid-tipos2 {
      grid-template-columns: 1fr;
    }


    @media (max-width: 600px) {
      .grid-tipos2 .tecnica {
        min-height: auto;
        aspect-ratio: 1 / 1;
      }
    }
    
  }