.relative-hexagono {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hex-row {
    display: flex;
    justify-content: center;
    margin: 0;
}

.hex-row:nth-child(2) {
    transform: translateY(-35%);
}

.hexagon {
    width: clamp(100px, 18vw, 217px);
    aspect-ratio: 217 / 263;
    background: no-repeat center/cover;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hexagon:hover {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hex-label {
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}

@media (max-width: 1023px) {
    .hexagon {
        width: clamp(90px, 20vw, 180px);
        aspect-ratio: 1 / 1.2;
    }
}

@media (max-width: 425px) {
    .hex-row {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 4px;
    }

    .hexagon {
        width: clamp(70px, 30vw, 90px);
        aspect-ratio: 1 / 1.2;
        margin: 0;
    }
}

@media (max-width: 375px) {
    .hexagon {
        width: clamp(70px, 30vw, 87px);
        aspect-ratio: 1 / 1.2;
        margin: 0;
    }
}