/* --- HEXAGONS CSS OPTIMIZADO Y LIMPIO --- */
.hexagon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    width: 100%;
    max-width: 95vw;
    margin: 0 auto;
    flex-wrap: nowrap;
    padding: 0 1vw;
}

.hexagon-btn {
    position: relative;
    width: 22vw;
    height: 25vw;
    min-width: 200px;
    min-height: 230px;
    max-width: 280px;
    max-height: 325px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.4s ease;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 1;
    overflow: hidden;
    padding: 1.5vw;
    text-align: center;
    flex-shrink: 0;
    animation: hexagonEntrance 1s ease-out forwards;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    filter: drop-shadow(0 8px 25px rgba(0,0,0,0.7));
}

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

.hexagon-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: all 0.6s ease;
}

.hexagon-btn:hover .hexagon-video {
    transform: scale(1.1) translateY(-5px);
    filter: brightness(1.2) hue-rotate(5deg);
}

.hexagon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
    transition: all 0.4s ease;
}

.hexagon-btn:hover .hexagon-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
}

.hexagon-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hexagon-title {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hexagon-description {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
}

/* --- RESPONSIVE HEXÁGONOS --- */
@media (max-width: 900px) {
  .hexagon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    overflow-x: hidden;
  }

  .hexagon-btn {
    width: 85vw;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 1rem;
  }

  .hexagon-video {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .hexagon-title {
    font-size: 1.4rem;
  }

  .hexagon-description {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hexagon-btn {
    width: 90vw;
  }

  .hexagon-title {
    font-size: 1.3rem;
  }

  .hexagon-description {
    font-size: 0.9rem;
  }
}
