.bighit-style-body {
    background-color: #f8adb1;
    margin: 0;
    padding: 0;
    font-family: "Outfit", sans-serif;
    color: #000;
    overflow-x: hidden;
}

.bh-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: transparent; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

.bh-logo-container {
    display: flex;
    align-items: center;
}

.bh-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.bh-logo-img {
    height: 3.7rem;
    width: auto; 
    display: block;
}

.bh-nav {
    display: flex;
    gap: 40px;
}

.bh-nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 410;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.bh-nav-link:hover, .bh-active {
    opacity: 0.6;
}

.bh-lang-selector {
    font-size: 0.9rem;
    font-weight: 650;
}

.bh-intro-text {
    width: 100%;
    max-width: 950px;
    margin: 140px auto 20px auto;
    text-align: center;
}

.bh-intro-text p {
    font-family: "Outfit", sans-serif;
    font-size: 0.75rem;
    font-weight: 410;
    letter-spacing: 4px; 
    text-transform: uppercase;
    color: #000;
    opacity: 0.8;
    margin: 0;
}

.bh-inline-link {
    text-decoration: none;
    color: #000; 
    font-weight: 600; 
    transition: opacity 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 2px;
}

.bh-inline-link:hover {
    opacity: 0.5;
    border-bottom: 1px solid rgba(0, 0, 0, 1); 
}

.bh-works-grid {
    padding: 20px 5% 100px 5%;
    margin-top: 0; 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 950px;
    margin: 0 auto;
}

.grid-block {
    position: relative;
    flex: 0 0 270px; 
    aspect-ratio: 1 / 1;
    overflow: visible;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bh-work-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; 
    height: 100%; 
    text-decoration: none;
    position: relative; 
    z-index: 1;
}

.bh-work-image {
    width: 90%; 
    height: 90%;
    object-fit: contain; 
    transition: transform 0.4s ease, filter 0.4s ease;
    z-index: 2; 
}

.bh-work-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(248, 173, 177, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    padding: 20px; 
    border-radius: 4px;
    z-index: 3; 
    box-sizing: border-box; 
}

.bh-work-overlay h3 {
    font-size: 0.95rem; 
    color: #000; 
    font-weight: 450;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.3; 
    margin: 0; 
    text-align: center; 
    width: 100%; 
}

.grid-block:hover .bh-work-overlay {
    opacity: 1;
}

.grid-block:hover .bh-work-image {
    transform: scale(1.05); 
}

.grid-block {
    opacity: 0; 
    transform: translateY(30px); 
    animation: revealBlock 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.grid-block:nth-child(1) { animation-delay: 0.2s; }
.grid-block:nth-child(2) { animation-delay: 0.4s; }
.grid-block:nth-child(3) { animation-delay: 0.6s; }
.grid-block:nth-child(4) { animation-delay: 0.8s; }

@keyframes revealBlock {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/*ajustes para fon*/
@media (max-width: 768px) {
    .bh-header {
        padding: 15px 20px;
    }

    .bh-logo-img {
        height: 2.8rem; 
    }

    .bh-nav {
        gap: 15px;
    }

    .bh-nav-link {
        font-size: 0.85rem;
    }

    .bh-intro-text {
        margin: 120px auto 30px auto;
        padding: 0 20px;
    }

    .bh-intro-text p {
        font-size: 0.65rem;
        line-height: 1.5;
        letter-spacing: 2px;
    }

    .bh-works-grid {
        padding: 10px 15px 60px 15px;
        gap: 15px; 
    }

    .grid-block {
        flex: 1 1 160px; 
        max-width: 100%;
    }

    .bh-work-overlay h3 {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .grid-block:hover .bh-work-image {
        transform: none;
    }
}