/* ==========================================================================
   HOME — REAL RESULTS / GALLERY
   ========================================================================== */

.home-results {
    width: 100%;
    background: #07111f;
    padding: 115px 0 110px;
}

.results-container {
    width: 90%;
    max-width: 1380px;
    margin: 0 auto;
}


/* ==========================================================================
   SECTION INTRO
   ========================================================================== */

.results-intro {
    max-width: 780px;
    margin: 0 auto 58px;
    text-align: center;
}

.results-eyebrow {
    display: inline-block;
    margin-bottom: 16px;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.76rem;
    font-weight: 800;

    letter-spacing: 2.4px;

    color: #006fd6;
}

.results-intro h2 {
    margin: 0 0 21px;

    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2.2rem, 3.6vw, 3.4rem);
    line-height: 1.06;

    letter-spacing: -1px;

    color: #ffffff;
}

.results-intro h2 span {
    display: block;
    color: #006fd6;
}

.results-intro p {
    max-width: 680px;
    margin: 0 auto;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.96rem;
    font-weight: 500;

    line-height: 1.75;

    color: #b8c4d2;
}


/* ==========================================================================
   GALLERY
   ========================================================================== */

.results-gallery {
    display: grid;

    grid-template-columns: 1.35fr 0.825fr 0.825fr;
    grid-template-rows: repeat(3, 220px);

    gap: 16px;
}


/* ==========================================================================
   RESULT ITEM
   ========================================================================== */

.result-item {
    position: relative;

    display: block;

    overflow: hidden;

    min-width: 0;

    border-radius: 12px;

    background: #111c2b;

    text-decoration: none;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18);
}

.result-featured {
    grid-row: 1 / 3;
}

.result-item:nth-child(6) {
    grid-column: 2 / 4;
}

.result-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.55s ease,
        filter 0.55s ease;
}

.result-item:hover img {
    transform: scale(1.045);

    filter: brightness(0.82);
}


/* ==========================================================================
   IMAGE OVERLAY
   ========================================================================== */

.result-item::after {
    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(3, 8, 20, 0) 38%,
            rgba(3, 8, 20, 0.78) 100%
        );

    opacity: 0.82;

    transition: opacity 0.35s ease;

    pointer-events: none;
}

.result-item:hover::after {
    opacity: 1;
}


/* ==========================================================================
   RESULT LABEL
   ========================================================================== */

.result-overlay {
    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 18px;

    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    color: #ffffff;
}

.result-overlay span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.result-overlay i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 31px;
    height: 31px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;

    font-size: 0.65rem;

    color: #ffffff;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.result-item:hover .result-overlay i {
    background: #006fd6;
    border-color: #006fd6;

    transform: translate(2px, -2px);
}


/* ==========================================================================
   CTA
   ========================================================================== */

.results-cta {
    margin-top: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    text-align: center;
}

.results-cta p {
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;

    color: #aab7c6;
}

.results-link {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.74rem;
    font-weight: 800;

    letter-spacing: 0.55px;

    color: #ffffff;

    text-decoration: none;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}

.results-link i {
    color: #006fd6;

    font-size: 0.68rem;

    transition: transform 0.3s ease;
}

.results-link:hover {
    color: #006fd6;

    gap: 12px;
}

.results-link:hover i {
    transform: translateX(3px);
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1000px) {

    .results-gallery {
        grid-template-columns: 1.1fr 0.9fr;
        grid-template-rows: 280px 220px 220px;
    }

    .result-featured {
        grid-row: 1 / 3;
    }

    .result-item:nth-child(5),
    .result-item:nth-child(6) {
        grid-column: span 1;
    }

}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 700px) {

    .home-results {
        padding: 82px 0 88px;
    }

    .results-container {
        width: 90%;
    }

    .results-intro {
        margin-bottom: 40px;
    }

    .results-eyebrow {
        font-size: 0.67rem;
        letter-spacing: 1.8px;
    }

    .results-intro h2 {
        font-size: 2.35rem;
        line-height: 1.05;
    }

    .results-intro p {
        font-size: 0.91rem;
        line-height: 1.68;
    }

    .results-gallery {
        grid-template-columns: 1fr;

        grid-template-rows: repeat(6, 235px);

        gap: 14px;
    }

    .result-featured {
        grid-row: auto;
    }
    
    .result-item:nth-child(6) {
    grid-column: auto;
   }

    .result-overlay {
        left: 17px;
        right: 17px;
        bottom: 16px;
    }

    .result-overlay span {
        font-size: 0.68rem;
    }

    .results-cta {
        flex-direction: column;

        gap: 10px;

        margin-top: 30px;
    }

}