/* =========================================================
   PLANETA SAS ESP
   COMPONENT: SEO SERVICE SHOWCASE
   ---------------------------------------------------------
   Galería editorial para presentar servicios relacionados.
   Cargado automáticamente mediante Asset System.
   ========================================================= */


/* =========================================================
   COMPONENT
   ========================================================= */

.SeoShowcase {
    position: relative;

    width: 100%;

    margin: 0;

    padding:
        clamp(80px, 8vw, 140px)
        var(--px-fluid);

    overflow: hidden;

    background: #354516;
}

/* =========================================================
   CONTAINER
   ========================================================= */

.SeoShowcase__Container {
    position: relative;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    grid-template-rows:
        auto
        auto;

    column-gap: 5px;
    row-gap: 5px;

    width: min(100%, 1260px);

    min-height: 1060px;

    margin: 0 auto;
}


/* =========================================================
   ITEM
   ========================================================= */

.SeoShowcase__Item {
    position: relative;

    margin: 0;
    padding: 0;
}


/* =========================================================
   IMAGE
   ========================================================= */

.SeoShowcase__Media {
    position: relative;

    width: 100%;
    height: 100%;

    margin: 0;

    overflow: hidden;

    border-radius: 20px;

    background: #26340f;
}


.SeoShowcase__Media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* =========================================================
   GLASS CARD
   ========================================================= */

.SeoShowcase__Card {
    position: absolute;

    z-index: 5;

    width: min(410px, 90%);

    padding:
        clamp(24px, 2.4vw, 34px);

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(22, 31, 9, 0.82),
            rgba(38, 52, 15, 0.68)
        );

    -webkit-backdrop-filter:
        blur(18px)
        saturate(125%);

    backdrop-filter:
        blur(18px)
        saturate(125%);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);

    color: #ffffff;
}


.SeoShowcase__Card h2 {
    margin: 0 0 14px;

    color: #ffffff;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        clamp(28px, 2.5vw, 42px);

    font-weight: 700;

    line-height: 0.98;

    letter-spacing: -0.035em;
}


.SeoShowcase__Card p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.88);

    font-family:
        "Work Sans",
        sans-serif;

    font-size:
        clamp(13px, 1vw, 15px);

    font-weight: 400;

    line-height: 1.45;
}


.SeoShowcase__Card strong {
    color: inherit;

    font-family: inherit;

    font-weight: 600;
}


/* =========================================================
   IMAGE 01
   Superior izquierda
   ========================================================= */

.SeoShowcase__Item--one {
    grid-column: 1;
    grid-row: 1;

    width: 520px;
    height: 690px;

    justify-self: end;

    margin: 0;
}


.SeoShowcase__Item--one
.SeoShowcase__Card {
    top: 50%;

    left: -185px;

    transform:
        translateY(-50%);
}


/* =========================================================
   IMAGE 02
   Derecha
   ========================================================= */

.SeoShowcase__Item--two {
    grid-column: 2;
    grid-row: 1 / span 2;

    width: 520px;
    height: 720px;

    align-self: center;
    justify-self: start;

    margin: 120px 0 0 0;
}


.SeoShowcase__Item--two
.SeoShowcase__Card {
    top: -105px;

    right: -115px;
}


/* =========================================================
   IMAGE 03
   Inferior izquierda
   ========================================================= */

.SeoShowcase__Item--three {
    grid-column: 1;
    grid-row: 2;

    width: 470px;
    height: 610px;

    justify-self: end;

    margin:
        0
        0
        0
        0;
}


.SeoShowcase__Item--three
.SeoShowcase__Card {
    top: 165px;

    right: -315px;
}


/* =========================================================
   IMAGE POSITION
   ========================================================= */

.SeoShowcase__Item--one
.SeoShowcase__Media img {
    object-position: center;
}


.SeoShowcase__Item--two
.SeoShowcase__Media img {
    object-position: center;
}


.SeoShowcase__Item--three
.SeoShowcase__Media img {
    object-position: center;
}

/* =========================================================
   INTERACTION
   ========================================================= */

@media (hover: hover) {

    .SeoShowcase__Media img {
        transition:
            transform 700ms
            cubic-bezier(0.2, 0.7, 0.2, 1);
    }


    .SeoShowcase__Item:hover
    .SeoShowcase__Media img {
        transform:
            scale(1.035);
    }

}


/* =========================================================
   LAPTOP
   ========================================================= */

@media (max-width: 1450px) {

    .SeoShowcase {
        padding-inline:
            var(--lap-px);
    }


    .SeoShowcase__Container {
        width: min(100%, 1050px);
    }


    .SeoShowcase__Item--one {
        width: 410px;
        height: 570px;

        margin-right: 30px;
    }


    .SeoShowcase__Item--one
    .SeoShowcase__Card {
        left: -130px;
    }


    .SeoShowcase__Item--two {
        width: 410px;
        height: 580px;
    }


    .SeoShowcase__Item--two
    .SeoShowcase__Card {
        right: -50px;
    }


    .SeoShowcase__Item--three {
        width: 390px;
        height: 480px;

        margin-right: 30px;
    }


    .SeoShowcase__Item--three
    .SeoShowcase__Card {
        right: -280px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .SeoShowcase {
        padding:
            80px
            var(--tab-px);
    }


    .SeoShowcase__Container {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 24px;

        min-height: 0;
    }


    .SeoShowcase__Item--one,
    .SeoShowcase__Item--two,
    .SeoShowcase__Item--three {
        width: 100%;
        height: auto;

        margin: 0;

        align-self: auto;
        justify-self: auto;
    }


    .SeoShowcase__Item--one {
        grid-column: 1;
        grid-row: 1;
    }


    .SeoShowcase__Item--two {
        grid-column: 2;
        grid-row: 1;
    }


    .SeoShowcase__Item--three {
        grid-column:
            1 / -1;

        grid-row: 2;

        width: calc(50% - 12px);

        justify-self: center;
    }


    .SeoShowcase__Media {
        height: 430px;
    }


    .SeoShowcase__Card,
    .SeoShowcase__Item--one
    .SeoShowcase__Card,
    .SeoShowcase__Item--two
    .SeoShowcase__Card,
    .SeoShowcase__Item--three
    .SeoShowcase__Card {
        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: calc(100% - 32px);

        margin:
            -75px
            auto
            0;

        transform: none;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .SeoShowcase {
        padding:
            64px
            16px;
    }


    .SeoShowcase__Container {
        display: flex;

        flex-direction: column;

        gap: 48px;
    }


    .SeoShowcase__Item--one,
    .SeoShowcase__Item--two,
    .SeoShowcase__Item--three {
        width: 100%;
    }


    .SeoShowcase__Media {
        height:
            clamp(360px, 115vw, 520px);

        border-radius: 18px;
    }


    .SeoShowcase__Card,
    .SeoShowcase__Item--one
    .SeoShowcase__Card,
    .SeoShowcase__Item--two
    .SeoShowcase__Card,
    .SeoShowcase__Item--three
    .SeoShowcase__Card {
        width:
            calc(100% - 24px);

        margin:
            -58px
            auto
            0;

        padding:
            24px;

        border-radius: 18px;
    }


    .SeoShowcase__Card h2 {
        font-size:
            clamp(26px, 8vw, 34px);

        line-height: 1;
    }


    .SeoShowcase__Card p {
        font-size: 14px;

        line-height: 1.5;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .SeoShowcase__Media img {
        transition: none;
    }

}